@arbidocs/blocks 0.5.103 → 0.5.104

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 (90) hide show
  1. package/dist/ConnectedCallDock-NEZJNTKH.js +1 -1
  2. package/dist/ConnectedCallDock-P7LK2HYF.cjs +1 -1
  3. package/dist/ConnectedCallRoom-FXTR4YFI.cjs +1 -1
  4. package/dist/ConnectedCallRoom-K3X6ICCG.js +1 -1
  5. package/dist/ConnectedNativeDocxComparison-7VJKOKYU.cjs +2 -2
  6. package/dist/ConnectedNativeDocxComparison-FENZYWDH.js +2 -2
  7. package/dist/ConnectedNativeDocxEditor-CNQAMO2N.js +2 -2
  8. package/dist/ConnectedNativeDocxEditor-HB5BHGZ2.cjs +2 -2
  9. package/dist/ConnectedStreamedWordArtifact-BF6JET2D.cjs +2 -2
  10. package/dist/ConnectedStreamedWordArtifact-ILMKFCDC.js +2 -2
  11. package/dist/{DocumentReviewCard-FSOBIVED.cjs → DocumentReviewCard-MSHD73S3.cjs} +14 -14
  12. package/dist/{DocumentReviewCard-FSOBIVED.cjs.map → DocumentReviewCard-MSHD73S3.cjs.map} +1 -1
  13. package/dist/{DocumentReviewCard-XB7BE7MZ.js → DocumentReviewCard-WZNBPG72.js} +9 -9
  14. package/dist/{DocumentReviewCard-XB7BE7MZ.js.map → DocumentReviewCard-WZNBPG72.js.map} +1 -1
  15. package/dist/{FilesViewerDialog-GEIQCBBK.cjs → FilesViewerDialog-DV2U4USR.cjs} +9 -9
  16. package/dist/{FilesViewerDialog-GEIQCBBK.cjs.map → FilesViewerDialog-DV2U4USR.cjs.map} +1 -1
  17. package/dist/{FilesViewerDialog-5PL3HGYO.js → FilesViewerDialog-XETOHORQ.js} +8 -8
  18. package/dist/{FilesViewerDialog-5PL3HGYO.js.map → FilesViewerDialog-XETOHORQ.js.map} +1 -1
  19. package/dist/{WorkspaceTableView-Y2GX5GB2.cjs → WorkspaceTableView-3D6SYOWT.cjs} +3 -3
  20. package/dist/{WorkspaceTableView-Y2GX5GB2.cjs.map → WorkspaceTableView-3D6SYOWT.cjs.map} +1 -1
  21. package/dist/{WorkspaceTableView-SX5FIC4C.js → WorkspaceTableView-WD754UBK.js} +3 -3
  22. package/dist/{WorkspaceTableView-SX5FIC4C.js.map → WorkspaceTableView-WD754UBK.js.map} +1 -1
  23. package/dist/agents/index.cjs +177 -177
  24. package/dist/agents/index.js +4 -4
  25. package/dist/chat/index.cjs +1 -1
  26. package/dist/chat/index.js +1 -1
  27. package/dist/{chunk-JAIMJTXQ.js → chunk-4UOXUWX3.js} +4 -4
  28. package/dist/{chunk-JAIMJTXQ.js.map → chunk-4UOXUWX3.js.map} +1 -1
  29. package/dist/{chunk-EIV4H2PZ.cjs → chunk-4WMGFGYP.cjs} +4 -4
  30. package/dist/{chunk-EIV4H2PZ.cjs.map → chunk-4WMGFGYP.cjs.map} +1 -1
  31. package/dist/{chunk-DGOVO2QO.cjs → chunk-5R67KX2O.cjs} +8 -8
  32. package/dist/{chunk-DGOVO2QO.cjs.map → chunk-5R67KX2O.cjs.map} +1 -1
  33. package/dist/{chunk-7Z5CSFYV.cjs → chunk-5UMZXDGL.cjs} +5 -5
  34. package/dist/{chunk-7Z5CSFYV.cjs.map → chunk-5UMZXDGL.cjs.map} +1 -1
  35. package/dist/{chunk-SOY6UUFS.js → chunk-62OMGQHS.js} +3 -3
  36. package/dist/{chunk-SOY6UUFS.js.map → chunk-62OMGQHS.js.map} +1 -1
  37. package/dist/{chunk-COCZMF7B.cjs → chunk-6A4GNM4T.cjs} +4 -4
  38. package/dist/{chunk-COCZMF7B.cjs.map → chunk-6A4GNM4T.cjs.map} +1 -1
  39. package/dist/{chunk-G4D4UGSW.cjs → chunk-6NSKIS35.cjs} +4 -4
  40. package/dist/{chunk-G4D4UGSW.cjs.map → chunk-6NSKIS35.cjs.map} +1 -1
  41. package/dist/{chunk-M6DTLHCN.js → chunk-7ONU7EWY.js} +3 -3
  42. package/dist/{chunk-M6DTLHCN.js.map → chunk-7ONU7EWY.js.map} +1 -1
  43. package/dist/{chunk-4LK74S7T.cjs → chunk-BSPPKX6X.cjs} +24 -24
  44. package/dist/{chunk-4LK74S7T.cjs.map → chunk-BSPPKX6X.cjs.map} +1 -1
  45. package/dist/{chunk-BQHTBUOA.js → chunk-CEVVGJQX.js} +3 -3
  46. package/dist/{chunk-BQHTBUOA.js.map → chunk-CEVVGJQX.js.map} +1 -1
  47. package/dist/{chunk-K2G2P66L.js → chunk-E26MNOLG.js} +3 -3
  48. package/dist/{chunk-K2G2P66L.js.map → chunk-E26MNOLG.js.map} +1 -1
  49. package/dist/{chunk-NTXO6IYE.js → chunk-E6ISR55S.js} +3 -3
  50. package/dist/{chunk-NTXO6IYE.js.map → chunk-E6ISR55S.js.map} +1 -1
  51. package/dist/{chunk-UYFWLP74.js → chunk-ET3W24JV.js} +6 -6
  52. package/dist/{chunk-UYFWLP74.js.map → chunk-ET3W24JV.js.map} +1 -1
  53. package/dist/{chunk-I6WRLTWU.js → chunk-GOJ5GHFS.js} +3 -3
  54. package/dist/{chunk-I6WRLTWU.js.map → chunk-GOJ5GHFS.js.map} +1 -1
  55. package/dist/{chunk-ASOPBELQ.js → chunk-HTGEAQOA.js} +4 -4
  56. package/dist/{chunk-ASOPBELQ.js.map → chunk-HTGEAQOA.js.map} +1 -1
  57. package/dist/{chunk-ZR4TH6DZ.js → chunk-HTIEJVPI.js} +5 -5
  58. package/dist/{chunk-ZR4TH6DZ.js.map → chunk-HTIEJVPI.js.map} +1 -1
  59. package/dist/{chunk-KXNC24EF.cjs → chunk-IWLNDDPN.cjs} +35 -35
  60. package/dist/{chunk-KXNC24EF.cjs.map → chunk-IWLNDDPN.cjs.map} +1 -1
  61. package/dist/{chunk-SYMZ6L3C.js → chunk-JWUCDK2F.js} +3 -3
  62. package/dist/{chunk-SYMZ6L3C.js.map → chunk-JWUCDK2F.js.map} +1 -1
  63. package/dist/{chunk-OSWKA2NQ.cjs → chunk-OKUXM2N4.cjs} +3 -3
  64. package/dist/{chunk-OSWKA2NQ.cjs.map → chunk-OKUXM2N4.cjs.map} +1 -1
  65. package/dist/{chunk-DZGLEEUT.cjs → chunk-RBI7WVEP.cjs} +4 -4
  66. package/dist/{chunk-DZGLEEUT.cjs.map → chunk-RBI7WVEP.cjs.map} +1 -1
  67. package/dist/{chunk-KVQ6O54R.cjs → chunk-S7NJVJJX.cjs} +46 -46
  68. package/dist/{chunk-KVQ6O54R.cjs.map → chunk-S7NJVJJX.cjs.map} +1 -1
  69. package/dist/{chunk-QVY5DH2R.js → chunk-TQFDPCWU.js} +5 -5
  70. package/dist/{chunk-QVY5DH2R.js.map → chunk-TQFDPCWU.js.map} +1 -1
  71. package/dist/{chunk-S3SWSAUB.cjs → chunk-V2CKYM4B.cjs} +4 -4
  72. package/dist/{chunk-S3SWSAUB.cjs.map → chunk-V2CKYM4B.cjs.map} +1 -1
  73. package/dist/{chunk-CRKWD7B5.cjs → chunk-VULH3XAJ.cjs} +28 -28
  74. package/dist/{chunk-CRKWD7B5.cjs.map → chunk-VULH3XAJ.cjs.map} +1 -1
  75. package/dist/connect/docx.cjs +2 -2
  76. package/dist/connect/docx.js +2 -2
  77. package/dist/connect/index.cjs +521 -521
  78. package/dist/connect/index.js +24 -24
  79. package/dist/connect/viewer.cjs +7 -7
  80. package/dist/connect/viewer.js +6 -6
  81. package/dist/embed/index.cjs +13 -13
  82. package/dist/embed/index.js +7 -7
  83. package/dist/files/index.cjs +224 -224
  84. package/dist/files/index.js +3 -3
  85. package/dist/index.cjs +262 -262
  86. package/dist/index.js +6 -6
  87. package/dist/workflow-canvas/index.cjs +20 -20
  88. package/dist/workflow-canvas/index.js +10 -10
  89. package/node_modules/@arbidocs/coedit/package.json +1 -1
  90. package/package.json +5 -5
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkCRKWD7B5_cjs = require('../chunk-CRKWD7B5.cjs');
4
+ var chunkVULH3XAJ_cjs = require('../chunk-VULH3XAJ.cjs');
5
5
  var chunkSY2WD6VA_cjs = require('../chunk-SY2WD6VA.cjs');
6
6
  var chunkDDIV3MYQ_cjs = require('../chunk-DDIV3MYQ.cjs');
7
7
  var chunkTAB4JSM2_cjs = require('../chunk-TAB4JSM2.cjs');
8
8
  var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
9
9
  var chunkN52PBUAP_cjs = require('../chunk-N52PBUAP.cjs');
10
- var chunk4LK74S7T_cjs = require('../chunk-4LK74S7T.cjs');
10
+ var chunkBSPPKX6X_cjs = require('../chunk-BSPPKX6X.cjs');
11
11
  var chunkWZAHVTTO_cjs = require('../chunk-WZAHVTTO.cjs');
12
12
  var chunkYZ6YOOTF_cjs = require('../chunk-YZ6YOOTF.cjs');
13
13
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
14
- var chunkDGOVO2QO_cjs = require('../chunk-DGOVO2QO.cjs');
14
+ var chunk5R67KX2O_cjs = require('../chunk-5R67KX2O.cjs');
15
15
  var chunkPIWT2GCY_cjs = require('../chunk-PIWT2GCY.cjs');
16
- var chunkS3SWSAUB_cjs = require('../chunk-S3SWSAUB.cjs');
17
- var chunkDZGLEEUT_cjs = require('../chunk-DZGLEEUT.cjs');
16
+ var chunkV2CKYM4B_cjs = require('../chunk-V2CKYM4B.cjs');
17
+ var chunkRBI7WVEP_cjs = require('../chunk-RBI7WVEP.cjs');
18
18
  var chunkJNVJQCGF_cjs = require('../chunk-JNVJQCGF.cjs');
19
19
  var chunkGSD5U553_cjs = require('../chunk-GSD5U553.cjs');
20
20
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
@@ -32,21 +32,21 @@ var chunkQN5GTCPB_cjs = require('../chunk-QN5GTCPB.cjs');
32
32
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
33
33
  var chunkJXKNPKU6_cjs = require('../chunk-JXKNPKU6.cjs');
34
34
  var chunkRNX5LAQK_cjs = require('../chunk-RNX5LAQK.cjs');
35
- var chunkG4D4UGSW_cjs = require('../chunk-G4D4UGSW.cjs');
35
+ var chunk6NSKIS35_cjs = require('../chunk-6NSKIS35.cjs');
36
36
  var chunk6KQVTMRL_cjs = require('../chunk-6KQVTMRL.cjs');
37
- var chunkKXNC24EF_cjs = require('../chunk-KXNC24EF.cjs');
37
+ var chunkIWLNDDPN_cjs = require('../chunk-IWLNDDPN.cjs');
38
38
  var chunkMMSHLHTA_cjs = require('../chunk-MMSHLHTA.cjs');
39
- var chunkOSWKA2NQ_cjs = require('../chunk-OSWKA2NQ.cjs');
39
+ var chunkOKUXM2N4_cjs = require('../chunk-OKUXM2N4.cjs');
40
40
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
41
41
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
42
- var chunk4IRS55N2_cjs = require('../chunk-4IRS55N2.cjs');
43
42
  var chunk2VJBIBPE_cjs = require('../chunk-2VJBIBPE.cjs');
43
+ var chunk4IRS55N2_cjs = require('../chunk-4IRS55N2.cjs');
44
44
  var chunkCMXJUCTH_cjs = require('../chunk-CMXJUCTH.cjs');
45
45
  require('../chunk-JH6JTI76.cjs');
46
46
  var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
47
47
  require('../chunk-DTMBAFIL.cjs');
48
48
  require('../chunk-ZESMRGDV.cjs');
49
- var chunk7Z5CSFYV_cjs = require('../chunk-7Z5CSFYV.cjs');
49
+ var chunk5UMZXDGL_cjs = require('../chunk-5UMZXDGL.cjs');
50
50
  var chunkFMRTLPC7_cjs = require('../chunk-FMRTLPC7.cjs');
51
51
  require('../chunk-NEGFHF3V.cjs');
52
52
  var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
@@ -71,12 +71,12 @@ require('../chunk-SK6HQ46Q.cjs');
71
71
  var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
72
72
  var chunkBZFCD6A6_cjs = require('../chunk-BZFCD6A6.cjs');
73
73
  require('../chunk-VLCY46K6.cjs');
74
- require('../chunk-BQOL4XNZ.cjs');
75
74
  var chunkOZQ26FNK_cjs = require('../chunk-OZQ26FNK.cjs');
76
75
  var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
77
76
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
78
77
  require('../chunk-OEJQFPWO.cjs');
79
- var chunkCOCZMF7B_cjs = require('../chunk-COCZMF7B.cjs');
78
+ require('../chunk-BQOL4XNZ.cjs');
79
+ var chunk6A4GNM4T_cjs = require('../chunk-6A4GNM4T.cjs');
80
80
  var chunkQECKDZ47_cjs = require('../chunk-QECKDZ47.cjs');
81
81
  var chunkTP5PGWIO_cjs = require('../chunk-TP5PGWIO.cjs');
82
82
  require('../chunk-I4IS6ST6.cjs');
@@ -93,8 +93,8 @@ var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
93
93
  require('../chunk-AHDJXIUB.cjs');
94
94
  var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
95
95
  var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
96
- var chunkXNXNLXIC_cjs = require('../chunk-XNXNLXIC.cjs');
97
96
  var chunkTTPJ2G3G_cjs = require('../chunk-TTPJ2G3G.cjs');
97
+ var chunkXNXNLXIC_cjs = require('../chunk-XNXNLXIC.cjs');
98
98
  var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
99
99
  var chunk25UUJRSJ_cjs = require('../chunk-25UUJRSJ.cjs');
100
100
  var chunkVYJF4ZQY_cjs = require('../chunk-VYJF4ZQY.cjs');
@@ -134,8 +134,8 @@ require('../chunk-HSLPFBK2.cjs');
134
134
  var chunkQGVOT7E4_cjs = require('../chunk-QGVOT7E4.cjs');
135
135
  var chunkQRAQZTJE_cjs = require('../chunk-QRAQZTJE.cjs');
136
136
  require('../chunk-UDSHVNU3.cjs');
137
- var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
138
137
  var chunkIPSHAMO2_cjs = require('../chunk-IPSHAMO2.cjs');
138
+ var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
139
139
  var chunkZBP4ZSAJ_cjs = require('../chunk-ZBP4ZSAJ.cjs');
140
140
  require('../chunk-PPCATBOY.cjs');
141
141
  var chunkWGWP4ATS_cjs = require('../chunk-WGWP4ATS.cjs');
