@arbidocs/blocks 0.5.100 → 0.5.101

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 (137) hide show
  1. package/README.md +9 -1
  2. package/dist/{ConnectedNativeDocxComparison-3UJZR52S.cjs → ConnectedNativeDocxComparison-6BQ2WFF6.cjs} +7 -7
  3. package/dist/{ConnectedNativeDocxComparison-3UJZR52S.cjs.map → ConnectedNativeDocxComparison-6BQ2WFF6.cjs.map} +1 -1
  4. package/dist/{ConnectedNativeDocxComparison-VGJLNVM4.js → ConnectedNativeDocxComparison-DIRGCHMY.js} +6 -6
  5. package/dist/{ConnectedStreamedWordArtifact-MJAVZ3NR.js.map → ConnectedNativeDocxComparison-DIRGCHMY.js.map} +1 -1
  6. package/dist/{ConnectedNativeDocxEditor-A6PGFR35.cjs → ConnectedNativeDocxEditor-4HNYAZEG.cjs} +7 -7
  7. package/dist/{ConnectedNativeDocxEditor-A6PGFR35.cjs.map → ConnectedNativeDocxEditor-4HNYAZEG.cjs.map} +1 -1
  8. package/dist/{ConnectedNativeDocxEditor-O7QEWYGG.js → ConnectedNativeDocxEditor-DKSE3R6C.js} +5 -5
  9. package/dist/{ConnectedNativeDocxEditor-O7QEWYGG.js.map → ConnectedNativeDocxEditor-DKSE3R6C.js.map} +1 -1
  10. package/dist/{ConnectedStreamedWordArtifact-Q7TWGK4B.cjs → ConnectedStreamedWordArtifact-S5I5QCZ7.cjs} +7 -7
  11. package/dist/ConnectedStreamedWordArtifact-S5I5QCZ7.cjs.map +1 -0
  12. package/dist/{ConnectedStreamedWordArtifact-MJAVZ3NR.js → ConnectedStreamedWordArtifact-USNAF4ZM.js} +6 -6
  13. package/dist/{ConnectedNativeDocxComparison-VGJLNVM4.js.map → ConnectedStreamedWordArtifact-USNAF4ZM.js.map} +1 -1
  14. package/dist/{DocumentReviewCard-7VJ3MMYG.cjs → DocumentReviewCard-QHYHBDUA.cjs} +13 -13
  15. package/dist/{DocumentReviewCard-7VJ3MMYG.cjs.map → DocumentReviewCard-QHYHBDUA.cjs.map} +1 -1
  16. package/dist/{DocumentReviewCard-5NZM6FOB.js → DocumentReviewCard-TFAJYWS6.js} +8 -8
  17. package/dist/{DocumentReviewCard-5NZM6FOB.js.map → DocumentReviewCard-TFAJYWS6.js.map} +1 -1
  18. package/dist/{FilesViewerDialog-5VML4F5E.js → FilesViewerDialog-LE5GQQDX.js} +7 -7
  19. package/dist/{FilesViewerDialog-5VML4F5E.js.map → FilesViewerDialog-LE5GQQDX.js.map} +1 -1
  20. package/dist/{FilesViewerDialog-IQ5UDAZX.cjs → FilesViewerDialog-Y5YZJ5O2.cjs} +8 -8
  21. package/dist/{FilesViewerDialog-IQ5UDAZX.cjs.map → FilesViewerDialog-Y5YZJ5O2.cjs.map} +1 -1
  22. package/dist/{WorkspaceTableView-ZIQ7JWT5.cjs → WorkspaceTableView-3D6SYOWT.cjs} +4 -4
  23. package/dist/{WorkspaceTableView-ZIQ7JWT5.cjs.map → WorkspaceTableView-3D6SYOWT.cjs.map} +1 -1
  24. package/dist/{WorkspaceTableView-DYABS53K.js → WorkspaceTableView-WD754UBK.js} +3 -3
  25. package/dist/{WorkspaceTableView-DYABS53K.js.map → WorkspaceTableView-WD754UBK.js.map} +1 -1
  26. package/dist/agents/index.cjs +186 -186
  27. package/dist/agents/index.js +4 -4
  28. package/dist/{chunk-ERDQ4DAX.cjs → chunk-2GFB43GN.cjs} +4 -4
  29. package/dist/{chunk-ERDQ4DAX.cjs.map → chunk-2GFB43GN.cjs.map} +1 -1
  30. package/dist/{chunk-WGAGIF4F.cjs → chunk-2ROYKDEA.cjs} +4 -4
  31. package/dist/{chunk-WGAGIF4F.cjs.map → chunk-2ROYKDEA.cjs.map} +1 -1
  32. package/dist/{chunk-4VSRSF4Q.cjs → chunk-2VWE46ZF.cjs} +114 -57
  33. package/dist/chunk-2VWE46ZF.cjs.map +1 -0
  34. package/dist/{chunk-IK4MSXXR.cjs → chunk-4IRS55N2.cjs} +50 -31
  35. package/dist/chunk-4IRS55N2.cjs.map +1 -0
  36. package/dist/{chunk-Z4VWLWFX.js → chunk-4IXUIRXB.js} +3 -3
  37. package/dist/{chunk-Z4VWLWFX.js.map → chunk-4IXUIRXB.js.map} +1 -1
  38. package/dist/{chunk-KBXATCF4.cjs → chunk-ANT32I6E.cjs} +8 -8
  39. package/dist/{chunk-KBXATCF4.cjs.map → chunk-ANT32I6E.cjs.map} +1 -1
  40. package/dist/{chunk-SWW3KBH2.js → chunk-AZGELQSS.js} +4 -4
  41. package/dist/{chunk-SWW3KBH2.js.map → chunk-AZGELQSS.js.map} +1 -1
  42. package/dist/{chunk-RAF72BBC.cjs → chunk-DVGT3MU6.cjs} +4 -4
  43. package/dist/{chunk-RAF72BBC.cjs.map → chunk-DVGT3MU6.cjs.map} +1 -1
  44. package/dist/{chunk-TVJAVK2G.js → chunk-DW5DFV4O.js} +4 -4
  45. package/dist/{chunk-TVJAVK2G.js.map → chunk-DW5DFV4O.js.map} +1 -1
  46. package/dist/{chunk-4AQ47AB4.js → chunk-DWSSFIK2.js} +3 -3
  47. package/dist/{chunk-4AQ47AB4.js.map → chunk-DWSSFIK2.js.map} +1 -1
  48. package/dist/{chunk-R4JGE2XT.cjs → chunk-FXR6YYPC.cjs} +4 -4
  49. package/dist/{chunk-R4JGE2XT.cjs.map → chunk-FXR6YYPC.cjs.map} +1 -1
  50. package/dist/{chunk-22EZJLGW.js → chunk-G7DQFL52.js} +7 -7
  51. package/dist/{chunk-22EZJLGW.js.map → chunk-G7DQFL52.js.map} +1 -1
  52. package/dist/{chunk-MT3RPUQC.cjs → chunk-H7UDEZEO.cjs} +4 -4
  53. package/dist/{chunk-MT3RPUQC.cjs.map → chunk-H7UDEZEO.cjs.map} +1 -1
  54. package/dist/{chunk-UNQE3JWX.js → chunk-HPS5O6XK.js} +4 -4
  55. package/dist/{chunk-MM5Q7AJL.cjs.map → chunk-HPS5O6XK.js.map} +1 -1
  56. package/dist/{chunk-ETYBZA5E.cjs → chunk-IGVTLCHD.cjs} +4 -4
  57. package/dist/{chunk-ETYBZA5E.cjs.map → chunk-IGVTLCHD.cjs.map} +1 -1
  58. package/dist/{chunk-J24LYNTY.cjs → chunk-ILH2KOHA.cjs} +37 -37
  59. package/dist/{chunk-J24LYNTY.cjs.map → chunk-ILH2KOHA.cjs.map} +1 -1
  60. package/dist/{chunk-7F5Z4K5W.js → chunk-IU5CHOEU.js} +9 -10
  61. package/dist/chunk-IU5CHOEU.js.map +1 -0
  62. package/dist/{chunk-ZATTTPWL.cjs → chunk-KCP42W67.cjs} +4 -4
  63. package/dist/{chunk-ZATTTPWL.cjs.map → chunk-KCP42W67.cjs.map} +1 -1
  64. package/dist/{chunk-YG4S7OCD.js → chunk-LNWEJJUY.js} +3 -3
  65. package/dist/{chunk-YG4S7OCD.js.map → chunk-LNWEJJUY.js.map} +1 -1
  66. package/dist/{chunk-KYR3TXHS.js → chunk-OLCQPGB4.js} +3 -3
  67. package/dist/{chunk-KYR3TXHS.js.map → chunk-OLCQPGB4.js.map} +1 -1
  68. package/dist/{chunk-STCXXO7T.js → chunk-PGCKTXYH.js} +3 -3
  69. package/dist/{chunk-STCXXO7T.js.map → chunk-PGCKTXYH.js.map} +1 -1
  70. package/dist/{chunk-7GPQBAIL.cjs → chunk-Q3OLTA47.cjs} +4 -4
  71. package/dist/{chunk-7GPQBAIL.cjs.map → chunk-Q3OLTA47.cjs.map} +1 -1
  72. package/dist/{chunk-UBI4HXT6.js → chunk-Q45LV2DL.js} +5 -5
  73. package/dist/{chunk-UBI4HXT6.js.map → chunk-Q45LV2DL.js.map} +1 -1
  74. package/dist/{chunk-Z7XKBKQN.js → chunk-QAKL6LNR.js} +8 -8
  75. package/dist/{chunk-Z7XKBKQN.js.map → chunk-QAKL6LNR.js.map} +1 -1
  76. package/dist/{chunk-USIRUI2M.cjs → chunk-QSPKL754.cjs} +29 -29
  77. package/dist/{chunk-USIRUI2M.cjs.map → chunk-QSPKL754.cjs.map} +1 -1
  78. package/dist/{chunk-HJBVSG6H.cjs → chunk-QYDMOBGP.cjs} +4 -4
  79. package/dist/{chunk-HJBVSG6H.cjs.map → chunk-QYDMOBGP.cjs.map} +1 -1
  80. package/dist/{chunk-OYSTBNNA.js → chunk-R3AHNYSS.js} +3 -3
  81. package/dist/{chunk-OYSTBNNA.js.map → chunk-R3AHNYSS.js.map} +1 -1
  82. package/dist/{chunk-JLTPQDQB.js → chunk-RP3IDFHS.js} +3 -3
  83. package/dist/{chunk-JLTPQDQB.js.map → chunk-RP3IDFHS.js.map} +1 -1
  84. package/dist/{chunk-ZAKDIJBP.cjs → chunk-RV2YGRV6.cjs} +48 -48
  85. package/dist/{chunk-ZAKDIJBP.cjs.map → chunk-RV2YGRV6.cjs.map} +1 -1
  86. package/dist/{chunk-SWILV6LT.cjs → chunk-TGHBXJTN.cjs} +4 -4
  87. package/dist/{chunk-SWILV6LT.cjs.map → chunk-TGHBXJTN.cjs.map} +1 -1
  88. package/dist/{chunk-MM5Q7AJL.cjs → chunk-TQXMASFX.cjs} +8 -8
  89. package/dist/chunk-TQXMASFX.cjs.map +1 -0
  90. package/dist/{chunk-VW6MFQFW.js → chunk-UPXQDULH.js} +112 -55
  91. package/dist/chunk-UPXQDULH.js.map +1 -0
  92. package/dist/{chunk-L3V2ANBD.js → chunk-VEHHI5WS.js} +3 -3
  93. package/dist/{chunk-L3V2ANBD.js.map → chunk-VEHHI5WS.js.map} +1 -1
  94. package/dist/{chunk-6OEAZ2TJ.js → chunk-VJQCOZ7O.js} +50 -31
  95. package/dist/chunk-VJQCOZ7O.js.map +1 -0
  96. package/dist/{chunk-VD33HXFZ.cjs → chunk-WW2H5C6L.cjs} +28 -28
  97. package/dist/{chunk-VD33HXFZ.cjs.map → chunk-WW2H5C6L.cjs.map} +1 -1
  98. package/dist/{chunk-OOYT5A7W.js → chunk-X2QJWFFO.js} +3 -3
  99. package/dist/{chunk-OOYT5A7W.js.map → chunk-X2QJWFFO.js.map} +1 -1
  100. package/dist/{chunk-FADUFGZD.js → chunk-XCE4HB3F.js} +3 -3
  101. package/dist/{chunk-FADUFGZD.js.map → chunk-XCE4HB3F.js.map} +1 -1
  102. package/dist/{chunk-LKK52DEY.cjs → chunk-XNXNLXIC.cjs} +9 -10
  103. package/dist/chunk-XNXNLXIC.cjs.map +1 -0
  104. package/dist/collaboration/index.cjs +70 -70
  105. package/dist/collaboration/index.js +2 -2
  106. package/dist/connect/docx.cjs +10 -10
  107. package/dist/connect/docx.js +6 -6
  108. package/dist/connect/index.cjs +680 -644
  109. package/dist/connect/index.cjs.map +1 -1
  110. package/dist/connect/index.js +106 -70
  111. package/dist/connect/index.js.map +1 -1
  112. package/dist/connect/viewer.cjs +6 -6
  113. package/dist/connect/viewer.js +5 -5
  114. package/dist/connection/files/grid/documentCellRenderers.d.ts +19 -4
  115. package/dist/connection/files/grid/useDocumentGridSync.d.ts +4 -15
  116. package/dist/connection/files/grid/useDocumentTable.d.ts +0 -1
  117. package/dist/databases/index.cjs +49 -49
  118. package/dist/databases/index.js +2 -2
  119. package/dist/embed/index.cjs +12 -12
  120. package/dist/embed/index.js +6 -6
  121. package/dist/files/index.cjs +224 -224
  122. package/dist/files/index.js +2 -2
  123. package/dist/index.cjs +299 -299
  124. package/dist/index.js +6 -6
  125. package/dist/tags/TagTable.d.ts +4 -1
  126. package/dist/workflow-canvas/index.cjs +22 -22
  127. package/dist/workflow-canvas/index.js +11 -11
  128. package/node_modules/@arbidocs/coedit/package.json +1 -1
  129. package/package.json +10 -6
  130. package/dist/ConnectedStreamedWordArtifact-Q7TWGK4B.cjs.map +0 -1
  131. package/dist/chunk-4VSRSF4Q.cjs.map +0 -1
  132. package/dist/chunk-6OEAZ2TJ.js.map +0 -1
  133. package/dist/chunk-7F5Z4K5W.js.map +0 -1
  134. package/dist/chunk-IK4MSXXR.cjs.map +0 -1
  135. package/dist/chunk-LKK52DEY.cjs.map +0 -1
  136. package/dist/chunk-UNQE3JWX.js.map +0 -1
  137. package/dist/chunk-VW6MFQFW.js.map +0 -1
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkVD33HXFZ_cjs = require('../chunk-VD33HXFZ.cjs');
4
+ var chunkWW2H5C6L_cjs = require('../chunk-WW2H5C6L.cjs');
5
5
  var chunk4RTNI2QY_cjs = require('../chunk-4RTNI2QY.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 chunkVMOQKGJW_cjs = require('../chunk-VMOQKGJW.cjs');
10
- var chunkUSIRUI2M_cjs = require('../chunk-USIRUI2M.cjs');
10
+ var chunkQSPKL754_cjs = require('../chunk-QSPKL754.cjs');
11
11
  var chunkSOS2WASA_cjs = require('../chunk-SOS2WASA.cjs');
12
12
  var chunkYZ6YOOTF_cjs = require('../chunk-YZ6YOOTF.cjs');
13
13
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
14
- var chunkMM5Q7AJL_cjs = require('../chunk-MM5Q7AJL.cjs');
14
+ var chunkTQXMASFX_cjs = require('../chunk-TQXMASFX.cjs');
15
15
  var chunkIU3SXE62_cjs = require('../chunk-IU3SXE62.cjs');
16
- var chunkSWILV6LT_cjs = require('../chunk-SWILV6LT.cjs');
17
- var chunkMT3RPUQC_cjs = require('../chunk-MT3RPUQC.cjs');
16
+ var chunkTGHBXJTN_cjs = require('../chunk-TGHBXJTN.cjs');
17
+ var chunkH7UDEZEO_cjs = require('../chunk-H7UDEZEO.cjs');
18
18
  var chunkPZYPWY7G_cjs = require('../chunk-PZYPWY7G.cjs');
19
19
  var chunkYMNKMIFG_cjs = require('../chunk-YMNKMIFG.cjs');
20
20
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
@@ -24,7 +24,7 @@ require('../chunk-UMMZNZV3.cjs');
24
24
  require('../chunk-AEQT2QQX.cjs');
25
25
  var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
26
26
  require('../chunk-XNW62J54.cjs');
27
- var chunkWGAGIF4F_cjs = require('../chunk-WGAGIF4F.cjs');
27
+ var chunk2ROYKDEA_cjs = require('../chunk-2ROYKDEA.cjs');
28
28
  var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
29
29
  var chunkLCPU44GW_cjs = require('../chunk-LCPU44GW.cjs');
30
30
  var chunk53RXGFJ6_cjs = require('../chunk-53RXGFJ6.cjs');
@@ -32,21 +32,21 @@ var chunkCWPKWXFU_cjs = require('../chunk-CWPKWXFU.cjs');
32
32
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
33
33
  var chunkJXKNPKU6_cjs = require('../chunk-JXKNPKU6.cjs');
34
34
  var chunkEAA2X45O_cjs = require('../chunk-EAA2X45O.cjs');
35
- var chunkHJBVSG6H_cjs = require('../chunk-HJBVSG6H.cjs');
35
+ var chunkQYDMOBGP_cjs = require('../chunk-QYDMOBGP.cjs');
36
36
  var chunk6KQVTMRL_cjs = require('../chunk-6KQVTMRL.cjs');
37
- var chunkJ24LYNTY_cjs = require('../chunk-J24LYNTY.cjs');
37
+ var chunkILH2KOHA_cjs = require('../chunk-ILH2KOHA.cjs');
38
38
  var chunkMMSHLHTA_cjs = require('../chunk-MMSHLHTA.cjs');
39
- var chunkERDQ4DAX_cjs = require('../chunk-ERDQ4DAX.cjs');
39
+ var chunk2GFB43GN_cjs = require('../chunk-2GFB43GN.cjs');
40
40
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
41
41
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
42
42
  var chunk2VJBIBPE_cjs = require('../chunk-2VJBIBPE.cjs');
43
- var chunkIK4MSXXR_cjs = require('../chunk-IK4MSXXR.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 chunk4VSRSF4Q_cjs = require('../chunk-4VSRSF4Q.cjs');
49
+ var chunk2VWE46ZF_cjs = require('../chunk-2VWE46ZF.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');
@@ -56,7 +56,7 @@ var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
56
56
  require('../chunk-PCB2BPN3.cjs');
57
57
  var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
58
58
  var chunkVDYDN36N_cjs = require('../chunk-VDYDN36N.cjs');
59
- var chunkETYBZA5E_cjs = require('../chunk-ETYBZA5E.cjs');
59
+ var chunkIGVTLCHD_cjs = require('../chunk-IGVTLCHD.cjs');
60
60
  require('../chunk-7G2LJMUG.cjs');
61
61
  var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
62
62
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
@@ -76,12 +76,12 @@ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
76
76
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
77
77
  require('../chunk-OEJQFPWO.cjs');
78
78
  require('../chunk-BQOL4XNZ.cjs');
79
- var chunkKBXATCF4_cjs = require('../chunk-KBXATCF4.cjs');
79
+ var chunkANT32I6E_cjs = require('../chunk-ANT32I6E.cjs');
80
80
  var chunkTP5PGWIO_cjs = require('../chunk-TP5PGWIO.cjs');
81
81
  require('../chunk-I4IS6ST6.cjs');
82
82
  var chunkIIAFQZCI_cjs = require('../chunk-IIAFQZCI.cjs');
83
83
  require('../chunk-EVZH6Z5O.cjs');
84
- require('../chunk-ZATTTPWL.cjs');
84
+ require('../chunk-KCP42W67.cjs');
85
85
  require('../chunk-3YEXZX4H.cjs');
86
86
  require('../chunk-FDNIK5YS.cjs');
87
87
  var chunkDX3Z2COD_cjs = require('../chunk-DX3Z2COD.cjs');
@@ -93,7 +93,7 @@ require('../chunk-AHDJXIUB.cjs');
93
93
  var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
94
94
  var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
95
95
  var chunkTTPJ2G3G_cjs = require('../chunk-TTPJ2G3G.cjs');
96
- var chunkLKK52DEY_cjs = require('../chunk-LKK52DEY.cjs');
96
+ var chunkXNXNLXIC_cjs = require('../chunk-XNXNLXIC.cjs');
97
97
  var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
98
98
  var chunk25UUJRSJ_cjs = require('../chunk-25UUJRSJ.cjs');
99
99
  var chunkVYJF4ZQY_cjs = require('../chunk-VYJF4ZQY.cjs');
@@ -250,7 +250,7 @@ function ConnectedWorkspaceActivity({
250
250
  [feed.data]
251
251
  );
252
252
  return /* @__PURE__ */ jsxRuntime.jsx(
253
- chunk4VSRSF4Q_cjs.WorkspaceActivityList,
253
+ chunk2VWE46ZF_cjs.WorkspaceActivityList,
254
254
  {
255
255
  ...listProps,
256
256
  items,
@@ -1144,7 +1144,7 @@ function NotificationCenter({
1144
1144
  ) }),
1145
1145
  /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "notifications-list", className: "flex flex-1 flex-col min-h-0 px-3 pt-1", children: [
1146
1146
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ jsxRuntime.jsx(
1147
- chunkLKK52DEY_cjs.GridView,
1147
+ chunkXNXNLXIC_cjs.GridView,
1148
1148
  {
1149
1149
  items: filtered,
1150
1150
  columnDefs,
@@ -1433,14 +1433,14 @@ function ConnectedOfflineStatus({ compact = false }) {
1433
1433
  const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
1434
1434
  let tone;
1435
1435
  let label;
1436
- let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkJ24LYNTY_cjs.openPendingSyncDialog;
1436
+ let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkILH2KOHA_cjs.openPendingSyncDialog;
1437
1437
  if (!isOnline) {
1438
1438
  tone = "offline";
1439
1439
  label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
1440
1440
  } else if (failed > 0) {
1441
1441
  tone = "failed";
1442
1442
  label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
1443
- onOpen = chunkJ24LYNTY_cjs.openPendingSyncDialog;
1443
+ onOpen = chunkILH2KOHA_cjs.openPendingSyncDialog;
1444
1444
  } else if (outboxFailed > 0) {
1445
1445
  tone = "failed";
1446
1446
  label = `${plural(outboxFailed, "email", "emails")} not sent`;
@@ -1572,7 +1572,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1572
1572
  onChange: (e) => {
1573
1573
  const file = e.target.files?.[0];
1574
1574
  e.target.value = "";
1575
- if (file) void add(() => chunkKBXATCF4_cjs.importSkillFile(file));
1575
+ if (file) void add(() => chunkANT32I6E_cjs.importSkillFile(file));
1576
1576
  }
1577
1577
  }
1578
1578
  ),
@@ -1597,7 +1597,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1597
1597
  className: "space-y-2",
1598
1598
  onSubmit: (e) => {
1599
1599
  e.preventDefault();
1600
- if (url.trim()) void add(() => chunkKBXATCF4_cjs.importSkillFromUrl(url));
1600
+ if (url.trim()) void add(() => chunkANT32I6E_cjs.importSkillFromUrl(url));
1601
1601
  },
1602
1602
  children: [
1603
1603
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1665,9 +1665,9 @@ function ConnectedSkillsLibrary({
1665
1665
  const [type, setType] = react$1.useState("all");
1666
1666
  const [view, setView] = react$1.useState("gallery");
1667
1667
  const [isBusy, setIsBusy] = react$1.useState(false);
1668
- const all = react$1.useMemo(() => chunkKBXATCF4_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1668
+ const all = react$1.useMemo(() => chunkANT32I6E_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1669
1669
  const shown = react$1.useMemo(
1670
- () => chunkKBXATCF4_cjs.filterLibrarySkills(all, { query, source, type }),
1670
+ () => chunkANT32I6E_cjs.filterLibrarySkills(all, { query, source, type }),
1671
1671
  [all, query, source, type]
1672
1672
  );
1673
1673
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1678,21 +1678,21 @@ function ConnectedSkillsLibrary({
1678
1678
  const count2 = (s) => all.filter((x) => x.source === s).length;
1679
1679
  const sourceOptions = [
1680
1680
  { id: "all", label: "All", count: all.length },
1681
- { id: "builtin", label: chunkKBXATCF4_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1682
- { id: "mine", label: chunkKBXATCF4_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1683
- { id: "shared", label: chunkKBXATCF4_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1681
+ { id: "builtin", label: chunkANT32I6E_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1682
+ { id: "mine", label: chunkANT32I6E_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1683
+ { id: "shared", label: chunkANT32I6E_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1684
1684
  ];
1685
1685
  const types = [...new Set(all.map((s) => s.type))];
1686
1686
  const typeOptions = [
1687
1687
  { id: "all", label: "Any kind" },
1688
- ...types.map((t) => ({ id: t, label: chunkKBXATCF4_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1688
+ ...types.map((t) => ({ id: t, label: chunkANT32I6E_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1689
1689
  ];
1690
1690
  const pick = (slug) => {
1691
1691
  setSelected(slug);
1692
1692
  setMode("detail");
1693
1693
  };
1694
1694
  const markdownOf = async (skill) => {
1695
- if (!skill.docExtId) return chunkKBXATCF4_cjs.workflowToSkillMarkdown(skill.workflow);
1695
+ if (!skill.docExtId) return chunkANT32I6E_cjs.workflowToSkillMarkdown(skill.workflow);
1696
1696
  const response = await arbi.documents.download(skill.docExtId);
1697
1697
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1698
1698
  return response.text();
@@ -1756,7 +1756,7 @@ function ConnectedSkillsLibrary({
1756
1756
  try {
1757
1757
  documentTools.downloadBlob(
1758
1758
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1759
- chunkKBXATCF4_cjs.SKILL_MAIN_FILENAME
1759
+ chunkANT32I6E_cjs.SKILL_MAIN_FILENAME
1760
1760
  );
1761
1761
  } catch (error) {
1762
1762
  notify17(errorText(error, "Could not export the skill"), "error");
@@ -1797,10 +1797,10 @@ function ConnectedSkillsLibrary({
1797
1797
  }
1798
1798
  )
1799
1799
  ] }),
1800
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.SkillViewToggle, { value: view, onChange: setView })
1800
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.SkillViewToggle, { value: view, onChange: setView })
1801
1801
  ] }),
1802
1802
  /* @__PURE__ */ jsxRuntime.jsx(
1803
- chunkKBXATCF4_cjs.SkillFilterChips,
1803
+ chunkANT32I6E_cjs.SkillFilterChips,
1804
1804
  {
1805
1805
  label: "Show",
1806
1806
  value: source,
@@ -1809,7 +1809,7 @@ function ConnectedSkillsLibrary({
1809
1809
  }
1810
1810
  ),
1811
1811
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1812
- chunkKBXATCF4_cjs.SkillFilterChips,
1812
+ chunkANT32I6E_cjs.SkillFilterChips,
1813
1813
  {
1814
1814
  label: "Kind",
1815
1815
  value: type,
@@ -1856,12 +1856,12 @@ function ConnectedSkillsLibrary({
1856
1856
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1857
1857
  ),
1858
1858
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1859
- chunkKBXATCF4_cjs.SkillTile,
1859
+ chunkANT32I6E_cjs.SkillTile,
1860
1860
  {
1861
1861
  name: skill.title,
1862
1862
  testId: `skill-tile-${skill.slug}`,
1863
1863
  description: skill.description,
1864
- sourceLabel: skill.isShared ? `${chunkKBXATCF4_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkKBXATCF4_cjs.SKILL_SOURCE_LABELS[skill.source],
1864
+ sourceLabel: skill.isShared ? `${chunkANT32I6E_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkANT32I6E_cjs.SKILL_SOURCE_LABELS[skill.source],
1865
1865
  type: skill.type,
1866
1866
  icon,
1867
1867
  layout: view,
@@ -1896,7 +1896,7 @@ function ConnectedSkillsLibrary({
1896
1896
  }
1897
1897
  ),
1898
1898
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1899
- chunkKBXATCF4_cjs.SkillGenerateForm,
1899
+ chunkANT32I6E_cjs.SkillGenerateForm,
1900
1900
  {
1901
1901
  icon,
1902
1902
  onGenerate: (desc) => {
@@ -1923,11 +1923,11 @@ function ConnectedSkillsLibrary({
1923
1923
  ),
1924
1924
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1925
1925
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1926
- chunkKBXATCF4_cjs.SkillLibraryDetail,
1926
+ chunkANT32I6E_cjs.SkillLibraryDetail,
1927
1927
  {
1928
1928
  skill: current,
1929
1929
  icon,
1930
- instructions: current.docExtId ? currentText ? chunkKBXATCF4_cjs.parseSkillFrontmatter(currentText, chunkKBXATCF4_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1930
+ instructions: current.docExtId ? currentText ? chunkANT32I6E_cjs.parseSkillFrontmatter(currentText, chunkANT32I6E_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1931
1931
  isLoading: !!current.docExtId && textLoading,
1932
1932
  actions: {
1933
1933
  onRun: () => onRun(current.slug),
@@ -1962,7 +1962,7 @@ function SkillEditor({
1962
1962
  const [seeded, setSeeded] = react$1.useState(!isEditing);
1963
1963
  const [nameError, setNameError] = react$1.useState(null);
1964
1964
  if (isEditing && !seeded && text !== void 0) {
1965
- const parsed = chunkKBXATCF4_cjs.parseSkillFrontmatter(text, chunkKBXATCF4_cjs.SKILL_MAIN_FILENAME);
1965
+ const parsed = chunkANT32I6E_cjs.parseSkillFrontmatter(text, chunkANT32I6E_cjs.SKILL_MAIN_FILENAME);
1966
1966
  setDescription(parsed.description ?? "");
1967
1967
  setBody(parsed.content ?? "");
1968
1968
  setSeeded(true);
@@ -1976,15 +1976,15 @@ function SkillEditor({
1976
1976
  notify17("Add a short description.", "error");
1977
1977
  return;
1978
1978
  }
1979
- const slug = chunkKBXATCF4_cjs.skillSlug(name);
1979
+ const slug = chunkANT32I6E_cjs.skillSlug(name);
1980
1980
  try {
1981
- await onSave(slug, chunkKBXATCF4_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1981
+ await onSave(slug, chunkANT32I6E_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1982
1982
  } catch (err) {
1983
1983
  notify17(errorText(err, "Could not save the skill"), "error");
1984
1984
  }
1985
1985
  };
1986
1986
  return /* @__PURE__ */ jsxRuntime.jsx(
1987
- chunkKBXATCF4_cjs.SkillEditForm,
1987
+ chunkANT32I6E_cjs.SkillEditForm,
1988
1988
  {
1989
1989
  name,
1990
1990
  onNameChange: setName,
@@ -2076,7 +2076,7 @@ function ConnectedSkillsBrowser({
2076
2076
  }
2077
2077
  ) }),
2078
2078
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
2079
- chunkUSIRUI2M_cjs.ConnectedTaskComposer,
2079
+ chunkQSPKL754_cjs.ConnectedTaskComposer,
2080
2080
  {
2081
2081
  kind: "workflow",
2082
2082
  open: true,
@@ -2100,9 +2100,9 @@ function ConnectedAgentCreator({
2100
2100
  agent,
2101
2101
  initialName,
2102
2102
  onSaved,
2103
- capabilities = chunkKBXATCF4_cjs.DEFAULT_AGENT_CAPABILITIES,
2104
- templates = chunkKBXATCF4_cjs.DEFAULT_AGENT_TEMPLATES,
2105
- types = chunkKBXATCF4_cjs.DEFAULT_AGENT_TYPES,
2103
+ capabilities = chunkANT32I6E_cjs.DEFAULT_AGENT_CAPABILITIES,
2104
+ templates = chunkANT32I6E_cjs.DEFAULT_AGENT_TEMPLATES,
2105
+ types = chunkANT32I6E_cjs.DEFAULT_AGENT_TYPES,
2106
2106
  canRevokeWorkspaces = false,
2107
2107
  labels
2108
2108
  }) {
@@ -2144,7 +2144,7 @@ function ConnectedAgentCreator({
2144
2144
  const initialValues = react$1.useMemo(
2145
2145
  () => ({
2146
2146
  name: agent?.given_name ?? initialName ?? "",
2147
- persona: isEdit ? chunkKBXATCF4_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2147
+ persona: isEdit ? chunkANT32I6E_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2148
2148
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2149
2149
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2150
2150
  type: "builtin",
@@ -2163,7 +2163,7 @@ function ConnectedAgentCreator({
2163
2163
  try {
2164
2164
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2165
2165
  if (!agentExtId) {
2166
- if (!chunkKBXATCF4_cjs.isValidAgentName(values.name)) {
2166
+ if (!chunkANT32I6E_cjs.isValidAgentName(values.name)) {
2167
2167
  notify17("Give the agent a name first.", "error");
2168
2168
  return;
2169
2169
  }
@@ -2199,7 +2199,7 @@ function ConnectedAgentCreator({
2199
2199
  title: `agent-${name}`,
2200
2200
  sections: {
2201
2201
  Agents: {
2202
- PERSONA: chunkKBXATCF4_cjs.composePersona(name, values.persona),
2202
+ PERSONA: chunkANT32I6E_cjs.composePersona(name, values.persona),
2203
2203
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2204
2204
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2205
2205
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2222,7 +2222,7 @@ function ConnectedAgentCreator({
2222
2222
  };
2223
2223
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2224
2224
  /* @__PURE__ */ jsxRuntime.jsx(
2225
- chunkKBXATCF4_cjs.AgentCreator,
2225
+ chunkANT32I6E_cjs.AgentCreator,
2226
2226
  {
2227
2227
  open: ready,
2228
2228
  onOpenChange,
@@ -2238,11 +2238,11 @@ function ConnectedAgentCreator({
2238
2238
  ) : void 0,
2239
2239
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2240
2240
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2241
- chunkKBXATCF4_cjs.AgentAvatarField,
2241
+ chunkANT32I6E_cjs.AgentAvatarField,
2242
2242
  {
2243
2243
  picture,
2244
2244
  isBusy: avatarBusy,
2245
- canGenerate: isEdit || chunkKBXATCF4_cjs.isValidAgentName(values.name),
2245
+ canGenerate: isEdit || chunkANT32I6E_cjs.isValidAgentName(values.name),
2246
2246
  onGenerate: () => handleGenerateAvatar(values)
2247
2247
  }
2248
2248
  ),
@@ -2294,7 +2294,7 @@ function ConnectedAgentCreator({
2294
2294
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2295
2295
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2296
2296
  ] }),
2297
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2297
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2298
2298
  ]
2299
2299
  }
2300
2300
  ) })
@@ -2686,7 +2686,7 @@ function useMemoryCount(enabled) {
2686
2686
  }
2687
2687
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2688
2688
  const { notify: notify17, openConversation, openDocument } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
2689
- const people = chunkUSIRUI2M_cjs.useTaskPeople();
2689
+ const people = chunkQSPKL754_cjs.useTaskPeople();
2690
2690
  const canEditShared = react.useCanEditShared();
2691
2691
  const isWorkspaceOwner = react.useIsWorkspaceOwner();
2692
2692
  const { data: workflows = [] } = react.useWorkflows({ live: true });
@@ -2712,7 +2712,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2712
2712
  }, [documents]);
2713
2713
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2714
2714
  /* @__PURE__ */ jsxRuntime.jsx(
2715
- chunkKBXATCF4_cjs.TaskTable,
2715
+ chunkANT32I6E_cjs.TaskTable,
2716
2716
  {
2717
2717
  tasks,
2718
2718
  isLoading,
@@ -2739,7 +2739,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2739
2739
  }
2740
2740
  ),
2741
2741
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2742
- chunkUSIRUI2M_cjs.ConnectedTaskActivityDialog,
2742
+ chunkQSPKL754_cjs.ConnectedTaskActivityDialog,
2743
2743
  {
2744
2744
  conversationId: activityFor.external_id,
2745
2745
  taskName: activityFor.title || l.untitledTask,
@@ -2778,7 +2778,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2778
2778
  [workflows, skills, l.skillFiles]
2779
2779
  );
2780
2780
  const launch = async ({ workflow, inputs, agentId }) => {
2781
- const values = chunkKBXATCF4_cjs.defaultTaskComposerValues(launchable, {
2781
+ const values = chunkANT32I6E_cjs.defaultTaskComposerValues(launchable, {
2782
2782
  workflowId: workflow.id,
2783
2783
  assignee: "agent",
2784
2784
  inputs,
@@ -2898,7 +2898,7 @@ function ConnectedAgentsPageScope(props) {
2898
2898
  children,
2899
2899
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2900
2900
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2901
- chunkUSIRUI2M_cjs.ConnectedTaskComposer,
2901
+ chunkQSPKL754_cjs.ConnectedTaskComposer,
2902
2902
  {
2903
2903
  open: true,
2904
2904
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2920,7 +2920,7 @@ function AgentsGallery() {
2920
2920
  cardTestIds
2921
2921
  } = agentOptions;
2922
2922
  const { openConversation } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
2923
- const tasksByAgent = react$1.useMemo(() => chunkKBXATCF4_cjs.groupAgentTasks(tasks), [tasks]);
2923
+ const tasksByAgent = react$1.useMemo(() => chunkANT32I6E_cjs.groupAgentTasks(tasks), [tasks]);
2924
2924
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2925
2925
  const { agents } = management;
2926
2926
  const cardDetails = (agent) => details.map(
@@ -2935,7 +2935,7 @@ function AgentsGallery() {
2935
2935
  ) : 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)
2936
2936
  );
2937
2937
  return /* @__PURE__ */ jsxRuntime.jsx(
2938
- chunkKBXATCF4_cjs.AgentGallery,
2938
+ chunkANT32I6E_cjs.AgentGallery,
2939
2939
  {
2940
2940
  count: agents.length,
2941
2941
  onCreate: management.create,
@@ -2945,9 +2945,9 @@ function AgentsGallery() {
2945
2945
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2946
2946
  const running = agentTasks.filter((t) => t.in_progress);
2947
2947
  const watchConversationId = running[0]?.external_id ?? null;
2948
- const progress = agentTasks[0] ? chunkKBXATCF4_cjs.goalProgress(agentTasks[0]) : null;
2948
+ const progress = agentTasks[0] ? chunkANT32I6E_cjs.goalProgress(agentTasks[0]) : null;
2949
2949
  return /* @__PURE__ */ jsxRuntime.jsx(
2950
- chunkKBXATCF4_cjs.AgentCard,
2950
+ chunkANT32I6E_cjs.AgentCard,
2951
2951
  {
2952
2952
  name: displayName(agent),
2953
2953
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -3055,7 +3055,7 @@ function AgentsSectionBody({ id }) {
3055
3055
  ) });
3056
3056
  case "scheduled":
3057
3057
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
3058
- chunkWGAGIF4F_cjs.ConnectedWorkflowsTable,
3058
+ chunk2ROYKDEA_cjs.ConnectedWorkflowsTable,
3059
3059
  {
3060
3060
  filter: "scheduled",
3061
3061
  onEdit: (w) => openWorkflow?.(w.external_id),
@@ -3359,7 +3359,7 @@ function ConnectedTagTable({
3359
3359
  const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
3360
3360
  const snapshot2 = (data) => {
3361
3361
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3362
- const bytes = chunk4VSRSF4Q_cjs.tagTableDocx(data, {
3362
+ const bytes = chunk2VWE46ZF_cjs.tagTableDocx(data, {
3363
3363
  title,
3364
3364
  nameOf: (id) => people.find((p) => p.value === id)?.label
3365
3365
  });
@@ -3368,14 +3368,20 @@ function ConnectedTagTable({
3368
3368
  return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
3369
3369
  };
3370
3370
  return /* @__PURE__ */ jsxRuntime.jsx(
3371
- chunk4VSRSF4Q_cjs.TagTable,
3371
+ chunk2VWE46ZF_cjs.TagTable,
3372
3372
  {
3373
3373
  ...props,
3374
3374
  table,
3375
3375
  isLoading: schema.isLoading || rows.isLoading,
3376
3376
  people,
3377
3377
  tags: tagOptions,
3378
- onChangeValue: readOnly ? void 0 : (tagId, fieldId, value) => setValues.mutateAsync({ tagId, values: { [fieldId]: value } }).catch(fail2("Could not save the value")),
3378
+ onChangeValue: readOnly ? void 0 : (tagId, fieldId, value) => (
3379
+ // Told, then rethrown: the cell puts the stored value back.
3380
+ setValues.mutateAsync({ tagId, values: { [fieldId]: value } }).catch((e) => {
3381
+ fail2("Could not save the value")(e);
3382
+ throw e;
3383
+ })
3384
+ ),
3379
3385
  onChangeColumns: readOnly || !editColumns ? void 0 : (fields) => (
3380
3386
  // A refusal (two columns of one name, a type change) keeps the editor open.
3381
3387
  updateSchema.mutateAsync({ kind, fields }).catch((e) => {
@@ -3452,8 +3458,8 @@ function ConnectedAiReview({
3452
3458
  const generate = react.useGenerateDocTags();
3453
3459
  const { data: liveDocs = [] } = react.useDocuments();
3454
3460
  const { data: tags = [] } = react.useTags();
3455
- const result = chunkHJBVSG6H_cjs.useAiReviewStore((s) => s.run);
3456
- const setResult = chunkHJBVSG6H_cjs.useAiReviewStore((s) => s.setRun);
3461
+ const result = chunkQYDMOBGP_cjs.useAiReviewStore((s) => s.run);
3462
+ const setResult = chunkQYDMOBGP_cjs.useAiReviewStore((s) => s.setRun);
3457
3463
  const phase = result ? "review" : "ask";
3458
3464
  const docCount = documents.length;
3459
3465
  const scope = allDocuments ? "processed" : "selected";
@@ -3687,7 +3693,7 @@ function ConnectedAiReview({
3687
3693
  }, [kind]);
3688
3694
  const description = phase === "ask" ? `Ask one question \u2014 ARBI answers it for each of the ${docCount} ${scope} document${plural2(docCount)}.` : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
3689
3695
  return /* @__PURE__ */ jsxRuntime.jsx(
3690
- chunkERDQ4DAX_cjs.AiReviewDialogView,
3696
+ chunk2GFB43GN_cjs.AiReviewDialogView,
3691
3697
  {
3692
3698
  open,
3693
3699
  onOpenChange: handleOpenChange,
@@ -3738,9 +3744,9 @@ function GlossaryExport({ labelId, nameOf }) {
3738
3744
  const narrowed = agreements.find((a) => a.id === narrowTo);
3739
3745
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
3740
3746
  const download = (format) => {
3741
- const entries = chunk4VSRSF4Q_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3742
- const blob = format === "docx" ? new Blob([chunk4VSRSF4Q_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunk4VSRSF4Q_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3743
- documentTools.downloadBlob(blob, chunk4VSRSF4Q_cjs.glossaryFileName(title, format));
3747
+ const entries = chunk2VWE46ZF_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3748
+ const blob = format === "docx" ? new Blob([chunk2VWE46ZF_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunk2VWE46ZF_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3749
+ documentTools.downloadBlob(blob, chunk2VWE46ZF_cjs.glossaryFileName(title, format));
3744
3750
  };
3745
3751
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
3746
3752
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3804,8 +3810,8 @@ function useOpenTaggedContent() {
3804
3810
  if (!workspaceId) return;
3805
3811
  session.setTransientView("topbar.filter", "");
3806
3812
  if (kind === "documents") {
3807
- chunkHJBVSG6H_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3808
- chunkHJBVSG6H_cjs.useFilesPrefs.getState().setViewMode("grid");
3813
+ chunkQYDMOBGP_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
3814
+ chunkQYDMOBGP_cjs.useFilesPrefs.getState().setViewMode("grid");
3809
3815
  session.setPage("documents");
3810
3816
  } else if (kind === "facts") {
3811
3817
  session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
@@ -3844,7 +3850,7 @@ function ConnectedTagForm({
3844
3850
  nameByKind = false
3845
3851
  }) {
3846
3852
  const isCreate = !tag;
3847
- const memberById = chunkVD33HXFZ_cjs.useMemberLookup();
3853
+ const memberById = chunkWW2H5C6L_cjs.useMemberLookup();
3848
3854
  const creator = memberById(tag?.created_by_ext_id);
3849
3855
  const updater = memberById(tag?.updated_by_ext_id);
3850
3856
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -3923,19 +3929,19 @@ function ConnectedTagForm({
3923
3929
  metaLines.push({
3924
3930
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
3925
3931
  byLabel: "by",
3926
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkMT3RPUQC_cjs.DocumentUser, { user: creator }) : void 0
3932
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkH7UDEZEO_cjs.DocumentUser, { user: creator }) : void 0
3927
3933
  });
3928
3934
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
3929
3935
  metaLines.push({
3930
3936
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
3931
3937
  byLabel: "by",
3932
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkMT3RPUQC_cjs.DocumentUser, { user: updater }) : void 0
3938
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkH7UDEZEO_cjs.DocumentUser, { user: updater }) : void 0
3933
3939
  });
3934
3940
  }
3935
3941
  }
3936
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.TagFormRoot, { children: [
3942
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.TagFormRoot, { children: [
3937
3943
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
3938
- chunkERDQ4DAX_cjs.TagFormNameField,
3944
+ chunk2GFB43GN_cjs.TagFormNameField,
3939
3945
  {
3940
3946
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
3941
3947
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -3945,7 +3951,7 @@ function ConnectedTagForm({
3945
3951
  }
3946
3952
  ),
3947
3953
  kinds.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3948
- chunkERDQ4DAX_cjs.TagFormSelectField,
3954
+ chunk2GFB43GN_cjs.TagFormSelectField,
3949
3955
  {
3950
3956
  label: "Kind",
3951
3957
  testId: "inline-tag-form-kind-field",
@@ -3960,7 +3966,7 @@ function ConnectedTagForm({
3960
3966
  }
3961
3967
  ),
3962
3968
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
3963
- chunkERDQ4DAX_cjs.TagFormSelectField,
3969
+ chunk2GFB43GN_cjs.TagFormSelectField,
3964
3970
  {
3965
3971
  label: group === "annotation" ? "Value type" : "Field Type",
3966
3972
  testId: "inline-tag-form-type-field",
@@ -3972,7 +3978,7 @@ function ConnectedTagForm({
3972
3978
  }
3973
3979
  ),
3974
3980
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
3975
- chunkERDQ4DAX_cjs.TagFormSelectField,
3981
+ chunk2GFB43GN_cjs.TagFormSelectField,
3976
3982
  {
3977
3983
  label: "Nested Under",
3978
3984
  value: parentId,
@@ -3994,14 +4000,14 @@ function ConnectedTagForm({
3994
4000
  ]
3995
4001
  }
3996
4002
  ),
3997
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4003
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
3998
4004
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
3999
4005
  " ",
4000
4006
  browser.TAG_NESTING_MAX_DEPTH,
4001
4007
  " levels deep."
4002
4008
  ] }),
4003
4009
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
4004
- chunkERDQ4DAX_cjs.TagFormOptionsEditor,
4010
+ chunk2GFB43GN_cjs.TagFormOptionsEditor,
4005
4011
  {
4006
4012
  label: "Options",
4007
4013
  options: options2,
@@ -4014,7 +4020,7 @@ function ConnectedTagForm({
4014
4020
  }
4015
4021
  ),
4016
4022
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
4017
- chunkERDQ4DAX_cjs.TagFormInstructionField,
4023
+ chunk2GFB43GN_cjs.TagFormInstructionField,
4018
4024
  {
4019
4025
  label: "AI Instruction",
4020
4026
  optionalLabel: "(optional)",
@@ -4024,12 +4030,12 @@ function ConnectedTagForm({
4024
4030
  onChange: setInstruction
4025
4031
  }
4026
4032
  ),
4027
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.TagFormMeta, { lines: metaLines }),
4033
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.TagFormMeta, { lines: metaLines }),
4028
4034
  /* @__PURE__ */ jsxRuntime.jsx(
4029
- chunkERDQ4DAX_cjs.TagFormFooter,
4035
+ chunk2GFB43GN_cjs.TagFormFooter,
4030
4036
  {
4031
4037
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
4032
- chunkERDQ4DAX_cjs.TagFormSharedToggle,
4038
+ chunk2GFB43GN_cjs.TagFormSharedToggle,
4033
4039
  {
4034
4040
  label: "Shared with workspace",
4035
4041
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -4269,7 +4275,7 @@ function KindSection({
4269
4275
  {
4270
4276
  testId: `tags-kind-${kind}`,
4271
4277
  title: ui.tagKindTitle(kind, { plural: true }),
4272
- description: chunk4VSRSF4Q_cjs.tagKindDescription(kind),
4278
+ description: chunk2VWE46ZF_cjs.tagKindDescription(kind),
4273
4279
  children: [
4274
4280
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
4275
4281
  "p",
@@ -4279,9 +4285,9 @@ function KindSection({
4279
4285
  children: [
4280
4286
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
4281
4287
  "Extracting ",
4282
- chunk4VSRSF4Q_cjs.entitiesPhrase().toLowerCase(),
4288
+ chunk2VWE46ZF_cjs.entitiesPhrase().toLowerCase(),
4283
4289
  " from ",
4284
- chunk4VSRSF4Q_cjs.documentCount(extractingCount),
4290
+ chunk2VWE46ZF_cjs.documentCount(extractingCount),
4285
4291
  "\u2026"
4286
4292
  ]
4287
4293
  }
@@ -4299,7 +4305,7 @@ function KindSection({
4299
4305
  onOpenTag: ctx.onOpenTag,
4300
4306
  onOpenRow: ctx.onOpenTag,
4301
4307
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4302
- labels: chunk4VSRSF4Q_cjs.tagTableLabels(kind),
4308
+ labels: chunk2VWE46ZF_cjs.tagTableLabels(kind),
4303
4309
  testId: `tags-table-${kind}`
4304
4310
  }
4305
4311
  )
@@ -4407,23 +4413,29 @@ function TagSection({
4407
4413
  onOpenTag: ctx.onOpenTag,
4408
4414
  onOpenRow: ctx.onOpenTag,
4409
4415
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4410
- labels: chunk4VSRSF4Q_cjs.tagTableLabels(tag.kind),
4416
+ labels: chunk2VWE46ZF_cjs.tagTableLabels(tag.kind),
4411
4417
  testId: "tags-rows"
4412
4418
  }
4413
4419
  ),
4414
4420
  /* @__PURE__ */ jsxRuntime.jsx(
4415
- chunk4VSRSF4Q_cjs.TagDetail,
4421
+ chunk2VWE46ZF_cjs.TagDetail,
4416
4422
  {
4417
4423
  onOpenTaggedItems: ctx.onOpenTaggedItems,
4418
- fieldLabels: chunk4VSRSF4Q_cjs.tagTableLabels(tag.kind),
4424
+ fieldLabels: chunk2VWE46ZF_cjs.tagTableLabels(tag.kind),
4419
4425
  row: detailRow,
4420
4426
  fields: schema.data?.fields ?? [],
4421
4427
  isLoading: detail.isLoading,
4422
4428
  people,
4423
4429
  tags: tagOptions,
4424
4430
  onOpenTag: ctx.onOpenTag,
4425
- onChangeValue: (id, fieldId, value) => setValues.mutateAsync({ tagId: id, values: { [fieldId]: value } }).catch((e) => notify17(browser.refusalReason(e, "Could not save the value"), "error")),
4426
- labels: chunk4VSRSF4Q_cjs.tagDetailLabels(),
4431
+ onChangeValue: (id, fieldId, value) => (
4432
+ // Told, then rethrown: the field puts the stored value back.
4433
+ setValues.mutateAsync({ tagId: id, values: { [fieldId]: value } }).catch((e) => {
4434
+ notify17(browser.refusalReason(e, "Could not save the value"), "error");
4435
+ throw e;
4436
+ })
4437
+ ),
4438
+ labels: chunk2VWE46ZF_cjs.tagDetailLabels(),
4427
4439
  testId: "tags-detail"
4428
4440
  }
4429
4441
  )
@@ -4446,9 +4458,9 @@ var TAG_FILTER_FIELDS = [
4446
4458
  function ConnectedTagsPage() {
4447
4459
  const { confirm, notify: notify17, openSmartSearch } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
4448
4460
  const onOpenTaggedItems = useOpenTaggedContent();
4449
- const setReviewOpen = chunkHJBVSG6H_cjs.useAiReviewStore((state) => state.setOpen);
4450
- const setReviewRun = chunkHJBVSG6H_cjs.useAiReviewStore((state) => state.setRun);
4451
- const reviewOpen = chunkHJBVSG6H_cjs.useAiReviewStore((state) => state.open);
4461
+ const setReviewOpen = chunkQYDMOBGP_cjs.useAiReviewStore((state) => state.setOpen);
4462
+ const setReviewRun = chunkQYDMOBGP_cjs.useAiReviewStore((state) => state.setRun);
4463
+ const reviewOpen = chunkQYDMOBGP_cjs.useAiReviewStore((state) => state.open);
4452
4464
  const [review, setReview] = react$1.useState(null);
4453
4465
  const { data: tags } = chunkXJM3RDLO_cjs.useConnectedTags();
4454
4466
  const { data: documents } = chunkXJM3RDLO_cjs.useConnectedDocuments();
@@ -4498,7 +4510,7 @@ function ConnectedTagsPage() {
4498
4510
  const onDelete = async (t) => {
4499
4511
  const nested = browser.getChildTags([...tags], t.external_id);
4500
4512
  const uses = browser.tagUseCount(t);
4501
- const n2 = chunk4VSRSF4Q_cjs.tagsPageNouns();
4513
+ const n2 = chunk2VWE46ZF_cjs.tagsPageNouns();
4502
4514
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
4503
4515
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
4504
4516
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -4519,11 +4531,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4519
4531
  try {
4520
4532
  await extract.mutateAsync(docIds);
4521
4533
  notify17(
4522
- `Extracting ${chunk4VSRSF4Q_cjs.entitiesPhrase().toLowerCase()} from ${chunk4VSRSF4Q_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4534
+ `Extracting ${chunk2VWE46ZF_cjs.entitiesPhrase().toLowerCase()} from ${chunk2VWE46ZF_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4523
4535
  "info"
4524
4536
  );
4525
4537
  } catch (error) {
4526
- notify17(browser.refusalReason(error, `Could not extract ${chunk4VSRSF4Q_cjs.entitiesPhrase().toLowerCase()}`), "error");
4538
+ notify17(browser.refusalReason(error, `Could not extract ${chunk2VWE46ZF_cjs.entitiesPhrase().toLowerCase()}`), "error");
4527
4539
  throw error;
4528
4540
  }
4529
4541
  };
@@ -4537,10 +4549,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4537
4549
  onOpenTag: openTag,
4538
4550
  onOpenTaggedItems
4539
4551
  };
4540
- const n = chunk4VSRSF4Q_cjs.tagsPageNouns();
4552
+ const n = chunk2VWE46ZF_cjs.tagsPageNouns();
4541
4553
  const action = view === "person" || view === "organisation" ? {
4542
4554
  label: "Extract",
4543
- title: `Extract ${chunk4VSRSF4Q_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4555
+ title: `Extract ${chunk2VWE46ZF_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4544
4556
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
4545
4557
  run: () => setExtracting(true),
4546
4558
  testId: "tags-extract-entities"
@@ -4594,7 +4606,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4594
4606
  onTabChange: () => {
4595
4607
  },
4596
4608
  variant: "underline",
4597
- firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4609
+ firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4598
4610
  chunk6UZC4XVV_cjs.FilterInput,
4599
4611
  {
4600
4612
  value: filterText,
@@ -4616,7 +4628,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4616
4628
  filter: tagFilter
4617
4629
  }
4618
4630
  ) }),
4619
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4631
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4620
4632
  chunkSNUBQMIS_cjs.ViewToggle,
4621
4633
  {
4622
4634
  options: browser.TAG_KINDS.map((k) => ({
@@ -4709,7 +4721,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4709
4721
  }
4710
4722
  ),
4711
4723
  /* @__PURE__ */ jsxRuntime.jsx(
4712
- chunk4VSRSF4Q_cjs.ExtractEntitiesDialog,
4724
+ chunk2VWE46ZF_cjs.ExtractEntitiesDialog,
4713
4725
  {
4714
4726
  open: extracting,
4715
4727
  onOpenChange: setExtracting,
@@ -5297,7 +5309,7 @@ function ConnectedExportPanel({
5297
5309
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5298
5310
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5299
5311
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5300
- chunkERDQ4DAX_cjs.TransferProgressView,
5312
+ chunk2GFB43GN_cjs.TransferProgressView,
5301
5313
  {
5302
5314
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5303
5315
  processed: job.processed ?? 0,
@@ -5310,7 +5322,7 @@ function ConnectedExportPanel({
5310
5322
  ),
5311
5323
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5312
5324
  react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5313
- chunkERDQ4DAX_cjs.TransferResumeBanner,
5325
+ chunk2GFB43GN_cjs.TransferResumeBanner,
5314
5326
  {
5315
5327
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5316
5328
  onResume: () => handleResume(job),
@@ -5318,7 +5330,7 @@ function ConnectedExportPanel({
5318
5330
  }
5319
5331
  ),
5320
5332
  /* @__PURE__ */ jsxRuntime.jsx(
5321
- chunkERDQ4DAX_cjs.ExportResultsReport,
5333
+ chunk2GFB43GN_cjs.ExportResultsReport,
5322
5334
  {
5323
5335
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
5324
5336
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -5331,7 +5343,7 @@ function ConnectedExportPanel({
5331
5343
  ] }),
5332
5344
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5333
5345
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
5334
- chunkERDQ4DAX_cjs.TransferResumeBanner,
5346
+ chunk2GFB43GN_cjs.TransferResumeBanner,
5335
5347
  {
5336
5348
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
5337
5349
  onResume: () => handleResume(resumable),
@@ -5339,7 +5351,7 @@ function ConnectedExportPanel({
5339
5351
  }
5340
5352
  ),
5341
5353
  /* @__PURE__ */ jsxRuntime.jsx(
5342
- chunkERDQ4DAX_cjs.TransferScopeChooser,
5354
+ chunk2GFB43GN_cjs.TransferScopeChooser,
5343
5355
  {
5344
5356
  scope: scopeChoice,
5345
5357
  onScopeChange: setScopeChoice,
@@ -5350,7 +5362,7 @@ function ConnectedExportPanel({
5350
5362
  }
5351
5363
  ),
5352
5364
  /* @__PURE__ */ jsxRuntime.jsx(
5353
- chunkERDQ4DAX_cjs.TransferKindsPicker,
5365
+ chunk2GFB43GN_cjs.TransferKindsPicker,
5354
5366
  {
5355
5367
  options: ALL_KINDS.map((kind) => ({
5356
5368
  kind,
@@ -5363,9 +5375,9 @@ function ConnectedExportPanel({
5363
5375
  )
5364
5376
  }
5365
5377
  ),
5366
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5378
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
5367
5379
  /* @__PURE__ */ jsxRuntime.jsx(
5368
- chunkERDQ4DAX_cjs.ExportMethodChooser,
5380
+ chunk2GFB43GN_cjs.ExportMethodChooser,
5369
5381
  {
5370
5382
  mode,
5371
5383
  onModeChange: setMode,
@@ -5377,17 +5389,17 @@ function ConnectedExportPanel({
5377
5389
  ),
5378
5390
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5379
5391
  /* @__PURE__ */ jsxRuntime.jsx(
5380
- chunkERDQ4DAX_cjs.ExportWorkspacePicker,
5392
+ chunk2GFB43GN_cjs.ExportWorkspacePicker,
5381
5393
  {
5382
5394
  workspaces: workspaceOptions,
5383
5395
  selectedId: targetId,
5384
5396
  onSelect: setTargetId
5385
5397
  }
5386
5398
  ),
5387
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5399
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
5388
5400
  ] }),
5389
5401
  /* @__PURE__ */ jsxRuntime.jsx(
5390
- chunkERDQ4DAX_cjs.TransferPlanSummary,
5402
+ chunk2GFB43GN_cjs.TransferPlanSummary,
5391
5403
  {
5392
5404
  lines: summary.lines,
5393
5405
  warnings: summary.warnings,
@@ -5404,7 +5416,7 @@ function ConnectedExportPanel({
5404
5416
  ] })
5405
5417
  ] }),
5406
5418
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
5407
- chunkERDQ4DAX_cjs.ExportFooter,
5419
+ chunk2GFB43GN_cjs.ExportFooter,
5408
5420
  {
5409
5421
  onCancel: onClose,
5410
5422
  onSubmit: handleSubmit,
@@ -5445,7 +5457,7 @@ function OpenExportDialog({
5445
5457
  children: [
5446
5458
  /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { children: [
5447
5459
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
5448
- chunkERDQ4DAX_cjs.ExportModalTitle,
5460
+ chunk2GFB43GN_cjs.ExportModalTitle,
5449
5461
  {
5450
5462
  workspace: workspace ? {
5451
5463
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -5862,7 +5874,7 @@ function ConnectedFieldsEditor({
5862
5874
  const [sortBy, setSortBy] = react$1.useState("name-asc");
5863
5875
  const [filterText, setFilterText] = react$1.useState("");
5864
5876
  const fieldRows = react$1.useMemo(
5865
- () => browser.flattenTagTree(chunkERDQ4DAX_cjs.sortFields(chunkERDQ4DAX_cjs.filterFieldsByName(tags, filterText), sortBy)),
5877
+ () => browser.flattenTagTree(chunk2GFB43GN_cjs.sortFields(chunk2GFB43GN_cjs.filterFieldsByName(tags, filterText), sortBy)),
5866
5878
  [tags, filterText, sortBy]
5867
5879
  );
5868
5880
  const exportItems = react$1.useMemo(
@@ -5882,7 +5894,7 @@ function ConnectedFieldsEditor({
5882
5894
  setIsDeleting(false);
5883
5895
  }
5884
5896
  };
5885
- const copy = chunkERDQ4DAX_cjs.fieldsApplyBarCopy({
5897
+ const copy = chunk2GFB43GN_cjs.fieldsApplyBarCopy({
5886
5898
  nouns,
5887
5899
  targetNoun,
5888
5900
  fieldCount,
@@ -5891,9 +5903,9 @@ function ConnectedFieldsEditor({
5891
5903
  isApplying,
5892
5904
  isClearing
5893
5905
  });
5894
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FieldsEditorRoot, { children: [
5906
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FieldsEditorRoot, { children: [
5895
5907
  /* @__PURE__ */ jsxRuntime.jsx(
5896
- chunkERDQ4DAX_cjs.FieldsEditorToolbar,
5908
+ chunk2GFB43GN_cjs.FieldsEditorToolbar,
5897
5909
  {
5898
5910
  nouns,
5899
5911
  onNew: () => {
@@ -5921,11 +5933,11 @@ function ConnectedFieldsEditor({
5921
5933
  onSortByChange: setSortBy
5922
5934
  }
5923
5935
  ),
5924
- /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FieldsEditorList, { children: [
5936
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FieldsEditorList, { children: [
5925
5937
  fieldRows.map(({ tag, depth, childCount }) => {
5926
5938
  const isEditingThis = editingTagId === tag.external_id;
5927
5939
  return /* @__PURE__ */ jsxRuntime.jsx(
5928
- chunkERDQ4DAX_cjs.FieldRow,
5940
+ chunk2GFB43GN_cjs.FieldRow,
5929
5941
  {
5930
5942
  tagId: tag.external_id,
5931
5943
  name: tag.name,
@@ -5978,10 +5990,10 @@ function ConnectedFieldsEditor({
5978
5990
  tag.external_id
5979
5991
  );
5980
5992
  }),
5981
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FieldsEmptyState, { children: chunkERDQ4DAX_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5993
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FieldsEmptyState, { children: chunk2GFB43GN_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
5982
5994
  ] }),
5983
5995
  /* @__PURE__ */ jsxRuntime.jsx(
5984
- chunkERDQ4DAX_cjs.FieldsApplyBar,
5996
+ chunk2GFB43GN_cjs.FieldsApplyBar,
5985
5997
  {
5986
5998
  hint: copy.hint,
5987
5999
  applyLabel: copy.applyLabel,
@@ -6057,8 +6069,8 @@ function ConnectedFieldsManager({
6057
6069
  }
6058
6070
  );
6059
6071
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6060
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6061
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6072
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6073
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6062
6074
  ConnectedFieldsEditor,
6063
6075
  {
6064
6076
  group: activeKind,
@@ -6070,7 +6082,7 @@ function ConnectedFieldsManager({
6070
6082
  ] });
6071
6083
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
6072
6084
  /* @__PURE__ */ jsxRuntime.jsxs(chunkMMSHLHTA_cjs.DraggableHeader, { children: [
6073
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6085
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6074
6086
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
6075
6087
  ] }),
6076
6088
  body
@@ -6099,7 +6111,7 @@ function ConnectedFieldsManagerPanel({
6099
6111
  const [createRequest, setCreateRequest] = react.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
6100
6112
  const [kind, setKind] = react.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
6101
6113
  const documentIds = react.useArbiSessionState((s) => s.selectedDocumentIds);
6102
- const reviewing = chunkHJBVSG6H_cjs.useFilesPrefs((state) => chunkHJBVSG6H_cjs.filesViewMode(state) === "navigator");
6114
+ const reviewing = chunkQYDMOBGP_cjs.useFilesPrefs((state) => chunkQYDMOBGP_cjs.filesViewMode(state) === "navigator");
6103
6115
  const viewingId = react.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
6104
6116
  const reviewingId = reviewing ? viewingId : null;
6105
6117
  const handleClose = react$1.useCallback(() => {
@@ -6140,7 +6152,7 @@ function ConnectedFieldsManagerPanel({
6140
6152
  onAnnotationCreated,
6141
6153
  onAiFieldsApplied: (result) => {
6142
6154
  session.closePanel(FIELDS_MANAGER_PANEL);
6143
- const review = chunkHJBVSG6H_cjs.useAiReviewStore.getState();
6155
+ const review = chunkQYDMOBGP_cjs.useAiReviewStore.getState();
6144
6156
  review.setRun(result);
6145
6157
  review.setOpen(true);
6146
6158
  }
@@ -6515,7 +6527,7 @@ var factNouns = () => ({
6515
6527
  function useWorkspaceAsk() {
6516
6528
  const { openNewConversation, openFiles } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
6517
6529
  const { workspaceId } = chunk7UAAMA5U_cjs.useConnectedWorkspace();
6518
- const setFilesViewMode = chunkHJBVSG6H_cjs.useFilesPrefs((state) => state.setViewMode);
6530
+ const setFilesViewMode = chunkQYDMOBGP_cjs.useFilesPrefs((state) => state.setViewMode);
6519
6531
  const ask = react$1.useCallback(
6520
6532
  (text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
6521
6533
  [openNewConversation]
@@ -7043,7 +7055,7 @@ function useFactFilters(notes, view, chat) {
7043
7055
  (selected, setSelected, opts) => {
7044
7056
  const applied = new Set(selected);
7045
7057
  return /* @__PURE__ */ jsxRuntime.jsx(chunkYMNKMIFG_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7046
- chunkERDQ4DAX_cjs.FieldLabelsSelect,
7058
+ chunk2GFB43GN_cjs.FieldLabelsSelect,
7047
7059
  {
7048
7060
  options: labelOptions,
7049
7061
  appliedIds: applied,
@@ -7270,7 +7282,7 @@ var FactHeader = react$1.memo(function FactHeader2({
7270
7282
  if (params.enableSorting) params.progressSort(e.shiftKey);
7271
7283
  },
7272
7284
  children: [
7273
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilterButton, { params, colId }),
7285
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilterButton, { params, colId }),
7274
7286
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
7275
7287
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
7276
7288
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7542,7 +7554,7 @@ function useFactsPageView() {
7542
7554
  "facts.searchFields",
7543
7555
  DEFAULT_SEARCH_FIELDS
7544
7556
  );
7545
- const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkERDQ4DAX_cjs.ROW_MIN);
7557
+ const rowHeight = react.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunk2GFB43GN_cjs.ROW_MIN);
7546
7558
  const labelWidth = react.useArbiSessionState(
7547
7559
  (s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
7548
7560
  );
@@ -7776,7 +7788,7 @@ function ConnectedFactsPage() {
7776
7788
  const view = pageView.view;
7777
7789
  const setView = pageView.setView;
7778
7790
  const openLabels = () => openFieldsManagerIn(session, "label");
7779
- const factsRowHeight = pageView.rowHeight === chunkERDQ4DAX_cjs.ROW_MIN ? chunkERDQ4DAX_cjs.ROW_MIN : chunkERDQ4DAX_cjs.rowHeightForLines(chunkERDQ4DAX_cjs.linesForRowHeight(pageView.rowHeight));
7791
+ const factsRowHeight = pageView.rowHeight === chunk2GFB43GN_cjs.ROW_MIN ? chunk2GFB43GN_cjs.ROW_MIN : chunk2GFB43GN_cjs.rowHeightForLines(chunk2GFB43GN_cjs.linesForRowHeight(pageView.rowHeight));
7780
7792
  const [isExportOpen, setIsExportOpen] = react$1.useState(false);
7781
7793
  const [filterOpen, setFilterOpen] = react$1.useState(false);
7782
7794
  const [factSection, setFactSection] = react$1.useState(null);
@@ -7829,7 +7841,7 @@ function ConnectedFactsPage() {
7829
7841
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
7830
7842
  navSlotRef: setNavSlot,
7831
7843
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
7832
- chunk4VSRSF4Q_cjs.GridRowNavigator,
7844
+ chunk2VWE46ZF_cjs.GridRowNavigator,
7833
7845
  {
7834
7846
  gridApi,
7835
7847
  selectedId: editingId,
@@ -7842,7 +7854,7 @@ function ConnectedFactsPage() {
7842
7854
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
7843
7855
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkYMNKMIFG_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
7844
7856
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
7845
- chunkERDQ4DAX_cjs.RowDensityControl,
7857
+ chunk2GFB43GN_cjs.RowDensityControl,
7846
7858
  {
7847
7859
  rowHeight: factsRowHeight,
7848
7860
  onRowHeightChange: pageView.setRowHeight,
@@ -8016,7 +8028,7 @@ function ConnectedFactsPage() {
8016
8028
  className: ui.cn("h-full", view !== "table" || notes.length === 0 ? "hidden" : void 0),
8017
8029
  "data-testid": "facts-table-pane",
8018
8030
  children: /* @__PURE__ */ jsxRuntime.jsx(
8019
- chunkLKK52DEY_cjs.GridView,
8031
+ chunkXNXNLXIC_cjs.GridView,
8020
8032
  {
8021
8033
  items: filteredNotes,
8022
8034
  columnDefs: grid.factColumns,
@@ -8106,7 +8118,7 @@ function useConnectedShellWorkspaces(options2 = {}) {
8106
8118
  function ConnectedSsoDisconnect() {
8107
8119
  const { client } = react.useAccountClient();
8108
8120
  const { data: profile } = react.useProfile();
8109
- const auth = chunkMM5Q7AJL_cjs.useAuthPages();
8121
+ const auth = chunkTQXMASFX_cjs.useAuthPages();
8110
8122
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
8111
8123
  const [open, setOpen] = react$1.useState(false);
8112
8124
  const [step, setStep] = react$1.useState("email");
@@ -8284,14 +8296,14 @@ function ConnectedAccountSettings({
8284
8296
  }) {
8285
8297
  const [logoutOpen, setLogoutOpen] = react$1.useState(false);
8286
8298
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
8287
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8299
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8288
8300
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
8289
8301
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
8290
8302
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
8291
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedSecuritySection, { children: securityRows }),
8303
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedSecuritySection, { children: securityRows }),
8292
8304
  moreSettings,
8293
8305
  /* @__PURE__ */ jsxRuntime.jsx(
8294
- chunkMM5Q7AJL_cjs.ConnectedIdentityVerification,
8306
+ chunkTQXMASFX_cjs.ConnectedIdentityVerification,
8295
8307
  {
8296
8308
  collapsible: true,
8297
8309
  onManageBilling,
@@ -8301,7 +8313,7 @@ function ConnectedAccountSettings({
8301
8313
  ] }),
8302
8314
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
8303
8315
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
8304
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8316
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8305
8317
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
8306
8318
  ui.Button,
8307
8319
  {
@@ -8318,9 +8330,9 @@ function ConnectedAccountSettings({
8318
8330
  }
8319
8331
  ) })
8320
8332
  ] }) }),
8321
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8333
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
8322
8334
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
8323
- chunkMM5Q7AJL_cjs.ConnectedLogoutDialog,
8335
+ chunkTQXMASFX_cjs.ConnectedLogoutDialog,
8324
8336
  {
8325
8337
  open: logoutOpen,
8326
8338
  onClose: () => setLogoutOpen(false),
@@ -8661,7 +8673,7 @@ function ConnectedPrivacySettings({
8661
8673
  }
8662
8674
  )
8663
8675
  ] }) }),
8664
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedNotificationPreferences, {})
8676
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedNotificationPreferences, {})
8665
8677
  ] });
8666
8678
  }
8667
8679
  var PROVIDER_NAMES = {
@@ -8793,7 +8805,7 @@ function ConnectedPremiumModels() {
8793
8805
  if (target !== void 0) save(target);
8794
8806
  },
8795
8807
  children: /* @__PURE__ */ jsxRuntime.jsx(
8796
- chunkLKK52DEY_cjs.GridView,
8808
+ chunkXNXNLXIC_cjs.GridView,
8797
8809
  {
8798
8810
  items: rows,
8799
8811
  columnDefs: COLUMNS,
@@ -10642,7 +10654,7 @@ function ConnectedRecoveryKeyDialog({
10642
10654
  const arbi = react.useArbi();
10643
10655
  const { user, isSso: isSsoMode } = react.useArbiSession();
10644
10656
  const userEmail = user?.email;
10645
- const sso = chunkMM5Q7AJL_cjs.useSsoSignIn();
10657
+ const sso = chunkTQXMASFX_cjs.useSsoSignIn();
10646
10658
  const handleVerify = async () => {
10647
10659
  setError(null);
10648
10660
  if (!password) {
@@ -11337,6 +11349,52 @@ function MemberChip({
11337
11349
  other && /* @__PURE__ */ jsxRuntime.jsx(ConnectedContactToggle, { user: member.user })
11338
11350
  ] });
11339
11351
  }
11352
+ function MemberNameRenderer({
11353
+ data,
11354
+ selfId
11355
+ }) {
11356
+ if (!data) return null;
11357
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.MemberNameCell, { children: /* @__PURE__ */ jsxRuntime.jsx(MemberChip, { member: data, selfId }) });
11358
+ }
11359
+ function MemberEmailRenderer({ data }) {
11360
+ return data?.user.email ? /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.MemberMutedText, { className: "truncate", title: data.user.email, children: data.user.email }) : null;
11361
+ }
11362
+ function MemberRoleRenderer({
11363
+ data: row2,
11364
+ selfId,
11365
+ isOwner,
11366
+ isPending,
11367
+ changeRole
11368
+ }) {
11369
+ if (!row2) return null;
11370
+ const lock = roleLock(row2.user.external_id, selfId, isOwner);
11371
+ return /* @__PURE__ */ jsxRuntime.jsx(
11372
+ chunkIGVTLCHD_cjs.MemberRoleCell,
11373
+ {
11374
+ role: row2.role,
11375
+ roles: ALL_ROLES,
11376
+ tooltip: lock ?? chunkSOS2WASA_cjs.getRoleDescription(row2.role),
11377
+ canChange: !lock,
11378
+ isPending,
11379
+ onChange: (value) => changeRole(row2, value),
11380
+ temporaryHint: row2.is_temporary ? row2.access_expires_at ? `Temporary access expires ${new Date(row2.access_expires_at).toLocaleString()}.` : "Temporary access \u2014 expires with the session." : void 0
11381
+ }
11382
+ );
11383
+ }
11384
+ function MemberJoinedRenderer({ data }) {
11385
+ return data ? /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.MemberMutedText, { className: "cursor-default", children: ui.formatFriendlyDate(data.joined_at) }) : null;
11386
+ }
11387
+ function MemberCountRenderer({ data, value }) {
11388
+ return data ? /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.MemberMutedText, { children: value }) : null;
11389
+ }
11390
+ function MemberStorageRenderer({ data }) {
11391
+ if (!data) return null;
11392
+ const mb = data.files_mb ?? 0;
11393
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkIGVTLCHD_cjs.MemberMutedText, { children: [
11394
+ mb >= 100 ? Math.round(mb).toLocaleString("en-US") : mb.toFixed(1),
11395
+ " MB"
11396
+ ] });
11397
+ }
11340
11398
  function ConnectedWorkspaceMembers({
11341
11399
  workspace,
11342
11400
  members,
@@ -11380,6 +11438,13 @@ function ConnectedWorkspaceMembers({
11380
11438
  }),
11381
11439
  [members, selfId]
11382
11440
  );
11441
+ const setRolesRef = react$1.useRef(setRoles);
11442
+ setRolesRef.current = setRoles;
11443
+ const changeRole = react$1.useCallback(
11444
+ (row2, role) => void setRolesRef.current([row2], role),
11445
+ []
11446
+ );
11447
+ const isPending = updateRoles.isPending;
11383
11448
  const columnDefs = react$1.useMemo(
11384
11449
  () => [
11385
11450
  {
@@ -11389,7 +11454,8 @@ function ConnectedWorkspaceMembers({
11389
11454
  minWidth: 150,
11390
11455
  sortable: true,
11391
11456
  valueGetter: (p) => p.data ? memberName(p.data.user) : "",
11392
- cellRenderer: (p) => p.data ? /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberNameCell, { children: /* @__PURE__ */ jsxRuntime.jsx(MemberChip, { member: p.data, selfId }) }) : null
11457
+ cellRenderer: MemberNameRenderer,
11458
+ cellRendererParams: { selfId }
11393
11459
  },
11394
11460
  {
11395
11461
  colId: "email",
@@ -11399,7 +11465,7 @@ function ConnectedWorkspaceMembers({
11399
11465
  sortable: true,
11400
11466
  valueGetter: (p) => p.data?.user.email ?? "",
11401
11467
  // Plain text, not a mailto: the row's click selects it.
11402
- cellRenderer: (p) => p.data?.user.email ? /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberMutedText, { className: "truncate", title: p.data.user.email, children: p.data.user.email }) : null
11468
+ cellRenderer: MemberEmailRenderer
11403
11469
  },
11404
11470
  {
11405
11471
  colId: "role",
@@ -11408,23 +11474,8 @@ function ConnectedWorkspaceMembers({
11408
11474
  minWidth: 130,
11409
11475
  sortable: true,
11410
11476
  valueGetter: (p) => p.data?.role ?? "",
11411
- cellRenderer: (p) => {
11412
- const row2 = p.data;
11413
- if (!row2) return null;
11414
- const lock = roleLock(row2.user.external_id, selfId, isOwner);
11415
- return /* @__PURE__ */ jsxRuntime.jsx(
11416
- chunkETYBZA5E_cjs.MemberRoleCell,
11417
- {
11418
- role: row2.role,
11419
- roles: ALL_ROLES,
11420
- tooltip: lock ?? chunkSOS2WASA_cjs.getRoleDescription(row2.role),
11421
- canChange: !lock,
11422
- isPending: updateRoles.isPending,
11423
- onChange: (value) => void setRoles([row2], value),
11424
- temporaryHint: row2.is_temporary ? row2.access_expires_at ? `Temporary access expires ${new Date(row2.access_expires_at).toLocaleString()}.` : "Temporary access \u2014 expires with the session." : void 0
11425
- }
11426
- );
11427
- }
11477
+ cellRenderer: MemberRoleRenderer,
11478
+ cellRendererParams: { selfId, isOwner, isPending, changeRole }
11428
11479
  },
11429
11480
  {
11430
11481
  colId: "joined_at",
@@ -11433,7 +11484,7 @@ function ConnectedWorkspaceMembers({
11433
11484
  minWidth: 125,
11434
11485
  sortable: true,
11435
11486
  valueGetter: (p) => p.data ? new Date(p.data.joined_at).getTime() : "",
11436
- cellRenderer: (p) => p.data ? /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberMutedText, { className: "cursor-default", children: ui.formatFriendlyDate(p.data.joined_at) }) : null
11487
+ cellRenderer: MemberJoinedRenderer
11437
11488
  },
11438
11489
  {
11439
11490
  colId: "conversation_count",
@@ -11443,7 +11494,7 @@ function ConnectedWorkspaceMembers({
11443
11494
  sortable: true,
11444
11495
  type: "numericColumn",
11445
11496
  valueGetter: (p) => p.data?.conversation_count ?? 0,
11446
- cellRenderer: (p) => p.data ? /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberMutedText, { children: p.data.conversation_count }) : null
11497
+ cellRenderer: MemberCountRenderer
11447
11498
  },
11448
11499
  {
11449
11500
  colId: "document_count",
@@ -11453,7 +11504,7 @@ function ConnectedWorkspaceMembers({
11453
11504
  sortable: true,
11454
11505
  type: "numericColumn",
11455
11506
  valueGetter: (p) => p.data?.document_count ?? 0,
11456
- cellRenderer: (p) => p.data ? /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberMutedText, { children: p.data.document_count }) : null
11507
+ cellRenderer: MemberCountRenderer
11457
11508
  },
11458
11509
  {
11459
11510
  colId: "files_mb",
@@ -11463,18 +11514,10 @@ function ConnectedWorkspaceMembers({
11463
11514
  sortable: true,
11464
11515
  type: "numericColumn",
11465
11516
  valueGetter: (p) => p.data?.files_mb ?? 0,
11466
- cellRenderer: (p) => {
11467
- if (!p.data) return null;
11468
- const mb = p.data.files_mb ?? 0;
11469
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkETYBZA5E_cjs.MemberMutedText, { children: [
11470
- mb >= 100 ? Math.round(mb).toLocaleString("en-US") : mb.toFixed(1),
11471
- " MB"
11472
- ] });
11473
- }
11517
+ cellRenderer: MemberStorageRenderer
11474
11518
  }
11475
11519
  ],
11476
- // eslint-disable-next-line react-hooks/exhaustive-deps
11477
- [selfId, isOwner, updateRoles.isPending, workspace.name]
11520
+ [selfId, isOwner, isPending, changeRole]
11478
11521
  );
11479
11522
  const removeSelected = async () => {
11480
11523
  const count2 = selected.length;
@@ -11506,10 +11549,10 @@ Note that ${members2} may have saved private content in the ${workspaceWord2} th
11506
11549
  );
11507
11550
  const canChangeRoleSelected = selected.some((m) => !roleLock(m.user.external_id, selfId, isOwner));
11508
11551
  const ownerOnly = `Only available to ${workspaceWord2} owner`;
11509
- if (isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.MemberListLoading, {});
11552
+ if (isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.MemberListLoading, {});
11510
11553
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": "workspace-users", className: "relative flex flex-col", children: [
11511
11554
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 overflow-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
11512
- chunkLKK52DEY_cjs.GridView,
11555
+ chunkXNXNLXIC_cjs.GridView,
11513
11556
  {
11514
11557
  items: rows,
11515
11558
  columnDefs,
@@ -11524,7 +11567,7 @@ Note that ${members2} may have saved private content in the ${workspaceWord2} th
11524
11567
  }
11525
11568
  ) }),
11526
11569
  !readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkRL2HI6NP_cjs.SelectionBar, { count: selected.length, onClear: () => setSelected([]), children: /* @__PURE__ */ jsxRuntime.jsx(
11527
- chunkETYBZA5E_cjs.MemberBulkActions,
11570
+ chunkIGVTLCHD_cjs.MemberBulkActions,
11528
11571
  {
11529
11572
  roles: BULK_ROLES,
11530
11573
  onChangeRole: (value) => void changeSelectedRoles(value),
@@ -11627,7 +11670,7 @@ function ConnectedPeopleMultiSelect({
11627
11670
  return "No matching users";
11628
11671
  };
11629
11672
  return /* @__PURE__ */ jsxRuntime.jsx(
11630
- chunkETYBZA5E_cjs.RecipientPicker,
11673
+ chunkIGVTLCHD_cjs.RecipientPicker,
11631
11674
  {
11632
11675
  layout: "field",
11633
11676
  selected: selectedUsers.map((selected) => ({
@@ -11754,7 +11797,7 @@ function AddWorkspaceMembersForm({
11754
11797
  placeholder: labels.searchPlaceholder,
11755
11798
  emptyMessage: labels.searchEmpty,
11756
11799
  actionSlot: /* @__PURE__ */ jsxRuntime.jsx(
11757
- chunkETYBZA5E_cjs.RoleSelect,
11800
+ chunkIGVTLCHD_cjs.RoleSelect,
11758
11801
  {
11759
11802
  value: selectedRole,
11760
11803
  roles: ALL_ROLES2,
@@ -12886,13 +12929,13 @@ function ConnectedWorkspaceSettings({
12886
12929
  const [membersExpanded, setMembersExpanded] = react$1.useState(false);
12887
12930
  const [shareOpen, setShareOpen] = react$1.useState(false);
12888
12931
  if (!workspace) {
12889
- return /* @__PURE__ */ jsxRuntime.jsx(chunkSOS2WASA_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12932
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkSOS2WASA_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
12890
12933
  }
12891
12934
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12892
12935
  /* @__PURE__ */ jsxRuntime.jsxs(chunkSOS2WASA_cjs.WorkspacePageFrame, { testId, children: [
12893
12936
  /* @__PURE__ */ jsxRuntime.jsxs(chunkSOS2WASA_cjs.WorkspaceIdentityPanel, { children: [
12894
12937
  /* @__PURE__ */ jsxRuntime.jsx(
12895
- chunk4VSRSF4Q_cjs.EntityIdentityBar,
12938
+ chunk2VWE46ZF_cjs.EntityIdentityBar,
12896
12939
  {
12897
12940
  testId: "workspace-identity-bar",
12898
12941
  canEdit: isOwner,
@@ -12909,7 +12952,7 @@ function ConnectedWorkspaceSettings({
12909
12952
  label: "Name",
12910
12953
  value: workspace.name,
12911
12954
  placeholder: "Untitled",
12912
- maxLength: chunk4VSRSF4Q_cjs.IDENTITY_NAME_MAX_LENGTH,
12955
+ maxLength: chunk2VWE46ZF_cjs.IDENTITY_NAME_MAX_LENGTH,
12913
12956
  valueClassName: "truncate text-base font-semibold",
12914
12957
  testId: "workspace-home-title",
12915
12958
  hideLabel: true,
@@ -14014,7 +14057,7 @@ function ConnectedMailboxSyncDialog({
14014
14057
  error: foldersError
14015
14058
  } = react.useMailboxFolders(catalog.vendor_key, open && tokensBridged);
14016
14059
  const foldersLoading = !tokensBridged || foldersQueryLoading;
14017
- const folderTree = chunkETYBZA5E_cjs.buildMailFolderTree(folders);
14060
+ const folderTree = chunkIGVTLCHD_cjs.buildMailFolderTree(folders);
14018
14061
  const [expandAllNonce, setExpandAllNonce] = react$1.useState(0);
14019
14062
  const [collapseAllNonce, setCollapseAllNonce] = react$1.useState(0);
14020
14063
  const selectAllIds = folderTree.flatMap(
@@ -14145,7 +14188,7 @@ function ConnectedMailboxSyncDialog({
14145
14188
  }
14146
14189
  )
14147
14190
  ) : folders.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkMMSHLHTA_cjs.SyncNote, { children: "No folders found." }) : /* @__PURE__ */ jsxRuntime.jsx(chunkMMSHLHTA_cjs.SyncTreeFrame, { children: /* @__PURE__ */ jsxRuntime.jsx(
14148
- chunkETYBZA5E_cjs.MailFolderTree,
14191
+ chunkIGVTLCHD_cjs.MailFolderTree,
14149
14192
  {
14150
14193
  nodes: folderTree,
14151
14194
  selected: selectedFolders,
@@ -14547,36 +14590,36 @@ function ConnectedSharePointAdminConsentPage({
14547
14590
  const result = givenResult === void 0 ? queryResult : givenResult;
14548
14591
  const { apiBaseUrl } = chunkWGWP4ATS_cjs.useBlocksEnvironment().runtimeConfig;
14549
14592
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
14550
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentCard, { size: "md", children: [
14593
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentCard, { size: "md", children: [
14551
14594
  /* @__PURE__ */ jsxRuntime.jsx(
14552
- chunkKBXATCF4_cjs.ConsentHeader,
14595
+ chunkANT32I6E_cjs.ConsentHeader,
14553
14596
  {
14554
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14597
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
14555
14598
  title: "Approve ARBI for SharePoint access",
14556
14599
  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."
14557
14600
  }
14558
14601
  ),
14559
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_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." }),
14560
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_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." }),
14561
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentSection, { title: "What you are approving", children: [
14602
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_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." }),
14603
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_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." }),
14604
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentSection, { title: "What you are approving", children: [
14562
14605
  /* @__PURE__ */ jsxRuntime.jsx(
14563
- chunkKBXATCF4_cjs.ConsentBulletList,
14606
+ chunkANT32I6E_cjs.ConsentBulletList,
14564
14607
  {
14565
14608
  items: [
14566
14609
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14567
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14610
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
14568
14611
  " \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."
14569
14612
  ] }),
14570
14613
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
14571
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14614
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
14572
14615
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
14573
14616
  ] })
14574
14617
  ]
14575
14618
  }
14576
14619
  ),
14577
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_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." }),
14620
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_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." }),
14578
14621
  /* @__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" }) }),
14579
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_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." })
14622
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_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." })
14580
14623
  ] })
14581
14624
  ] }) });
14582
14625
  }
@@ -16824,36 +16867,36 @@ function ConnectedAddContacts({
16824
16867
  const [rows, setRows] = react$1.useState(null);
16825
16868
  const selfEmail = arbi.isLoggedIn ? arbi.user.identity()?.email : null;
16826
16869
  const submit = async () => {
16827
- if (!chunkETYBZA5E_cjs.emailTokens(text).length) {
16870
+ if (!chunkIGVTLCHD_cjs.emailTokens(text).length) {
16828
16871
  notify17("Please enter at least one email address", "error");
16829
16872
  return;
16830
16873
  }
16831
- const plan = chunkETYBZA5E_cjs.planContactInvites(text, contacts, selfEmail);
16832
- if (plan.send.length > chunkETYBZA5E_cjs.MAX_INVITE_EMAILS) {
16833
- notify17(`Maximum ${chunkETYBZA5E_cjs.MAX_INVITE_EMAILS} new emails allowed per batch`, "error");
16874
+ const plan = chunkIGVTLCHD_cjs.planContactInvites(text, contacts, selfEmail);
16875
+ if (plan.send.length > chunkIGVTLCHD_cjs.MAX_INVITE_EMAILS) {
16876
+ notify17(`Maximum ${chunkIGVTLCHD_cjs.MAX_INVITE_EMAILS} new emails allowed per batch`, "error");
16834
16877
  return;
16835
16878
  }
16836
16879
  setRows(plan.rows);
16837
16880
  if (!plan.send.length) {
16838
- notify17(chunkETYBZA5E_cjs.summarizeUnsentInvites(plan.rows), "info");
16881
+ notify17(chunkIGVTLCHD_cjs.summarizeUnsentInvites(plan.rows), "info");
16839
16882
  onSuccess?.();
16840
16883
  return;
16841
16884
  }
16842
16885
  try {
16843
16886
  const response = await invite.mutateAsync(plan.send);
16844
- setRows(chunkETYBZA5E_cjs.applyContactInviteResults(plan, response));
16845
- const summary = chunkETYBZA5E_cjs.summarizeContactInvites(response);
16887
+ setRows(chunkIGVTLCHD_cjs.applyContactInviteResults(plan, response));
16888
+ const summary = chunkIGVTLCHD_cjs.summarizeContactInvites(response);
16846
16889
  notify17(summary.message, summary.failed ? "error" : "success");
16847
16890
  onSuccess?.();
16848
16891
  } catch (error) {
16849
16892
  const message = browser.refusalReason(error, "Failed to add contacts");
16850
- setRows(chunkETYBZA5E_cjs.failContactInvites(plan, message));
16893
+ setRows(chunkIGVTLCHD_cjs.failContactInvites(plan, message));
16851
16894
  notify17(message, "error");
16852
16895
  }
16853
16896
  };
16854
16897
  if (rows)
16855
16898
  return /* @__PURE__ */ jsxRuntime.jsx(
16856
- chunkETYBZA5E_cjs.AddContactsResults,
16899
+ chunkIGVTLCHD_cjs.AddContactsResults,
16857
16900
  {
16858
16901
  rows,
16859
16902
  onDone: onClose,
@@ -16864,11 +16907,11 @@ function ConnectedAddContacts({
16864
16907
  }
16865
16908
  );
16866
16909
  return /* @__PURE__ */ jsxRuntime.jsx(
16867
- chunkETYBZA5E_cjs.AddContactsForm,
16910
+ chunkIGVTLCHD_cjs.AddContactsForm,
16868
16911
  {
16869
16912
  value: text,
16870
16913
  onChange: setText,
16871
- emailCount: chunkETYBZA5E_cjs.emailTokens(text).length,
16914
+ emailCount: chunkIGVTLCHD_cjs.emailTokens(text).length,
16872
16915
  isPending: invite.isPending,
16873
16916
  onSubmit: () => void submit(),
16874
16917
  onCancel: onClose,
@@ -17256,7 +17299,7 @@ function useConnectedWorkspaceList({
17256
17299
  };
17257
17300
  }
17258
17301
  var WorkspaceTableView = react$1.lazy(
17259
- () => import('../WorkspaceTableView-ZIQ7JWT5.cjs').then((m) => ({ default: m.WorkspaceTableView }))
17302
+ () => import('../WorkspaceTableView-3D6SYOWT.cjs').then((m) => ({ default: m.WorkspaceTableView }))
17260
17303
  );
17261
17304
  var WORKSPACES_TAB_ID = "workspaces";
17262
17305
  var renderMember = (user, size) => /* @__PURE__ */ jsxRuntime.jsx(chunkZXSAGX67_cjs.ConnectedUserEntity, { user, size, variant: "icon" });
@@ -17316,7 +17359,7 @@ function ConnectedWorkspaceList({
17316
17359
  }
17317
17360
  );
17318
17361
  }
17319
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17362
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, { message: "Loading workspaces..." });
17320
17363
  if (list.error) {
17321
17364
  return /* @__PURE__ */ jsxRuntime.jsx(
17322
17365
  chunkJGUM4EXE_cjs.HomeLoadError,
@@ -17389,7 +17432,7 @@ function ConnectedWorkspaceList({
17389
17432
  workspaceState
17390
17433
  }
17391
17434
  ) })
17392
- ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkJGUM4EXE_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17435
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkJGUM4EXE_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
17393
17436
  WorkspaceTableView,
17394
17437
  {
17395
17438
  list,
@@ -17579,7 +17622,7 @@ function ConnectedProjectsListPage({
17579
17622
  };
17580
17623
  const { openProject } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
17581
17624
  const [search, setSearch] = react$1.useState("");
17582
- const { projects, isLoading } = chunkUSIRUI2M_cjs.useProjectSummaries();
17625
+ const { projects, isLoading } = chunkQSPKL754_cjs.useProjectSummaries();
17583
17626
  const rows = react$1.useMemo(() => {
17584
17627
  const q = search.trim().toLowerCase();
17585
17628
  if (!q) return projects;
@@ -17650,7 +17693,7 @@ function ConnectedProjectsListPage({
17650
17693
  }
17651
17694
  ),
17652
17695
  /* @__PURE__ */ jsxRuntime.jsx(
17653
- chunk4VSRSF4Q_cjs.Toolbar,
17696
+ chunk2VWE46ZF_cjs.Toolbar,
17654
17697
  {
17655
17698
  search,
17656
17699
  onSearch: setSearch,
@@ -17712,7 +17755,7 @@ function ProjectDetailsForm({
17712
17755
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
17713
17756
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
17714
17757
  const update = react.useUpdateProjectFields();
17715
- const workspace = chunkUSIRUI2M_cjs.primaryProjectWorkspace(project);
17758
+ const workspace = chunkQSPKL754_cjs.primaryProjectWorkspace(project);
17716
17759
  const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
17717
17760
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
17718
17761
  const currency = project.budget?.currency ?? "GBP";
@@ -17837,7 +17880,7 @@ var COMPACT_BELOW = 132;
17837
17880
  var NO_DOCUMENTS = [];
17838
17881
  function useFilesWorkspace() {
17839
17882
  const { workspaceId, userId, live } = chunk7UAAMA5U_cjs.useConnectedWorkspace();
17840
- const { members, role } = chunkWGAGIF4F_cjs.useConnectedWorkspaceRole();
17883
+ const { members, role } = chunk2ROYKDEA_cjs.useConnectedWorkspaceRole();
17841
17884
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
17842
17885
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
17843
17886
  return {
@@ -17901,9 +17944,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17901
17944
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
17902
17945
  return map;
17903
17946
  }, [workspaceTags]);
17904
- const pendingFolders = chunkHJBVSG6H_cjs.usePendingFolders(wsId);
17905
- const addPendingFolder = chunkHJBVSG6H_cjs.useFilesStore((state) => state.addPendingFolder);
17906
- const removePendingFolder = chunkHJBVSG6H_cjs.useFilesStore((state) => state.removePendingFolder);
17947
+ const pendingFolders = chunkQYDMOBGP_cjs.usePendingFolders(wsId);
17948
+ const addPendingFolder = chunkQYDMOBGP_cjs.useFilesStore((state) => state.addPendingFolder);
17949
+ const removePendingFolder = chunkQYDMOBGP_cjs.useFilesStore((state) => state.removePendingFolder);
17907
17950
  const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
17908
17951
  const isSearching = search.trim().length > 0;
17909
17952
  const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -17912,8 +17955,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17912
17955
  const { folders, files } = react$1.useMemo(() => {
17913
17956
  const result = isSearching ? {
17914
17957
  folders: [],
17915
- files: chunkERDQ4DAX_cjs.searchExplorerDocuments(documents, search, sort)
17916
- } : chunkERDQ4DAX_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
17958
+ files: chunk2GFB43GN_cjs.searchExplorerDocuments(documents, search, sort)
17959
+ } : chunk2GFB43GN_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
17917
17960
  if (sortReversed) result.files = [...result.files].reverse();
17918
17961
  return result;
17919
17962
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -17924,7 +17967,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
17924
17967
  const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
17925
17968
  const folderDocs = react$1.useMemo(() => {
17926
17969
  const map = /* @__PURE__ */ new Map();
17927
- for (const f of folders) map.set(f.path.join("/"), chunkERDQ4DAX_cjs.collectFolderDocs(documents, f.path));
17970
+ for (const f of folders) map.set(f.path.join("/"), chunk2GFB43GN_cjs.collectFolderDocs(documents, f.path));
17928
17971
  return map;
17929
17972
  }, [folders, documents]);
17930
17973
  const folderSelection = react$1.useMemo(() => {
@@ -18072,7 +18115,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18072
18115
  let name = base;
18073
18116
  let i = 2;
18074
18117
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
18075
- const path = chunkERDQ4DAX_cjs.joinFolderPath([...currentPath, name]);
18118
+ const path = chunk2GFB43GN_cjs.joinFolderPath([...currentPath, name]);
18076
18119
  if (!path) return;
18077
18120
  addPendingFolder(wsId, path);
18078
18121
  setEditingFolderPath(path);
@@ -18108,10 +18151,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18108
18151
  notify17(`A folder named "${name}" already exists here.`, "error");
18109
18152
  return;
18110
18153
  }
18111
- const oldPath = chunkERDQ4DAX_cjs.joinFolderPath(folder.path);
18154
+ const oldPath = chunk2GFB43GN_cjs.joinFolderPath(folder.path);
18112
18155
  const newPrefix = [...folder.path.slice(0, -1), name];
18113
- const newPath = chunkERDQ4DAX_cjs.joinFolderPath(newPrefix);
18114
- const docs = chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path);
18156
+ const newPath = chunk2GFB43GN_cjs.joinFolderPath(newPrefix);
18157
+ const docs = chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path);
18115
18158
  try {
18116
18159
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
18117
18160
  notify17(`Renamed folder to "${name}"`, "success");
@@ -18170,7 +18213,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18170
18213
  const handleToggleFolder = react$1.useCallback(
18171
18214
  (folder, e) => {
18172
18215
  e.stopPropagation();
18173
- const ids = chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18216
+ const ids = chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18174
18217
  if (ids.length === 0) return;
18175
18218
  if (ids.every((id) => selectedSet.has(id))) {
18176
18219
  const remove = new Set(ids);
@@ -18231,9 +18274,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18231
18274
  );
18232
18275
  const handleDelete = react$1.useCallback(
18233
18276
  async (doc) => {
18234
- const name = chunkERDQ4DAX_cjs.getExplorerDisplayName(doc);
18277
+ const name = chunk2GFB43GN_cjs.getExplorerDisplayName(doc);
18235
18278
  const confirmed = await confirm({
18236
- message: `Delete "${name}"? ${chunkERDQ4DAX_cjs.RECENTLY_DELETED_HINT}`,
18279
+ message: `Delete "${name}"? ${chunk2GFB43GN_cjs.RECENTLY_DELETED_HINT}`,
18237
18280
  title: "Delete file"
18238
18281
  });
18239
18282
  if (!confirmed) return;
@@ -18253,7 +18296,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18253
18296
  );
18254
18297
  const handleFolderDownload = react$1.useCallback(
18255
18298
  (folder) => {
18256
- const docs = chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path);
18299
+ const docs = chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path);
18257
18300
  if (docs.length > 0) void downloadDocuments(docs);
18258
18301
  },
18259
18302
  [documents, downloadDocuments]
@@ -18262,7 +18305,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18262
18305
  if (onFolderMove) return onFolderMove;
18263
18306
  if (!onMoveSelected) return void 0;
18264
18307
  return (folder) => {
18265
- const ids = chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18308
+ const ids = chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
18266
18309
  if (ids.length === 0) return;
18267
18310
  onSelectionChange(ids);
18268
18311
  onMoveSelected();
@@ -18270,14 +18313,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18270
18313
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
18271
18314
  const handleFolderDelete = react$1.useCallback(
18272
18315
  async (folder) => {
18273
- const docs = chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path);
18316
+ const docs = chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path);
18274
18317
  if (docs.length === 0) {
18275
- const path = chunkERDQ4DAX_cjs.joinFolderPath(folder.path);
18318
+ const path = chunk2GFB43GN_cjs.joinFolderPath(folder.path);
18276
18319
  if (wsId && path) removePendingFolder(wsId, path);
18277
18320
  return;
18278
18321
  }
18279
18322
  const confirmed = await confirm({
18280
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkERDQ4DAX_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18323
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunk2GFB43GN_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
18281
18324
  title: "Delete folder"
18282
18325
  });
18283
18326
  if (!confirmed) return;
@@ -18294,8 +18337,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18294
18337
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify17]
18295
18338
  );
18296
18339
  const canDeleteFolder = react$1.useCallback(
18297
- (folder) => canUpload && chunkERDQ4DAX_cjs.collectFolderDocs(documents, folder.path).every(
18298
- (doc) => chunkERDQ4DAX_cjs.canDeleteDocument(doc, userId, role)
18340
+ (folder) => canUpload && chunk2GFB43GN_cjs.collectFolderDocs(documents, folder.path).every(
18341
+ (doc) => chunk2GFB43GN_cjs.canDeleteDocument(doc, userId, role)
18299
18342
  ),
18300
18343
  [canUpload, documents, userId, role]
18301
18344
  );
@@ -18354,7 +18397,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18354
18397
  setActiveDragId(null);
18355
18398
  const data = event.over?.data.current;
18356
18399
  if (data?.type === "folder" && data.path) {
18357
- const targetFolder = chunkERDQ4DAX_cjs.joinFolderPath(data.path);
18400
+ const targetFolder = chunk2GFB43GN_cjs.joinFolderPath(data.path);
18358
18401
  const moving = dragIdsRef.current.filter((id) => {
18359
18402
  const doc = documents.find((d) => d.external_id === id);
18360
18403
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -18394,7 +18437,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18394
18437
  const dropped = Array.from(e.dataTransfer.files ?? []);
18395
18438
  if (dropped.length > 0) {
18396
18439
  e.preventDefault();
18397
- onUploadFiles(dropped, chunkERDQ4DAX_cjs.joinFolderPath(currentPath));
18440
+ onUploadFiles(dropped, chunk2GFB43GN_cjs.joinFolderPath(currentPath));
18398
18441
  }
18399
18442
  },
18400
18443
  [canUpload, currentPath, onUploadFiles]
@@ -18411,9 +18454,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18411
18454
  onDragEnd: handleDragEnd,
18412
18455
  onDragCancel: () => setActiveDragId(null),
18413
18456
  children: [
18414
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.ExplorerStage, { children: [
18457
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.ExplorerStage, { children: [
18415
18458
  /* @__PURE__ */ jsxRuntime.jsx(
18416
- chunkERDQ4DAX_cjs.ExplorerScroller,
18459
+ chunk2GFB43GN_cjs.ExplorerScroller,
18417
18460
  {
18418
18461
  ref: scrollRef,
18419
18462
  onClick: handleBackgroundClick,
@@ -18423,15 +18466,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18423
18466
  onDragLeave: handleNativeDragLeave,
18424
18467
  onDrop: handleNativeDrop,
18425
18468
  "data-testid": "explorer-scroll",
18426
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18427
- chunkERDQ4DAX_cjs.ExplorerEmpty,
18469
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
18470
+ chunk2GFB43GN_cjs.ExplorerEmpty,
18428
18471
  {
18429
18472
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
18430
18473
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
18431
18474
  }
18432
18475
  ) : containerWidth === 0 ? (
18433
18476
  // Not measured yet: rendering now would flash one stretched column.
18434
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ExplorerLoadingTiles, {})
18477
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ExplorerLoadingTiles, {})
18435
18478
  ) : /* @__PURE__ */ jsxRuntime.jsx(
18436
18479
  "div",
18437
18480
  {
@@ -18461,7 +18504,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18461
18504
  if (entry.kind === "folder") {
18462
18505
  const key = entry.path.join("/");
18463
18506
  return /* @__PURE__ */ jsxRuntime.jsx(
18464
- chunkJ24LYNTY_cjs.FolderTile,
18507
+ chunkILH2KOHA_cjs.FolderTile,
18465
18508
  {
18466
18509
  folder: entry,
18467
18510
  density,
@@ -18484,7 +18527,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18484
18527
  }
18485
18528
  const doc = entry.doc;
18486
18529
  return /* @__PURE__ */ jsxRuntime.jsx(
18487
- chunkJ24LYNTY_cjs.FileTile,
18530
+ chunkILH2KOHA_cjs.FileTile,
18488
18531
  {
18489
18532
  doc,
18490
18533
  density,
@@ -18492,7 +18535,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18492
18535
  dragging: activeDragId === doc.external_id,
18493
18536
  dndActive: activeDragId !== null,
18494
18537
  renaming: renamingId === doc.external_id,
18495
- canDelete: chunkERDQ4DAX_cjs.canDeleteDocument(doc, userId, role),
18538
+ canDelete: chunk2GFB43GN_cjs.canDeleteDocument(doc, userId, role),
18496
18539
  thumbnailUrl: thumbnailsById.get(doc.external_id),
18497
18540
  modifiedBy: userById.get(
18498
18541
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -18521,9 +18564,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18521
18564
  )
18522
18565
  }
18523
18566
  ),
18524
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18567
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
18525
18568
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
18526
- chunkERDQ4DAX_cjs.ExplorerDropOverlay,
18569
+ chunk2GFB43GN_cjs.ExplorerDropOverlay,
18527
18570
  {
18528
18571
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
18529
18572
  }
@@ -18537,7 +18580,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
18537
18580
  function DragPreview({ doc, count: count2 }) {
18538
18581
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type });
18539
18582
  return /* @__PURE__ */ jsxRuntime.jsx(
18540
- chunkERDQ4DAX_cjs.ExplorerDragPreview,
18583
+ chunk2GFB43GN_cjs.ExplorerDragPreview,
18541
18584
  {
18542
18585
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
18543
18586
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -18774,11 +18817,11 @@ function ConnectedProjectPage({
18774
18817
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
18775
18818
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
18776
18819
  };
18777
- const { project, usage, isLoading } = chunkUSIRUI2M_cjs.useProjectSummary(projectId);
18820
+ const { project, usage, isLoading } = chunkQSPKL754_cjs.useProjectSummary(projectId);
18778
18821
  const { workspaceId } = chunk7UAAMA5U_cjs.useConnectedWorkspace();
18779
18822
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
18780
- const selectWorkspace = chunkSWILV6LT_cjs.useSelectWorkspace();
18781
- const workspace = project ? chunkUSIRUI2M_cjs.primaryProjectWorkspace(project) : void 0;
18823
+ const selectWorkspace = chunkTGHBXJTN_cjs.useSelectWorkspace();
18824
+ const workspace = project ? chunkQSPKL754_cjs.primaryProjectWorkspace(project) : void 0;
18782
18825
  const open = !!workspace && workspace.id === workspaceId;
18783
18826
  react$1.useEffect(() => {
18784
18827
  if (!workspace || workspace.id === workspaceId) return;
@@ -19036,7 +19079,7 @@ function ConnectedContactCardForm({
19036
19079
  }) {
19037
19080
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
19038
19081
  const [form, setForm] = react$1.useState(
19039
- () => contact?.card ? chunkETYBZA5E_cjs.contactToForm(contact.card) : chunkETYBZA5E_cjs.EMPTY_CONTACT_FORM
19082
+ () => contact?.card ? chunkIGVTLCHD_cjs.contactToForm(contact.card) : chunkIGVTLCHD_cjs.EMPTY_CONTACT_FORM
19040
19083
  );
19041
19084
  const [invite, setInvite] = react$1.useState(false);
19042
19085
  const [errors, setErrors] = react$1.useState({});
@@ -19050,14 +19093,14 @@ function ConnectedContactCardForm({
19050
19093
  const locked = !!contact && !contact.card;
19051
19094
  const set = (key, value) => setForm((f) => ({ ...f, [key]: value }));
19052
19095
  const submit = () => {
19053
- const found = chunkETYBZA5E_cjs.validateContactForm(form);
19054
- const email = chunkETYBZA5E_cjs.inviteEmail(form);
19096
+ const found = chunkIGVTLCHD_cjs.validateContactForm(form);
19097
+ const email = chunkIGVTLCHD_cjs.inviteEmail(form);
19055
19098
  if (invite && !email && !found.emails) found.emails = "Add an e-mail address to invite";
19056
19099
  setErrors(found);
19057
19100
  setServerError(null);
19058
19101
  setDuplicateOf(null);
19059
19102
  if (Object.keys(found).length) return;
19060
- const card = chunkETYBZA5E_cjs.formToContactCard(form);
19103
+ const card = chunkIGVTLCHD_cjs.formToContactCard(form);
19061
19104
  const onError = (err) => {
19062
19105
  setServerError(browser.refusalReason(err, "Could not save"));
19063
19106
  if (err instanceof browser.DuplicateContactError && err.contactId !== contact?.external_id)
@@ -19065,10 +19108,10 @@ function ConnectedContactCardForm({
19065
19108
  };
19066
19109
  const onInvited = (result) => {
19067
19110
  if (result.status === "failed") {
19068
- setServerError(result.outcome_detail || chunkETYBZA5E_cjs.DEFAULT_CONTACT_OUTCOME_LABELS.failed);
19111
+ setServerError(result.outcome_detail || chunkIGVTLCHD_cjs.DEFAULT_CONTACT_OUTCOME_LABELS.failed);
19069
19112
  return;
19070
19113
  }
19071
- notify17(chunkETYBZA5E_cjs.contactOutcomeMessage({ ...result, outcome: result.outcome ?? "invited" }), "success");
19114
+ notify17(chunkIGVTLCHD_cjs.contactOutcomeMessage({ ...result, outcome: result.outcome ?? "invited" }), "success");
19072
19115
  onDone();
19073
19116
  };
19074
19117
  if (invite && email) {
@@ -19124,7 +19167,7 @@ function ConnectedContactCardForm({
19124
19167
  linked && contact && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm text-muted-foreground", "data-testid": "contact-linked-email", children: [
19125
19168
  "ARBI: ",
19126
19169
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-foreground", children: contact.email }),
19127
- chunkETYBZA5E_cjs.contactStatusLabel(contact.status) && ` \xB7 ${chunkETYBZA5E_cjs.contactStatusLabel(contact.status)}`
19170
+ chunkIGVTLCHD_cjs.contactStatusLabel(contact.status) && ` \xB7 ${chunkIGVTLCHD_cjs.contactStatusLabel(contact.status)}`
19128
19171
  ] }),
19129
19172
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-1", children: [
19130
19173
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "contact-name", children: "Name" }),
@@ -19327,7 +19370,7 @@ function ImportVcfSummary({
19327
19370
  /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "min-w-0", children: [
19328
19371
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium text-foreground", children: o.file }),
19329
19372
  ": ",
19330
- "error" in o ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: o.error }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: chunkETYBZA5E_cjs.summarizeImport(o.result) })
19373
+ "error" in o ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive", children: o.error }) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: chunkIGVTLCHD_cjs.summarizeImport(o.result) })
19331
19374
  ] }),
19332
19375
  "result" in o && o.result.skipped.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("details", { className: "text-xs text-muted-foreground", children: [
19333
19376
  /* @__PURE__ */ jsxRuntime.jsx("summary", { className: "cursor-pointer", children: "Why cards were skipped" }),
@@ -19365,7 +19408,7 @@ function ConnectedContactsDirectory({
19365
19408
  const [confirmDelete, setConfirmDelete] = react$1.useState(null);
19366
19409
  const [importState, setImportState] = react$1.useState(null);
19367
19410
  const contacts = react$1.useMemo(() => data.filter((c) => !(c.user && ui.isAgent(c.user))), [data]);
19368
- const shown = react$1.useMemo(() => contacts.filter((c) => chunkETYBZA5E_cjs.matchesContact(c, q)), [contacts, q]);
19411
+ const shown = react$1.useMemo(() => contacts.filter((c) => chunkIGVTLCHD_cjs.matchesContact(c, q)), [contacts, q]);
19369
19412
  if (editing)
19370
19413
  return /* @__PURE__ */ jsxRuntime.jsxs(
19371
19414
  "section",
@@ -19384,7 +19427,7 @@ function ConnectedContactsDirectory({
19384
19427
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowLeft, { className: "size-4" })
19385
19428
  }
19386
19429
  ),
19387
- /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "truncate text-base font-semibold text-foreground", children: editing === "new" ? "New contact" : chunkETYBZA5E_cjs.contactName(editing) || "Contact" })
19430
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "truncate text-base font-semibold text-foreground", children: editing === "new" ? "New contact" : chunkIGVTLCHD_cjs.contactName(editing) || "Contact" })
19388
19431
  ] }),
19389
19432
  /* @__PURE__ */ jsxRuntime.jsx(
19390
19433
  ConnectedContactCardForm,
@@ -19456,8 +19499,8 @@ function ConnectedContactsDirectory({
19456
19499
  "\u201D."
19457
19500
  ] }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "grid divide-y divide-border rounded-lg border border-border", children: shown.map((c, i) => {
19458
19501
  const id = c.external_id ?? `row-${i}`;
19459
- const name = chunkETYBZA5E_cjs.contactName(c);
19460
- const status = chunkETYBZA5E_cjs.contactStatusLabel(c.status);
19502
+ const name = chunkIGVTLCHD_cjs.contactName(c);
19503
+ const status = chunkIGVTLCHD_cjs.contactStatusLabel(c.status);
19461
19504
  const peer = onMessage && c.status === "registered" ? c.user : null;
19462
19505
  return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex items-center justify-between gap-2 px-3 py-2 text-sm", children: [
19463
19506
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -19487,7 +19530,7 @@ function ConnectedContactsDirectory({
19487
19530
  )
19488
19531
  ] }),
19489
19532
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-xs text-muted-foreground", children: [
19490
- chunkETYBZA5E_cjs.primaryEmail(c) !== name && chunkETYBZA5E_cjs.primaryEmail(c),
19533
+ chunkIGVTLCHD_cjs.primaryEmail(c) !== name && chunkIGVTLCHD_cjs.primaryEmail(c),
19491
19534
  c.card?.organization,
19492
19535
  c.card?.birthday && `Birthday ${c.card.birthday}`
19493
19536
  ].filter(Boolean).join(" \xB7 ") })
@@ -19644,7 +19687,7 @@ Your conversation is not deleted \u2014 you can add them again.`,
19644
19687
  }
19645
19688
  ] : []
19646
19689
  ];
19647
- return /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.ActionMenu, { label: `Actions for ${name}`, testId: "dm-contact-menu", entries });
19690
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.ActionMenu, { label: `Actions for ${name}`, testId: "dm-contact-menu", entries });
19648
19691
  }
19649
19692
  function ConnectedFilterDropdown({
19650
19693
  stateKey,
@@ -20139,10 +20182,10 @@ function ConnectedChatThread({
20139
20182
  };
20140
20183
  const History = host.ThreadHistory;
20141
20184
  return /* @__PURE__ */ jsxRuntime.jsx(
20142
- chunkETYBZA5E_cjs.DmThreadFrame,
20185
+ chunkIGVTLCHD_cjs.DmThreadFrame,
20143
20186
  {
20144
20187
  accessBanner: pendingAccessRequest ? /* @__PURE__ */ jsxRuntime.jsx(
20145
- chunkETYBZA5E_cjs.DmAccessRequestBanner,
20188
+ chunkIGVTLCHD_cjs.DmAccessRequestBanner,
20146
20189
  {
20147
20190
  name: peer?.given_name ?? "They",
20148
20191
  onReview: () => host.onReviewAccessRequest?.(pendingAccessRequest)
@@ -20621,7 +20664,7 @@ function ConnectedRecipientSelector({
20621
20664
  ];
20622
20665
  });
20623
20666
  return /* @__PURE__ */ jsxRuntime.jsx(
20624
- chunkETYBZA5E_cjs.RecipientPicker,
20667
+ chunkIGVTLCHD_cjs.RecipientPicker,
20625
20668
  {
20626
20669
  selected,
20627
20670
  onRemove: onRemoveRecipient,
@@ -20826,7 +20869,7 @@ function ConnectedDmGrantAccessDialog({
20826
20869
  }
20827
20870
  };
20828
20871
  return /* @__PURE__ */ jsxRuntime.jsx(
20829
- chunkETYBZA5E_cjs.DmGrantAccessDialogView,
20872
+ chunkIGVTLCHD_cjs.DmGrantAccessDialogView,
20830
20873
  {
20831
20874
  open,
20832
20875
  onOpenChange,
@@ -20970,7 +21013,7 @@ They will no longer be able to join from it.${invitation.workspaceExtId ? " The
20970
21013
  }
20971
21014
  ];
20972
21015
  return /* @__PURE__ */ jsxRuntime.jsx(
20973
- chunkETYBZA5E_cjs.ActionMenu,
21016
+ chunkIGVTLCHD_cjs.ActionMenu,
20974
21017
  {
20975
21018
  label: `Actions for the invitation to ${invitation.email}`,
20976
21019
  testId: `dm-invite-menu-${invitation.email}`,
@@ -21003,7 +21046,7 @@ function inviteRows(invitations) {
21003
21046
  // riding on this invite gets called out here — it's the one thing that's lost, silently, if
21004
21047
  // this invite is cancelled instead of just resent.
21005
21048
  subtitle: `Invited ${ui.formatRelativeTime(invitation.sentAt)}${invitation.workspaceExtId ? " \xB7 Workspace access pending" : ""}`,
21006
- leading: /* @__PURE__ */ jsxRuntime.jsx(chunkETYBZA5E_cjs.DmInviteAvatar, {}),
21049
+ leading: /* @__PURE__ */ jsxRuntime.jsx(chunkIGVTLCHD_cjs.DmInviteAvatar, {}),
21007
21050
  trailing: /* @__PURE__ */ jsxRuntime.jsx(ConnectedInviteMenu, { invitation })
21008
21051
  }));
21009
21052
  }
@@ -21485,10 +21528,10 @@ function ConnectedContactsPanel({
21485
21528
  function ConnectedConfigForm({ availableModels, ...rest }) {
21486
21529
  const hasModels = !!availableModels && availableModels.length > 0;
21487
21530
  const renderModelSelect = react$1.useCallback(
21488
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21531
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
21489
21532
  []
21490
21533
  );
21491
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21534
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
21492
21535
  }
21493
21536
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
21494
21537
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
@@ -21605,7 +21648,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21605
21648
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
21606
21649
  if (editAgent) {
21607
21650
  return /* @__PURE__ */ jsxRuntime.jsx(
21608
- chunkKBXATCF4_cjs.AgentEditView,
21651
+ chunkANT32I6E_cjs.AgentEditView,
21609
21652
  {
21610
21653
  agentName: editAgent.name,
21611
21654
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -21621,7 +21664,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21621
21664
  }
21622
21665
  if (view === "main") {
21623
21666
  return /* @__PURE__ */ jsxRuntime.jsx(
21624
- chunkKBXATCF4_cjs.AgentMainView,
21667
+ chunkANT32I6E_cjs.AgentMainView,
21625
21668
  {
21626
21669
  onConnectExternal: () => setView("connect"),
21627
21670
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -21637,11 +21680,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21637
21680
  }
21638
21681
  if (result) {
21639
21682
  return /* @__PURE__ */ jsxRuntime.jsx(
21640
- chunkKBXATCF4_cjs.AgentCreatedView,
21683
+ chunkANT32I6E_cjs.AgentCreatedView,
21641
21684
  {
21642
21685
  email: result.email,
21643
21686
  signingKey: result.signingKey,
21644
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21687
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
21645
21688
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
21646
21689
  isConfigOpen: configOpen,
21647
21690
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -21650,7 +21693,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
21650
21693
  );
21651
21694
  }
21652
21695
  return /* @__PURE__ */ jsxRuntime.jsx(
21653
- chunkKBXATCF4_cjs.AgentCreateView,
21696
+ chunkANT32I6E_cjs.AgentCreateView,
21654
21697
  {
21655
21698
  name,
21656
21699
  onNameChange: setName,
@@ -21845,7 +21888,7 @@ function ConnectedNewThreadDialog({
21845
21888
  });
21846
21889
  const parentOptions = react$1.useMemo(() => {
21847
21890
  const leaf = { external_id: "__new__" };
21848
- return chunkKBXATCF4_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21891
+ return chunkANT32I6E_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
21849
21892
  id: t.external_id,
21850
21893
  name: t.title?.trim() || "Untitled task"
21851
21894
  }));
@@ -21892,7 +21935,7 @@ function ConnectedNewThreadDialog({
21892
21935
  }
21893
21936
  };
21894
21937
  return /* @__PURE__ */ jsxRuntime.jsx(
21895
- chunkKBXATCF4_cjs.NewThreadDialog,
21938
+ chunkANT32I6E_cjs.NewThreadDialog,
21896
21939
  {
21897
21940
  open,
21898
21941
  onOpenChange,
@@ -22070,7 +22113,7 @@ function recentConversations(conversations) {
22070
22113
  return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
22071
22114
  id: c.external_id,
22072
22115
  title: c.title?.trim() || "Untitled thread",
22073
- subtitle: c.status ? [chunkKBXATCF4_cjs.STATUS_LABELS[chunkKBXATCF4_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"}`,
22116
+ subtitle: c.status ? [chunkANT32I6E_cjs.STATUS_LABELS[chunkANT32I6E_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"}`,
22074
22117
  time: timeAndDate(c.updated_at)
22075
22118
  }));
22076
22119
  }
@@ -22161,7 +22204,7 @@ function DocumentsUploadButton({
22161
22204
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
22162
22205
  );
22163
22206
  return /* @__PURE__ */ jsxRuntime.jsx(
22164
- chunkERDQ4DAX_cjs.FilesAddMenu,
22207
+ chunk2GFB43GN_cjs.FilesAddMenu,
22165
22208
  {
22166
22209
  items,
22167
22210
  isCompact,
@@ -22256,7 +22299,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
22256
22299
  addFiles: () => upload(),
22257
22300
  dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22258
22301
  /* @__PURE__ */ jsxRuntime.jsx(
22259
- chunkERDQ4DAX_cjs.UrlInputDialog,
22302
+ chunk2GFB43GN_cjs.UrlInputDialog,
22260
22303
  {
22261
22304
  open: urlDialogOpen,
22262
22305
  onOpenChange: setUrlDialogOpen,
@@ -22514,7 +22557,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
22514
22557
  var canWrite = ({ isMember, role }) => isMember && role !== "guest";
22515
22558
  var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
22516
22559
  function setDocumentSourceFilter(source) {
22517
- const { documentFilters, setDocumentFilters } = chunkHJBVSG6H_cjs.useFilesPrefs.getState();
22560
+ const { documentFilters, setDocumentFilters } = chunkQYDMOBGP_cjs.useFilesPrefs.getState();
22518
22561
  setDocumentFilters({
22519
22562
  ...documentFilters,
22520
22563
  source_uploaded: source === "uploaded" ? "include" : null,
@@ -22526,9 +22569,9 @@ function createBuiltinActions(environment, session) {
22526
22569
  const startWorkflowOnDocuments = (workflowId) => {
22527
22570
  const { viewingDocument, selectedDocumentIds } = session.getState();
22528
22571
  const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
22529
- chunkKBXATCF4_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
22572
+ chunkANT32I6E_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
22530
22573
  };
22531
- const setFilesView = (mode) => () => chunkHJBVSG6H_cjs.useFilesPrefs.getState().setViewMode(mode);
22574
+ const setFilesView = (mode) => () => chunkQYDMOBGP_cjs.useFilesPrefs.getState().setViewMode(mode);
22532
22575
  const actions = [
22533
22576
  {
22534
22577
  id: "goto-user-settings",
@@ -22583,7 +22626,7 @@ function createBuiltinActions(environment, session) {
22583
22626
  icon: "Files",
22584
22627
  keywords: ["download", "csv", "excel"],
22585
22628
  available: inWorkspace,
22586
- run: () => chunkHJBVSG6H_cjs.useFilesDialogs.getState().setExportOpen(true)
22629
+ run: () => chunkQYDMOBGP_cjs.useFilesDialogs.getState().setExportOpen(true)
22587
22630
  },
22588
22631
  {
22589
22632
  id: "bulk-tag-documents",
@@ -22592,7 +22635,7 @@ function createBuiltinActions(environment, session) {
22592
22635
  icon: "Tags",
22593
22636
  keywords: ["labels", "categorize", "bulk tag"],
22594
22637
  available: inWorkspace,
22595
- run: () => chunkHJBVSG6H_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
22638
+ run: () => chunkQYDMOBGP_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
22596
22639
  },
22597
22640
  {
22598
22641
  id: "move-to-folder",
@@ -22601,7 +22644,7 @@ function createBuiltinActions(environment, session) {
22601
22644
  icon: "FolderInput",
22602
22645
  keywords: ["organize", "relocate"],
22603
22646
  available: inWorkspace,
22604
- run: () => chunkHJBVSG6H_cjs.useFilesDialogs.getState().openMove()
22647
+ run: () => chunkQYDMOBGP_cjs.useFilesDialogs.getState().openMove()
22605
22648
  },
22606
22649
  {
22607
22650
  id: "ai-review-documents",
@@ -22610,7 +22653,7 @@ function createBuiltinActions(environment, session) {
22610
22653
  icon: "Sparkles",
22611
22654
  keywords: ["auto tag", "analyze", "suggest tags"],
22612
22655
  available: inWorkspace,
22613
- run: () => chunkHJBVSG6H_cjs.useAiReviewStore.getState().setOpen(true)
22656
+ run: () => chunkQYDMOBGP_cjs.useAiReviewStore.getState().setOpen(true)
22614
22657
  },
22615
22658
  {
22616
22659
  id: "docs-grid-view",
@@ -23039,7 +23082,7 @@ function AddFromAccountsButton({
23039
23082
  className: "gap-2",
23040
23083
  "data-testid": dataTestId,
23041
23084
  children: [
23042
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23085
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23043
23086
  "Add from accounts"
23044
23087
  ]
23045
23088
  }
@@ -23123,7 +23166,7 @@ function ConnectedUploadDropzone({
23123
23166
  const onFiles = browse(fileInputRef);
23124
23167
  const onFolder = browse(folderInputRef);
23125
23168
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
23126
- chunkERDQ4DAX_cjs.UploadDropArea,
23169
+ chunk2GFB43GN_cjs.UploadDropArea,
23127
23170
  {
23128
23171
  isActive: dragActive,
23129
23172
  isDisabled: disabled,
@@ -23137,11 +23180,11 @@ function ConnectedUploadDropzone({
23137
23180
  onClick: (e) => {
23138
23181
  if (e.target === e.currentTarget) onFiles();
23139
23182
  },
23140
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23183
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23141
23184
  }
23142
23185
  );
23143
23186
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
23144
- chunkERDQ4DAX_cjs.UrlInputDialog,
23187
+ chunk2GFB43GN_cjs.UrlInputDialog,
23145
23188
  {
23146
23189
  onUrlsSubmit,
23147
23190
  processing: disabled,
@@ -23154,12 +23197,12 @@ function ConnectedUploadDropzone({
23154
23197
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
23155
23198
  dropTarget,
23156
23199
  compactLeadingAction,
23157
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23200
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23158
23201
  ] });
23159
23202
  }
23160
23203
  if (!source) {
23161
23204
  return /* @__PURE__ */ jsxRuntime.jsx(
23162
- chunkERDQ4DAX_cjs.UploadSourcePicker,
23205
+ chunk2GFB43GN_cjs.UploadSourcePicker,
23163
23206
  {
23164
23207
  isDisabled: disabled,
23165
23208
  options: [
@@ -23195,14 +23238,14 @@ function ConnectedUploadDropzone({
23195
23238
  }
23196
23239
  if (source === "computer") {
23197
23240
  return /* @__PURE__ */ jsxRuntime.jsxs(
23198
- chunkERDQ4DAX_cjs.UploadSourceSection,
23241
+ chunk2GFB43GN_cjs.UploadSourceSection,
23199
23242
  {
23200
23243
  testId: "upload-source-computer",
23201
23244
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
23202
23245
  children: [
23203
23246
  dropTarget,
23204
23247
  /* @__PURE__ */ jsxRuntime.jsx(
23205
- chunkERDQ4DAX_cjs.UploadBrowseButtons,
23248
+ chunk2GFB43GN_cjs.UploadBrowseButtons,
23206
23249
  {
23207
23250
  layout: "grid",
23208
23251
  onFiles,
@@ -23215,15 +23258,15 @@ function ConnectedUploadDropzone({
23215
23258
  );
23216
23259
  }
23217
23260
  if (source === "internet" && onUrlsSubmit) {
23218
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23261
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23219
23262
  }
23220
23263
  if (source === "email" && accounts) {
23221
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23264
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23222
23265
  }
23223
23266
  return null;
23224
23267
  })();
23225
23268
  return /* @__PURE__ */ jsxRuntime.jsxs(
23226
- chunkERDQ4DAX_cjs.UploadFrame,
23269
+ chunk2GFB43GN_cjs.UploadFrame,
23227
23270
  {
23228
23271
  isCompact: compact,
23229
23272
  isDimmed: disabled || processingMessage !== null,
@@ -23284,7 +23327,7 @@ function EmptyWorkspaceUpload({
23284
23327
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
23285
23328
  }
23286
23329
  ),
23287
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.PrivacyExplainerModal, {})
23330
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.PrivacyExplainerModal, {})
23288
23331
  ] })
23289
23332
  }
23290
23333
  );
@@ -23391,9 +23434,9 @@ function useDocumentFilters({
23391
23434
  const { data: members = [] } = react.useWorkspaceUsers();
23392
23435
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
23393
23436
  const offlineIds = react.useOfflineDocumentIds();
23394
- const pendingFolders = chunkHJBVSG6H_cjs.usePendingFolders(selectedWorkspaceId);
23395
- const persistedDocumentFilters = chunkHJBVSG6H_cjs.useFilesPrefs((state) => state.documentFilters);
23396
- const setPersistedDocumentFilters = chunkHJBVSG6H_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23437
+ const pendingFolders = chunkQYDMOBGP_cjs.usePendingFolders(selectedWorkspaceId);
23438
+ const persistedDocumentFilters = chunkQYDMOBGP_cjs.useFilesPrefs((state) => state.documentFilters);
23439
+ const setPersistedDocumentFilters = chunkQYDMOBGP_cjs.useFilesPrefs((state) => state.setDocumentFilters);
23397
23440
  const folderTree = react$1.useMemo(() => {
23398
23441
  const allPaths = /* @__PURE__ */ new Set();
23399
23442
  let hasUnfiled = false;
@@ -23614,7 +23657,7 @@ function useDocumentFilters({
23614
23657
  {
23615
23658
  id: "uploaded_by_me",
23616
23659
  label: "Uploaded by me",
23617
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkJ24LYNTY_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23660
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkILH2KOHA_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
23618
23661
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
23619
23662
  },
23620
23663
  {
@@ -23735,7 +23778,7 @@ function useDocumentFilters({
23735
23778
  const folderPath = react$1.useMemo(() => {
23736
23779
  for (const [key, state] of documentFilters) {
23737
23780
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
23738
- return chunkERDQ4DAX_cjs.parseFolderSegments(key.slice("folder:".length));
23781
+ return chunk2GFB43GN_cjs.parseFolderSegments(key.slice("folder:".length));
23739
23782
  }
23740
23783
  }
23741
23784
  return [];
@@ -23744,7 +23787,7 @@ function useDocumentFilters({
23744
23787
  (path) => {
23745
23788
  const next = new Map(documentFilters);
23746
23789
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
23747
- const joined = chunkERDQ4DAX_cjs.joinFolderPath(path);
23790
+ const joined = chunk2GFB43GN_cjs.joinFolderPath(path);
23748
23791
  if (joined) next.set(`folder:${joined}`, "include");
23749
23792
  setDocumentFilters(next);
23750
23793
  },
@@ -24319,7 +24362,7 @@ function ExpandedMessage({
24319
24362
  const message = detail.data ?? summary;
24320
24363
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
24321
24364
  /* @__PURE__ */ jsxRuntime.jsx(
24322
- chunkETYBZA5E_cjs.MailMessageContent,
24365
+ chunkIGVTLCHD_cjs.MailMessageContent,
24323
24366
  {
24324
24367
  message,
24325
24368
  personLabel,
@@ -24390,7 +24433,7 @@ function ConnectedMailConversation({
24390
24433
  const message = await full(replyTarget);
24391
24434
  const attachments = forward ? await hydrate(message) : [];
24392
24435
  const role = account.provider === "native" && message.folder ? message.folder : folderRole;
24393
- onCompose(chunkETYBZA5E_cjs.replyMailCompose(message, { account, folderRole: role, forward, all, attachments }));
24436
+ onCompose(chunkIGVTLCHD_cjs.replyMailCompose(message, { account, folderRole: role, forward, all, attachments }));
24394
24437
  } catch (e) {
24395
24438
  fail2("Could not prepare the reply")(e);
24396
24439
  }
@@ -24398,7 +24441,7 @@ function ConnectedMailConversation({
24398
24441
  const editDraft = async (draft) => {
24399
24442
  try {
24400
24443
  const message = await full(draft);
24401
- onCompose(chunkETYBZA5E_cjs.draftMailCompose(message, await hydrate(message)));
24444
+ onCompose(chunkIGVTLCHD_cjs.draftMailCompose(message, await hydrate(message)));
24402
24445
  } catch (e) {
24403
24446
  fail2("Could not load draft attachments")(e);
24404
24447
  }
@@ -24419,7 +24462,7 @@ function ConnectedMailConversation({
24419
24462
  const move = (update) => void changes.apply(listed, update).then(onClose).catch(fail2("Could not update the conversation"));
24420
24463
  const print = async () => {
24421
24464
  try {
24422
- chunkETYBZA5E_cjs.printMail(
24465
+ chunkIGVTLCHD_cjs.printMail(
24423
24466
  conversation?.subject ?? newest?.subject ?? "",
24424
24467
  await Promise.all(messages.map(full))
24425
24468
  );
@@ -24437,7 +24480,7 @@ function ConnectedMailConversation({
24437
24480
  if (!newest)
24438
24481
  return /* @__PURE__ */ jsxRuntime.jsx("p", { role: "status", className: "p-4 text-sm text-muted-foreground", children: thread.error?.message ?? "Loading conversation\u2026" });
24439
24482
  return /* @__PURE__ */ jsxRuntime.jsx(
24440
- chunkETYBZA5E_cjs.MailConversationView,
24483
+ chunkIGVTLCHD_cjs.MailConversationView,
24441
24484
  {
24442
24485
  subject,
24443
24486
  messages,
@@ -24453,7 +24496,7 @@ function ConnectedMailConversation({
24453
24496
  }
24454
24497
  ) : !single && thread.error instanceof react.MailOfflineUnavailableError ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "status", className: "mb-3 text-sm text-muted-foreground", children: thread.error.message }) : null,
24455
24498
  actions: /* @__PURE__ */ jsxRuntime.jsx(
24456
- chunkETYBZA5E_cjs.MailActionBar,
24499
+ chunkIGVTLCHD_cjs.MailActionBar,
24457
24500
  {
24458
24501
  onBack: onClose,
24459
24502
  onEditDraft: folderRole === "drafts" ? () => void editDraft(newest) : void 0,
@@ -24469,7 +24512,7 @@ function ConnectedMailConversation({
24469
24512
  threadId ?? void 0
24470
24513
  ).catch(fail2("Could not flag the conversation")),
24471
24514
  onMarkUnread: () => void changes.apply([newest], { unread: true }).then(onClose).catch(fail2("Could not mark it unread")),
24472
- moveTargets: chunkETYBZA5E_cjs.mailMoveTargets(folders, folderRole, folderId),
24515
+ moveTargets: chunkIGVTLCHD_cjs.mailMoveTargets(folders, folderRole, folderId),
24473
24516
  onMove: (id) => move({ folder_id: id }),
24474
24517
  onSaveToWorkspace: onSaveToWorkspace ? () => onSaveToWorkspace(newest) : void 0,
24475
24518
  onPrint: () => void print(),
@@ -24519,7 +24562,7 @@ function MailRecipientInput({
24519
24562
  const { head, token } = currentToken(value);
24520
24563
  const found = source.useSuggestions(token);
24521
24564
  const options2 = react$1.useMemo(() => {
24522
- const chosen = new Set(chunkETYBZA5E_cjs.parseMailRecipients(head).map((r) => r.email.toLowerCase()));
24565
+ const chosen = new Set(chunkIGVTLCHD_cjs.parseMailRecipients(head).map((r) => r.email.toLowerCase()));
24523
24566
  return found.filter((p) => !chosen.has(p.email.toLowerCase())).slice(0, 8);
24524
24567
  }, [found, head]);
24525
24568
  const open = focused && !dismissed && token.length > 0 && options2.length > 0;
@@ -24667,7 +24710,7 @@ function useWordBody({
24667
24710
  }
24668
24711
  var MailBodyEditor = react$1.lazy(
24669
24712
  () => import('../MailBodyEditor-D7MGJMLH.cjs').catch(() => ({
24670
- default: chunkETYBZA5E_cjs.PlainMailBodyEditor
24713
+ default: chunkIGVTLCHD_cjs.PlainMailBodyEditor
24671
24714
  }))
24672
24715
  );
24673
24716
  var NativeDocxEditor = react$1.lazy(
@@ -24760,9 +24803,9 @@ function MailComposerForm({
24760
24803
  }, [drafts, draftId, subject]);
24761
24804
  const body = () => ({
24762
24805
  ...initial,
24763
- to: chunkETYBZA5E_cjs.parseMailRecipients(to),
24764
- cc: chunkETYBZA5E_cjs.parseMailRecipients(cc),
24765
- bcc: chunkETYBZA5E_cjs.parseMailRecipients(bcc),
24806
+ to: chunkIGVTLCHD_cjs.parseMailRecipients(to),
24807
+ cc: chunkIGVTLCHD_cjs.parseMailRecipients(cc),
24808
+ bcc: chunkIGVTLCHD_cjs.parseMailRecipients(bcc),
24766
24809
  subject,
24767
24810
  text,
24768
24811
  html,
@@ -25234,7 +25277,7 @@ function MailComposerForm({
25234
25277
  }
25235
25278
  ),
25236
25279
  documents && /* @__PURE__ */ jsxRuntime.jsx(
25237
- chunkETYBZA5E_cjs.MailDocumentPicker,
25280
+ chunkIGVTLCHD_cjs.MailDocumentPicker,
25238
25281
  {
25239
25282
  documents: documents.documents,
25240
25283
  disabled: locked,
@@ -25594,7 +25637,7 @@ function ConnectedMailComposer({
25594
25637
  openId,
25595
25638
  async (from, id) => {
25596
25639
  const message = await client.getMessage(from, id);
25597
- return chunkETYBZA5E_cjs.draftMailCompose(
25640
+ return chunkIGVTLCHD_cjs.draftMailCompose(
25598
25641
  message,
25599
25642
  await hydrateMailAttachments(client, from, message.id, message.attachments, {
25600
25643
  isOnline,
@@ -25608,11 +25651,11 @@ function ConnectedMailComposer({
25608
25651
  const start = react$1.useMemo(() => {
25609
25652
  if (replyTo)
25610
25653
  return original.data && account ? {
25611
- ...chunkETYBZA5E_cjs.replyMailCompose(original.data, { account, folderRole: "inbox" }),
25654
+ ...chunkIGVTLCHD_cjs.replyMailCompose(original.data, { account, folderRole: "inbox" }),
25612
25655
  text: "",
25613
25656
  html: ""
25614
25657
  } : void 0;
25615
- return reloaded ? draft.data : initial ?? (openId ? draft.data : chunkETYBZA5E_cjs.emptyMailCompose());
25658
+ return reloaded ? draft.data : initial ?? (openId ? draft.data : chunkIGVTLCHD_cjs.emptyMailCompose());
25616
25659
  }, [replyTo, original.data, account, reloaded, initial, openId, draft.data]);
25617
25660
  if (!start)
25618
25661
  return draft.error ?? original.error ? /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "p-4 text-sm text-destructive", children: (draft.error ?? original.error)?.message }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: "Loading draft\u2026" });
@@ -25863,10 +25906,10 @@ function ConnectedMailbox({
25863
25906
  const saveToWorkspace = useMailSaveToWorkspace();
25864
25907
  const session = react.useArbiSessionStore();
25865
25908
  const [gridState] = react$1.useState(
25866
- () => session.getState().grid.states[chunkETYBZA5E_cjs.MAIL_GRID_ID]
25909
+ () => session.getState().grid.states[chunkIGVTLCHD_cjs.MAIL_GRID_ID]
25867
25910
  );
25868
25911
  const onGridStateChange = react$1.useCallback(
25869
- (state) => session.setGridState(chunkETYBZA5E_cjs.MAIL_GRID_ID, state),
25912
+ (state) => session.setGridState(chunkIGVTLCHD_cjs.MAIL_GRID_ID, state),
25870
25913
  [session]
25871
25914
  );
25872
25915
  const [, setViewerOpen] = react.useTransientView(MAIL_VIEWER_OPEN_VIEW, false);
@@ -25987,7 +26030,7 @@ function ConnectedMailbox({
25987
26030
  const conversation = rows?.find((c) => c.thread_id === selected) ?? (openedAlone?.thread_id === selected ? openedAlone : void 0);
25988
26031
  chunkWGWP4ATS_cjs.useIntentRequest(
25989
26032
  chunkWGWP4ATS_cjs.mailComposeRequest,
25990
- (attachments) => openCompose({ ...chunkETYBZA5E_cjs.emptyMailCompose(), attachments })
26033
+ (attachments) => openCompose({ ...chunkIGVTLCHD_cjs.emptyMailCompose(), attachments })
25991
26034
  );
25992
26035
  const showFolder = (id) => {
25993
26036
  setFolder(id);
@@ -26125,7 +26168,7 @@ function ConnectedMailbox({
26125
26168
  onTabChange: () => {
26126
26169
  },
26127
26170
  compactBreakpoint: 360,
26128
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesFilterBar, { children: [
26171
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesFilterBar, { children: [
26129
26172
  /* @__PURE__ */ jsxRuntime.jsx(
26130
26173
  chunk6UZC4XVV_cjs.FilterInput,
26131
26174
  {
@@ -26160,7 +26203,7 @@ function ConnectedMailbox({
26160
26203
  }
26161
26204
  ),
26162
26205
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
26163
- chunkERDQ4DAX_cjs.FolderFilterButton,
26206
+ chunk2GFB43GN_cjs.FolderFilterButton,
26164
26207
  {
26165
26208
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
26166
26209
  isActive: false,
@@ -26168,7 +26211,7 @@ function ConnectedMailbox({
26168
26211
  onOpenChange: setFolderMenuOpen,
26169
26212
  testId: "mail-folder-button",
26170
26213
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
26171
- chunkERDQ4DAX_cjs.FolderPickerRow,
26214
+ chunk2GFB43GN_cjs.FolderPickerRow,
26172
26215
  {
26173
26216
  label: item.name,
26174
26217
  count: item.unread > 0 ? item.unread : void 0,
@@ -26214,7 +26257,7 @@ function ConnectedMailbox({
26214
26257
  {
26215
26258
  size: "sm",
26216
26259
  disabled: !ready || !!compose,
26217
- onClick: () => openCompose(chunkETYBZA5E_cjs.emptyMailCompose()),
26260
+ onClick: () => openCompose(chunkIGVTLCHD_cjs.emptyMailCompose()),
26218
26261
  children: [
26219
26262
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Plus, { className: "mr-1.5 size-4" }),
26220
26263
  "Email"
@@ -26293,7 +26336,7 @@ function ConnectedMailbox({
26293
26336
  onEdit: (value) => openCompose({ ...value })
26294
26337
  }),
26295
26338
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: deviceFolder ? "hidden" : "min-h-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
26296
- chunkETYBZA5E_cjs.MailGrid,
26339
+ chunkIGVTLCHD_cjs.MailGrid,
26297
26340
  {
26298
26341
  conversations: filtered,
26299
26342
  loading: list.isPending && list.fetchStatus !== "idle",
@@ -26302,7 +26345,7 @@ function ConnectedMailbox({
26302
26345
  personLabel,
26303
26346
  gridState,
26304
26347
  onGridStateChange,
26305
- flagDisabledReason: canChange ? void 0 : chunkETYBZA5E_cjs.NEEDS_CONNECTION,
26348
+ flagDisabledReason: canChange ? void 0 : chunkIGVTLCHD_cjs.NEEDS_CONNECTION,
26306
26349
  onToggleFlag: (c) => void toggleRowFlag(c),
26307
26350
  onSelect: (id) => {
26308
26351
  if (id.startsWith(LOCAL_DRAFT_PREFIX)) {
@@ -26520,7 +26563,7 @@ function ConnectedMailMessage({
26520
26563
  isOnline,
26521
26564
  offline
26522
26565
  }) : [];
26523
- onCompose(chunkETYBZA5E_cjs.replyMailCompose(message, { account, folderRole, forward, all, attachments }));
26566
+ onCompose(chunkIGVTLCHD_cjs.replyMailCompose(message, { account, folderRole, forward, all, attachments }));
26524
26567
  } catch (e) {
26525
26568
  setError(e instanceof Error ? e.message : "Could not prepare forwarded attachments");
26526
26569
  }
@@ -26528,7 +26571,7 @@ function ConnectedMailMessage({
26528
26571
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", children: [
26529
26572
  error && /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "px-4 pt-3 text-sm text-destructive", children: error }),
26530
26573
  /* @__PURE__ */ jsxRuntime.jsx(
26531
- chunkETYBZA5E_cjs.MailMessageView,
26574
+ chunkIGVTLCHD_cjs.MailMessageView,
26532
26575
  {
26533
26576
  account,
26534
26577
  message,
@@ -26541,7 +26584,7 @@ function ConnectedMailMessage({
26541
26584
  onEditDraft: () => void hydrateMailAttachments(client, account, message.id, message.attachments, {
26542
26585
  isOnline,
26543
26586
  offline
26544
- }).then((attachments) => onCompose(chunkETYBZA5E_cjs.draftMailCompose(message, attachments))).catch((e) => setError(e.message)),
26587
+ }).then((attachments) => onCompose(chunkIGVTLCHD_cjs.draftMailCompose(message, attachments))).catch((e) => setError(e.message)),
26545
26588
  onReply: (forward, all) => void reply(forward, all),
26546
26589
  onReplyWithArbi: onReplyWithArbi && account.provider === "native" ? () => onReplyWithArbi(message, account) : void 0,
26547
26590
  onUpdate: (body) => void update(body),
@@ -26707,7 +26750,7 @@ function ConnectedSecureMailClaimPage({
26707
26750
  }) {
26708
26751
  const authenticated = react.useArbiSession().status === "signed-in";
26709
26752
  const { openMail } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
26710
- const { loading } = chunkMM5Q7AJL_cjs.useAuthPages();
26753
+ const { loading } = chunkTQXMASFX_cjs.useAuthPages();
26711
26754
  const claim = react.useClaimSecureMail();
26712
26755
  const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
26713
26756
  const [failure, setFailure] = react$1.useState(null);
@@ -26747,7 +26790,7 @@ function ConnectedSecureMailClaimPage({
26747
26790
  }
26748
26791
  })();
26749
26792
  }, [authenticated, claimId, key]);
26750
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, { variant: "splash" }) });
26793
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, { variant: "splash" }) });
26751
26794
  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: [
26752
26795
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
26753
26796
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -29893,7 +29936,7 @@ function ProcessingSettingsFooter({
29893
29936
  [configField]
29894
29937
  );
29895
29938
  return /* @__PURE__ */ jsxRuntime.jsx(
29896
- chunkERDQ4DAX_cjs.UploadFooterBar,
29939
+ chunk2GFB43GN_cjs.UploadFooterBar,
29897
29940
  {
29898
29941
  skipDuplicates,
29899
29942
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -29902,7 +29945,7 @@ function ProcessingSettingsFooter({
29902
29945
  autoRenameInstruction,
29903
29946
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
29904
29947
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
29905
- chunkERDQ4DAX_cjs.ShareToggle,
29948
+ chunk2GFB43GN_cjs.ShareToggle,
29906
29949
  {
29907
29950
  isVisible: isShared,
29908
29951
  onToggle: onSharedChange,
@@ -30079,7 +30122,7 @@ ${summary}`,
30079
30122
  }
30080
30123
  );
30081
30124
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
30082
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
30125
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
30083
30126
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
30084
30127
  ConnectedUploadDropzone,
30085
30128
  {
@@ -30095,7 +30138,7 @@ ${summary}`,
30095
30138
  }
30096
30139
  ),
30097
30140
  /* @__PURE__ */ jsxRuntime.jsx(
30098
- chunkERDQ4DAX_cjs.SelectedFilesList,
30141
+ chunk2GFB43GN_cjs.SelectedFilesList,
30099
30142
  {
30100
30143
  renderFileIcon,
30101
30144
  files,
@@ -30104,10 +30147,10 @@ ${summary}`,
30104
30147
  formatFileSize: formatFileSize4
30105
30148
  }
30106
30149
  ),
30107
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
30108
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadErrorMessage, { message: error })
30109
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
30110
- chunkERDQ4DAX_cjs.UploadProgress,
30150
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
30151
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadErrorMessage, { message: error })
30152
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
30153
+ chunk2GFB43GN_cjs.UploadProgress,
30111
30154
  {
30112
30155
  fileCount: count2,
30113
30156
  entityLabel: plural5(count2),
@@ -30247,7 +30290,7 @@ var PROVIDER_FAMILIES = [
30247
30290
  { key: "google", label: "Google", vendors: ["gmail"] }
30248
30291
  ];
30249
30292
  function VendorGlyph({ catalog }) {
30250
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
30293
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
30251
30294
  }
30252
30295
  function mailboxProductName(catalog) {
30253
30296
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -30314,7 +30357,7 @@ function EmailProviderRow({
30314
30357
  const emailNoun = (n) => n === 1 ? "email" : "emails";
30315
30358
  const syncedCount = thisSync?.synced_count ?? 0;
30316
30359
  return /* @__PURE__ */ jsxRuntime.jsxs(
30317
- chunkERDQ4DAX_cjs.ImportRow,
30360
+ chunk2GFB43GN_cjs.ImportRow,
30318
30361
  {
30319
30362
  testId: `email-provider-row-${catalog.vendor_key}`,
30320
30363
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -30323,7 +30366,7 @@ function EmailProviderRow({
30323
30366
  // Connecting AND reconnecting are owned by the family header, so a
30324
30367
  // not-connected or needs-reconnect row shows no button of its own.
30325
30368
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
30326
- chunkERDQ4DAX_cjs.ImportRunActions,
30369
+ chunk2GFB43GN_cjs.ImportRunActions,
30327
30370
  {
30328
30371
  isRunning: running,
30329
30372
  isStopping: cancelSync.isPending,
@@ -30338,10 +30381,10 @@ function EmailProviderRow({
30338
30381
  ),
30339
30382
  children: [
30340
30383
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
30341
- chunkERDQ4DAX_cjs.ImportSummary,
30384
+ chunk2GFB43GN_cjs.ImportSummary,
30342
30385
  {
30343
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30344
- chunkERDQ4DAX_cjs.FolderSummary,
30386
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
30387
+ chunk2GFB43GN_cjs.FolderSummary,
30345
30388
  {
30346
30389
  names: thisSync.folders.map(
30347
30390
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -30364,7 +30407,7 @@ function EmailProviderRow({
30364
30407
  }
30365
30408
  ),
30366
30409
  running && /* @__PURE__ */ jsxRuntime.jsx(
30367
- chunkERDQ4DAX_cjs.ImportProgress,
30410
+ chunk2GFB43GN_cjs.ImportProgress,
30368
30411
  {
30369
30412
  processed: progress?.processed ?? 0,
30370
30413
  total: progress?.total,
@@ -30481,9 +30524,9 @@ function EmailImportPanel({
30481
30524
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
30482
30525
  }).filter((g) => g.entries.length > 0 || g.extra);
30483
30526
  if (groups.length === 0) return null;
30484
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
30527
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
30485
30528
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
30486
- chunkERDQ4DAX_cjs.ImportFamilySection,
30529
+ chunk2GFB43GN_cjs.ImportFamilySection,
30487
30530
  {
30488
30531
  label: family.label,
30489
30532
  identity,
@@ -30492,7 +30535,7 @@ function EmailImportPanel({
30492
30535
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
30493
30536
  testId: `import-family-${family.key}`,
30494
30537
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
30495
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.ImportList, { children: [
30538
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.ImportList, { children: [
30496
30539
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
30497
30540
  EmailProviderRow,
30498
30541
  {
@@ -30576,7 +30619,7 @@ function driveProduct(vendorKey) {
30576
30619
  }
30577
30620
  function VendorGlyph2({ catalog }) {
30578
30621
  return /* @__PURE__ */ jsxRuntime.jsx(
30579
- chunkERDQ4DAX_cjs.VendorLogo,
30622
+ chunk2GFB43GN_cjs.VendorLogo,
30580
30623
  {
30581
30624
  vendorKey: catalog.vendor_key,
30582
30625
  product: driveProduct(catalog.vendor_key).glyph,
@@ -30699,7 +30742,7 @@ function OneDriveProviderRow({
30699
30742
  const driveNoun = (n) => n === 1 ? "document" : "documents";
30700
30743
  const showRunActions = isConnected && !needsReconnect;
30701
30744
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
30702
- chunkERDQ4DAX_cjs.ImportActionButton,
30745
+ chunk2GFB43GN_cjs.ImportActionButton,
30703
30746
  {
30704
30747
  onClick: () => void reconnectSelf(),
30705
30748
  disabled: reauthPending,
@@ -30708,7 +30751,7 @@ function OneDriveProviderRow({
30708
30751
  }
30709
30752
  ) : null;
30710
30753
  return /* @__PURE__ */ jsxRuntime.jsxs(
30711
- chunkERDQ4DAX_cjs.ImportRow,
30754
+ chunk2GFB43GN_cjs.ImportRow,
30712
30755
  {
30713
30756
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
30714
30757
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -30720,7 +30763,7 @@ function OneDriveProviderRow({
30720
30763
  // Until folders are configured here (or when nothing new is pending), Import now
30721
30764
  // stays disabled; the gear opens the folder picker.
30722
30765
  /* @__PURE__ */ jsxRuntime.jsx(
30723
- chunkERDQ4DAX_cjs.ImportRunActions,
30766
+ chunk2GFB43GN_cjs.ImportRunActions,
30724
30767
  {
30725
30768
  isRunning: running,
30726
30769
  isStopping: cancelSync.isPending,
@@ -30739,16 +30782,16 @@ function OneDriveProviderRow({
30739
30782
  ) : reconnectAction
30740
30783
  ),
30741
30784
  children: [
30742
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
30785
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
30743
30786
  "Couldn\u2019t reach SharePoint. Click ",
30744
30787
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
30745
30788
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
30746
30789
  ] }),
30747
30790
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
30748
- chunkERDQ4DAX_cjs.ImportSummary,
30791
+ chunk2GFB43GN_cjs.ImportSummary,
30749
30792
  {
30750
30793
  className: "mt-2",
30751
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_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,
30794
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_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,
30752
30795
  children: [
30753
30796
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
30754
30797
  "Syncing ",
@@ -30776,7 +30819,7 @@ function OneDriveProviderRow({
30776
30819
  }
30777
30820
  ),
30778
30821
  running && /* @__PURE__ */ jsxRuntime.jsx(
30779
- chunkERDQ4DAX_cjs.ImportProgress,
30822
+ chunk2GFB43GN_cjs.ImportProgress,
30780
30823
  {
30781
30824
  processed: progress?.processed ?? 0,
30782
30825
  total: progress?.total,
@@ -30840,13 +30883,13 @@ function SharePointEnableRow({
30840
30883
  }
30841
30884
  };
30842
30885
  return /* @__PURE__ */ jsxRuntime.jsx(
30843
- chunkERDQ4DAX_cjs.ImportRow,
30886
+ chunk2GFB43GN_cjs.ImportRow,
30844
30887
  {
30845
30888
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
30846
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
30889
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
30847
30890
  name: product.name,
30848
30891
  actions: /* @__PURE__ */ jsxRuntime.jsx(
30849
- chunkERDQ4DAX_cjs.ImportActionButton,
30892
+ chunk2GFB43GN_cjs.ImportActionButton,
30850
30893
  {
30851
30894
  onClick: () => void enable(),
30852
30895
  disabled: pending,
@@ -30854,7 +30897,7 @@ function SharePointEnableRow({
30854
30897
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
30855
30898
  }
30856
30899
  ),
30857
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.ImportHint, { children: [
30900
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.ImportHint, { children: [
30858
30901
  "Does your organization require admin approval?",
30859
30902
  " ",
30860
30903
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -30903,11 +30946,11 @@ function DriveImportPanel({
30903
30946
  }
30904
30947
  const product = driveProduct(entry.vendor_key);
30905
30948
  return /* @__PURE__ */ jsxRuntime.jsx(
30906
- chunkERDQ4DAX_cjs.ImportRow,
30949
+ chunk2GFB43GN_cjs.ImportRow,
30907
30950
  {
30908
30951
  testId: `onedrive-provider-row-${entry.vendor_key}`,
30909
30952
  logo: /* @__PURE__ */ jsxRuntime.jsx(
30910
- chunkERDQ4DAX_cjs.VendorLogo,
30953
+ chunk2GFB43GN_cjs.VendorLogo,
30911
30954
  {
30912
30955
  vendorKey: entry.vendor_key,
30913
30956
  product: product.glyph,
@@ -30932,7 +30975,7 @@ function DriveImportPanel({
30932
30975
  );
30933
30976
  }).filter(Boolean);
30934
30977
  if (rows.length === 0) return null;
30935
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
30978
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
30936
30979
  }
30937
30980
  function useHasAccountsImport() {
30938
30981
  const isVendorVisible = react.useConnectorVendorVisibility();
@@ -31141,7 +31184,7 @@ function DocumentNameCellRenderer(params) {
31141
31184
  if (!doc) return null;
31142
31185
  const context = params.context;
31143
31186
  return /* @__PURE__ */ jsxRuntime.jsx(
31144
- chunkJ24LYNTY_cjs.DocumentNameCell,
31187
+ chunkILH2KOHA_cjs.DocumentNameCell,
31145
31188
  {
31146
31189
  doc,
31147
31190
  canEdit: canEdit(params),
@@ -31159,7 +31202,7 @@ function DocumentNameCellRenderer(params) {
31159
31202
  function SharedCellRenderer(params) {
31160
31203
  if (!params.data) return null;
31161
31204
  return /* @__PURE__ */ jsxRuntime.jsx(
31162
- chunkJ24LYNTY_cjs.DocumentSharedCell,
31205
+ chunkILH2KOHA_cjs.DocumentSharedCell,
31163
31206
  {
31164
31207
  document: params.data,
31165
31208
  disabled: !params.canToggle(params),
@@ -31172,7 +31215,7 @@ function StatusCellRenderer(params) {
31172
31215
  if (!params.data) return null;
31173
31216
  const context = params.context;
31174
31217
  return /* @__PURE__ */ jsxRuntime.jsx(
31175
- chunkJ24LYNTY_cjs.StatusCell,
31218
+ chunkILH2KOHA_cjs.StatusCell,
31176
31219
  {
31177
31220
  doc: params.data,
31178
31221
  onStatusClick: params.onStatusClick,
@@ -31184,7 +31227,7 @@ function LabelsCellRenderer(params) {
31184
31227
  if (!params.data) return null;
31185
31228
  const context = params.context;
31186
31229
  return /* @__PURE__ */ jsxRuntime.jsx(
31187
- chunkJ24LYNTY_cjs.DocumentLabelsCell,
31230
+ chunkILH2KOHA_cjs.DocumentLabelsCell,
31188
31231
  {
31189
31232
  doc: params.data,
31190
31233
  labels: params.labels,
@@ -31204,7 +31247,7 @@ function RelatedDocsCellRenderer(params) {
31204
31247
  if (!related || react.getRelatedTotal(related) === 0) return null;
31205
31248
  const { onOpenDocument, onDeleteDocument } = params;
31206
31249
  return /* @__PURE__ */ jsxRuntime.jsx(
31207
- chunkJ24LYNTY_cjs.RelatedDocumentsCell,
31250
+ chunkILH2KOHA_cjs.RelatedDocumentsCell,
31208
31251
  {
31209
31252
  currentDoc: params.data,
31210
31253
  related,
@@ -31219,7 +31262,7 @@ function FolderCellRenderer(params) {
31219
31262
  if (!params.data) return null;
31220
31263
  const context = params.context;
31221
31264
  return /* @__PURE__ */ jsxRuntime.jsx(
31222
- chunkJ24LYNTY_cjs.DocumentFolderCell,
31265
+ chunkILH2KOHA_cjs.DocumentFolderCell,
31223
31266
  {
31224
31267
  document: params.data,
31225
31268
  isEditable: params.canEdit(params),
@@ -31233,7 +31276,7 @@ function CreatedByCellRenderer(params) {
31233
31276
  const context = params.context;
31234
31277
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
31235
31278
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
31236
- chunkJ24LYNTY_cjs.UserAvatar,
31279
+ chunkILH2KOHA_cjs.UserAvatar,
31237
31280
  {
31238
31281
  user: creator,
31239
31282
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -31246,7 +31289,7 @@ function CheckboxCellRenderer(params) {
31246
31289
  if (!params.data) return null;
31247
31290
  const isChecked = params.value === true;
31248
31291
  return /* @__PURE__ */ jsxRuntime.jsx(
31249
- chunkERDQ4DAX_cjs.CheckboxCell,
31292
+ chunk2GFB43GN_cjs.CheckboxCell,
31250
31293
  {
31251
31294
  isChecked,
31252
31295
  color: tagColor,
@@ -31266,13 +31309,13 @@ function TagHeaderComponent(params) {
31266
31309
  return () => params.column.removeEventListener("sortChanged", updateSort);
31267
31310
  }, [params.column]);
31268
31311
  return /* @__PURE__ */ jsxRuntime.jsx(
31269
- chunkERDQ4DAX_cjs.TagColumnHeader,
31312
+ chunk2GFB43GN_cjs.TagColumnHeader,
31270
31313
  {
31271
31314
  isCentered: isCheckbox,
31272
31315
  sort,
31273
31316
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
31274
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilterButton, { params, colId: tag.external_id }),
31275
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkVD33HXFZ_cjs.ConnectedTagEntity, { tag, size: "sm" })
31317
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilterButton, { params, colId: tag.external_id }),
31318
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkWW2H5C6L_cjs.ConnectedTagEntity, { tag, size: "sm" })
31276
31319
  }
31277
31320
  );
31278
31321
  }
@@ -31357,7 +31400,7 @@ function createTagColumn({
31357
31400
  tagColor,
31358
31401
  isMember
31359
31402
  } : void 0,
31360
- cellEditor: isSelect ? chunkERDQ4DAX_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
31403
+ cellEditor: isSelect ? chunk2GFB43GN_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
31361
31404
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
31362
31405
  cellEditorPopup: isText || isSelect,
31363
31406
  // Text and Select tags use popup editor for better UX
@@ -31477,8 +31520,8 @@ function createDocumentColumns({
31477
31520
  onToggleShared,
31478
31521
  notify: notify17
31479
31522
  }) {
31480
- const isRowEditableByOwner = (params) => chunkERDQ4DAX_cjs.canChangeVisibility(params.data, currentUserExtId);
31481
- const isRowEditableByMember = (params) => chunkERDQ4DAX_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
31523
+ const isRowEditableByOwner = (params) => chunk2GFB43GN_cjs.canChangeVisibility(params.data, currentUserExtId);
31524
+ const isRowEditableByMember = (params) => chunk2GFB43GN_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
31482
31525
  const checkboxTags = availableTags.filter(browser.isLabelTag);
31483
31526
  const allColumns = [];
31484
31527
  allColumns.push({
@@ -31601,7 +31644,7 @@ function createDocumentColumns({
31601
31644
  singleClickEdit: true,
31602
31645
  cellEditor: "agSelectCellEditor",
31603
31646
  cellEditorParams: {
31604
- values: [...chunkERDQ4DAX_cjs.DOCUMENT_TYPE_OPTIONS]
31647
+ values: [...chunk2GFB43GN_cjs.DOCUMENT_TYPE_OPTIONS]
31605
31648
  },
31606
31649
  context: { icon: lucideReact.Sparkles },
31607
31650
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -32138,7 +32181,7 @@ function useDocumentTable({
32138
32181
  }
32139
32182
  const stabilizedTagIds = prevTagIdsRef.current;
32140
32183
  const stabilizedTagNames = prevTagNamesRef.current;
32141
- const defaultVisibleColumns = react$1.useMemo(() => [...chunkERDQ4DAX_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
32184
+ const defaultVisibleColumns = react$1.useMemo(() => [...chunk2GFB43GN_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
32142
32185
  const toggleShared = react$1.useCallback((docId, shared) => {
32143
32186
  updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
32144
32187
  }, []);
@@ -32286,12 +32329,9 @@ function useDocumentTable({
32286
32329
  toggleShared,
32287
32330
  tagNotify
32288
32331
  ]);
32289
- const handleColumnStateChange = react$1.useCallback(() => {
32290
- }, []);
32291
32332
  return {
32292
32333
  columnDefs,
32293
32334
  onCellValueChanged: handleCellValueChanged,
32294
- handleColumnStateChange,
32295
32335
  defaultVisibleColumns,
32296
32336
  // For use in ViewEditor and initial grid state
32297
32337
  updateFolder
@@ -32403,10 +32443,10 @@ function ConnectedFilesBulkActions({
32403
32443
  const bulk = useDocumentBulkActions(selectedDocuments);
32404
32444
  const count2 = selectedDocuments.length;
32405
32445
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
32406
- const shareState = chunkERDQ4DAX_cjs.shareStateOf(bulk.freshSelectedDocuments);
32446
+ const shareState = chunk2GFB43GN_cjs.shareStateOf(bulk.freshSelectedDocuments);
32407
32447
  const handleToggleShare = async (shouldShare) => {
32408
32448
  if (shouldShare) return bulk.share();
32409
- const confirmed = await chunkERDQ4DAX_cjs.confirmHideFromMembers(
32449
+ const confirmed = await chunk2GFB43GN_cjs.confirmHideFromMembers(
32410
32450
  confirm,
32411
32451
  bulk.freshSelectedDocuments.length,
32412
32452
  members
@@ -32423,7 +32463,7 @@ function ConnectedFilesBulkActions({
32423
32463
  const { openDocumentsChat, openFieldsManager } = actions;
32424
32464
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
32425
32465
  /* @__PURE__ */ jsxRuntime.jsx(
32426
- chunkERDQ4DAX_cjs.BulkActionsBar,
32466
+ chunk2GFB43GN_cjs.BulkActionsBar,
32427
32467
  {
32428
32468
  count: count2,
32429
32469
  onClear: onClearSelection,
@@ -32449,7 +32489,7 @@ function ConnectedFilesBulkActions({
32449
32489
  onDelete: () => setConfirming("delete"),
32450
32490
  shareState,
32451
32491
  shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
32452
- shareTooltip: chunkERDQ4DAX_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
32492
+ shareTooltip: chunk2GFB43GN_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
32453
32493
  onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
32454
32494
  }
32455
32495
  ),
@@ -32464,7 +32504,7 @@ function ConnectedFilesBulkActions({
32464
32504
  onClearSelection();
32465
32505
  },
32466
32506
  title: `Delete ${count2} ${noun}`,
32467
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkERDQ4DAX_cjs.RECENTLY_DELETED_HINT : chunkERDQ4DAX_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
32507
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunk2GFB43GN_cjs.RECENTLY_DELETED_HINT : chunk2GFB43GN_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
32468
32508
  confirmText: "Delete",
32469
32509
  variant: "destructive"
32470
32510
  }
@@ -32569,7 +32609,6 @@ function useDocumentGridSync({
32569
32609
  workspaceUsers,
32570
32610
  selectedDocumentIds,
32571
32611
  setSelectedDocumentIds,
32572
- handleColumnStateChange,
32573
32612
  updateFolder,
32574
32613
  onGridApi
32575
32614
  }) {
@@ -32691,13 +32730,11 @@ function useDocumentGridSync({
32691
32730
  // All columns rendered, not virtualised: Chrome can repaint unmounted off-screen columns
32692
32731
  // blank when scrolled back.
32693
32732
  suppressColumnVirtualisation: true,
32694
- onColumnMoved: handleColumnStateChange,
32695
- onColumnVisible: handleColumnStateChange,
32696
32733
  isExternalFilterPresent: () => externalFilterActiveRef.current,
32697
32734
  doesExternalFilterPass: (node) => !node.data || visibleDocIdsRef.current.has(node.data.external_id),
32698
32735
  context
32699
32736
  };
32700
- }, [handleColumnStateChange, updateFolder]);
32737
+ }, [updateFolder]);
32701
32738
  return {
32702
32739
  gridApiRef,
32703
32740
  gridApi,
@@ -32715,7 +32752,7 @@ function useAiReviewLiveUpdates() {
32715
32752
  if (message.batch_type !== "doctag_generate") return;
32716
32753
  const docIds = message.doc_ext_ids ?? [];
32717
32754
  if (!docIds.length) return;
32718
- void refreshDocuments(docIds).then(() => chunkHJBVSG6H_cjs.useAiReviewStore.getState().markFinished(docIds));
32755
+ void refreshDocuments(docIds).then(() => chunkQYDMOBGP_cjs.useAiReviewStore.getState().markFinished(docIds));
32719
32756
  const { clearTask } = react.useArbiWsStore.getState();
32720
32757
  for (const id of docIds) clearTask(id);
32721
32758
  });
@@ -32750,7 +32787,7 @@ function useBatchCompleteToasts() {
32750
32787
  timer.current = null;
32751
32788
  const runs = pending.current;
32752
32789
  pending.current = /* @__PURE__ */ new Map();
32753
- const hasReview = !!chunkHJBVSG6H_cjs.useAiReviewStore.getState().run;
32790
+ const hasReview = !!chunkQYDMOBGP_cjs.useAiReviewStore.getState().run;
32754
32791
  for (const [id, entry] of runs) {
32755
32792
  const n = entry.docIds.size;
32756
32793
  notify17(
@@ -32763,7 +32800,7 @@ function useBatchCompleteToasts() {
32763
32800
  ...hasReview && {
32764
32801
  action: {
32765
32802
  label: "View results",
32766
- onClick: () => chunkHJBVSG6H_cjs.useAiReviewStore.getState().setOpen(true)
32803
+ onClick: () => chunkQYDMOBGP_cjs.useAiReviewStore.getState().setOpen(true)
32767
32804
  }
32768
32805
  }
32769
32806
  }
@@ -32771,7 +32808,7 @@ function useBatchCompleteToasts() {
32771
32808
  }
32772
32809
  }, AI_FIELDS_NOTICE_WINDOW_MS);
32773
32810
  } else if (message.batch_type === "entity_extract") {
32774
- say(`${chunk4VSRSF4Q_cjs.entitiesPhrase()} extracted from ${chunk4VSRSF4Q_cjs.documentCount(docIds.length)}`, "success", {
32811
+ say(`${chunk2VWE46ZF_cjs.entitiesPhrase()} extracted from ${chunk2VWE46ZF_cjs.documentCount(docIds.length)}`, "success", {
32775
32812
  ...openTags && { action: { label: "View", onClick: openTags } }
32776
32813
  });
32777
32814
  } else if (message.batch_type === "upload") {
@@ -32810,12 +32847,12 @@ function ConnectedMoveToFolder({
32810
32847
  setIsSubmitting(true);
32811
32848
  try {
32812
32849
  if (folderToMove) {
32813
- const docsInFolder = chunkERDQ4DAX_cjs.collectFolderDocs(allDocs, folderToMove.path);
32850
+ const docsInFolder = chunk2GFB43GN_cjs.collectFolderDocs(allDocs, folderToMove.path);
32814
32851
  if (docsInFolder.length === 0) {
32815
32852
  onClose();
32816
32853
  return;
32817
32854
  }
32818
- const newPrefixSegments = targetFolder ? [...chunkERDQ4DAX_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
32855
+ const newPrefixSegments = targetFolder ? [...chunk2GFB43GN_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
32819
32856
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
32820
32857
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
32821
32858
  notify17(`Moved folder to ${dest}`, "success");
@@ -32840,9 +32877,9 @@ function ConnectedMoveToFolder({
32840
32877
  }
32841
32878
  };
32842
32879
  const isFolderMode = !!folderToMove;
32843
- const folders = chunkJ24LYNTY_cjs.useDocumentFolders(allDocs, targetFolder);
32880
+ const folders = chunkILH2KOHA_cjs.useDocumentFolders(allDocs, targetFolder);
32844
32881
  return /* @__PURE__ */ jsxRuntime.jsx(
32845
- chunkERDQ4DAX_cjs.MoveToFolderDialog,
32882
+ chunk2GFB43GN_cjs.MoveToFolderDialog,
32846
32883
  {
32847
32884
  open: isOpen,
32848
32885
  onClose,
@@ -32852,7 +32889,7 @@ function ConnectedMoveToFolder({
32852
32889
  isSubmitting,
32853
32890
  onConfirm: handleMove,
32854
32891
  children: /* @__PURE__ */ jsxRuntime.jsx(
32855
- chunkERDQ4DAX_cjs.FolderCommandList,
32892
+ chunk2GFB43GN_cjs.FolderCommandList,
32856
32893
  {
32857
32894
  folders,
32858
32895
  value: targetFolder,
@@ -33080,7 +33117,7 @@ function ConnectedBulkTagEditor({
33080
33117
  const isClearing = change?.action === "remove";
33081
33118
  return {
33082
33119
  id: tag.external_id,
33083
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkVD33HXFZ_cjs.ConnectedTagEntity, { tag, size: "md" }),
33120
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkWW2H5C6L_cjs.ConnectedTagEntity, { tag, size: "md" }),
33084
33121
  type: tag.tag_type.type,
33085
33122
  color: ui.getEntityColor(tag.external_id, "medium"),
33086
33123
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -33112,7 +33149,7 @@ function ConnectedBulkTagEditor({
33112
33149
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
33113
33150
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
33114
33151
  /* @__PURE__ */ jsxRuntime.jsx(
33115
- chunkERDQ4DAX_cjs.BulkTagEditorDialog,
33152
+ chunk2GFB43GN_cjs.BulkTagEditorDialog,
33116
33153
  {
33117
33154
  open,
33118
33155
  onClose,
@@ -33170,7 +33207,7 @@ function ConnectedBulkTagEditor({
33170
33207
  }
33171
33208
  ),
33172
33209
  /* @__PURE__ */ jsxRuntime.jsx(
33173
- chunkERDQ4DAX_cjs.BulkReplaceDialog,
33210
+ chunk2GFB43GN_cjs.BulkReplaceDialog,
33174
33211
  {
33175
33212
  open: showGenerateConfirmation,
33176
33213
  onClose: () => setShowGenerateConfirmation(false),
@@ -33285,7 +33322,7 @@ function ViewSelector({
33285
33322
  columns: defaultColumns,
33286
33323
  icon: lucideReact.Table,
33287
33324
  // Both built-ins load at the minimal (compact) row height.
33288
- rowHeight: chunkERDQ4DAX_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33325
+ rowHeight: chunk2GFB43GN_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33289
33326
  // [] = loading this view unpins everything.
33290
33327
  pinnedLeft: []
33291
33328
  },
@@ -33296,15 +33333,15 @@ function ViewSelector({
33296
33333
  // batch-select checkbox and Title stay fixed left while scrolling.
33297
33334
  columns: defaultColumns,
33298
33335
  icon: lucideReact.Columns3,
33299
- rowHeight: chunkERDQ4DAX_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33336
+ rowHeight: chunk2GFB43GN_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33300
33337
  pinnedLeft: DOCUMENT_VIEW_PINNED
33301
33338
  },
33302
33339
  {
33303
33340
  key: "email-default",
33304
33341
  label: "Email view",
33305
- columns: [...chunkERDQ4DAX_cjs.EMAIL_VIEW_COLUMNS],
33342
+ columns: [...chunk2GFB43GN_cjs.EMAIL_VIEW_COLUMNS],
33306
33343
  icon: lucideReact.Mail,
33307
- rowHeight: chunkERDQ4DAX_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33344
+ rowHeight: chunk2GFB43GN_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
33308
33345
  pinnedLeft: []
33309
33346
  }
33310
33347
  ],
@@ -33328,7 +33365,7 @@ function ViewSelector({
33328
33365
  },
33329
33366
  [confirm, workspaceId, deleteView, notify17]
33330
33367
  );
33331
- const menu = chunkERDQ4DAX_cjs.useGridViews({
33368
+ const menu = chunk2GFB43GN_cjs.useGridViews({
33332
33369
  getGridApi,
33333
33370
  defaultColumns,
33334
33371
  builtins,
@@ -33343,7 +33380,7 @@ function ViewSelector({
33343
33380
  onDeleteView,
33344
33381
  isSaving
33345
33382
  });
33346
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ViewSelectorMenu, { ...menu });
33383
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ViewSelectorMenu, { ...menu });
33347
33384
  }
33348
33385
  function DocumentsFilterBarActions({
33349
33386
  isModal,
@@ -33383,7 +33420,7 @@ function DocumentsFilterBarActions({
33383
33420
  ),
33384
33421
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
33385
33422
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
33386
- chunkERDQ4DAX_cjs.RowDensityControl,
33423
+ chunk2GFB43GN_cjs.RowDensityControl,
33387
33424
  {
33388
33425
  rowHeight: documentsRowHeight,
33389
33426
  onRowHeightChange: onDocumentsRowHeightChange
@@ -33491,15 +33528,15 @@ function DocumentsFilterBarActions({
33491
33528
  }
33492
33529
  function PersistedGridView(props) {
33493
33530
  const { persistState, gridId } = props;
33494
- const setGridState = chunkHJBVSG6H_cjs.useFilesGridStates((state) => state.setGridState);
33495
- const gridState = persistState && gridId ? chunkHJBVSG6H_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
33531
+ const setGridState = chunkQYDMOBGP_cjs.useFilesGridStates((state) => state.setGridState);
33532
+ const gridState = persistState && gridId ? chunkQYDMOBGP_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
33496
33533
  const onGridStateChange = react$1.useCallback(
33497
33534
  (state) => {
33498
33535
  if (persistState && gridId) setGridState(gridId, state);
33499
33536
  },
33500
33537
  [persistState, gridId, setGridState]
33501
33538
  );
33502
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLKK52DEY_cjs.GridView, { ...props, gridState, onGridStateChange });
33539
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXNXNLXIC_cjs.GridView, { ...props, gridState, onGridStateChange });
33503
33540
  }
33504
33541
  function ProgressiveLoadingChip() {
33505
33542
  const isLoading = react.useDocumentsLoading();
@@ -33594,13 +33631,13 @@ var TABLET_TABLE_BELOW = 860;
33594
33631
  var TABLET_VIEWPORT_BELOW = 1100;
33595
33632
  var NO_CONVERSATION_DOCUMENTS2 = [];
33596
33633
  var DocumentReviewCard = react$1.lazy(
33597
- () => import('../DocumentReviewCard-7VJ3MMYG.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33634
+ () => import('../DocumentReviewCard-QHYHBDUA.cjs').then((module) => ({ default: module.DocumentReviewCard }))
33598
33635
  );
33599
33636
  var FilesViewerDialog = react$1.lazy(
33600
- () => import('../FilesViewerDialog-IQ5UDAZX.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33637
+ () => import('../FilesViewerDialog-Y5YZJ5O2.cjs').then((module) => ({ default: module.FilesViewerDialog }))
33601
33638
  );
33602
33639
  function defaultReviewCard(props) {
33603
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33640
+ return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
33604
33641
  }
33605
33642
  function ConnectedFilesPage({
33606
33643
  isModal = false,
@@ -33622,7 +33659,7 @@ function ConnectedFilesPage({
33622
33659
  GridComponent = PersistedGridView,
33623
33660
  gridStateVersion,
33624
33661
  onGridApi,
33625
- prefsKey = chunkHJBVSG6H_cjs.FILES_PREFS_KEY,
33662
+ prefsKey = chunkQYDMOBGP_cjs.FILES_PREFS_KEY,
33626
33663
  defaultViewMode
33627
33664
  }) {
33628
33665
  const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
@@ -33643,7 +33680,7 @@ function ConnectedFilesPage({
33643
33680
  const deleteDocuments = react.useDeleteDocuments();
33644
33681
  const isDocumentsPending = isLoading && documents.length === 0;
33645
33682
  const { workspaceId, userId, live } = chunk7UAAMA5U_cjs.useConnectedWorkspace();
33646
- const { role, members } = chunkWGAGIF4F_cjs.useConnectedWorkspaceRole();
33683
+ const { role, members } = chunk2ROYKDEA_cjs.useConnectedWorkspaceRole();
33647
33684
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
33648
33685
  const workspace = workspaces?.find((w) => w.external_id === workspaceId);
33649
33686
  const workspaceName = workspace?.name;
@@ -33668,8 +33705,8 @@ function ConnectedFilesPage({
33668
33705
  const inConversationDocuments = react.useArbiSessionState(
33669
33706
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
33670
33707
  );
33671
- const viewMode = chunkHJBVSG6H_cjs.useFilesPrefs((s) => chunkHJBVSG6H_cjs.filesViewMode(s, prefsKey, defaultViewMode));
33672
- const setPrefsViewMode = chunkHJBVSG6H_cjs.useFilesPrefs((s) => s.setViewMode);
33708
+ const viewMode = chunkQYDMOBGP_cjs.useFilesPrefs((s) => chunkQYDMOBGP_cjs.filesViewMode(s, prefsKey, defaultViewMode));
33709
+ const setPrefsViewMode = chunkQYDMOBGP_cjs.useFilesPrefs((s) => s.setViewMode);
33673
33710
  const setViewMode = react$1.useCallback(
33674
33711
  (mode) => setPrefsViewMode(mode, prefsKey),
33675
33712
  [setPrefsViewMode, prefsKey]
@@ -33699,7 +33736,7 @@ function ConnectedFilesPage({
33699
33736
  shownPlaceRef.current = null;
33700
33737
  if (session.getState().documentViewer.compareId)
33701
33738
  session.setDocumentViewer({ compareId: null });
33702
- if (chunkHJBVSG6H_cjs.filesViewMode(chunkHJBVSG6H_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
33739
+ if (chunkQYDMOBGP_cjs.filesViewMode(chunkQYDMOBGP_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
33703
33740
  session.setViewingDocument(null);
33704
33741
  if (!fromLink) latest.current.onDocumentChange?.(null);
33705
33742
  },
@@ -33788,9 +33825,9 @@ function ConnectedFilesPage({
33788
33825
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
33789
33826
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
33790
33827
  }, [linkedPlaceKey]);
33791
- const rowHeight = chunkHJBVSG6H_cjs.useFilesPrefs((s) => s.rowHeight);
33792
- const setRowHeight = chunkHJBVSG6H_cjs.useFilesPrefs((s) => s.setRowHeight);
33793
- const ownGridStates = chunkHJBVSG6H_cjs.useFilesGridStates((s) => s.gridStates);
33828
+ const rowHeight = chunkQYDMOBGP_cjs.useFilesPrefs((s) => s.rowHeight);
33829
+ const setRowHeight = chunkQYDMOBGP_cjs.useFilesPrefs((s) => s.setRowHeight);
33830
+ const ownGridStates = chunkQYDMOBGP_cjs.useFilesGridStates((s) => s.gridStates);
33794
33831
  const stateVersion = gridStateVersion ?? ownGridStates;
33795
33832
  const [pageEl, setPageEl] = react$1.useState(null);
33796
33833
  const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
@@ -33820,15 +33857,15 @@ function ConnectedFilesPage({
33820
33857
  const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
33821
33858
  const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
33822
33859
  const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
33823
- const move = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.move);
33824
- const openMove = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.openMove);
33825
- const closeMove = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.closeMove);
33826
- const bulkTagsOpen = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
33827
- const setBulkTagsOpen = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
33828
- const deleteRequest = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.deleteRequest);
33829
- const requestDelete = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.requestDelete);
33830
- const exportOpen = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.exportOpen);
33831
- const setExportOpen = chunkHJBVSG6H_cjs.useFilesDialogs((s) => s.setExportOpen);
33860
+ const move = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.move);
33861
+ const openMove = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.openMove);
33862
+ const closeMove = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.closeMove);
33863
+ const bulkTagsOpen = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
33864
+ const setBulkTagsOpen = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
33865
+ const deleteRequest = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.deleteRequest);
33866
+ const requestDelete = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.requestDelete);
33867
+ const exportOpen = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.exportOpen);
33868
+ const setExportOpen = chunkQYDMOBGP_cjs.useFilesDialogs((s) => s.setExportOpen);
33832
33869
  const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
33833
33870
  const exportItems = react$1.useMemo(
33834
33871
  () => selectedDocuments.map((doc) => ({
@@ -33871,17 +33908,17 @@ function ConnectedFilesPage({
33871
33908
  const relatedDocsMap = useFilesPageSession(documents, workspaceId);
33872
33909
  const defaultVisibleColumns = react$1.useMemo(
33873
33910
  () => [
33874
- ...chunkERDQ4DAX_cjs.DEFAULT_DOCUMENT_COLUMNS,
33911
+ ...chunk2GFB43GN_cjs.DEFAULT_DOCUMENT_COLUMNS,
33875
33912
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
33876
33913
  ],
33877
33914
  [allTags]
33878
33915
  );
33879
33916
  const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
33880
- if (gridApi2) chunkERDQ4DAX_cjs.applyColumnLayout(gridApi2, ids);
33917
+ if (gridApi2) chunk2GFB43GN_cjs.applyColumnLayout(gridApi2, ids);
33881
33918
  }, []);
33882
33919
  const handleLoadView = react$1.useCallback(
33883
33920
  (view, gridApi2) => {
33884
- chunkERDQ4DAX_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
33921
+ chunk2GFB43GN_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
33885
33922
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
33886
33923
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
33887
33924
  },
@@ -33906,7 +33943,7 @@ function ConnectedFilesPage({
33906
33943
  (docId) => requestDelete(documents.find((d) => d.external_id === docId) ?? null),
33907
33944
  [documents, requestDelete]
33908
33945
  );
33909
- const { columnDefs, onCellValueChanged, handleColumnStateChange, updateFolder } = useDocumentTable({
33946
+ const { columnDefs, onCellValueChanged, updateFolder } = useDocumentTable({
33910
33947
  handleToggleDocumentViewer: onToggleDocument,
33911
33948
  onStatusClick,
33912
33949
  onReviewDocument: handleReviewDocument,
@@ -33933,7 +33970,6 @@ function ConnectedFilesPage({
33933
33970
  workspaceUsers,
33934
33971
  selectedDocumentIds,
33935
33972
  setSelectedDocumentIds,
33936
- handleColumnStateChange,
33937
33973
  updateFolder,
33938
33974
  onGridApi
33939
33975
  });
@@ -33974,7 +34010,7 @@ function ConnectedFilesPage({
33974
34010
  );
33975
34011
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
33976
34012
  const navigatorDocuments = react$1.useMemo(
33977
- () => chunkERDQ4DAX_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
34013
+ () => chunk2GFB43GN_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
33978
34014
  [filteredDocuments, explorerSort, explorerSortReversed]
33979
34015
  );
33980
34016
  const navigatorOnNavigate = react$1.useCallback(
@@ -34044,7 +34080,7 @@ function ConnectedFilesPage({
34044
34080
  },
34045
34081
  rowHeight
34046
34082
  };
34047
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesFilterBar, { children: [
34083
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesFilterBar, { children: [
34048
34084
  /* @__PURE__ */ jsxRuntime.jsx(
34049
34085
  chunk6UZC4XVV_cjs.FilterInput,
34050
34086
  {
@@ -34079,7 +34115,7 @@ function ConnectedFilesPage({
34079
34115
  ),
34080
34116
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
34081
34117
  /* @__PURE__ */ jsxRuntime.jsx(
34082
- chunkERDQ4DAX_cjs.DocumentsFolderButton,
34118
+ chunk2GFB43GN_cjs.DocumentsFolderButton,
34083
34119
  {
34084
34120
  documents,
34085
34121
  documentFilters,
@@ -34087,7 +34123,7 @@ function ConnectedFilesPage({
34087
34123
  onNewFolder: canUpload ? handleNewFolder : void 0
34088
34124
  }
34089
34125
  ),
34090
- openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilesTagsButton, { onClick: openTags }),
34126
+ openTags && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilesTagsButton, { onClick: openTags }),
34091
34127
  workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
34092
34128
  ] })
34093
34129
  ] });
@@ -34110,9 +34146,9 @@ function ConnectedFilesPage({
34110
34146
  );
34111
34147
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
34112
34148
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
34113
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesPage, { isModal, ref: setPageEl, children: [
34149
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesPage, { isModal, ref: setPageEl, children: [
34114
34150
  /* @__PURE__ */ jsxRuntime.jsx(
34115
- chunkERDQ4DAX_cjs.UrlInputDialog,
34151
+ chunk2GFB43GN_cjs.UrlInputDialog,
34116
34152
  {
34117
34153
  open: urlDialogOpen,
34118
34154
  onOpenChange: setUrlDialogOpen,
@@ -34121,7 +34157,7 @@ function ConnectedFilesPage({
34121
34157
  titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
34122
34158
  }
34123
34159
  ),
34124
- /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesPageHeader, { children: [
34160
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesPageHeader, { children: [
34125
34161
  /* @__PURE__ */ jsxRuntime.jsx(
34126
34162
  chunkSJSGSHIT_cjs.TabHeader,
34127
34163
  {
@@ -34142,7 +34178,7 @@ function ConnectedFilesPage({
34142
34178
  activeTabId: "documents",
34143
34179
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
34144
34180
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
34145
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
34181
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
34146
34182
  !isNarrowFilterRow && viewToggle,
34147
34183
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
34148
34184
  ] }),
@@ -34172,14 +34208,14 @@ function ConnectedFilesPage({
34172
34208
  }
34173
34209
  ),
34174
34210
  /* @__PURE__ */ jsxRuntime.jsx(
34175
- chunkERDQ4DAX_cjs.FilesToolbar,
34211
+ chunk2GFB43GN_cjs.FilesToolbar,
34176
34212
  {
34177
34213
  className: "px-3 pb-2",
34178
34214
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34179
34215
  viewMode === "grid" ? (
34180
34216
  // ‹ n / N › over the table's displayed rows; a step opens the document.
34181
34217
  /* @__PURE__ */ jsxRuntime.jsx(
34182
- chunk4VSRSF4Q_cjs.GridRowNavigator,
34218
+ chunk2VWE46ZF_cjs.GridRowNavigator,
34183
34219
  {
34184
34220
  gridApi,
34185
34221
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -34194,7 +34230,7 @@ function ConnectedFilesPage({
34194
34230
  ) : viewMode === "explorer" ? (
34195
34231
  // The same over the explorer's tiles.
34196
34232
  /* @__PURE__ */ jsxRuntime.jsx(
34197
- chunkERDQ4DAX_cjs.ExplorerFileNavigator,
34233
+ chunk2GFB43GN_cjs.ExplorerFileNavigator,
34198
34234
  {
34199
34235
  fileIds: explorerFileIds,
34200
34236
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -34233,7 +34269,7 @@ function ConnectedFilesPage({
34233
34269
  }
34234
34270
  ),
34235
34271
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
34236
- chunkERDQ4DAX_cjs.NavigatorPickerBar,
34272
+ chunk2GFB43GN_cjs.NavigatorPickerBar,
34237
34273
  {
34238
34274
  currentDocument,
34239
34275
  documents: navigatorDocuments,
@@ -34260,11 +34296,11 @@ function ConnectedFilesPage({
34260
34296
  }
34261
34297
  }
34262
34298
  ) }),
34263
- /* @__PURE__ */ jsxRuntime.jsxs(chunkERDQ4DAX_cjs.FilesPageMain, { children: [
34299
+ /* @__PURE__ */ jsxRuntime.jsxs(chunk2GFB43GN_cjs.FilesPageMain, { children: [
34264
34300
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
34265
- chunkERDQ4DAX_cjs.DocumentGrid,
34301
+ chunk2GFB43GN_cjs.DocumentGrid,
34266
34302
  {
34267
- layout: chunkERDQ4DAX_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
34303
+ layout: chunk2GFB43GN_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
34268
34304
  presets: gridPresets,
34269
34305
  GridComponent,
34270
34306
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -34358,7 +34394,7 @@ function ConnectedFilesPage({
34358
34394
  onProduce: () => openDialog2("productionSet")
34359
34395
  }
34360
34396
  ),
34361
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
34397
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
34362
34398
  /* @__PURE__ */ jsxRuntime.jsx(
34363
34399
  chunkJDFBEGQO_cjs.ConfirmDialog,
34364
34400
  {
@@ -34369,7 +34405,7 @@ function ConnectedFilesPage({
34369
34405
  requestDelete(null);
34370
34406
  },
34371
34407
  title: "Delete Document",
34372
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkERDQ4DAX_cjs.RECENTLY_DELETED_HINT}` : "",
34408
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunk2GFB43GN_cjs.RECENTLY_DELETED_HINT}` : "",
34373
34409
  confirmText: "Delete",
34374
34410
  variant: "destructive"
34375
34411
  }
@@ -34445,8 +34481,8 @@ function ConnectedFilesPage({
34445
34481
  }
34446
34482
  var NO_DOCUMENTS3 = [];
34447
34483
  function ConnectedAiReviewHost(props) {
34448
- const open = chunkHJBVSG6H_cjs.useAiReviewStore((s) => s.open);
34449
- const setOpen = chunkHJBVSG6H_cjs.useAiReviewStore((s) => s.setOpen);
34484
+ const open = chunkQYDMOBGP_cjs.useAiReviewStore((s) => s.open);
34485
+ const setOpen = chunkQYDMOBGP_cjs.useAiReviewStore((s) => s.setOpen);
34450
34486
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
34451
34487
  }
34452
34488
  function ConnectedGridView(props) {
@@ -34461,7 +34497,7 @@ function ConnectedGridView(props) {
34461
34497
  },
34462
34498
  [persistState, gridId, setGridState]
34463
34499
  );
34464
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLKK52DEY_cjs.GridView, { ...props, gridState, onGridStateChange });
34500
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkXNXNLXIC_cjs.GridView, { ...props, gridState, onGridStateChange });
34465
34501
  }
34466
34502
  var ACTIVE_DOC_STATUSES = /* @__PURE__ */ new Set(["queued", "parsing", "encrypting", "indexing", "analysing"]);
34467
34503
  var SECTION_TOOLTIPS = {
@@ -34482,7 +34518,7 @@ function ProcessingSection({
34482
34518
  tasks,
34483
34519
  onDelete
34484
34520
  }) {
34485
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
34521
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
34486
34522
  }
34487
34523
  function ConnectedDocumentProcessingPanel({
34488
34524
  workspaceId,
@@ -34818,7 +34854,7 @@ function useDatabaseCellSources(databases) {
34818
34854
  return async (databaseId, q) => {
34819
34855
  const columns = columnsOf.get(databaseId) ?? [];
34820
34856
  const rows = await searchDatabaseRows(databaseId, q);
34821
- return rows.map((row2) => ({ id: row2.id, label: chunkIK4MSXXR_cjs.rowTitle(row2, columns) || UNTITLED }));
34857
+ return rows.map((row2) => ({ id: row2.id, label: chunk4IRS55N2_cjs.rowTitle(row2, columns) || UNTITLED }));
34822
34858
  };
34823
34859
  }, [databases, searchDatabaseRows]);
34824
34860
  return react$1.useMemo(
@@ -34831,14 +34867,14 @@ function useDatabaseCellSources(databases) {
34831
34867
  [members, documentOptions, searchRows, openDocument]
34832
34868
  );
34833
34869
  }
34834
- var FIXED_COLUMNS = [chunkIK4MSXXR_cjs.OPEN_ROW_COL_ID, chunkIK4MSXXR_cjs.ADD_COLUMN_COL_ID];
34870
+ var FIXED_COLUMNS = [chunk4IRS55N2_cjs.OPEN_ROW_COL_ID, chunk4IRS55N2_cjs.ADD_COLUMN_COL_ID];
34835
34871
  var MENU_LABELS = {
34836
34872
  trigger: "Columns",
34837
34873
  allFields: (count2) => `All columns (${count2})`
34838
34874
  };
34839
34875
  function applyDatabaseColumns(columns, api) {
34840
34876
  const kept = (id) => api.getColumn(id) ? [id] : [];
34841
- chunkERDQ4DAX_cjs.applyColumnLayout(api, [...kept(chunkIK4MSXXR_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkIK4MSXXR_cjs.ADD_COLUMN_COL_ID)]);
34877
+ chunk2GFB43GN_cjs.applyColumnLayout(api, [...kept(chunk4IRS55N2_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunk4IRS55N2_cjs.ADD_COLUMN_COL_ID)]);
34842
34878
  }
34843
34879
  function DatabaseViewsMenu({
34844
34880
  databaseId,
@@ -34857,7 +34893,7 @@ function DatabaseViewsMenu({
34857
34893
  [defaultColumns]
34858
34894
  );
34859
34895
  const onLoadView = react$1.useCallback(
34860
- (view, api) => chunkERDQ4DAX_cjs.applyViewColumns(api, view, applyDatabaseColumns),
34896
+ (view, api) => chunk2GFB43GN_cjs.applyViewColumns(api, view, applyDatabaseColumns),
34861
34897
  []
34862
34898
  );
34863
34899
  const onSaveView = react$1.useCallback(
@@ -34877,7 +34913,7 @@ function DatabaseViewsMenu({
34877
34913
  },
34878
34914
  [confirm, deleteView, notify17]
34879
34915
  );
34880
- const menu = chunkERDQ4DAX_cjs.useGridViews({
34916
+ const menu = chunk2GFB43GN_cjs.useGridViews({
34881
34917
  getGridApi,
34882
34918
  defaultColumns,
34883
34919
  builtins,
@@ -34890,7 +34926,7 @@ function DatabaseViewsMenu({
34890
34926
  onDeleteView,
34891
34927
  isSaving
34892
34928
  });
34893
- return /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
34929
+ return /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
34894
34930
  }
34895
34931
  function useMoveLocalViews(gridId, ready, importViews) {
34896
34932
  const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -35128,7 +35164,7 @@ function OpenDatabase({ databaseId, onClose }) {
35128
35164
  }
35129
35165
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "database-view", children: [
35130
35166
  /* @__PURE__ */ jsxRuntime.jsx(
35131
- chunkIK4MSXXR_cjs.DatabaseToolbar,
35167
+ chunk4IRS55N2_cjs.DatabaseToolbar,
35132
35168
  {
35133
35169
  name: database.name,
35134
35170
  description: database.description,
@@ -35157,7 +35193,7 @@ function OpenDatabase({ databaseId, onClose }) {
35157
35193
  ),
35158
35194
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex min-h-0 flex-1 gap-2 px-2 pb-2", children: [
35159
35195
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 min-w-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
35160
- chunkIK4MSXXR_cjs.DatabaseTable,
35196
+ chunk4IRS55N2_cjs.DatabaseTable,
35161
35197
  {
35162
35198
  columns,
35163
35199
  rows,
@@ -35184,7 +35220,7 @@ function OpenDatabase({ databaseId, onClose }) {
35184
35220
  ) }),
35185
35221
  openRow && // Beside the grid on a wide screen; over it on a narrow one.
35186
35222
  /* @__PURE__ */ jsxRuntime.jsx(
35187
- chunkIK4MSXXR_cjs.DatabaseRowDetail,
35223
+ chunk4IRS55N2_cjs.DatabaseRowDetail,
35188
35224
  {
35189
35225
  row: openRow,
35190
35226
  columns,
@@ -35199,7 +35235,7 @@ function OpenDatabase({ databaseId, onClose }) {
35199
35235
  )
35200
35236
  ] }),
35201
35237
  /* @__PURE__ */ jsxRuntime.jsx(
35202
- chunkIK4MSXXR_cjs.DatabaseColumnDialog,
35238
+ chunk4IRS55N2_cjs.DatabaseColumnDialog,
35203
35239
  {
35204
35240
  open: columnDialog !== null,
35205
35241
  onOpenChange: (open) => !open && setColumnDialog(null),
@@ -35260,13 +35296,13 @@ function ConnectedDatabasesPage() {
35260
35296
  }
35261
35297
  );
35262
35298
  if (!selectedWorkspaceId) {
35263
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(chunkIK4MSXXR_cjs.DatabaseList, { databases: [], onOpen: () => {
35299
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: /* @__PURE__ */ jsxRuntime.jsx(chunk4IRS55N2_cjs.DatabaseList, { databases: [], onOpen: () => {
35264
35300
  }, labels: NO_WORKSPACE_LABELS }) });
35265
35301
  }
35266
35302
  if (openId) return /* @__PURE__ */ jsxRuntime.jsx(OpenDatabase, { databaseId: openId, onClose: close }, openId);
35267
35303
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full min-h-0 overflow-y-auto", "data-testid": "databases-page", children: [
35268
35304
  /* @__PURE__ */ jsxRuntime.jsx(
35269
- chunkIK4MSXXR_cjs.DatabaseList,
35305
+ chunk4IRS55N2_cjs.DatabaseList,
35270
35306
  {
35271
35307
  databases: (databases ?? []).map(toSummary),
35272
35308
  isLoading,
@@ -35280,7 +35316,7 @@ function ConnectedDatabasesPage() {
35280
35316
  }
35281
35317
  ),
35282
35318
  /* @__PURE__ */ jsxRuntime.jsx(
35283
- chunkIK4MSXXR_cjs.NewDatabaseDialog,
35319
+ chunk4IRS55N2_cjs.NewDatabaseDialog,
35284
35320
  {
35285
35321
  open: creating,
35286
35322
  onOpenChange: setCreating,
@@ -37606,7 +37642,7 @@ function resolveLaunchInputs(workflow, request) {
37606
37642
  function useWorkflowLaunch() {
37607
37643
  const { skills } = chunkPZYPWY7G_cjs.useWorkflowDefinitions();
37608
37644
  const launch = react$1.useCallback(
37609
- (workflowId, options2 = {}) => chunkKBXATCF4_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37645
+ (workflowId, options2 = {}) => chunkANT32I6E_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
37610
37646
  []
37611
37647
  );
37612
37648
  const itemsFor = react$1.useCallback(
@@ -37635,8 +37671,8 @@ function useWorkflowLaunch() {
37635
37671
  return { launch, itemsFor, scopeItemsFor };
37636
37672
  }
37637
37673
  function Inner() {
37638
- const request = chunkKBXATCF4_cjs.useWorkflowLaunchRequest();
37639
- const close = chunkKBXATCF4_cjs.closeWorkflowLaunch;
37674
+ const request = chunkANT32I6E_cjs.useWorkflowLaunchRequest();
37675
+ const close = chunkANT32I6E_cjs.closeWorkflowLaunch;
37640
37676
  const { skills } = chunkPZYPWY7G_cjs.useWorkflowDefinitions();
37641
37677
  const run = chunkIU3SXE62_cjs.useLaunchWorkflow({ landing: request?.landing });
37642
37678
  const workflow = skills.find((w) => w.id === request?.workflowId);
@@ -37674,7 +37710,7 @@ function Inner() {
37674
37710
  );
37675
37711
  }
37676
37712
  function WorkflowLaunchHost() {
37677
- return chunkKBXATCF4_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
37713
+ return chunkANT32I6E_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
37678
37714
  }
37679
37715
  function isNeedsConfirmationDetail(detail) {
37680
37716
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -37986,7 +38022,7 @@ function ConnectedConversationSettings() {
37986
38022
  /* @__PURE__ */ jsxRuntime.jsx(
37987
38023
  chunkMMSHLHTA_cjs.ModelSelectionSection,
37988
38024
  {
37989
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedModelSelector, {}),
38025
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedModelSelector, {}),
37990
38026
  onUseDefaults: settings.resetToDefaults
37991
38027
  }
37992
38028
  )
@@ -38045,7 +38081,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
38045
38081
  testId: "workspace-transfer-modal"
38046
38082
  }
38047
38083
  ),
38048
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
38084
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
38049
38085
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
38050
38086
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
38051
38087
  productionSet: ConnectedProductionSetDialog,
@@ -38122,7 +38158,7 @@ function WorkflowRunStatusCell({ conversation }) {
38122
38158
  return person ? ui.getUserDisplayName(person) : void 0;
38123
38159
  };
38124
38160
  return /* @__PURE__ */ jsxRuntime.jsx(
38125
- chunkKBXATCF4_cjs.WorkflowRunStatus,
38161
+ chunkANT32I6E_cjs.WorkflowRunStatus,
38126
38162
  {
38127
38163
  steps,
38128
38164
  states,
@@ -38156,7 +38192,7 @@ function ConversationStatusCell({ conversation }) {
38156
38192
  if (conversation.plan?.steps?.length && !isLiveGenerating)
38157
38193
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
38158
38194
  return /* @__PURE__ */ jsxRuntime.jsx(
38159
- chunkKBXATCF4_cjs.ThreadStatusLine,
38195
+ chunkANT32I6E_cjs.ThreadStatusLine,
38160
38196
  {
38161
38197
  state: threadStateOf(conversation, isLiveGenerating),
38162
38198
  className: "h-full",
@@ -38423,7 +38459,7 @@ function useThreadLabels(canEditShared) {
38423
38459
  return {
38424
38460
  labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
38425
38461
  renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
38426
- chunkERDQ4DAX_cjs.LabelMultiSelectView,
38462
+ chunk2GFB43GN_cjs.LabelMultiSelectView,
38427
38463
  {
38428
38464
  options: options2,
38429
38465
  appliedIds: new Set(row2.label_ext_ids ?? []),
@@ -38442,7 +38478,7 @@ function useThreadLabels(canEditShared) {
38442
38478
  ).map((label) => label.id)
38443
38479
  );
38444
38480
  return /* @__PURE__ */ jsxRuntime.jsx(
38445
- chunkERDQ4DAX_cjs.BulkLabelSelectView,
38481
+ chunk2GFB43GN_cjs.BulkLabelSelectView,
38446
38482
  {
38447
38483
  options: options2,
38448
38484
  appliedIds: all,
@@ -38473,7 +38509,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
38473
38509
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkM2FOXGJU_cjs.ComposerDock, { children: [
38474
38510
  slashWorkflows.launcher,
38475
38511
  /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
38476
- chunkMM5Q7AJL_cjs.ConversationComposer,
38512
+ chunkTQXMASFX_cjs.ConversationComposer,
38477
38513
  {
38478
38514
  value: draft,
38479
38515
  onValueChange: setDraft,
@@ -38482,7 +38518,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
38482
38518
  isConversationEmpty: true,
38483
38519
  shouldOfferFollowUp: false,
38484
38520
  skills,
38485
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedModelSelector, { variant: "compact" }),
38521
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedModelSelector, { variant: "compact" }),
38486
38522
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkM2FOXGJU_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
38487
38523
  }
38488
38524
  ) })
@@ -38613,7 +38649,7 @@ function AgentBarShell({
38613
38649
  }, [isStepsExpanded, steps]);
38614
38650
  const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
38615
38651
  return /* @__PURE__ */ jsxRuntime.jsx(
38616
- chunkKBXATCF4_cjs.AgentBar,
38652
+ chunkANT32I6E_cjs.AgentBar,
38617
38653
  {
38618
38654
  className,
38619
38655
  testId,
@@ -38625,7 +38661,7 @@ function AgentBarShell({
38625
38661
  drawerRef: scrollRef,
38626
38662
  onDrawerScroll: handleDrawerScroll,
38627
38663
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
38628
- chunkMM5Q7AJL_cjs.AgentSteps,
38664
+ chunkTQXMASFX_cjs.AgentSteps,
38629
38665
  {
38630
38666
  steps: stepList,
38631
38667
  isStreaming,
@@ -38677,7 +38713,7 @@ function AgentControlBar({
38677
38713
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
38678
38714
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
38679
38715
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
38680
- chunkMM5Q7AJL_cjs.MessageLiveSeconds,
38716
+ chunkTQXMASFX_cjs.MessageLiveSeconds,
38681
38717
  {
38682
38718
  ...liveTimer,
38683
38719
  offsetSeconds: currentStep?.t ?? 0,
@@ -38686,7 +38722,7 @@ function AgentControlBar({
38686
38722
  }
38687
38723
  );
38688
38724
  const status = /* @__PURE__ */ jsxRuntime.jsx(
38689
- chunkKBXATCF4_cjs.AgentBarStatus,
38725
+ chunkANT32I6E_cjs.AgentBarStatus,
38690
38726
  {
38691
38727
  state: showState ? controlState : void 0,
38692
38728
  stateLabel: STATE_LABEL[controlState],
@@ -38728,7 +38764,7 @@ function AgentControlBar({
38728
38764
  ];
38729
38765
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38730
38766
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
38731
- chunkKBXATCF4_cjs.AgentBarIconButton,
38767
+ chunkANT32I6E_cjs.AgentBarIconButton,
38732
38768
  {
38733
38769
  onClick: onStop,
38734
38770
  title: "Stop",
@@ -38737,22 +38773,22 @@ function AgentControlBar({
38737
38773
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
38738
38774
  }
38739
38775
  ),
38740
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.AgentBarMenu, { items: menuItems })
38776
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.AgentBarMenu, { items: menuItems })
38741
38777
  ] });
38742
38778
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
38743
38779
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
38744
38780
  );
38745
38781
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
38746
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.AgentBarNotes, { children: [
38782
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.AgentBarNotes, { children: [
38747
38783
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
38748
- chunkKBXATCF4_cjs.AgentBarQueuedNote,
38784
+ chunkANT32I6E_cjs.AgentBarQueuedNote,
38749
38785
  {
38750
38786
  text: message.content ?? "",
38751
38787
  isAcknowledged: message.acknowledged
38752
38788
  },
38753
38789
  index
38754
38790
  )),
38755
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
38791
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
38756
38792
  ] }) : null;
38757
38793
  return /* @__PURE__ */ jsxRuntime.jsx(
38758
38794
  AgentBarShell,
@@ -38901,7 +38937,7 @@ function ConnectedConversationEmpty({
38901
38937
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
38902
38938
  }
38903
38939
  ),
38904
- /* @__PURE__ */ jsxRuntime.jsx(chunkERDQ4DAX_cjs.PrivacyExplainerModal, {})
38940
+ /* @__PURE__ */ jsxRuntime.jsx(chunk2GFB43GN_cjs.PrivacyExplainerModal, {})
38905
38941
  ] })
38906
38942
  }
38907
38943
  );
@@ -39736,7 +39772,7 @@ function ConversationThread({
39736
39772
  useStartRequestedDraft();
39737
39773
  const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
39738
39774
  return /* @__PURE__ */ jsxRuntime.jsxs(chunk32YCMXT2_cjs.ConversationBody, { children: [
39739
- /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkZHBGG3T3_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
39775
+ /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkZHBGG3T3_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
39740
39776
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
39741
39777
  chunkZBP4ZSAJ_cjs.ConversationFilter,
39742
39778
  {
@@ -39754,7 +39790,7 @@ function ConversationThread({
39754
39790
  ]
39755
39791
  }
39756
39792
  ) }),
39757
- /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
39793
+ /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
39758
39794
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkV534NNMX_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
39759
39795
  ] }) }) : meetingCallExtId ? (
39760
39796
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -39762,7 +39798,7 @@ function ConversationThread({
39762
39798
  /* @__PURE__ */ jsxRuntime.jsx(chunkV534NNMX_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
39763
39799
  /* @__PURE__ */ jsxRuntime.jsx(chunkV534NNMX_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
39764
39800
  ] })
39765
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkMM5Q7AJL_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
39801
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkTQXMASFX_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
39766
39802
  ConnectedConversationEmpty,
39767
39803
  {
39768
39804
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -39833,7 +39869,7 @@ function ConversationThread({
39833
39869
  children: react.READ_ONLY_MEETING_TEXT
39834
39870
  }
39835
39871
  ) : /* @__PURE__ */ jsxRuntime.jsx(
39836
- chunkMM5Q7AJL_cjs.ConversationComposer,
39872
+ chunkTQXMASFX_cjs.ConversationComposer,
39837
39873
  {
39838
39874
  handleSendMessage: handleUserSend,
39839
39875
  placeholder: pendingAnswer ? "Type your answer to ARBI \u2014 or pick an option above" : void 0,
@@ -40173,7 +40209,7 @@ function ConnectedThreadsPage({
40173
40209
  };
40174
40210
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
40175
40211
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
40176
- chunkKBXATCF4_cjs.ConversationListView,
40212
+ chunkANT32I6E_cjs.ConversationListView,
40177
40213
  {
40178
40214
  showHeader,
40179
40215
  conversations: tasks,
@@ -40192,7 +40228,7 @@ function ConnectedThreadsPage({
40192
40228
  renderLabels: threadLabels.renderLabels,
40193
40229
  labelText: threadLabels.labelText,
40194
40230
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
40195
- chunkKBXATCF4_cjs.ConversationTurnSpeaker,
40231
+ chunkANT32I6E_cjs.ConversationTurnSpeaker,
40196
40232
  {
40197
40233
  variant: "icon",
40198
40234
  role: row2.last_message_role,
@@ -40579,7 +40615,7 @@ function ConnectedChatDocumentsTab({
40579
40615
  testId: `document-hover-toggle-${doc.external_id}`
40580
40616
  },
40581
40617
  status: /* @__PURE__ */ jsxRuntime.jsx(
40582
- chunkERDQ4DAX_cjs.DocStatusIcon,
40618
+ chunk2GFB43GN_cjs.DocStatusIcon,
40583
40619
  {
40584
40620
  status: doc.status,
40585
40621
  onClick: onStatusClick,
@@ -41074,7 +41110,7 @@ function ConnectedConversationPage({
41074
41110
  );
41075
41111
  const { data: workspaceTags = [] } = react.useTags();
41076
41112
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
41077
- const historyCount = chunkKBXATCF4_cjs.filterConversationRows(
41113
+ const historyCount = chunkANT32I6E_cjs.filterConversationRows(
41078
41114
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
41079
41115
  threadFilter,
41080
41116
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -41133,7 +41169,7 @@ function ConnectedConversationPage({
41133
41169
  ] })
41134
41170
  }
41135
41171
  ),
41136
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkUSIRUI2M_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
41172
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkQSPKL754_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
41137
41173
  ] }),
41138
41174
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
41139
41175
  ConversationThread,
@@ -41163,7 +41199,7 @@ function ConnectedConversationPage({
41163
41199
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk32YCMXT2_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
41164
41200
  ] }),
41165
41201
  /* @__PURE__ */ jsxRuntime.jsx(
41166
- chunkERDQ4DAX_cjs.UrlInputDialog,
41202
+ chunk2GFB43GN_cjs.UrlInputDialog,
41167
41203
  {
41168
41204
  open: urlDialogOpen,
41169
41205
  onOpenChange: setUrlDialogOpen,
@@ -41342,7 +41378,7 @@ function SsoResendVerificationButton({
41342
41378
  onClick: async () => handleResendEmailVerification(),
41343
41379
  disabled: loading || disabled,
41344
41380
  "aria-label": "Resend verification email",
41345
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk4VSRSF4Q_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41381
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunk2VWE46ZF_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41346
41382
  "Didn't get a verification email? ",
41347
41383
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
41348
41384
  ] })
@@ -41353,16 +41389,16 @@ function SsoResendVerificationButton({
41353
41389
  }
41354
41390
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
41355
41391
  function ConnectedSsoCallback() {
41356
- const sso = chunkMM5Q7AJL_cjs.useSsoSignIn();
41392
+ const sso = chunkTQXMASFX_cjs.useSsoSignIn();
41357
41393
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
41358
- const auth = chunkMM5Q7AJL_cjs.useAuthPages();
41394
+ const auth = chunkTQXMASFX_cjs.useAuthPages();
41359
41395
  const { notify: notify17, navigate } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
41360
41396
  const passwordRules = auth.passwordRules;
41361
41397
  const isProcessing = react$1.useRef(false);
41362
41398
  const hasCheckedStatus = react$1.useRef(false);
41363
41399
  const [accessToken, setAccessToken] = react$1.useState(null);
41364
41400
  const [ssoStatus, setSsoStatus] = react$1.useState(null);
41365
- const ssoName = react$1.useMemo(() => chunkMM5Q7AJL_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
41401
+ const ssoName = react$1.useMemo(() => chunkTQXMASFX_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
41366
41402
  const [password, setPassword] = react$1.useState("");
41367
41403
  const [confirmPassword, setConfirmPassword] = react$1.useState("");
41368
41404
  const [error, setError] = react$1.useState(null);
@@ -41540,7 +41576,7 @@ function ConnectedSsoCallback() {
41540
41576
  setIsCheckingStatus(true);
41541
41577
  try {
41542
41578
  console.info("[SSO] Checking user status...");
41543
- const response = await chunkMM5Q7AJL_cjs.ssoAccountStatus(arbi, accessToken, user);
41579
+ const response = await chunkTQXMASFX_cjs.ssoAccountStatus(arbi, accessToken, user);
41544
41580
  console.info("[SSO] User status:", response.status);
41545
41581
  setSsoStatus(response);
41546
41582
  } catch (error2) {
@@ -41584,7 +41620,7 @@ function ConnectedSsoCallback() {
41584
41620
  setIsSubmitting(true);
41585
41621
  setError(null);
41586
41622
  try {
41587
- const { login, registered, linked } = await chunkMM5Q7AJL_cjs.completeSsoSignIn(arbi, {
41623
+ const { login, registered, linked } = await chunkTQXMASFX_cjs.completeSsoSignIn(arbi, {
41588
41624
  token: accessToken,
41589
41625
  user,
41590
41626
  status: ssoStatus,
@@ -41866,7 +41902,7 @@ function ConnectedSsoCallback() {
41866
41902
  ssoStatus.status !== "new_user" && auth.footer
41867
41903
  ] }),
41868
41904
  /* @__PURE__ */ jsxRuntime.jsx(
41869
- chunkMM5Q7AJL_cjs.ConnectedForgotPassword,
41905
+ chunkTQXMASFX_cjs.ConnectedForgotPassword,
41870
41906
  {
41871
41907
  open: showForgotPasswordModal,
41872
41908
  onOpenChange: setShowForgotPasswordModal,
@@ -41874,7 +41910,7 @@ function ConnectedSsoCallback() {
41874
41910
  }
41875
41911
  ),
41876
41912
  /* @__PURE__ */ jsxRuntime.jsx(
41877
- chunkMM5Q7AJL_cjs.ConnectedPasswordChangeDialog,
41913
+ chunkTQXMASFX_cjs.ConnectedPasswordChangeDialog,
41878
41914
  {
41879
41915
  open: showChangePasswordModal,
41880
41916
  onClose: () => setShowChangePasswordModal(false),
@@ -42033,27 +42069,27 @@ function ConnectedOAuthConsentPage({
42033
42069
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
42034
42070
  }
42035
42071
  if (error && !params) {
42036
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
42072
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
42037
42073
  }
42038
42074
  if (!params) {
42039
42075
  return null;
42040
42076
  }
42041
42077
  if (clientInfo?.isLocalAgentFlow) {
42042
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_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." }) });
42078
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_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." }) });
42043
42079
  }
42044
42080
  if (!isAuthenticated2) {
42045
42081
  return null;
42046
42082
  }
42047
42083
  if (callbackUrl) {
42048
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentCard, { size: "md", children: [
42049
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
42084
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentCard, { size: "md", children: [
42085
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
42050
42086
  "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",
42051
42087
  " ",
42052
42088
  copied ? "it's already copied to your clipboard." : "copy it first."
42053
42089
  ] }),
42054
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentSection, { title: "Callback URL", children: [
42055
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
42056
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentText, { variant: "hint", children: [
42090
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentSection, { title: "Callback URL", children: [
42091
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
42092
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentText, { variant: "hint", children: [
42057
42093
  "In Claude Code, paste the URL at the prompt that says",
42058
42094
  " ",
42059
42095
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -42062,17 +42098,17 @@ function ConnectedOAuthConsentPage({
42062
42098
  ] })
42063
42099
  ] }) });
42064
42100
  }
42065
- return /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentCard, { children: [
42066
- /* @__PURE__ */ jsxRuntime.jsxs(chunkKBXATCF4_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
42067
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
42101
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentCard, { children: [
42102
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkANT32I6E_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
42103
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
42068
42104
  " is requesting access to your ",
42069
42105
  appName,
42070
42106
  " workspace."
42071
42107
  ] }),
42072
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentPermissionList, { items: permissions }) }),
42073
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentNotice, { tone: "error", children: error }),
42074
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
42075
- /* @__PURE__ */ jsxRuntime.jsx(chunkKBXATCF4_cjs.ConsentFootnote, { children: footnote })
42108
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentPermissionList, { items: permissions }) }),
42109
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentNotice, { tone: "error", children: error }),
42110
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
42111
+ /* @__PURE__ */ jsxRuntime.jsx(chunkANT32I6E_cjs.ConsentFootnote, { children: footnote })
42076
42112
  ] }) });
42077
42113
  }
42078
42114
  function ConnectedSharedFilesPage({
@@ -42725,7 +42761,7 @@ function ConnectedTipBar({
42725
42761
  className,
42726
42762
  revealOnHover = false
42727
42763
  }) {
42728
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkMM5Q7AJL_cjs.useContextualHints();
42764
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkTQXMASFX_cjs.useContextualHints();
42729
42765
  const { dismissed, dismissTip } = react.useDismissedTips();
42730
42766
  const { notify: notify17 } = chunkWGWP4ATS_cjs.useBlocksEnvironment();
42731
42767
  const { data: workspaces } = react.useWorkspaces();
@@ -42736,7 +42772,7 @@ function ConnectedTipBar({
42736
42772
  workspaceOpen,
42737
42773
  ...state
42738
42774
  };
42739
- const { tip, index, count: count2, previous, next, onHoverChange } = chunk4VSRSF4Q_cjs.useTipsPlacement({
42775
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunk2VWE46ZF_cjs.useTipsPlacement({
42740
42776
  registry,
42741
42777
  context,
42742
42778
  state: situation,
@@ -42814,7 +42850,7 @@ function useGettingStarted({
42814
42850
  const { user } = react.useArbiSession();
42815
42851
  const userExtId = user?.external_id;
42816
42852
  const temporaryOnly = user?.temporary_access_only === true;
42817
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkMM5Q7AJL_cjs.useContextualHints();
42853
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkTQXMASFX_cjs.useContextualHints();
42818
42854
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
42819
42855
  const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
42820
42856
  const session = react.useArbiSessionStore();
@@ -43036,15 +43072,15 @@ function ChromeInstallDialog({
43036
43072
 
43037
43073
  Object.defineProperty(exports, "ConnectedTagEntity", {
43038
43074
  enumerable: true,
43039
- get: function () { return chunkVD33HXFZ_cjs.ConnectedTagEntity; }
43075
+ get: function () { return chunkWW2H5C6L_cjs.ConnectedTagEntity; }
43040
43076
  });
43041
43077
  Object.defineProperty(exports, "documentFieldContent", {
43042
43078
  enumerable: true,
43043
- get: function () { return chunkVD33HXFZ_cjs.documentFieldContent; }
43079
+ get: function () { return chunkWW2H5C6L_cjs.documentFieldContent; }
43044
43080
  });
43045
43081
  Object.defineProperty(exports, "useMemberLookup", {
43046
43082
  enumerable: true,
43047
- get: function () { return chunkVD33HXFZ_cjs.useMemberLookup; }
43083
+ get: function () { return chunkWW2H5C6L_cjs.useMemberLookup; }
43048
43084
  });
43049
43085
  Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
43050
43086
  enumerable: true,
@@ -43148,267 +43184,267 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
43148
43184
  });
43149
43185
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
43150
43186
  enumerable: true,
43151
- get: function () { return chunkUSIRUI2M_cjs.ConnectedTaskActivityDialog; }
43187
+ get: function () { return chunkQSPKL754_cjs.ConnectedTaskActivityDialog; }
43152
43188
  });
43153
43189
  Object.defineProperty(exports, "ConnectedTaskComposer", {
43154
43190
  enumerable: true,
43155
- get: function () { return chunkUSIRUI2M_cjs.ConnectedTaskComposer; }
43191
+ get: function () { return chunkQSPKL754_cjs.ConnectedTaskComposer; }
43156
43192
  });
43157
43193
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
43158
43194
  enumerable: true,
43159
- get: function () { return chunkUSIRUI2M_cjs.ConnectedThreadTaskBar; }
43195
+ get: function () { return chunkQSPKL754_cjs.ConnectedThreadTaskBar; }
43160
43196
  });
43161
43197
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
43162
43198
  enumerable: true,
43163
- get: function () { return chunkUSIRUI2M_cjs.ConnectedWorkflowHistory; }
43199
+ get: function () { return chunkQSPKL754_cjs.ConnectedWorkflowHistory; }
43164
43200
  });
43165
43201
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
43166
43202
  enumerable: true,
43167
- get: function () { return chunkUSIRUI2M_cjs.ConnectedWorkflowRunPage; }
43203
+ get: function () { return chunkQSPKL754_cjs.ConnectedWorkflowRunPage; }
43168
43204
  });
43169
43205
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
43170
43206
  enumerable: true,
43171
- get: function () { return chunkUSIRUI2M_cjs.ConnectedWorkflowRunner; }
43207
+ get: function () { return chunkQSPKL754_cjs.ConnectedWorkflowRunner; }
43172
43208
  });
43173
43209
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
43174
43210
  enumerable: true,
43175
- get: function () { return chunkUSIRUI2M_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
43211
+ get: function () { return chunkQSPKL754_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
43176
43212
  });
43177
43213
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
43178
43214
  enumerable: true,
43179
- get: function () { return chunkUSIRUI2M_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
43215
+ get: function () { return chunkQSPKL754_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
43180
43216
  });
43181
43217
  Object.defineProperty(exports, "WorkflowRunThread", {
43182
43218
  enumerable: true,
43183
- get: function () { return chunkUSIRUI2M_cjs.WorkflowRunThread; }
43219
+ get: function () { return chunkQSPKL754_cjs.WorkflowRunThread; }
43184
43220
  });
43185
43221
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
43186
43222
  enumerable: true,
43187
- get: function () { return chunkUSIRUI2M_cjs.WorkflowRunWorkspaceChangedError; }
43223
+ get: function () { return chunkQSPKL754_cjs.WorkflowRunWorkspaceChangedError; }
43188
43224
  });
43189
43225
  Object.defineProperty(exports, "buildProjectSummaries", {
43190
43226
  enumerable: true,
43191
- get: function () { return chunkUSIRUI2M_cjs.buildProjectSummaries; }
43227
+ get: function () { return chunkQSPKL754_cjs.buildProjectSummaries; }
43192
43228
  });
43193
43229
  Object.defineProperty(exports, "primaryProjectWorkspace", {
43194
43230
  enumerable: true,
43195
- get: function () { return chunkUSIRUI2M_cjs.primaryProjectWorkspace; }
43231
+ get: function () { return chunkQSPKL754_cjs.primaryProjectWorkspace; }
43196
43232
  });
43197
43233
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
43198
43234
  enumerable: true,
43199
- get: function () { return chunkUSIRUI2M_cjs.useEnsureRequiredLabels; }
43235
+ get: function () { return chunkQSPKL754_cjs.useEnsureRequiredLabels; }
43200
43236
  });
43201
43237
  Object.defineProperty(exports, "useProjectSummaries", {
43202
43238
  enumerable: true,
43203
- get: function () { return chunkUSIRUI2M_cjs.useProjectSummaries; }
43239
+ get: function () { return chunkQSPKL754_cjs.useProjectSummaries; }
43204
43240
  });
43205
43241
  Object.defineProperty(exports, "useProjectSummary", {
43206
43242
  enumerable: true,
43207
- get: function () { return chunkUSIRUI2M_cjs.useProjectSummary; }
43243
+ get: function () { return chunkQSPKL754_cjs.useProjectSummary; }
43208
43244
  });
43209
43245
  Object.defineProperty(exports, "useRenderTaskPerson", {
43210
43246
  enumerable: true,
43211
- get: function () { return chunkUSIRUI2M_cjs.useRenderTaskPerson; }
43247
+ get: function () { return chunkQSPKL754_cjs.useRenderTaskPerson; }
43212
43248
  });
43213
43249
  Object.defineProperty(exports, "useRequiredLabels", {
43214
43250
  enumerable: true,
43215
- get: function () { return chunkUSIRUI2M_cjs.useRequiredLabels; }
43251
+ get: function () { return chunkQSPKL754_cjs.useRequiredLabels; }
43216
43252
  });
43217
43253
  Object.defineProperty(exports, "useTaskPeople", {
43218
43254
  enumerable: true,
43219
- get: function () { return chunkUSIRUI2M_cjs.useTaskPeople; }
43255
+ get: function () { return chunkQSPKL754_cjs.useTaskPeople; }
43220
43256
  });
43221
43257
  Object.defineProperty(exports, "useWorkflowsPageState", {
43222
43258
  enumerable: true,
43223
- get: function () { return chunkUSIRUI2M_cjs.useWorkflowsPageState; }
43259
+ get: function () { return chunkQSPKL754_cjs.useWorkflowsPageState; }
43224
43260
  });
43225
43261
  Object.defineProperty(exports, "workflowRunView", {
43226
43262
  enumerable: true,
43227
- get: function () { return chunkUSIRUI2M_cjs.workflowRunView; }
43263
+ get: function () { return chunkQSPKL754_cjs.workflowRunView; }
43228
43264
  });
43229
43265
  Object.defineProperty(exports, "AgentSteps", {
43230
43266
  enumerable: true,
43231
- get: function () { return chunkMM5Q7AJL_cjs.AgentSteps; }
43267
+ get: function () { return chunkTQXMASFX_cjs.AgentSteps; }
43232
43268
  });
43233
43269
  Object.defineProperty(exports, "AnswerTable", {
43234
43270
  enumerable: true,
43235
- get: function () { return chunkMM5Q7AJL_cjs.AnswerTable; }
43271
+ get: function () { return chunkTQXMASFX_cjs.AnswerTable; }
43236
43272
  });
43237
43273
  Object.defineProperty(exports, "ArbiChat", {
43238
43274
  enumerable: true,
43239
- get: function () { return chunkMM5Q7AJL_cjs.ArbiChat; }
43275
+ get: function () { return chunkTQXMASFX_cjs.ArbiChat; }
43240
43276
  });
43241
43277
  Object.defineProperty(exports, "AskAgainContext", {
43242
43278
  enumerable: true,
43243
- get: function () { return chunkMM5Q7AJL_cjs.AskAgainContext; }
43279
+ get: function () { return chunkTQXMASFX_cjs.AskAgainContext; }
43244
43280
  });
43245
43281
  Object.defineProperty(exports, "ConnectedBranchControls", {
43246
43282
  enumerable: true,
43247
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedBranchControls; }
43283
+ get: function () { return chunkTQXMASFX_cjs.ConnectedBranchControls; }
43248
43284
  });
43249
43285
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
43250
43286
  enumerable: true,
43251
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedCitationRenderer; }
43287
+ get: function () { return chunkTQXMASFX_cjs.ConnectedCitationRenderer; }
43252
43288
  });
43253
43289
  Object.defineProperty(exports, "ConnectedCompactConversation", {
43254
43290
  enumerable: true,
43255
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedCompactConversation; }
43291
+ get: function () { return chunkTQXMASFX_cjs.ConnectedCompactConversation; }
43256
43292
  });
43257
43293
  Object.defineProperty(exports, "ConnectedCompactLogin", {
43258
43294
  enumerable: true,
43259
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedCompactLogin; }
43295
+ get: function () { return chunkTQXMASFX_cjs.ConnectedCompactLogin; }
43260
43296
  });
43261
43297
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
43262
43298
  enumerable: true,
43263
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedConversationDocumentPicker; }
43299
+ get: function () { return chunkTQXMASFX_cjs.ConnectedConversationDocumentPicker; }
43264
43300
  });
43265
43301
  Object.defineProperty(exports, "ConnectedDangerZone", {
43266
43302
  enumerable: true,
43267
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedDangerZone; }
43303
+ get: function () { return chunkTQXMASFX_cjs.ConnectedDangerZone; }
43268
43304
  });
43269
43305
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
43270
43306
  enumerable: true,
43271
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedEmbeddedChat; }
43307
+ get: function () { return chunkTQXMASFX_cjs.ConnectedEmbeddedChat; }
43272
43308
  });
43273
43309
  Object.defineProperty(exports, "ConnectedForgotPassword", {
43274
43310
  enumerable: true,
43275
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedForgotPassword; }
43311
+ get: function () { return chunkTQXMASFX_cjs.ConnectedForgotPassword; }
43276
43312
  });
43277
43313
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
43278
43314
  enumerable: true,
43279
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedIdentityVerification; }
43315
+ get: function () { return chunkTQXMASFX_cjs.ConnectedIdentityVerification; }
43280
43316
  });
43281
43317
  Object.defineProperty(exports, "ConnectedLoginPage", {
43282
43318
  enumerable: true,
43283
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedLoginPage; }
43319
+ get: function () { return chunkTQXMASFX_cjs.ConnectedLoginPage; }
43284
43320
  });
43285
43321
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
43286
43322
  enumerable: true,
43287
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedLogoutDialog; }
43323
+ get: function () { return chunkTQXMASFX_cjs.ConnectedLogoutDialog; }
43288
43324
  });
43289
43325
  Object.defineProperty(exports, "ConnectedMessage", {
43290
43326
  enumerable: true,
43291
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedMessage; }
43327
+ get: function () { return chunkTQXMASFX_cjs.ConnectedMessage; }
43292
43328
  });
43293
43329
  Object.defineProperty(exports, "ConnectedMessageArea", {
43294
43330
  enumerable: true,
43295
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedMessageArea; }
43331
+ get: function () { return chunkTQXMASFX_cjs.ConnectedMessageArea; }
43296
43332
  });
43297
43333
  Object.defineProperty(exports, "ConnectedMessageList", {
43298
43334
  enumerable: true,
43299
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedMessageList; }
43335
+ get: function () { return chunkTQXMASFX_cjs.ConnectedMessageList; }
43300
43336
  });
43301
43337
  Object.defineProperty(exports, "ConnectedModelSelector", {
43302
43338
  enumerable: true,
43303
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedModelSelector; }
43339
+ get: function () { return chunkTQXMASFX_cjs.ConnectedModelSelector; }
43304
43340
  });
43305
43341
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
43306
43342
  enumerable: true,
43307
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedNotificationPreferences; }
43343
+ get: function () { return chunkTQXMASFX_cjs.ConnectedNotificationPreferences; }
43308
43344
  });
43309
43345
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
43310
43346
  enumerable: true,
43311
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedPasswordChangeDialog; }
43347
+ get: function () { return chunkTQXMASFX_cjs.ConnectedPasswordChangeDialog; }
43312
43348
  });
43313
43349
  Object.defineProperty(exports, "ConnectedProfileCard", {
43314
43350
  enumerable: true,
43315
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedProfileCard; }
43351
+ get: function () { return chunkTQXMASFX_cjs.ConnectedProfileCard; }
43316
43352
  });
43317
43353
  Object.defineProperty(exports, "ConnectedSecuritySection", {
43318
43354
  enumerable: true,
43319
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedSecuritySection; }
43355
+ get: function () { return chunkTQXMASFX_cjs.ConnectedSecuritySection; }
43320
43356
  });
43321
43357
  Object.defineProperty(exports, "ConnectedSessionsRow", {
43322
43358
  enumerable: true,
43323
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedSessionsRow; }
43359
+ get: function () { return chunkTQXMASFX_cjs.ConnectedSessionsRow; }
43324
43360
  });
43325
43361
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
43326
43362
  enumerable: true,
43327
- get: function () { return chunkMM5Q7AJL_cjs.ConnectedThreadsPreview; }
43363
+ get: function () { return chunkTQXMASFX_cjs.ConnectedThreadsPreview; }
43328
43364
  });
43329
43365
  Object.defineProperty(exports, "ConversationComposer", {
43330
43366
  enumerable: true,
43331
- get: function () { return chunkMM5Q7AJL_cjs.ConversationComposer; }
43367
+ get: function () { return chunkTQXMASFX_cjs.ConversationComposer; }
43332
43368
  });
43333
43369
  Object.defineProperty(exports, "EmbeddedChatPanel", {
43334
43370
  enumerable: true,
43335
- get: function () { return chunkMM5Q7AJL_cjs.EmbeddedChatPanel; }
43371
+ get: function () { return chunkTQXMASFX_cjs.EmbeddedChatPanel; }
43336
43372
  });
43337
43373
  Object.defineProperty(exports, "MessageDetailsModal", {
43338
43374
  enumerable: true,
43339
- get: function () { return chunkMM5Q7AJL_cjs.MessageDetailsModal; }
43375
+ get: function () { return chunkTQXMASFX_cjs.MessageDetailsModal; }
43340
43376
  });
43341
43377
  Object.defineProperty(exports, "MessageLiveSeconds", {
43342
43378
  enumerable: true,
43343
- get: function () { return chunkMM5Q7AJL_cjs.MessageLiveSeconds; }
43379
+ get: function () { return chunkTQXMASFX_cjs.MessageLiveSeconds; }
43344
43380
  });
43345
43381
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
43346
43382
  enumerable: true,
43347
- get: function () { return chunkMM5Q7AJL_cjs.PENDING_RECOVERY_KEY; }
43383
+ get: function () { return chunkTQXMASFX_cjs.PENDING_RECOVERY_KEY; }
43348
43384
  });
43349
43385
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
43350
43386
  enumerable: true,
43351
- get: function () { return chunkMM5Q7AJL_cjs.PREMIUM_TIER_TAG; }
43387
+ get: function () { return chunkTQXMASFX_cjs.PREMIUM_TIER_TAG; }
43352
43388
  });
43353
43389
  Object.defineProperty(exports, "RunningSubagents", {
43354
43390
  enumerable: true,
43355
- get: function () { return chunkMM5Q7AJL_cjs.RunningSubagents; }
43391
+ get: function () { return chunkTQXMASFX_cjs.RunningSubagents; }
43356
43392
  });
43357
43393
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
43358
43394
  enumerable: true,
43359
- get: function () { return chunkMM5Q7AJL_cjs.STANDARD_TIER_TAG; }
43395
+ get: function () { return chunkTQXMASFX_cjs.STANDARD_TIER_TAG; }
43360
43396
  });
43361
43397
  Object.defineProperty(exports, "WorkflowStepMessage", {
43362
43398
  enumerable: true,
43363
- get: function () { return chunkMM5Q7AJL_cjs.WorkflowStepMessage; }
43399
+ get: function () { return chunkTQXMASFX_cjs.WorkflowStepMessage; }
43364
43400
  });
43365
43401
  Object.defineProperty(exports, "backUpOnSignup", {
43366
43402
  enumerable: true,
43367
- get: function () { return chunkMM5Q7AJL_cjs.backUpOnSignup; }
43403
+ get: function () { return chunkTQXMASFX_cjs.backUpOnSignup; }
43368
43404
  });
43369
43405
  Object.defineProperty(exports, "defaultHost", {
43370
43406
  enumerable: true,
43371
- get: function () { return chunkMM5Q7AJL_cjs.defaultHost; }
43407
+ get: function () { return chunkTQXMASFX_cjs.defaultHost; }
43372
43408
  });
43373
43409
  Object.defineProperty(exports, "renderConnectedUser", {
43374
43410
  enumerable: true,
43375
- get: function () { return chunkMM5Q7AJL_cjs.renderConnectedUser; }
43411
+ get: function () { return chunkTQXMASFX_cjs.renderConnectedUser; }
43376
43412
  });
43377
43413
  Object.defineProperty(exports, "renderSessionStatusIcon", {
43378
43414
  enumerable: true,
43379
- get: function () { return chunkMM5Q7AJL_cjs.renderSessionStatusIcon; }
43415
+ get: function () { return chunkTQXMASFX_cjs.renderSessionStatusIcon; }
43380
43416
  });
43381
43417
  Object.defineProperty(exports, "resolveSsoName", {
43382
43418
  enumerable: true,
43383
- get: function () { return chunkMM5Q7AJL_cjs.resolveSsoName; }
43419
+ get: function () { return chunkTQXMASFX_cjs.resolveSsoName; }
43384
43420
  });
43385
43421
  Object.defineProperty(exports, "useAuthPages", {
43386
43422
  enumerable: true,
43387
- get: function () { return chunkMM5Q7AJL_cjs.useAuthPages; }
43423
+ get: function () { return chunkTQXMASFX_cjs.useAuthPages; }
43388
43424
  });
43389
43425
  Object.defineProperty(exports, "useContextualHints", {
43390
43426
  enumerable: true,
43391
- get: function () { return chunkMM5Q7AJL_cjs.useContextualHints; }
43427
+ get: function () { return chunkTQXMASFX_cjs.useContextualHints; }
43392
43428
  });
43393
43429
  Object.defineProperty(exports, "useModelPicker", {
43394
43430
  enumerable: true,
43395
- get: function () { return chunkMM5Q7AJL_cjs.useModelPicker; }
43431
+ get: function () { return chunkTQXMASFX_cjs.useModelPicker; }
43396
43432
  });
43397
43433
  Object.defineProperty(exports, "useOpenChunk", {
43398
43434
  enumerable: true,
43399
- get: function () { return chunkMM5Q7AJL_cjs.useOpenChunk; }
43435
+ get: function () { return chunkTQXMASFX_cjs.useOpenChunk; }
43400
43436
  });
43401
43437
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
43402
43438
  enumerable: true,
43403
- get: function () { return chunkMM5Q7AJL_cjs.useOpenWorkspaceIcon; }
43439
+ get: function () { return chunkTQXMASFX_cjs.useOpenWorkspaceIcon; }
43404
43440
  });
43405
43441
  Object.defineProperty(exports, "useSsoSignIn", {
43406
43442
  enumerable: true,
43407
- get: function () { return chunkMM5Q7AJL_cjs.useSsoSignIn; }
43443
+ get: function () { return chunkTQXMASFX_cjs.useSsoSignIn; }
43408
43444
  });
43409
43445
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
43410
43446
  enumerable: true,
43411
- get: function () { return chunkMM5Q7AJL_cjs.useWorkspaceDocTitles; }
43447
+ get: function () { return chunkTQXMASFX_cjs.useWorkspaceDocTitles; }
43412
43448
  });
43413
43449
  Object.defineProperty(exports, "ConnectedWorkflowStart", {
43414
43450
  enumerable: true,
@@ -43440,11 +43476,11 @@ Object.defineProperty(exports, "useSlashSkillWorkflows", {
43440
43476
  });
43441
43477
  Object.defineProperty(exports, "useConnectedThreadActivity", {
43442
43478
  enumerable: true,
43443
- get: function () { return chunkSWILV6LT_cjs.useConnectedThreadActivity; }
43479
+ get: function () { return chunkTGHBXJTN_cjs.useConnectedThreadActivity; }
43444
43480
  });
43445
43481
  Object.defineProperty(exports, "DocumentUser", {
43446
43482
  enumerable: true,
43447
- get: function () { return chunkMT3RPUQC_cjs.DocumentUser; }
43483
+ get: function () { return chunkH7UDEZEO_cjs.DocumentUser; }
43448
43484
  });
43449
43485
  Object.defineProperty(exports, "useCanBrowseSkills", {
43450
43486
  enumerable: true,
@@ -43476,23 +43512,23 @@ Object.defineProperty(exports, "SELECTED_WORKSPACE_KEY", {
43476
43512
  });
43477
43513
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
43478
43514
  enumerable: true,
43479
- get: function () { return chunkWGAGIF4F_cjs.ConnectedWorkflowsTable; }
43515
+ get: function () { return chunk2ROYKDEA_cjs.ConnectedWorkflowsTable; }
43480
43516
  });
43481
43517
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
43482
43518
  enumerable: true,
43483
- get: function () { return chunkWGAGIF4F_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
43519
+ get: function () { return chunk2ROYKDEA_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
43484
43520
  });
43485
43521
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
43486
43522
  enumerable: true,
43487
- get: function () { return chunkWGAGIF4F_cjs.useConnectedWorkspaceRole; }
43523
+ get: function () { return chunk2ROYKDEA_cjs.useConnectedWorkspaceRole; }
43488
43524
  });
43489
43525
  Object.defineProperty(exports, "useDocxCommentTarget", {
43490
43526
  enumerable: true,
43491
- get: function () { return chunkWGAGIF4F_cjs.useDocxCommentTarget; }
43527
+ get: function () { return chunk2ROYKDEA_cjs.useDocxCommentTarget; }
43492
43528
  });
43493
43529
  Object.defineProperty(exports, "useNativeDocxSupport", {
43494
43530
  enumerable: true,
43495
- get: function () { return chunkWGAGIF4F_cjs.useNativeDocxSupport; }
43531
+ get: function () { return chunk2ROYKDEA_cjs.useNativeDocxSupport; }
43496
43532
  });
43497
43533
  Object.defineProperty(exports, "useOpenWorkflow", {
43498
43534
  enumerable: true,
@@ -43540,35 +43576,35 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
43540
43576
  });
43541
43577
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
43542
43578
  enumerable: true,
43543
- get: function () { return chunkHJBVSG6H_cjs.FILES_PREFS_KEY; }
43579
+ get: function () { return chunkQYDMOBGP_cjs.FILES_PREFS_KEY; }
43544
43580
  });
43545
43581
  Object.defineProperty(exports, "filesViewMode", {
43546
43582
  enumerable: true,
43547
- get: function () { return chunkHJBVSG6H_cjs.filesViewMode; }
43583
+ get: function () { return chunkQYDMOBGP_cjs.filesViewMode; }
43548
43584
  });
43549
43585
  Object.defineProperty(exports, "useAiReviewStore", {
43550
43586
  enumerable: true,
43551
- get: function () { return chunkHJBVSG6H_cjs.useAiReviewStore; }
43587
+ get: function () { return chunkQYDMOBGP_cjs.useAiReviewStore; }
43552
43588
  });
43553
43589
  Object.defineProperty(exports, "useFilesDialogs", {
43554
43590
  enumerable: true,
43555
- get: function () { return chunkHJBVSG6H_cjs.useFilesDialogs; }
43591
+ get: function () { return chunkQYDMOBGP_cjs.useFilesDialogs; }
43556
43592
  });
43557
43593
  Object.defineProperty(exports, "useFilesGridStates", {
43558
43594
  enumerable: true,
43559
- get: function () { return chunkHJBVSG6H_cjs.useFilesGridStates; }
43595
+ get: function () { return chunkQYDMOBGP_cjs.useFilesGridStates; }
43560
43596
  });
43561
43597
  Object.defineProperty(exports, "useFilesPrefs", {
43562
43598
  enumerable: true,
43563
- get: function () { return chunkHJBVSG6H_cjs.useFilesPrefs; }
43599
+ get: function () { return chunkQYDMOBGP_cjs.useFilesPrefs; }
43564
43600
  });
43565
43601
  Object.defineProperty(exports, "useFilesStore", {
43566
43602
  enumerable: true,
43567
- get: function () { return chunkHJBVSG6H_cjs.useFilesStore; }
43603
+ get: function () { return chunkQYDMOBGP_cjs.useFilesStore; }
43568
43604
  });
43569
43605
  Object.defineProperty(exports, "usePendingFolders", {
43570
43606
  enumerable: true,
43571
- get: function () { return chunkHJBVSG6H_cjs.usePendingFolders; }
43607
+ get: function () { return chunkQYDMOBGP_cjs.usePendingFolders; }
43572
43608
  });
43573
43609
  Object.defineProperty(exports, "ConnectedMarkdown", {
43574
43610
  enumerable: true,
@@ -43600,67 +43636,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
43600
43636
  });
43601
43637
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
43602
43638
  enumerable: true,
43603
- get: function () { return chunkJ24LYNTY_cjs.ConnectedPendingSyncDialog; }
43639
+ get: function () { return chunkILH2KOHA_cjs.ConnectedPendingSyncDialog; }
43604
43640
  });
43605
43641
  Object.defineProperty(exports, "DocumentFolderCell", {
43606
43642
  enumerable: true,
43607
- get: function () { return chunkJ24LYNTY_cjs.DocumentFolderCell; }
43643
+ get: function () { return chunkILH2KOHA_cjs.DocumentFolderCell; }
43608
43644
  });
43609
43645
  Object.defineProperty(exports, "DocumentLabelsCell", {
43610
43646
  enumerable: true,
43611
- get: function () { return chunkJ24LYNTY_cjs.DocumentLabelsCell; }
43647
+ get: function () { return chunkILH2KOHA_cjs.DocumentLabelsCell; }
43612
43648
  });
43613
43649
  Object.defineProperty(exports, "DocumentNameCell", {
43614
43650
  enumerable: true,
43615
- get: function () { return chunkJ24LYNTY_cjs.DocumentNameCell; }
43651
+ get: function () { return chunkILH2KOHA_cjs.DocumentNameCell; }
43616
43652
  });
43617
43653
  Object.defineProperty(exports, "DocumentSharedCell", {
43618
43654
  enumerable: true,
43619
- get: function () { return chunkJ24LYNTY_cjs.DocumentSharedCell; }
43655
+ get: function () { return chunkILH2KOHA_cjs.DocumentSharedCell; }
43620
43656
  });
43621
43657
  Object.defineProperty(exports, "DocumentStatusGlyph", {
43622
43658
  enumerable: true,
43623
- get: function () { return chunkJ24LYNTY_cjs.DocumentStatusGlyph; }
43659
+ get: function () { return chunkILH2KOHA_cjs.DocumentStatusGlyph; }
43624
43660
  });
43625
43661
  Object.defineProperty(exports, "DocumentSyncGlyph", {
43626
43662
  enumerable: true,
43627
- get: function () { return chunkJ24LYNTY_cjs.DocumentSyncGlyph; }
43663
+ get: function () { return chunkILH2KOHA_cjs.DocumentSyncGlyph; }
43628
43664
  });
43629
43665
  Object.defineProperty(exports, "FileTooltipContent", {
43630
43666
  enumerable: true,
43631
- get: function () { return chunkJ24LYNTY_cjs.FileTooltipContent; }
43667
+ get: function () { return chunkILH2KOHA_cjs.FileTooltipContent; }
43632
43668
  });
43633
43669
  Object.defineProperty(exports, "RelatedDocumentsCell", {
43634
43670
  enumerable: true,
43635
- get: function () { return chunkJ24LYNTY_cjs.RelatedDocumentsCell; }
43671
+ get: function () { return chunkILH2KOHA_cjs.RelatedDocumentsCell; }
43636
43672
  });
43637
43673
  Object.defineProperty(exports, "StatusCell", {
43638
43674
  enumerable: true,
43639
- get: function () { return chunkJ24LYNTY_cjs.StatusCell; }
43675
+ get: function () { return chunkILH2KOHA_cjs.StatusCell; }
43640
43676
  });
43641
43677
  Object.defineProperty(exports, "UserAvatar", {
43642
43678
  enumerable: true,
43643
- get: function () { return chunkJ24LYNTY_cjs.UserAvatar; }
43679
+ get: function () { return chunkILH2KOHA_cjs.UserAvatar; }
43644
43680
  });
43645
43681
  Object.defineProperty(exports, "isActiveDocumentStatus", {
43646
43682
  enumerable: true,
43647
- get: function () { return chunkJ24LYNTY_cjs.isActiveDocumentStatus; }
43683
+ get: function () { return chunkILH2KOHA_cjs.isActiveDocumentStatus; }
43648
43684
  });
43649
43685
  Object.defineProperty(exports, "openPendingSyncDialog", {
43650
43686
  enumerable: true,
43651
- get: function () { return chunkJ24LYNTY_cjs.openPendingSyncDialog; }
43687
+ get: function () { return chunkILH2KOHA_cjs.openPendingSyncDialog; }
43652
43688
  });
43653
43689
  Object.defineProperty(exports, "parseQuotaError", {
43654
43690
  enumerable: true,
43655
- get: function () { return chunkJ24LYNTY_cjs.parseQuotaError; }
43691
+ get: function () { return chunkILH2KOHA_cjs.parseQuotaError; }
43656
43692
  });
43657
43693
  Object.defineProperty(exports, "startMenuItem", {
43658
43694
  enumerable: true,
43659
- get: function () { return chunkJ24LYNTY_cjs.startMenuItem; }
43695
+ get: function () { return chunkILH2KOHA_cjs.startMenuItem; }
43660
43696
  });
43661
43697
  Object.defineProperty(exports, "useDocumentFolders", {
43662
43698
  enumerable: true,
43663
- get: function () { return chunkJ24LYNTY_cjs.useDocumentFolders; }
43699
+ get: function () { return chunkILH2KOHA_cjs.useDocumentFolders; }
43664
43700
  });
43665
43701
  Object.defineProperty(exports, "useMeetingThreadMessages", {
43666
43702
  enumerable: true,