@@ -251,7 +251,7 @@ function ConnectedWorkspaceActivity({
251
251
  [feed.data]
252
252
  );
253
253
  return /* @__PURE__ */ jsxRuntime.jsx(
254
- chunk7Z5CSFYV_cjs.WorkspaceActivityList,
254
+ chunk5UMZXDGL_cjs.WorkspaceActivityList,
255
255
  {
256
256
  ...listProps,
257
257
  items,
@@ -1434,14 +1434,14 @@ function ConnectedOfflineStatus({ compact = false }) {
1434
1434
  const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
1435
1435
  let tone;
1436
1436
  let label;
1437
- let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkKXNC24EF_cjs.openPendingSyncDialog;
1437
+ let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkIWLNDDPN_cjs.openPendingSyncDialog;
1438
1438
  if (!isOnline) {
1439
1439
  tone = "offline";
1440
1440
  label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
1441
1441
  } else if (failed > 0) {
1442
1442
  tone = "failed";
1443
1443
  label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
1444
- onOpen = chunkKXNC24EF_cjs.openPendingSyncDialog;
1444
+ onOpen = chunkIWLNDDPN_cjs.openPendingSyncDialog;
1445
1445
  } else if (outboxFailed > 0) {
1446
1446
  tone = "failed";
1447
1447
  label = `${plural(outboxFailed, "email", "emails")} not sent`;
@@ -1573,7 +1573,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1573
1573
  onChange: (e) => {
1574
1574
  const file = e.target.files?.[0];
1575
1575
  e.target.value = "";
1576
- if (file) void add(() => chunkCOCZMF7B_cjs.importSkillFile(file));
1576
+ if (file) void add(() => chunk6A4GNM4T_cjs.importSkillFile(file));
1577
1577
  }
1578
1578
  }
1579
1579
  ),
@@ -1598,7 +1598,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1598
1598
  className: "space-y-2",
1599
1599
  onSubmit: (e) => {
1600
1600
  e.preventDefault();
1601
- if (url.trim()) void add(() => chunkCOCZMF7B_cjs.importSkillFromUrl(url));
1601
+ if (url.trim()) void add(() => chunk6A4GNM4T_cjs.importSkillFromUrl(url));
1602
1602
  },
1603
1603
  children: [
1604
1604
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1666,9 +1666,9 @@ function ConnectedSkillsLibrary({
1666
1666
  const [type, setType] = react$1.useState("all");
1667
1667
  const [view, setView] = react$1.useState("gallery");
1668
1668
  const [isBusy, setIsBusy] = react$1.useState(false);
1669
- const all = react$1.useMemo(() => chunkCOCZMF7B_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1669
+ const all = react$1.useMemo(() => chunk6A4GNM4T_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1670
1670
  const shown = react$1.useMemo(
1671
- () => chunkCOCZMF7B_cjs.filterLibrarySkills(all, { query, source, type }),
1671
+ () => chunk6A4GNM4T_cjs.filterLibrarySkills(all, { query, source, type }),
1672
1672
  [all, query, source, type]
1673
1673
  );
1674
1674
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1679,21 +1679,21 @@ function ConnectedSkillsLibrary({
1679
1679
  const count2 = (s) => all.filter((x) => x.source === s).length;
1680
1680
  const sourceOptions = [
1681
1681
  { id: "all", label: "All", count: all.length },
1682
- { id: "builtin", label: chunkCOCZMF7B_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1683
- { id: "mine", label: chunkCOCZMF7B_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1684
- { id: "shared", label: chunkCOCZMF7B_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1682
+ { id: "builtin", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1683
+ { id: "mine", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1684
+ { id: "shared", label: chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1685
1685
  ];
1686
1686
  const types = [...new Set(all.map((s) => s.type))];
1687
1687
  const typeOptions = [
1688
1688
  { id: "all", label: "Any kind" },
1689
- ...types.map((t) => ({ id: t, label: chunkCOCZMF7B_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1689
+ ...types.map((t) => ({ id: t, label: chunk6A4GNM4T_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1690
1690
  ];
1691
1691
  const pick = (slug) => {
1692
1692
  setSelected(slug);
1693
1693
  setMode("detail");
1694
1694
  };
1695
1695
  const markdownOf = async (skill) => {
1696
- if (!skill.docExtId) return chunkCOCZMF7B_cjs.workflowToSkillMarkdown(skill.workflow);
1696
+ if (!skill.docExtId) return chunk6A4GNM4T_cjs.workflowToSkillMarkdown(skill.workflow);
1697
1697
  const response = await arbi.documents.download(skill.docExtId);
1698
1698
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1699
1699
  return response.text();
@@ -1757,7 +1757,7 @@ function ConnectedSkillsLibrary({
1757
1757
  try {
1758
1758
  documentTools.downloadBlob(
1759
1759
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1760
- chunkCOCZMF7B_cjs.SKILL_MAIN_FILENAME
1760
+ chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME
1761
1761
  );
1762
1762
  } catch (error) {
1763
1763
  notify17(errorText(error, "Could not export the skill"), "error");
@@ -1798,10 +1798,10 @@ function ConnectedSkillsLibrary({
1798
1798
  }
1799
1799
  )
1800
1800
  ] }),
1801
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.SkillViewToggle, { value: view, onChange: setView })
1801
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.SkillViewToggle, { value: view, onChange: setView })
1802
1802
  ] }),
1803
1803
  /* @__PURE__ */ jsxRuntime.jsx(
1804
- chunkCOCZMF7B_cjs.SkillFilterChips,
1804
+ chunk6A4GNM4T_cjs.SkillFilterChips,
1805
1805
  {
1806
1806
  label: "Show",
1807
1807
  value: source,
@@ -1810,7 +1810,7 @@ function ConnectedSkillsLibrary({
1810
1810
  }
1811
1811
  ),
1812
1812
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1813
- chunkCOCZMF7B_cjs.SkillFilterChips,
1813
+ chunk6A4GNM4T_cjs.SkillFilterChips,
1814
1814
  {
1815
1815
  label: "Kind",
1816
1816
  value: type,
@@ -1857,12 +1857,12 @@ function ConnectedSkillsLibrary({
1857
1857
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1858
1858
  ),
1859
1859
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1860
- chunkCOCZMF7B_cjs.SkillTile,
1860
+ chunk6A4GNM4T_cjs.SkillTile,
1861
1861
  {
1862
1862
  name: skill.title,
1863
1863
  testId: `skill-tile-${skill.slug}`,
1864
1864
  description: skill.description,
1865
- sourceLabel: skill.isShared ? `${chunkCOCZMF7B_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkCOCZMF7B_cjs.SKILL_SOURCE_LABELS[skill.source],
1865
+ sourceLabel: skill.isShared ? `${chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunk6A4GNM4T_cjs.SKILL_SOURCE_LABELS[skill.source],
1866
1866
  type: skill.type,
1867
1867
  icon,
1868
1868
  layout: view,
@@ -1897,7 +1897,7 @@ function ConnectedSkillsLibrary({
1897
1897
  }
1898
1898
  ),
1899
1899
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1900
- chunkCOCZMF7B_cjs.SkillGenerateForm,
1900
+ chunk6A4GNM4T_cjs.SkillGenerateForm,
1901
1901
  {
1902
1902
  icon,
1903
1903
  onGenerate: (desc) => {
@@ -1924,11 +1924,11 @@ function ConnectedSkillsLibrary({
1924
1924
  ),
1925
1925
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1926
1926
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1927
- chunkCOCZMF7B_cjs.SkillLibraryDetail,
1927
+ chunk6A4GNM4T_cjs.SkillLibraryDetail,
1928
1928
  {
1929
1929
  skill: current,
1930
1930
  icon,
1931
- instructions: current.docExtId ? currentText ? chunkCOCZMF7B_cjs.parseSkillFrontmatter(currentText, chunkCOCZMF7B_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1931
+ instructions: current.docExtId ? currentText ? chunk6A4GNM4T_cjs.parseSkillFrontmatter(currentText, chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1932
1932
  isLoading: !!current.docExtId && textLoading,
1933
1933
  actions: {
1934
1934
  onRun: () => onRun(current.slug),
@@ -1963,7 +1963,7 @@ function SkillEditor({
1963
1963
  const [seeded, setSeeded] = react$1.useState(!isEditing);
1964
1964
  const [nameError, setNameError] = react$1.useState(null);
1965
1965
  if (isEditing && !seeded && text !== void 0) {
1966
- const parsed = chunkCOCZMF7B_cjs.parseSkillFrontmatter(text, chunkCOCZMF7B_cjs.SKILL_MAIN_FILENAME);
1966
+ const parsed = chunk6A4GNM4T_cjs.parseSkillFrontmatter(text, chunk6A4GNM4T_cjs.SKILL_MAIN_FILENAME);
1967
1967
  setDescription(parsed.description ?? "");
1968
1968
  setBody(parsed.content ?? "");
1969
1969
  setSeeded(true);
@@ -1977,15 +1977,15 @@ function SkillEditor({
1977
1977
  notify17("Add a short description.", "error");
1978
1978
  return;
1979
1979
  }
1980
- const slug = chunkCOCZMF7B_cjs.skillSlug(name);
1980
+ const slug = chunk6A4GNM4T_cjs.skillSlug(name);
1981
1981
  try {
1982
- await onSave(slug, chunkCOCZMF7B_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1982
+ await onSave(slug, chunk6A4GNM4T_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1983
1983
  } catch (err) {
1984
1984
  notify17(errorText(err, "Could not save the skill"), "error");
1985
1985
  }
1986
1986
  };
1987
1987
  return /* @__PURE__ */ jsxRuntime.jsx(
1988
- chunkCOCZMF7B_cjs.SkillEditForm,
1988
+ chunk6A4GNM4T_cjs.SkillEditForm,
1989
1989
  {
1990
1990
  name,
1991
1991
  onNameChange: setName,
@@ -2078,7 +2078,7 @@ function ConnectedSkillsBrowser({
2078
2078
  }
2079
2079
  ) }),
2080
2080
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
2081
- chunk4LK74S7T_cjs.ConnectedTaskComposer,
2081
+ chunkBSPPKX6X_cjs.ConnectedTaskComposer,
2082
2082
  {
2083
2083
  kind: "workflow",
2084
2084
  open: true,
@@ -2102,9 +2102,9 @@ function ConnectedAgentCreator({
2102
2102
  agent,
2103
2103
  initialName,
2104
2104
  onSaved,
2105
- capabilities = chunkCOCZMF7B_cjs.DEFAULT_AGENT_CAPABILITIES,
2106
- templates = chunkCOCZMF7B_cjs.DEFAULT_AGENT_TEMPLATES,
2107
- types = chunkCOCZMF7B_cjs.DEFAULT_AGENT_TYPES,
2105
+ capabilities = chunk6A4GNM4T_cjs.DEFAULT_AGENT_CAPABILITIES,
2106
+ templates = chunk6A4GNM4T_cjs.DEFAULT_AGENT_TEMPLATES,
2107
+ types = chunk6A4GNM4T_cjs.DEFAULT_AGENT_TYPES,
2108
2108
  canRevokeWorkspaces = false,
2109
2109
  labels
2110
2110
  }) {
@@ -2146,7 +2146,7 @@ function ConnectedAgentCreator({
2146
2146
  const initialValues = react$1.useMemo(
2147
2147
  () => ({
2148
2148
  name: agent?.given_name ?? initialName ?? "",
2149
- persona: isEdit ? chunkCOCZMF7B_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2149
+ persona: isEdit ? chunk6A4GNM4T_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2150
2150
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2151
2151
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2152
2152
  type: "builtin",
@@ -2165,7 +2165,7 @@ function ConnectedAgentCreator({
2165
2165
  try {
2166
2166
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2167
2167
  if (!agentExtId) {
2168
- if (!chunkCOCZMF7B_cjs.isValidAgentName(values.name)) {
2168
+ if (!chunk6A4GNM4T_cjs.isValidAgentName(values.name)) {
2169
2169
  notify17("Give the agent a name first.", "error");
2170
2170
  return;
2171
2171
  }
@@ -2201,7 +2201,7 @@ function ConnectedAgentCreator({
2201
2201
  title: `agent-${name}`,
2202
2202
  sections: {
2203
2203
  Agents: {
2204
- PERSONA: chunkCOCZMF7B_cjs.composePersona(name, values.persona),
2204
+ PERSONA: chunk6A4GNM4T_cjs.composePersona(name, values.persona),
2205
2205
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2206
2206
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2207
2207
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2224,7 +2224,7 @@ function ConnectedAgentCreator({
2224
2224
  };
2225
2225
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2226
2226
  /* @__PURE__ */ jsxRuntime.jsx(
2227
- chunkCOCZMF7B_cjs.AgentCreator,
2227
+ chunk6A4GNM4T_cjs.AgentCreator,
2228
2228
  {
2229
2229
  open: ready,
2230
2230
  onOpenChange,
@@ -2240,11 +2240,11 @@ function ConnectedAgentCreator({
2240
2240
  ) : void 0,
2241
2241
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2242
2242
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2243
- chunkCOCZMF7B_cjs.AgentAvatarField,
2243
+ chunk6A4GNM4T_cjs.AgentAvatarField,
2244
2244
  {
2245
2245
  picture,
2246
2246
  isBusy: avatarBusy,
2247
- canGenerate: isEdit || chunkCOCZMF7B_cjs.isValidAgentName(values.name),
2247
+ canGenerate: isEdit || chunk6A4GNM4T_cjs.isValidAgentName(values.name),
2248
2248
  onGenerate: () => handleGenerateAvatar(values)
2249
2249
  }
2250
2250
  ),
@@ -2296,7 +2296,7 @@ function ConnectedAgentCreator({
2296
2296
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2297
2297
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2298
2298
  ] }),
2299
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2299
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2300
2300
  ]
2301
2301
  }
2302
2302
  ) })
@@ -2688,7 +2688,7 @@ function useMemoryCount(enabled) {
2688
2688
  }
2689
2689
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2690
2690
  const { notify: notify17, openConversation, openDocument } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
2691
- const people = chunk4LK74S7T_cjs.useTaskPeople();
2691
+ const people = chunkBSPPKX6X_cjs.useTaskPeople();
2692
2692
  const canEditShared = react.useCanEditShared();
2693
2693
  const isWorkspaceOwner = react.useIsWorkspaceOwner();
2694
2694
  const { data: workflows = [] } = react.useWorkflows({ live: true });
@@ -2714,7 +2714,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2714
2714
  }, [documents]);
2715
2715
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2716
2716
  /* @__PURE__ */ jsxRuntime.jsx(
2717
- chunkCOCZMF7B_cjs.TaskTable,
2717
+ chunk6A4GNM4T_cjs.TaskTable,
2718
2718
  {
2719
2719
  tasks,
2720
2720
  isLoading,
@@ -2741,7 +2741,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2741
2741
  }
2742
2742
  ),
2743
2743
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2744
- chunk4LK74S7T_cjs.ConnectedTaskActivityDialog,
2744
+ chunkBSPPKX6X_cjs.ConnectedTaskActivityDialog,
2745
2745
  {
2746
2746
  conversationId: activityFor.external_id,
2747
2747
  taskName: activityFor.title || l.untitledTask,
@@ -2780,7 +2780,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2780
2780
  [workflows, skills, l.skillFiles]
2781
2781
  );
2782
2782
  const launch = async ({ workflow, inputs, agentId }) => {
2783
- const values = chunkCOCZMF7B_cjs.defaultTaskComposerValues(launchable, {
2783
+ const values = chunk6A4GNM4T_cjs.defaultTaskComposerValues(launchable, {
2784
2784
  workflowId: workflow.id,
2785
2785
  assignee: "agent",
2786
2786
  inputs,
@@ -2900,7 +2900,7 @@ function ConnectedAgentsPageScope(props) {
2900
2900
  children,
2901
2901
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2902
2902
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2903
- chunk4LK74S7T_cjs.ConnectedTaskComposer,
2903
+ chunkBSPPKX6X_cjs.ConnectedTaskComposer,
2904
2904
  {
2905
2905
  open: true,
2906
2906
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2922,7 +2922,7 @@ function AgentsGallery() {
2922
2922
  cardTestIds
2923
2923
  } = agentOptions;
2924
2924
  const { openConversation } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
2925
- const tasksByAgent = react$1.useMemo(() => chunkCOCZMF7B_cjs.groupAgentTasks(tasks), [tasks]);
2925
+ const tasksByAgent = react$1.useMemo(() => chunk6A4GNM4T_cjs.groupAgentTasks(tasks), [tasks]);
2926
2926
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2927
2927
  const { agents } = management;
2928
2928
  const cardDetails = (agent) => details.map(
@@ -2937,7 +2937,7 @@ function AgentsGallery() {
2937
2937
  ) : detail === "workspaces" ? /* @__PURE__ */ jsxRuntime.jsx(AgentWorkspaceAccess, { agentExtId: agent.external_id, labels: l }, detail) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: behaviour.behaviourOf(agent.given_name) }, detail)
2938
2938
  );
2939
2939
  return /* @__PURE__ */ jsxRuntime.jsx(
2940
- chunkCOCZMF7B_cjs.AgentGallery,
2940
+ chunk6A4GNM4T_cjs.AgentGallery,
2941
2941
  {
2942
2942
  count: agents.length,
2943
2943
  onCreate: management.create,
@@ -2947,9 +2947,9 @@ function AgentsGallery() {
2947
2947
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2948
2948
  const running = agentTasks.filter((t) => t.in_progress);
2949
2949
  const watchConversationId = running[0]?.external_id ?? null;
2950
- const progress = agentTasks[0] ? chunkCOCZMF7B_cjs.goalProgress(agentTasks[0]) : null;
2950
+ const progress = agentTasks[0] ? chunk6A4GNM4T_cjs.goalProgress(agentTasks[0]) : null;
2951
2951
  return /* @__PURE__ */ jsxRuntime.jsx(
2952
- chunkCOCZMF7B_cjs.AgentCard,
2952
+ chunk6A4GNM4T_cjs.AgentCard,
2953
2953
  {
2954
2954
  name: displayName(agent),
2955
2955
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -3361,7 +3361,7 @@ function ConnectedTagTable({
3361
3361
  const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
3362
3362
  const snapshot2 = (data) => {
3363
3363
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3364
- const bytes = chunk7Z5CSFYV_cjs.tagTableDocx(data, {
3364
+ const bytes = chunk5UMZXDGL_cjs.tagTableDocx(data, {
3365
3365
  title,
3366
3366
  nameOf: (id) => people.find((p) => p.value === id)?.label
3367
3367
  });
@@ -3370,7 +3370,7 @@ function ConnectedTagTable({
3370
3370
  return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
3371
3371
  };
3372
3372
  return /* @__PURE__ */ jsxRuntime.jsx(
3373
- chunk7Z5CSFYV_cjs.TagTable,
3373
+ chunk5UMZXDGL_cjs.TagTable,
3374
3374
  {
3375
3375
  ...props,
3376
3376
  table,
@@ -3460,8 +3460,8 @@ function ConnectedAiReview({
3460
3460
  const generate = react.useGenerateDocTags();
3461
3461
  const { data: liveDocs = [] } = react.useDocuments();
3462
3462
  const { data: tags = [] } = react.useTags();
3463
- const result = chunkG4D4UGSW_cjs.useAiReviewStore((s) => s.run);
3464
- const setResult = chunkG4D4UGSW_cjs.useAiReviewStore((s) => s.setRun);
3463
+ const result = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.run);
3464
+ const setResult = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.setRun);
3465
3465
  const phase = result ? "review" : "ask";
3466
3466
  const docCount = documents.length;
3467
3467
  const scope = allDocuments ? "processed" : "selected";
@@ -3696,7 +3696,7 @@ function ConnectedAiReview({
3696
3696
  }, [kind]);
3697
3697
  const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
3698
3698
  return /* @__PURE__ */ jsxRuntime.jsx(
3699
- chunkOSWKA2NQ_cjs.AiReviewDialogView,
3699
+ chunkOKUXM2N4_cjs.AiReviewDialogView,
3700
3700
  {
3701
3701
  open,
3702
3702
  onOpenChange: handleOpenChange,
@@ -3747,9 +3747,9 @@ function GlossaryExport({ labelId, nameOf }) {
3747
3747
  const narrowed = agreements.find((a) => a.id === narrowTo);
3748
3748
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
3749
3749
  const download = (format) => {
3750
- const entries = chunk7Z5CSFYV_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3751
- const blob = format === "docx" ? new Blob([chunk7Z5CSFYV_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunk7Z5CSFYV_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3752
- documentTools.downloadBlob(blob, chunk7Z5CSFYV_cjs.glossaryFileName(title, format));
3750
+ const entries = chunk5UMZXDGL_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3751
+ const blob = format === "docx" ? new Blob([chunk5UMZXDGL_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunk5UMZXDGL_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3752
+ documentTools.downloadBlob(blob, chunk5UMZXDGL_cjs.glossaryFileName(title, format));
3753
3753
  };
3754
3754
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
3755
3755
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3813,8 +3813,8 @@ function useOpenTaggedContent() {
3813
3813
  if (!workspaceId) return;
3814
3814
  session.setTransientView("topbar.filter", "");
3815
3815
  if (kind === "documents") {
3816
- chunkG4D4UGSW_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3817
- chunkG4D4UGSW_cjs.useFilesPrefs.getState().setViewMode("grid");
3816
+ chunk6NSKIS35_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3817
+ chunk6NSKIS35_cjs.useFilesPrefs.getState().setViewMode("grid");
3818
3818
  session.setPage("documents");
3819
3819
  } else if (kind === "facts") {
3820
3820
  session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
@@ -3853,7 +3853,7 @@ function ConnectedTagForm({
3853
3853
  nameByKind = false
3854
3854
  }) {
3855
3855
  const isCreate = !tag;
3856
- const memberById = chunkCRKWD7B5_cjs.useMemberLookup();
3856
+ const memberById = chunkVULH3XAJ_cjs.useMemberLookup();
3857
3857
  const creator = memberById(tag?.created_by_ext_id);
3858
3858
  const updater = memberById(tag?.updated_by_ext_id);
3859
3859
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -3932,19 +3932,19 @@ function ConnectedTagForm({
3932
3932
  metaLines.push({
3933
3933
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
3934
3934
  byLabel: "by",
3935
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkDZGLEEUT_cjs.DocumentUser, { user: creator }) : void 0
3935
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkRBI7WVEP_cjs.DocumentUser, { user: creator }) : void 0
3936
3936
  });
3937
3937
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
3938
3938
  metaLines.push({
3939
3939
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
3940
3940
  byLabel: "by",
3941
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkDZGLEEUT_cjs.DocumentUser, { user: updater }) : void 0
3941
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkRBI7WVEP_cjs.DocumentUser, { user: updater }) : void 0
3942
3942
  });
3943
3943
  }
3944
3944
  }
3945
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.TagFormRoot, { children: [
3945
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.TagFormRoot, { children: [
3946
3946
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
3947
- chunkOSWKA2NQ_cjs.TagFormNameField,
3947
+ chunkOKUXM2N4_cjs.TagFormNameField,
3948
3948
  {
3949
3949
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
3950
3950
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -3954,7 +3954,7 @@ function ConnectedTagForm({
3954
3954
  }
3955
3955
  ),
3956
3956
  kinds.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3957
- chunkOSWKA2NQ_cjs.TagFormSelectField,
3957
+ chunkOKUXM2N4_cjs.TagFormSelectField,
3958
3958
  {
3959
3959
  label: "Kind",
3960
3960
  testId: "inline-tag-form-kind-field",
@@ -3969,7 +3969,7 @@ function ConnectedTagForm({
3969
3969
  }
3970
3970
  ),
3971
3971
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
3972
- chunkOSWKA2NQ_cjs.TagFormSelectField,
3972
+ chunkOKUXM2N4_cjs.TagFormSelectField,
3973
3973
  {
3974
3974
  label: group === "annotation" ? "Value type" : "Field Type",
3975
3975
  testId: "inline-tag-form-type-field",
@@ -3981,7 +3981,7 @@ function ConnectedTagForm({
3981
3981
  }
3982
3982
  ),
3983
3983
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
3984
- chunkOSWKA2NQ_cjs.TagFormSelectField,
3984
+ chunkOKUXM2N4_cjs.TagFormSelectField,
3985
3985
  {
3986
3986
  label: "Nested Under",
3987
3987
  value: parentId,
@@ -4003,14 +4003,14 @@ function ConnectedTagForm({
4003
4003
  ]
4004
4004
  }
4005
4005
  ),
4006
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4006
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4007
4007
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
4008
4008
  " ",
4009
4009
  browser.TAG_NESTING_MAX_DEPTH,
4010
4010
  " levels deep."
4011
4011
  ] }),
4012
4012
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
4013
- chunkOSWKA2NQ_cjs.TagFormOptionsEditor,
4013
+ chunkOKUXM2N4_cjs.TagFormOptionsEditor,
4014
4014
  {
4015
4015
  label: "Options",
4016
4016
  options: options2,
@@ -4023,7 +4023,7 @@ function ConnectedTagForm({
4023
4023
  }
4024
4024
  ),
4025
4025
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
4026
- chunkOSWKA2NQ_cjs.TagFormInstructionField,
4026
+ chunkOKUXM2N4_cjs.TagFormInstructionField,
4027
4027
  {
4028
4028
  label: "AI Instruction",
4029
4029
  optionalLabel: "(optional)",
@@ -4033,12 +4033,12 @@ function ConnectedTagForm({
4033
4033
  onChange: setInstruction
4034
4034
  }
4035
4035
  ),
4036
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.TagFormMeta, { lines: metaLines }),
4036
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TagFormMeta, { lines: metaLines }),
4037
4037
  /* @__PURE__ */ jsxRuntime.jsx(
4038
- chunkOSWKA2NQ_cjs.TagFormFooter,
4038
+ chunkOKUXM2N4_cjs.TagFormFooter,
4039
4039
  {
4040
4040
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
4041
- chunkOSWKA2NQ_cjs.TagFormSharedToggle,
4041
+ chunkOKUXM2N4_cjs.TagFormSharedToggle,
4042
4042
  {
4043
4043
  label: "Shared with workspace",
4044
4044
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4278,7 +4278,7 @@ function KindSection({
4278
4278
  {
4279
4279
  testId: `tags-kind-${kind}`,
4280
4280
  title: ui.tagKindTitle(kind, { plural: true }),
4281
- description: chunk7Z5CSFYV_cjs.tagKindDescription(kind),
4281
+ description: chunk5UMZXDGL_cjs.tagKindDescription(kind),
4282
4282
  children: [
4283
4283
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
4284
4284
  "p",
@@ -4288,9 +4288,9 @@ function KindSection({
4288
4288
  children: [
4289
4289
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
4290
4290
  "Extracting ",
4291
- chunk7Z5CSFYV_cjs.entitiesPhrase().toLowerCase(),
4291
+ chunk5UMZXDGL_cjs.entitiesPhrase().toLowerCase(),
4292
4292
  " from ",
4293
- chunk7Z5CSFYV_cjs.documentCount(extractingCount),
4293
+ chunk5UMZXDGL_cjs.documentCount(extractingCount),
4294
4294
  "\u2026"
4295
4295
  ]
4296
4296
  }
@@ -4308,7 +4308,7 @@ function KindSection({
4308
4308
  onOpenTag: ctx.onOpenTag,
4309
4309
  onOpenRow: ctx.onOpenTag,
4310
4310
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4311
- labels: chunk7Z5CSFYV_cjs.tagTableLabels(kind),
4311
+ labels: chunk5UMZXDGL_cjs.tagTableLabels(kind),
4312
4312
  testId: `tags-table-${kind}`
4313
4313
  }
4314
4314
  )
@@ -4416,15 +4416,15 @@ function TagSection({
4416
4416
  onOpenTag: ctx.onOpenTag,
4417
4417
  onOpenRow: ctx.onOpenTag,
4418
4418
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4419
- labels: chunk7Z5CSFYV_cjs.tagTableLabels(tag.kind),
4419
+ labels: chunk5UMZXDGL_cjs.tagTableLabels(tag.kind),
4420
4420
  testId: "tags-rows"
4421
4421
  }
4422
4422
  ),
4423
4423
  /* @__PURE__ */ jsxRuntime.jsx(
4424
- chunk7Z5CSFYV_cjs.TagDetail,
4424
+ chunk5UMZXDGL_cjs.TagDetail,
4425
4425
  {
4426
4426
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4427
- fieldLabels: chunk7Z5CSFYV_cjs.tagTableLabels(tag.kind),
4427
+ fieldLabels: chunk5UMZXDGL_cjs.tagTableLabels(tag.kind),
4428
4428
  row: detailRow,
4429
4429
  fields: schema.data?.fields ?? [],
4430
4430
  isLoading: detail.isLoading,
@@ -4438,7 +4438,7 @@ function TagSection({
4438
4438
  throw e;
4439
4439
  })
4440
4440
  ),
4441
- labels: chunk7Z5CSFYV_cjs.tagDetailLabels(),
4441
+ labels: chunk5UMZXDGL_cjs.tagDetailLabels(),
4442
4442
  testId: "tags-detail"
4443
4443
  }
4444
4444
  )
@@ -4461,9 +4461,9 @@ var TAG_FILTER_FIELDS = [
4461
4461
  function ConnectedTagsPage() {
4462
4462
  const { confirm, notify: notify17, openSmartSearch } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
4463
4463
  const onOpenTaggedItems = useOpenTaggedContent();
4464
- const setReviewOpen = chunkG4D4UGSW_cjs.useAiReviewStore((state) => state.setOpen);
4465
- const setReviewRun = chunkG4D4UGSW_cjs.useAiReviewStore((state) => state.setRun);
4466
- const reviewOpen = chunkG4D4UGSW_cjs.useAiReviewStore((state) => state.open);
4464
+ const setReviewOpen = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.setOpen);
4465
+ const setReviewRun = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.setRun);
4466
+ const reviewOpen = chunk6NSKIS35_cjs.useAiReviewStore((state) => state.open);
4467
4467
  const [review, setReview] = react$1.useState(null);
4468
4468
  const { data: tags } = chunkD3GZWKHW_cjs.useConnectedTags();
4469
4469
  const { data: documents } = chunkD3GZWKHW_cjs.useConnectedDocuments();
@@ -4513,7 +4513,7 @@ function ConnectedTagsPage() {
4513
4513
  const onDelete = async (t) => {
4514
4514
  const nested = browser.getChildTags([...tags], t.external_id);
4515
4515
  const uses = browser.tagUseCount(t);
4516
- const n2 = chunk7Z5CSFYV_cjs.tagsPageNouns();
4516
+ const n2 = chunk5UMZXDGL_cjs.tagsPageNouns();
4517
4517
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
4518
4518
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
4519
4519
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -4534,11 +4534,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4534
4534
  try {
4535
4535
  await extract.mutateAsync(docIds);
4536
4536
  notify17(
4537
- `Extracting ${chunk7Z5CSFYV_cjs.entitiesPhrase().toLowerCase()} from ${chunk7Z5CSFYV_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4537
+ `Extracting ${chunk5UMZXDGL_cjs.entitiesPhrase().toLowerCase()} from ${chunk5UMZXDGL_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4538
4538
  "info"
4539
4539
  );
4540
4540
  } catch (error) {
4541
- notify17(browser.refusalReason(error, `Could not extract ${chunk7Z5CSFYV_cjs.entitiesPhrase().toLowerCase()}`), "error");
4541
+ notify17(browser.refusalReason(error, `Could not extract ${chunk5UMZXDGL_cjs.entitiesPhrase().toLowerCase()}`), "error");
4542
4542
  throw error;
4543
4543
  }
4544
4544
  };
@@ -4552,10 +4552,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4552
4552
  onOpenTag: openTag,
4553
4553
  onOpenTaggedItems
4554
4554
  };
4555
- const n = chunk7Z5CSFYV_cjs.tagsPageNouns();
4555
+ const n = chunk5UMZXDGL_cjs.tagsPageNouns();
4556
4556
  const action = view === "person" || view === "organisation" ? {
4557
4557
  label: "Extract",
4558
- title: `Extract ${chunk7Z5CSFYV_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4558
+ title: `Extract ${chunk5UMZXDGL_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4559
4559
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
4560
4560
  run: () => setExtracting(true),
4561
4561
  testId: "tags-extract-entities"
@@ -4609,7 +4609,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4609
4609
  onTabChange: () => {
4610
4610
  },
4611
4611
  variant: "underline",
4612
- firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4612
+ firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4613
4613
  chunk6UZC4XVV_cjs.FilterInput,
4614
4614
  {
4615
4615
  value: filterText,
@@ -4631,7 +4631,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4631
4631
  filter: tagFilter
4632
4632
  }
4633
4633
  ) }),
4634
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4634
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4635
4635
  chunkSNUBQMIS_cjs.ViewToggle,
4636
4636
  {
4637
4637
  options: browser.TAG_KINDS.map((k) => ({
@@ -4724,7 +4724,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4724
4724
  }
4725
4725
  ),
4726
4726
  /* @__PURE__ */ jsxRuntime.jsx(
4727
- chunk7Z5CSFYV_cjs.ExtractEntitiesDialog,
4727
+ chunk5UMZXDGL_cjs.ExtractEntitiesDialog,
4728
4728
  {
4729
4729
  open: extracting,
4730
4730
  onOpenChange: setExtracting,
@@ -5312,7 +5312,7 @@ function ConnectedExportPanel({
5312
5312
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5313
5313
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5314
5314
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5315
- chunkOSWKA2NQ_cjs.TransferProgressView,
5315
+ chunkOKUXM2N4_cjs.TransferProgressView,
5316
5316
  {
5317
5317
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5318
5318
  processed: job.processed ?? 0,
@@ -5325,7 +5325,7 @@ function ConnectedExportPanel({
5325
5325
  ),
5326
5326
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5327
5327
  react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5328
- chunkOSWKA2NQ_cjs.TransferResumeBanner,
5328
+ chunkOKUXM2N4_cjs.TransferResumeBanner,
5329
5329
  {
5330
5330
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5331
5331
  onResume: () => handleResume(job),
@@ -5333,7 +5333,7 @@ function ConnectedExportPanel({
5333
5333
  }
5334
5334
  ),
5335
5335
  /* @__PURE__ */ jsxRuntime.jsx(
5336
- chunkOSWKA2NQ_cjs.ExportResultsReport,
5336
+ chunkOKUXM2N4_cjs.ExportResultsReport,
5337
5337
  {
5338
5338
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
5339
5339
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -5346,7 +5346,7 @@ function ConnectedExportPanel({
5346
5346
  ] }),
5347
5347
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5348
5348
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
5349
- chunkOSWKA2NQ_cjs.TransferResumeBanner,
5349
+ chunkOKUXM2N4_cjs.TransferResumeBanner,
5350
5350
  {
5351
5351
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
5352
5352
  onResume: () => handleResume(resumable),
@@ -5354,7 +5354,7 @@ function ConnectedExportPanel({
5354
5354
  }
5355
5355
  ),
5356
5356
  /* @__PURE__ */ jsxRuntime.jsx(
5357
- chunkOSWKA2NQ_cjs.TransferScopeChooser,
5357
+ chunkOKUXM2N4_cjs.TransferScopeChooser,
5358
5358
  {
5359
5359
  scope: scopeChoice,
5360
5360
  onScopeChange: setScopeChoice,
@@ -5365,7 +5365,7 @@ function ConnectedExportPanel({
5365
5365
  }
5366
5366
  ),
5367
5367
  /* @__PURE__ */ jsxRuntime.jsx(
5368
- chunkOSWKA2NQ_cjs.TransferKindsPicker,
5368
+ chunkOKUXM2N4_cjs.TransferKindsPicker,
5369
5369
  {
5370
5370
  options: ALL_KINDS.map((kind) => ({
5371
5371
  kind,
@@ -5378,9 +5378,9 @@ function ConnectedExportPanel({
5378
5378
  )
5379
5379
  }
5380
5380
  ),
5381
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5381
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5382
5382
  /* @__PURE__ */ jsxRuntime.jsx(
5383
- chunkOSWKA2NQ_cjs.ExportMethodChooser,
5383
+ chunkOKUXM2N4_cjs.ExportMethodChooser,
5384
5384
  {
5385
5385
  mode,
5386
5386
  onModeChange: setMode,
@@ -5392,17 +5392,17 @@ function ConnectedExportPanel({
5392
5392
  ),
5393
5393
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5394
5394
  /* @__PURE__ */ jsxRuntime.jsx(
5395
- chunkOSWKA2NQ_cjs.ExportWorkspacePicker,
5395
+ chunkOKUXM2N4_cjs.ExportWorkspacePicker,
5396
5396
  {
5397
5397
  workspaces: workspaceOptions,
5398
5398
  selectedId: targetId,
5399
5399
  onSelect: setTargetId
5400
5400
  }
5401
5401
  ),
5402
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5402
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5403
5403
  ] }),
5404
5404
  /* @__PURE__ */ jsxRuntime.jsx(
5405
- chunkOSWKA2NQ_cjs.TransferPlanSummary,
5405
+ chunkOKUXM2N4_cjs.TransferPlanSummary,
5406
5406
  {
5407
5407
  lines: summary.lines,
5408
5408
  warnings: summary.warnings,
@@ -5419,7 +5419,7 @@ function ConnectedExportPanel({
5419
5419
  ] })
5420
5420
  ] }),
5421
5421
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
5422
- chunkOSWKA2NQ_cjs.ExportFooter,
5422
+ chunkOKUXM2N4_cjs.ExportFooter,
5423
5423
  {
5424
5424
  onCancel: onClose,
5425
5425
  onSubmit: handleSubmit,
@@ -5460,7 +5460,7 @@ function OpenExportDialog({
5460
5460
  children: [
5461
5461
  /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { children: [
5462
5462
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
5463
- chunkOSWKA2NQ_cjs.ExportModalTitle,
5463
+ chunkOKUXM2N4_cjs.ExportModalTitle,
5464
5464
  {
5465
5465
  workspace: workspace ? {
5466
5466
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -5877,7 +5877,7 @@ function ConnectedFieldsEditor({
5877
5877
  const [sortBy, setSortBy] = react$1.useState("name-asc");
5878
5878
  const [filterText, setFilterText] = react$1.useState("");
5879
5879
  const fieldRows = react$1.useMemo(
5880
- () => browser.flattenTagTree(chunkOSWKA2NQ_cjs.sortFields(chunkOSWKA2NQ_cjs.filterFieldsByName(tags, filterText), sortBy)),
5880
+ () => browser.flattenTagTree(chunkOKUXM2N4_cjs.sortFields(chunkOKUXM2N4_cjs.filterFieldsByName(tags, filterText), sortBy)),
5881
5881
  [tags, filterText, sortBy]
5882
5882
  );
5883
5883
  const exportItems = react$1.useMemo(
@@ -5897,7 +5897,7 @@ function ConnectedFieldsEditor({
5897
5897
  setIsDeleting(false);
5898
5898
  }
5899
5899
  };
5900
- const copy = chunkOSWKA2NQ_cjs.fieldsApplyBarCopy({
5900
+ const copy = chunkOKUXM2N4_cjs.fieldsApplyBarCopy({
5901
5901
  nouns,
5902
5902
  targetNoun,
5903
5903
  fieldCount,
@@ -5906,9 +5906,9 @@ function ConnectedFieldsEditor({
5906
5906
  isApplying,
5907
5907
  isClearing
5908
5908
  });
5909
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FieldsEditorRoot, { children: [
5909
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FieldsEditorRoot, { children: [
5910
5910
  /* @__PURE__ */ jsxRuntime.jsx(
5911
- chunkOSWKA2NQ_cjs.FieldsEditorToolbar,
5911
+ chunkOKUXM2N4_cjs.FieldsEditorToolbar,
5912
5912
  {
5913
5913
  nouns,
5914
5914
  onNew: () => {
@@ -5936,11 +5936,11 @@ function ConnectedFieldsEditor({
5936
5936
  onSortByChange: setSortBy
5937
5937
  }
5938
5938
  ),
5939
- /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FieldsEditorList, { children: [
5939
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FieldsEditorList, { children: [
5940
5940
  fieldRows.map(({ tag, depth, childCount }) => {
5941
5941
  const isEditingThis = editingTagId === tag.external_id;
5942
5942
  return /* @__PURE__ */ jsxRuntime.jsx(
5943
- chunkOSWKA2NQ_cjs.FieldRow,
5943
+ chunkOKUXM2N4_cjs.FieldRow,
5944
5944
  {
5945
5945
  tagId: tag.external_id,
5946
5946
  name: tag.name,
@@ -5993,10 +5993,10 @@ function ConnectedFieldsEditor({
5993
5993
  tag.external_id
5994
5994
  );
5995
5995
  }),
5996
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FieldsEmptyState, { children: chunkOSWKA2NQ_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5996
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsEmptyState, { children: chunkOKUXM2N4_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5997
5997
  ] }),
5998
5998
  /* @__PURE__ */ jsxRuntime.jsx(
5999
- chunkOSWKA2NQ_cjs.FieldsApplyBar,
5999
+ chunkOKUXM2N4_cjs.FieldsApplyBar,
6000
6000
  {
6001
6001
  hint: copy.hint,
6002
6002
  applyLabel: copy.applyLabel,
@@ -6072,8 +6072,8 @@ function ConnectedFieldsManager({
6072
6072
  }
6073
6073
  );
6074
6074
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6075
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6076
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6075
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6076
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6077
6077
  ConnectedFieldsEditor,
6078
6078
  {
6079
6079
  group: activeKind,
@@ -6085,7 +6085,7 @@ function ConnectedFieldsManager({
6085
6085
  ] });
6086
6086
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
6087
6087
  /* @__PURE__ */ jsxRuntime.jsxs(chunkMMSHLHTA_cjs.DraggableHeader, { children: [
6088
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6088
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6089
6089
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
6090
6090
  ] }),
6091
6091
  body
@@ -6114,7 +6114,7 @@ function ConnectedFieldsManagerPanel({
6114
6114
  const [createRequest, setCreateRequest] = react.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
6115
6115
  const [kind, setKind] = react.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
6116
6116
  const documentIds = react.useArbiSessionState((s) => s.selectedDocumentIds);
6117
- const reviewing = chunkG4D4UGSW_cjs.useFilesPrefs((state) => chunkG4D4UGSW_cjs.filesViewMode(state) === "navigator");
6117
+ const reviewing = chunk6NSKIS35_cjs.useFilesPrefs((state) => chunk6NSKIS35_cjs.filesViewMode(state) === "navigator");
6118
6118
  const viewingId = react.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
6119
6119
  const reviewingId = reviewing ? viewingId : null;
6120
6120
  const handleClose = react$1.useCallback(() => {
@@ -6155,7 +6155,7 @@ function ConnectedFieldsManagerPanel({
6155
6155
  onAnnotationCreated,
6156
6156
  onAiFieldsApplied: (result) => {
6157
6157
  session.closePanel(FIELDS_MANAGER_PANEL);
6158
- const review = chunkG4D4UGSW_cjs.useAiReviewStore.getState();
6158
+ const review = chunk6NSKIS35_cjs.useAiReviewStore.getState();
6159
6159
  review.setRun(result);
6160
6160
  review.setOpen(true);
6161
6161
  }
@@ -6530,7 +6530,7 @@ var factNouns = () => ({
6530
6530
  function useWorkspaceAsk() {
6531
6531
  const { openNewConversation, openFiles } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
6532
6532
  const { workspaceId } = chunkTJQMC7GJ_cjs.useConnectedWorkspace();
6533
- const setFilesViewMode = chunkG4D4UGSW_cjs.useFilesPrefs((state) => state.setViewMode);
6533
+ const setFilesViewMode = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.setViewMode);
6534
6534
  const ask = react$1.useCallback(
6535
6535
  (text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
6536
6536
  [openNewConversation]
@@ -7058,7 +7058,7 @@ function useFactFilters(notes, view, chat) {
7058
7058
  (selected, setSelected, opts) => {
7059
7059
  const applied = new Set(selected);
7060
7060
  return /* @__PURE__ */ jsxRuntime.jsx(chunkGSD5U553_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7061
- chunkOSWKA2NQ_cjs.FieldLabelsSelect,
7061
+ chunkOKUXM2N4_cjs.FieldLabelsSelect,
7062
7062
  {
7063
7063
  options: labelOptions,
7064
7064
  appliedIds: applied,
@@ -7285,7 +7285,7 @@ var FactHeader = react$1.memo(function FactHeader2({
7285
7285
  if (params.enableSorting) params.progressSort(e.shiftKey);
7286
7286
  },
7287
7287
  children: [
7288
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilterButton, { params, colId }),
7288
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilterButton, { params, colId }),
7289
7289
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
7290
7290
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
7291
7291
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7557,7 +7557,7 @@ function useFactsPageView() {
7557
7557
  "facts.searchFields",
7558
7558
  DEFAULT_SEARCH_FIELDS
7559
7559
  );
7560
- const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkOSWKA2NQ_cjs.ROW_MIN);
7560
+ const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkOKUXM2N4_cjs.ROW_MIN);
7561
7561
  const labelWidth = react.useArbiSessionState(
7562
7562
  (s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
7563
7563
  );
@@ -7791,7 +7791,7 @@ function ConnectedFactsPage() {
7791
7791
  const view = pageView.view;
7792
7792
  const setView = pageView.setView;
7793
7793
  const openLabels = () => openFieldsManagerIn(session, "label");
7794
- const factsRowHeight = pageView.rowHeight === chunkOSWKA2NQ_cjs.ROW_MIN ? chunkOSWKA2NQ_cjs.ROW_MIN : chunkOSWKA2NQ_cjs.rowHeightForLines(chunkOSWKA2NQ_cjs.linesForRowHeight(pageView.rowHeight));
7794
+ const factsRowHeight = pageView.rowHeight === chunkOKUXM2N4_cjs.ROW_MIN ? chunkOKUXM2N4_cjs.ROW_MIN : chunkOKUXM2N4_cjs.rowHeightForLines(chunkOKUXM2N4_cjs.linesForRowHeight(pageView.rowHeight));
7795
7795
  const [isExportOpen, setIsExportOpen] = react$1.useState(false);
7796
7796
  const [filterOpen, setFilterOpen] = react$1.useState(false);
7797
7797
  const [factSection, setFactSection] = react$1.useState(null);
@@ -7844,7 +7844,7 @@ function ConnectedFactsPage() {
7844
7844
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
7845
7845
  navSlotRef: setNavSlot,
7846
7846
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
7847
- chunk7Z5CSFYV_cjs.GridRowNavigator,
7847
+ chunk5UMZXDGL_cjs.GridRowNavigator,
7848
7848
  {
7849
7849
  gridApi,
7850
7850
  selectedId: editingId,
@@ -7857,7 +7857,7 @@ function ConnectedFactsPage() {
7857
7857
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7858
7858
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkGSD5U553_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
7859
7859
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
7860
- chunkOSWKA2NQ_cjs.RowDensityControl,
7860
+ chunkOKUXM2N4_cjs.RowDensityControl,
7861
7861
  {
7862
7862
  rowHeight: factsRowHeight,
7863
7863
  onRowHeightChange: pageView.setRowHeight,
@@ -8121,7 +8121,7 @@ function useConnectedShellWorkspaces(options2 = {}) {
8121
8121
  function ConnectedSsoDisconnect() {
8122
8122
  const { client } = react.useAccountClient();
8123
8123
  const { data: profile } = react.useProfile();
8124
- const auth = chunkDGOVO2QO_cjs.useAuthPages();
8124
+ const auth = chunk5R67KX2O_cjs.useAuthPages();
8125
8125
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
8126
8126
  const [open, setOpen] = react$1.useState(false);
8127
8127
  const [step, setStep] = react$1.useState("email");
@@ -8299,14 +8299,14 @@ function ConnectedAccountSettings({
8299
8299
  }) {
8300
8300
  const [logoutOpen, setLogoutOpen] = react$1.useState(false);
8301
8301
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
8302
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8302
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8303
8303
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
8304
8304
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
8305
8305
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
8306
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedSecuritySection, { children: securityRows }),
8306
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedSecuritySection, { children: securityRows }),
8307
8307
  moreSettings,
8308
8308
  /* @__PURE__ */ jsxRuntime.jsx(
8309
- chunkDGOVO2QO_cjs.ConnectedIdentityVerification,
8309
+ chunk5R67KX2O_cjs.ConnectedIdentityVerification,
8310
8310
  {
8311
8311
  collapsible: true,
8312
8312
  onManageBilling,
@@ -8316,7 +8316,7 @@ function ConnectedAccountSettings({
8316
8316
  ] }),
8317
8317
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
8318
8318
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
8319
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8319
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8320
8320
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
8321
8321
  ui.Button,
8322
8322
  {
@@ -8333,9 +8333,9 @@ function ConnectedAccountSettings({
8333
8333
  }
8334
8334
  ) })
8335
8335
  ] }) }),
8336
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8336
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8337
8337
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
8338
- chunkDGOVO2QO_cjs.ConnectedLogoutDialog,
8338
+ chunk5R67KX2O_cjs.ConnectedLogoutDialog,
8339
8339
  {
8340
8340
  open: logoutOpen,
8341
8341
  onClose: () => setLogoutOpen(false),
@@ -8676,7 +8676,7 @@ function ConnectedPrivacySettings({
8676
8676
  }
8677
8677
  )
8678
8678
  ] }) }),
8679
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedNotificationPreferences, {})
8679
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedNotificationPreferences, {})
8680
8680
  ] });
8681
8681
  }
8682
8682
  var PROVIDER_NAMES = {
@@ -10657,7 +10657,7 @@ function ConnectedRecoveryKeyDialog({
10657
10657
  const arbi = react.useArbi();
10658
10658
  const { user, isSso: isSsoMode } = react.useArbiSession();
10659
10659
  const userEmail = user?.email;
10660
- const sso = chunkDGOVO2QO_cjs.useSsoSignIn();
10660
+ const sso = chunk5R67KX2O_cjs.useSsoSignIn();
10661
10661
  const handleVerify = async () => {
10662
10662
  setError(null);
10663
10663
  if (!password) {
@@ -12930,13 +12930,13 @@ function ConnectedWorkspaceSettings({
12930
12930
  const [membersExpanded, setMembersExpanded] = react$1.useState(false);
12931
12931
  const [shareOpen, setShareOpen] = react$1.useState(false);
12932
12932
  if (!workspace) {
12933
- return /* @__PURE__ */ jsxRuntime.jsx(chunkWZAHVTTO_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12933
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWZAHVTTO_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12934
12934
  }
12935
12935
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12936
12936
  /* @__PURE__ */ jsxRuntime.jsxs(chunkWZAHVTTO_cjs.WorkspacePageFrame, { testId, children: [
12937
12937
  /* @__PURE__ */ jsxRuntime.jsxs(chunkWZAHVTTO_cjs.WorkspaceIdentityPanel, { children: [
12938
12938
  /* @__PURE__ */ jsxRuntime.jsx(
12939
- chunk7Z5CSFYV_cjs.EntityIdentityBar,
12939
+ chunk5UMZXDGL_cjs.EntityIdentityBar,
12940
12940
  {
12941
12941
  testId: "workspace-identity-bar",
12942
12942
  canEdit: isOwner,
@@ -12953,7 +12953,7 @@ function ConnectedWorkspaceSettings({
12953
12953
  label: "Name",
12954
12954
  value: workspace.name,
12955
12955
  placeholder: "Untitled",
12956
- maxLength: chunk7Z5CSFYV_cjs.IDENTITY_NAME_MAX_LENGTH,
12956
+ maxLength: chunk5UMZXDGL_cjs.IDENTITY_NAME_MAX_LENGTH,
12957
12957
  valueClassName: "truncate text-base font-semibold",
12958
12958
  testId: "workspace-home-title",
12959
12959
  hideLabel: true,
@@ -14637,36 +14637,36 @@ function ConnectedSharePointAdminConsentPage({
14637
14637
  const result = givenResult === void 0 ? queryResult : givenResult;
14638
14638
  const { apiBaseUrl } = chunkWGWP4ATS_cjs.useBlocksEnvironment().runtimeConfig;
14639
14639
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
14640
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentCard, { size: "md", children: [
14640
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { size: "md", children: [
14641
14641
  /* @__PURE__ */ jsxRuntime.jsx(
14642
- chunkCOCZMF7B_cjs.ConsentHeader,
14642
+ chunk6A4GNM4T_cjs.ConsentHeader,
14643
14643
  {
14644
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14644
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14645
14645
  title: "Approve ARBI for SharePoint access",
14646
14646
  children: "A member of your organization uses ARBI and wants to sync documents from SharePoint. Your Microsoft 365 organization requires an administrator to approve this once for the whole organization."
14647
14647
  }
14648
14648
  ),
14649
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
14650
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
14651
- /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentSection, { title: "What you are approving", children: [
14649
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentNotice, { tone: "success", title: "Access approved \u2014 you\u2019re all set.", className: "mt-4", children: "People in your organization can now connect SharePoint from their own ARBI account. Nothing is synced until each user connects and chooses what to import." }),
14650
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentNotice, { tone: "warning", title: "The approval didn\u2019t complete.", className: "mt-4", children: "The request was declined or canceled on the Microsoft screen. You can try again below \u2014 you must sign in with a Microsoft 365 administrator account of your organization." }),
14651
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentSection, { title: "What you are approving", children: [
14652
14652
  /* @__PURE__ */ jsxRuntime.jsx(
14653
- chunkCOCZMF7B_cjs.ConsentBulletList,
14653
+ chunk6A4GNM4T_cjs.ConsentBulletList,
14654
14654
  {
14655
14655
  items: [
14656
14656
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14657
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14657
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14658
14658
  " \u2014 lets each user who connects their own account import documents from sites they already have access to. ARBI never gets more access than the user has."
14659
14659
  ] }),
14660
14660
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14661
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14661
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14662
14662
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
14663
14663
  ] })
14664
14664
  ]
14665
14665
  }
14666
14666
  ),
14667
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
14667
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentText, { children: "Approving does not sync anything by itself and grants ARBI no standing access to your tenant. Each user still connects their own Microsoft account, and their tokens are end-to-end encrypted so ARBI\u2019s servers cannot read them at rest." }),
14668
14668
  /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { asChild: true, className: "w-full pointer-coarse:h-11", children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: consentUrl, children: "Review and approve in Microsoft" }) }),
14669
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
14669
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentText, { variant: "footnote", children: "You\u2019ll sign in at login.microsoftonline.com and see Microsoft\u2019s own summary of these permissions before anything is granted." })
14670
14670
  ] })
14671
14671
  ] }) });
14672
14672
  }
@@ -17346,7 +17346,7 @@ function useConnectedWorkspaceList({
17346
17346
  };
17347
17347
  }
17348
17348
  var WorkspaceTableView = react$1.lazy(
17349
- () => import('../WorkspaceTableView-Y2GX5GB2.cjs').then((m) => ({ default: m.WorkspaceTableView }))
17349
+ () => import('../WorkspaceTableView-3D6SYOWT.cjs').then((m) => ({ default: m.WorkspaceTableView }))
17350
17350
  );
17351
17351
  var WORKSPACES_TAB_ID = "workspaces";
17352
17352
  var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunk7IF3E3I2_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
@@ -17406,7 +17406,7 @@ function ConnectedWorkspaceList({
17406
17406
  }
17407
17407
  );
17408
17408
  }
17409
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17409
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17410
17410
  if (list.error) {
17411
17411
  return /* @__PURE__ */ jsxRuntime.jsx(
17412
17412
  chunkJGUM4EXE_cjs.HomeLoadError,
@@ -17479,7 +17479,7 @@ function ConnectedWorkspaceList({
17479
17479
  workspaceState
17480
17480
  }
17481
17481
  ) })
17482
- ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkJGUM4EXE_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17482
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkJGUM4EXE_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17483
17483
  WorkspaceTableView,
17484
17484
  {
17485
17485
  list,
@@ -17669,7 +17669,7 @@ function ConnectedProjectsListPage({
17669
17669
  };
17670
17670
  const { openProject } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
17671
17671
  const [search, setSearch] = react$1.useState("");
17672
- const { projects, isLoading } = chunk4LK74S7T_cjs.useProjectSummaries();
17672
+ const { projects, isLoading } = chunkBSPPKX6X_cjs.useProjectSummaries();
17673
17673
  const rows = react$1.useMemo(() => {
17674
17674
  const q = search.trim().toLowerCase();
17675
17675
  if (!q) return projects;
@@ -17740,7 +17740,7 @@ function ConnectedProjectsListPage({
17740
17740
  }
17741
17741
  ),
17742
17742
  /* @__PURE__ */ jsxRuntime.jsx(
17743
- chunk7Z5CSFYV_cjs.Toolbar,
17743
+ chunk5UMZXDGL_cjs.Toolbar,
17744
17744
  {
17745
17745
  search,
17746
17746
  onSearch: setSearch,
@@ -17802,7 +17802,7 @@ function ProjectDetailsForm({
17802
17802
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
17803
17803
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
17804
17804
  const update = react.useUpdateProjectFields();
17805
- const workspace = chunk4LK74S7T_cjs.primaryProjectWorkspace(project);
17805
+ const workspace = chunkBSPPKX6X_cjs.primaryProjectWorkspace(project);
17806
17806
  const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
17807
17807
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
17808
17808
  const currency = project.budget?.currency ?? "GBP";
@@ -17991,9 +17991,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17991
17991
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
17992
17992
  return map;
17993
17993
  }, [workspaceTags]);
17994
- const pendingFolders = chunkG4D4UGSW_cjs.usePendingFolders(wsId);
17995
- const addPendingFolder = chunkG4D4UGSW_cjs.useFilesStore((state) => state.addPendingFolder);
17996
- const removePendingFolder = chunkG4D4UGSW_cjs.useFilesStore((state) => state.removePendingFolder);
17994
+ const pendingFolders = chunk6NSKIS35_cjs.usePendingFolders(wsId);
17995
+ const addPendingFolder = chunk6NSKIS35_cjs.useFilesStore((state) => state.addPendingFolder);
17996
+ const removePendingFolder = chunk6NSKIS35_cjs.useFilesStore((state) => state.removePendingFolder);
17997
17997
  const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
17998
17998
  const isSearching = search.trim().length > 0;
17999
17999
  const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -18002,8 +18002,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18002
18002
  const { folders, files } = react$1.useMemo(() => {
18003
18003
  const result = isSearching ? {
18004
18004
  folders: [],
18005
- files: chunkOSWKA2NQ_cjs.searchExplorerDocuments(documents, search, sort)
18006
- } : chunkOSWKA2NQ_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
18005
+ files: chunkOKUXM2N4_cjs.searchExplorerDocuments(documents, search, sort)
18006
+ } : chunkOKUXM2N4_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
18007
18007
  if (sortReversed) result.files = [...result.files].reverse();
18008
18008
  return result;
18009
18009
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -18014,7 +18014,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18014
18014
  const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
18015
18015
  const folderDocs = react$1.useMemo(() => {
18016
18016
  const map = /* @__PURE__ */ new Map();
18017
- for (const f of folders) map.set(f.path.join("/"), chunkOSWKA2NQ_cjs.collectFolderDocs(documents, f.path));
18017
+ for (const f of folders) map.set(f.path.join("/"), chunkOKUXM2N4_cjs.collectFolderDocs(documents, f.path));
18018
18018
  return map;
18019
18019
  }, [folders, documents]);
18020
18020
  const folderSelection = react$1.useMemo(() => {
@@ -18162,7 +18162,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18162
18162
  let name = base;
18163
18163
  let i = 2;
18164
18164
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
18165
- const path = chunkOSWKA2NQ_cjs.joinFolderPath([...currentPath, name]);
18165
+ const path = chunkOKUXM2N4_cjs.joinFolderPath([...currentPath, name]);
18166
18166
  if (!path) return;
18167
18167
  addPendingFolder(wsId, path);
18168
18168
  setEditingFolderPath(path);
@@ -18198,10 +18198,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18198
18198
  notify17(`A folder named "${name}" already exists here.`, "error");
18199
18199
  return;
18200
18200
  }
18201
- const oldPath = chunkOSWKA2NQ_cjs.joinFolderPath(folder.path);
18201
+ const oldPath = chunkOKUXM2N4_cjs.joinFolderPath(folder.path);
18202
18202
  const newPrefix = [...folder.path.slice(0, -1), name];
18203
- const newPath = chunkOSWKA2NQ_cjs.joinFolderPath(newPrefix);
18204
- const docs = chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path);
18203
+ const newPath = chunkOKUXM2N4_cjs.joinFolderPath(newPrefix);
18204
+ const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
18205
18205
  try {
18206
18206
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
18207
18207
  notify17(`Renamed folder to "${name}"`, "success");
@@ -18260,7 +18260,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18260
18260
  const handleToggleFolder = react$1.useCallback(
18261
18261
  (folder, e) => {
18262
18262
  e.stopPropagation();
18263
- const ids = chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18263
+ const ids = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18264
18264
  if (ids.length === 0) return;
18265
18265
  if (ids.every((id) => selectedSet.has(id))) {
18266
18266
  const remove = new Set(ids);
@@ -18321,9 +18321,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18321
18321
  );
18322
18322
  const handleDelete = react$1.useCallback(
18323
18323
  async (doc) => {
18324
- const name = chunkOSWKA2NQ_cjs.getExplorerDisplayName(doc);
18324
+ const name = chunkOKUXM2N4_cjs.getExplorerDisplayName(doc);
18325
18325
  const confirmed = await confirm({
18326
- message: `Delete "${name}"? ${chunkOSWKA2NQ_cjs.RECENTLY_DELETED_HINT}`,
18326
+ message: `Delete "${name}"? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT}`,
18327
18327
  title: "Delete file"
18328
18328
  });
18329
18329
  if (!confirmed) return;
@@ -18343,7 +18343,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18343
18343
  );
18344
18344
  const handleFolderDownload = react$1.useCallback(
18345
18345
  (folder) => {
18346
- const docs = chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path);
18346
+ const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
18347
18347
  if (docs.length > 0) void downloadDocuments(docs);
18348
18348
  },
18349
18349
  [documents, downloadDocuments]
@@ -18352,7 +18352,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18352
18352
  if (onFolderMove) return onFolderMove;
18353
18353
  if (!onMoveSelected) return void 0;
18354
18354
  return (folder) => {
18355
- const ids = chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18355
+ const ids = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18356
18356
  if (ids.length === 0) return;
18357
18357
  onSelectionChange(ids);
18358
18358
  onMoveSelected();
@@ -18360,14 +18360,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18360
18360
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
18361
18361
  const handleFolderDelete = react$1.useCallback(
18362
18362
  async (folder) => {
18363
- const docs = chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path);
18363
+ const docs = chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path);
18364
18364
  if (docs.length === 0) {
18365
- const path = chunkOSWKA2NQ_cjs.joinFolderPath(folder.path);
18365
+ const path = chunkOKUXM2N4_cjs.joinFolderPath(folder.path);
18366
18366
  if (wsId && path) removePendingFolder(wsId, path);
18367
18367
  return;
18368
18368
  }
18369
18369
  const confirmed = await confirm({
18370
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkOSWKA2NQ_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18370
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18371
18371
  title: "Delete folder"
18372
18372
  });
18373
18373
  if (!confirmed) return;
@@ -18384,8 +18384,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18384
18384
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify17]
18385
18385
  );
18386
18386
  const canDeleteFolder = react$1.useCallback(
18387
- (folder) => canUpload && chunkOSWKA2NQ_cjs.collectFolderDocs(documents, folder.path).every(
18388
- (doc) => chunkOSWKA2NQ_cjs.canDeleteDocument(doc, userId, role)
18387
+ (folder) => canUpload && chunkOKUXM2N4_cjs.collectFolderDocs(documents, folder.path).every(
18388
+ (doc) => chunkOKUXM2N4_cjs.canDeleteDocument(doc, userId, role)
18389
18389
  ),
18390
18390
  [canUpload, documents, userId, role]
18391
18391
  );
@@ -18444,7 +18444,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18444
18444
  setActiveDragId(null);
18445
18445
  const data = event.over?.data.current;
18446
18446
  if (data?.type === "folder" && data.path) {
18447
- const targetFolder = chunkOSWKA2NQ_cjs.joinFolderPath(data.path);
18447
+ const targetFolder = chunkOKUXM2N4_cjs.joinFolderPath(data.path);
18448
18448
  const moving = dragIdsRef.current.filter((id) => {
18449
18449
  const doc = documents.find((d) => d.external_id === id);
18450
18450
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -18484,7 +18484,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18484
18484
  const dropped = Array.from(e.dataTransfer.files ?? []);
18485
18485
  if (dropped.length > 0) {
18486
18486
  e.preventDefault();
18487
- onUploadFiles(dropped, chunkOSWKA2NQ_cjs.joinFolderPath(currentPath));
18487
+ onUploadFiles(dropped, chunkOKUXM2N4_cjs.joinFolderPath(currentPath));
18488
18488
  }
18489
18489
  },
18490
18490
  [canUpload, currentPath, onUploadFiles]
@@ -18501,9 +18501,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18501
18501
  onDragEnd: handleDragEnd,
18502
18502
  onDragCancel: () => setActiveDragId(null),
18503
18503
  children: [
18504
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.ExplorerStage, { children: [
18504
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ExplorerStage, { children: [
18505
18505
  /* @__PURE__ */ jsxRuntime.jsx(
18506
- chunkOSWKA2NQ_cjs.ExplorerScroller,
18506
+ chunkOKUXM2N4_cjs.ExplorerScroller,
18507
18507
  {
18508
18508
  ref: scrollRef,
18509
18509
  onClick: handleBackgroundClick,
@@ -18513,15 +18513,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18513
18513
  onDragLeave: handleNativeDragLeave,
18514
18514
  onDrop: handleNativeDrop,
18515
18515
  "data-testid": "explorer-scroll",
18516
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18517
- chunkOSWKA2NQ_cjs.ExplorerEmpty,
18516
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18517
+ chunkOKUXM2N4_cjs.ExplorerEmpty,
18518
18518
  {
18519
18519
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
18520
18520
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
18521
18521
  }
18522
18522
  ) : containerWidth === 0 ? (
18523
18523
  // Not measured yet: rendering now would flash one stretched column.
18524
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ExplorerLoadingTiles, {})
18524
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerLoadingTiles, {})
18525
18525
  ) : /* @__PURE__ */ jsxRuntime.jsx(
18526
18526
  "div",
18527
18527
  {
@@ -18551,7 +18551,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18551
18551
  if (entry.kind === "folder") {
18552
18552
  const key = entry.path.join("/");
18553
18553
  return /* @__PURE__ */ jsxRuntime.jsx(
18554
- chunkKXNC24EF_cjs.FolderTile,
18554
+ chunkIWLNDDPN_cjs.FolderTile,
18555
18555
  {
18556
18556
  folder: entry,
18557
18557
  density,
@@ -18574,7 +18574,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18574
18574
  }
18575
18575
  const doc = entry.doc;
18576
18576
  return /* @__PURE__ */ jsxRuntime.jsx(
18577
- chunkKXNC24EF_cjs.FileTile,
18577
+ chunkIWLNDDPN_cjs.FileTile,
18578
18578
  {
18579
18579
  doc,
18580
18580
  density,
@@ -18582,7 +18582,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18582
18582
  dragging: activeDragId === doc.external_id,
18583
18583
  dndActive: activeDragId !== null,
18584
18584
  renaming: renamingId === doc.external_id,
18585
- canDelete: chunkOSWKA2NQ_cjs.canDeleteDocument(doc, userId, role),
18585
+ canDelete: chunkOKUXM2N4_cjs.canDeleteDocument(doc, userId, role),
18586
18586
  thumbnailUrl: thumbnailsById.get(doc.external_id),
18587
18587
  modifiedBy: userById.get(
18588
18588
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -18611,9 +18611,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18611
18611
  )
18612
18612
  }
18613
18613
  ),
18614
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18614
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18615
18615
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
18616
- chunkOSWKA2NQ_cjs.ExplorerDropOverlay,
18616
+ chunkOKUXM2N4_cjs.ExplorerDropOverlay,
18617
18617
  {
18618
18618
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
18619
18619
  }
@@ -18627,7 +18627,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18627
18627
  function DragPreview({ doc, count: count2 }) {
18628
18628
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type });
18629
18629
  return /* @__PURE__ */ jsxRuntime.jsx(
18630
- chunkOSWKA2NQ_cjs.ExplorerDragPreview,
18630
+ chunkOKUXM2N4_cjs.ExplorerDragPreview,
18631
18631
  {
18632
18632
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
18633
18633
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -18864,11 +18864,11 @@ function ConnectedProjectPage({
18864
18864
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
18865
18865
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
18866
18866
  };
18867
- const { project, usage, isLoading } = chunk4LK74S7T_cjs.useProjectSummary(projectId);
18867
+ const { project, usage, isLoading } = chunkBSPPKX6X_cjs.useProjectSummary(projectId);
18868
18868
  const { workspaceId } = chunkTJQMC7GJ_cjs.useConnectedWorkspace();
18869
18869
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
18870
- const selectWorkspace = chunkS3SWSAUB_cjs.useSelectWorkspace();
18871
- const workspace = project ? chunk4LK74S7T_cjs.primaryProjectWorkspace(project) : void 0;
18870
+ const selectWorkspace = chunkV2CKYM4B_cjs.useSelectWorkspace();
18871
+ const workspace = project ? chunkBSPPKX6X_cjs.primaryProjectWorkspace(project) : void 0;
18872
18872
  const open = !!workspace && workspace.id === workspaceId;
18873
18873
  react$1.useEffect(() => {
18874
18874
  if (!workspace || workspace.id === workspaceId) return;
@@ -21575,10 +21575,10 @@ function ConnectedContactsPanel({
21575
21575
  function ConnectedConfigForm({ availableModels, ...rest }) {
21576
21576
  const hasModels = !!availableModels && availableModels.length > 0;
21577
21577
  const renderModelSelect = react$1.useCallback(
21578
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21578
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21579
21579
  []
21580
21580
  );
21581
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21581
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21582
21582
  }
21583
21583
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
21584
21584
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
@@ -21695,7 +21695,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21695
21695
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
21696
21696
  if (editAgent) {
21697
21697
  return /* @__PURE__ */ jsxRuntime.jsx(
21698
- chunkCOCZMF7B_cjs.AgentEditView,
21698
+ chunk6A4GNM4T_cjs.AgentEditView,
21699
21699
  {
21700
21700
  agentName: editAgent.name,
21701
21701
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -21711,7 +21711,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21711
21711
  }
21712
21712
  if (view === "main") {
21713
21713
  return /* @__PURE__ */ jsxRuntime.jsx(
21714
- chunkCOCZMF7B_cjs.AgentMainView,
21714
+ chunk6A4GNM4T_cjs.AgentMainView,
21715
21715
  {
21716
21716
  onConnectExternal: () => setView("connect"),
21717
21717
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -21727,11 +21727,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21727
21727
  }
21728
21728
  if (result) {
21729
21729
  return /* @__PURE__ */ jsxRuntime.jsx(
21730
- chunkCOCZMF7B_cjs.AgentCreatedView,
21730
+ chunk6A4GNM4T_cjs.AgentCreatedView,
21731
21731
  {
21732
21732
  email: result.email,
21733
21733
  signingKey: result.signingKey,
21734
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21734
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21735
21735
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
21736
21736
  isConfigOpen: configOpen,
21737
21737
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -21740,7 +21740,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21740
21740
  );
21741
21741
  }
21742
21742
  return /* @__PURE__ */ jsxRuntime.jsx(
21743
- chunkCOCZMF7B_cjs.AgentCreateView,
21743
+ chunk6A4GNM4T_cjs.AgentCreateView,
21744
21744
  {
21745
21745
  name,
21746
21746
  onNameChange: setName,
@@ -21935,7 +21935,7 @@ function ConnectedNewThreadDialog({
21935
21935
  });
21936
21936
  const parentOptions = react$1.useMemo(() => {
21937
21937
  const leaf = { external_id: "__new__" };
21938
- return chunkCOCZMF7B_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21938
+ return chunk6A4GNM4T_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21939
21939
  id: t.external_id,
21940
21940
  name: t.title?.trim() || "Untitled task"
21941
21941
  }));
@@ -21982,7 +21982,7 @@ function ConnectedNewThreadDialog({
21982
21982
  }
21983
21983
  };
21984
21984
  return /* @__PURE__ */ jsxRuntime.jsx(
21985
- chunkCOCZMF7B_cjs.NewThreadDialog,
21985
+ chunk6A4GNM4T_cjs.NewThreadDialog,
21986
21986
  {
21987
21987
  open,
21988
21988
  onOpenChange,
@@ -22160,7 +22160,7 @@ function recentConversations(conversations) {
22160
22160
  return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
22161
22161
  id: c.external_id,
22162
22162
  title: c.title?.trim() || "Untitled thread",
22163
- subtitle: c.status ? [chunkCOCZMF7B_cjs.STATUS_LABELS[chunkCOCZMF7B_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
22163
+ subtitle: c.status ? [chunk6A4GNM4T_cjs.STATUS_LABELS[chunk6A4GNM4T_cjs.asTaskStatus(c.status)], c.due_at ? `due ${shortDate(c.due_at)}` : null].filter(Boolean).join(" \xB7 ") : `${c.message_count} ${c.message_count === 1 ? "message" : "messages"}`,
22164
22164
  time: timeAndDate(c.updated_at)
22165
22165
  }));
22166
22166
  }
@@ -22251,7 +22251,7 @@ function DocumentsUploadButton({
22251
22251
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
22252
22252
  );
22253
22253
  return /* @__PURE__ */ jsxRuntime.jsx(
22254
- chunkOSWKA2NQ_cjs.FilesAddMenu,
22254
+ chunkOKUXM2N4_cjs.FilesAddMenu,
22255
22255
  {
22256
22256
  items,
22257
22257
  isCompact,
@@ -22346,7 +22346,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
22346
22346
  addFiles: () => upload(),
22347
22347
  dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22348
22348
  /* @__PURE__ */ jsxRuntime.jsx(
22349
- chunkOSWKA2NQ_cjs.UrlInputDialog,
22349
+ chunkOKUXM2N4_cjs.UrlInputDialog,
22350
22350
  {
22351
22351
  open: urlDialogOpen,
22352
22352
  onOpenChange: setUrlDialogOpen,
@@ -22605,7 +22605,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
22605
22605
  var canWrite = ({ isMember, role }) => isMember && role !== "guest";
22606
22606
  var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
22607
22607
  function setDocumentSourceFilter(source) {
22608
- const { documentFilters, setDocumentFilters } = chunkG4D4UGSW_cjs.useFilesPrefs.getState();
22608
+ const { documentFilters, setDocumentFilters } = chunk6NSKIS35_cjs.useFilesPrefs.getState();
22609
22609
  setDocumentFilters({
22610
22610
  ...documentFilters,
22611
22611
  source_uploaded: source === "uploaded" ? "include" : null,
@@ -22617,9 +22617,9 @@ function createBuiltinActions(environment, session) {
22617
22617
  const startWorkflowOnDocuments = (workflowId) => {
22618
22618
  const { viewingDocument, selectedDocumentIds } = session.getState();
22619
22619
  const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
22620
- chunkCOCZMF7B_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
22620
+ chunk6A4GNM4T_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
22621
22621
  };
22622
- const setFilesView = (mode) => () => chunkG4D4UGSW_cjs.useFilesPrefs.getState().setViewMode(mode);
22622
+ const setFilesView = (mode) => () => chunk6NSKIS35_cjs.useFilesPrefs.getState().setViewMode(mode);
22623
22623
  const actions = [
22624
22624
  {
22625
22625
  id: "goto-user-settings",
@@ -22674,7 +22674,7 @@ function createBuiltinActions(environment, session) {
22674
22674
  icon: "Files",
22675
22675
  keywords: ["download", "csv", "excel"],
22676
22676
  available: inWorkspace,
22677
- run: () => chunkG4D4UGSW_cjs.useFilesDialogs.getState().setExportOpen(true)
22677
+ run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().setExportOpen(true)
22678
22678
  },
22679
22679
  {
22680
22680
  id: "bulk-tag-documents",
@@ -22683,7 +22683,7 @@ function createBuiltinActions(environment, session) {
22683
22683
  icon: "Tags",
22684
22684
  keywords: ["labels", "categorize", "bulk tag"],
22685
22685
  available: inWorkspace,
22686
- run: () => chunkG4D4UGSW_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
22686
+ run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
22687
22687
  },
22688
22688
  {
22689
22689
  id: "move-to-folder",
@@ -22692,7 +22692,7 @@ function createBuiltinActions(environment, session) {
22692
22692
  icon: "FolderInput",
22693
22693
  keywords: ["organize", "relocate"],
22694
22694
  available: inWorkspace,
22695
- run: () => chunkG4D4UGSW_cjs.useFilesDialogs.getState().openMove()
22695
+ run: () => chunk6NSKIS35_cjs.useFilesDialogs.getState().openMove()
22696
22696
  },
22697
22697
  {
22698
22698
  id: "ai-review-documents",
@@ -22701,7 +22701,7 @@ function createBuiltinActions(environment, session) {
22701
22701
  icon: "Sparkles",
22702
22702
  keywords: ["auto tag", "analyze", "suggest tags"],
22703
22703
  available: inWorkspace,
22704
- run: () => chunkG4D4UGSW_cjs.useAiReviewStore.getState().setOpen(true)
22704
+ run: () => chunk6NSKIS35_cjs.useAiReviewStore.getState().setOpen(true)
22705
22705
  },
22706
22706
  {
22707
22707
  id: "docs-grid-view",
@@ -23161,7 +23161,7 @@ function AddFromAccountsButton({
23161
23161
  className: "gap-2",
23162
23162
  "data-testid": dataTestId,
23163
23163
  children: [
23164
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23164
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23165
23165
  "Add from accounts"
23166
23166
  ]
23167
23167
  }
@@ -23245,7 +23245,7 @@ function ConnectedUploadDropzone({
23245
23245
  const onFiles = browse(fileInputRef);
23246
23246
  const onFolder = browse(folderInputRef);
23247
23247
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
23248
- chunkOSWKA2NQ_cjs.UploadDropArea,
23248
+ chunkOKUXM2N4_cjs.UploadDropArea,
23249
23249
  {
23250
23250
  isActive: dragActive,
23251
23251
  isDisabled: disabled,
@@ -23259,11 +23259,11 @@ function ConnectedUploadDropzone({
23259
23259
  onClick: (e) => {
23260
23260
  if (e.target === e.currentTarget) onFiles();
23261
23261
  },
23262
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23262
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23263
23263
  }
23264
23264
  );
23265
23265
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
23266
- chunkOSWKA2NQ_cjs.UrlInputDialog,
23266
+ chunkOKUXM2N4_cjs.UrlInputDialog,
23267
23267
  {
23268
23268
  onUrlsSubmit,
23269
23269
  processing: disabled,
@@ -23276,12 +23276,12 @@ function ConnectedUploadDropzone({
23276
23276
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
23277
23277
  dropTarget,
23278
23278
  compactLeadingAction,
23279
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23279
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23280
23280
  ] });
23281
23281
  }
23282
23282
  if (!source) {
23283
23283
  return /* @__PURE__ */ jsxRuntime.jsx(
23284
- chunkOSWKA2NQ_cjs.UploadSourcePicker,
23284
+ chunkOKUXM2N4_cjs.UploadSourcePicker,
23285
23285
  {
23286
23286
  isDisabled: disabled,
23287
23287
  options: [
@@ -23317,14 +23317,14 @@ function ConnectedUploadDropzone({
23317
23317
  }
23318
23318
  if (source === "computer") {
23319
23319
  return /* @__PURE__ */ jsxRuntime.jsxs(
23320
- chunkOSWKA2NQ_cjs.UploadSourceSection,
23320
+ chunkOKUXM2N4_cjs.UploadSourceSection,
23321
23321
  {
23322
23322
  testId: "upload-source-computer",
23323
23323
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
23324
23324
  children: [
23325
23325
  dropTarget,
23326
23326
  /* @__PURE__ */ jsxRuntime.jsx(
23327
- chunkOSWKA2NQ_cjs.UploadBrowseButtons,
23327
+ chunkOKUXM2N4_cjs.UploadBrowseButtons,
23328
23328
  {
23329
23329
  layout: "grid",
23330
23330
  onFiles,
@@ -23337,15 +23337,15 @@ function ConnectedUploadDropzone({
23337
23337
  );
23338
23338
  }
23339
23339
  if (source === "internet" && onUrlsSubmit) {
23340
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23340
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23341
23341
  }
23342
23342
  if (source === "email" && accounts) {
23343
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23343
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23344
23344
  }
23345
23345
  return null;
23346
23346
  })();
23347
23347
  return /* @__PURE__ */ jsxRuntime.jsxs(
23348
- chunkOSWKA2NQ_cjs.UploadFrame,
23348
+ chunkOKUXM2N4_cjs.UploadFrame,
23349
23349
  {
23350
23350
  isCompact: compact,
23351
23351
  isDimmed: disabled || processingMessage !== null,
@@ -23406,7 +23406,7 @@ function EmptyWorkspaceUpload({
23406
23406
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
23407
23407
  }
23408
23408
  ),
23409
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.PrivacyExplainerModal, {})
23409
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.PrivacyExplainerModal, {})
23410
23410
  ] })
23411
23411
  }
23412
23412
  );
@@ -23513,9 +23513,9 @@ function useDocumentFilters({
23513
23513
  const { data: members = [] } = react.useWorkspaceUsers();
23514
23514
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
23515
23515
  const offlineIds = react.useOfflineDocumentIds();
23516
- const pendingFolders = chunkG4D4UGSW_cjs.usePendingFolders(selectedWorkspaceId);
23517
- const persistedDocumentFilters = chunkG4D4UGSW_cjs.useFilesPrefs((state) => state.documentFilters);
23518
- const setPersistedDocumentFilters = chunkG4D4UGSW_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23516
+ const pendingFolders = chunk6NSKIS35_cjs.usePendingFolders(selectedWorkspaceId);
23517
+ const persistedDocumentFilters = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.documentFilters);
23518
+ const setPersistedDocumentFilters = chunk6NSKIS35_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23519
23519
  const folderTree = react$1.useMemo(() => {
23520
23520
  const allPaths = /* @__PURE__ */ new Set();
23521
23521
  let hasUnfiled = false;
@@ -23736,7 +23736,7 @@ function useDocumentFilters({
23736
23736
  {
23737
23737
  id: "uploaded_by_me",
23738
23738
  label: "Uploaded by me",
23739
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkKXNC24EF_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23739
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkIWLNDDPN_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23740
23740
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
23741
23741
  },
23742
23742
  {
@@ -23857,7 +23857,7 @@ function useDocumentFilters({
23857
23857
  const folderPath = react$1.useMemo(() => {
23858
23858
  for (const [key, state] of documentFilters) {
23859
23859
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
23860
- return chunkOSWKA2NQ_cjs.parseFolderSegments(key.slice("folder:".length));
23860
+ return chunkOKUXM2N4_cjs.parseFolderSegments(key.slice("folder:".length));
23861
23861
  }
23862
23862
  }
23863
23863
  return [];
@@ -23866,7 +23866,7 @@ function useDocumentFilters({
23866
23866
  (path) => {
23867
23867
  const next = new Map(documentFilters);
23868
23868
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
23869
- const joined = chunkOSWKA2NQ_cjs.joinFolderPath(path);
23869
+ const joined = chunkOKUXM2N4_cjs.joinFolderPath(path);
23870
23870
  if (joined) next.set(`folder:${joined}`, "include");
23871
23871
  setDocumentFilters(next);
23872
23872
  },
@@ -26417,7 +26417,7 @@ function ConnectedMailbox({
26417
26417
  onTabChange: () => {
26418
26418
  },
26419
26419
  compactBreakpoint: 360,
26420
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesFilterBar, { children: [
26420
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesFilterBar, { children: [
26421
26421
  /* @__PURE__ */ jsxRuntime.jsx(
26422
26422
  chunk6UZC4XVV_cjs.FilterInput,
26423
26423
  {
@@ -26452,7 +26452,7 @@ function ConnectedMailbox({
26452
26452
  }
26453
26453
  ),
26454
26454
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
26455
- chunkOSWKA2NQ_cjs.FolderFilterButton,
26455
+ chunkOKUXM2N4_cjs.FolderFilterButton,
26456
26456
  {
26457
26457
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
26458
26458
  isActive: false,
@@ -26460,7 +26460,7 @@ function ConnectedMailbox({
26460
26460
  onOpenChange: setFolderMenuOpen,
26461
26461
  testId: "mail-folder-button",
26462
26462
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
26463
- chunkOSWKA2NQ_cjs.FolderPickerRow,
26463
+ chunkOKUXM2N4_cjs.FolderPickerRow,
26464
26464
  {
26465
26465
  label: item.name,
26466
26466
  count: item.unread > 0 ? item.unread : void 0,
@@ -26974,7 +26974,7 @@ function ConnectedSecureMailClaimPage({
26974
26974
  }) {
26975
26975
  const authenticated = react.useArbiSession().status === "signed-in";
26976
26976
  const { openMail } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
26977
- const { loading } = chunkDGOVO2QO_cjs.useAuthPages();
26977
+ const { loading } = chunk5R67KX2O_cjs.useAuthPages();
26978
26978
  const claim = react.useClaimSecureMail();
26979
26979
  const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
26980
26980
  const [failure, setFailure] = react$1.useState(null);
@@ -27014,7 +27014,7 @@ function ConnectedSecureMailClaimPage({
27014
27014
  }
27015
27015
  })();
27016
27016
  }, [authenticated, claimId, key]);
27017
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, { variant: "splash" }) });
27017
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, { variant: "splash" }) });
27018
27018
  return /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-screen items-center justify-center bg-background p-6", children: /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "w-full max-w-md rounded-lg border border-border bg-card p-6", children: [
27019
27019
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
27020
27020
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -30160,7 +30160,7 @@ function ProcessingSettingsFooter({
30160
30160
  [configField]
30161
30161
  );
30162
30162
  return /* @__PURE__ */ jsxRuntime.jsx(
30163
- chunkOSWKA2NQ_cjs.UploadFooterBar,
30163
+ chunkOKUXM2N4_cjs.UploadFooterBar,
30164
30164
  {
30165
30165
  skipDuplicates,
30166
30166
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -30169,7 +30169,7 @@ function ProcessingSettingsFooter({
30169
30169
  autoRenameInstruction,
30170
30170
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
30171
30171
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
30172
- chunkOSWKA2NQ_cjs.ShareToggle,
30172
+ chunkOKUXM2N4_cjs.ShareToggle,
30173
30173
  {
30174
30174
  isVisible: isShared,
30175
30175
  onToggle: onSharedChange,
@@ -30346,7 +30346,7 @@ ${summary}`,
30346
30346
  }
30347
30347
  );
30348
30348
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
30349
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
30349
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
30350
30350
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
30351
30351
  ConnectedUploadDropzone,
30352
30352
  {
@@ -30362,7 +30362,7 @@ ${summary}`,
30362
30362
  }
30363
30363
  ),
30364
30364
  /* @__PURE__ */ jsxRuntime.jsx(
30365
- chunkOSWKA2NQ_cjs.SelectedFilesList,
30365
+ chunkOKUXM2N4_cjs.SelectedFilesList,
30366
30366
  {
30367
30367
  renderFileIcon,
30368
30368
  files,
@@ -30371,10 +30371,10 @@ ${summary}`,
30371
30371
  formatFileSize: formatFileSize4
30372
30372
  }
30373
30373
  ),
30374
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
30375
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadErrorMessage, { message: error })
30376
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
30377
- chunkOSWKA2NQ_cjs.UploadProgress,
30374
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
30375
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadErrorMessage, { message: error })
30376
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
30377
+ chunkOKUXM2N4_cjs.UploadProgress,
30378
30378
  {
30379
30379
  fileCount: count2,
30380
30380
  entityLabel: plural5(count2),
@@ -30536,14 +30536,14 @@ function NativeMailImportSection({
30536
30536
  ),
30537
30537
  onError: (e) => notify17(e instanceof Error ? e.message : "Could not add mail", "error")
30538
30538
  });
30539
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
30540
- chunkOSWKA2NQ_cjs.ImportRow,
30539
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
30540
+ chunkOKUXM2N4_cjs.ImportRow,
30541
30541
  {
30542
30542
  testId: "email-provider-row-native",
30543
30543
  logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
30544
30544
  name: NATIVE_MAILBOX_SOURCE.display_name,
30545
30545
  actions: /* @__PURE__ */ jsxRuntime.jsx(
30546
- chunkOSWKA2NQ_cjs.ImportRunActions,
30546
+ chunkOKUXM2N4_cjs.ImportRunActions,
30547
30547
  {
30548
30548
  isRunning: false,
30549
30549
  isBusy: fileNow.isPending,
@@ -30557,10 +30557,10 @@ function NativeMailImportSection({
30557
30557
  ),
30558
30558
  children: [
30559
30559
  here && /* @__PURE__ */ jsxRuntime.jsxs(
30560
- chunkOSWKA2NQ_cjs.ImportSummary,
30560
+ chunkOKUXM2N4_cjs.ImportSummary,
30561
30561
  {
30562
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30563
- chunkOSWKA2NQ_cjs.FolderSummary,
30562
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30563
+ chunkOKUXM2N4_cjs.FolderSummary,
30564
30564
  {
30565
30565
  names: here.folders.map(
30566
30566
  (id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
@@ -30602,7 +30602,7 @@ var PROVIDER_FAMILIES = [
30602
30602
  { key: "google", label: "Google", vendors: ["gmail"] }
30603
30603
  ];
30604
30604
  function VendorGlyph({ catalog }) {
30605
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
30605
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
30606
30606
  }
30607
30607
  function mailboxProductName(catalog) {
30608
30608
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -30670,7 +30670,7 @@ function EmailProviderRow({
30670
30670
  const emailNoun = (n) => n === 1 ? "email" : "emails";
30671
30671
  const syncedCount = thisSync?.synced_count ?? 0;
30672
30672
  return /* @__PURE__ */ jsxRuntime.jsxs(
30673
- chunkOSWKA2NQ_cjs.ImportRow,
30673
+ chunkOKUXM2N4_cjs.ImportRow,
30674
30674
  {
30675
30675
  testId: `email-provider-row-${catalog.vendor_key}`,
30676
30676
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -30679,7 +30679,7 @@ function EmailProviderRow({
30679
30679
  // Connecting AND reconnecting are owned by the family header, so a
30680
30680
  // not-connected or needs-reconnect row shows no button of its own.
30681
30681
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
30682
- chunkOSWKA2NQ_cjs.ImportRunActions,
30682
+ chunkOKUXM2N4_cjs.ImportRunActions,
30683
30683
  {
30684
30684
  isRunning: running,
30685
30685
  isStopping: cancelSync.isPending,
@@ -30695,10 +30695,10 @@ function EmailProviderRow({
30695
30695
  ),
30696
30696
  children: [
30697
30697
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
30698
- chunkOSWKA2NQ_cjs.ImportSummary,
30698
+ chunkOKUXM2N4_cjs.ImportSummary,
30699
30699
  {
30700
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30701
- chunkOSWKA2NQ_cjs.FolderSummary,
30700
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30701
+ chunkOKUXM2N4_cjs.FolderSummary,
30702
30702
  {
30703
30703
  names: thisSync.folders.map(
30704
30704
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -30722,7 +30722,7 @@ function EmailProviderRow({
30722
30722
  }
30723
30723
  ),
30724
30724
  running && /* @__PURE__ */ jsxRuntime.jsx(
30725
- chunkOSWKA2NQ_cjs.ImportProgress,
30725
+ chunkOKUXM2N4_cjs.ImportProgress,
30726
30726
  {
30727
30727
  processed: progress?.processed ?? 0,
30728
30728
  total: progress?.total,
@@ -30840,11 +30840,11 @@ function EmailImportPanel({
30840
30840
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
30841
30841
  }).filter((g) => g.entries.length > 0 || g.extra);
30842
30842
  if (!ownMailbox && groups.length === 0) return null;
30843
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
30843
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
30844
30844
  ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
30845
30845
  groups.map(
30846
30846
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
30847
- chunkOSWKA2NQ_cjs.ImportFamilySection,
30847
+ chunkOKUXM2N4_cjs.ImportFamilySection,
30848
30848
  {
30849
30849
  label: family.label,
30850
30850
  identity,
@@ -30853,7 +30853,7 @@ function EmailImportPanel({
30853
30853
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
30854
30854
  testId: `import-family-${family.key}`,
30855
30855
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
30856
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.ImportList, { children: [
30856
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportList, { children: [
30857
30857
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
30858
30858
  EmailProviderRow,
30859
30859
  {
@@ -30938,7 +30938,7 @@ function driveProduct(vendorKey) {
30938
30938
  }
30939
30939
  function VendorGlyph2({ catalog }) {
30940
30940
  return /* @__PURE__ */ jsxRuntime.jsx(
30941
- chunkOSWKA2NQ_cjs.VendorLogo,
30941
+ chunkOKUXM2N4_cjs.VendorLogo,
30942
30942
  {
30943
30943
  vendorKey: catalog.vendor_key,
30944
30944
  product: driveProduct(catalog.vendor_key).glyph,
@@ -31061,7 +31061,7 @@ function OneDriveProviderRow({
31061
31061
  const driveNoun = (n) => n === 1 ? "document" : "documents";
31062
31062
  const showRunActions = isConnected && !needsReconnect;
31063
31063
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
31064
- chunkOSWKA2NQ_cjs.ImportActionButton,
31064
+ chunkOKUXM2N4_cjs.ImportActionButton,
31065
31065
  {
31066
31066
  onClick: () => void reconnectSelf(),
31067
31067
  disabled: reauthPending,
@@ -31070,7 +31070,7 @@ function OneDriveProviderRow({
31070
31070
  }
31071
31071
  ) : null;
31072
31072
  return /* @__PURE__ */ jsxRuntime.jsxs(
31073
- chunkOSWKA2NQ_cjs.ImportRow,
31073
+ chunkOKUXM2N4_cjs.ImportRow,
31074
31074
  {
31075
31075
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
31076
31076
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -31082,7 +31082,7 @@ function OneDriveProviderRow({
31082
31082
  // Until folders are configured here (or when nothing new is pending), Import now
31083
31083
  // stays disabled; the gear opens the folder picker.
31084
31084
  /* @__PURE__ */ jsxRuntime.jsx(
31085
- chunkOSWKA2NQ_cjs.ImportRunActions,
31085
+ chunkOKUXM2N4_cjs.ImportRunActions,
31086
31086
  {
31087
31087
  isRunning: running,
31088
31088
  isStopping: cancelSync.isPending,
@@ -31101,16 +31101,16 @@ function OneDriveProviderRow({
31101
31101
  ) : reconnectAction
31102
31102
  ),
31103
31103
  children: [
31104
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
31104
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
31105
31105
  "Couldn\u2019t reach SharePoint. Click ",
31106
31106
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
31107
31107
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
31108
31108
  ] }),
31109
31109
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
31110
- chunkOSWKA2NQ_cjs.ImportSummary,
31110
+ chunkOKUXM2N4_cjs.ImportSummary,
31111
31111
  {
31112
31112
  className: "mt-2",
31113
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportAside, { className: "max-w-none shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `drive-pending-${catalog.vendor_key}`, children: pendingCount > 0 ? `${pendingCount.toLocaleString()} new ${driveNoun(pendingCount)} to sync` : "No new documents to sync" }) }) : void 0,
31113
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportAside, { className: "max-w-none shrink-0", children: /* @__PURE__ */ jsxRuntime.jsx("span", { "data-testid": `drive-pending-${catalog.vendor_key}`, children: pendingCount > 0 ? `${pendingCount.toLocaleString()} new ${driveNoun(pendingCount)} to sync` : "No new documents to sync" }) }) : void 0,
31114
31114
  children: [
31115
31115
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
31116
31116
  "Syncing ",
@@ -31138,7 +31138,7 @@ function OneDriveProviderRow({
31138
31138
  }
31139
31139
  ),
31140
31140
  running && /* @__PURE__ */ jsxRuntime.jsx(
31141
- chunkOSWKA2NQ_cjs.ImportProgress,
31141
+ chunkOKUXM2N4_cjs.ImportProgress,
31142
31142
  {
31143
31143
  processed: progress?.processed ?? 0,
31144
31144
  total: progress?.total,
@@ -31202,13 +31202,13 @@ function SharePointEnableRow({
31202
31202
  }
31203
31203
  };
31204
31204
  return /* @__PURE__ */ jsxRuntime.jsx(
31205
- chunkOSWKA2NQ_cjs.ImportRow,
31205
+ chunkOKUXM2N4_cjs.ImportRow,
31206
31206
  {
31207
31207
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
31208
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
31208
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
31209
31209
  name: product.name,
31210
31210
  actions: /* @__PURE__ */ jsxRuntime.jsx(
31211
- chunkOSWKA2NQ_cjs.ImportActionButton,
31211
+ chunkOKUXM2N4_cjs.ImportActionButton,
31212
31212
  {
31213
31213
  onClick: () => void enable(),
31214
31214
  disabled: pending,
@@ -31216,7 +31216,7 @@ function SharePointEnableRow({
31216
31216
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
31217
31217
  }
31218
31218
  ),
31219
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.ImportHint, { children: [
31219
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.ImportHint, { children: [
31220
31220
  "Does your organization require admin approval?",
31221
31221
  " ",
31222
31222
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -31265,11 +31265,11 @@ function DriveImportPanel({
31265
31265
  }
31266
31266
  const product = driveProduct(entry.vendor_key);
31267
31267
  return /* @__PURE__ */ jsxRuntime.jsx(
31268
- chunkOSWKA2NQ_cjs.ImportRow,
31268
+ chunkOKUXM2N4_cjs.ImportRow,
31269
31269
  {
31270
31270
  testId: `onedrive-provider-row-${entry.vendor_key}`,
31271
31271
  logo: /* @__PURE__ */ jsxRuntime.jsx(
31272
- chunkOSWKA2NQ_cjs.VendorLogo,
31272
+ chunkOKUXM2N4_cjs.VendorLogo,
31273
31273
  {
31274
31274
  vendorKey: entry.vendor_key,
31275
31275
  product: product.glyph,
@@ -31294,7 +31294,7 @@ function DriveImportPanel({
31294
31294
  );
31295
31295
  }).filter(Boolean);
31296
31296
  if (rows.length === 0) return null;
31297
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
31297
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
31298
31298
  }
31299
31299
  function useHasAccountsImport() {
31300
31300
  const isVendorVisible = react.useConnectorVendorVisibility();
@@ -31503,7 +31503,7 @@ function DocumentNameCellRenderer(params) {
31503
31503
  if (!doc) return null;
31504
31504
  const context = params.context;
31505
31505
  return /* @__PURE__ */ jsxRuntime.jsx(
31506
- chunkKXNC24EF_cjs.DocumentNameCell,
31506
+ chunkIWLNDDPN_cjs.DocumentNameCell,
31507
31507
  {
31508
31508
  doc,
31509
31509
  canEdit: canEdit(params),
@@ -31521,7 +31521,7 @@ function DocumentNameCellRenderer(params) {
31521
31521
  function SharedCellRenderer(params) {
31522
31522
  if (!params.data) return null;
31523
31523
  return /* @__PURE__ */ jsxRuntime.jsx(
31524
- chunkKXNC24EF_cjs.DocumentSharedCell,
31524
+ chunkIWLNDDPN_cjs.DocumentSharedCell,
31525
31525
  {
31526
31526
  document: params.data,
31527
31527
  disabled: !params.canToggle(params),
@@ -31534,7 +31534,7 @@ function StatusCellRenderer(params) {
31534
31534
  if (!params.data) return null;
31535
31535
  const context = params.context;
31536
31536
  return /* @__PURE__ */ jsxRuntime.jsx(
31537
- chunkKXNC24EF_cjs.StatusCell,
31537
+ chunkIWLNDDPN_cjs.StatusCell,
31538
31538
  {
31539
31539
  doc: params.data,
31540
31540
  onStatusClick: params.onStatusClick,
@@ -31546,7 +31546,7 @@ function LabelsCellRenderer(params) {
31546
31546
  if (!params.data) return null;
31547
31547
  const context = params.context;
31548
31548
  return /* @__PURE__ */ jsxRuntime.jsx(
31549
- chunkKXNC24EF_cjs.DocumentLabelsCell,
31549
+ chunkIWLNDDPN_cjs.DocumentLabelsCell,
31550
31550
  {
31551
31551
  doc: params.data,
31552
31552
  labels: params.labels,
@@ -31566,7 +31566,7 @@ function RelatedDocsCellRenderer(params) {
31566
31566
  if (!related || react.getRelatedTotal(related) === 0) return null;
31567
31567
  const { onOpenDocument, onDeleteDocument } = params;
31568
31568
  return /* @__PURE__ */ jsxRuntime.jsx(
31569
- chunkKXNC24EF_cjs.RelatedDocumentsCell,
31569
+ chunkIWLNDDPN_cjs.RelatedDocumentsCell,
31570
31570
  {
31571
31571
  currentDoc: params.data,
31572
31572
  related,
@@ -31581,7 +31581,7 @@ function FolderCellRenderer(params) {
31581
31581
  if (!params.data) return null;
31582
31582
  const context = params.context;
31583
31583
  return /* @__PURE__ */ jsxRuntime.jsx(
31584
- chunkKXNC24EF_cjs.DocumentFolderCell,
31584
+ chunkIWLNDDPN_cjs.DocumentFolderCell,
31585
31585
  {
31586
31586
  document: params.data,
31587
31587
  isEditable: params.canEdit(params),
@@ -31595,7 +31595,7 @@ function CreatedByCellRenderer(params) {
31595
31595
  const context = params.context;
31596
31596
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
31597
31597
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
31598
- chunkKXNC24EF_cjs.UserAvatar,
31598
+ chunkIWLNDDPN_cjs.UserAvatar,
31599
31599
  {
31600
31600
  user: creator,
31601
31601
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -31608,7 +31608,7 @@ function CheckboxCellRenderer(params) {
31608
31608
  if (!params.data) return null;
31609
31609
  const isChecked = params.value === true;
31610
31610
  return /* @__PURE__ */ jsxRuntime.jsx(
31611
- chunkOSWKA2NQ_cjs.CheckboxCell,
31611
+ chunkOKUXM2N4_cjs.CheckboxCell,
31612
31612
  {
31613
31613
  isChecked,
31614
31614
  color: tagColor,
@@ -31628,13 +31628,13 @@ function TagHeaderComponent(params) {
31628
31628
  return () => params.column.removeEventListener("sortChanged", updateSort);
31629
31629
  }, [params.column]);
31630
31630
  return /* @__PURE__ */ jsxRuntime.jsx(
31631
- chunkOSWKA2NQ_cjs.TagColumnHeader,
31631
+ chunkOKUXM2N4_cjs.TagColumnHeader,
31632
31632
  {
31633
31633
  isCentered: isCheckbox,
31634
31634
  sort,
31635
31635
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
31636
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilterButton, { params, colId: tag.external_id }),
31637
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkCRKWD7B5_cjs.ConnectedTagEntity, { tag, size: "sm" })
31636
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilterButton, { params, colId: tag.external_id }),
31637
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkVULH3XAJ_cjs.ConnectedTagEntity, { tag, size: "sm" })
31638
31638
  }
31639
31639
  );
31640
31640
  }
@@ -31719,7 +31719,7 @@ function createTagColumn({
31719
31719
  tagColor,
31720
31720
  isMember
31721
31721
  } : void 0,
31722
- cellEditor: isSelect ? chunkOSWKA2NQ_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
31722
+ cellEditor: isSelect ? chunkOKUXM2N4_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
31723
31723
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
31724
31724
  cellEditorPopup: isText || isSelect,
31725
31725
  // Text and Select tags use popup editor for better UX
@@ -31839,8 +31839,8 @@ function createDocumentColumns({
31839
31839
  onToggleShared,
31840
31840
  notify: notify17
31841
31841
  }) {
31842
- const isRowEditableByOwner = (params) => chunkOSWKA2NQ_cjs.canChangeVisibility(params.data, currentUserExtId);
31843
- const isRowEditableByMember = (params) => chunkOSWKA2NQ_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
31842
+ const isRowEditableByOwner = (params) => chunkOKUXM2N4_cjs.canChangeVisibility(params.data, currentUserExtId);
31843
+ const isRowEditableByMember = (params) => chunkOKUXM2N4_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
31844
31844
  const checkboxTags = availableTags.filter(browser.isLabelTag);
31845
31845
  const allColumns = [];
31846
31846
  allColumns.push({
@@ -31963,7 +31963,7 @@ function createDocumentColumns({
31963
31963
  singleClickEdit: true,
31964
31964
  cellEditor: "agSelectCellEditor",
31965
31965
  cellEditorParams: {
31966
- values: [...chunkOSWKA2NQ_cjs.DOCUMENT_TYPE_OPTIONS]
31966
+ values: [...chunkOKUXM2N4_cjs.DOCUMENT_TYPE_OPTIONS]
31967
31967
  },
31968
31968
  context: { icon: lucideReact.Sparkles },
31969
31969
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -32500,7 +32500,7 @@ function useDocumentTable({
32500
32500
  }
32501
32501
  const stabilizedTagIds = prevTagIdsRef.current;
32502
32502
  const stabilizedTagNames = prevTagNamesRef.current;
32503
- const defaultVisibleColumns = react$1.useMemo(() => [...chunkOSWKA2NQ_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
32503
+ const defaultVisibleColumns = react$1.useMemo(() => [...chunkOKUXM2N4_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
32504
32504
  const toggleShared = react$1.useCallback((docId, shared) => {
32505
32505
  updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
32506
32506
  }, []);
@@ -32763,10 +32763,10 @@ function ConnectedFilesBulkActions({
32763
32763
  const bulk = useDocumentBulkActions(selectedDocuments);
32764
32764
  const count2 = selectedDocuments.length;
32765
32765
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
32766
- const shareState = chunkOSWKA2NQ_cjs.shareStateOf(bulk.freshSelectedDocuments);
32766
+ const shareState = chunkOKUXM2N4_cjs.shareStateOf(bulk.freshSelectedDocuments);
32767
32767
  const handleToggleShare = async (shouldShare) => {
32768
32768
  if (shouldShare) return bulk.share();
32769
- const confirmed = await chunkOSWKA2NQ_cjs.confirmHideFromMembers(
32769
+ const confirmed = await chunkOKUXM2N4_cjs.confirmHideFromMembers(
32770
32770
  confirm,
32771
32771
  bulk.freshSelectedDocuments.length,
32772
32772
  members
@@ -32783,7 +32783,7 @@ function ConnectedFilesBulkActions({
32783
32783
  const { openDocumentsChat, openFieldsManager } = actions;
32784
32784
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
32785
32785
  /* @__PURE__ */ jsxRuntime.jsx(
32786
- chunkOSWKA2NQ_cjs.BulkActionsBar,
32786
+ chunkOKUXM2N4_cjs.BulkActionsBar,
32787
32787
  {
32788
32788
  count: count2,
32789
32789
  onClear: onClearSelection,
@@ -32809,7 +32809,7 @@ function ConnectedFilesBulkActions({
32809
32809
  onDelete: () => setConfirming("delete"),
32810
32810
  shareState,
32811
32811
  shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
32812
- shareTooltip: chunkOSWKA2NQ_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
32812
+ shareTooltip: chunkOKUXM2N4_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
32813
32813
  onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
32814
32814
  }
32815
32815
  ),
@@ -32824,7 +32824,7 @@ function ConnectedFilesBulkActions({
32824
32824
  onClearSelection();
32825
32825
  },
32826
32826
  title: `Delete ${count2} ${noun}`,
32827
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkOSWKA2NQ_cjs.RECENTLY_DELETED_HINT : chunkOSWKA2NQ_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
32827
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT : chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
32828
32828
  confirmText: "Delete",
32829
32829
  variant: "destructive"
32830
32830
  }
@@ -33072,7 +33072,7 @@ function useAiReviewLiveUpdates() {
33072
33072
  if (message.batch_type !== "doctag_generate") return;
33073
33073
  const docIds = message.doc_ext_ids ?? [];
33074
33074
  if (!docIds.length) return;
33075
- void refreshDocuments(docIds).then(() => chunkG4D4UGSW_cjs.useAiReviewStore.getState().markFinished(docIds));
33075
+ void refreshDocuments(docIds).then(() => chunk6NSKIS35_cjs.useAiReviewStore.getState().markFinished(docIds));
33076
33076
  const { clearTask } = react.useArbiWsStore.getState();
33077
33077
  for (const id of docIds) clearTask(id);
33078
33078
  });
@@ -33107,7 +33107,7 @@ function useBatchCompleteToasts() {
33107
33107
  timer.current = null;
33108
33108
  const runs = pending.current;
33109
33109
  pending.current = /* @__PURE__ */ new Map();
33110
- const hasReview = !!chunkG4D4UGSW_cjs.useAiReviewStore.getState().run;
33110
+ const hasReview = !!chunk6NSKIS35_cjs.useAiReviewStore.getState().run;
33111
33111
  for (const [id, entry] of runs) {
33112
33112
  const n = entry.docIds.size;
33113
33113
  notify17(
@@ -33120,7 +33120,7 @@ function useBatchCompleteToasts() {
33120
33120
  ...hasReview && {
33121
33121
  action: {
33122
33122
  label: "View results",
33123
- onClick: () => chunkG4D4UGSW_cjs.useAiReviewStore.getState().setOpen(true)
33123
+ onClick: () => chunk6NSKIS35_cjs.useAiReviewStore.getState().setOpen(true)
33124
33124
  }
33125
33125
  }
33126
33126
  }
@@ -33128,7 +33128,7 @@ function useBatchCompleteToasts() {
33128
33128
  }
33129
33129
  }, AI_FIELDS_NOTICE_WINDOW_MS);
33130
33130
  } else if (message.batch_type === "entity_extract") {
33131
- say(`${chunk7Z5CSFYV_cjs.entitiesPhrase()} extracted from ${chunk7Z5CSFYV_cjs.documentCount(docIds.length)}`, "success", {
33131
+ say(`${chunk5UMZXDGL_cjs.entitiesPhrase()} extracted from ${chunk5UMZXDGL_cjs.documentCount(docIds.length)}`, "success", {
33132
33132
  ...openTags && { action: { label: "View", onClick: openTags } }
33133
33133
  });
33134
33134
  } else if (message.batch_type === "upload") {
@@ -33167,12 +33167,12 @@ function ConnectedMoveToFolder({
33167
33167
  setIsSubmitting(true);
33168
33168
  try {
33169
33169
  if (folderToMove) {
33170
- const docsInFolder = chunkOSWKA2NQ_cjs.collectFolderDocs(allDocs, folderToMove.path);
33170
+ const docsInFolder = chunkOKUXM2N4_cjs.collectFolderDocs(allDocs, folderToMove.path);
33171
33171
  if (docsInFolder.length === 0) {
33172
33172
  onClose();
33173
33173
  return;
33174
33174
  }
33175
- const newPrefixSegments = targetFolder ? [...chunkOSWKA2NQ_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
33175
+ const newPrefixSegments = targetFolder ? [...chunkOKUXM2N4_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
33176
33176
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
33177
33177
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
33178
33178
  notify17(`Moved folder to ${dest}`, "success");
@@ -33197,9 +33197,9 @@ function ConnectedMoveToFolder({
33197
33197
  }
33198
33198
  };
33199
33199
  const isFolderMode = !!folderToMove;
33200
- const folders = chunkKXNC24EF_cjs.useDocumentFolders(allDocs, targetFolder);
33200
+ const folders = chunkIWLNDDPN_cjs.useDocumentFolders(allDocs, targetFolder);
33201
33201
  return /* @__PURE__ */ jsxRuntime.jsx(
33202
- chunkOSWKA2NQ_cjs.MoveToFolderDialog,
33202
+ chunkOKUXM2N4_cjs.MoveToFolderDialog,
33203
33203
  {
33204
33204
  open: isOpen,
33205
33205
  onClose,
@@ -33209,7 +33209,7 @@ function ConnectedMoveToFolder({
33209
33209
  isSubmitting,
33210
33210
  onConfirm: handleMove,
33211
33211
  children: /* @__PURE__ */ jsxRuntime.jsx(
33212
- chunkOSWKA2NQ_cjs.FolderCommandList,
33212
+ chunkOKUXM2N4_cjs.FolderCommandList,
33213
33213
  {
33214
33214
  folders,
33215
33215
  value: targetFolder,
@@ -33437,7 +33437,7 @@ function ConnectedBulkTagEditor({
33437
33437
  const isClearing = change?.action === "remove";
33438
33438
  return {
33439
33439
  id: tag.external_id,
33440
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkCRKWD7B5_cjs.ConnectedTagEntity, { tag, size: "md" }),
33440
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkVULH3XAJ_cjs.ConnectedTagEntity, { tag, size: "md" }),
33441
33441
  type: tag.tag_type.type,
33442
33442
  color: ui.getEntityColor(tag.external_id, "medium"),
33443
33443
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -33469,7 +33469,7 @@ function ConnectedBulkTagEditor({
33469
33469
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
33470
33470
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33471
33471
  /* @__PURE__ */ jsxRuntime.jsx(
33472
- chunkOSWKA2NQ_cjs.BulkTagEditorDialog,
33472
+ chunkOKUXM2N4_cjs.BulkTagEditorDialog,
33473
33473
  {
33474
33474
  open,
33475
33475
  onClose,
@@ -33527,7 +33527,7 @@ function ConnectedBulkTagEditor({
33527
33527
  }
33528
33528
  ),
33529
33529
  /* @__PURE__ */ jsxRuntime.jsx(
33530
- chunkOSWKA2NQ_cjs.BulkReplaceDialog,
33530
+ chunkOKUXM2N4_cjs.BulkReplaceDialog,
33531
33531
  {
33532
33532
  open: showGenerateConfirmation,
33533
33533
  onClose: () => setShowGenerateConfirmation(false),
@@ -33642,7 +33642,7 @@ function ViewSelector({
33642
33642
  columns: defaultColumns,
33643
33643
  icon: lucideReact.Table,
33644
33644
  // Both built-ins load at the minimal (compact) row height.
33645
- rowHeight: chunkOSWKA2NQ_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33645
+ rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33646
33646
  // [] = loading this view unpins everything.
33647
33647
  pinnedLeft: []
33648
33648
  },
@@ -33653,15 +33653,15 @@ function ViewSelector({
33653
33653
  // batch-select checkbox and Title stay fixed left while scrolling.
33654
33654
  columns: defaultColumns,
33655
33655
  icon: lucideReact.Columns3,
33656
- rowHeight: chunkOSWKA2NQ_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33656
+ rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33657
33657
  pinnedLeft: DOCUMENT_VIEW_PINNED
33658
33658
  },
33659
33659
  {
33660
33660
  key: "email-default",
33661
33661
  label: "Email view",
33662
- columns: [...chunkOSWKA2NQ_cjs.EMAIL_VIEW_COLUMNS],
33662
+ columns: [...chunkOKUXM2N4_cjs.EMAIL_VIEW_COLUMNS],
33663
33663
  icon: lucideReact.Mail,
33664
- rowHeight: chunkOSWKA2NQ_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33664
+ rowHeight: chunkOKUXM2N4_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33665
33665
  pinnedLeft: []
33666
33666
  }
33667
33667
  ],
@@ -33685,7 +33685,7 @@ function ViewSelector({
33685
33685
  },
33686
33686
  [confirm, workspaceId, deleteView, notify17]
33687
33687
  );
33688
- const menu = chunkOSWKA2NQ_cjs.useGridViews({
33688
+ const menu = chunkOKUXM2N4_cjs.useGridViews({
33689
33689
  getGridApi,
33690
33690
  defaultColumns,
33691
33691
  builtins,
@@ -33700,7 +33700,7 @@ function ViewSelector({
33700
33700
  onDeleteView,
33701
33701
  isSaving
33702
33702
  });
33703
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ViewSelectorMenu, { ...menu });
33703
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ViewSelectorMenu, { ...menu });
33704
33704
  }
33705
33705
  function DocumentsFilterBarActions({
33706
33706
  isModal,
@@ -33740,7 +33740,7 @@ function DocumentsFilterBarActions({
33740
33740
  ),
33741
33741
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
33742
33742
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
33743
- chunkOSWKA2NQ_cjs.RowDensityControl,
33743
+ chunkOKUXM2N4_cjs.RowDensityControl,
33744
33744
  {
33745
33745
  rowHeight: documentsRowHeight,
33746
33746
  onRowHeightChange: onDocumentsRowHeightChange
@@ -33848,8 +33848,8 @@ function DocumentsFilterBarActions({
33848
33848
  }
33849
33849
  function PersistedGridView(props) {
33850
33850
  const { persistState, gridId } = props;
33851
- const setGridState = chunkG4D4UGSW_cjs.useFilesGridStates((state) => state.setGridState);
33852
- const gridState = persistState && gridId ? chunkG4D4UGSW_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
33851
+ const setGridState = chunk6NSKIS35_cjs.useFilesGridStates((state) => state.setGridState);
33852
+ const gridState = persistState && gridId ? chunk6NSKIS35_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
33853
33853
  const onGridStateChange = react$1.useCallback(
33854
33854
  (state) => {
33855
33855
  if (persistState && gridId) setGridState(gridId, state);
@@ -33951,13 +33951,13 @@ var TABLET_TABLE_BELOW = 860;
33951
33951
  var TABLET_VIEWPORT_BELOW = 1100;
33952
33952
  var NO_CONVERSATION_DOCUMENTS2 = [];
33953
33953
  var DocumentReviewCard = react$1.lazy(
33954
- () => import('../DocumentReviewCard-FSOBIVED.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33954
+ () => import('../DocumentReviewCard-MSHD73S3.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33955
33955
  );
33956
33956
  var FilesViewerDialog = react$1.lazy(
33957
- () => import('../FilesViewerDialog-GEIQCBBK.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33957
+ () => import('../FilesViewerDialog-DV2U4USR.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33958
33958
  );
33959
33959
  function defaultReviewCard(props) {
33960
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33960
+ return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33961
33961
  }
33962
33962
  function ConnectedFilesPage({
33963
33963
  isModal = false,
@@ -33979,7 +33979,7 @@ function ConnectedFilesPage({
33979
33979
  GridComponent = PersistedGridView,
33980
33980
  gridStateVersion,
33981
33981
  onGridApi,
33982
- prefsKey = chunkG4D4UGSW_cjs.FILES_PREFS_KEY,
33982
+ prefsKey = chunk6NSKIS35_cjs.FILES_PREFS_KEY,
33983
33983
  defaultViewMode
33984
33984
  }) {
33985
33985
  const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
@@ -34025,8 +34025,8 @@ function ConnectedFilesPage({
34025
34025
  const inConversationDocuments = react.useArbiSessionState(
34026
34026
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
34027
34027
  );
34028
- const viewMode = chunkG4D4UGSW_cjs.useFilesPrefs((s) => chunkG4D4UGSW_cjs.filesViewMode(s, prefsKey, defaultViewMode));
34029
- const setPrefsViewMode = chunkG4D4UGSW_cjs.useFilesPrefs((s) => s.setViewMode);
34028
+ const viewMode = chunk6NSKIS35_cjs.useFilesPrefs((s) => chunk6NSKIS35_cjs.filesViewMode(s, prefsKey, defaultViewMode));
34029
+ const setPrefsViewMode = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.setViewMode);
34030
34030
  const setViewMode = react$1.useCallback(
34031
34031
  (mode) => setPrefsViewMode(mode, prefsKey),
34032
34032
  [setPrefsViewMode, prefsKey]
@@ -34056,7 +34056,7 @@ function ConnectedFilesPage({
34056
34056
  shownPlaceRef.current = null;
34057
34057
  if (session.getState().documentViewer.compareId)
34058
34058
  session.setDocumentViewer({ compareId: null });
34059
- if (chunkG4D4UGSW_cjs.filesViewMode(chunkG4D4UGSW_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
34059
+ if (chunk6NSKIS35_cjs.filesViewMode(chunk6NSKIS35_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
34060
34060
  session.setViewingDocument(null);
34061
34061
  if (!fromLink) latest.current.onDocumentChange?.(null);
34062
34062
  },
@@ -34145,9 +34145,9 @@ function ConnectedFilesPage({
34145
34145
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
34146
34146
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
34147
34147
  }, [linkedPlaceKey]);
34148
- const rowHeight = chunkG4D4UGSW_cjs.useFilesPrefs((s) => s.rowHeight);
34149
- const setRowHeight = chunkG4D4UGSW_cjs.useFilesPrefs((s) => s.setRowHeight);
34150
- const ownGridStates = chunkG4D4UGSW_cjs.useFilesGridStates((s) => s.gridStates);
34148
+ const rowHeight = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.rowHeight);
34149
+ const setRowHeight = chunk6NSKIS35_cjs.useFilesPrefs((s) => s.setRowHeight);
34150
+ const ownGridStates = chunk6NSKIS35_cjs.useFilesGridStates((s) => s.gridStates);
34151
34151
  const stateVersion = gridStateVersion ?? ownGridStates;
34152
34152
  const [pageEl, setPageEl] = react$1.useState(null);
34153
34153
  const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
@@ -34177,15 +34177,15 @@ function ConnectedFilesPage({
34177
34177
  const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
34178
34178
  const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
34179
34179
  const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
34180
- const move = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.move);
34181
- const openMove = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.openMove);
34182
- const closeMove = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.closeMove);
34183
- const bulkTagsOpen = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
34184
- const setBulkTagsOpen = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
34185
- const deleteRequest = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.deleteRequest);
34186
- const requestDelete = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.requestDelete);
34187
- const exportOpen = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.exportOpen);
34188
- const setExportOpen = chunkG4D4UGSW_cjs.useFilesDialogs((s) => s.setExportOpen);
34180
+ const move = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.move);
34181
+ const openMove = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.openMove);
34182
+ const closeMove = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.closeMove);
34183
+ const bulkTagsOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
34184
+ const setBulkTagsOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
34185
+ const deleteRequest = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.deleteRequest);
34186
+ const requestDelete = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.requestDelete);
34187
+ const exportOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.exportOpen);
34188
+ const setExportOpen = chunk6NSKIS35_cjs.useFilesDialogs((s) => s.setExportOpen);
34189
34189
  const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
34190
34190
  const exportItems = react$1.useMemo(
34191
34191
  () => selectedDocuments.map((doc) => ({
@@ -34228,17 +34228,17 @@ function ConnectedFilesPage({
34228
34228
  const relatedDocsMap = useFilesPageSession(documents, workspaceId);
34229
34229
  const defaultVisibleColumns = react$1.useMemo(
34230
34230
  () => [
34231
- ...chunkOSWKA2NQ_cjs.DEFAULT_DOCUMENT_COLUMNS,
34231
+ ...chunkOKUXM2N4_cjs.DEFAULT_DOCUMENT_COLUMNS,
34232
34232
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
34233
34233
  ],
34234
34234
  [allTags]
34235
34235
  );
34236
34236
  const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
34237
- if (gridApi2) chunkOSWKA2NQ_cjs.applyColumnLayout(gridApi2, ids);
34237
+ if (gridApi2) chunkOKUXM2N4_cjs.applyColumnLayout(gridApi2, ids);
34238
34238
  }, []);
34239
34239
  const handleLoadView = react$1.useCallback(
34240
34240
  (view, gridApi2) => {
34241
- chunkOSWKA2NQ_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
34241
+ chunkOKUXM2N4_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
34242
34242
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
34243
34243
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
34244
34244
  },
@@ -34330,7 +34330,7 @@ function ConnectedFilesPage({
34330
34330
  );
34331
34331
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
34332
34332
  const navigatorDocuments = react$1.useMemo(
34333
- () => chunkOSWKA2NQ_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
34333
+ () => chunkOKUXM2N4_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
34334
34334
  [filteredDocuments, explorerSort, explorerSortReversed]
34335
34335
  );
34336
34336
  const navigatorOnNavigate = react$1.useCallback(
@@ -34400,7 +34400,7 @@ function ConnectedFilesPage({
34400
34400
  },
34401
34401
  rowHeight
34402
34402
  };
34403
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesFilterBar, { children: [
34403
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesFilterBar, { children: [
34404
34404
  /* @__PURE__ */ jsxRuntime.jsx(
34405
34405
  chunk6UZC4XVV_cjs.FilterInput,
34406
34406
  {
@@ -34435,7 +34435,7 @@ function ConnectedFilesPage({
34435
34435
  ),
34436
34436
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
34437
34437
  /* @__PURE__ */ jsxRuntime.jsx(
34438
- chunkOSWKA2NQ_cjs.DocumentsFolderButton,
34438
+ chunkOKUXM2N4_cjs.DocumentsFolderButton,
34439
34439
  {
34440
34440
  documents,
34441
34441
  documentFilters,
@@ -34443,7 +34443,7 @@ function ConnectedFilesPage({
34443
34443
  onNewFolder: canUpload ? handleNewFolder : void 0
34444
34444
  }
34445
34445
  ),
34446
- openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilesTagsButton, { onClick: openTags }),
34446
+ openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesTagsButton, { onClick: openTags }),
34447
34447
  workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
34448
34448
  ] })
34449
34449
  ] });
@@ -34466,9 +34466,9 @@ function ConnectedFilesPage({
34466
34466
  );
34467
34467
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
34468
34468
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
34469
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesPage, { isModal, ref: setPageEl, children: [
34469
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPage, { isModal, ref: setPageEl, children: [
34470
34470
  /* @__PURE__ */ jsxRuntime.jsx(
34471
- chunkOSWKA2NQ_cjs.UrlInputDialog,
34471
+ chunkOKUXM2N4_cjs.UrlInputDialog,
34472
34472
  {
34473
34473
  open: urlDialogOpen,
34474
34474
  onOpenChange: setUrlDialogOpen,
@@ -34477,7 +34477,7 @@ function ConnectedFilesPage({
34477
34477
  titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
34478
34478
  }
34479
34479
  ),
34480
- /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesPageHeader, { children: [
34480
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPageHeader, { children: [
34481
34481
  /* @__PURE__ */ jsxRuntime.jsx(
34482
34482
  chunkSJSGSHIT_cjs.TabHeader,
34483
34483
  {
@@ -34498,7 +34498,7 @@ function ConnectedFilesPage({
34498
34498
  activeTabId: "documents",
34499
34499
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
34500
34500
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
34501
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
34501
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
34502
34502
  !isNarrowFilterRow && viewToggle,
34503
34503
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
34504
34504
  ] }),
@@ -34528,14 +34528,14 @@ function ConnectedFilesPage({
34528
34528
  }
34529
34529
  ),
34530
34530
  /* @__PURE__ */ jsxRuntime.jsx(
34531
- chunkOSWKA2NQ_cjs.FilesToolbar,
34531
+ chunkOKUXM2N4_cjs.FilesToolbar,
34532
34532
  {
34533
34533
  className: "px-3 pb-2",
34534
34534
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34535
34535
  viewMode === "grid" ? (
34536
34536
  // ‹ n / N › over the table's displayed rows; a step opens the document.
34537
34537
  /* @__PURE__ */ jsxRuntime.jsx(
34538
- chunk7Z5CSFYV_cjs.GridRowNavigator,
34538
+ chunk5UMZXDGL_cjs.GridRowNavigator,
34539
34539
  {
34540
34540
  gridApi,
34541
34541
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -34550,7 +34550,7 @@ function ConnectedFilesPage({
34550
34550
  ) : viewMode === "explorer" ? (
34551
34551
  // The same over the explorer's tiles.
34552
34552
  /* @__PURE__ */ jsxRuntime.jsx(
34553
- chunkOSWKA2NQ_cjs.ExplorerFileNavigator,
34553
+ chunkOKUXM2N4_cjs.ExplorerFileNavigator,
34554
34554
  {
34555
34555
  fileIds: explorerFileIds,
34556
34556
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -34589,7 +34589,7 @@ function ConnectedFilesPage({
34589
34589
  }
34590
34590
  ),
34591
34591
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
34592
- chunkOSWKA2NQ_cjs.NavigatorPickerBar,
34592
+ chunkOKUXM2N4_cjs.NavigatorPickerBar,
34593
34593
  {
34594
34594
  currentDocument,
34595
34595
  documents: navigatorDocuments,
@@ -34616,11 +34616,11 @@ function ConnectedFilesPage({
34616
34616
  }
34617
34617
  }
34618
34618
  ) }),
34619
- /* @__PURE__ */ jsxRuntime.jsxs(chunkOSWKA2NQ_cjs.FilesPageMain, { children: [
34619
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOKUXM2N4_cjs.FilesPageMain, { children: [
34620
34620
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
34621
- chunkOSWKA2NQ_cjs.DocumentGrid,
34621
+ chunkOKUXM2N4_cjs.DocumentGrid,
34622
34622
  {
34623
- layout: chunkOSWKA2NQ_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
34623
+ layout: chunkOKUXM2N4_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
34624
34624
  presets: gridPresets,
34625
34625
  GridComponent,
34626
34626
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -34714,7 +34714,7 @@ function ConnectedFilesPage({
34714
34714
  onProduce: () => openDialog2("productionSet")
34715
34715
  }
34716
34716
  ),
34717
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
34717
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
34718
34718
  /* @__PURE__ */ jsxRuntime.jsx(
34719
34719
  chunkJDFBEGQO_cjs.ConfirmDialog,
34720
34720
  {
@@ -34725,7 +34725,7 @@ function ConnectedFilesPage({
34725
34725
  requestDelete(null);
34726
34726
  },
34727
34727
  title: "Delete Document",
34728
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkOSWKA2NQ_cjs.RECENTLY_DELETED_HINT}` : "",
34728
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkOKUXM2N4_cjs.RECENTLY_DELETED_HINT}` : "",
34729
34729
  confirmText: "Delete",
34730
34730
  variant: "destructive"
34731
34731
  }
@@ -34801,8 +34801,8 @@ function ConnectedFilesPage({
34801
34801
  }
34802
34802
  var NO_DOCUMENTS3 = [];
34803
34803
  function ConnectedAiReviewHost(props) {
34804
- const open = chunkG4D4UGSW_cjs.useAiReviewStore((s) => s.open);
34805
- const setOpen = chunkG4D4UGSW_cjs.useAiReviewStore((s) => s.setOpen);
34804
+ const open = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.open);
34805
+ const setOpen = chunk6NSKIS35_cjs.useAiReviewStore((s) => s.setOpen);
34806
34806
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
34807
34807
  }
34808
34808
  function ConnectedGridView(props) {
@@ -34838,7 +34838,7 @@ function ProcessingSection({
34838
34838
  tasks,
34839
34839
  onDelete
34840
34840
  }) {
34841
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
34841
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
34842
34842
  }
34843
34843
  function ConnectedDocumentProcessingPanel({
34844
34844
  workspaceId,
@@ -35194,7 +35194,7 @@ var MENU_LABELS = {
35194
35194
  };
35195
35195
  function applyDatabaseColumns(columns, api) {
35196
35196
  const kept = (id) => api.getColumn(id) ? [id] : [];
35197
- chunkOSWKA2NQ_cjs.applyColumnLayout(api, [...kept(chunk4IRS55N2_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunk4IRS55N2_cjs.ADD_COLUMN_COL_ID)]);
35197
+ chunkOKUXM2N4_cjs.applyColumnLayout(api, [...kept(chunk4IRS55N2_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunk4IRS55N2_cjs.ADD_COLUMN_COL_ID)]);
35198
35198
  }
35199
35199
  function DatabaseViewsMenu({
35200
35200
  databaseId,
@@ -35213,7 +35213,7 @@ function DatabaseViewsMenu({
35213
35213
  [defaultColumns]
35214
35214
  );
35215
35215
  const onLoadView = react$1.useCallback(
35216
- (view, api) => chunkOSWKA2NQ_cjs.applyViewColumns(api, view, applyDatabaseColumns),
35216
+ (view, api) => chunkOKUXM2N4_cjs.applyViewColumns(api, view, applyDatabaseColumns),
35217
35217
  []
35218
35218
  );
35219
35219
  const onSaveView = react$1.useCallback(
@@ -35233,7 +35233,7 @@ function DatabaseViewsMenu({
35233
35233
  },
35234
35234
  [confirm, deleteView, notify17]
35235
35235
  );
35236
- const menu = chunkOSWKA2NQ_cjs.useGridViews({
35236
+ const menu = chunkOKUXM2N4_cjs.useGridViews({
35237
35237
  getGridApi,
35238
35238
  defaultColumns,
35239
35239
  builtins,
@@ -35246,7 +35246,7 @@ function DatabaseViewsMenu({
35246
35246
  onDeleteView,
35247
35247
  isSaving
35248
35248
  });
35249
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
35249
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
35250
35250
  }
35251
35251
  function useMoveLocalViews(gridId, ready, importViews) {
35252
35252
  const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -37956,7 +37956,7 @@ function resolveLaunchInputs(workflow, request) {
37956
37956
  function useWorkflowLaunch() {
37957
37957
  const { skills } = chunkJNVJQCGF_cjs.useWorkflowDefinitions();
37958
37958
  const launch = react$1.useCallback(
37959
- (workflowId, options2 = {}) => chunkCOCZMF7B_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37959
+ (workflowId, options2 = {}) => chunk6A4GNM4T_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37960
37960
  []
37961
37961
  );
37962
37962
  const itemsFor = react$1.useCallback(
@@ -37985,8 +37985,8 @@ function useWorkflowLaunch() {
37985
37985
  return { launch, itemsFor, scopeItemsFor };
37986
37986
  }
37987
37987
  function Inner() {
37988
- const request = chunkCOCZMF7B_cjs.useWorkflowLaunchRequest();
37989
- const close = chunkCOCZMF7B_cjs.closeWorkflowLaunch;
37988
+ const request = chunk6A4GNM4T_cjs.useWorkflowLaunchRequest();
37989
+ const close = chunk6A4GNM4T_cjs.closeWorkflowLaunch;
37990
37990
  const { skills } = chunkJNVJQCGF_cjs.useWorkflowDefinitions();
37991
37991
  const run = chunkPIWT2GCY_cjs.useLaunchWorkflow({ landing: request?.landing });
37992
37992
  const workflow = skills.find((w) => w.id === request?.workflowId);
@@ -38024,7 +38024,7 @@ function Inner() {
38024
38024
  );
38025
38025
  }
38026
38026
  function WorkflowLaunchHost() {
38027
- return chunkCOCZMF7B_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
38027
+ return chunk6A4GNM4T_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
38028
38028
  }
38029
38029
  function isNeedsConfirmationDetail(detail) {
38030
38030
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -38332,7 +38332,7 @@ function ConnectedConversationSettings() {
38332
38332
  /* @__PURE__ */ jsxRuntime.jsx(
38333
38333
  chunkMMSHLHTA_cjs.ModelSelectionSection,
38334
38334
  {
38335
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedModelSelector, {}),
38335
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedModelSelector, {}),
38336
38336
  onUseDefaults: settings.resetToDefaults
38337
38337
  }
38338
38338
  )
@@ -38391,7 +38391,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
38391
38391
  testId: "workspace-transfer-modal"
38392
38392
  }
38393
38393
  ),
38394
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
38394
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
38395
38395
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
38396
38396
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
38397
38397
  productionSet: ConnectedProductionSetDialog,
@@ -38468,7 +38468,7 @@ function WorkflowRunStatusCell({ conversation }) {
38468
38468
  return person ? ui.getUserDisplayName(person) : void 0;
38469
38469
  };
38470
38470
  return /* @__PURE__ */ jsxRuntime.jsx(
38471
- chunkCOCZMF7B_cjs.WorkflowRunStatus,
38471
+ chunk6A4GNM4T_cjs.WorkflowRunStatus,
38472
38472
  {
38473
38473
  steps,
38474
38474
  states,
@@ -38502,7 +38502,7 @@ function ConversationStatusCell({ conversation }) {
38502
38502
  if (conversation.plan?.steps?.length && !isLiveGenerating)
38503
38503
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
38504
38504
  return /* @__PURE__ */ jsxRuntime.jsx(
38505
- chunkCOCZMF7B_cjs.ThreadStatusLine,
38505
+ chunk6A4GNM4T_cjs.ThreadStatusLine,
38506
38506
  {
38507
38507
  state: threadStateOf(conversation, isLiveGenerating),
38508
38508
  className: "h-full",
@@ -38771,7 +38771,7 @@ function useThreadLabels(canEditShared) {
38771
38771
  return {
38772
38772
  labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
38773
38773
  renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
38774
- chunkOSWKA2NQ_cjs.LabelMultiSelectView,
38774
+ chunkOKUXM2N4_cjs.LabelMultiSelectView,
38775
38775
  {
38776
38776
  options: options2,
38777
38777
  appliedIds: new Set(row2.label_ext_ids ?? []),
@@ -38790,7 +38790,7 @@ function useThreadLabels(canEditShared) {
38790
38790
  ).map((label) => label.id)
38791
38791
  );
38792
38792
  return /* @__PURE__ */ jsxRuntime.jsx(
38793
- chunkOSWKA2NQ_cjs.BulkLabelSelectView,
38793
+ chunkOKUXM2N4_cjs.BulkLabelSelectView,
38794
38794
  {
38795
38795
  options: options2,
38796
38796
  appliedIds: all,
@@ -38821,7 +38821,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
38821
38821
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkM2FOXGJU_cjs.ComposerDock, { children: [
38822
38822
  slashWorkflows.launcher,
38823
38823
  /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
38824
- chunkDGOVO2QO_cjs.ConversationComposer,
38824
+ chunk5R67KX2O_cjs.ConversationComposer,
38825
38825
  {
38826
38826
  value: draft,
38827
38827
  onValueChange: setDraft,
@@ -38830,7 +38830,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
38830
38830
  isConversationEmpty: true,
38831
38831
  shouldOfferFollowUp: false,
38832
38832
  skills,
38833
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedModelSelector, { variant: "compact" }),
38833
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedModelSelector, { variant: "compact" }),
38834
38834
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
38835
38835
  }
38836
38836
  ) })
@@ -38961,7 +38961,7 @@ function AgentBarShell({
38961
38961
  }, [isStepsExpanded, steps]);
38962
38962
  const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
38963
38963
  return /* @__PURE__ */ jsxRuntime.jsx(
38964
- chunkCOCZMF7B_cjs.AgentBar,
38964
+ chunk6A4GNM4T_cjs.AgentBar,
38965
38965
  {
38966
38966
  className,
38967
38967
  testId,
@@ -38973,7 +38973,7 @@ function AgentBarShell({
38973
38973
  drawerRef: scrollRef,
38974
38974
  onDrawerScroll: handleDrawerScroll,
38975
38975
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
38976
- chunkDGOVO2QO_cjs.AgentSteps,
38976
+ chunk5R67KX2O_cjs.AgentSteps,
38977
38977
  {
38978
38978
  steps: stepList,
38979
38979
  isStreaming,
@@ -39025,7 +39025,7 @@ function AgentControlBar({
39025
39025
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
39026
39026
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
39027
39027
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
39028
- chunkDGOVO2QO_cjs.MessageLiveSeconds,
39028
+ chunk5R67KX2O_cjs.MessageLiveSeconds,
39029
39029
  {
39030
39030
  ...liveTimer,
39031
39031
  offsetSeconds: currentStep?.t ?? 0,
@@ -39034,7 +39034,7 @@ function AgentControlBar({
39034
39034
  }
39035
39035
  );
39036
39036
  const status = /* @__PURE__ */ jsxRuntime.jsx(
39037
- chunkCOCZMF7B_cjs.AgentBarStatus,
39037
+ chunk6A4GNM4T_cjs.AgentBarStatus,
39038
39038
  {
39039
39039
  state: showState ? controlState : void 0,
39040
39040
  stateLabel: STATE_LABEL[controlState],
@@ -39076,7 +39076,7 @@ function AgentControlBar({
39076
39076
  ];
39077
39077
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
39078
39078
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
39079
- chunkCOCZMF7B_cjs.AgentBarIconButton,
39079
+ chunk6A4GNM4T_cjs.AgentBarIconButton,
39080
39080
  {
39081
39081
  onClick: onStop,
39082
39082
  title: "Stop",
@@ -39085,22 +39085,22 @@ function AgentControlBar({
39085
39085
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
39086
39086
  }
39087
39087
  ),
39088
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.AgentBarMenu, { items: menuItems })
39088
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentBarMenu, { items: menuItems })
39089
39089
  ] });
39090
39090
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
39091
39091
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
39092
39092
  );
39093
39093
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
39094
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.AgentBarNotes, { children: [
39094
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.AgentBarNotes, { children: [
39095
39095
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
39096
- chunkCOCZMF7B_cjs.AgentBarQueuedNote,
39096
+ chunk6A4GNM4T_cjs.AgentBarQueuedNote,
39097
39097
  {
39098
39098
  text: message.content ?? "",
39099
39099
  isAcknowledged: message.acknowledged
39100
39100
  },
39101
39101
  index
39102
39102
  )),
39103
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
39103
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
39104
39104
  ] }) : null;
39105
39105
  return /* @__PURE__ */ jsxRuntime.jsx(
39106
39106
  AgentBarShell,
@@ -39249,7 +39249,7 @@ function ConnectedConversationEmpty({
39249
39249
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
39250
39250
  }
39251
39251
  ),
39252
- /* @__PURE__ */ jsxRuntime.jsx(chunkOSWKA2NQ_cjs.PrivacyExplainerModal, {})
39252
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOKUXM2N4_cjs.PrivacyExplainerModal, {})
39253
39253
  ] })
39254
39254
  }
39255
39255
  );
@@ -40085,7 +40085,7 @@ function ConversationThread({
40085
40085
  useStartRequestedDraft();
40086
40086
  const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
40087
40087
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkIFOGBMAE_cjs.ConversationBody, { children: [
40088
- /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkE7STRFBT_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
40088
+ /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkE7STRFBT_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
40089
40089
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
40090
40090
  chunkZBP4ZSAJ_cjs.ConversationFilter,
40091
40091
  {
@@ -40103,7 +40103,7 @@ function ConversationThread({
40103
40103
  ]
40104
40104
  }
40105
40105
  ) }),
40106
- /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
40106
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
40107
40107
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunk35BADIIF_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
40108
40108
  ] }) }) : meetingCallExtId ? (
40109
40109
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -40111,7 +40111,7 @@ function ConversationThread({
40111
40111
  /* @__PURE__ */ jsxRuntime.jsx(chunk35BADIIF_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
40112
40112
  /* @__PURE__ */ jsxRuntime.jsx(chunk35BADIIF_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
40113
40113
  ] })
40114
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkDGOVO2QO_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
40114
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunk5R67KX2O_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
40115
40115
  ConnectedConversationEmpty,
40116
40116
  {
40117
40117
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -40182,7 +40182,7 @@ function ConversationThread({
40182
40182
  children: react.READ_ONLY_MEETING_TEXT
40183
40183
  }
40184
40184
  ) : /* @__PURE__ */ jsxRuntime.jsx(
40185
- chunkDGOVO2QO_cjs.ConversationComposer,
40185
+ chunk5R67KX2O_cjs.ConversationComposer,
40186
40186
  {
40187
40187
  handleSendMessage: handleUserSend,
40188
40188
  placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
@@ -40522,7 +40522,7 @@ function ConnectedThreadsPage({
40522
40522
  };
40523
40523
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
40524
40524
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
40525
- chunkCOCZMF7B_cjs.ConversationListView,
40525
+ chunk6A4GNM4T_cjs.ConversationListView,
40526
40526
  {
40527
40527
  showHeader,
40528
40528
  conversations: tasks,
@@ -40541,7 +40541,7 @@ function ConnectedThreadsPage({
40541
40541
  renderLabels: threadLabels.renderLabels,
40542
40542
  labelText: threadLabels.labelText,
40543
40543
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
40544
- chunkCOCZMF7B_cjs.ConversationTurnSpeaker,
40544
+ chunk6A4GNM4T_cjs.ConversationTurnSpeaker,
40545
40545
  {
40546
40546
  variant: "icon",
40547
40547
  role: row2.last_message_role,
@@ -40928,7 +40928,7 @@ function ConnectedChatDocumentsTab({
40928
40928
  testId: `document-hover-toggle-${doc.external_id}`
40929
40929
  },
40930
40930
  status: /* @__PURE__ */ jsxRuntime.jsx(
40931
- chunkOSWKA2NQ_cjs.DocStatusIcon,
40931
+ chunkOKUXM2N4_cjs.DocStatusIcon,
40932
40932
  {
40933
40933
  status: doc.status,
40934
40934
  onClick: onStatusClick,
@@ -41421,7 +41421,7 @@ function ConnectedConversationPage({
41421
41421
  );
41422
41422
  const { data: workspaceTags = [] } = react.useTags();
41423
41423
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
41424
- const historyCount = chunkCOCZMF7B_cjs.filterConversationRows(
41424
+ const historyCount = chunk6A4GNM4T_cjs.filterConversationRows(
41425
41425
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
41426
41426
  threadFilter,
41427
41427
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -41480,7 +41480,7 @@ function ConnectedConversationPage({
41480
41480
  ] })
41481
41481
  }
41482
41482
  ),
41483
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk4LK74S7T_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
41483
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkBSPPKX6X_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
41484
41484
  ] }),
41485
41485
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
41486
41486
  ConversationThread,
@@ -41510,7 +41510,7 @@ function ConnectedConversationPage({
41510
41510
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkIFOGBMAE_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
41511
41511
  ] }),
41512
41512
  /* @__PURE__ */ jsxRuntime.jsx(
41513
- chunkOSWKA2NQ_cjs.UrlInputDialog,
41513
+ chunkOKUXM2N4_cjs.UrlInputDialog,
41514
41514
  {
41515
41515
  open: urlDialogOpen,
41516
41516
  onOpenChange: setUrlDialogOpen,
@@ -41689,7 +41689,7 @@ function SsoResendVerificationButton({
41689
41689
  onClick: async () => handleResendEmailVerification(),
41690
41690
  disabled: loading || disabled,
41691
41691
  "aria-label": "Resend verification email",
41692
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk7Z5CSFYV_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41692
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk5UMZXDGL_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41693
41693
  "Didn't get a verification email? ",
41694
41694
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
41695
41695
  ] })
@@ -41700,16 +41700,16 @@ function SsoResendVerificationButton({
41700
41700
  }
41701
41701
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
41702
41702
  function ConnectedSsoCallback() {
41703
- const sso = chunkDGOVO2QO_cjs.useSsoSignIn();
41703
+ const sso = chunk5R67KX2O_cjs.useSsoSignIn();
41704
41704
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
41705
- const auth = chunkDGOVO2QO_cjs.useAuthPages();
41705
+ const auth = chunk5R67KX2O_cjs.useAuthPages();
41706
41706
  const { notify: notify17, navigate } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
41707
41707
  const passwordRules = auth.passwordRules;
41708
41708
  const isProcessing = react$1.useRef(false);
41709
41709
  const hasCheckedStatus = react$1.useRef(false);
41710
41710
  const [accessToken, setAccessToken] = react$1.useState(null);
41711
41711
  const [ssoStatus, setSsoStatus] = react$1.useState(null);
41712
- const ssoName = react$1.useMemo(() => chunkDGOVO2QO_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
41712
+ const ssoName = react$1.useMemo(() => chunk5R67KX2O_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
41713
41713
  const [password, setPassword] = react$1.useState("");
41714
41714
  const [confirmPassword, setConfirmPassword] = react$1.useState("");
41715
41715
  const [error, setError] = react$1.useState(null);
@@ -41887,7 +41887,7 @@ function ConnectedSsoCallback() {
41887
41887
  setIsCheckingStatus(true);
41888
41888
  try {
41889
41889
  console.info("[SSO] Checking user status...");
41890
- const response = await chunkDGOVO2QO_cjs.ssoAccountStatus(arbi, accessToken, user);
41890
+ const response = await chunk5R67KX2O_cjs.ssoAccountStatus(arbi, accessToken, user);
41891
41891
  console.info("[SSO] User status:", response.status);
41892
41892
  setSsoStatus(response);
41893
41893
  } catch (error2) {
@@ -41931,7 +41931,7 @@ function ConnectedSsoCallback() {
41931
41931
  setIsSubmitting(true);
41932
41932
  setError(null);
41933
41933
  try {
41934
- const { login, registered, linked } = await chunkDGOVO2QO_cjs.completeSsoSignIn(arbi, {
41934
+ const { login, registered, linked } = await chunk5R67KX2O_cjs.completeSsoSignIn(arbi, {
41935
41935
  token: accessToken,
41936
41936
  user,
41937
41937
  status: ssoStatus,
@@ -42213,7 +42213,7 @@ function ConnectedSsoCallback() {
42213
42213
  ssoStatus.status !== "new_user" && auth.footer
42214
42214
  ] }),
42215
42215
  /* @__PURE__ */ jsxRuntime.jsx(
42216
- chunkDGOVO2QO_cjs.ConnectedForgotPassword,
42216
+ chunk5R67KX2O_cjs.ConnectedForgotPassword,
42217
42217
  {
42218
42218
  open: showForgotPasswordModal,
42219
42219
  onOpenChange: setShowForgotPasswordModal,
@@ -42221,7 +42221,7 @@ function ConnectedSsoCallback() {
42221
42221
  }
42222
42222
  ),
42223
42223
  /* @__PURE__ */ jsxRuntime.jsx(
42224
- chunkDGOVO2QO_cjs.ConnectedPasswordChangeDialog,
42224
+ chunk5R67KX2O_cjs.ConnectedPasswordChangeDialog,
42225
42225
  {
42226
42226
  open: showChangePasswordModal,
42227
42227
  onClose: () => setShowChangePasswordModal(false),
@@ -42380,27 +42380,27 @@ function ConnectedOAuthConsentPage({
42380
42380
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
42381
42381
  }
42382
42382
  if (error && !params) {
42383
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
42383
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
42384
42384
  }
42385
42385
  if (!params) {
42386
42386
  return null;
42387
42387
  }
42388
42388
  if (clientInfo?.isLocalAgentFlow) {
42389
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
42389
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentMessage, { tone: "warning", title: "Close this tab", children: "This tab opened alongside the correct authorization page. Please close this tab and complete the connection in the other tab that opened at the same time." }) });
42390
42390
  }
42391
42391
  if (!isAuthenticated2) {
42392
42392
  return null;
42393
42393
  }
42394
42394
  if (callbackUrl) {
42395
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentCard, { size: "md", children: [
42396
- /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
42395
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { size: "md", children: [
42396
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
42397
42397
  "A new tab has opened to complete the connection. If it succeeded, you can close this page. If you see a connection error there, paste the URL below into Claude Cowork \u2014",
42398
42398
  " ",
42399
42399
  copied ? "it's already copied to your clipboard." : "copy it first."
42400
42400
  ] }),
42401
- /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentSection, { title: "Callback URL", children: [
42402
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
42403
- /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentText, { variant: "hint", children: [
42401
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentSection, { title: "Callback URL", children: [
42402
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
42403
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentText, { variant: "hint", children: [
42404
42404
  "In Claude Code, paste the URL at the prompt that says",
42405
42405
  " ",
42406
42406
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -42409,17 +42409,17 @@ function ConnectedOAuthConsentPage({
42409
42409
  ] })
42410
42410
  ] }) });
42411
42411
  }
42412
- return /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentCard, { children: [
42413
- /* @__PURE__ */ jsxRuntime.jsxs(chunkCOCZMF7B_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
42414
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
42412
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentCard, { children: [
42413
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk6A4GNM4T_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
42414
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
42415
42415
  " is requesting access to your ",
42416
42416
  appName,
42417
42417
  " workspace."
42418
42418
  ] }),
42419
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentPermissionList, { items: permissions }) }),
42420
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentNotice, { tone: "error", children: error }),
42421
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
42422
- /* @__PURE__ */ jsxRuntime.jsx(chunkCOCZMF7B_cjs.ConsentFootnote, { children: footnote })
42419
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentPermissionList, { items: permissions }) }),
42420
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentNotice, { tone: "error", children: error }),
42421
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
42422
+ /* @__PURE__ */ jsxRuntime.jsx(chunk6A4GNM4T_cjs.ConsentFootnote, { children: footnote })
42423
42423
  ] }) });
42424
42424
  }
42425
42425
  function ConnectedSharedFilesPage({
@@ -43078,7 +43078,7 @@ function ConnectedTipBar({
43078
43078
  className,
43079
43079
  revealOnHover = false
43080
43080
  }) {
43081
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkDGOVO2QO_cjs.useContextualHints();
43081
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunk5R67KX2O_cjs.useContextualHints();
43082
43082
  const { dismissed, dismissTip } = react.useDismissedTips();
43083
43083
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
43084
43084
  const { data: workspaces } = react.useWorkspaces();
@@ -43089,7 +43089,7 @@ function ConnectedTipBar({
43089
43089
  workspaceOpen,
43090
43090
  ...state
43091
43091
  };
43092
- const { tip, index, count: count2, previous, next, onHoverChange } = chunk7Z5CSFYV_cjs.useTipsPlacement({
43092
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunk5UMZXDGL_cjs.useTipsPlacement({
43093
43093
  registry,
43094
43094
  context,
43095
43095
  state: situation,
@@ -43167,7 +43167,7 @@ function useGettingStarted({
43167
43167
  const { user } = react.useArbiSession();
43168
43168
  const userExtId = user?.external_id;
43169
43169
  const temporaryOnly = user?.temporary_access_only === true;
43170
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkDGOVO2QO_cjs.useContextualHints();
43170
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunk5R67KX2O_cjs.useContextualHints();
43171
43171
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
43172
43172
  const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
43173
43173
  const session = react.useArbiSessionStore();
@@ -43389,15 +43389,15 @@ function ChromeInstallDialog({
43389
43389
 
43390
43390
  Object.defineProperty(exports, "ConnectedTagEntity", {
43391
43391
  enumerable: true,
43392
- get: function () { return chunkCRKWD7B5_cjs.ConnectedTagEntity; }
43392
+ get: function () { return chunkVULH3XAJ_cjs.ConnectedTagEntity; }
43393
43393
  });
43394
43394
  Object.defineProperty(exports, "documentFieldContent", {
43395
43395
  enumerable: true,
43396
- get: function () { return chunkCRKWD7B5_cjs.documentFieldContent; }
43396
+ get: function () { return chunkVULH3XAJ_cjs.documentFieldContent; }
43397
43397
  });
43398
43398
  Object.defineProperty(exports, "useMemberLookup", {
43399
43399
  enumerable: true,
43400
- get: function () { return chunkCRKWD7B5_cjs.useMemberLookup; }
43400
+ get: function () { return chunkVULH3XAJ_cjs.useMemberLookup; }
43401
43401
  });
43402
43402
  Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
43403
43403
  enumerable: true,
@@ -43501,267 +43501,267 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
43501
43501
  });
43502
43502
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
43503
43503
  enumerable: true,
43504
- get: function () { return chunk4LK74S7T_cjs.ConnectedTaskActivityDialog; }
43504
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedTaskActivityDialog; }
43505
43505
  });
43506
43506
  Object.defineProperty(exports, "ConnectedTaskComposer", {
43507
43507
  enumerable: true,
43508
- get: function () { return chunk4LK74S7T_cjs.ConnectedTaskComposer; }
43508
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedTaskComposer; }
43509
43509
  });
43510
43510
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
43511
43511
  enumerable: true,
43512
- get: function () { return chunk4LK74S7T_cjs.ConnectedThreadTaskBar; }
43512
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedThreadTaskBar; }
43513
43513
  });
43514
43514
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
43515
43515
  enumerable: true,
43516
- get: function () { return chunk4LK74S7T_cjs.ConnectedWorkflowHistory; }
43516
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedWorkflowHistory; }
43517
43517
  });
43518
43518
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
43519
43519
  enumerable: true,
43520
- get: function () { return chunk4LK74S7T_cjs.ConnectedWorkflowRunPage; }
43520
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedWorkflowRunPage; }
43521
43521
  });
43522
43522
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
43523
43523
  enumerable: true,
43524
- get: function () { return chunk4LK74S7T_cjs.ConnectedWorkflowRunner; }
43524
+ get: function () { return chunkBSPPKX6X_cjs.ConnectedWorkflowRunner; }
43525
43525
  });
43526
43526
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
43527
43527
  enumerable: true,
43528
- get: function () { return chunk4LK74S7T_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
43528
+ get: function () { return chunkBSPPKX6X_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
43529
43529
  });
43530
43530
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
43531
43531
  enumerable: true,
43532
- get: function () { return chunk4LK74S7T_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
43532
+ get: function () { return chunkBSPPKX6X_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
43533
43533
  });
43534
43534
  Object.defineProperty(exports, "WorkflowRunThread", {
43535
43535
  enumerable: true,
43536
- get: function () { return chunk4LK74S7T_cjs.WorkflowRunThread; }
43536
+ get: function () { return chunkBSPPKX6X_cjs.WorkflowRunThread; }
43537
43537
  });
43538
43538
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
43539
43539
  enumerable: true,
43540
- get: function () { return chunk4LK74S7T_cjs.WorkflowRunWorkspaceChangedError; }
43540
+ get: function () { return chunkBSPPKX6X_cjs.WorkflowRunWorkspaceChangedError; }
43541
43541
  });
43542
43542
  Object.defineProperty(exports, "buildProjectSummaries", {
43543
43543
  enumerable: true,
43544
- get: function () { return chunk4LK74S7T_cjs.buildProjectSummaries; }
43544
+ get: function () { return chunkBSPPKX6X_cjs.buildProjectSummaries; }
43545
43545
  });
43546
43546
  Object.defineProperty(exports, "primaryProjectWorkspace", {
43547
43547
  enumerable: true,
43548
- get: function () { return chunk4LK74S7T_cjs.primaryProjectWorkspace; }
43548
+ get: function () { return chunkBSPPKX6X_cjs.primaryProjectWorkspace; }
43549
43549
  });
43550
43550
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
43551
43551
  enumerable: true,
43552
- get: function () { return chunk4LK74S7T_cjs.useEnsureRequiredLabels; }
43552
+ get: function () { return chunkBSPPKX6X_cjs.useEnsureRequiredLabels; }
43553
43553
  });
43554
43554
  Object.defineProperty(exports, "useProjectSummaries", {
43555
43555
  enumerable: true,
43556
- get: function () { return chunk4LK74S7T_cjs.useProjectSummaries; }
43556
+ get: function () { return chunkBSPPKX6X_cjs.useProjectSummaries; }
43557
43557
  });
43558
43558
  Object.defineProperty(exports, "useProjectSummary", {
43559
43559
  enumerable: true,
43560
- get: function () { return chunk4LK74S7T_cjs.useProjectSummary; }
43560
+ get: function () { return chunkBSPPKX6X_cjs.useProjectSummary; }
43561
43561
  });
43562
43562
  Object.defineProperty(exports, "useRenderTaskPerson", {
43563
43563
  enumerable: true,
43564
- get: function () { return chunk4LK74S7T_cjs.useRenderTaskPerson; }
43564
+ get: function () { return chunkBSPPKX6X_cjs.useRenderTaskPerson; }
43565
43565
  });
43566
43566
  Object.defineProperty(exports, "useRequiredLabels", {
43567
43567
  enumerable: true,
43568
- get: function () { return chunk4LK74S7T_cjs.useRequiredLabels; }
43568
+ get: function () { return chunkBSPPKX6X_cjs.useRequiredLabels; }
43569
43569
  });
43570
43570
  Object.defineProperty(exports, "useTaskPeople", {
43571
43571
  enumerable: true,
43572
- get: function () { return chunk4LK74S7T_cjs.useTaskPeople; }
43572
+ get: function () { return chunkBSPPKX6X_cjs.useTaskPeople; }
43573
43573
  });
43574
43574
  Object.defineProperty(exports, "useWorkflowsPageState", {
43575
43575
  enumerable: true,
43576
- get: function () { return chunk4LK74S7T_cjs.useWorkflowsPageState; }
43576
+ get: function () { return chunkBSPPKX6X_cjs.useWorkflowsPageState; }
43577
43577
  });
43578
43578
  Object.defineProperty(exports, "workflowRunView", {
43579
43579
  enumerable: true,
43580
- get: function () { return chunk4LK74S7T_cjs.workflowRunView; }
43580
+ get: function () { return chunkBSPPKX6X_cjs.workflowRunView; }
43581
43581
  });
43582
43582
  Object.defineProperty(exports, "AgentSteps", {
43583
43583
  enumerable: true,
43584
- get: function () { return chunkDGOVO2QO_cjs.AgentSteps; }
43584
+ get: function () { return chunk5R67KX2O_cjs.AgentSteps; }
43585
43585
  });
43586
43586
  Object.defineProperty(exports, "AnswerTable", {
43587
43587
  enumerable: true,
43588
- get: function () { return chunkDGOVO2QO_cjs.AnswerTable; }
43588
+ get: function () { return chunk5R67KX2O_cjs.AnswerTable; }
43589
43589
  });
43590
43590
  Object.defineProperty(exports, "ArbiChat", {
43591
43591
  enumerable: true,
43592
- get: function () { return chunkDGOVO2QO_cjs.ArbiChat; }
43592
+ get: function () { return chunk5R67KX2O_cjs.ArbiChat; }
43593
43593
  });
43594
43594
  Object.defineProperty(exports, "AskAgainContext", {
43595
43595
  enumerable: true,
43596
- get: function () { return chunkDGOVO2QO_cjs.AskAgainContext; }
43596
+ get: function () { return chunk5R67KX2O_cjs.AskAgainContext; }
43597
43597
  });
43598
43598
  Object.defineProperty(exports, "ConnectedBranchControls", {
43599
43599
  enumerable: true,
43600
- get: function () { return chunkDGOVO2QO_cjs.ConnectedBranchControls; }
43600
+ get: function () { return chunk5R67KX2O_cjs.ConnectedBranchControls; }
43601
43601
  });
43602
43602
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
43603
43603
  enumerable: true,
43604
- get: function () { return chunkDGOVO2QO_cjs.ConnectedCitationRenderer; }
43604
+ get: function () { return chunk5R67KX2O_cjs.ConnectedCitationRenderer; }
43605
43605
  });
43606
43606
  Object.defineProperty(exports, "ConnectedCompactConversation", {
43607
43607
  enumerable: true,
43608
- get: function () { return chunkDGOVO2QO_cjs.ConnectedCompactConversation; }
43608
+ get: function () { return chunk5R67KX2O_cjs.ConnectedCompactConversation; }
43609
43609
  });
43610
43610
  Object.defineProperty(exports, "ConnectedCompactLogin", {
43611
43611
  enumerable: true,
43612
- get: function () { return chunkDGOVO2QO_cjs.ConnectedCompactLogin; }
43612
+ get: function () { return chunk5R67KX2O_cjs.ConnectedCompactLogin; }
43613
43613
  });
43614
43614
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
43615
43615
  enumerable: true,
43616
- get: function () { return chunkDGOVO2QO_cjs.ConnectedConversationDocumentPicker; }
43616
+ get: function () { return chunk5R67KX2O_cjs.ConnectedConversationDocumentPicker; }
43617
43617
  });
43618
43618
  Object.defineProperty(exports, "ConnectedDangerZone", {
43619
43619
  enumerable: true,
43620
- get: function () { return chunkDGOVO2QO_cjs.ConnectedDangerZone; }
43620
+ get: function () { return chunk5R67KX2O_cjs.ConnectedDangerZone; }
43621
43621
  });
43622
43622
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
43623
43623
  enumerable: true,
43624
- get: function () { return chunkDGOVO2QO_cjs.ConnectedEmbeddedChat; }
43624
+ get: function () { return chunk5R67KX2O_cjs.ConnectedEmbeddedChat; }
43625
43625
  });
43626
43626
  Object.defineProperty(exports, "ConnectedForgotPassword", {
43627
43627
  enumerable: true,
43628
- get: function () { return chunkDGOVO2QO_cjs.ConnectedForgotPassword; }
43628
+ get: function () { return chunk5R67KX2O_cjs.ConnectedForgotPassword; }
43629
43629
  });
43630
43630
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
43631
43631
  enumerable: true,
43632
- get: function () { return chunkDGOVO2QO_cjs.ConnectedIdentityVerification; }
43632
+ get: function () { return chunk5R67KX2O_cjs.ConnectedIdentityVerification; }
43633
43633
  });
43634
43634
  Object.defineProperty(exports, "ConnectedLoginPage", {
43635
43635
  enumerable: true,
43636
- get: function () { return chunkDGOVO2QO_cjs.ConnectedLoginPage; }
43636
+ get: function () { return chunk5R67KX2O_cjs.ConnectedLoginPage; }
43637
43637
  });
43638
43638
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
43639
43639
  enumerable: true,
43640
- get: function () { return chunkDGOVO2QO_cjs.ConnectedLogoutDialog; }
43640
+ get: function () { return chunk5R67KX2O_cjs.ConnectedLogoutDialog; }
43641
43641
  });
43642
43642
  Object.defineProperty(exports, "ConnectedMessage", {
43643
43643
  enumerable: true,
43644
- get: function () { return chunkDGOVO2QO_cjs.ConnectedMessage; }
43644
+ get: function () { return chunk5R67KX2O_cjs.ConnectedMessage; }
43645
43645
  });
43646
43646
  Object.defineProperty(exports, "ConnectedMessageArea", {
43647
43647
  enumerable: true,
43648
- get: function () { return chunkDGOVO2QO_cjs.ConnectedMessageArea; }
43648
+ get: function () { return chunk5R67KX2O_cjs.ConnectedMessageArea; }
43649
43649
  });
43650
43650
  Object.defineProperty(exports, "ConnectedMessageList", {
43651
43651
  enumerable: true,
43652
- get: function () { return chunkDGOVO2QO_cjs.ConnectedMessageList; }
43652
+ get: function () { return chunk5R67KX2O_cjs.ConnectedMessageList; }
43653
43653
  });
43654
43654
  Object.defineProperty(exports, "ConnectedModelSelector", {
43655
43655
  enumerable: true,
43656
- get: function () { return chunkDGOVO2QO_cjs.ConnectedModelSelector; }
43656
+ get: function () { return chunk5R67KX2O_cjs.ConnectedModelSelector; }
43657
43657
  });
43658
43658
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
43659
43659
  enumerable: true,
43660
- get: function () { return chunkDGOVO2QO_cjs.ConnectedNotificationPreferences; }
43660
+ get: function () { return chunk5R67KX2O_cjs.ConnectedNotificationPreferences; }
43661
43661
  });
43662
43662
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
43663
43663
  enumerable: true,
43664
- get: function () { return chunkDGOVO2QO_cjs.ConnectedPasswordChangeDialog; }
43664
+ get: function () { return chunk5R67KX2O_cjs.ConnectedPasswordChangeDialog; }
43665
43665
  });
43666
43666
  Object.defineProperty(exports, "ConnectedProfileCard", {
43667
43667
  enumerable: true,
43668
- get: function () { return chunkDGOVO2QO_cjs.ConnectedProfileCard; }
43668
+ get: function () { return chunk5R67KX2O_cjs.ConnectedProfileCard; }
43669
43669
  });
43670
43670
  Object.defineProperty(exports, "ConnectedSecuritySection", {
43671
43671
  enumerable: true,
43672
- get: function () { return chunkDGOVO2QO_cjs.ConnectedSecuritySection; }
43672
+ get: function () { return chunk5R67KX2O_cjs.ConnectedSecuritySection; }
43673
43673
  });
43674
43674
  Object.defineProperty(exports, "ConnectedSessionsRow", {
43675
43675
  enumerable: true,
43676
- get: function () { return chunkDGOVO2QO_cjs.ConnectedSessionsRow; }
43676
+ get: function () { return chunk5R67KX2O_cjs.ConnectedSessionsRow; }
43677
43677
  });
43678
43678
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
43679
43679
  enumerable: true,
43680
- get: function () { return chunkDGOVO2QO_cjs.ConnectedThreadsPreview; }
43680
+ get: function () { return chunk5R67KX2O_cjs.ConnectedThreadsPreview; }
43681
43681
  });
43682
43682
  Object.defineProperty(exports, "ConversationComposer", {
43683
43683
  enumerable: true,
43684
- get: function () { return chunkDGOVO2QO_cjs.ConversationComposer; }
43684
+ get: function () { return chunk5R67KX2O_cjs.ConversationComposer; }
43685
43685
  });
43686
43686
  Object.defineProperty(exports, "EmbeddedChatPanel", {
43687
43687
  enumerable: true,
43688
- get: function () { return chunkDGOVO2QO_cjs.EmbeddedChatPanel; }
43688
+ get: function () { return chunk5R67KX2O_cjs.EmbeddedChatPanel; }
43689
43689
  });
43690
43690
  Object.defineProperty(exports, "MessageDetailsModal", {
43691
43691
  enumerable: true,
43692
- get: function () { return chunkDGOVO2QO_cjs.MessageDetailsModal; }
43692
+ get: function () { return chunk5R67KX2O_cjs.MessageDetailsModal; }
43693
43693
  });
43694
43694
  Object.defineProperty(exports, "MessageLiveSeconds", {
43695
43695
  enumerable: true,
43696
- get: function () { return chunkDGOVO2QO_cjs.MessageLiveSeconds; }
43696
+ get: function () { return chunk5R67KX2O_cjs.MessageLiveSeconds; }
43697
43697
  });
43698
43698
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
43699
43699
  enumerable: true,
43700
- get: function () { return chunkDGOVO2QO_cjs.PENDING_RECOVERY_KEY; }
43700
+ get: function () { return chunk5R67KX2O_cjs.PENDING_RECOVERY_KEY; }
43701
43701
  });
43702
43702
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
43703
43703
  enumerable: true,
43704
- get: function () { return chunkDGOVO2QO_cjs.PREMIUM_TIER_TAG; }
43704
+ get: function () { return chunk5R67KX2O_cjs.PREMIUM_TIER_TAG; }
43705
43705
  });
43706
43706
  Object.defineProperty(exports, "RunningSubagents", {
43707
43707
  enumerable: true,
43708
- get: function () { return chunkDGOVO2QO_cjs.RunningSubagents; }
43708
+ get: function () { return chunk5R67KX2O_cjs.RunningSubagents; }
43709
43709
  });
43710
43710
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
43711
43711
  enumerable: true,
43712
- get: function () { return chunkDGOVO2QO_cjs.STANDARD_TIER_TAG; }
43712
+ get: function () { return chunk5R67KX2O_cjs.STANDARD_TIER_TAG; }
43713
43713
  });
43714
43714
  Object.defineProperty(exports, "WorkflowStepMessage", {
43715
43715
  enumerable: true,
43716
- get: function () { return chunkDGOVO2QO_cjs.WorkflowStepMessage; }
43716
+ get: function () { return chunk5R67KX2O_cjs.WorkflowStepMessage; }
43717
43717
  });
43718
43718
  Object.defineProperty(exports, "backUpOnSignup", {
43719
43719
  enumerable: true,
43720
- get: function () { return chunkDGOVO2QO_cjs.backUpOnSignup; }
43720
+ get: function () { return chunk5R67KX2O_cjs.backUpOnSignup; }
43721
43721
  });
43722
43722
  Object.defineProperty(exports, "defaultHost", {
43723
43723
  enumerable: true,
43724
- get: function () { return chunkDGOVO2QO_cjs.defaultHost; }
43724
+ get: function () { return chunk5R67KX2O_cjs.defaultHost; }
43725
43725
  });
43726
43726
  Object.defineProperty(exports, "renderConnectedUser", {
43727
43727
  enumerable: true,
43728
- get: function () { return chunkDGOVO2QO_cjs.renderConnectedUser; }
43728
+ get: function () { return chunk5R67KX2O_cjs.renderConnectedUser; }
43729
43729
  });
43730
43730
  Object.defineProperty(exports, "renderSessionStatusIcon", {
43731
43731
  enumerable: true,
43732
- get: function () { return chunkDGOVO2QO_cjs.renderSessionStatusIcon; }
43732
+ get: function () { return chunk5R67KX2O_cjs.renderSessionStatusIcon; }
43733
43733
  });
43734
43734
  Object.defineProperty(exports, "resolveSsoName", {
43735
43735
  enumerable: true,
43736
- get: function () { return chunkDGOVO2QO_cjs.resolveSsoName; }
43736
+ get: function () { return chunk5R67KX2O_cjs.resolveSsoName; }
43737
43737
  });
43738
43738
  Object.defineProperty(exports, "useAuthPages", {
43739
43739
  enumerable: true,
43740
- get: function () { return chunkDGOVO2QO_cjs.useAuthPages; }
43740
+ get: function () { return chunk5R67KX2O_cjs.useAuthPages; }
43741
43741
  });
43742
43742
  Object.defineProperty(exports, "useContextualHints", {
43743
43743
  enumerable: true,
43744
- get: function () { return chunkDGOVO2QO_cjs.useContextualHints; }
43744
+ get: function () { return chunk5R67KX2O_cjs.useContextualHints; }
43745
43745
  });
43746
43746
  Object.defineProperty(exports, "useModelPicker", {
43747
43747
  enumerable: true,
43748
- get: function () { return chunkDGOVO2QO_cjs.useModelPicker; }
43748
+ get: function () { return chunk5R67KX2O_cjs.useModelPicker; }
43749
43749
  });
43750
43750
  Object.defineProperty(exports, "useOpenChunk", {
43751
43751
  enumerable: true,
43752
- get: function () { return chunkDGOVO2QO_cjs.useOpenChunk; }
43752
+ get: function () { return chunk5R67KX2O_cjs.useOpenChunk; }
43753
43753
  });
43754
43754
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
43755
43755
  enumerable: true,
43756
- get: function () { return chunkDGOVO2QO_cjs.useOpenWorkspaceIcon; }
43756
+ get: function () { return chunk5R67KX2O_cjs.useOpenWorkspaceIcon; }
43757
43757
  });
43758
43758
  Object.defineProperty(exports, "useSsoSignIn", {
43759
43759
  enumerable: true,
43760
- get: function () { return chunkDGOVO2QO_cjs.useSsoSignIn; }
43760
+ get: function () { return chunk5R67KX2O_cjs.useSsoSignIn; }
43761
43761
  });
43762
43762
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
43763
43763
  enumerable: true,
43764
- get: function () { return chunkDGOVO2QO_cjs.useWorkspaceDocTitles; }
43764
+ get: function () { return chunk5R67KX2O_cjs.useWorkspaceDocTitles; }
43765
43765
  });
43766
43766
  Object.defineProperty(exports, "ConnectedWorkflowStart", {
43767
43767
  enumerable: true,
@@ -43793,11 +43793,11 @@ Object.defineProperty(exports, "useSlashSkillWorkflows", {
43793
43793
  });
43794
43794
  Object.defineProperty(exports, "useConnectedThreadActivity", {
43795
43795
  enumerable: true,
43796
- get: function () { return chunkS3SWSAUB_cjs.useConnectedThreadActivity; }
43796
+ get: function () { return chunkV2CKYM4B_cjs.useConnectedThreadActivity; }
43797
43797
  });
43798
43798
  Object.defineProperty(exports, "DocumentUser", {
43799
43799
  enumerable: true,
43800
- get: function () { return chunkDZGLEEUT_cjs.DocumentUser; }
43800
+ get: function () { return chunkRBI7WVEP_cjs.DocumentUser; }
43801
43801
  });
43802
43802
  Object.defineProperty(exports, "useCanBrowseSkills", {
43803
43803
  enumerable: true,
@@ -43893,35 +43893,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
43893
43893
  });
43894
43894
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
43895
43895
  enumerable: true,
43896
- get: function () { return chunkG4D4UGSW_cjs.FILES_PREFS_KEY; }
43896
+ get: function () { return chunk6NSKIS35_cjs.FILES_PREFS_KEY; }
43897
43897
  });
43898
43898
  Object.defineProperty(exports, "filesViewMode", {
43899
43899
  enumerable: true,
43900
- get: function () { return chunkG4D4UGSW_cjs.filesViewMode; }
43900
+ get: function () { return chunk6NSKIS35_cjs.filesViewMode; }
43901
43901
  });
43902
43902
  Object.defineProperty(exports, "useAiReviewStore", {
43903
43903
  enumerable: true,
43904
- get: function () { return chunkG4D4UGSW_cjs.useAiReviewStore; }
43904
+ get: function () { return chunk6NSKIS35_cjs.useAiReviewStore; }
43905
43905
  });
43906
43906
  Object.defineProperty(exports, "useFilesDialogs", {
43907
43907
  enumerable: true,
43908
- get: function () { return chunkG4D4UGSW_cjs.useFilesDialogs; }
43908
+ get: function () { return chunk6NSKIS35_cjs.useFilesDialogs; }
43909
43909
  });
43910
43910
  Object.defineProperty(exports, "useFilesGridStates", {
43911
43911
  enumerable: true,
43912
- get: function () { return chunkG4D4UGSW_cjs.useFilesGridStates; }
43912
+ get: function () { return chunk6NSKIS35_cjs.useFilesGridStates; }
43913
43913
  });
43914
43914
  Object.defineProperty(exports, "useFilesPrefs", {
43915
43915
  enumerable: true,
43916
- get: function () { return chunkG4D4UGSW_cjs.useFilesPrefs; }
43916
+ get: function () { return chunk6NSKIS35_cjs.useFilesPrefs; }
43917
43917
  });
43918
43918
  Object.defineProperty(exports, "useFilesStore", {
43919
43919
  enumerable: true,
43920
- get: function () { return chunkG4D4UGSW_cjs.useFilesStore; }
43920
+ get: function () { return chunk6NSKIS35_cjs.useFilesStore; }
43921
43921
  });
43922
43922
  Object.defineProperty(exports, "usePendingFolders", {
43923
43923
  enumerable: true,
43924
- get: function () { return chunkG4D4UGSW_cjs.usePendingFolders; }
43924
+ get: function () { return chunk6NSKIS35_cjs.usePendingFolders; }
43925
43925
  });
43926
43926
  Object.defineProperty(exports, "ConnectedMarkdown", {
43927
43927
  enumerable: true,
@@ -43953,67 +43953,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
43953
43953
  });
43954
43954
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
43955
43955
  enumerable: true,
43956
- get: function () { return chunkKXNC24EF_cjs.ConnectedPendingSyncDialog; }
43956
+ get: function () { return chunkIWLNDDPN_cjs.ConnectedPendingSyncDialog; }
43957
43957
  });
43958
43958
  Object.defineProperty(exports, "DocumentFolderCell", {
43959
43959
  enumerable: true,
43960
- get: function () { return chunkKXNC24EF_cjs.DocumentFolderCell; }
43960
+ get: function () { return chunkIWLNDDPN_cjs.DocumentFolderCell; }
43961
43961
  });
43962
43962
  Object.defineProperty(exports, "DocumentLabelsCell", {
43963
43963
  enumerable: true,
43964
- get: function () { return chunkKXNC24EF_cjs.DocumentLabelsCell; }
43964
+ get: function () { return chunkIWLNDDPN_cjs.DocumentLabelsCell; }
43965
43965
  });
43966
43966
  Object.defineProperty(exports, "DocumentNameCell", {
43967
43967
  enumerable: true,
43968
- get: function () { return chunkKXNC24EF_cjs.DocumentNameCell; }
43968
+ get: function () { return chunkIWLNDDPN_cjs.DocumentNameCell; }
43969
43969
  });
43970
43970
  Object.defineProperty(exports, "DocumentSharedCell", {
43971
43971
  enumerable: true,
43972
- get: function () { return chunkKXNC24EF_cjs.DocumentSharedCell; }
43972
+ get: function () { return chunkIWLNDDPN_cjs.DocumentSharedCell; }
43973
43973
  });
43974
43974
  Object.defineProperty(exports, "DocumentStatusGlyph", {
43975
43975
  enumerable: true,
43976
- get: function () { return chunkKXNC24EF_cjs.DocumentStatusGlyph; }
43976
+ get: function () { return chunkIWLNDDPN_cjs.DocumentStatusGlyph; }
43977
43977
  });
43978
43978
  Object.defineProperty(exports, "DocumentSyncGlyph", {
43979
43979
  enumerable: true,
43980
- get: function () { return chunkKXNC24EF_cjs.DocumentSyncGlyph; }
43980
+ get: function () { return chunkIWLNDDPN_cjs.DocumentSyncGlyph; }
43981
43981
  });
43982
43982
  Object.defineProperty(exports, "FileTooltipContent", {
43983
43983
  enumerable: true,
43984
- get: function () { return chunkKXNC24EF_cjs.FileTooltipContent; }
43984
+ get: function () { return chunkIWLNDDPN_cjs.FileTooltipContent; }
43985
43985
  });
43986
43986
  Object.defineProperty(exports, "RelatedDocumentsCell", {
43987
43987
  enumerable: true,
43988
- get: function () { return chunkKXNC24EF_cjs.RelatedDocumentsCell; }
43988
+ get: function () { return chunkIWLNDDPN_cjs.RelatedDocumentsCell; }
43989
43989
  });
43990
43990
  Object.defineProperty(exports, "StatusCell", {
43991
43991
  enumerable: true,
43992
- get: function () { return chunkKXNC24EF_cjs.StatusCell; }
43992
+ get: function () { return chunkIWLNDDPN_cjs.StatusCell; }
43993
43993
  });
43994
43994
  Object.defineProperty(exports, "UserAvatar", {
43995
43995
  enumerable: true,
43996
- get: function () { return chunkKXNC24EF_cjs.UserAvatar; }
43996
+ get: function () { return chunkIWLNDDPN_cjs.UserAvatar; }
43997
43997
  });
43998
43998
  Object.defineProperty(exports, "isActiveDocumentStatus", {
43999
43999
  enumerable: true,
44000
- get: function () { return chunkKXNC24EF_cjs.isActiveDocumentStatus; }
44000
+ get: function () { return chunkIWLNDDPN_cjs.isActiveDocumentStatus; }
44001
44001
  });
44002
44002
  Object.defineProperty(exports, "openPendingSyncDialog", {
44003
44003
  enumerable: true,
44004
- get: function () { return chunkKXNC24EF_cjs.openPendingSyncDialog; }
44004
+ get: function () { return chunkIWLNDDPN_cjs.openPendingSyncDialog; }
44005
44005
  });
44006
44006
  Object.defineProperty(exports, "parseQuotaError", {
44007
44007
  enumerable: true,
44008
- get: function () { return chunkKXNC24EF_cjs.parseQuotaError; }
44008
+ get: function () { return chunkIWLNDDPN_cjs.parseQuotaError; }
44009
44009
  });
44010
44010
  Object.defineProperty(exports, "startMenuItem", {
44011
44011
  enumerable: true,
44012
- get: function () { return chunkKXNC24EF_cjs.startMenuItem; }
44012
+ get: function () { return chunkIWLNDDPN_cjs.startMenuItem; }
44013
44013
  });
44014
44014
  Object.defineProperty(exports, "useDocumentFolders", {
44015
44015
  enumerable: true,
44016
- get: function () { return chunkKXNC24EF_cjs.useDocumentFolders; }
44016
+ get: function () { return chunkIWLNDDPN_cjs.useDocumentFolders; }
44017
44017
  });
44018
44018
  Object.defineProperty(exports, "useMeetingThreadMessages", {
44019
44019
  enumerable: true,