@arbidocs/blocks 0.5.80 → 0.5.81

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 (134) hide show
  1. package/dist/ConnectedCallDock-DIGOWCS7.js +2 -2
  2. package/dist/ConnectedCallDock-P42M6OVR.cjs +2 -2
  3. package/dist/ConnectedCallRoom-AYNCZVWL.js +2 -2
  4. package/dist/ConnectedCallRoom-VFGV4X7I.cjs +2 -2
  5. package/dist/{ConnectedDocumentViewer-H7W6XQNJ.js → ConnectedDocumentViewer-ATLFYABV.js} +14 -14
  6. package/dist/{ConnectedDocumentViewer-H7W6XQNJ.js.map → ConnectedDocumentViewer-ATLFYABV.js.map} +1 -1
  7. package/dist/{ConnectedDocumentViewer-EXR4XDRW.cjs → ConnectedDocumentViewer-EHPY2LSI.cjs} +15 -15
  8. package/dist/{ConnectedDocumentViewer-EXR4XDRW.cjs.map → ConnectedDocumentViewer-EHPY2LSI.cjs.map} +1 -1
  9. package/dist/{ConnectedNativeDocxComparison-2W3NNA5C.js → ConnectedNativeDocxComparison-G6VWHP4A.js} +10 -10
  10. package/dist/{ConnectedNativeDocxComparison-2W3NNA5C.js.map → ConnectedNativeDocxComparison-G6VWHP4A.js.map} +1 -1
  11. package/dist/{ConnectedNativeDocxComparison-UJWBGYOF.cjs → ConnectedNativeDocxComparison-OYZ2HZ7G.cjs} +11 -11
  12. package/dist/{ConnectedNativeDocxComparison-UJWBGYOF.cjs.map → ConnectedNativeDocxComparison-OYZ2HZ7G.cjs.map} +1 -1
  13. package/dist/{ConnectedNativeDocxEditor-QHVE5IR5.js → ConnectedNativeDocxEditor-2LGWJ4HT.js} +9 -9
  14. package/dist/{ConnectedNativeDocxEditor-QHVE5IR5.js.map → ConnectedNativeDocxEditor-2LGWJ4HT.js.map} +1 -1
  15. package/dist/{ConnectedNativeDocxEditor-672BRHOT.cjs → ConnectedNativeDocxEditor-7EZYSH57.cjs} +11 -11
  16. package/dist/{ConnectedNativeDocxEditor-672BRHOT.cjs.map → ConnectedNativeDocxEditor-7EZYSH57.cjs.map} +1 -1
  17. package/dist/{ConnectedStreamedWordArtifact-3MNE42NH.cjs → ConnectedStreamedWordArtifact-ROPG2O4H.cjs} +11 -11
  18. package/dist/ConnectedStreamedWordArtifact-ROPG2O4H.cjs.map +1 -0
  19. package/dist/{ConnectedStreamedWordArtifact-VI3S2YIG.js → ConnectedStreamedWordArtifact-TRRA55JN.js} +10 -10
  20. package/dist/ConnectedStreamedWordArtifact-TRRA55JN.js.map +1 -0
  21. package/dist/{DocumentReviewCard-XK77D3O4.cjs → DocumentReviewCard-3EM6GHJC.cjs} +12 -12
  22. package/dist/{DocumentReviewCard-XK77D3O4.cjs.map → DocumentReviewCard-3EM6GHJC.cjs.map} +1 -1
  23. package/dist/{DocumentReviewCard-F26AXBYZ.js → DocumentReviewCard-JC3JCRR7.js} +7 -7
  24. package/dist/{DocumentReviewCard-F26AXBYZ.js.map → DocumentReviewCard-JC3JCRR7.js.map} +1 -1
  25. package/dist/{WorkspaceTableView-III5TFER.cjs → WorkspaceTableView-JVHIJP6L.cjs} +3 -3
  26. package/dist/{WorkspaceTableView-III5TFER.cjs.map → WorkspaceTableView-JVHIJP6L.cjs.map} +1 -1
  27. package/dist/{WorkspaceTableView-JUQWTLXI.js → WorkspaceTableView-OICIO5HZ.js} +3 -3
  28. package/dist/{WorkspaceTableView-JUQWTLXI.js.map → WorkspaceTableView-OICIO5HZ.js.map} +1 -1
  29. package/dist/agents/index.cjs +377 -377
  30. package/dist/agents/index.js +11 -11
  31. package/dist/calls/index.cjs +2 -2
  32. package/dist/calls/index.js +2 -2
  33. package/dist/chat/index.cjs +2 -2
  34. package/dist/chat/index.js +2 -2
  35. package/dist/{chunk-7KQMDGML.js → chunk-2HRFMBJH.js} +3 -3
  36. package/dist/{chunk-7KQMDGML.js.map → chunk-2HRFMBJH.js.map} +1 -1
  37. package/dist/{chunk-3FKRE4BL.cjs → chunk-32ZOKBNT.cjs} +3 -3
  38. package/dist/{chunk-3FKRE4BL.cjs.map → chunk-32ZOKBNT.cjs.map} +1 -1
  39. package/dist/{chunk-XAZUII52.js → chunk-3SWH4NNT.js} +3 -3
  40. package/dist/{chunk-XAZUII52.js.map → chunk-3SWH4NNT.js.map} +1 -1
  41. package/dist/{chunk-AEHV2DHR.js → chunk-3TKRCYFN.js} +3 -3
  42. package/dist/{chunk-AEHV2DHR.js.map → chunk-3TKRCYFN.js.map} +1 -1
  43. package/dist/{chunk-UHP6AP6C.cjs → chunk-3YMV2F5F.cjs} +7 -7
  44. package/dist/{chunk-UHP6AP6C.cjs.map → chunk-3YMV2F5F.cjs.map} +1 -1
  45. package/dist/{chunk-HJHLQPT2.js → chunk-4BWFKTQD.js} +4 -4
  46. package/dist/{chunk-HJHLQPT2.js.map → chunk-4BWFKTQD.js.map} +1 -1
  47. package/dist/{chunk-MEDTT4EK.js → chunk-4LAR3X3L.js} +9 -9
  48. package/dist/{chunk-MEDTT4EK.js.map → chunk-4LAR3X3L.js.map} +1 -1
  49. package/dist/{chunk-LCMHUW3K.js → chunk-7S7ZAJT7.js} +4 -4
  50. package/dist/{chunk-LCMHUW3K.js.map → chunk-7S7ZAJT7.js.map} +1 -1
  51. package/dist/{chunk-WWME52XL.js → chunk-AU6R6ZKJ.js} +3 -3
  52. package/dist/{chunk-WWME52XL.js.map → chunk-AU6R6ZKJ.js.map} +1 -1
  53. package/dist/{chunk-JDGJV7VW.js → chunk-B4PNELIT.js} +3 -3
  54. package/dist/{chunk-JDGJV7VW.js.map → chunk-B4PNELIT.js.map} +1 -1
  55. package/dist/{chunk-VGMK4F2E.cjs → chunk-C2UKBYTD.cjs} +44 -44
  56. package/dist/{chunk-VGMK4F2E.cjs.map → chunk-C2UKBYTD.cjs.map} +1 -1
  57. package/dist/{chunk-OAEJME5Q.cjs → chunk-DBGTR7OK.cjs} +33 -33
  58. package/dist/{chunk-OAEJME5Q.cjs.map → chunk-DBGTR7OK.cjs.map} +1 -1
  59. package/dist/{chunk-DL3XYTKI.cjs → chunk-E2UHMMSQ.cjs} +13 -13
  60. package/dist/{chunk-DL3XYTKI.cjs.map → chunk-E2UHMMSQ.cjs.map} +1 -1
  61. package/dist/{chunk-R5KLIQXI.cjs → chunk-F34I67NI.cjs} +34 -34
  62. package/dist/{chunk-R5KLIQXI.cjs.map → chunk-F34I67NI.cjs.map} +1 -1
  63. package/dist/{chunk-5V7JWZQ4.cjs → chunk-GQJQ75NA.cjs} +57 -57
  64. package/dist/{chunk-5V7JWZQ4.cjs.map → chunk-GQJQ75NA.cjs.map} +1 -1
  65. package/dist/{chunk-DF7ZATID.cjs → chunk-GUMGUNMW.cjs} +4 -4
  66. package/dist/{chunk-DF7ZATID.cjs.map → chunk-GUMGUNMW.cjs.map} +1 -1
  67. package/dist/{chunk-QYILQJOD.js → chunk-I3KSLONI.js} +7 -7
  68. package/dist/{chunk-QYILQJOD.js.map → chunk-I3KSLONI.js.map} +1 -1
  69. package/dist/{chunk-IGMZN37B.cjs → chunk-JDXHA2J4.cjs} +4 -4
  70. package/dist/{chunk-IGMZN37B.cjs.map → chunk-JDXHA2J4.cjs.map} +1 -1
  71. package/dist/{chunk-CGVWWTEZ.js → chunk-MSHBJR7U.js} +3 -3
  72. package/dist/{chunk-CGVWWTEZ.js.map → chunk-MSHBJR7U.js.map} +1 -1
  73. package/dist/{chunk-KFXOZXZD.cjs → chunk-NIUX77EN.cjs} +4 -4
  74. package/dist/{chunk-KFXOZXZD.cjs.map → chunk-NIUX77EN.cjs.map} +1 -1
  75. package/dist/{chunk-UFGC77KR.cjs → chunk-NOLUVCAJ.cjs} +5 -5
  76. package/dist/{chunk-UFGC77KR.cjs.map → chunk-NOLUVCAJ.cjs.map} +1 -1
  77. package/dist/{chunk-KEWX6KFN.js → chunk-NPGILGZQ.js} +4 -4
  78. package/dist/{chunk-KEWX6KFN.js.map → chunk-NPGILGZQ.js.map} +1 -1
  79. package/dist/{chunk-B7UCQEPD.js → chunk-OJCWHCSP.js} +3 -3
  80. package/dist/{chunk-B7UCQEPD.js.map → chunk-OJCWHCSP.js.map} +1 -1
  81. package/dist/{chunk-LC7HFDCV.cjs → chunk-OTXCPTFE.cjs} +24 -24
  82. package/dist/{chunk-LC7HFDCV.cjs.map → chunk-OTXCPTFE.cjs.map} +1 -1
  83. package/dist/{chunk-LHQHK6MB.cjs → chunk-R5FOAHQN.cjs} +5 -5
  84. package/dist/{chunk-LHQHK6MB.cjs.map → chunk-R5FOAHQN.cjs.map} +1 -1
  85. package/dist/{chunk-2L4YFJ6U.js → chunk-RC2PRQVC.js} +6 -6
  86. package/dist/{chunk-2L4YFJ6U.js.map → chunk-RC2PRQVC.js.map} +1 -1
  87. package/dist/{chunk-7IHMM6TG.js → chunk-RREPFWJI.js} +3 -3
  88. package/dist/{chunk-7IHMM6TG.js.map → chunk-RREPFWJI.js.map} +1 -1
  89. package/dist/{chunk-6JDUM4R2.js → chunk-S2BA5F6F.js} +9 -9
  90. package/dist/{chunk-6JDUM4R2.js.map → chunk-S2BA5F6F.js.map} +1 -1
  91. package/dist/{chunk-ZF3OKP2R.js → chunk-SAACQJ4X.js} +3 -3
  92. package/dist/{chunk-ZF3OKP2R.js.map → chunk-SAACQJ4X.js.map} +1 -1
  93. package/dist/{chunk-CRSEWNDP.cjs → chunk-SLBHYIVZ.cjs} +27 -27
  94. package/dist/{chunk-CRSEWNDP.cjs.map → chunk-SLBHYIVZ.cjs.map} +1 -1
  95. package/dist/{chunk-2JJISEQW.js → chunk-SSNJALVA.js} +3 -3
  96. package/dist/{chunk-2JJISEQW.js.map → chunk-SSNJALVA.js.map} +1 -1
  97. package/dist/{chunk-Y37HQ4M2.cjs → chunk-UICJN7O2.cjs} +3 -3
  98. package/dist/{chunk-Y37HQ4M2.cjs.map → chunk-UICJN7O2.cjs.map} +1 -1
  99. package/dist/{chunk-XD3M6ACK.cjs → chunk-W3MWEZYI.cjs} +3 -3
  100. package/dist/{chunk-XD3M6ACK.cjs.map → chunk-W3MWEZYI.cjs.map} +1 -1
  101. package/dist/{chunk-ICHTDJYH.cjs → chunk-WXFPG2GS.cjs} +3 -3
  102. package/dist/{chunk-ICHTDJYH.cjs.map → chunk-WXFPG2GS.cjs.map} +1 -1
  103. package/dist/{chunk-2MYWB55Z.cjs → chunk-YEAWEUTR.cjs} +19 -19
  104. package/dist/{chunk-2MYWB55Z.cjs.map → chunk-YEAWEUTR.cjs.map} +1 -1
  105. package/dist/{chunk-3TI4EVXB.js → chunk-ZLS55KLF.js} +5 -5
  106. package/dist/{chunk-3TI4EVXB.js.map → chunk-ZLS55KLF.js.map} +1 -1
  107. package/dist/connect/docx.cjs +13 -13
  108. package/dist/connect/docx.js +9 -9
  109. package/dist/connect/index.cjs +645 -628
  110. package/dist/connect/index.cjs.map +1 -1
  111. package/dist/connect/index.js +80 -63
  112. package/dist/connect/index.js.map +1 -1
  113. package/dist/connect/viewer.cjs +13 -13
  114. package/dist/connect/viewer.js +12 -12
  115. package/dist/dashboards/index.cjs +1 -1
  116. package/dist/dashboards/index.js +1 -1
  117. package/dist/embed/index.cjs +22 -22
  118. package/dist/embed/index.js +16 -16
  119. package/dist/facts/index.cjs +46 -46
  120. package/dist/facts/index.js +3 -3
  121. package/dist/files/index.cjs +222 -222
  122. package/dist/files/index.js +2 -2
  123. package/dist/index.cjs +1160 -1160
  124. package/dist/index.js +36 -36
  125. package/dist/shell/index.cjs +44 -44
  126. package/dist/shell/index.js +2 -2
  127. package/dist/studio/index.cjs +10 -10
  128. package/dist/studio/index.js +10 -10
  129. package/dist/workflow-canvas/index.cjs +47 -47
  130. package/dist/workflow-canvas/index.js +23 -23
  131. package/node_modules/@arbidocs/coedit/package.json +1 -1
  132. package/package.json +5 -5
  133. package/dist/ConnectedStreamedWordArtifact-3MNE42NH.cjs.map +0 -1
  134. package/dist/ConnectedStreamedWordArtifact-VI3S2YIG.js.map +0 -1
@@ -2,32 +2,32 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkORIOOXUU_cjs = require('../chunk-ORIOOXUU.cjs');
5
- var chunkCRSEWNDP_cjs = require('../chunk-CRSEWNDP.cjs');
5
+ var chunkSLBHYIVZ_cjs = require('../chunk-SLBHYIVZ.cjs');
6
6
  var chunkQNDKLQYT_cjs = require('../chunk-QNDKLQYT.cjs');
7
- var chunk5V7JWZQ4_cjs = require('../chunk-5V7JWZQ4.cjs');
8
- var chunkDF7ZATID_cjs = require('../chunk-DF7ZATID.cjs');
7
+ var chunkGQJQ75NA_cjs = require('../chunk-GQJQ75NA.cjs');
8
+ var chunkGUMGUNMW_cjs = require('../chunk-GUMGUNMW.cjs');
9
9
  var chunkFKFGRGKF_cjs = require('../chunk-FKFGRGKF.cjs');
10
10
  var chunkHYAYXLIZ_cjs = require('../chunk-HYAYXLIZ.cjs');
11
11
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
12
12
  var chunkPSIKUQYM_cjs = require('../chunk-PSIKUQYM.cjs');
13
- var chunkOAEJME5Q_cjs = require('../chunk-OAEJME5Q.cjs');
14
- var chunkDL3XYTKI_cjs = require('../chunk-DL3XYTKI.cjs');
15
- var chunkR5KLIQXI_cjs = require('../chunk-R5KLIQXI.cjs');
16
- var chunkXD3M6ACK_cjs = require('../chunk-XD3M6ACK.cjs');
13
+ var chunkDBGTR7OK_cjs = require('../chunk-DBGTR7OK.cjs');
14
+ var chunkE2UHMMSQ_cjs = require('../chunk-E2UHMMSQ.cjs');
15
+ var chunkF34I67NI_cjs = require('../chunk-F34I67NI.cjs');
16
+ var chunkW3MWEZYI_cjs = require('../chunk-W3MWEZYI.cjs');
17
17
  var chunkXFL67STW_cjs = require('../chunk-XFL67STW.cjs');
18
18
  var chunkZK56K25Q_cjs = require('../chunk-ZK56K25Q.cjs');
19
19
  var chunkOU3RGQFX_cjs = require('../chunk-OU3RGQFX.cjs');
20
20
  require('../chunk-REH7PX3N.cjs');
21
21
  require('../chunk-H32DV7XS.cjs');
22
22
  var chunkQB7PNQDJ_cjs = require('../chunk-QB7PNQDJ.cjs');
23
- var chunkUHP6AP6C_cjs = require('../chunk-UHP6AP6C.cjs');
23
+ var chunk3YMV2F5F_cjs = require('../chunk-3YMV2F5F.cjs');
24
24
  var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
25
25
  var chunkENT64S6W_cjs = require('../chunk-ENT64S6W.cjs');
26
26
  var chunkLYN5HGPZ_cjs = require('../chunk-LYN5HGPZ.cjs');
27
27
  var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
28
28
  var chunkDC5LNUIN_cjs = require('../chunk-DC5LNUIN.cjs');
29
29
  var chunkQYRPFPQ7_cjs = require('../chunk-QYRPFPQ7.cjs');
30
- var chunkICHTDJYH_cjs = require('../chunk-ICHTDJYH.cjs');
30
+ var chunkWXFPG2GS_cjs = require('../chunk-WXFPG2GS.cjs');
31
31
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
32
32
  require('../chunk-324RBHCF.cjs');
33
33
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
@@ -38,66 +38,66 @@ require('../chunk-JH6JTI76.cjs');
38
38
  require('../chunk-UWIILWDI.cjs');
39
39
  var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
40
40
  require('../chunk-ZESMRGDV.cjs');
41
- var chunkUFGC77KR_cjs = require('../chunk-UFGC77KR.cjs');
41
+ var chunkNOLUVCAJ_cjs = require('../chunk-NOLUVCAJ.cjs');
42
42
  var chunkJUP5PCLB_cjs = require('../chunk-JUP5PCLB.cjs');
43
- require('../chunk-NEGFHF3V.cjs');
44
43
  var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
45
44
  var chunkC2ECYOPP_cjs = require('../chunk-C2ECYOPP.cjs');
46
45
  var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
47
46
  var chunkTMX7YFVM_cjs = require('../chunk-TMX7YFVM.cjs');
48
47
  require('../chunk-QXNEXPUL.cjs');
49
- var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
50
- require('../chunk-PCB2BPN3.cjs');
51
48
  var chunkRHLVPCCT_cjs = require('../chunk-RHLVPCCT.cjs');
52
49
  var chunkHJ2KW7RG_cjs = require('../chunk-HJ2KW7RG.cjs');
53
50
  var chunkQZTNTP75_cjs = require('../chunk-QZTNTP75.cjs');
51
+ require('../chunk-NEGFHF3V.cjs');
52
+ var chunkVPPX5XUF_cjs = require('../chunk-VPPX5XUF.cjs');
53
+ require('../chunk-PCB2BPN3.cjs');
54
54
  require('../chunk-NWNVWO6L.cjs');
55
55
  var chunkB2NMLA7W_cjs = require('../chunk-B2NMLA7W.cjs');
56
56
  require('../chunk-7G2LJMUG.cjs');
57
+ var chunk5SXODQEV_cjs = require('../chunk-5SXODQEV.cjs');
58
+ require('../chunk-DO6OJ2F3.cjs');
59
+ require('../chunk-4OFHXOMA.cjs');
60
+ var chunk3UP6ZOH7_cjs = require('../chunk-3UP6ZOH7.cjs');
61
+ var chunkGBXZPBTK_cjs = require('../chunk-GBXZPBTK.cjs');
62
+ var chunkONUY3NPW_cjs = require('../chunk-ONUY3NPW.cjs');
57
63
  var chunkJIOHDVWH_cjs = require('../chunk-JIOHDVWH.cjs');
58
64
  var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
59
- var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
60
- var chunkVWUNPAR2_cjs = require('../chunk-VWUNPAR2.cjs');
61
65
  var chunkZLDFQZSP_cjs = require('../chunk-ZLDFQZSP.cjs');
66
+ var chunkMZZ3SBQL_cjs = require('../chunk-MZZ3SBQL.cjs');
62
67
  var chunkWV6RHIFP_cjs = require('../chunk-WV6RHIFP.cjs');
63
68
  var chunkKRWWRTDN_cjs = require('../chunk-KRWWRTDN.cjs');
69
+ var chunkVWUNPAR2_cjs = require('../chunk-VWUNPAR2.cjs');
64
70
  require('../chunk-VLCY46K6.cjs');
71
+ var chunkEOCBELNK_cjs = require('../chunk-EOCBELNK.cjs');
72
+ require('../chunk-Z2XZ2D4N.cjs');
73
+ require('../chunk-YZSQ7F5K.cjs');
74
+ var chunkMCXS6X37_cjs = require('../chunk-MCXS6X37.cjs');
75
+ require('../chunk-KQF7POTG.cjs');
65
76
  var chunkBTPIHXVX_cjs = require('../chunk-BTPIHXVX.cjs');
66
- var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
67
77
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
78
+ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
68
79
  require('../chunk-72YEEUH7.cjs');
69
80
  require('../chunk-D54JXTPG.cjs');
70
- var chunk5SXODQEV_cjs = require('../chunk-5SXODQEV.cjs');
71
- require('../chunk-DO6OJ2F3.cjs');
72
- require('../chunk-4OFHXOMA.cjs');
73
- var chunk3UP6ZOH7_cjs = require('../chunk-3UP6ZOH7.cjs');
74
- var chunkGBXZPBTK_cjs = require('../chunk-GBXZPBTK.cjs');
75
- var chunkONUY3NPW_cjs = require('../chunk-ONUY3NPW.cjs');
76
- require('../chunk-Z2XZ2D4N.cjs');
77
- var chunkMCXS6X37_cjs = require('../chunk-MCXS6X37.cjs');
78
- var chunkEOCBELNK_cjs = require('../chunk-EOCBELNK.cjs');
79
- require('../chunk-YZSQ7F5K.cjs');
80
- require('../chunk-KQF7POTG.cjs');
81
- var chunkLC7HFDCV_cjs = require('../chunk-LC7HFDCV.cjs');
82
- var chunkY37HQ4M2_cjs = require('../chunk-Y37HQ4M2.cjs');
81
+ var chunkOTXCPTFE_cjs = require('../chunk-OTXCPTFE.cjs');
82
+ var chunkUICJN7O2_cjs = require('../chunk-UICJN7O2.cjs');
83
83
  require('../chunk-I4IS6ST6.cjs');
84
84
  var chunkRFIBUWLF_cjs = require('../chunk-RFIBUWLF.cjs');
85
- var chunkLHQHK6MB_cjs = require('../chunk-LHQHK6MB.cjs');
85
+ require('../chunk-IN6ILI5A.cjs');
86
+ require('../chunk-P6TPVQRU.cjs');
87
+ var chunkR5FOAHQN_cjs = require('../chunk-R5FOAHQN.cjs');
86
88
  require('../chunk-3YEXZX4H.cjs');
87
89
  var chunk5S2N6HSA_cjs = require('../chunk-5S2N6HSA.cjs');
88
90
  var chunk4PA6VCCR_cjs = require('../chunk-4PA6VCCR.cjs');
91
+ var chunk555BS22J_cjs = require('../chunk-555BS22J.cjs');
89
92
  require('../chunk-SIB6C7P7.cjs');
90
93
  require('../chunk-DVUZTGVL.cjs');
91
- var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
92
94
  require('../chunk-AHDJXIUB.cjs');
95
+ var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
93
96
  var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
94
- require('../chunk-FRQME5XS.cjs');
95
- var chunkLKK52DEY_cjs = require('../chunk-LKK52DEY.cjs');
96
- require('../chunk-IN6ILI5A.cjs');
97
- require('../chunk-P6TPVQRU.cjs');
98
- var chunk555BS22J_cjs = require('../chunk-555BS22J.cjs');
99
97
  require('../chunk-75BNMCUX.cjs');
100
98
  require('../chunk-32HW2Q33.cjs');
99
+ require('../chunk-FRQME5XS.cjs');
100
+ var chunkLKK52DEY_cjs = require('../chunk-LKK52DEY.cjs');
101
101
  var chunkFX3K6LNZ_cjs = require('../chunk-FX3K6LNZ.cjs');
102
102
  var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
103
103
  var chunkVYJF4ZQY_cjs = require('../chunk-VYJF4ZQY.cjs');
@@ -112,13 +112,13 @@ require('../chunk-MA4RZFYH.cjs');
112
112
  var chunkLUBZHVZK_cjs = require('../chunk-LUBZHVZK.cjs');
113
113
  var chunkXCZYMSDV_cjs = require('../chunk-XCZYMSDV.cjs');
114
114
  var chunkMOIZ2R5X_cjs = require('../chunk-MOIZ2R5X.cjs');
115
- var chunkLUO46ELJ_cjs = require('../chunk-LUO46ELJ.cjs');
116
115
  var chunkC5YZWJCC_cjs = require('../chunk-C5YZWJCC.cjs');
117
116
  require('../chunk-MCD5TKG7.cjs');
117
+ var chunkLUO46ELJ_cjs = require('../chunk-LUO46ELJ.cjs');
118
118
  var chunk725OETK3_cjs = require('../chunk-725OETK3.cjs');
119
119
  var chunkSJSGSHIT_cjs = require('../chunk-SJSGSHIT.cjs');
120
- var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
121
120
  require('../chunk-PPCATBOY.cjs');
121
+ var chunkZW6FPIFC_cjs = require('../chunk-ZW6FPIFC.cjs');
122
122
  var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
123
123
  var chunkDVZ3QW3O_cjs = require('../chunk-DVZ3QW3O.cjs');
124
124
  var chunkUFEXJIEY_cjs = require('../chunk-UFEXJIEY.cjs');
@@ -234,7 +234,7 @@ function ConnectedWorkspaceActivity({
234
234
  [feed.data]
235
235
  );
236
236
  return /* @__PURE__ */ jsxRuntime.jsx(
237
- chunkUFGC77KR_cjs.WorkspaceActivityList,
237
+ chunkNOLUVCAJ_cjs.WorkspaceActivityList,
238
238
  {
239
239
  ...listProps,
240
240
  items,
@@ -605,7 +605,8 @@ function SignatureEvent({
605
605
  row: row2,
606
606
  isIncoming,
607
607
  open,
608
- renderers
608
+ renderers,
609
+ action
609
610
  }) {
610
611
  const type = row2.type;
611
612
  const { lead, showPerson, verb, tail } = react.signatureNotificationPhrase(type, isIncoming);
@@ -643,7 +644,8 @@ function SignatureEvent({
643
644
  fallback: unnamed
644
645
  }
645
646
  ) : unnamed,
646
- tail && /* @__PURE__ */ jsxRuntime.jsx("span", { className: wording, children: tail.trim() })
647
+ tail && /* @__PURE__ */ jsxRuntime.jsx("span", { className: wording, children: tail.trim() }),
648
+ action
647
649
  ] })
648
650
  ]
649
651
  }
@@ -653,7 +655,8 @@ function PersistedEvent({
653
655
  item,
654
656
  row: row2,
655
657
  open,
656
- renderers
658
+ renderers,
659
+ action
657
660
  }) {
658
661
  const { sender, recipient } = row2;
659
662
  const type = row2.type;
@@ -722,7 +725,16 @@ function PersistedEvent({
722
725
  );
723
726
  }
724
727
  if (react.isSignatureNotificationType(type))
725
- return /* @__PURE__ */ jsxRuntime.jsx(SignatureEvent, { row: row2, isIncoming, open, renderers });
728
+ return /* @__PURE__ */ jsxRuntime.jsx(
729
+ SignatureEvent,
730
+ {
731
+ row: row2,
732
+ isIncoming,
733
+ open,
734
+ renderers,
735
+ action
736
+ }
737
+ );
726
738
  const workLabel = type === "agent_input_requested" ? react.inputRequestTitle(row2.content) : react.WORK_NOTIFICATION_LABELS[type];
727
739
  if (workLabel)
728
740
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -771,15 +783,20 @@ function NotificationEvent({
771
783
  if (!item.persisted) return /* @__PURE__ */ jsxRuntime.jsx(SessionEvent, { item, open });
772
784
  if (!item.row) return null;
773
785
  const described = react.describeCalendarNotification(item.row, { senderName: react.notificationUserName(item.row.sender) }) ?? react.describeServerNotification(item.row);
786
+ const action = described?.target && /* @__PURE__ */ jsxRuntime.jsx(ActionButton, { label: described.actionLabel ?? "Open", onClick: () => open(described.target) });
787
+ const ownLine = react.isSignatureNotificationType(item.row.type);
774
788
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-w-0 items-center gap-2", children: [
775
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(PersistedEvent, { item, row: item.row, open, renderers }) }),
776
- described?.target && /* @__PURE__ */ jsxRuntime.jsx(
777
- ActionButton,
789
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
790
+ PersistedEvent,
778
791
  {
779
- label: described.actionLabel ?? "Open",
780
- onClick: () => open(described.target)
792
+ item,
793
+ row: item.row,
794
+ open,
795
+ renderers,
796
+ action: ownLine ? action : void 0
781
797
  }
782
- )
798
+ ) }),
799
+ !ownLine && action
783
800
  ] });
784
801
  }
785
802
  function categoryOf(item) {
@@ -1365,7 +1382,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1365
1382
  onChange: (e) => {
1366
1383
  const file = e.target.files?.[0];
1367
1384
  e.target.value = "";
1368
- if (file) void add(() => chunkLC7HFDCV_cjs.importSkillFile(file));
1385
+ if (file) void add(() => chunkOTXCPTFE_cjs.importSkillFile(file));
1369
1386
  }
1370
1387
  }
1371
1388
  ),
@@ -1390,7 +1407,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1390
1407
  className: "space-y-2",
1391
1408
  onSubmit: (e) => {
1392
1409
  e.preventDefault();
1393
- if (url.trim()) void add(() => chunkLC7HFDCV_cjs.importSkillFromUrl(url));
1410
+ if (url.trim()) void add(() => chunkOTXCPTFE_cjs.importSkillFromUrl(url));
1394
1411
  },
1395
1412
  children: [
1396
1413
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1453,9 +1470,9 @@ function ConnectedSkillsLibrary({
1453
1470
  const [type, setType] = react$1.useState("all");
1454
1471
  const [view, setView] = react$1.useState("gallery");
1455
1472
  const [isBusy, setIsBusy] = react$1.useState(false);
1456
- const all = react$1.useMemo(() => chunkLC7HFDCV_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1473
+ const all = react$1.useMemo(() => chunkOTXCPTFE_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1457
1474
  const shown = react$1.useMemo(
1458
- () => chunkLC7HFDCV_cjs.filterLibrarySkills(all, { query, source, type }),
1475
+ () => chunkOTXCPTFE_cjs.filterLibrarySkills(all, { query, source, type }),
1459
1476
  [all, query, source, type]
1460
1477
  );
1461
1478
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1466,21 +1483,21 @@ function ConnectedSkillsLibrary({
1466
1483
  const count2 = (s) => all.filter((x) => x.source === s).length;
1467
1484
  const sourceOptions = [
1468
1485
  { id: "all", label: "All", count: all.length },
1469
- { id: "builtin", label: chunkLC7HFDCV_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1470
- { id: "mine", label: chunkLC7HFDCV_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1471
- { id: "shared", label: chunkLC7HFDCV_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1486
+ { id: "builtin", label: chunkOTXCPTFE_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1487
+ { id: "mine", label: chunkOTXCPTFE_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1488
+ { id: "shared", label: chunkOTXCPTFE_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1472
1489
  ];
1473
1490
  const types = [...new Set(all.map((s) => s.type))];
1474
1491
  const typeOptions = [
1475
1492
  { id: "all", label: "Any kind" },
1476
- ...types.map((t) => ({ id: t, label: chunkLC7HFDCV_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1493
+ ...types.map((t) => ({ id: t, label: chunkOTXCPTFE_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1477
1494
  ];
1478
1495
  const pick = (slug) => {
1479
1496
  setSelected(slug);
1480
1497
  setMode("detail");
1481
1498
  };
1482
1499
  const markdownOf = async (skill) => {
1483
- if (!skill.docExtId) return chunkLC7HFDCV_cjs.workflowToSkillMarkdown(skill.workflow);
1500
+ if (!skill.docExtId) return chunkOTXCPTFE_cjs.workflowToSkillMarkdown(skill.workflow);
1484
1501
  const response = await arbi.documents.download(skill.docExtId);
1485
1502
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1486
1503
  return response.text();
@@ -1544,7 +1561,7 @@ function ConnectedSkillsLibrary({
1544
1561
  try {
1545
1562
  documentTools.downloadBlob(
1546
1563
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1547
- chunkLC7HFDCV_cjs.SKILL_MAIN_FILENAME
1564
+ chunkOTXCPTFE_cjs.SKILL_MAIN_FILENAME
1548
1565
  );
1549
1566
  } catch (error) {
1550
1567
  notify17(errorText(error, "Could not export the skill"), "error");
@@ -1585,10 +1602,10 @@ function ConnectedSkillsLibrary({
1585
1602
  }
1586
1603
  )
1587
1604
  ] }),
1588
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.SkillViewToggle, { value: view, onChange: setView })
1605
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.SkillViewToggle, { value: view, onChange: setView })
1589
1606
  ] }),
1590
1607
  /* @__PURE__ */ jsxRuntime.jsx(
1591
- chunkLC7HFDCV_cjs.SkillFilterChips,
1608
+ chunkOTXCPTFE_cjs.SkillFilterChips,
1592
1609
  {
1593
1610
  label: "Show",
1594
1611
  value: source,
@@ -1597,7 +1614,7 @@ function ConnectedSkillsLibrary({
1597
1614
  }
1598
1615
  ),
1599
1616
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1600
- chunkLC7HFDCV_cjs.SkillFilterChips,
1617
+ chunkOTXCPTFE_cjs.SkillFilterChips,
1601
1618
  {
1602
1619
  label: "Kind",
1603
1620
  value: type,
@@ -1644,12 +1661,12 @@ function ConnectedSkillsLibrary({
1644
1661
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1645
1662
  ),
1646
1663
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1647
- chunkLC7HFDCV_cjs.SkillTile,
1664
+ chunkOTXCPTFE_cjs.SkillTile,
1648
1665
  {
1649
1666
  name: skill.title,
1650
1667
  testId: `skill-tile-${skill.slug}`,
1651
1668
  description: skill.description,
1652
- sourceLabel: skill.isShared ? `${chunkLC7HFDCV_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkLC7HFDCV_cjs.SKILL_SOURCE_LABELS[skill.source],
1669
+ sourceLabel: skill.isShared ? `${chunkOTXCPTFE_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkOTXCPTFE_cjs.SKILL_SOURCE_LABELS[skill.source],
1653
1670
  type: skill.type,
1654
1671
  icon,
1655
1672
  layout: view,
@@ -1684,7 +1701,7 @@ function ConnectedSkillsLibrary({
1684
1701
  }
1685
1702
  ),
1686
1703
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1687
- chunkLC7HFDCV_cjs.SkillGenerateForm,
1704
+ chunkOTXCPTFE_cjs.SkillGenerateForm,
1688
1705
  {
1689
1706
  icon,
1690
1707
  onGenerate: (desc) => {
@@ -1711,11 +1728,11 @@ function ConnectedSkillsLibrary({
1711
1728
  ),
1712
1729
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1713
1730
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1714
- chunkLC7HFDCV_cjs.SkillLibraryDetail,
1731
+ chunkOTXCPTFE_cjs.SkillLibraryDetail,
1715
1732
  {
1716
1733
  skill: current,
1717
1734
  icon,
1718
- instructions: current.docExtId ? currentText ? chunkLC7HFDCV_cjs.parseSkillFrontmatter(currentText, chunkLC7HFDCV_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1735
+ instructions: current.docExtId ? currentText ? chunkOTXCPTFE_cjs.parseSkillFrontmatter(currentText, chunkOTXCPTFE_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1719
1736
  isLoading: !!current.docExtId && textLoading,
1720
1737
  actions: {
1721
1738
  onRun: () => onRun(current.slug),
@@ -1750,7 +1767,7 @@ function SkillEditor({
1750
1767
  const [seeded, setSeeded] = react$1.useState(!isEditing);
1751
1768
  const [nameError, setNameError] = react$1.useState(null);
1752
1769
  if (isEditing && !seeded && text2 !== void 0) {
1753
- const parsed = chunkLC7HFDCV_cjs.parseSkillFrontmatter(text2, chunkLC7HFDCV_cjs.SKILL_MAIN_FILENAME);
1770
+ const parsed = chunkOTXCPTFE_cjs.parseSkillFrontmatter(text2, chunkOTXCPTFE_cjs.SKILL_MAIN_FILENAME);
1754
1771
  setDescription(parsed.description ?? "");
1755
1772
  setBody(parsed.content ?? "");
1756
1773
  setSeeded(true);
@@ -1764,15 +1781,15 @@ function SkillEditor({
1764
1781
  notify17("Add a short description.", "error");
1765
1782
  return;
1766
1783
  }
1767
- const slug = chunkLC7HFDCV_cjs.skillSlug(name);
1784
+ const slug = chunkOTXCPTFE_cjs.skillSlug(name);
1768
1785
  try {
1769
- await onSave(slug, chunkLC7HFDCV_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1786
+ await onSave(slug, chunkOTXCPTFE_cjs.serializeSkill({ name: slug, description, body }), isEditing);
1770
1787
  } catch (err) {
1771
1788
  notify17(errorText(err, "Could not save the skill"), "error");
1772
1789
  }
1773
1790
  };
1774
1791
  return /* @__PURE__ */ jsxRuntime.jsx(
1775
- chunkLC7HFDCV_cjs.SkillEditForm,
1792
+ chunkOTXCPTFE_cjs.SkillEditForm,
1776
1793
  {
1777
1794
  name,
1778
1795
  onNameChange: setName,
@@ -1811,7 +1828,7 @@ var DEFAULT_CONNECTED_SKILLS_BROWSER_LABELS = {
1811
1828
  function ConnectedSkillsBrowser({
1812
1829
  props,
1813
1830
  onClose: close,
1814
- builtins = chunkLC7HFDCV_cjs.BUILTIN_SKILLS,
1831
+ builtins = chunkOTXCPTFE_cjs.BUILTIN_SKILLS,
1815
1832
  renderEditor,
1816
1833
  labels
1817
1834
  }) {
@@ -1864,7 +1881,7 @@ function ConnectedSkillsBrowser({
1864
1881
  }
1865
1882
  ) }),
1866
1883
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
1867
- chunk5V7JWZQ4_cjs.ConnectedTaskComposer,
1884
+ chunkGQJQ75NA_cjs.ConnectedTaskComposer,
1868
1885
  {
1869
1886
  kind: "workflow",
1870
1887
  open: true,
@@ -1888,9 +1905,9 @@ function ConnectedAgentCreator({
1888
1905
  agent,
1889
1906
  initialName,
1890
1907
  onSaved,
1891
- capabilities = chunkLC7HFDCV_cjs.DEFAULT_AGENT_CAPABILITIES,
1892
- templates = chunkLC7HFDCV_cjs.DEFAULT_AGENT_TEMPLATES,
1893
- types = chunkLC7HFDCV_cjs.DEFAULT_AGENT_TYPES,
1908
+ capabilities = chunkOTXCPTFE_cjs.DEFAULT_AGENT_CAPABILITIES,
1909
+ templates = chunkOTXCPTFE_cjs.DEFAULT_AGENT_TEMPLATES,
1910
+ types = chunkOTXCPTFE_cjs.DEFAULT_AGENT_TYPES,
1894
1911
  canRevokeWorkspaces = false,
1895
1912
  labels
1896
1913
  }) {
@@ -1932,7 +1949,7 @@ function ConnectedAgentCreator({
1932
1949
  const initialValues = react$1.useMemo(
1933
1950
  () => ({
1934
1951
  name: agent?.given_name ?? initialName ?? "",
1935
- persona: isEdit ? chunkLC7HFDCV_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
1952
+ persona: isEdit ? chunkOTXCPTFE_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
1936
1953
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
1937
1954
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
1938
1955
  type: "builtin",
@@ -1951,7 +1968,7 @@ function ConnectedAgentCreator({
1951
1968
  try {
1952
1969
  let agentExtId = agent?.external_id ?? early?.id ?? "";
1953
1970
  if (!agentExtId) {
1954
- if (!chunkLC7HFDCV_cjs.isValidAgentName(values.name)) {
1971
+ if (!chunkOTXCPTFE_cjs.isValidAgentName(values.name)) {
1955
1972
  notify17("Give the agent a name first.", "error");
1956
1973
  return;
1957
1974
  }
@@ -1987,7 +2004,7 @@ function ConnectedAgentCreator({
1987
2004
  title: `agent-${name}`,
1988
2005
  sections: {
1989
2006
  Agents: {
1990
- PERSONA: chunkLC7HFDCV_cjs.composePersona(name, values.persona),
2007
+ PERSONA: chunkOTXCPTFE_cjs.composePersona(name, values.persona),
1991
2008
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
1992
2009
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
1993
2010
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2010,7 +2027,7 @@ function ConnectedAgentCreator({
2010
2027
  };
2011
2028
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2012
2029
  /* @__PURE__ */ jsxRuntime.jsx(
2013
- chunkLC7HFDCV_cjs.AgentCreator,
2030
+ chunkOTXCPTFE_cjs.AgentCreator,
2014
2031
  {
2015
2032
  open: ready,
2016
2033
  onOpenChange,
@@ -2026,11 +2043,11 @@ function ConnectedAgentCreator({
2026
2043
  ) : void 0,
2027
2044
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2028
2045
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2029
- chunkLC7HFDCV_cjs.AgentAvatarField,
2046
+ chunkOTXCPTFE_cjs.AgentAvatarField,
2030
2047
  {
2031
2048
  picture,
2032
2049
  isBusy: avatarBusy,
2033
- canGenerate: isEdit || chunkLC7HFDCV_cjs.isValidAgentName(values.name),
2050
+ canGenerate: isEdit || chunkOTXCPTFE_cjs.isValidAgentName(values.name),
2034
2051
  onGenerate: () => handleGenerateAvatar(values)
2035
2052
  }
2036
2053
  ),
@@ -2082,7 +2099,7 @@ function ConnectedAgentCreator({
2082
2099
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2083
2100
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2084
2101
  ] }),
2085
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2102
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2086
2103
  ]
2087
2104
  }
2088
2105
  ) })
@@ -2474,7 +2491,7 @@ function useMemoryCount(enabled) {
2474
2491
  }
2475
2492
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2476
2493
  const { notify: notify17, openConversation, openDocument } = chunk25AIWOR6_cjs.useBlocksEnvironment();
2477
- const people = chunk5V7JWZQ4_cjs.useTaskPeople();
2494
+ const people = chunkGQJQ75NA_cjs.useTaskPeople();
2478
2495
  const canEditShared = react.useCanEditShared();
2479
2496
  const isWorkspaceOwner = react.useIsWorkspaceOwner();
2480
2497
  const { data: workflows = [] } = react.useWorkflows({ live: true });
@@ -2500,7 +2517,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2500
2517
  }, [documents]);
2501
2518
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2502
2519
  /* @__PURE__ */ jsxRuntime.jsx(
2503
- chunkLC7HFDCV_cjs.TaskTable,
2520
+ chunkOTXCPTFE_cjs.TaskTable,
2504
2521
  {
2505
2522
  tasks,
2506
2523
  isLoading,
@@ -2527,7 +2544,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2527
2544
  }
2528
2545
  ),
2529
2546
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2530
- chunk5V7JWZQ4_cjs.ConnectedTaskActivityDialog,
2547
+ chunkGQJQ75NA_cjs.ConnectedTaskActivityDialog,
2531
2548
  {
2532
2549
  conversationId: activityFor.external_id,
2533
2550
  taskName: activityFor.title || l.untitledTask,
@@ -2543,7 +2560,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2543
2560
  const { notify: notify17, openConversation } = chunk25AIWOR6_cjs.useBlocksEnvironment();
2544
2561
  const { workspaceId, ensureWorkspaceOpen } = chunkXCZYMSDV_cjs.useConnectedWorkspace();
2545
2562
  const { data: skills = [] } = react.useSkills({ enabled: !!workspaceId, live: true });
2546
- const workflowTasks = chunk5V7JWZQ4_cjs.useWorkflowTasks();
2563
+ const workflowTasks = chunkGQJQ75NA_cjs.useWorkflowTasks();
2547
2564
  const launchable = react$1.useMemo(
2548
2565
  () => [
2549
2566
  ...workflows,
@@ -2566,7 +2583,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2566
2583
  [workflows, skills, l.skillFiles]
2567
2584
  );
2568
2585
  const launch = async ({ workflow, inputs, agentId }) => {
2569
- const values = chunkLC7HFDCV_cjs.defaultTaskComposerValues(launchable, {
2586
+ const values = chunkOTXCPTFE_cjs.defaultTaskComposerValues(launchable, {
2570
2587
  workflowId: workflow.id,
2571
2588
  assignee: "agent",
2572
2589
  inputs,
@@ -2587,7 +2604,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2587
2604
  }
2588
2605
  };
2589
2606
  return /* @__PURE__ */ jsxRuntime.jsx(
2590
- chunkUHP6AP6C_cjs.ConnectedWorkflowLauncher,
2607
+ chunk3YMV2F5F_cjs.ConnectedWorkflowLauncher,
2591
2608
  {
2592
2609
  workflows: launchable,
2593
2610
  onLaunch: launch,
@@ -2686,7 +2703,7 @@ function ConnectedAgentsPageScope(props) {
2686
2703
  children,
2687
2704
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2688
2705
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2689
- chunk5V7JWZQ4_cjs.ConnectedTaskComposer,
2706
+ chunkGQJQ75NA_cjs.ConnectedTaskComposer,
2690
2707
  {
2691
2708
  open: true,
2692
2709
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2708,7 +2725,7 @@ function AgentsGallery() {
2708
2725
  cardTestIds
2709
2726
  } = agentOptions;
2710
2727
  const { openConversation } = chunk25AIWOR6_cjs.useBlocksEnvironment();
2711
- const tasksByAgent = react$1.useMemo(() => chunkLC7HFDCV_cjs.groupAgentTasks(tasks), [tasks]);
2728
+ const tasksByAgent = react$1.useMemo(() => chunkOTXCPTFE_cjs.groupAgentTasks(tasks), [tasks]);
2712
2729
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2713
2730
  const { agents } = management;
2714
2731
  const cardDetails = (agent) => details.map(
@@ -2723,7 +2740,7 @@ function AgentsGallery() {
2723
2740
  ) : 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)
2724
2741
  );
2725
2742
  return /* @__PURE__ */ jsxRuntime.jsx(
2726
- chunkLC7HFDCV_cjs.AgentGallery,
2743
+ chunkOTXCPTFE_cjs.AgentGallery,
2727
2744
  {
2728
2745
  count: agents.length,
2729
2746
  onCreate: management.create,
@@ -2733,9 +2750,9 @@ function AgentsGallery() {
2733
2750
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2734
2751
  const running = agentTasks.filter((t) => t.in_progress);
2735
2752
  const watchConversationId = running[0]?.external_id ?? null;
2736
- const progress = agentTasks[0] ? chunkLC7HFDCV_cjs.goalProgress(agentTasks[0]) : null;
2753
+ const progress = agentTasks[0] ? chunkOTXCPTFE_cjs.goalProgress(agentTasks[0]) : null;
2737
2754
  return /* @__PURE__ */ jsxRuntime.jsx(
2738
- chunkLC7HFDCV_cjs.AgentCard,
2755
+ chunkOTXCPTFE_cjs.AgentCard,
2739
2756
  {
2740
2757
  name: displayName(agent),
2741
2758
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -2843,7 +2860,7 @@ function AgentsSectionBody({ id }) {
2843
2860
  ) });
2844
2861
  case "scheduled":
2845
2862
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
2846
- chunkUHP6AP6C_cjs.ConnectedWorkflowsTable,
2863
+ chunk3YMV2F5F_cjs.ConnectedWorkflowsTable,
2847
2864
  {
2848
2865
  filter: "scheduled",
2849
2866
  onEdit: (w) => openWorkflow?.(w.external_id),
@@ -3147,7 +3164,7 @@ function ConnectedTagTable({
3147
3164
  const fail2 = (fallback) => (e) => notify17(browser.refusalReason(e, fallback), "error");
3148
3165
  const snapshot2 = (data) => {
3149
3166
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3150
- const bytes = chunkUFGC77KR_cjs.tagTableDocx(data, {
3167
+ const bytes = chunkNOLUVCAJ_cjs.tagTableDocx(data, {
3151
3168
  title,
3152
3169
  nameOf: (id) => people.find((p) => p.value === id)?.label
3153
3170
  });
@@ -3156,7 +3173,7 @@ function ConnectedTagTable({
3156
3173
  return { blob: new Blob([bytes], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }), name };
3157
3174
  };
3158
3175
  return /* @__PURE__ */ jsxRuntime.jsx(
3159
- chunkUFGC77KR_cjs.TagTable,
3176
+ chunkNOLUVCAJ_cjs.TagTable,
3160
3177
  {
3161
3178
  ...props,
3162
3179
  table,
@@ -3237,7 +3254,7 @@ function DocTagPassages({ docId, tagId, label, docOf, testId }) {
3237
3254
  const doc = docOf(cited.doc_ext_id);
3238
3255
  const passages = ordered(cited);
3239
3256
  return /* @__PURE__ */ jsxRuntime.jsx(
3240
- chunkXD3M6ACK_cjs.FactSourceGroup,
3257
+ chunkW3MWEZYI_cjs.FactSourceGroup,
3241
3258
  {
3242
3259
  docId: cited.doc_ext_id,
3243
3260
  hasPassages: passages.length > 0,
@@ -3294,9 +3311,9 @@ function GlossaryExport({ labelId, nameOf }) {
3294
3311
  const narrowed = agreements.find((a) => a.id === narrowTo);
3295
3312
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
3296
3313
  const download = (format) => {
3297
- const entries = chunkUFGC77KR_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3298
- const blob = format === "docx" ? new Blob([chunkUFGC77KR_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkUFGC77KR_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3299
- documentTools.downloadBlob(blob, chunkUFGC77KR_cjs.glossaryFileName(title, format));
3314
+ const entries = chunkNOLUVCAJ_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
3315
+ const blob = format === "docx" ? new Blob([chunkNOLUVCAJ_cjs.glossaryDocx(entries, { title })], { type: chunkJIOHDVWH_cjs.DOCX_MIME_TYPE }) : new Blob([chunkNOLUVCAJ_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
3316
+ documentTools.downloadBlob(blob, chunkNOLUVCAJ_cjs.glossaryFileName(title, format));
3300
3317
  };
3301
3318
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
3302
3319
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3355,7 +3372,7 @@ function ConnectedTagForm({
3355
3372
  nameByKind = false
3356
3373
  }) {
3357
3374
  const isCreate = !tag;
3358
- const memberById = chunkCRSEWNDP_cjs.useMemberLookup();
3375
+ const memberById = chunkSLBHYIVZ_cjs.useMemberLookup();
3359
3376
  const creator = memberById(tag?.created_by_ext_id);
3360
3377
  const updater = memberById(tag?.updated_by_ext_id);
3361
3378
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -3434,19 +3451,19 @@ function ConnectedTagForm({
3434
3451
  metaLines.push({
3435
3452
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
3436
3453
  byLabel: "by",
3437
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkR5KLIQXI_cjs.DocumentUser, { user: creator }) : void 0
3454
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkF34I67NI_cjs.DocumentUser, { user: creator }) : void 0
3438
3455
  });
3439
3456
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
3440
3457
  metaLines.push({
3441
3458
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
3442
3459
  byLabel: "by",
3443
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkR5KLIQXI_cjs.DocumentUser, { user: updater }) : void 0
3460
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkF34I67NI_cjs.DocumentUser, { user: updater }) : void 0
3444
3461
  });
3445
3462
  }
3446
3463
  }
3447
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.TagFormRoot, { children: [
3464
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.TagFormRoot, { children: [
3448
3465
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
3449
- chunkICHTDJYH_cjs.TagFormNameField,
3466
+ chunkWXFPG2GS_cjs.TagFormNameField,
3450
3467
  {
3451
3468
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
3452
3469
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -3456,7 +3473,7 @@ function ConnectedTagForm({
3456
3473
  }
3457
3474
  ),
3458
3475
  kinds.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
3459
- chunkICHTDJYH_cjs.TagFormSelectField,
3476
+ chunkWXFPG2GS_cjs.TagFormSelectField,
3460
3477
  {
3461
3478
  label: "Kind",
3462
3479
  testId: "inline-tag-form-kind-field",
@@ -3471,7 +3488,7 @@ function ConnectedTagForm({
3471
3488
  }
3472
3489
  ),
3473
3490
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
3474
- chunkICHTDJYH_cjs.TagFormSelectField,
3491
+ chunkWXFPG2GS_cjs.TagFormSelectField,
3475
3492
  {
3476
3493
  label: group === "annotation" ? "Value type" : "Field Type",
3477
3494
  testId: "inline-tag-form-type-field",
@@ -3483,7 +3500,7 @@ function ConnectedTagForm({
3483
3500
  }
3484
3501
  ),
3485
3502
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
3486
- chunkICHTDJYH_cjs.TagFormSelectField,
3503
+ chunkWXFPG2GS_cjs.TagFormSelectField,
3487
3504
  {
3488
3505
  label: "Nested Under",
3489
3506
  value: parentId,
@@ -3505,14 +3522,14 @@ function ConnectedTagForm({
3505
3522
  ]
3506
3523
  }
3507
3524
  ),
3508
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
3525
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
3509
3526
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
3510
3527
  " ",
3511
3528
  browser.TAG_NESTING_MAX_DEPTH,
3512
3529
  " levels deep."
3513
3530
  ] }),
3514
3531
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
3515
- chunkICHTDJYH_cjs.TagFormOptionsEditor,
3532
+ chunkWXFPG2GS_cjs.TagFormOptionsEditor,
3516
3533
  {
3517
3534
  label: "Options",
3518
3535
  options: options2,
@@ -3525,7 +3542,7 @@ function ConnectedTagForm({
3525
3542
  }
3526
3543
  ),
3527
3544
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
3528
- chunkICHTDJYH_cjs.TagFormInstructionField,
3545
+ chunkWXFPG2GS_cjs.TagFormInstructionField,
3529
3546
  {
3530
3547
  label: "AI Instruction",
3531
3548
  optionalLabel: "(optional)",
@@ -3535,12 +3552,12 @@ function ConnectedTagForm({
3535
3552
  onChange: setInstruction
3536
3553
  }
3537
3554
  ),
3538
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.TagFormMeta, { lines: metaLines }),
3555
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.TagFormMeta, { lines: metaLines }),
3539
3556
  /* @__PURE__ */ jsxRuntime.jsx(
3540
- chunkICHTDJYH_cjs.TagFormFooter,
3557
+ chunkWXFPG2GS_cjs.TagFormFooter,
3541
3558
  {
3542
3559
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
3543
- chunkICHTDJYH_cjs.TagFormSharedToggle,
3560
+ chunkWXFPG2GS_cjs.TagFormSharedToggle,
3544
3561
  {
3545
3562
  label: "Shared with workspace",
3546
3563
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -3781,7 +3798,7 @@ function KindSection({
3781
3798
  {
3782
3799
  testId: `tags-kind-${kind}`,
3783
3800
  title: ui.tagKindTitle(kind, { plural: true }),
3784
- description: chunkUFGC77KR_cjs.tagKindDescription(kind),
3801
+ description: chunkNOLUVCAJ_cjs.tagKindDescription(kind),
3785
3802
  children: [
3786
3803
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
3787
3804
  "p",
@@ -3791,9 +3808,9 @@ function KindSection({
3791
3808
  children: [
3792
3809
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
3793
3810
  "Extracting ",
3794
- chunkUFGC77KR_cjs.entitiesPhrase().toLowerCase(),
3811
+ chunkNOLUVCAJ_cjs.entitiesPhrase().toLowerCase(),
3795
3812
  " from ",
3796
- chunkUFGC77KR_cjs.documentCount(extractingCount),
3813
+ chunkNOLUVCAJ_cjs.documentCount(extractingCount),
3797
3814
  "\u2026"
3798
3815
  ]
3799
3816
  }
@@ -3811,7 +3828,7 @@ function KindSection({
3811
3828
  onOpenTag: ctx.onOpenTag,
3812
3829
  onOpenRow: ctx.onOpenTag,
3813
3830
  onOpenTaggedItems: ctx.onOpenTaggedItems,
3814
- labels: chunkUFGC77KR_cjs.tagTableLabels(kind),
3831
+ labels: chunkNOLUVCAJ_cjs.tagTableLabels(kind),
3815
3832
  testId: `tags-table-${kind}`
3816
3833
  }
3817
3834
  )
@@ -3921,15 +3938,15 @@ function TagSection({
3921
3938
  onOpenTag: ctx.onOpenTag,
3922
3939
  onOpenRow: ctx.onOpenTag,
3923
3940
  onOpenTaggedItems: ctx.onOpenTaggedItems,
3924
- labels: chunkUFGC77KR_cjs.tagTableLabels(tag.kind),
3941
+ labels: chunkNOLUVCAJ_cjs.tagTableLabels(tag.kind),
3925
3942
  testId: "tags-rows"
3926
3943
  }
3927
3944
  ),
3928
3945
  /* @__PURE__ */ jsxRuntime.jsx(
3929
- chunkUFGC77KR_cjs.TagDetail,
3946
+ chunkNOLUVCAJ_cjs.TagDetail,
3930
3947
  {
3931
3948
  onOpenTaggedItems: ctx.onOpenTaggedItems,
3932
- fieldLabels: chunkUFGC77KR_cjs.tagTableLabels(tag.kind),
3949
+ fieldLabels: chunkNOLUVCAJ_cjs.tagTableLabels(tag.kind),
3933
3950
  row: ctx.onOpenTaggedItems ? detailRow : detailRow && narrowTagRow(detailRow, ctx.filter.matches),
3934
3951
  fields: schema.data?.fields ?? [],
3935
3952
  isLoading: detail.isLoading,
@@ -3940,10 +3957,10 @@ function TagSection({
3940
3957
  onOpenDocument: (id) => openDocument(id),
3941
3958
  onOpenFact: ctx.onOpenFact,
3942
3959
  onOpenThread: (id) => openConversation(id),
3943
- noteLabel: chunkUFGC77KR_cjs.tagNoteLabel(tag.kind),
3960
+ noteLabel: chunkNOLUVCAJ_cjs.tagNoteLabel(tag.kind),
3944
3961
  noteIsValue: tag.kind === "annotation",
3945
3962
  renderPassages: (d, label) => renderPassages(d.doc_ext_id, label),
3946
- labels: chunkUFGC77KR_cjs.tagDetailLabels(),
3963
+ labels: chunkNOLUVCAJ_cjs.tagDetailLabels(),
3947
3964
  testId: "tags-detail"
3948
3965
  }
3949
3966
  )
@@ -4001,10 +4018,10 @@ function ConnectedTagsPage({
4001
4018
  [combination, documents, facts, threads]
4002
4019
  );
4003
4020
  const tag = tagId ? tags.find((t) => t.external_id === tagId) : void 0;
4004
- const openTag = (id) => {
4005
- const t = tags.find((x) => x.external_id === id);
4006
- if (!t) return;
4007
- setView(t.kind);
4021
+ const openTag = (id, kind) => {
4022
+ const k = kind ?? tags.find((x) => x.external_id === id)?.kind;
4023
+ if (!k) return;
4024
+ setView(k);
4008
4025
  setTagId(id);
4009
4026
  };
4010
4027
  const chooseView = (next) => {
@@ -4014,7 +4031,7 @@ function ConnectedTagsPage({
4014
4031
  const onDelete = async (t) => {
4015
4032
  const nested = browser.getChildTags([...tags], t.external_id);
4016
4033
  const uses = browser.tagUseCount(t);
4017
- const n2 = chunkUFGC77KR_cjs.tagsPageNouns();
4034
+ const n2 = chunkNOLUVCAJ_cjs.tagsPageNouns();
4018
4035
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
4019
4036
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
4020
4037
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -4035,11 +4052,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4035
4052
  try {
4036
4053
  await extract.mutateAsync(docIds);
4037
4054
  notify17(
4038
- `Extracting ${chunkUFGC77KR_cjs.entitiesPhrase().toLowerCase()} from ${chunkUFGC77KR_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4055
+ `Extracting ${chunkNOLUVCAJ_cjs.entitiesPhrase().toLowerCase()} from ${chunkNOLUVCAJ_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
4039
4056
  "info"
4040
4057
  );
4041
4058
  } catch (error) {
4042
- notify17(browser.refusalReason(error, `Could not extract ${chunkUFGC77KR_cjs.entitiesPhrase().toLowerCase()}`), "error");
4059
+ notify17(browser.refusalReason(error, `Could not extract ${chunkNOLUVCAJ_cjs.entitiesPhrase().toLowerCase()}`), "error");
4043
4060
  throw error;
4044
4061
  }
4045
4062
  };
@@ -4054,10 +4071,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4054
4071
  onOpenFact,
4055
4072
  onOpenTaggedItems
4056
4073
  };
4057
- const n = chunkUFGC77KR_cjs.tagsPageNouns();
4074
+ const n = chunkNOLUVCAJ_cjs.tagsPageNouns();
4058
4075
  const action = view === "person" || view === "organisation" ? {
4059
4076
  label: "Extract",
4060
- title: `Extract ${chunkUFGC77KR_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4077
+ title: `Extract ${chunkNOLUVCAJ_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
4061
4078
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
4062
4079
  run: () => setExtracting(true),
4063
4080
  testId: "tags-extract-entities"
@@ -4107,7 +4124,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4107
4124
  onTabChange: () => {
4108
4125
  },
4109
4126
  variant: "underline",
4110
- firstTabContent: tag ? onOpenTaggedItems ? void 0 : tagFilter : /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4127
+ firstTabContent: tag ? onOpenTaggedItems ? void 0 : tagFilter : /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
4111
4128
  chunk6UZC4XVV_cjs.FilterInput,
4112
4129
  {
4113
4130
  value: filterText,
@@ -4129,7 +4146,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4129
4146
  filter: tagFilter
4130
4147
  }
4131
4148
  ) }),
4132
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4149
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
4133
4150
  chunkSNUBQMIS_cjs.ViewToggle,
4134
4151
  {
4135
4152
  options: browser.TAG_KINDS.map((k) => ({
@@ -4232,7 +4249,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
4232
4249
  }
4233
4250
  ),
4234
4251
  /* @__PURE__ */ jsxRuntime.jsx(
4235
- chunkUFGC77KR_cjs.ExtractEntitiesDialog,
4252
+ chunkNOLUVCAJ_cjs.ExtractEntitiesDialog,
4236
4253
  {
4237
4254
  open: extracting,
4238
4255
  onOpenChange: setExtracting,
@@ -4281,7 +4298,7 @@ function ConnectedFactsSmartSearch({
4281
4298
  const runSearch = () => search().catch(() => notify17(`Could not search ${factsWord}. Please try again.`, "error"));
4282
4299
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "facts-smart-search", children: [
4283
4300
  /* @__PURE__ */ jsxRuntime.jsx(
4284
- chunkXD3M6ACK_cjs.FactSearchBar,
4301
+ chunkW3MWEZYI_cjs.FactSearchBar,
4285
4302
  {
4286
4303
  query,
4287
4304
  onQueryChange: setQuery,
@@ -4290,7 +4307,7 @@ function ConnectedFactsSmartSearch({
4290
4307
  isSearching
4291
4308
  }
4292
4309
  ),
4293
- !isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkXD3M6ACK_cjs.FactSearchTotals, { children: [
4310
+ !isSearching && hits !== null && hits.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkW3MWEZYI_cjs.FactSearchTotals, { children: [
4294
4311
  hits.length.toLocaleString(),
4295
4312
  " ",
4296
4313
  hits.length === 1 ? factWord : factsWord,
@@ -4298,18 +4315,18 @@ function ConnectedFactsSmartSearch({
4298
4315
  lastQuery,
4299
4316
  "\u201D"
4300
4317
  ] }),
4301
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkXD3M6ACK_cjs.FactSearchPending, { children: [
4318
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-4 pb-3", children: isSearching ? /* @__PURE__ */ jsxRuntime.jsxs(chunkW3MWEZYI_cjs.FactSearchPending, { children: [
4302
4319
  "Searching ",
4303
4320
  factsWord,
4304
4321
  "\u2026"
4305
- ] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkRHLVPCCT_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkXD3M6ACK_cjs.FactSearchNoMatches, { children: [
4322
+ ] }) : hits === null ? /* @__PURE__ */ jsxRuntime.jsx(chunkRHLVPCCT_cjs.SearchEmptyState, { nouns, count: allFacts.length }) : hits.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkW3MWEZYI_cjs.FactSearchNoMatches, { children: [
4306
4323
  "No ",
4307
4324
  factsWord,
4308
4325
  " matched \u201C",
4309
4326
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: lastQuery }),
4310
4327
  "\u201D."
4311
4328
  ] }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2", children: hits.map((h, i) => /* @__PURE__ */ jsxRuntime.jsx(
4312
- chunkXD3M6ACK_cjs.FactSearchResult,
4329
+ chunkW3MWEZYI_cjs.FactSearchResult,
4313
4330
  {
4314
4331
  id: h.external_id,
4315
4332
  rank: i + 1,
@@ -4409,7 +4426,7 @@ function FactSourcesPopover({
4409
4426
  const olderVersion = refOf(docId) !== docId ? refOf(docId).split("@v")[1] : null;
4410
4427
  const cited = passagesOf(docId);
4411
4428
  return /* @__PURE__ */ jsxRuntime.jsx(
4412
- chunkXD3M6ACK_cjs.FactSourceGroup,
4429
+ chunkW3MWEZYI_cjs.FactSourceGroup,
4413
4430
  {
4414
4431
  docId,
4415
4432
  isViewing,
@@ -4498,7 +4515,7 @@ function FactMarkdownEditor({
4498
4515
  const editorRef = react$1.useRef(null);
4499
4516
  react$1.useEffect(() => {
4500
4517
  if (!editorRef.current) return;
4501
- return chunkXD3M6ACK_cjs.enableFactTableColumnResize(editorRef.current);
4518
+ return chunkW3MWEZYI_cjs.enableFactTableColumnResize(editorRef.current);
4502
4519
  }, []);
4503
4520
  react$1.useEffect(() => {
4504
4521
  if (!editing) return;
@@ -5100,8 +5117,8 @@ function useFactFilters(notes, view, chat) {
5100
5117
  const makeTagPicker = react$1.useCallback(
5101
5118
  (selected, setSelected, opts) => {
5102
5119
  const applied = new Set(selected);
5103
- return /* @__PURE__ */ jsxRuntime.jsx(chunkXD3M6ACK_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
5104
- chunkICHTDJYH_cjs.FieldLabelsSelect,
5120
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkW3MWEZYI_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
5121
+ chunkWXFPG2GS_cjs.FieldLabelsSelect,
5105
5122
  {
5106
5123
  options: labelOptions,
5107
5124
  appliedIds: applied,
@@ -5292,14 +5309,14 @@ function useFactSelection(notes, gridApiRef, setFactTags, chat) {
5292
5309
  }
5293
5310
  function renderSourcesCell(params) {
5294
5311
  const fact = params.data;
5295
- const count2 = chunkXD3M6ACK_cjs.sourceDocCount(fact);
5312
+ const count2 = chunkW3MWEZYI_cjs.sourceDocCount(fact);
5296
5313
  if (!fact || count2 === 0) return /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground/40", children: "\u2014" });
5297
5314
  return /* @__PURE__ */ jsxRuntime.jsxs(
5298
5315
  "button",
5299
5316
  {
5300
5317
  type: "button",
5301
5318
  onClick: () => params.context?.openEdit?.(fact),
5302
- title: chunkXD3M6ACK_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
5319
+ title: chunkW3MWEZYI_cjs.DEFAULT_FACT_COLUMN_LABELS.sourcedFrom(count2),
5303
5320
  "data-testid": `facts-grid-sources-${fact.external_id}`,
5304
5321
  className: "inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-foreground",
5305
5322
  children: [
@@ -5328,7 +5345,7 @@ var FactHeader = react$1.memo(function FactHeader2({
5328
5345
  if (params.enableSorting) params.progressSort(e.shiftKey);
5329
5346
  },
5330
5347
  children: [
5331
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilterButton, { params, colId }),
5348
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilterButton, { params, colId }),
5332
5349
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
5333
5350
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
5334
5351
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -5356,14 +5373,14 @@ function createFactPageColumns({
5356
5373
  onToggleConfirmed,
5357
5374
  onToggleShared
5358
5375
  }) {
5359
- const columns = chunkXD3M6ACK_cjs.createFactColumns({
5376
+ const columns = chunkW3MWEZYI_cjs.createFactColumns({
5360
5377
  onToggleInChat,
5361
5378
  isInChat,
5362
5379
  renderHeader: (params, colId) => /* @__PURE__ */ jsxRuntime.jsx(FactHeader, { params, colId }),
5363
5380
  renderRowActions: (fact, params) => {
5364
5381
  const ctx = params.context;
5365
5382
  return /* @__PURE__ */ jsxRuntime.jsx(
5366
- chunkXD3M6ACK_cjs.FactRowActions,
5383
+ chunkW3MWEZYI_cjs.FactRowActions,
5367
5384
  {
5368
5385
  onEdit: () => ctx?.openEdit?.(fact),
5369
5386
  canEdit: ctx?.canRewrite?.(fact) !== false,
@@ -5493,7 +5510,7 @@ function useFactsGrid({
5493
5510
  );
5494
5511
  const renderFactTags = react$1.useCallback(
5495
5512
  (fact, rowHeight) => /* @__PURE__ */ jsxRuntime.jsx(
5496
- chunkXD3M6ACK_cjs.FactLabelsCell,
5513
+ chunkW3MWEZYI_cjs.FactLabelsCell,
5497
5514
  {
5498
5515
  options: labelOptions,
5499
5516
  selectedIds: fact.tags.map((t) => t.tag_ext_id),
@@ -5592,7 +5609,7 @@ function useFactsGrid({
5592
5609
  var DEFAULT_TIMELINE_LABEL_WIDTH = 240;
5593
5610
  function useFactsPageView() {
5594
5611
  const [view, setView] = react$1.useState("table");
5595
- const [rowHeight, setRowHeight] = react$1.useState(chunkICHTDJYH_cjs.ROW_MIN);
5612
+ const [rowHeight, setRowHeight] = react$1.useState(chunkWXFPG2GS_cjs.ROW_MIN);
5596
5613
  const [labelWidth, setLabelWidth] = react$1.useState(DEFAULT_TIMELINE_LABEL_WIDTH);
5597
5614
  const [zoom, setZoom] = react$1.useState(1);
5598
5615
  const [filterText, setFilterText] = react$1.useState("");
@@ -5956,7 +5973,7 @@ function ConnectedExportPanel({
5956
5973
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5957
5974
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5958
5975
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5959
- chunkICHTDJYH_cjs.TransferProgressView,
5976
+ chunkWXFPG2GS_cjs.TransferProgressView,
5960
5977
  {
5961
5978
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5962
5979
  processed: job.processed ?? 0,
@@ -5969,7 +5986,7 @@ function ConnectedExportPanel({
5969
5986
  ),
5970
5987
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5971
5988
  react.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5972
- chunkICHTDJYH_cjs.TransferResumeBanner,
5989
+ chunkWXFPG2GS_cjs.TransferResumeBanner,
5973
5990
  {
5974
5991
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5975
5992
  onResume: () => handleResume(job),
@@ -5977,7 +5994,7 @@ function ConnectedExportPanel({
5977
5994
  }
5978
5995
  ),
5979
5996
  /* @__PURE__ */ jsxRuntime.jsx(
5980
- chunkICHTDJYH_cjs.ExportResultsReport,
5997
+ chunkWXFPG2GS_cjs.ExportResultsReport,
5981
5998
  {
5982
5999
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural(
5983
6000
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -5990,7 +6007,7 @@ function ConnectedExportPanel({
5990
6007
  ] }),
5991
6008
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5992
6009
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
5993
- chunkICHTDJYH_cjs.TransferResumeBanner,
6010
+ chunkWXFPG2GS_cjs.TransferResumeBanner,
5994
6011
  {
5995
6012
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
5996
6013
  onResume: () => handleResume(resumable),
@@ -5998,7 +6015,7 @@ function ConnectedExportPanel({
5998
6015
  }
5999
6016
  ),
6000
6017
  /* @__PURE__ */ jsxRuntime.jsx(
6001
- chunkICHTDJYH_cjs.TransferScopeChooser,
6018
+ chunkWXFPG2GS_cjs.TransferScopeChooser,
6002
6019
  {
6003
6020
  scope: scopeChoice,
6004
6021
  onScopeChange: setScopeChoice,
@@ -6009,7 +6026,7 @@ function ConnectedExportPanel({
6009
6026
  }
6010
6027
  ),
6011
6028
  /* @__PURE__ */ jsxRuntime.jsx(
6012
- chunkICHTDJYH_cjs.TransferKindsPicker,
6029
+ chunkWXFPG2GS_cjs.TransferKindsPicker,
6013
6030
  {
6014
6031
  options: ALL_KINDS.map((kind) => ({
6015
6032
  kind,
@@ -6022,9 +6039,9 @@ function ConnectedExportPanel({
6022
6039
  )
6023
6040
  }
6024
6041
  ),
6025
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6042
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6026
6043
  /* @__PURE__ */ jsxRuntime.jsx(
6027
- chunkICHTDJYH_cjs.ExportMethodChooser,
6044
+ chunkWXFPG2GS_cjs.ExportMethodChooser,
6028
6045
  {
6029
6046
  mode,
6030
6047
  onModeChange: setMode,
@@ -6036,17 +6053,17 @@ function ConnectedExportPanel({
6036
6053
  ),
6037
6054
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6038
6055
  /* @__PURE__ */ jsxRuntime.jsx(
6039
- chunkICHTDJYH_cjs.ExportWorkspacePicker,
6056
+ chunkWXFPG2GS_cjs.ExportWorkspacePicker,
6040
6057
  {
6041
6058
  workspaces: workspaceOptions,
6042
6059
  selectedId: targetId,
6043
6060
  onSelect: setTargetId
6044
6061
  }
6045
6062
  ),
6046
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6063
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6047
6064
  ] }),
6048
6065
  /* @__PURE__ */ jsxRuntime.jsx(
6049
- chunkICHTDJYH_cjs.TransferPlanSummary,
6066
+ chunkWXFPG2GS_cjs.TransferPlanSummary,
6050
6067
  {
6051
6068
  lines: summary.lines,
6052
6069
  warnings: summary.warnings,
@@ -6063,7 +6080,7 @@ function ConnectedExportPanel({
6063
6080
  ] })
6064
6081
  ] }),
6065
6082
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
6066
- chunkICHTDJYH_cjs.ExportFooter,
6083
+ chunkWXFPG2GS_cjs.ExportFooter,
6067
6084
  {
6068
6085
  onCancel: onClose,
6069
6086
  onSubmit: handleSubmit,
@@ -6104,7 +6121,7 @@ function OpenExportDialog({
6104
6121
  children: [
6105
6122
  /* @__PURE__ */ jsxRuntime.jsxs(chunkULWRNGGE_cjs.ModalHeader, { children: [
6106
6123
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
6107
- chunkICHTDJYH_cjs.ExportModalTitle,
6124
+ chunkWXFPG2GS_cjs.ExportModalTitle,
6108
6125
  {
6109
6126
  workspace: workspace ? {
6110
6127
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6271,7 +6288,7 @@ function ConnectedFactsPage({
6271
6288
  setView(request.view === "list" ? "table" : request.view);
6272
6289
  onRequestHandled?.("view");
6273
6290
  }, [request?.view]);
6274
- const factsRowHeight = pageView.rowHeight === chunkICHTDJYH_cjs.ROW_MIN ? chunkICHTDJYH_cjs.ROW_MIN : chunkICHTDJYH_cjs.rowHeightForLines(chunkICHTDJYH_cjs.linesForRowHeight(pageView.rowHeight));
6291
+ const factsRowHeight = pageView.rowHeight === chunkWXFPG2GS_cjs.ROW_MIN ? chunkWXFPG2GS_cjs.ROW_MIN : chunkWXFPG2GS_cjs.rowHeightForLines(chunkWXFPG2GS_cjs.linesForRowHeight(pageView.rowHeight));
6275
6292
  const [isExportOpen, setIsExportOpen] = react$1.useState(false);
6276
6293
  const [filterOpen, setFilterOpen] = react$1.useState(false);
6277
6294
  const [factSection, setFactSection] = react$1.useState(null);
@@ -6295,7 +6312,7 @@ function ConnectedFactsPage({
6295
6312
  };
6296
6313
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: setFactSection, className: "relative flex h-full flex-col", "data-testid": "facts-page", children: [
6297
6314
  /* @__PURE__ */ jsxRuntime.jsx(
6298
- chunkXD3M6ACK_cjs.FactsToolbar,
6315
+ chunkW3MWEZYI_cjs.FactsToolbar,
6299
6316
  {
6300
6317
  count: filteredNotes.length,
6301
6318
  hasActiveFilters: filters.hasActiveFilters,
@@ -6324,7 +6341,7 @@ function ConnectedFactsPage({
6324
6341
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
6325
6342
  navSlotRef: setNavSlot,
6326
6343
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
6327
- chunkUFGC77KR_cjs.GridRowNavigator,
6344
+ chunkNOLUVCAJ_cjs.GridRowNavigator,
6328
6345
  {
6329
6346
  gridApi,
6330
6347
  selectedId: editingId,
@@ -6335,9 +6352,9 @@ function ConnectedFactsPage({
6335
6352
  ) : null,
6336
6353
  showToolbarRow: view !== "smart_search",
6337
6354
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6338
- view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkXD3M6ACK_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
6355
+ view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkW3MWEZYI_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
6339
6356
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
6340
- chunkICHTDJYH_cjs.RowDensityControl,
6357
+ chunkWXFPG2GS_cjs.RowDensityControl,
6341
6358
  {
6342
6359
  rowHeight: factsRowHeight,
6343
6360
  onRowHeightChange: pageView.setRowHeight,
@@ -6373,7 +6390,7 @@ function ConnectedFactsPage({
6373
6390
  }
6374
6391
  ) }),
6375
6392
  /* @__PURE__ */ jsxRuntime.jsx(
6376
- chunkXD3M6ACK_cjs.FactComposer,
6393
+ chunkW3MWEZYI_cjs.FactComposer,
6377
6394
  {
6378
6395
  isOpen: composing,
6379
6396
  isEditing: !!editingId,
@@ -6406,7 +6423,7 @@ function ConnectedFactsPage({
6406
6423
  reserveSourcesSpace: view === "gantt" || view === "calendar",
6407
6424
  citationContainer: factSection,
6408
6425
  renderDocumentPicker: (onSelect, selectedIds, onOpen, sourcesToggle, sourcesOpen) => /* @__PURE__ */ jsxRuntime.jsx(
6409
- chunkXD3M6ACK_cjs.FactSourcesRow,
6426
+ chunkW3MWEZYI_cjs.FactSourcesRow,
6410
6427
  {
6411
6428
  toggle: sourcesToggle,
6412
6429
  picker: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6452,7 +6469,7 @@ function ConnectedFactsPage({
6452
6469
  }
6453
6470
  ),
6454
6471
  dateInput: /* @__PURE__ */ jsxRuntime.jsx(
6455
- chunkXD3M6ACK_cjs.FactDateInput,
6472
+ chunkW3MWEZYI_cjs.FactDateInput,
6456
6473
  {
6457
6474
  value: composer.draftDateFields,
6458
6475
  onChange: composer.setDraftDateFields,
@@ -6462,7 +6479,7 @@ function ConnectedFactsPage({
6462
6479
  }
6463
6480
  ),
6464
6481
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "scrollbar-subtle flex-1 overflow-y-auto pb-2", children: [
6465
- isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkXD3M6ACK_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkXD3M6ACK_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
6482
+ isLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkW3MWEZYI_cjs.FactsLoading, {}) : isError ? /* @__PURE__ */ jsxRuntime.jsx(chunkW3MWEZYI_cjs.FactsLoadError, { onRetry: () => refetch() }) : view === "smart_search" ? (
6466
6483
  // Searches facts only (never documents). Kept before the empty-state guard so the
6467
6484
  // search UI is reachable even in an empty workspace.
6468
6485
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -6475,7 +6492,7 @@ function ConnectedFactsPage({
6475
6492
  )
6476
6493
  ) : notes.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-full flex-col items-center justify-center", children: [
6477
6494
  /* @__PURE__ */ jsxRuntime.jsx(
6478
- chunkXD3M6ACK_cjs.FactsEmptyState,
6495
+ chunkW3MWEZYI_cjs.FactsEmptyState,
6479
6496
  {
6480
6497
  onUseExample: (text2) => {
6481
6498
  composer.setDraft(text2);
@@ -6486,7 +6503,7 @@ function ConnectedFactsPage({
6486
6503
  ),
6487
6504
  emptyStateExtra
6488
6505
  ] }) : view === "calendar" ? /* @__PURE__ */ jsxRuntime.jsx(
6489
- chunkXD3M6ACK_cjs.FactsCalendar,
6506
+ chunkW3MWEZYI_cjs.FactsCalendar,
6490
6507
  {
6491
6508
  facts: filteredNotes,
6492
6509
  onSelect: (n) => openEditIfAllowed(n),
@@ -6495,7 +6512,7 @@ function ConnectedFactsPage({
6495
6512
  navigatorTotal: filteredNotes.length
6496
6513
  }
6497
6514
  ) : view === "gantt" ? /* @__PURE__ */ jsxRuntime.jsx(
6498
- chunkXD3M6ACK_cjs.FactsGanttPane,
6515
+ chunkW3MWEZYI_cjs.FactsGanttPane,
6499
6516
  {
6500
6517
  items: ganttItems,
6501
6518
  labelWidth: pageView.labelWidth,
@@ -6545,7 +6562,7 @@ function ConnectedFactsPage({
6545
6562
  )
6546
6563
  ] }),
6547
6564
  selectable && notes.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
6548
- chunkXD3M6ACK_cjs.FactsBulkBar,
6565
+ chunkW3MWEZYI_cjs.FactsBulkBar,
6549
6566
  {
6550
6567
  count: selection.selectedFacts.length,
6551
6568
  onClear: selection.clearSelection,
@@ -6598,7 +6615,7 @@ function useConnectedShellWorkspaces(options2 = {}) {
6598
6615
  function ConnectedSsoDisconnect() {
6599
6616
  const { client } = react.useAccountClient();
6600
6617
  const { data: profile } = react.useProfile();
6601
- const auth = chunkOAEJME5Q_cjs.useAuthPages();
6618
+ const auth = chunkDBGTR7OK_cjs.useAuthPages();
6602
6619
  const { notify: notify17 } = chunk25AIWOR6_cjs.useBlocksEnvironment();
6603
6620
  const [open, setOpen] = react$1.useState(false);
6604
6621
  const [step, setStep] = react$1.useState("email");
@@ -6777,15 +6794,15 @@ function ConnectedAccountSettings({
6777
6794
  }) {
6778
6795
  const [logoutOpen, setLogoutOpen] = react$1.useState(false);
6779
6796
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
6780
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
6797
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
6781
6798
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
6782
6799
  afterProfile,
6783
6800
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
6784
6801
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
6785
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedSecuritySection, { children: securityRows }),
6802
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedSecuritySection, { children: securityRows }),
6786
6803
  moreSettings,
6787
6804
  /* @__PURE__ */ jsxRuntime.jsx(
6788
- chunkOAEJME5Q_cjs.ConnectedIdentityVerification,
6805
+ chunkDBGTR7OK_cjs.ConnectedIdentityVerification,
6789
6806
  {
6790
6807
  collapsible: true,
6791
6808
  onManageBilling,
@@ -6795,7 +6812,7 @@ function ConnectedAccountSettings({
6795
6812
  ] }),
6796
6813
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
6797
6814
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
6798
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedSessionsRow, { renderSessionIcon }),
6815
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedSessionsRow, { renderSessionIcon }),
6799
6816
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
6800
6817
  ui.Button,
6801
6818
  {
@@ -6812,9 +6829,9 @@ function ConnectedAccountSettings({
6812
6829
  }
6813
6830
  ) })
6814
6831
  ] }) }),
6815
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
6832
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
6816
6833
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
6817
- chunkOAEJME5Q_cjs.ConnectedLogoutDialog,
6834
+ chunkDBGTR7OK_cjs.ConnectedLogoutDialog,
6818
6835
  {
6819
6836
  open: logoutOpen,
6820
6837
  onClose: () => setLogoutOpen(false),
@@ -7122,7 +7139,7 @@ function ConnectedPrivacySettings({
7122
7139
  }
7123
7140
  )
7124
7141
  ] }) }),
7125
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedNotificationPreferences, {})
7142
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedNotificationPreferences, {})
7126
7143
  ] });
7127
7144
  }
7128
7145
  var PROVIDER_NAMES = {
@@ -9612,7 +9629,7 @@ function ConnectedPeopleMultiSelect({
9612
9629
  identity: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
9613
9630
  selected.user ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
9614
9631
  /* @__PURE__ */ jsxRuntime.jsx(
9615
- chunkOAEJME5Q_cjs.ConnectedUserEntity,
9632
+ chunkDBGTR7OK_cjs.ConnectedUserEntity,
9616
9633
  {
9617
9634
  user: selected.user,
9618
9635
  size: "xs",
@@ -9640,7 +9657,7 @@ function ConnectedPeopleMultiSelect({
9640
9657
  }
9641
9658
  ),
9642
9659
  person.user ? /* @__PURE__ */ jsxRuntime.jsx(
9643
- chunkOAEJME5Q_cjs.ConnectedUserEntity,
9660
+ chunkDBGTR7OK_cjs.ConnectedUserEntity,
9644
9661
  {
9645
9662
  user: person.user,
9646
9663
  size: "xs",
@@ -9913,13 +9930,13 @@ function ConnectedWorkspaceSettings({
9913
9930
  const [membersExpanded, setMembersExpanded] = react$1.useState(false);
9914
9931
  const [shareOpen, setShareOpen] = react$1.useState(false);
9915
9932
  if (!workspace) {
9916
- return /* @__PURE__ */ jsxRuntime.jsx(chunkFKFGRGKF_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
9933
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkFKFGRGKF_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
9917
9934
  }
9918
9935
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
9919
9936
  /* @__PURE__ */ jsxRuntime.jsxs(chunkFKFGRGKF_cjs.WorkspacePageFrame, { testId, children: [
9920
9937
  /* @__PURE__ */ jsxRuntime.jsxs(chunkFKFGRGKF_cjs.WorkspaceIdentityPanel, { children: [
9921
9938
  /* @__PURE__ */ jsxRuntime.jsx(
9922
- chunkUFGC77KR_cjs.EntityIdentityBar,
9939
+ chunkNOLUVCAJ_cjs.EntityIdentityBar,
9923
9940
  {
9924
9941
  testId: "workspace-identity-bar",
9925
9942
  canEdit: isOwner,
@@ -9936,7 +9953,7 @@ function ConnectedWorkspaceSettings({
9936
9953
  label: "Name",
9937
9954
  value: workspace.name,
9938
9955
  placeholder: "Untitled",
9939
- maxLength: chunkUFGC77KR_cjs.IDENTITY_NAME_MAX_LENGTH,
9956
+ maxLength: chunkNOLUVCAJ_cjs.IDENTITY_NAME_MAX_LENGTH,
9940
9957
  valueClassName: "truncate text-base font-semibold",
9941
9958
  testId: "workspace-home-title",
9942
9959
  hideLabel: true,
@@ -12400,36 +12417,36 @@ function ConnectedSharePointAdminConsentPage({
12400
12417
  const result = givenResult === void 0 ? queryResult : givenResult;
12401
12418
  const { apiBaseUrl } = chunk25AIWOR6_cjs.useBlocksEnvironment().runtimeConfig;
12402
12419
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
12403
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentCard, { size: "md", children: [
12420
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentCard, { size: "md", children: [
12404
12421
  /* @__PURE__ */ jsxRuntime.jsx(
12405
- chunkLC7HFDCV_cjs.ConsentHeader,
12422
+ chunkOTXCPTFE_cjs.ConsentHeader,
12406
12423
  {
12407
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
12424
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
12408
12425
  title: "Approve ARBI for SharePoint access",
12409
12426
  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."
12410
12427
  }
12411
12428
  ),
12412
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_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." }),
12413
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_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." }),
12414
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentSection, { title: "What you are approving", children: [
12429
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_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." }),
12430
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_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." }),
12431
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentSection, { title: "What you are approving", children: [
12415
12432
  /* @__PURE__ */ jsxRuntime.jsx(
12416
- chunkLC7HFDCV_cjs.ConsentBulletList,
12433
+ chunkOTXCPTFE_cjs.ConsentBulletList,
12417
12434
  {
12418
12435
  items: [
12419
12436
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12420
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
12437
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
12421
12438
  " \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."
12422
12439
  ] }),
12423
12440
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
12424
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
12441
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
12425
12442
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
12426
12443
  ] })
12427
12444
  ]
12428
12445
  }
12429
12446
  ),
12430
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_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." }),
12447
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_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." }),
12431
12448
  /* @__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" }) }),
12432
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_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." })
12449
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_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." })
12433
12450
  ] })
12434
12451
  ] }) });
12435
12452
  }
@@ -15091,7 +15108,7 @@ function useConnectedWorkspaceList({
15091
15108
  };
15092
15109
  }
15093
15110
  var WorkspaceTableView = react$1.lazy(
15094
- () => import('../WorkspaceTableView-III5TFER.cjs').then((m) => ({ default: m.WorkspaceTableView }))
15111
+ () => import('../WorkspaceTableView-JVHIJP6L.cjs').then((m) => ({ default: m.WorkspaceTableView }))
15095
15112
  );
15096
15113
  var WORKSPACES_TAB_ID = "workspaces";
15097
15114
  var defaultRenderMember2 = (user, size) => {
@@ -15144,7 +15161,7 @@ function ConnectedWorkspaceList({
15144
15161
  else void openWorkspace(workspace.external_id, { name: workspace.name });
15145
15162
  };
15146
15163
  const createDisabledReason = list.canCreateProjects === false ? react.PROJECT_CREATION_DENIED_REASON : void 0;
15147
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, { message: "Loading workspaces..." });
15164
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, { message: "Loading workspaces..." });
15148
15165
  if (list.error) {
15149
15166
  return /* @__PURE__ */ jsxRuntime.jsx(
15150
15167
  chunkZK56K25Q_cjs.HomeLoadError,
@@ -15217,7 +15234,7 @@ function ConnectedWorkspaceList({
15217
15234
  workspaceState
15218
15235
  }
15219
15236
  ) })
15220
- ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkZK56K25Q_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
15237
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkZK56K25Q_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
15221
15238
  WorkspaceTableView,
15222
15239
  {
15223
15240
  list,
@@ -15407,7 +15424,7 @@ function ConnectedProjectsListPage({
15407
15424
  };
15408
15425
  const { openProject } = chunk25AIWOR6_cjs.useBlocksEnvironment();
15409
15426
  const [search, setSearch] = react$1.useState("");
15410
- const { projects, isLoading } = chunk5V7JWZQ4_cjs.useProjectSummaries();
15427
+ const { projects, isLoading } = chunkGQJQ75NA_cjs.useProjectSummaries();
15411
15428
  const rows = react$1.useMemo(() => {
15412
15429
  const q = search.trim().toLowerCase();
15413
15430
  if (!q) return projects;
@@ -15478,7 +15495,7 @@ function ConnectedProjectsListPage({
15478
15495
  }
15479
15496
  ),
15480
15497
  /* @__PURE__ */ jsxRuntime.jsx(
15481
- chunkUFGC77KR_cjs.Toolbar,
15498
+ chunkNOLUVCAJ_cjs.Toolbar,
15482
15499
  {
15483
15500
  search,
15484
15501
  onSearch: setSearch,
@@ -15540,7 +15557,7 @@ function ProjectDetailsForm({
15540
15557
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
15541
15558
  const { notify: notify17 } = chunk25AIWOR6_cjs.useBlocksEnvironment();
15542
15559
  const update = react.useUpdateProjectFields();
15543
- const workspace = chunk5V7JWZQ4_cjs.primaryProjectWorkspace(project);
15560
+ const workspace = chunkGQJQ75NA_cjs.primaryProjectWorkspace(project);
15544
15561
  const { data: members = [] } = react.useWorkspaceUsers(workspace?.id);
15545
15562
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
15546
15563
  const currency = project.budget?.currency ?? "GBP";
@@ -15665,7 +15682,7 @@ var COMPACT_BELOW = 132;
15665
15682
  var NO_DOCUMENTS = [];
15666
15683
  function useFilesWorkspace() {
15667
15684
  const { workspaceId, userId, live } = chunkXCZYMSDV_cjs.useConnectedWorkspace();
15668
- const { members, role } = chunkUHP6AP6C_cjs.useConnectedWorkspaceRole();
15685
+ const { members, role } = chunk3YMV2F5F_cjs.useConnectedWorkspaceRole();
15669
15686
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
15670
15687
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
15671
15688
  return {
@@ -15729,9 +15746,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15729
15746
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
15730
15747
  return map;
15731
15748
  }, [workspaceTags]);
15732
- const pendingFolders = chunkDF7ZATID_cjs.usePendingFolders(wsId);
15733
- const addPendingFolder = chunkDF7ZATID_cjs.useFilesStore((state) => state.addPendingFolder);
15734
- const removePendingFolder = chunkDF7ZATID_cjs.useFilesStore((state) => state.removePendingFolder);
15749
+ const pendingFolders = chunkGUMGUNMW_cjs.usePendingFolders(wsId);
15750
+ const addPendingFolder = chunkGUMGUNMW_cjs.useFilesStore((state) => state.addPendingFolder);
15751
+ const removePendingFolder = chunkGUMGUNMW_cjs.useFilesStore((state) => state.removePendingFolder);
15735
15752
  const [editingFolderPath, setEditingFolderPath] = react$1.useState(null);
15736
15753
  const isSearching = search.trim().length > 0;
15737
15754
  const selectedSet = react$1.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -15740,8 +15757,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15740
15757
  const { folders, files } = react$1.useMemo(() => {
15741
15758
  const result = isSearching ? {
15742
15759
  folders: [],
15743
- files: chunkICHTDJYH_cjs.searchExplorerDocuments(documents, search, sort)
15744
- } : chunkICHTDJYH_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
15760
+ files: chunkWXFPG2GS_cjs.searchExplorerDocuments(documents, search, sort)
15761
+ } : chunkWXFPG2GS_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
15745
15762
  if (sortReversed) result.files = [...result.files].reverse();
15746
15763
  return result;
15747
15764
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -15752,7 +15769,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15752
15769
  const orderedFileIds = react$1.useMemo(() => files.map((d) => d.external_id), [files]);
15753
15770
  const folderDocs = react$1.useMemo(() => {
15754
15771
  const map = /* @__PURE__ */ new Map();
15755
- for (const f of folders) map.set(f.path.join("/"), chunkICHTDJYH_cjs.collectFolderDocs(documents, f.path));
15772
+ for (const f of folders) map.set(f.path.join("/"), chunkWXFPG2GS_cjs.collectFolderDocs(documents, f.path));
15756
15773
  return map;
15757
15774
  }, [folders, documents]);
15758
15775
  const folderSelection = react$1.useMemo(() => {
@@ -15900,7 +15917,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15900
15917
  let name = base;
15901
15918
  let i = 2;
15902
15919
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
15903
- const path = chunkICHTDJYH_cjs.joinFolderPath([...currentPath, name]);
15920
+ const path = chunkWXFPG2GS_cjs.joinFolderPath([...currentPath, name]);
15904
15921
  if (!path) return;
15905
15922
  addPendingFolder(wsId, path);
15906
15923
  setEditingFolderPath(path);
@@ -15936,10 +15953,10 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15936
15953
  notify17(`A folder named "${name}" already exists here.`, "error");
15937
15954
  return;
15938
15955
  }
15939
- const oldPath = chunkICHTDJYH_cjs.joinFolderPath(folder.path);
15956
+ const oldPath = chunkWXFPG2GS_cjs.joinFolderPath(folder.path);
15940
15957
  const newPrefix = [...folder.path.slice(0, -1), name];
15941
- const newPath = chunkICHTDJYH_cjs.joinFolderPath(newPrefix);
15942
- const docs = chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path);
15958
+ const newPath = chunkWXFPG2GS_cjs.joinFolderPath(newPrefix);
15959
+ const docs = chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path);
15943
15960
  try {
15944
15961
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
15945
15962
  notify17(`Renamed folder to "${name}"`, "success");
@@ -15998,7 +16015,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
15998
16015
  const handleToggleFolder = react$1.useCallback(
15999
16016
  (folder, e) => {
16000
16017
  e.stopPropagation();
16001
- const ids = chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
16018
+ const ids = chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
16002
16019
  if (ids.length === 0) return;
16003
16020
  if (ids.every((id) => selectedSet.has(id))) {
16004
16021
  const remove = new Set(ids);
@@ -16059,9 +16076,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16059
16076
  );
16060
16077
  const handleDelete = react$1.useCallback(
16061
16078
  async (doc) => {
16062
- const name = chunkICHTDJYH_cjs.getExplorerDisplayName(doc);
16079
+ const name = chunkWXFPG2GS_cjs.getExplorerDisplayName(doc);
16063
16080
  const confirmed = await confirm({
16064
- message: `Delete "${name}"? ${chunkICHTDJYH_cjs.RECENTLY_DELETED_HINT}`,
16081
+ message: `Delete "${name}"? ${chunkWXFPG2GS_cjs.RECENTLY_DELETED_HINT}`,
16065
16082
  title: "Delete file"
16066
16083
  });
16067
16084
  if (!confirmed) return;
@@ -16081,7 +16098,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16081
16098
  );
16082
16099
  const handleFolderDownload = react$1.useCallback(
16083
16100
  (folder) => {
16084
- const docs = chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path);
16101
+ const docs = chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path);
16085
16102
  if (docs.length > 0) void downloadDocuments(docs);
16086
16103
  },
16087
16104
  [documents, downloadDocuments]
@@ -16090,7 +16107,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16090
16107
  if (onFolderMove) return onFolderMove;
16091
16108
  if (!onMoveSelected) return void 0;
16092
16109
  return (folder) => {
16093
- const ids = chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
16110
+ const ids = chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
16094
16111
  if (ids.length === 0) return;
16095
16112
  onSelectionChange(ids);
16096
16113
  onMoveSelected();
@@ -16098,14 +16115,14 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16098
16115
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
16099
16116
  const handleFolderDelete = react$1.useCallback(
16100
16117
  async (folder) => {
16101
- const docs = chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path);
16118
+ const docs = chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path);
16102
16119
  if (docs.length === 0) {
16103
- const path = chunkICHTDJYH_cjs.joinFolderPath(folder.path);
16120
+ const path = chunkWXFPG2GS_cjs.joinFolderPath(folder.path);
16104
16121
  if (wsId && path) removePendingFolder(wsId, path);
16105
16122
  return;
16106
16123
  }
16107
16124
  const confirmed = await confirm({
16108
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkICHTDJYH_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
16125
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkWXFPG2GS_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
16109
16126
  title: "Delete folder"
16110
16127
  });
16111
16128
  if (!confirmed) return;
@@ -16122,8 +16139,8 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16122
16139
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify17]
16123
16140
  );
16124
16141
  const canDeleteFolder = react$1.useCallback(
16125
- (folder) => canUpload && chunkICHTDJYH_cjs.collectFolderDocs(documents, folder.path).every(
16126
- (doc) => chunkICHTDJYH_cjs.canDeleteDocument(doc, userId, role)
16142
+ (folder) => canUpload && chunkWXFPG2GS_cjs.collectFolderDocs(documents, folder.path).every(
16143
+ (doc) => chunkWXFPG2GS_cjs.canDeleteDocument(doc, userId, role)
16127
16144
  ),
16128
16145
  [canUpload, documents, userId, role]
16129
16146
  );
@@ -16182,7 +16199,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16182
16199
  setActiveDragId(null);
16183
16200
  const data = event.over?.data.current;
16184
16201
  if (data?.type === "folder" && data.path) {
16185
- const targetFolder = chunkICHTDJYH_cjs.joinFolderPath(data.path);
16202
+ const targetFolder = chunkWXFPG2GS_cjs.joinFolderPath(data.path);
16186
16203
  const moving = dragIdsRef.current.filter((id) => {
16187
16204
  const doc = documents.find((d) => d.external_id === id);
16188
16205
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -16222,7 +16239,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16222
16239
  const dropped = Array.from(e.dataTransfer.files ?? []);
16223
16240
  if (dropped.length > 0) {
16224
16241
  e.preventDefault();
16225
- onUploadFiles(dropped, chunkICHTDJYH_cjs.joinFolderPath(currentPath));
16242
+ onUploadFiles(dropped, chunkWXFPG2GS_cjs.joinFolderPath(currentPath));
16226
16243
  }
16227
16244
  },
16228
16245
  [canUpload, currentPath, onUploadFiles]
@@ -16239,9 +16256,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16239
16256
  onDragEnd: handleDragEnd,
16240
16257
  onDragCancel: () => setActiveDragId(null),
16241
16258
  children: [
16242
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.ExplorerStage, { children: [
16259
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.ExplorerStage, { children: [
16243
16260
  /* @__PURE__ */ jsxRuntime.jsx(
16244
- chunkICHTDJYH_cjs.ExplorerScroller,
16261
+ chunkWXFPG2GS_cjs.ExplorerScroller,
16245
16262
  {
16246
16263
  ref: scrollRef,
16247
16264
  onClick: handleBackgroundClick,
@@ -16251,15 +16268,15 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16251
16268
  onDragLeave: handleNativeDragLeave,
16252
16269
  onDrop: handleNativeDrop,
16253
16270
  "data-testid": "explorer-scroll",
16254
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
16255
- chunkICHTDJYH_cjs.ExplorerEmpty,
16271
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
16272
+ chunkWXFPG2GS_cjs.ExplorerEmpty,
16256
16273
  {
16257
16274
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
16258
16275
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
16259
16276
  }
16260
16277
  ) : containerWidth === 0 ? (
16261
16278
  // Not measured yet: rendering now would flash one stretched column.
16262
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ExplorerLoadingTiles, {})
16279
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ExplorerLoadingTiles, {})
16263
16280
  ) : /* @__PURE__ */ jsxRuntime.jsx(
16264
16281
  "div",
16265
16282
  {
@@ -16289,7 +16306,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16289
16306
  if (entry.kind === "folder") {
16290
16307
  const key = entry.path.join("/");
16291
16308
  return /* @__PURE__ */ jsxRuntime.jsx(
16292
- chunkR5KLIQXI_cjs.FolderTile,
16309
+ chunkF34I67NI_cjs.FolderTile,
16293
16310
  {
16294
16311
  folder: entry,
16295
16312
  density,
@@ -16312,7 +16329,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16312
16329
  }
16313
16330
  const doc = entry.doc;
16314
16331
  return /* @__PURE__ */ jsxRuntime.jsx(
16315
- chunkR5KLIQXI_cjs.FileTile,
16332
+ chunkF34I67NI_cjs.FileTile,
16316
16333
  {
16317
16334
  doc,
16318
16335
  density,
@@ -16320,7 +16337,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16320
16337
  dragging: activeDragId === doc.external_id,
16321
16338
  dndActive: activeDragId !== null,
16322
16339
  renaming: renamingId === doc.external_id,
16323
- canDelete: chunkICHTDJYH_cjs.canDeleteDocument(doc, userId, role),
16340
+ canDelete: chunkWXFPG2GS_cjs.canDeleteDocument(doc, userId, role),
16324
16341
  thumbnailUrl: thumbnailsById.get(doc.external_id),
16325
16342
  modifiedBy: userById.get(
16326
16343
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -16349,9 +16366,9 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16349
16366
  )
16350
16367
  }
16351
16368
  ),
16352
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
16369
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
16353
16370
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
16354
- chunkICHTDJYH_cjs.ExplorerDropOverlay,
16371
+ chunkWXFPG2GS_cjs.ExplorerDropOverlay,
16355
16372
  {
16356
16373
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
16357
16374
  }
@@ -16365,7 +16382,7 @@ var ConnectedFilesExplorer = react$1.forwardRef(function ConnectedFilesExplorer2
16365
16382
  function DragPreview({ doc, count: count2 }) {
16366
16383
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type });
16367
16384
  return /* @__PURE__ */ jsxRuntime.jsx(
16368
- chunkICHTDJYH_cjs.ExplorerDragPreview,
16385
+ chunkWXFPG2GS_cjs.ExplorerDragPreview,
16369
16386
  {
16370
16387
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
16371
16388
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -16425,7 +16442,7 @@ function ProjectChronology({
16425
16442
  })),
16426
16443
  [facts]
16427
16444
  );
16428
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkXD3M6ACK_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
16445
+ return /* @__PURE__ */ jsxRuntime.jsx(ui.Card, { className: "h-[min(70dvh,640px)] overflow-hidden", "data-testid": testId, children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "p-4 text-sm text-muted-foreground", children: loading }) : /* @__PURE__ */ jsxRuntime.jsx(chunkW3MWEZYI_cjs.FactsGanttPane, { items, testId: `${testId}-gantt`, labels: { ganttEmpty: empty } }) });
16429
16446
  }
16430
16447
  function ProjectThreads({
16431
16448
  projectId,
@@ -16599,11 +16616,11 @@ function ConnectedProjectPage({
16599
16616
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
16600
16617
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
16601
16618
  };
16602
- const { project, usage, isLoading } = chunk5V7JWZQ4_cjs.useProjectSummary(projectId);
16619
+ const { project, usage, isLoading } = chunkGQJQ75NA_cjs.useProjectSummary(projectId);
16603
16620
  const { workspaceId } = chunkXCZYMSDV_cjs.useConnectedWorkspace();
16604
16621
  const { notify: notify17 } = chunk25AIWOR6_cjs.useBlocksEnvironment();
16605
- const selectWorkspace = chunkDL3XYTKI_cjs.useSelectWorkspace();
16606
- const workspace = project ? chunk5V7JWZQ4_cjs.primaryProjectWorkspace(project) : void 0;
16622
+ const selectWorkspace = chunkE2UHMMSQ_cjs.useSelectWorkspace();
16623
+ const workspace = project ? chunkGQJQ75NA_cjs.primaryProjectWorkspace(project) : void 0;
16607
16624
  const open = !!workspace && workspace.id === workspaceId;
16608
16625
  react$1.useEffect(() => {
16609
16626
  if (!workspace || workspace.id === workspaceId) return;
@@ -17498,7 +17515,7 @@ function recentConversations(conversations) {
17498
17515
  return [...conversations].sort((a, b) => time(b.updated_at) - time(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
17499
17516
  id: c.external_id,
17500
17517
  title: c.title?.trim() || "Untitled thread",
17501
- subtitle: c.status ? [chunkLC7HFDCV_cjs.STATUS_LABELS[chunkLC7HFDCV_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"}`,
17518
+ subtitle: c.status ? [chunkOTXCPTFE_cjs.STATUS_LABELS[chunkOTXCPTFE_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"}`,
17502
17519
  time: timeAndDate(c.updated_at)
17503
17520
  }));
17504
17521
  }
@@ -19485,7 +19502,7 @@ function ConnectedMailbox({
19485
19502
  onTabChange: () => {
19486
19503
  },
19487
19504
  compactBreakpoint: 360,
19488
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesFilterBar, { children: [
19505
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesFilterBar, { children: [
19489
19506
  /* @__PURE__ */ jsxRuntime.jsx(
19490
19507
  chunk6UZC4XVV_cjs.FilterInput,
19491
19508
  {
@@ -19520,7 +19537,7 @@ function ConnectedMailbox({
19520
19537
  }
19521
19538
  ),
19522
19539
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
19523
- chunkICHTDJYH_cjs.FolderFilterButton,
19540
+ chunkWXFPG2GS_cjs.FolderFilterButton,
19524
19541
  {
19525
19542
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
19526
19543
  isActive: false,
@@ -19528,7 +19545,7 @@ function ConnectedMailbox({
19528
19545
  onOpenChange: setFolderMenuOpen,
19529
19546
  testId: "mail-folder-button",
19530
19547
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
19531
- chunkICHTDJYH_cjs.FolderPickerRow,
19548
+ chunkWXFPG2GS_cjs.FolderPickerRow,
19532
19549
  {
19533
19550
  label: item.name,
19534
19551
  count: item.unread > 0 ? item.unread : void 0,
@@ -19933,7 +19950,7 @@ function ConnectedSecureMailClaimPage({
19933
19950
  }) {
19934
19951
  const authenticated = react.useArbiSession().status === "signed-in";
19935
19952
  const { openMail } = chunk25AIWOR6_cjs.useBlocksEnvironment();
19936
- const { loading } = chunkOAEJME5Q_cjs.useAuthPages();
19953
+ const { loading } = chunkDBGTR7OK_cjs.useAuthPages();
19937
19954
  const claim = react.useClaimSecureMail();
19938
19955
  const [, setFirstLoginWorkspaces] = react.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
19939
19956
  const [failure, setFailure] = react$1.useState(null);
@@ -19973,7 +19990,7 @@ function ConnectedSecureMailClaimPage({
19973
19990
  }
19974
19991
  })();
19975
19992
  }, [authenticated, claimId, key]);
19976
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, { variant: "splash" }) });
19993
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, { variant: "splash" }) });
19977
19994
  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: [
19978
19995
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
19979
19996
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -21364,7 +21381,7 @@ function EventEditorDialog({
21364
21381
  const { notify: notify17, runtimeConfig } = chunk25AIWOR6_cjs.useBlocksEnvironment();
21365
21382
  const attachmentDocuments = documents.map((document2) => ({
21366
21383
  doc_id: document2.external_id,
21367
- title: chunkUHP6AP6C_cjs.toWorkflowFieldDocument(document2).title,
21384
+ title: chunk3YMV2F5F_cjs.toWorkflowFieldDocument(document2).title,
21368
21385
  url: chunk725OETK3_cjs.buildDeepLinkUrl(
21369
21386
  { workspaceId: workspaceId ?? void 0, documentId: document2.external_id },
21370
21387
  runtimeConfig.deploymentDomain
@@ -23380,7 +23397,7 @@ function ConnectedUploadDropzone({
23380
23397
  const onFiles = browse(fileInputRef);
23381
23398
  const onFolder = browse(folderInputRef);
23382
23399
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
23383
- chunkICHTDJYH_cjs.UploadDropArea,
23400
+ chunkWXFPG2GS_cjs.UploadDropArea,
23384
23401
  {
23385
23402
  isActive: dragActive,
23386
23403
  isDisabled: disabled,
@@ -23394,11 +23411,11 @@ function ConnectedUploadDropzone({
23394
23411
  onClick: (e) => {
23395
23412
  if (e.target === e.currentTarget) onFiles();
23396
23413
  },
23397
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23414
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
23398
23415
  }
23399
23416
  );
23400
23417
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
23401
- chunkICHTDJYH_cjs.UrlInputDialog,
23418
+ chunkWXFPG2GS_cjs.UrlInputDialog,
23402
23419
  {
23403
23420
  onUrlsSubmit,
23404
23421
  processing: disabled,
@@ -23411,12 +23428,12 @@ function ConnectedUploadDropzone({
23411
23428
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
23412
23429
  dropTarget,
23413
23430
  compactLeadingAction,
23414
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23431
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
23415
23432
  ] });
23416
23433
  }
23417
23434
  if (!source) {
23418
23435
  return /* @__PURE__ */ jsxRuntime.jsx(
23419
- chunkICHTDJYH_cjs.UploadSourcePicker,
23436
+ chunkWXFPG2GS_cjs.UploadSourcePicker,
23420
23437
  {
23421
23438
  isDisabled: disabled,
23422
23439
  options: [
@@ -23452,14 +23469,14 @@ function ConnectedUploadDropzone({
23452
23469
  }
23453
23470
  if (source === "computer") {
23454
23471
  return /* @__PURE__ */ jsxRuntime.jsxs(
23455
- chunkICHTDJYH_cjs.UploadSourceSection,
23472
+ chunkWXFPG2GS_cjs.UploadSourceSection,
23456
23473
  {
23457
23474
  testId: "upload-source-computer",
23458
23475
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
23459
23476
  children: [
23460
23477
  dropTarget,
23461
23478
  /* @__PURE__ */ jsxRuntime.jsx(
23462
- chunkICHTDJYH_cjs.UploadBrowseButtons,
23479
+ chunkWXFPG2GS_cjs.UploadBrowseButtons,
23463
23480
  {
23464
23481
  layout: "grid",
23465
23482
  onFiles,
@@ -23472,15 +23489,15 @@ function ConnectedUploadDropzone({
23472
23489
  );
23473
23490
  }
23474
23491
  if (source === "internet" && onUrlsSubmit) {
23475
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23492
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
23476
23493
  }
23477
23494
  if (source === "email" && accounts) {
23478
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23495
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
23479
23496
  }
23480
23497
  return null;
23481
23498
  })();
23482
23499
  return /* @__PURE__ */ jsxRuntime.jsxs(
23483
- chunkICHTDJYH_cjs.UploadFrame,
23500
+ chunkWXFPG2GS_cjs.UploadFrame,
23484
23501
  {
23485
23502
  isCompact: compact,
23486
23503
  isDimmed: disabled || processingMessage !== null,
@@ -23596,7 +23613,7 @@ function ProcessingSettingsFooter({
23596
23613
  [configField]
23597
23614
  );
23598
23615
  return /* @__PURE__ */ jsxRuntime.jsx(
23599
- chunkICHTDJYH_cjs.UploadFooterBar,
23616
+ chunkWXFPG2GS_cjs.UploadFooterBar,
23600
23617
  {
23601
23618
  skipDuplicates,
23602
23619
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -23605,7 +23622,7 @@ function ProcessingSettingsFooter({
23605
23622
  autoRenameInstruction,
23606
23623
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
23607
23624
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
23608
- chunkICHTDJYH_cjs.ShareToggle,
23625
+ chunkWXFPG2GS_cjs.ShareToggle,
23609
23626
  {
23610
23627
  isVisible: isShared,
23611
23628
  onToggle: onSharedChange,
@@ -23634,7 +23651,7 @@ function plural3(count2) {
23634
23651
  function DefaultFooter({ submit, shared, onSharedChange }) {
23635
23652
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center justify-end gap-4 border-t border-border px-4 py-3 sm:px-6", children: [
23636
23653
  /* @__PURE__ */ jsxRuntime.jsx(
23637
- chunkICHTDJYH_cjs.ShareToggle,
23654
+ chunkWXFPG2GS_cjs.ShareToggle,
23638
23655
  {
23639
23656
  isVisible: shared,
23640
23657
  onToggle: onSharedChange,
@@ -23800,7 +23817,7 @@ ${summary}`,
23800
23817
  }
23801
23818
  );
23802
23819
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
23803
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
23820
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
23804
23821
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
23805
23822
  ConnectedUploadDropzone,
23806
23823
  {
@@ -23816,7 +23833,7 @@ ${summary}`,
23816
23833
  }
23817
23834
  ),
23818
23835
  /* @__PURE__ */ jsxRuntime.jsx(
23819
- chunkICHTDJYH_cjs.SelectedFilesList,
23836
+ chunkWXFPG2GS_cjs.SelectedFilesList,
23820
23837
  {
23821
23838
  renderFileIcon,
23822
23839
  files,
@@ -23825,10 +23842,10 @@ ${summary}`,
23825
23842
  formatFileSize: formatFileSize2
23826
23843
  }
23827
23844
  ),
23828
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
23829
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadErrorMessage, { message: error })
23830
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
23831
- chunkICHTDJYH_cjs.UploadProgress,
23845
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
23846
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadErrorMessage, { message: error })
23847
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
23848
+ chunkWXFPG2GS_cjs.UploadProgress,
23832
23849
  {
23833
23850
  fileCount: count2,
23834
23851
  entityLabel: plural3(count2),
@@ -23879,7 +23896,7 @@ function AddFromAccountsButton({
23879
23896
  className: "gap-2",
23880
23897
  "data-testid": dataTestId,
23881
23898
  children: [
23882
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23899
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
23883
23900
  "Add from accounts"
23884
23901
  ]
23885
23902
  }
@@ -23909,7 +23926,7 @@ function EmptyWorkspaceUpload({
23909
23926
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
23910
23927
  }
23911
23928
  ),
23912
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.PrivacyExplainerModal, {})
23929
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.PrivacyExplainerModal, {})
23913
23930
  ] })
23914
23931
  }
23915
23932
  );
@@ -23924,7 +23941,7 @@ var CheckboxCellRenderer = react$1.memo(function CheckboxCellRenderer2({
23924
23941
  if (!params.data) return null;
23925
23942
  const isChecked = params.value === true;
23926
23943
  return /* @__PURE__ */ jsxRuntime.jsx(
23927
- chunkICHTDJYH_cjs.CheckboxCell,
23944
+ chunkWXFPG2GS_cjs.CheckboxCell,
23928
23945
  {
23929
23946
  isChecked,
23930
23947
  color: tagColor,
@@ -23947,13 +23964,13 @@ var TagHeaderComponent = react$1.memo(function TagHeaderComponent2({
23947
23964
  return () => params.column.removeEventListener("sortChanged", updateSort);
23948
23965
  }, [params.column]);
23949
23966
  return /* @__PURE__ */ jsxRuntime.jsx(
23950
- chunkICHTDJYH_cjs.TagColumnHeader,
23967
+ chunkWXFPG2GS_cjs.TagColumnHeader,
23951
23968
  {
23952
23969
  isCentered: isCheckbox,
23953
23970
  sort,
23954
23971
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
23955
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilterButton, { params, colId: tag.external_id }),
23956
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkCRSEWNDP_cjs.ConnectedTagEntity, { tag, size: "sm" })
23972
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilterButton, { params, colId: tag.external_id }),
23973
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkSLBHYIVZ_cjs.ConnectedTagEntity, { tag, size: "sm" })
23957
23974
  }
23958
23975
  );
23959
23976
  });
@@ -24041,7 +24058,7 @@ function createTagColumn({
24041
24058
  }
24042
24059
  ) : void 0,
24043
24060
  // Use default rendering for text/number/select - shows value with truncation
24044
- cellEditor: isSelect ? chunkICHTDJYH_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
24061
+ cellEditor: isSelect ? chunkWXFPG2GS_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
24045
24062
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
24046
24063
  cellEditorPopup: isText || isSelect,
24047
24064
  // Text and Select tags use popup editor for better UX
@@ -24158,14 +24175,14 @@ function createDocumentColumns({
24158
24175
  onToggleShared,
24159
24176
  notify: notify17
24160
24177
  }) {
24161
- const isRowEditableByOwner = (params) => chunkICHTDJYH_cjs.canChangeVisibility(params.data, currentUserExtId);
24162
- const isRowEditableByMember = (params) => chunkICHTDJYH_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
24178
+ const isRowEditableByOwner = (params) => chunkWXFPG2GS_cjs.canChangeVisibility(params.data, currentUserExtId);
24179
+ const isRowEditableByMember = (params) => chunkWXFPG2GS_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
24163
24180
  const documentNameCellRenderer = (params) => {
24164
24181
  const doc = params.data;
24165
24182
  if (!doc) return null;
24166
24183
  const context = params.context;
24167
24184
  return /* @__PURE__ */ jsxRuntime.jsx(
24168
- chunkR5KLIQXI_cjs.DocumentNameCell,
24185
+ chunkF34I67NI_cjs.DocumentNameCell,
24169
24186
  {
24170
24187
  doc,
24171
24188
  canEdit: isRowEditableByMember(params),
@@ -24184,7 +24201,7 @@ function createDocumentColumns({
24184
24201
  if (!params.data) return null;
24185
24202
  const isOwner = isRowEditableByOwner(params);
24186
24203
  return /* @__PURE__ */ jsxRuntime.jsx(
24187
- chunkR5KLIQXI_cjs.DocumentSharedCell,
24204
+ chunkF34I67NI_cjs.DocumentSharedCell,
24188
24205
  {
24189
24206
  document: params.data,
24190
24207
  disabled: !isOwner,
@@ -24197,7 +24214,7 @@ function createDocumentColumns({
24197
24214
  if (!params.data) return null;
24198
24215
  const context = params.context;
24199
24216
  return /* @__PURE__ */ jsxRuntime.jsx(
24200
- chunkR5KLIQXI_cjs.StatusCell,
24217
+ chunkF34I67NI_cjs.StatusCell,
24201
24218
  {
24202
24219
  doc: params.data,
24203
24220
  onStatusClick,
@@ -24210,7 +24227,7 @@ function createDocumentColumns({
24210
24227
  if (!params.data) return null;
24211
24228
  const context = params.context;
24212
24229
  return /* @__PURE__ */ jsxRuntime.jsx(
24213
- chunkR5KLIQXI_cjs.DocumentLabelsCell,
24230
+ chunkF34I67NI_cjs.DocumentLabelsCell,
24214
24231
  {
24215
24232
  doc: params.data,
24216
24233
  labels: checkboxTags,
@@ -24229,7 +24246,7 @@ function createDocumentColumns({
24229
24246
  const related = context?.getRelatedDocs?.().get(params.data.external_id);
24230
24247
  if (!related || react.getRelatedTotal(related) === 0) return null;
24231
24248
  return /* @__PURE__ */ jsxRuntime.jsx(
24232
- chunkR5KLIQXI_cjs.RelatedDocumentsCell,
24249
+ chunkF34I67NI_cjs.RelatedDocumentsCell,
24233
24250
  {
24234
24251
  currentDoc: params.data,
24235
24252
  related,
@@ -24244,7 +24261,7 @@ function createDocumentColumns({
24244
24261
  if (!params.data) return null;
24245
24262
  const context = params.context;
24246
24263
  return /* @__PURE__ */ jsxRuntime.jsx(
24247
- chunkR5KLIQXI_cjs.DocumentFolderCell,
24264
+ chunkF34I67NI_cjs.DocumentFolderCell,
24248
24265
  {
24249
24266
  document: params.data,
24250
24267
  isEditable: isRowEditableByMember(params),
@@ -24364,7 +24381,7 @@ function createDocumentColumns({
24364
24381
  singleClickEdit: true,
24365
24382
  cellEditor: "agSelectCellEditor",
24366
24383
  cellEditorParams: {
24367
- values: [...chunkICHTDJYH_cjs.DOCUMENT_TYPE_OPTIONS]
24384
+ values: [...chunkWXFPG2GS_cjs.DOCUMENT_TYPE_OPTIONS]
24368
24385
  },
24369
24386
  context: { icon: lucideReact.Sparkles },
24370
24387
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -24670,7 +24687,7 @@ function createDocumentColumns({
24670
24687
  const context = params.context;
24671
24688
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
24672
24689
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
24673
- chunkR5KLIQXI_cjs.UserAvatar,
24690
+ chunkF34I67NI_cjs.UserAvatar,
24674
24691
  {
24675
24692
  user: creator,
24676
24693
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -24902,7 +24919,7 @@ function useDocumentTable({
24902
24919
  }
24903
24920
  const stabilizedTagIds = prevTagIdsRef.current;
24904
24921
  const stabilizedTagNames = prevTagNamesRef.current;
24905
- const defaultVisibleColumns = react$1.useMemo(() => [...chunkICHTDJYH_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
24922
+ const defaultVisibleColumns = react$1.useMemo(() => [...chunkWXFPG2GS_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
24906
24923
  const toggleShared = react$1.useCallback((docId, shared) => {
24907
24924
  updateDocRef.current.mutate({ documents: [{ external_id: docId, shared }] });
24908
24925
  }, []);
@@ -25167,10 +25184,10 @@ function ConnectedFilesBulkActions({
25167
25184
  const bulk = useDocumentBulkActions(selectedDocuments);
25168
25185
  const count2 = selectedDocuments.length;
25169
25186
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
25170
- const shareState = chunkICHTDJYH_cjs.shareStateOf(bulk.freshSelectedDocuments);
25187
+ const shareState = chunkWXFPG2GS_cjs.shareStateOf(bulk.freshSelectedDocuments);
25171
25188
  const handleToggleShare = async (shouldShare) => {
25172
25189
  if (shouldShare) return bulk.share();
25173
- const confirmed = await chunkICHTDJYH_cjs.confirmHideFromMembers(
25190
+ const confirmed = await chunkWXFPG2GS_cjs.confirmHideFromMembers(
25174
25191
  confirm,
25175
25192
  bulk.freshSelectedDocuments.length,
25176
25193
  members
@@ -25187,7 +25204,7 @@ function ConnectedFilesBulkActions({
25187
25204
  const { openDocumentsChat, openFieldsManager } = actions;
25188
25205
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
25189
25206
  /* @__PURE__ */ jsxRuntime.jsx(
25190
- chunkICHTDJYH_cjs.BulkActionsBar,
25207
+ chunkWXFPG2GS_cjs.BulkActionsBar,
25191
25208
  {
25192
25209
  count: count2,
25193
25210
  onClear: onClearSelection,
@@ -25213,7 +25230,7 @@ function ConnectedFilesBulkActions({
25213
25230
  onDelete: () => setConfirming("delete"),
25214
25231
  shareState,
25215
25232
  shareLabels: shareState === "shared" ? { share: "Make private" } : void 0,
25216
- shareTooltip: chunkICHTDJYH_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
25233
+ shareTooltip: chunkWXFPG2GS_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
25217
25234
  onToggleShare: (shouldShare) => void handleToggleShare(shouldShare)
25218
25235
  }
25219
25236
  ),
@@ -25228,7 +25245,7 @@ function ConnectedFilesBulkActions({
25228
25245
  onClearSelection();
25229
25246
  },
25230
25247
  title: `Delete ${count2} ${noun}`,
25231
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkICHTDJYH_cjs.RECENTLY_DELETED_HINT : chunkICHTDJYH_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
25248
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkWXFPG2GS_cjs.RECENTLY_DELETED_HINT : chunkWXFPG2GS_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
25232
25249
  confirmText: "Delete",
25233
25250
  variant: "destructive"
25234
25251
  }
@@ -25574,9 +25591,9 @@ function useDocumentFilters({
25574
25591
  const { data: members = [] } = react.useWorkspaceUsers();
25575
25592
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
25576
25593
  const offlineIds = react.useOfflineDocumentIds();
25577
- const pendingFolders = chunkDF7ZATID_cjs.usePendingFolders(selectedWorkspaceId);
25578
- const persistedDocumentFilters = chunkDF7ZATID_cjs.useFilesPrefs((state) => state.documentFilters);
25579
- const setPersistedDocumentFilters = chunkDF7ZATID_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25594
+ const pendingFolders = chunkGUMGUNMW_cjs.usePendingFolders(selectedWorkspaceId);
25595
+ const persistedDocumentFilters = chunkGUMGUNMW_cjs.useFilesPrefs((state) => state.documentFilters);
25596
+ const setPersistedDocumentFilters = chunkGUMGUNMW_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25580
25597
  const folderTree = react$1.useMemo(() => {
25581
25598
  const allPaths = /* @__PURE__ */ new Set();
25582
25599
  let hasUnfiled = false;
@@ -25797,7 +25814,7 @@ function useDocumentFilters({
25797
25814
  {
25798
25815
  id: "uploaded_by_me",
25799
25816
  label: "Uploaded by me",
25800
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkR5KLIQXI_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25817
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkF34I67NI_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25801
25818
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
25802
25819
  },
25803
25820
  {
@@ -25918,7 +25935,7 @@ function useDocumentFilters({
25918
25935
  const folderPath = react$1.useMemo(() => {
25919
25936
  for (const [key, state] of documentFilters) {
25920
25937
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
25921
- return chunkICHTDJYH_cjs.parseFolderSegments(key.slice("folder:".length));
25938
+ return chunkWXFPG2GS_cjs.parseFolderSegments(key.slice("folder:".length));
25922
25939
  }
25923
25940
  }
25924
25941
  return [];
@@ -25927,7 +25944,7 @@ function useDocumentFilters({
25927
25944
  (path) => {
25928
25945
  const next = new Map(documentFilters);
25929
25946
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
25930
- const joined = chunkICHTDJYH_cjs.joinFolderPath(path);
25947
+ const joined = chunkWXFPG2GS_cjs.joinFolderPath(path);
25931
25948
  if (joined) next.set(`folder:${joined}`, "include");
25932
25949
  setDocumentFilters(next);
25933
25950
  },
@@ -25992,8 +26009,8 @@ function ConnectedAiReview({
25992
26009
  const generate = react.useGenerateDocTags();
25993
26010
  const { data: liveDocs = [] } = react.useDocuments();
25994
26011
  const { data: tags = [] } = react.useTags();
25995
- const result = chunkDF7ZATID_cjs.useAiReviewStore((s) => s.run);
25996
- const setResult = chunkDF7ZATID_cjs.useAiReviewStore((s) => s.setRun);
26012
+ const result = chunkGUMGUNMW_cjs.useAiReviewStore((s) => s.run);
26013
+ const setResult = chunkGUMGUNMW_cjs.useAiReviewStore((s) => s.setRun);
25997
26014
  const phase = result ? "review" : "ask";
25998
26015
  const docCount = documents.length;
25999
26016
  const scope = allDocuments ? "processed" : "selected";
@@ -26219,7 +26236,7 @@ function ConnectedAiReview({
26219
26236
  }, [kind]);
26220
26237
  const description = phase === "ask" ? `Ask one question \u2014 ARBI answers it for each of the ${docCount} ${scope} document${plural5(docCount)}.` : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural5(rows.length)}`;
26221
26238
  return /* @__PURE__ */ jsxRuntime.jsx(
26222
- chunkICHTDJYH_cjs.AiReviewDialogView,
26239
+ chunkWXFPG2GS_cjs.AiReviewDialogView,
26223
26240
  {
26224
26241
  open,
26225
26242
  onOpenChange: handleOpenChange,
@@ -26265,7 +26282,7 @@ function useAiReviewLiveUpdates() {
26265
26282
  if (message.batch_type !== "doctag_generate") return;
26266
26283
  const docIds = message.doc_ext_ids ?? [];
26267
26284
  if (!docIds.length) return;
26268
- void refreshDocuments(docIds).then(() => chunkDF7ZATID_cjs.useAiReviewStore.getState().markFinished(docIds));
26285
+ void refreshDocuments(docIds).then(() => chunkGUMGUNMW_cjs.useAiReviewStore.getState().markFinished(docIds));
26269
26286
  const { clearTask } = react.useArbiWsStore.getState();
26270
26287
  for (const id of docIds) clearTask(id);
26271
26288
  });
@@ -26300,7 +26317,7 @@ function useBatchCompleteToasts() {
26300
26317
  timer.current = null;
26301
26318
  const runs = pending.current;
26302
26319
  pending.current = /* @__PURE__ */ new Map();
26303
- const hasReview = !!chunkDF7ZATID_cjs.useAiReviewStore.getState().run;
26320
+ const hasReview = !!chunkGUMGUNMW_cjs.useAiReviewStore.getState().run;
26304
26321
  for (const [id, entry] of runs) {
26305
26322
  const n = entry.docIds.size;
26306
26323
  notify17(
@@ -26313,7 +26330,7 @@ function useBatchCompleteToasts() {
26313
26330
  ...hasReview && {
26314
26331
  action: {
26315
26332
  label: "View results",
26316
- onClick: () => chunkDF7ZATID_cjs.useAiReviewStore.getState().setOpen(true)
26333
+ onClick: () => chunkGUMGUNMW_cjs.useAiReviewStore.getState().setOpen(true)
26317
26334
  }
26318
26335
  }
26319
26336
  }
@@ -26321,7 +26338,7 @@ function useBatchCompleteToasts() {
26321
26338
  }
26322
26339
  }, AI_FIELDS_NOTICE_WINDOW_MS);
26323
26340
  } else if (message.batch_type === "entity_extract") {
26324
- say(`${chunkUFGC77KR_cjs.entitiesPhrase()} extracted from ${chunkUFGC77KR_cjs.documentCount(docIds.length)}`, "success", {
26341
+ say(`${chunkNOLUVCAJ_cjs.entitiesPhrase()} extracted from ${chunkNOLUVCAJ_cjs.documentCount(docIds.length)}`, "success", {
26325
26342
  ...openTags && { action: { label: "View", onClick: openTags } }
26326
26343
  });
26327
26344
  } else if (message.batch_type === "upload") {
@@ -26360,12 +26377,12 @@ function ConnectedMoveToFolder({
26360
26377
  setIsSubmitting(true);
26361
26378
  try {
26362
26379
  if (folderToMove) {
26363
- const docsInFolder = chunkICHTDJYH_cjs.collectFolderDocs(allDocs, folderToMove.path);
26380
+ const docsInFolder = chunkWXFPG2GS_cjs.collectFolderDocs(allDocs, folderToMove.path);
26364
26381
  if (docsInFolder.length === 0) {
26365
26382
  onClose();
26366
26383
  return;
26367
26384
  }
26368
- const newPrefixSegments = targetFolder ? [...chunkICHTDJYH_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
26385
+ const newPrefixSegments = targetFolder ? [...chunkWXFPG2GS_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
26369
26386
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
26370
26387
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
26371
26388
  notify17(`Moved folder to ${dest}`, "success");
@@ -26390,9 +26407,9 @@ function ConnectedMoveToFolder({
26390
26407
  }
26391
26408
  };
26392
26409
  const isFolderMode = !!folderToMove;
26393
- const folders = chunkR5KLIQXI_cjs.useDocumentFolders(allDocs, targetFolder);
26410
+ const folders = chunkF34I67NI_cjs.useDocumentFolders(allDocs, targetFolder);
26394
26411
  return /* @__PURE__ */ jsxRuntime.jsx(
26395
- chunkICHTDJYH_cjs.MoveToFolderDialog,
26412
+ chunkWXFPG2GS_cjs.MoveToFolderDialog,
26396
26413
  {
26397
26414
  open: isOpen,
26398
26415
  onClose,
@@ -26402,7 +26419,7 @@ function ConnectedMoveToFolder({
26402
26419
  isSubmitting,
26403
26420
  onConfirm: handleMove,
26404
26421
  children: /* @__PURE__ */ jsxRuntime.jsx(
26405
- chunkICHTDJYH_cjs.FolderCommandList,
26422
+ chunkWXFPG2GS_cjs.FolderCommandList,
26406
26423
  {
26407
26424
  folders,
26408
26425
  value: targetFolder,
@@ -26798,7 +26815,7 @@ function ConnectedFieldsEditor({
26798
26815
  const [sortBy, setSortBy] = react$1.useState("name-asc");
26799
26816
  const [filterText, setFilterText] = react$1.useState("");
26800
26817
  const fieldRows = react$1.useMemo(
26801
- () => browser.flattenTagTree(chunkICHTDJYH_cjs.sortFields(chunkICHTDJYH_cjs.filterFieldsByName(tags, filterText), sortBy)),
26818
+ () => browser.flattenTagTree(chunkWXFPG2GS_cjs.sortFields(chunkWXFPG2GS_cjs.filterFieldsByName(tags, filterText), sortBy)),
26802
26819
  [tags, filterText, sortBy]
26803
26820
  );
26804
26821
  const exportItems = react$1.useMemo(
@@ -26818,7 +26835,7 @@ function ConnectedFieldsEditor({
26818
26835
  setIsDeleting(false);
26819
26836
  }
26820
26837
  };
26821
- const copy = chunkICHTDJYH_cjs.fieldsApplyBarCopy({
26838
+ const copy = chunkWXFPG2GS_cjs.fieldsApplyBarCopy({
26822
26839
  nouns,
26823
26840
  targetNoun,
26824
26841
  fieldCount,
@@ -26827,9 +26844,9 @@ function ConnectedFieldsEditor({
26827
26844
  isApplying,
26828
26845
  isClearing
26829
26846
  });
26830
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FieldsEditorRoot, { children: [
26847
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FieldsEditorRoot, { children: [
26831
26848
  /* @__PURE__ */ jsxRuntime.jsx(
26832
- chunkICHTDJYH_cjs.FieldsEditorToolbar,
26849
+ chunkWXFPG2GS_cjs.FieldsEditorToolbar,
26833
26850
  {
26834
26851
  nouns,
26835
26852
  onNew: () => {
@@ -26857,11 +26874,11 @@ function ConnectedFieldsEditor({
26857
26874
  onSortByChange: setSortBy
26858
26875
  }
26859
26876
  ),
26860
- /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FieldsEditorList, { children: [
26877
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FieldsEditorList, { children: [
26861
26878
  fieldRows.map(({ tag, depth, childCount }) => {
26862
26879
  const isEditingThis = editingTagId === tag.external_id;
26863
26880
  return /* @__PURE__ */ jsxRuntime.jsx(
26864
- chunkICHTDJYH_cjs.FieldRow,
26881
+ chunkWXFPG2GS_cjs.FieldRow,
26865
26882
  {
26866
26883
  tagId: tag.external_id,
26867
26884
  name: tag.name,
@@ -26914,10 +26931,10 @@ function ConnectedFieldsEditor({
26914
26931
  tag.external_id
26915
26932
  );
26916
26933
  }),
26917
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FieldsEmptyState, { children: chunkICHTDJYH_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
26934
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FieldsEmptyState, { children: chunkWXFPG2GS_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
26918
26935
  ] }),
26919
26936
  /* @__PURE__ */ jsxRuntime.jsx(
26920
- chunkICHTDJYH_cjs.FieldsApplyBar,
26937
+ chunkWXFPG2GS_cjs.FieldsApplyBar,
26921
26938
  {
26922
26939
  hint: copy.hint,
26923
26940
  applyLabel: copy.applyLabel,
@@ -26994,8 +27011,8 @@ function ConnectedFieldsManager({
26994
27011
  }
26995
27012
  );
26996
27013
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
26997
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
26998
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
27014
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
27015
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
26999
27016
  ConnectedFieldsEditor,
27000
27017
  {
27001
27018
  group: activeKind,
@@ -27014,7 +27031,7 @@ function ConnectedFieldsManager({
27014
27031
  "data-testid": "fields-manager-dialog",
27015
27032
  children: [
27016
27033
  /* @__PURE__ */ jsxRuntime.jsxs(ui.DialogHeader, { className: "px-4 py-3 border-b", children: [
27017
- /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FieldsManagerTitle, { title }) }),
27034
+ /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FieldsManagerTitle, { title }) }),
27018
27035
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { className: "sr-only", children: "Create, edit, and delete labels and annotations for your workspace documents." })
27019
27036
  ] }),
27020
27037
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 py-2 border-b", children: tabHeader }),
@@ -27025,7 +27042,7 @@ function ConnectedFieldsManager({
27025
27042
  }
27026
27043
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
27027
27044
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQB7PNQDJ_cjs.DraggableHeader, { children: [
27028
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
27045
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
27029
27046
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
27030
27047
  ] }),
27031
27048
  body
@@ -27246,7 +27263,7 @@ function ConnectedBulkTagEditor({
27246
27263
  const isClearing = change?.action === "remove";
27247
27264
  return {
27248
27265
  id: tag.external_id,
27249
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkCRSEWNDP_cjs.ConnectedTagEntity, { tag, size: "md" }),
27266
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkSLBHYIVZ_cjs.ConnectedTagEntity, { tag, size: "md" }),
27250
27267
  type: tag.tag_type.type,
27251
27268
  color: ui.getEntityColor(tag.external_id, "medium"),
27252
27269
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -27278,7 +27295,7 @@ function ConnectedBulkTagEditor({
27278
27295
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
27279
27296
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
27280
27297
  /* @__PURE__ */ jsxRuntime.jsx(
27281
- chunkICHTDJYH_cjs.BulkTagEditorDialog,
27298
+ chunkWXFPG2GS_cjs.BulkTagEditorDialog,
27282
27299
  {
27283
27300
  open,
27284
27301
  onClose,
@@ -27336,7 +27353,7 @@ function ConnectedBulkTagEditor({
27336
27353
  }
27337
27354
  ),
27338
27355
  /* @__PURE__ */ jsxRuntime.jsx(
27339
- chunkICHTDJYH_cjs.BulkReplaceDialog,
27356
+ chunkWXFPG2GS_cjs.BulkReplaceDialog,
27340
27357
  {
27341
27358
  open: showGenerateConfirmation,
27342
27359
  onClose: () => setShowGenerateConfirmation(false),
@@ -27451,7 +27468,7 @@ function ViewSelector({
27451
27468
  columns: defaultColumns,
27452
27469
  icon: lucideReact.Table,
27453
27470
  // Both built-ins load at the minimal (compact) row height.
27454
- rowHeight: chunkICHTDJYH_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27471
+ rowHeight: chunkWXFPG2GS_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27455
27472
  // [] = loading this view unpins everything.
27456
27473
  pinnedLeft: []
27457
27474
  },
@@ -27462,15 +27479,15 @@ function ViewSelector({
27462
27479
  // batch-select checkbox and Title stay fixed left while scrolling.
27463
27480
  columns: defaultColumns,
27464
27481
  icon: lucideReact.Columns3,
27465
- rowHeight: chunkICHTDJYH_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27482
+ rowHeight: chunkWXFPG2GS_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27466
27483
  pinnedLeft: DOCUMENT_VIEW_PINNED
27467
27484
  },
27468
27485
  {
27469
27486
  key: "email-default",
27470
27487
  label: "Email view",
27471
- columns: [...chunkICHTDJYH_cjs.EMAIL_VIEW_COLUMNS],
27488
+ columns: [...chunkWXFPG2GS_cjs.EMAIL_VIEW_COLUMNS],
27472
27489
  icon: lucideReact.Mail,
27473
- rowHeight: chunkICHTDJYH_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27490
+ rowHeight: chunkWXFPG2GS_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
27474
27491
  pinnedLeft: []
27475
27492
  }
27476
27493
  ],
@@ -27494,7 +27511,7 @@ function ViewSelector({
27494
27511
  },
27495
27512
  [confirm, workspaceId, deleteView, notify17]
27496
27513
  );
27497
- const menu = chunkICHTDJYH_cjs.useGridViews({
27514
+ const menu = chunkWXFPG2GS_cjs.useGridViews({
27498
27515
  getGridApi,
27499
27516
  defaultColumns,
27500
27517
  builtins,
@@ -27509,7 +27526,7 @@ function ViewSelector({
27509
27526
  onDeleteView,
27510
27527
  isSaving
27511
27528
  });
27512
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ViewSelectorMenu, { ...menu });
27529
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ViewSelectorMenu, { ...menu });
27513
27530
  }
27514
27531
  function DocumentsFilterBarActions({
27515
27532
  isModal,
@@ -27549,7 +27566,7 @@ function DocumentsFilterBarActions({
27549
27566
  ),
27550
27567
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
27551
27568
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
27552
- chunkICHTDJYH_cjs.RowDensityControl,
27569
+ chunkWXFPG2GS_cjs.RowDensityControl,
27553
27570
  {
27554
27571
  rowHeight: documentsRowHeight,
27555
27572
  onRowHeightChange: onDocumentsRowHeightChange
@@ -27717,7 +27734,7 @@ function DocumentsUploadButton({
27717
27734
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
27718
27735
  );
27719
27736
  return /* @__PURE__ */ jsxRuntime.jsx(
27720
- chunkICHTDJYH_cjs.FilesAddMenu,
27737
+ chunkWXFPG2GS_cjs.FilesAddMenu,
27721
27738
  {
27722
27739
  items,
27723
27740
  isCompact,
@@ -27730,8 +27747,8 @@ function DocumentsUploadButton({
27730
27747
  }
27731
27748
  function PersistedGridView(props) {
27732
27749
  const { persistState, gridId } = props;
27733
- const setGridState = chunkDF7ZATID_cjs.useFilesGridStates((state) => state.setGridState);
27734
- const gridState = persistState && gridId ? chunkDF7ZATID_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
27750
+ const setGridState = chunkGUMGUNMW_cjs.useFilesGridStates((state) => state.setGridState);
27751
+ const gridState = persistState && gridId ? chunkGUMGUNMW_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
27735
27752
  const onGridStateChange = react$1.useCallback(
27736
27753
  (state) => {
27737
27754
  if (persistState && gridId) setGridState(gridId, state);
@@ -27814,15 +27831,15 @@ var TABLET_TABLE_BELOW = 860;
27814
27831
  var TABLET_VIEWPORT_BELOW = 1100;
27815
27832
  var NO_CONVERSATION_DOCUMENTS = [];
27816
27833
  var DocumentReviewCard = react$1.lazy(
27817
- () => import('../DocumentReviewCard-XK77D3O4.cjs').then((module) => ({ default: module.DocumentReviewCard }))
27834
+ () => import('../DocumentReviewCard-3EM6GHJC.cjs').then((module) => ({ default: module.DocumentReviewCard }))
27818
27835
  );
27819
27836
  var ConnectedDocumentViewer = react$1.lazy(
27820
- () => import('../ConnectedDocumentViewer-EXR4XDRW.cjs').then((module) => ({
27837
+ () => import('../ConnectedDocumentViewer-EHPY2LSI.cjs').then((module) => ({
27821
27838
  default: module.ConnectedDocumentViewer
27822
27839
  }))
27823
27840
  );
27824
27841
  function defaultReviewCard(props) {
27825
- return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
27842
+ return /* @__PURE__ */ jsxRuntime.jsx(react$1.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
27826
27843
  }
27827
27844
  function ConnectedFilesPage({
27828
27845
  isModal = false,
@@ -27854,7 +27871,7 @@ function ConnectedFilesPage({
27854
27871
  gridStateVersion,
27855
27872
  onGridApi,
27856
27873
  onRelatedDocsChange,
27857
- prefsKey = chunkDF7ZATID_cjs.FILES_PREFS_KEY,
27874
+ prefsKey = chunkGUMGUNMW_cjs.FILES_PREFS_KEY,
27858
27875
  defaultViewMode
27859
27876
  }) {
27860
27877
  const { openDocument } = chunk25AIWOR6_cjs.useBlocksEnvironment();
@@ -27868,7 +27885,7 @@ function ConnectedFilesPage({
27868
27885
  const deleteDocuments = react.useDeleteDocuments();
27869
27886
  const isDocumentsPending = isLoading && documents.length === 0;
27870
27887
  const { workspaceId, userId, live } = chunkXCZYMSDV_cjs.useConnectedWorkspace();
27871
- const { role, members } = chunkUHP6AP6C_cjs.useConnectedWorkspaceRole();
27888
+ const { role, members } = chunk3YMV2F5F_cjs.useConnectedWorkspaceRole();
27872
27889
  const { data: workspaces } = react.useWorkspaces({ enabled: live });
27873
27890
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
27874
27891
  const isMember = role != null;
@@ -27887,8 +27904,8 @@ function ConnectedFilesPage({
27887
27904
  const inConversationDocuments = react.useArbiSessionState(
27888
27905
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS
27889
27906
  );
27890
- const viewMode = chunkDF7ZATID_cjs.useFilesPrefs((s) => chunkDF7ZATID_cjs.filesViewMode(s, prefsKey, defaultViewMode));
27891
- const setPrefsViewMode = chunkDF7ZATID_cjs.useFilesPrefs((s) => s.setViewMode);
27907
+ const viewMode = chunkGUMGUNMW_cjs.useFilesPrefs((s) => chunkGUMGUNMW_cjs.filesViewMode(s, prefsKey, defaultViewMode));
27908
+ const setPrefsViewMode = chunkGUMGUNMW_cjs.useFilesPrefs((s) => s.setViewMode);
27892
27909
  const setViewMode = react$1.useCallback(
27893
27910
  (mode) => setPrefsViewMode(mode, prefsKey),
27894
27911
  [setPrefsViewMode, prefsKey]
@@ -27916,7 +27933,7 @@ function ConnectedFilesPage({
27916
27933
  (fromLink) => {
27917
27934
  setDialog(null);
27918
27935
  shownPlaceRef.current = null;
27919
- if (chunkDF7ZATID_cjs.filesViewMode(chunkDF7ZATID_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
27936
+ if (chunkGUMGUNMW_cjs.filesViewMode(chunkGUMGUNMW_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
27920
27937
  session.setViewingDocument(null);
27921
27938
  if (!fromLink) latest.current.onDocumentChange?.(null);
27922
27939
  },
@@ -27964,9 +27981,9 @@ function ConnectedFilesPage({
27964
27981
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
27965
27982
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
27966
27983
  }, [linkedPlaceKey]);
27967
- const rowHeight = chunkDF7ZATID_cjs.useFilesPrefs((s) => s.rowHeight);
27968
- const setRowHeight = chunkDF7ZATID_cjs.useFilesPrefs((s) => s.setRowHeight);
27969
- const ownGridStates = chunkDF7ZATID_cjs.useFilesGridStates((s) => s.gridStates);
27984
+ const rowHeight = chunkGUMGUNMW_cjs.useFilesPrefs((s) => s.rowHeight);
27985
+ const setRowHeight = chunkGUMGUNMW_cjs.useFilesPrefs((s) => s.setRowHeight);
27986
+ const ownGridStates = chunkGUMGUNMW_cjs.useFilesGridStates((s) => s.gridStates);
27970
27987
  const stateVersion = gridStateVersion ?? ownGridStates;
27971
27988
  const [pageEl, setPageEl] = react$1.useState(null);
27972
27989
  const [isTabletWidth, setIsTabletWidth] = react$1.useState(false);
@@ -27996,15 +28013,15 @@ function ConnectedFilesPage({
27996
28013
  const [explorerSortReversed, setExplorerSortReversed] = react$1.useState(false);
27997
28014
  const [explorerTileSize, setExplorerTileSize] = react$1.useState(TILE_DEFAULT);
27998
28015
  const [urlDialogOpen, setUrlDialogOpen] = react$1.useState(false);
27999
- const move = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.move);
28000
- const openMove = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.openMove);
28001
- const closeMove = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.closeMove);
28002
- const bulkTagsOpen = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
28003
- const setBulkTagsOpen = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
28004
- const deleteRequest = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.deleteRequest);
28005
- const requestDelete = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.requestDelete);
28006
- const exportOpen = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.exportOpen);
28007
- const setExportOpen = chunkDF7ZATID_cjs.useFilesDialogs((s) => s.setExportOpen);
28016
+ const move = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.move);
28017
+ const openMove = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.openMove);
28018
+ const closeMove = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.closeMove);
28019
+ const bulkTagsOpen = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
28020
+ const setBulkTagsOpen = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
28021
+ const deleteRequest = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.deleteRequest);
28022
+ const requestDelete = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.requestDelete);
28023
+ const exportOpen = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.exportOpen);
28024
+ const setExportOpen = chunkGUMGUNMW_cjs.useFilesDialogs((s) => s.setExportOpen);
28008
28025
  const openOwnExport = react$1.useCallback(() => setExportOpen(true), [setExportOpen]);
28009
28026
  const exportItems = react$1.useMemo(
28010
28027
  () => selectedDocuments.map((doc) => ({
@@ -28050,17 +28067,17 @@ function ConnectedFilesPage({
28050
28067
  }, [relatedDocsMap, onRelatedDocsChange]);
28051
28068
  const defaultVisibleColumns = react$1.useMemo(
28052
28069
  () => [
28053
- ...chunkICHTDJYH_cjs.DEFAULT_DOCUMENT_COLUMNS,
28070
+ ...chunkWXFPG2GS_cjs.DEFAULT_DOCUMENT_COLUMNS,
28054
28071
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
28055
28072
  ],
28056
28073
  [allTags]
28057
28074
  );
28058
28075
  const handleReorderColumns = react$1.useCallback((ids, gridApi2) => {
28059
- if (gridApi2) chunkICHTDJYH_cjs.applyColumnLayout(gridApi2, ids);
28076
+ if (gridApi2) chunkWXFPG2GS_cjs.applyColumnLayout(gridApi2, ids);
28060
28077
  }, []);
28061
28078
  const handleLoadView = react$1.useCallback(
28062
28079
  (view, gridApi2) => {
28063
- chunkICHTDJYH_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
28080
+ chunkWXFPG2GS_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
28064
28081
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
28065
28082
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
28066
28083
  },
@@ -28153,7 +28170,7 @@ function ConnectedFilesPage({
28153
28170
  );
28154
28171
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
28155
28172
  const navigatorDocuments = react$1.useMemo(
28156
- () => chunkICHTDJYH_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
28173
+ () => chunkWXFPG2GS_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
28157
28174
  [filteredDocuments, explorerSort, explorerSortReversed]
28158
28175
  );
28159
28176
  const navigatorOnNavigate = react$1.useCallback(
@@ -28223,7 +28240,7 @@ function ConnectedFilesPage({
28223
28240
  },
28224
28241
  rowHeight
28225
28242
  };
28226
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesFilterBar, { children: [
28243
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesFilterBar, { children: [
28227
28244
  /* @__PURE__ */ jsxRuntime.jsx(
28228
28245
  chunk6UZC4XVV_cjs.FilterInput,
28229
28246
  {
@@ -28258,7 +28275,7 @@ function ConnectedFilesPage({
28258
28275
  ),
28259
28276
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
28260
28277
  /* @__PURE__ */ jsxRuntime.jsx(
28261
- chunkICHTDJYH_cjs.DocumentsFolderButton,
28278
+ chunkWXFPG2GS_cjs.DocumentsFolderButton,
28262
28279
  {
28263
28280
  documents,
28264
28281
  documentFilters,
@@ -28266,7 +28283,7 @@ function ConnectedFilesPage({
28266
28283
  onNewFolder: canUpload ? handleNewFolder : void 0
28267
28284
  }
28268
28285
  ),
28269
- onOpenTags && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilesTagsButton, { onClick: onOpenTags }),
28286
+ onOpenTags && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilesTagsButton, { onClick: onOpenTags }),
28270
28287
  headerExtras
28271
28288
  ] })
28272
28289
  ] });
@@ -28289,9 +28306,9 @@ function ConnectedFilesPage({
28289
28306
  );
28290
28307
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
28291
28308
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
28292
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesPage, { isModal, ref: setPageEl, children: [
28309
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesPage, { isModal, ref: setPageEl, children: [
28293
28310
  /* @__PURE__ */ jsxRuntime.jsx(
28294
- chunkICHTDJYH_cjs.UrlInputDialog,
28311
+ chunkWXFPG2GS_cjs.UrlInputDialog,
28295
28312
  {
28296
28313
  open: urlDialogOpen,
28297
28314
  onOpenChange: setUrlDialogOpen,
@@ -28300,7 +28317,7 @@ function ConnectedFilesPage({
28300
28317
  titleIcon: workspaceIcon
28301
28318
  }
28302
28319
  ),
28303
- /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesPageHeader, { children: [
28320
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesPageHeader, { children: [
28304
28321
  /* @__PURE__ */ jsxRuntime.jsx(
28305
28322
  chunkSJSGSHIT_cjs.TabHeader,
28306
28323
  {
@@ -28321,7 +28338,7 @@ function ConnectedFilesPage({
28321
28338
  activeTabId: "documents",
28322
28339
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
28323
28340
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
28324
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
28341
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
28325
28342
  !isNarrowFilterRow && viewToggle,
28326
28343
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
28327
28344
  ] }),
@@ -28351,14 +28368,14 @@ function ConnectedFilesPage({
28351
28368
  }
28352
28369
  ),
28353
28370
  /* @__PURE__ */ jsxRuntime.jsx(
28354
- chunkICHTDJYH_cjs.FilesToolbar,
28371
+ chunkWXFPG2GS_cjs.FilesToolbar,
28355
28372
  {
28356
28373
  className: "px-3 pb-2",
28357
28374
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
28358
28375
  viewMode === "grid" ? (
28359
28376
  // ‹ n / N › over the table's displayed rows; a step opens the document.
28360
28377
  /* @__PURE__ */ jsxRuntime.jsx(
28361
- chunkUFGC77KR_cjs.GridRowNavigator,
28378
+ chunkNOLUVCAJ_cjs.GridRowNavigator,
28362
28379
  {
28363
28380
  gridApi,
28364
28381
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -28373,7 +28390,7 @@ function ConnectedFilesPage({
28373
28390
  ) : viewMode === "explorer" ? (
28374
28391
  // The same over the explorer's tiles.
28375
28392
  /* @__PURE__ */ jsxRuntime.jsx(
28376
- chunkICHTDJYH_cjs.ExplorerFileNavigator,
28393
+ chunkWXFPG2GS_cjs.ExplorerFileNavigator,
28377
28394
  {
28378
28395
  fileIds: explorerFileIds,
28379
28396
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -28412,7 +28429,7 @@ function ConnectedFilesPage({
28412
28429
  }
28413
28430
  ),
28414
28431
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
28415
- chunkICHTDJYH_cjs.NavigatorPickerBar,
28432
+ chunkWXFPG2GS_cjs.NavigatorPickerBar,
28416
28433
  {
28417
28434
  currentDocument,
28418
28435
  documents: navigatorDocuments,
@@ -28439,11 +28456,11 @@ function ConnectedFilesPage({
28439
28456
  }
28440
28457
  }
28441
28458
  ) }),
28442
- /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.FilesPageMain, { children: [
28459
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.FilesPageMain, { children: [
28443
28460
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
28444
- chunkICHTDJYH_cjs.DocumentGrid,
28461
+ chunkWXFPG2GS_cjs.DocumentGrid,
28445
28462
  {
28446
- layout: chunkICHTDJYH_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
28463
+ layout: chunkWXFPG2GS_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
28447
28464
  presets: gridPresets,
28448
28465
  GridComponent,
28449
28466
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -28537,7 +28554,7 @@ function ConnectedFilesPage({
28537
28554
  onProduce
28538
28555
  }
28539
28556
  ),
28540
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
28557
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
28541
28558
  /* @__PURE__ */ jsxRuntime.jsx(
28542
28559
  chunkD3PWVA7Y_cjs.ConfirmDialog,
28543
28560
  {
@@ -28548,7 +28565,7 @@ function ConnectedFilesPage({
28548
28565
  requestDelete(null);
28549
28566
  },
28550
28567
  title: "Delete Document",
28551
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkICHTDJYH_cjs.RECENTLY_DELETED_HINT}` : "",
28568
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkWXFPG2GS_cjs.RECENTLY_DELETED_HINT}` : "",
28552
28569
  confirmText: "Delete",
28553
28570
  variant: "destructive"
28554
28571
  }
@@ -28615,8 +28632,8 @@ function ConnectedFilesPage({
28615
28632
  }
28616
28633
  var NO_DOCUMENTS3 = [];
28617
28634
  function ConnectedAiReviewHost(props) {
28618
- const open = chunkDF7ZATID_cjs.useAiReviewStore((s) => s.open);
28619
- const setOpen = chunkDF7ZATID_cjs.useAiReviewStore((s) => s.setOpen);
28635
+ const open = chunkGUMGUNMW_cjs.useAiReviewStore((s) => s.open);
28636
+ const setOpen = chunkGUMGUNMW_cjs.useAiReviewStore((s) => s.setOpen);
28620
28637
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
28621
28638
  }
28622
28639
  function ConnectedGridView(props) {
@@ -28753,7 +28770,7 @@ var PROVIDER_FAMILIES = [
28753
28770
  { key: "google", label: "Google", vendors: ["gmail"] }
28754
28771
  ];
28755
28772
  function VendorGlyph({ catalog }) {
28756
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
28773
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
28757
28774
  }
28758
28775
  function mailboxProductName(catalog) {
28759
28776
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -28820,7 +28837,7 @@ function EmailProviderRow({
28820
28837
  const emailNoun = (n) => n === 1 ? "email" : "emails";
28821
28838
  const syncedCount = thisSync?.synced_count ?? 0;
28822
28839
  return /* @__PURE__ */ jsxRuntime.jsxs(
28823
- chunkICHTDJYH_cjs.ImportRow,
28840
+ chunkWXFPG2GS_cjs.ImportRow,
28824
28841
  {
28825
28842
  testId: `email-provider-row-${catalog.vendor_key}`,
28826
28843
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -28829,7 +28846,7 @@ function EmailProviderRow({
28829
28846
  // Connecting AND reconnecting are owned by the family header, so a
28830
28847
  // not-connected or needs-reconnect row shows no button of its own.
28831
28848
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
28832
- chunkICHTDJYH_cjs.ImportRunActions,
28849
+ chunkWXFPG2GS_cjs.ImportRunActions,
28833
28850
  {
28834
28851
  isRunning: running,
28835
28852
  isStopping: cancelSync.isPending,
@@ -28844,10 +28861,10 @@ function EmailProviderRow({
28844
28861
  ),
28845
28862
  children: [
28846
28863
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
28847
- chunkICHTDJYH_cjs.ImportSummary,
28864
+ chunkWXFPG2GS_cjs.ImportSummary,
28848
28865
  {
28849
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
28850
- chunkICHTDJYH_cjs.FolderSummary,
28866
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
28867
+ chunkWXFPG2GS_cjs.FolderSummary,
28851
28868
  {
28852
28869
  names: thisSync.folders.map(
28853
28870
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -28870,7 +28887,7 @@ function EmailProviderRow({
28870
28887
  }
28871
28888
  ),
28872
28889
  running && /* @__PURE__ */ jsxRuntime.jsx(
28873
- chunkICHTDJYH_cjs.ImportProgress,
28890
+ chunkWXFPG2GS_cjs.ImportProgress,
28874
28891
  {
28875
28892
  processed: progress?.processed ?? 0,
28876
28893
  total: progress?.total,
@@ -28987,9 +29004,9 @@ function EmailImportPanel({
28987
29004
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
28988
29005
  }).filter((g) => g.entries.length > 0 || g.extra);
28989
29006
  if (groups.length === 0) return null;
28990
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
29007
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ImportPanel, { "data-testid": "email-import-panel", children: groups.map(
28991
29008
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
28992
- chunkICHTDJYH_cjs.ImportFamilySection,
29009
+ chunkWXFPG2GS_cjs.ImportFamilySection,
28993
29010
  {
28994
29011
  label: family.label,
28995
29012
  identity,
@@ -28998,7 +29015,7 @@ function EmailImportPanel({
28998
29015
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
28999
29016
  testId: `import-family-${family.key}`,
29000
29017
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
29001
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.ImportList, { children: [
29018
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.ImportList, { children: [
29002
29019
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
29003
29020
  EmailProviderRow,
29004
29021
  {
@@ -29082,7 +29099,7 @@ function driveProduct(vendorKey) {
29082
29099
  }
29083
29100
  function VendorGlyph2({ catalog }) {
29084
29101
  return /* @__PURE__ */ jsxRuntime.jsx(
29085
- chunkICHTDJYH_cjs.VendorLogo,
29102
+ chunkWXFPG2GS_cjs.VendorLogo,
29086
29103
  {
29087
29104
  vendorKey: catalog.vendor_key,
29088
29105
  product: driveProduct(catalog.vendor_key).glyph,
@@ -29205,7 +29222,7 @@ function OneDriveProviderRow({
29205
29222
  const driveNoun = (n) => n === 1 ? "document" : "documents";
29206
29223
  const showRunActions = isConnected && !needsReconnect;
29207
29224
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
29208
- chunkICHTDJYH_cjs.ImportActionButton,
29225
+ chunkWXFPG2GS_cjs.ImportActionButton,
29209
29226
  {
29210
29227
  onClick: () => void reconnectSelf(),
29211
29228
  disabled: reauthPending,
@@ -29214,7 +29231,7 @@ function OneDriveProviderRow({
29214
29231
  }
29215
29232
  ) : null;
29216
29233
  return /* @__PURE__ */ jsxRuntime.jsxs(
29217
- chunkICHTDJYH_cjs.ImportRow,
29234
+ chunkWXFPG2GS_cjs.ImportRow,
29218
29235
  {
29219
29236
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
29220
29237
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -29226,7 +29243,7 @@ function OneDriveProviderRow({
29226
29243
  // Until folders are configured here (or when nothing new is pending), Import now
29227
29244
  // stays disabled; the gear opens the folder picker.
29228
29245
  /* @__PURE__ */ jsxRuntime.jsx(
29229
- chunkICHTDJYH_cjs.ImportRunActions,
29246
+ chunkWXFPG2GS_cjs.ImportRunActions,
29230
29247
  {
29231
29248
  isRunning: running,
29232
29249
  isStopping: cancelSync.isPending,
@@ -29245,16 +29262,16 @@ function OneDriveProviderRow({
29245
29262
  ) : reconnectAction
29246
29263
  ),
29247
29264
  children: [
29248
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
29265
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
29249
29266
  "Couldn\u2019t reach SharePoint. Click ",
29250
29267
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
29251
29268
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
29252
29269
  ] }),
29253
29270
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
29254
- chunkICHTDJYH_cjs.ImportSummary,
29271
+ chunkWXFPG2GS_cjs.ImportSummary,
29255
29272
  {
29256
29273
  className: "mt-2",
29257
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_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,
29274
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_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,
29258
29275
  children: [
29259
29276
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
29260
29277
  "Syncing ",
@@ -29282,7 +29299,7 @@ function OneDriveProviderRow({
29282
29299
  }
29283
29300
  ),
29284
29301
  running && /* @__PURE__ */ jsxRuntime.jsx(
29285
- chunkICHTDJYH_cjs.ImportProgress,
29302
+ chunkWXFPG2GS_cjs.ImportProgress,
29286
29303
  {
29287
29304
  processed: progress?.processed ?? 0,
29288
29305
  total: progress?.total,
@@ -29346,13 +29363,13 @@ function SharePointEnableRow({
29346
29363
  }
29347
29364
  };
29348
29365
  return /* @__PURE__ */ jsxRuntime.jsx(
29349
- chunkICHTDJYH_cjs.ImportRow,
29366
+ chunkWXFPG2GS_cjs.ImportRow,
29350
29367
  {
29351
29368
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
29352
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
29369
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
29353
29370
  name: product.name,
29354
29371
  actions: /* @__PURE__ */ jsxRuntime.jsx(
29355
- chunkICHTDJYH_cjs.ImportActionButton,
29372
+ chunkWXFPG2GS_cjs.ImportActionButton,
29356
29373
  {
29357
29374
  onClick: () => void enable(),
29358
29375
  disabled: pending,
@@ -29360,7 +29377,7 @@ function SharePointEnableRow({
29360
29377
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
29361
29378
  }
29362
29379
  ),
29363
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkICHTDJYH_cjs.ImportHint, { children: [
29380
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkWXFPG2GS_cjs.ImportHint, { children: [
29364
29381
  "Does your organization require admin approval?",
29365
29382
  " ",
29366
29383
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -29409,11 +29426,11 @@ function DriveImportPanel({
29409
29426
  }
29410
29427
  const product = driveProduct(entry.vendor_key);
29411
29428
  return /* @__PURE__ */ jsxRuntime.jsx(
29412
- chunkICHTDJYH_cjs.ImportRow,
29429
+ chunkWXFPG2GS_cjs.ImportRow,
29413
29430
  {
29414
29431
  testId: `onedrive-provider-row-${entry.vendor_key}`,
29415
29432
  logo: /* @__PURE__ */ jsxRuntime.jsx(
29416
- chunkICHTDJYH_cjs.VendorLogo,
29433
+ chunkWXFPG2GS_cjs.VendorLogo,
29417
29434
  {
29418
29435
  vendorKey: entry.vendor_key,
29419
29436
  product: product.glyph,
@@ -29438,7 +29455,7 @@ function DriveImportPanel({
29438
29455
  );
29439
29456
  }).filter(Boolean);
29440
29457
  if (rows.length === 0) return null;
29441
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
29458
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
29442
29459
  }
29443
29460
  function useHasAccountsImport() {
29444
29461
  const isVendorVisible = react.useConnectorVendorVisibility();
@@ -29516,7 +29533,7 @@ function ProcessingSection({
29516
29533
  tasks,
29517
29534
  onDelete
29518
29535
  }) {
29519
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
29536
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
29520
29537
  }
29521
29538
  function ConnectedDocumentProcessingPanel({
29522
29539
  workspaceId,
@@ -29762,7 +29779,7 @@ var MENU_LABELS = {
29762
29779
  };
29763
29780
  function applyDatabaseColumns(columns, api) {
29764
29781
  const kept = (id) => api.getColumn(id) ? [id] : [];
29765
- chunkICHTDJYH_cjs.applyColumnLayout(api, [...kept(chunkAJI6XOVB_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkAJI6XOVB_cjs.ADD_COLUMN_COL_ID)]);
29782
+ chunkWXFPG2GS_cjs.applyColumnLayout(api, [...kept(chunkAJI6XOVB_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkAJI6XOVB_cjs.ADD_COLUMN_COL_ID)]);
29766
29783
  }
29767
29784
  function DatabaseViewsMenu({
29768
29785
  databaseId,
@@ -29781,7 +29798,7 @@ function DatabaseViewsMenu({
29781
29798
  [defaultColumns]
29782
29799
  );
29783
29800
  const onLoadView = react$1.useCallback(
29784
- (view, api) => chunkICHTDJYH_cjs.applyViewColumns(api, view, applyDatabaseColumns),
29801
+ (view, api) => chunkWXFPG2GS_cjs.applyViewColumns(api, view, applyDatabaseColumns),
29785
29802
  []
29786
29803
  );
29787
29804
  const onSaveView = react$1.useCallback(
@@ -29801,7 +29818,7 @@ function DatabaseViewsMenu({
29801
29818
  },
29802
29819
  [confirm, deleteView, notify17]
29803
29820
  );
29804
- const menu = chunkICHTDJYH_cjs.useGridViews({
29821
+ const menu = chunkWXFPG2GS_cjs.useGridViews({
29805
29822
  getGridApi,
29806
29823
  defaultColumns,
29807
29824
  builtins,
@@ -29814,7 +29831,7 @@ function DatabaseViewsMenu({
29814
29831
  onDeleteView,
29815
29832
  isSaving
29816
29833
  });
29817
- return /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
29834
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
29818
29835
  }
29819
29836
  function useMoveLocalViews(gridId, ready, importViews) {
29820
29837
  const localViews = react.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -30427,7 +30444,7 @@ function renderMessengerUser(user, variant) {
30427
30444
  switch (variant) {
30428
30445
  case "avatar":
30429
30446
  return /* @__PURE__ */ jsxRuntime.jsx(
30430
- chunkOAEJME5Q_cjs.ConnectedUserEntity,
30447
+ chunkDBGTR7OK_cjs.ConnectedUserEntity,
30431
30448
  {
30432
30449
  user,
30433
30450
  size: "lg",
@@ -30438,7 +30455,7 @@ function renderMessengerUser(user, variant) {
30438
30455
  );
30439
30456
  case "small-avatar":
30440
30457
  return /* @__PURE__ */ jsxRuntime.jsx(
30441
- chunkOAEJME5Q_cjs.ConnectedUserEntity,
30458
+ chunkDBGTR7OK_cjs.ConnectedUserEntity,
30442
30459
  {
30443
30460
  user,
30444
30461
  size: "sm",
@@ -30448,9 +30465,9 @@ function renderMessengerUser(user, variant) {
30448
30465
  }
30449
30466
  );
30450
30467
  case "author":
30451
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill" });
30468
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill" });
30452
30469
  case "member":
30453
- return /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill", interactive: false });
30470
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedUserEntity, { user, size: "sm", variant: "pill", interactive: false });
30454
30471
  }
30455
30472
  }
30456
30473
  var THREAD_ACCESSORS = {
@@ -31175,7 +31192,7 @@ function ConnectedRecipientSelector({
31175
31192
  setSelectorOpen(false);
31176
31193
  setSearchValue("");
31177
31194
  };
31178
- const identity = (user) => /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedUserEntity, { user, size: "xs", variant: "pill", showPresence: true, interactive: false });
31195
+ const identity = (user) => /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedUserEntity, { user, size: "xs", variant: "pill", showPresence: true, interactive: false });
31179
31196
  const selected = selectedRecipients.flatMap((id) => {
31180
31197
  const user = getUserById(id);
31181
31198
  if (!user) return [];
@@ -31836,10 +31853,10 @@ function useChatMessageToasts() {
31836
31853
  function ConnectedConfigForm({ availableModels, ...rest }) {
31837
31854
  const hasModels = !!availableModels && availableModels.length > 0;
31838
31855
  const renderModelSelect = react$1.useCallback(
31839
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
31856
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
31840
31857
  []
31841
31858
  );
31842
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
31859
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
31843
31860
  }
31844
31861
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
31845
31862
  const { notify: notify17 } = chunk25AIWOR6_cjs.useBlocksEnvironment();
@@ -31956,7 +31973,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
31956
31973
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify17]);
31957
31974
  if (editAgent) {
31958
31975
  return /* @__PURE__ */ jsxRuntime.jsx(
31959
- chunkLC7HFDCV_cjs.AgentEditView,
31976
+ chunkOTXCPTFE_cjs.AgentEditView,
31960
31977
  {
31961
31978
  agentName: editAgent.name,
31962
31979
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -31972,7 +31989,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
31972
31989
  }
31973
31990
  if (view === "main") {
31974
31991
  return /* @__PURE__ */ jsxRuntime.jsx(
31975
- chunkLC7HFDCV_cjs.AgentMainView,
31992
+ chunkOTXCPTFE_cjs.AgentMainView,
31976
31993
  {
31977
31994
  onConnectExternal: () => setView("connect"),
31978
31995
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -31988,11 +32005,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
31988
32005
  }
31989
32006
  if (result) {
31990
32007
  return /* @__PURE__ */ jsxRuntime.jsx(
31991
- chunkLC7HFDCV_cjs.AgentCreatedView,
32008
+ chunkOTXCPTFE_cjs.AgentCreatedView,
31992
32009
  {
31993
32010
  email: result.email,
31994
32011
  signingKey: result.signingKey,
31995
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
32012
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
31996
32013
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
31997
32014
  isConfigOpen: configOpen,
31998
32015
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -32001,7 +32018,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
32001
32018
  );
32002
32019
  }
32003
32020
  return /* @__PURE__ */ jsxRuntime.jsx(
32004
- chunkLC7HFDCV_cjs.AgentCreateView,
32021
+ chunkOTXCPTFE_cjs.AgentCreateView,
32005
32022
  {
32006
32023
  name,
32007
32024
  onNameChange: setName,
@@ -34011,14 +34028,14 @@ var referencesOf = (inputs) => {
34011
34028
  return value?.documents ?? [];
34012
34029
  };
34013
34030
  var PROMPT_BINDINGS = {
34014
- [chunkLC7HFDCV_cjs.GENERATE_IMAGE_ID]: {
34031
+ [chunkOTXCPTFE_cjs.GENERATE_IMAGE_ID]: {
34015
34032
  attachScope: false,
34016
34033
  tools: (inputs) => {
34017
34034
  const aspectRatio = typeof inputs.aspect_ratio === "string" ? inputs.aspect_ratio : "";
34018
34035
  return {
34019
34036
  retrieval_chunk: browser.buildRetrievalChunkTool([]),
34020
34037
  retrieval_full_context: browser.buildRetrievalFullContextTool(referencesOf(inputs)),
34021
- ...aspectRatio && aspectRatio !== chunkLC7HFDCV_cjs.IMAGE_ASPECT_AUTO ? {
34038
+ ...aspectRatio && aspectRatio !== chunkOTXCPTFE_cjs.IMAGE_ASPECT_AUTO ? {
34022
34039
  image_generation: {
34023
34040
  name: "image_generation",
34024
34041
  description: "image generation",
@@ -34039,19 +34056,19 @@ var text = (inputs, name) => {
34039
34056
  function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
34040
34057
  const { data: documents = [] } = react.useDocuments();
34041
34058
  const { data: workspaceTags = [] } = react.useTags();
34042
- const tags = react$1.useMemo(() => chunkLHQHK6MB_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
34059
+ const tags = react$1.useMemo(() => chunkR5FOAHQN_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
34043
34060
  const createTag = react.useCreateTag();
34044
34061
  const updateTag = react.useUpdateTag();
34045
34062
  const generate = react.useGenerateDocTags();
34046
- const { create: createTask } = chunk5V7JWZQ4_cjs.useWorkflowTasks();
34063
+ const { create: createTask } = chunkGQJQ75NA_cjs.useWorkflowTasks();
34047
34064
  const applyModel = react.useApplyChatModel();
34048
34065
  const session = react.useArbiSessionStore();
34049
34066
  const { notify: notify17, openFiles, openNewConversation } = chunk25AIWOR6_cjs.useBlocksEnvironment();
34050
34067
  const annotate = react$1.useCallback(
34051
34068
  async ({ inputs, scope }) => {
34052
34069
  const description = text(inputs, "description");
34053
- const name = text(inputs, "name") || chunkLC7HFDCV_cjs.deriveAnnotationName(description);
34054
- const matching = chunkLHQHK6MB_cjs.matchWorkflowScope(documents, scope);
34070
+ const name = text(inputs, "name") || chunkOTXCPTFE_cjs.deriveAnnotationName(description);
34071
+ const matching = chunkR5FOAHQN_cjs.matchWorkflowScope(documents, scope);
34055
34072
  if (!name || !description || matching.length === 0) return;
34056
34073
  try {
34057
34074
  const existing = tags.find((t) => t.name.toLowerCase() === name.toLowerCase());
@@ -34094,9 +34111,9 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
34094
34111
  async (launch) => {
34095
34112
  const { workflow, inputs, scope, agentId } = launch;
34096
34113
  if (workflow.run.kind === "operation") {
34097
- if (workflow.id === chunkLC7HFDCV_cjs.ANNOTATE_ID) {
34114
+ if (workflow.id === chunkOTXCPTFE_cjs.ANNOTATE_ID) {
34098
34115
  await annotate(launch);
34099
- chunkLC7HFDCV_cjs.recordWorkflowUse(workflow.id);
34116
+ chunkOTXCPTFE_cjs.recordWorkflowUse(workflow.id);
34100
34117
  return;
34101
34118
  }
34102
34119
  throw new Error(`No host handler for workflow "${workflow.id}"`);
@@ -34106,7 +34123,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
34106
34123
  );
34107
34124
  const prompt = chunk555BS22J_cjs.composeWorkflowPrompt(workflow, inputs, { documentTitles });
34108
34125
  if (!prompt) return;
34109
- chunkLC7HFDCV_cjs.recordWorkflowUse(workflow.id);
34126
+ chunkOTXCPTFE_cjs.recordWorkflowUse(workflow.id);
34110
34127
  if (agentId) {
34111
34128
  try {
34112
34129
  const created = await createTask({
@@ -34151,7 +34168,7 @@ function useLaunchWorkflow({ landing: surfaceLanding } = {}) {
34151
34168
  const binding = PROMPT_BINDINGS[workflow.id];
34152
34169
  if (!inPlace) openNewConversation();
34153
34170
  if (binding?.attachScope !== false && !chunk555BS22J_cjs.isEmptyWorkflowScope(scope)) {
34154
- const ids = chunkLHQHK6MB_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
34171
+ const ids = chunkR5FOAHQN_cjs.matchWorkflowScope(documents, scope).map((d) => d.external_id);
34155
34172
  if (ids.length > 0) {
34156
34173
  session.setConversationDocuments(
34157
34174
  inPlace ? session.getState().conversationId ?? "new" : "new",
@@ -34186,30 +34203,30 @@ function ConnectedWorkflowStart({
34186
34203
  const onLaunch = useLaunchWorkflow({ landing });
34187
34204
  const { openUpload } = chunk25AIWOR6_cjs.useBlocksEnvironment();
34188
34205
  const { data: workspaceTags = [] } = react.useTags();
34189
- const tags = react$1.useMemo(() => chunkLHQHK6MB_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
34206
+ const tags = react$1.useMemo(() => chunkR5FOAHQN_cjs.documentScopeLabels(workspaceTags), [workspaceTags]);
34190
34207
  const fieldPlaceholder = react$1.useCallback(
34191
34208
  (field, inputs, workflow) => {
34192
- if (workflow.id !== chunkLC7HFDCV_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
34193
- const derived = chunkLC7HFDCV_cjs.deriveAnnotationName(String(inputs.description ?? ""));
34209
+ if (workflow.id !== chunkOTXCPTFE_cjs.ANNOTATE_ID || field.name !== "name") return void 0;
34210
+ const derived = chunkOTXCPTFE_cjs.deriveAnnotationName(String(inputs.description ?? ""));
34194
34211
  return derived ? `Otherwise \u201C${derived}\u201D` : "Taken from the description";
34195
34212
  },
34196
34213
  []
34197
34214
  );
34198
34215
  return /* @__PURE__ */ jsxRuntime.jsx(
34199
- chunkUHP6AP6C_cjs.ConnectedWorkflowLauncher,
34216
+ chunk3YMV2F5F_cjs.ConnectedWorkflowLauncher,
34200
34217
  {
34201
34218
  ...rest,
34202
34219
  workflows,
34203
34220
  onLaunch,
34204
- renderIcon: chunkLC7HFDCV_cjs.renderWorkflowIcon,
34221
+ renderIcon: chunkOTXCPTFE_cjs.renderWorkflowIcon,
34205
34222
  onAddFiles: openUpload,
34206
34223
  agentLabels: AGENT_LABELS,
34207
34224
  addFilesAction,
34208
34225
  fieldPlaceholder,
34209
- submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkLC7HFDCV_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
34226
+ submitLabel: ({ workflow, matchedCount }) => workflow.id === chunkOTXCPTFE_cjs.ANNOTATE_ID && matchedCount !== null ? `Annotate ${matchedCount} document${matchedCount !== 1 ? "s" : ""}` : void 0,
34210
34227
  renderNotice: ({ workflow, inputs }) => {
34211
- if (workflow.id !== chunkLC7HFDCV_cjs.ANNOTATE_ID) return null;
34212
- const name = String(inputs.name ?? "").trim() || chunkLC7HFDCV_cjs.deriveAnnotationName(String(inputs.description ?? ""));
34228
+ if (workflow.id !== chunkOTXCPTFE_cjs.ANNOTATE_ID) return null;
34229
+ const name = String(inputs.name ?? "").trim() || chunkOTXCPTFE_cjs.deriveAnnotationName(String(inputs.description ?? ""));
34213
34230
  const existing = name ? tags.find((t) => t.name.toLowerCase() === name.toLowerCase()) : void 0;
34214
34231
  if (!existing) return null;
34215
34232
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -34246,9 +34263,9 @@ function resolveLaunchInputs(workflow, request) {
34246
34263
  return { ...fromContext, ...fromScope, ...request.inputs };
34247
34264
  }
34248
34265
  function useWorkflowLaunch() {
34249
- const { skills } = chunk5V7JWZQ4_cjs.useWorkflowDefinitions();
34266
+ const { skills } = chunkGQJQ75NA_cjs.useWorkflowDefinitions();
34250
34267
  const launch = react$1.useCallback(
34251
- (workflowId, options2 = {}) => chunkLC7HFDCV_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
34268
+ (workflowId, options2 = {}) => chunkOTXCPTFE_cjs.openWorkflowLaunch({ workflowId, ...options2 }),
34252
34269
  []
34253
34270
  );
34254
34271
  const itemsFor = react$1.useCallback(
@@ -34277,9 +34294,9 @@ function useWorkflowLaunch() {
34277
34294
  return { launch, itemsFor, scopeItemsFor };
34278
34295
  }
34279
34296
  function Inner() {
34280
- const request = chunkLC7HFDCV_cjs.useWorkflowLaunchRequest();
34281
- const close = chunkLC7HFDCV_cjs.closeWorkflowLaunch;
34282
- const { skills } = chunk5V7JWZQ4_cjs.useWorkflowDefinitions();
34297
+ const request = chunkOTXCPTFE_cjs.useWorkflowLaunchRequest();
34298
+ const close = chunkOTXCPTFE_cjs.closeWorkflowLaunch;
34299
+ const { skills } = chunkGQJQ75NA_cjs.useWorkflowDefinitions();
34283
34300
  const run = useLaunchWorkflow({ landing: request?.landing });
34284
34301
  const workflow = skills.find((w) => w.id === request?.workflowId);
34285
34302
  const inputs = react$1.useMemo(
@@ -34316,7 +34333,7 @@ function Inner() {
34316
34333
  );
34317
34334
  }
34318
34335
  function WorkflowLaunchHost() {
34319
- return chunkLC7HFDCV_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
34336
+ return chunkOTXCPTFE_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
34320
34337
  }
34321
34338
  function isNeedsConfirmationDetail(detail) {
34322
34339
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -34628,7 +34645,7 @@ function ConnectedConversationSettings() {
34628
34645
  /* @__PURE__ */ jsxRuntime.jsx(
34629
34646
  chunkQB7PNQDJ_cjs.ModelSelectionSection,
34630
34647
  {
34631
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedModelSelector, {}),
34648
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedModelSelector, {}),
34632
34649
  onUseDefaults: settings.resetToDefaults
34633
34650
  }
34634
34651
  )
@@ -34685,7 +34702,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
34685
34702
  testId: "workspace-transfer-modal"
34686
34703
  }
34687
34704
  ),
34688
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
34705
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
34689
34706
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
34690
34707
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose })
34691
34708
  };
@@ -34726,7 +34743,7 @@ var ConversationEntity = react$1.memo(function ConversationEntity2({
34726
34743
  );
34727
34744
  const icon2 = /* @__PURE__ */ jsxRuntime.jsx(ui.ThreadVisibilityIcon, { shared: isShared, className: "w-4 h-4 shrink-0" });
34728
34745
  return /* @__PURE__ */ jsxRuntime.jsx(
34729
- chunkY37HQ4M2_cjs.EntityChip,
34746
+ chunkUICJN7O2_cjs.EntityChip,
34730
34747
  {
34731
34748
  icon: icon2,
34732
34749
  label: title,
@@ -34745,7 +34762,7 @@ function WorkflowRunStatusCell({ conversation }) {
34745
34762
  });
34746
34763
  const { data: members = [] } = react.useWorkspaceUsers();
34747
34764
  const me = react.useArbiSession().user?.external_id;
34748
- const steps = chunkY37HQ4M2_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
34765
+ const steps = chunkUICJN7O2_cjs.fromPlanSteps(conversation.plan?.steps ?? []);
34749
34766
  const states = chunk555BS22J_cjs.stepStatesFromActivity(activity.data ?? []);
34750
34767
  const nameOf = (id) => {
34751
34768
  if (id === me) return "you";
@@ -34753,7 +34770,7 @@ function WorkflowRunStatusCell({ conversation }) {
34753
34770
  return person ? ui.getUserDisplayName(person) : void 0;
34754
34771
  };
34755
34772
  return /* @__PURE__ */ jsxRuntime.jsx(
34756
- chunkLC7HFDCV_cjs.WorkflowRunStatus,
34773
+ chunkOTXCPTFE_cjs.WorkflowRunStatus,
34757
34774
  {
34758
34775
  steps,
34759
34776
  states,
@@ -34787,7 +34804,7 @@ function ConversationStatusCell({ conversation }) {
34787
34804
  if (conversation.plan?.steps?.length && !isLiveGenerating)
34788
34805
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
34789
34806
  return /* @__PURE__ */ jsxRuntime.jsx(
34790
- chunkLC7HFDCV_cjs.ThreadStatusLine,
34807
+ chunkOTXCPTFE_cjs.ThreadStatusLine,
34791
34808
  {
34792
34809
  state: threadStateOf(conversation, isLiveGenerating),
34793
34810
  className: "h-full",
@@ -35073,7 +35090,7 @@ function useThreadLabels(canEditShared) {
35073
35090
  ).map((label) => label.id)
35074
35091
  );
35075
35092
  return /* @__PURE__ */ jsxRuntime.jsx(
35076
- chunkICHTDJYH_cjs.BulkLabelSelectView,
35093
+ chunkWXFPG2GS_cjs.BulkLabelSelectView,
35077
35094
  {
35078
35095
  options: options2,
35079
35096
  appliedIds: all,
@@ -35272,7 +35289,7 @@ function ConnectedTaskStartDialog({
35272
35289
  };
35273
35290
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
35274
35291
  /* @__PURE__ */ jsxRuntime.jsx(
35275
- chunkLC7HFDCV_cjs.TaskStartDialog,
35292
+ chunkOTXCPTFE_cjs.TaskStartDialog,
35276
35293
  {
35277
35294
  open: open && !later,
35278
35295
  onOpenChange: (next) => {
@@ -35297,14 +35314,14 @@ function ConnectedTaskStartDialog({
35297
35314
  }
35298
35315
  ),
35299
35316
  later && /* @__PURE__ */ jsxRuntime.jsx(
35300
- chunk5V7JWZQ4_cjs.ConnectedTaskComposer,
35317
+ chunkGQJQ75NA_cjs.ConnectedTaskComposer,
35301
35318
  {
35302
35319
  open: true,
35303
35320
  onOpenChange: (next) => !next && setLater(null),
35304
35321
  kind: "workflow",
35305
35322
  startLater: true,
35306
35323
  initialPrompt: later.prompt,
35307
- initialWorkflowId: later.todo ? chunkLC7HFDCV_cjs.REMIND_TASK_ID : void 0,
35324
+ initialWorkflowId: later.todo ? chunkOTXCPTFE_cjs.REMIND_TASK_ID : void 0,
35308
35325
  initialShared: later.shared,
35309
35326
  launchWorkflow: later.workflow
35310
35327
  }
@@ -35324,7 +35341,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
35324
35341
  setDraft("");
35325
35342
  };
35326
35343
  return /* @__PURE__ */ jsxRuntime.jsx(chunkONUY3NPW_cjs.ComposerDock, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkONUY3NPW_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
35327
- chunkOAEJME5Q_cjs.ConversationComposer,
35344
+ chunkDBGTR7OK_cjs.ConversationComposer,
35328
35345
  {
35329
35346
  value: draft,
35330
35347
  onValueChange: setDraft,
@@ -35332,7 +35349,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
35332
35349
  handleSendMessage: send,
35333
35350
  isConversationEmpty: true,
35334
35351
  shouldOfferFollowUp: false,
35335
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedModelSelector, { variant: "compact" }),
35352
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedModelSelector, { variant: "compact" }),
35336
35353
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkONUY3NPW_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
35337
35354
  }
35338
35355
  ) }) });
@@ -35359,13 +35376,13 @@ function ConnectedNewThreadDialog({
35359
35376
  });
35360
35377
  const parentOptions = react$1.useMemo(() => {
35361
35378
  const leaf = { external_id: "__new__" };
35362
- return chunkLC7HFDCV_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
35379
+ return chunkOTXCPTFE_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
35363
35380
  id: t.external_id,
35364
35381
  name: t.title?.trim() || "Untitled task"
35365
35382
  }));
35366
35383
  }, [tasks]);
35367
35384
  const submit = async (values) => {
35368
- const request = chunkLC7HFDCV_cjs.newThreadToRequest(values);
35385
+ const request = chunkOTXCPTFE_cjs.newThreadToRequest(values);
35369
35386
  try {
35370
35387
  if (!workspaceId) throw new Error("Open a workspace to add a task.");
35371
35388
  if (!request.startAssistant && request.todo) {
@@ -35406,7 +35423,7 @@ function ConnectedNewThreadDialog({
35406
35423
  }
35407
35424
  };
35408
35425
  return /* @__PURE__ */ jsxRuntime.jsx(
35409
- chunkLC7HFDCV_cjs.NewThreadDialog,
35426
+ chunkOTXCPTFE_cjs.NewThreadDialog,
35410
35427
  {
35411
35428
  open,
35412
35429
  onOpenChange,
@@ -35422,7 +35439,7 @@ function ConnectedNewThreadDialog({
35422
35439
  var START_VISIBLE = 8;
35423
35440
  var START_SEARCH_ABOVE = 8;
35424
35441
  function ConnectedConversationStart() {
35425
- const { start } = chunk5V7JWZQ4_cjs.useWorkflowDefinitions();
35442
+ const { start } = chunkGQJQ75NA_cjs.useWorkflowDefinitions();
35426
35443
  const { openSkillsBrowser } = chunk25AIWOR6_cjs.useBlocksEnvironment();
35427
35444
  const [query, setQuery] = react$1.useState("");
35428
35445
  const q = query.trim().toLowerCase();
@@ -35437,7 +35454,7 @@ function ConnectedConversationStart() {
35437
35454
  const browse = openSkillsBrowser ? [
35438
35455
  {
35439
35456
  id: "browse-all",
35440
- iconNode: chunkLC7HFDCV_cjs.renderWorkflowIcon("library"),
35457
+ iconNode: chunkOTXCPTFE_cjs.renderWorkflowIcon("library"),
35441
35458
  title: "Browse all",
35442
35459
  description: "See every skill, make a copy, add your own",
35443
35460
  onSelect: () => openSkillsBrowser(),
@@ -35481,7 +35498,7 @@ function parseTypedSkill(draft) {
35481
35498
  return m ? { slug: m[1].toLowerCase(), text: (m[2] ?? "").trim() } : null;
35482
35499
  }
35483
35500
  function useSlashSkillWorkflows({ landing }) {
35484
- const { skills, skillsEnabled } = chunk5V7JWZQ4_cjs.useWorkflowDefinitions();
35501
+ const { skills, skillsEnabled } = chunkGQJQ75NA_cjs.useWorkflowDefinitions();
35485
35502
  const { commands } = react.useBuiltinCommands();
35486
35503
  const [active, setActive] = react$1.useState(null);
35487
35504
  const open = (workflow, text2) => {
@@ -35587,7 +35604,7 @@ function AgentBarShell({
35587
35604
  }, [isStepsExpanded, steps]);
35588
35605
  const visibleStepCount = react$1.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
35589
35606
  return /* @__PURE__ */ jsxRuntime.jsx(
35590
- chunkLC7HFDCV_cjs.AgentBar,
35607
+ chunkOTXCPTFE_cjs.AgentBar,
35591
35608
  {
35592
35609
  className,
35593
35610
  testId,
@@ -35599,7 +35616,7 @@ function AgentBarShell({
35599
35616
  drawerRef: scrollRef,
35600
35617
  onDrawerScroll: handleDrawerScroll,
35601
35618
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
35602
- chunkOAEJME5Q_cjs.AgentSteps,
35619
+ chunkDBGTR7OK_cjs.AgentSteps,
35603
35620
  {
35604
35621
  steps: stepList,
35605
35622
  isStreaming,
@@ -35643,7 +35660,7 @@ function AgentControlBar({
35643
35660
  const isPaused = controlState === "paused" || controlState === "resuming";
35644
35661
  const steps = agentSteps ?? [];
35645
35662
  const currentStep = browser.getCurrentStep(steps);
35646
- const currentPresentation = chunkY37HQ4M2_cjs.getCurrentAgentStepPresentation(steps);
35663
+ const currentPresentation = chunkUICJN7O2_cjs.getCurrentAgentStepPresentation(steps);
35647
35664
  const CurrentStepIcon = currentPresentation?.Icon;
35648
35665
  const stepLabel2 = currentPresentation?.description ?? "Agent working\u2026";
35649
35666
  const runningLanes = browser.extractSubagentLanes(steps).filter((l) => l.status === "running");
@@ -35651,7 +35668,7 @@ function AgentControlBar({
35651
35668
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
35652
35669
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
35653
35670
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
35654
- chunkOAEJME5Q_cjs.MessageLiveSeconds,
35671
+ chunkDBGTR7OK_cjs.MessageLiveSeconds,
35655
35672
  {
35656
35673
  ...liveTimer,
35657
35674
  offsetSeconds: currentStep?.t ?? 0,
@@ -35660,7 +35677,7 @@ function AgentControlBar({
35660
35677
  }
35661
35678
  );
35662
35679
  const status = /* @__PURE__ */ jsxRuntime.jsx(
35663
- chunkLC7HFDCV_cjs.AgentBarStatus,
35680
+ chunkOTXCPTFE_cjs.AgentBarStatus,
35664
35681
  {
35665
35682
  state: showState ? controlState : void 0,
35666
35683
  stateLabel: STATE_LABEL[controlState],
@@ -35702,7 +35719,7 @@ function AgentControlBar({
35702
35719
  ];
35703
35720
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
35704
35721
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
35705
- chunkLC7HFDCV_cjs.AgentBarIconButton,
35722
+ chunkOTXCPTFE_cjs.AgentBarIconButton,
35706
35723
  {
35707
35724
  onClick: onStop,
35708
35725
  title: "Stop",
@@ -35711,22 +35728,22 @@ function AgentControlBar({
35711
35728
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
35712
35729
  }
35713
35730
  ),
35714
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.AgentBarMenu, { items: menuItems })
35731
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.AgentBarMenu, { items: menuItems })
35715
35732
  ] });
35716
35733
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
35717
35734
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
35718
35735
  );
35719
35736
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
35720
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.AgentBarNotes, { children: [
35737
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.AgentBarNotes, { children: [
35721
35738
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
35722
- chunkLC7HFDCV_cjs.AgentBarQueuedNote,
35739
+ chunkOTXCPTFE_cjs.AgentBarQueuedNote,
35723
35740
  {
35724
35741
  text: message.content ?? "",
35725
35742
  isAcknowledged: message.acknowledged
35726
35743
  },
35727
35744
  index
35728
35745
  )),
35729
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
35746
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
35730
35747
  ] }) : null;
35731
35748
  return /* @__PURE__ */ jsxRuntime.jsx(
35732
35749
  AgentBarShell,
@@ -35770,8 +35787,8 @@ function retrievedSources(citationData, docTitles) {
35770
35787
  var SourceChips = ({ messageId, citations, citationData }) => {
35771
35788
  const compact = chunkMCXS6X37_cjs.useCompactChat();
35772
35789
  const session = react.useArbiSessionStore();
35773
- const openChunk = chunkOAEJME5Q_cjs.useOpenChunk();
35774
- const docTitles = chunkOAEJME5Q_cjs.useWorkspaceDocTitles();
35790
+ const openChunk = chunkDBGTR7OK_cjs.useOpenChunk();
35791
+ const docTitles = chunkDBGTR7OK_cjs.useWorkspaceDocTitles();
35775
35792
  const sources = react$1.useMemo(() => {
35776
35793
  if (!citations) return retrievedSources(citationData, docTitles);
35777
35794
  const chunkMap = /* @__PURE__ */ new Map();
@@ -35943,7 +35960,7 @@ function ConnectedConversationEmpty({
35943
35960
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
35944
35961
  }
35945
35962
  ),
35946
- /* @__PURE__ */ jsxRuntime.jsx(chunkICHTDJYH_cjs.PrivacyExplainerModal, {})
35963
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWXFPG2GS_cjs.PrivacyExplainerModal, {})
35947
35964
  ] })
35948
35965
  }
35949
35966
  );
@@ -36729,7 +36746,7 @@ function ConversationThread({
36729
36746
  }, [isGenerating]);
36730
36747
  const slashWorkflows = useSlashSkillWorkflows({ landing: "current-chat" });
36731
36748
  const composerSkills = react$1.useMemo(
36732
- () => ({ builtin: chunkLC7HFDCV_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
36749
+ () => ({ builtin: chunkOTXCPTFE_cjs.BUILTIN_SKILLS, openFor: slashWorkflows.openFor }),
36733
36750
  [slashWorkflows.openFor]
36734
36751
  );
36735
36752
  const browseSkills = react$1.useMemo(
@@ -36778,7 +36795,7 @@ function ConversationThread({
36778
36795
  useStartRequestedDraft();
36779
36796
  const orphanedMessage = react.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
36780
36797
  return /* @__PURE__ */ jsxRuntime.jsxs(chunk5SXODQEV_cjs.ConversationBody, { children: [
36781
- /* @__PURE__ */ jsxRuntime.jsx(chunk5SXODQEV_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk5SXODQEV_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQOV564TW_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
36798
+ /* @__PURE__ */ jsxRuntime.jsx(chunk5SXODQEV_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunk5SXODQEV_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQOV564TW_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
36782
36799
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
36783
36800
  chunkC5YZWJCC_cjs.ConversationFilter,
36784
36801
  {
@@ -36796,7 +36813,7 @@ function ConversationThread({
36796
36813
  ]
36797
36814
  }
36798
36815
  ) }),
36799
- /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
36816
+ /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
36800
36817
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkL6DAJUDF_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
36801
36818
  ] }) }) : meetingCallExtId ? (
36802
36819
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -36804,7 +36821,7 @@ function ConversationThread({
36804
36821
  /* @__PURE__ */ jsxRuntime.jsx(chunkL6DAJUDF_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
36805
36822
  /* @__PURE__ */ jsxRuntime.jsx(chunkL6DAJUDF_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
36806
36823
  ] })
36807
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkOAEJME5Q_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
36824
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkDBGTR7OK_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
36808
36825
  ConnectedConversationEmpty,
36809
36826
  {
36810
36827
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -36875,7 +36892,7 @@ function ConversationThread({
36875
36892
  children: react.READ_ONLY_MEETING_TEXT
36876
36893
  }
36877
36894
  ) : /* @__PURE__ */ jsxRuntime.jsx(
36878
- chunkOAEJME5Q_cjs.ConversationComposer,
36895
+ chunkDBGTR7OK_cjs.ConversationComposer,
36879
36896
  {
36880
36897
  handleSendMessage: handleUserSend,
36881
36898
  placeholder: pendingAnswer ? "Type your answer to ARBI \u2014 or pick an option above" : void 0,
@@ -37224,7 +37241,7 @@ function ConnectedThreadsPage({
37224
37241
  };
37225
37242
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
37226
37243
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
37227
- chunkLC7HFDCV_cjs.ConversationListView,
37244
+ chunkOTXCPTFE_cjs.ConversationListView,
37228
37245
  {
37229
37246
  showHeader,
37230
37247
  conversations: tasks,
@@ -37243,7 +37260,7 @@ function ConnectedThreadsPage({
37243
37260
  renderLabels: threadLabels.renderLabels,
37244
37261
  labelText: threadLabels.labelText,
37245
37262
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
37246
- chunkLC7HFDCV_cjs.ConversationTurnSpeaker,
37263
+ chunkOTXCPTFE_cjs.ConversationTurnSpeaker,
37247
37264
  {
37248
37265
  variant: "icon",
37249
37266
  role: row2.last_message_role,
@@ -37498,7 +37515,7 @@ function ConnectedConversationPage({
37498
37515
  );
37499
37516
  const { data: workspaceTags = [] } = react.useTags();
37500
37517
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
37501
- const historyCount = chunkLC7HFDCV_cjs.filterConversationRows(
37518
+ const historyCount = chunkOTXCPTFE_cjs.filterConversationRows(
37502
37519
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
37503
37520
  threadFilter,
37504
37521
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -37557,7 +37574,7 @@ function ConnectedConversationPage({
37557
37574
  ] })
37558
37575
  }
37559
37576
  ),
37560
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk5V7JWZQ4_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
37577
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkGQJQ75NA_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
37561
37578
  ] }),
37562
37579
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
37563
37580
  ConversationThread,
@@ -37584,7 +37601,7 @@ function ConnectedConversationPage({
37584
37601
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk5SXODQEV_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
37585
37602
  ] }),
37586
37603
  /* @__PURE__ */ jsxRuntime.jsx(
37587
- chunkICHTDJYH_cjs.UrlInputDialog,
37604
+ chunkWXFPG2GS_cjs.UrlInputDialog,
37588
37605
  {
37589
37606
  open: urlDialogOpen,
37590
37607
  onOpenChange: setUrlDialogOpen,
@@ -38256,7 +38273,7 @@ function SsoResendVerificationButton({
38256
38273
  onClick: async () => handleResendEmailVerification(),
38257
38274
  disabled: loading || disabled,
38258
38275
  "aria-label": "Resend verification email",
38259
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkUFGC77KR_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38276
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkNOLUVCAJ_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38260
38277
  "Didn't get a verification email? ",
38261
38278
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
38262
38279
  ] })
@@ -38267,16 +38284,16 @@ function SsoResendVerificationButton({
38267
38284
  }
38268
38285
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
38269
38286
  function ConnectedSsoCallback() {
38270
- const sso = chunkOAEJME5Q_cjs.useSsoSignIn();
38287
+ const sso = chunkDBGTR7OK_cjs.useSsoSignIn();
38271
38288
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
38272
- const auth = chunkOAEJME5Q_cjs.useAuthPages();
38289
+ const auth = chunkDBGTR7OK_cjs.useAuthPages();
38273
38290
  const { notify: notify17, navigate } = chunk25AIWOR6_cjs.useBlocksEnvironment();
38274
38291
  const passwordRules = auth.passwordRules;
38275
38292
  const isProcessing = react$1.useRef(false);
38276
38293
  const hasCheckedStatus = react$1.useRef(false);
38277
38294
  const [accessToken, setAccessToken] = react$1.useState(null);
38278
38295
  const [ssoStatus, setSsoStatus] = react$1.useState(null);
38279
- const ssoName = react$1.useMemo(() => chunkOAEJME5Q_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
38296
+ const ssoName = react$1.useMemo(() => chunkDBGTR7OK_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
38280
38297
  const [password, setPassword] = react$1.useState("");
38281
38298
  const [confirmPassword, setConfirmPassword] = react$1.useState("");
38282
38299
  const [error, setError] = react$1.useState(null);
@@ -38454,7 +38471,7 @@ function ConnectedSsoCallback() {
38454
38471
  setIsCheckingStatus(true);
38455
38472
  try {
38456
38473
  console.info("[SSO] Checking user status...");
38457
- const response = await chunkOAEJME5Q_cjs.ssoAccountStatus(arbi, accessToken, user);
38474
+ const response = await chunkDBGTR7OK_cjs.ssoAccountStatus(arbi, accessToken, user);
38458
38475
  console.info("[SSO] User status:", response.status);
38459
38476
  setSsoStatus(response);
38460
38477
  } catch (error2) {
@@ -38498,7 +38515,7 @@ function ConnectedSsoCallback() {
38498
38515
  setIsSubmitting(true);
38499
38516
  setError(null);
38500
38517
  try {
38501
- const { login, registered, linked } = await chunkOAEJME5Q_cjs.completeSsoSignIn(arbi, {
38518
+ const { login, registered, linked } = await chunkDBGTR7OK_cjs.completeSsoSignIn(arbi, {
38502
38519
  token: accessToken,
38503
38520
  user,
38504
38521
  status: ssoStatus,
@@ -38780,7 +38797,7 @@ function ConnectedSsoCallback() {
38780
38797
  ssoStatus.status !== "new_user" && auth.footer
38781
38798
  ] }),
38782
38799
  /* @__PURE__ */ jsxRuntime.jsx(
38783
- chunkOAEJME5Q_cjs.ConnectedForgotPassword,
38800
+ chunkDBGTR7OK_cjs.ConnectedForgotPassword,
38784
38801
  {
38785
38802
  open: showForgotPasswordModal,
38786
38803
  onOpenChange: setShowForgotPasswordModal,
@@ -38788,7 +38805,7 @@ function ConnectedSsoCallback() {
38788
38805
  }
38789
38806
  ),
38790
38807
  /* @__PURE__ */ jsxRuntime.jsx(
38791
- chunkOAEJME5Q_cjs.ConnectedPasswordChangeDialog,
38808
+ chunkDBGTR7OK_cjs.ConnectedPasswordChangeDialog,
38792
38809
  {
38793
38810
  open: showChangePasswordModal,
38794
38811
  onClose: () => setShowChangePasswordModal(false),
@@ -38950,7 +38967,7 @@ function ConnectedRecoveryKeyDialog({
38950
38967
  const arbi = react.useArbi();
38951
38968
  const { user, isSso: isSsoMode } = react.useArbiSession();
38952
38969
  const userEmail = user?.email;
38953
- const sso = chunkOAEJME5Q_cjs.useSsoSignIn();
38970
+ const sso = chunkDBGTR7OK_cjs.useSsoSignIn();
38954
38971
  const handleVerify = async () => {
38955
38972
  setError(null);
38956
38973
  if (!password) {
@@ -39150,27 +39167,27 @@ function ConnectedOAuthConsentPage({
39150
39167
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
39151
39168
  }
39152
39169
  if (error && !params) {
39153
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
39170
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
39154
39171
  }
39155
39172
  if (!params) {
39156
39173
  return null;
39157
39174
  }
39158
39175
  if (clientInfo?.isLocalAgentFlow) {
39159
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_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." }) });
39176
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_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." }) });
39160
39177
  }
39161
39178
  if (!isAuthenticated2) {
39162
39179
  return null;
39163
39180
  }
39164
39181
  if (callbackUrl) {
39165
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentCard, { size: "md", children: [
39166
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
39182
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentCard, { size: "md", children: [
39183
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
39167
39184
  "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",
39168
39185
  " ",
39169
39186
  copied ? "it's already copied to your clipboard." : "copy it first."
39170
39187
  ] }),
39171
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentSection, { title: "Callback URL", children: [
39172
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
39173
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentText, { variant: "hint", children: [
39188
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentSection, { title: "Callback URL", children: [
39189
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
39190
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentText, { variant: "hint", children: [
39174
39191
  "In Claude Code, paste the URL at the prompt that says",
39175
39192
  " ",
39176
39193
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -39179,17 +39196,17 @@ function ConnectedOAuthConsentPage({
39179
39196
  ] })
39180
39197
  ] }) });
39181
39198
  }
39182
- return /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentCard, { children: [
39183
- /* @__PURE__ */ jsxRuntime.jsxs(chunkLC7HFDCV_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
39184
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
39199
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentCard, { children: [
39200
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkOTXCPTFE_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
39201
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
39185
39202
  " is requesting access to your ",
39186
39203
  appName,
39187
39204
  " workspace."
39188
39205
  ] }),
39189
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentPermissionList, { items: permissions }) }),
39190
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentNotice, { tone: "error", children: error }),
39191
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
39192
- /* @__PURE__ */ jsxRuntime.jsx(chunkLC7HFDCV_cjs.ConsentFootnote, { children: footnote })
39206
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentPermissionList, { items: permissions }) }),
39207
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentNotice, { tone: "error", children: error }),
39208
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
39209
+ /* @__PURE__ */ jsxRuntime.jsx(chunkOTXCPTFE_cjs.ConsentFootnote, { children: footnote })
39193
39210
  ] }) });
39194
39211
  }
39195
39212
  function ConnectedSharedFilesPage({
@@ -39514,7 +39531,7 @@ function ConnectedTipBar({
39514
39531
  className,
39515
39532
  revealOnHover = false
39516
39533
  }) {
39517
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkOAEJME5Q_cjs.useContextualHints();
39534
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkDBGTR7OK_cjs.useContextualHints();
39518
39535
  const { dismissed, dismissTip } = react.useDismissedTips();
39519
39536
  const { notify: notify17 } = chunk25AIWOR6_cjs.useBlocksEnvironment();
39520
39537
  const { data: workspaces } = react.useWorkspaces();
@@ -39525,7 +39542,7 @@ function ConnectedTipBar({
39525
39542
  workspaceOpen,
39526
39543
  ...state
39527
39544
  };
39528
- const { tip, index, count: count2, previous, next, onHoverChange } = chunkUFGC77KR_cjs.useTipsPlacement({
39545
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunkNOLUVCAJ_cjs.useTipsPlacement({
39529
39546
  registry,
39530
39547
  context,
39531
39548
  state: situation,
@@ -39603,7 +39620,7 @@ function useGettingStarted({
39603
39620
  const { user } = react.useArbiSession();
39604
39621
  const userExtId = user?.external_id;
39605
39622
  const temporaryOnly = user?.temporary_access_only === true;
39606
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkOAEJME5Q_cjs.useContextualHints();
39623
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkDBGTR7OK_cjs.useContextualHints();
39607
39624
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react.useDismissedTips();
39608
39625
  const welcomeJourneyEnabled = react.useFeature("welcomeJourney");
39609
39626
  const session = react.useArbiSessionStore();
@@ -39837,8 +39854,8 @@ function createTaggedContentNavigation({
39837
39854
  closePanels();
39838
39855
  layout.setTransientView("topbar.filter", "");
39839
39856
  if (kind === "documents") {
39840
- chunkDF7ZATID_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
39841
- chunkDF7ZATID_cjs.useFilesPrefs.getState().setViewMode("grid");
39857
+ chunkGUMGUNMW_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
39858
+ chunkGUMGUNMW_cjs.useFilesPrefs.getState().setViewMode("grid");
39842
39859
  layout.setPage("documents");
39843
39860
  } else if (kind === "facts") {
39844
39861
  setFactFilters({ [tagId]: "include" });
@@ -39910,15 +39927,15 @@ Object.defineProperty(exports, "useRewardBalance", {
39910
39927
  });
39911
39928
  Object.defineProperty(exports, "ConnectedTagEntity", {
39912
39929
  enumerable: true,
39913
- get: function () { return chunkCRSEWNDP_cjs.ConnectedTagEntity; }
39930
+ get: function () { return chunkSLBHYIVZ_cjs.ConnectedTagEntity; }
39914
39931
  });
39915
39932
  Object.defineProperty(exports, "documentFieldContent", {
39916
39933
  enumerable: true,
39917
- get: function () { return chunkCRSEWNDP_cjs.documentFieldContent; }
39934
+ get: function () { return chunkSLBHYIVZ_cjs.documentFieldContent; }
39918
39935
  });
39919
39936
  Object.defineProperty(exports, "useMemberLookup", {
39920
39937
  enumerable: true,
39921
- get: function () { return chunkCRSEWNDP_cjs.useMemberLookup; }
39938
+ get: function () { return chunkSLBHYIVZ_cjs.useMemberLookup; }
39922
39939
  });
39923
39940
  Object.defineProperty(exports, "ConnectedAssistantDock", {
39924
39941
  enumerable: true,
@@ -39954,443 +39971,443 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
39954
39971
  });
39955
39972
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
39956
39973
  enumerable: true,
39957
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedTaskActivityDialog; }
39974
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedTaskActivityDialog; }
39958
39975
  });
39959
39976
  Object.defineProperty(exports, "ConnectedTaskComposer", {
39960
39977
  enumerable: true,
39961
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedTaskComposer; }
39978
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedTaskComposer; }
39962
39979
  });
39963
39980
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
39964
39981
  enumerable: true,
39965
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedThreadTaskBar; }
39982
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedThreadTaskBar; }
39966
39983
  });
39967
39984
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
39968
39985
  enumerable: true,
39969
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedWorkflowHistory; }
39986
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedWorkflowHistory; }
39970
39987
  });
39971
39988
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
39972
39989
  enumerable: true,
39973
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedWorkflowRunPage; }
39990
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedWorkflowRunPage; }
39974
39991
  });
39975
39992
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
39976
39993
  enumerable: true,
39977
- get: function () { return chunk5V7JWZQ4_cjs.ConnectedWorkflowRunner; }
39994
+ get: function () { return chunkGQJQ75NA_cjs.ConnectedWorkflowRunner; }
39978
39995
  });
39979
39996
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
39980
39997
  enumerable: true,
39981
- get: function () { return chunk5V7JWZQ4_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
39998
+ get: function () { return chunkGQJQ75NA_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
39982
39999
  });
39983
40000
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
39984
40001
  enumerable: true,
39985
- get: function () { return chunk5V7JWZQ4_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
40002
+ get: function () { return chunkGQJQ75NA_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
39986
40003
  });
39987
40004
  Object.defineProperty(exports, "WorkflowRunThread", {
39988
40005
  enumerable: true,
39989
- get: function () { return chunk5V7JWZQ4_cjs.WorkflowRunThread; }
40006
+ get: function () { return chunkGQJQ75NA_cjs.WorkflowRunThread; }
39990
40007
  });
39991
40008
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
39992
40009
  enumerable: true,
39993
- get: function () { return chunk5V7JWZQ4_cjs.WorkflowRunWorkspaceChangedError; }
40010
+ get: function () { return chunkGQJQ75NA_cjs.WorkflowRunWorkspaceChangedError; }
39994
40011
  });
39995
40012
  Object.defineProperty(exports, "buildProjectSummaries", {
39996
40013
  enumerable: true,
39997
- get: function () { return chunk5V7JWZQ4_cjs.buildProjectSummaries; }
40014
+ get: function () { return chunkGQJQ75NA_cjs.buildProjectSummaries; }
39998
40015
  });
39999
40016
  Object.defineProperty(exports, "primaryProjectWorkspace", {
40000
40017
  enumerable: true,
40001
- get: function () { return chunk5V7JWZQ4_cjs.primaryProjectWorkspace; }
40018
+ get: function () { return chunkGQJQ75NA_cjs.primaryProjectWorkspace; }
40002
40019
  });
40003
40020
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
40004
40021
  enumerable: true,
40005
- get: function () { return chunk5V7JWZQ4_cjs.useEnsureRequiredLabels; }
40022
+ get: function () { return chunkGQJQ75NA_cjs.useEnsureRequiredLabels; }
40006
40023
  });
40007
40024
  Object.defineProperty(exports, "useProjectSummaries", {
40008
40025
  enumerable: true,
40009
- get: function () { return chunk5V7JWZQ4_cjs.useProjectSummaries; }
40026
+ get: function () { return chunkGQJQ75NA_cjs.useProjectSummaries; }
40010
40027
  });
40011
40028
  Object.defineProperty(exports, "useProjectSummary", {
40012
40029
  enumerable: true,
40013
- get: function () { return chunk5V7JWZQ4_cjs.useProjectSummary; }
40030
+ get: function () { return chunkGQJQ75NA_cjs.useProjectSummary; }
40014
40031
  });
40015
40032
  Object.defineProperty(exports, "useRenderTaskPerson", {
40016
40033
  enumerable: true,
40017
- get: function () { return chunk5V7JWZQ4_cjs.useRenderTaskPerson; }
40034
+ get: function () { return chunkGQJQ75NA_cjs.useRenderTaskPerson; }
40018
40035
  });
40019
40036
  Object.defineProperty(exports, "useRequiredLabels", {
40020
40037
  enumerable: true,
40021
- get: function () { return chunk5V7JWZQ4_cjs.useRequiredLabels; }
40038
+ get: function () { return chunkGQJQ75NA_cjs.useRequiredLabels; }
40022
40039
  });
40023
40040
  Object.defineProperty(exports, "useSkillsEnabled", {
40024
40041
  enumerable: true,
40025
- get: function () { return chunk5V7JWZQ4_cjs.useSkillsEnabled; }
40042
+ get: function () { return chunkGQJQ75NA_cjs.useSkillsEnabled; }
40026
40043
  });
40027
40044
  Object.defineProperty(exports, "useTaskPeople", {
40028
40045
  enumerable: true,
40029
- get: function () { return chunk5V7JWZQ4_cjs.useTaskPeople; }
40046
+ get: function () { return chunkGQJQ75NA_cjs.useTaskPeople; }
40030
40047
  });
40031
40048
  Object.defineProperty(exports, "useWorkflowDefinitions", {
40032
40049
  enumerable: true,
40033
- get: function () { return chunk5V7JWZQ4_cjs.useWorkflowDefinitions; }
40050
+ get: function () { return chunkGQJQ75NA_cjs.useWorkflowDefinitions; }
40034
40051
  });
40035
40052
  Object.defineProperty(exports, "useWorkflowTasks", {
40036
40053
  enumerable: true,
40037
- get: function () { return chunk5V7JWZQ4_cjs.useWorkflowTasks; }
40054
+ get: function () { return chunkGQJQ75NA_cjs.useWorkflowTasks; }
40038
40055
  });
40039
40056
  Object.defineProperty(exports, "useWorkflowsPageState", {
40040
40057
  enumerable: true,
40041
- get: function () { return chunk5V7JWZQ4_cjs.useWorkflowsPageState; }
40058
+ get: function () { return chunkGQJQ75NA_cjs.useWorkflowsPageState; }
40042
40059
  });
40043
40060
  Object.defineProperty(exports, "workflowRunView", {
40044
40061
  enumerable: true,
40045
- get: function () { return chunk5V7JWZQ4_cjs.workflowRunView; }
40062
+ get: function () { return chunkGQJQ75NA_cjs.workflowRunView; }
40046
40063
  });
40047
40064
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
40048
40065
  enumerable: true,
40049
- get: function () { return chunkDF7ZATID_cjs.FILES_PREFS_KEY; }
40066
+ get: function () { return chunkGUMGUNMW_cjs.FILES_PREFS_KEY; }
40050
40067
  });
40051
40068
  Object.defineProperty(exports, "filesViewMode", {
40052
40069
  enumerable: true,
40053
- get: function () { return chunkDF7ZATID_cjs.filesViewMode; }
40070
+ get: function () { return chunkGUMGUNMW_cjs.filesViewMode; }
40054
40071
  });
40055
40072
  Object.defineProperty(exports, "useAiReviewStore", {
40056
40073
  enumerable: true,
40057
- get: function () { return chunkDF7ZATID_cjs.useAiReviewStore; }
40074
+ get: function () { return chunkGUMGUNMW_cjs.useAiReviewStore; }
40058
40075
  });
40059
40076
  Object.defineProperty(exports, "useFilesDialogs", {
40060
40077
  enumerable: true,
40061
- get: function () { return chunkDF7ZATID_cjs.useFilesDialogs; }
40078
+ get: function () { return chunkGUMGUNMW_cjs.useFilesDialogs; }
40062
40079
  });
40063
40080
  Object.defineProperty(exports, "useFilesGridStates", {
40064
40081
  enumerable: true,
40065
- get: function () { return chunkDF7ZATID_cjs.useFilesGridStates; }
40082
+ get: function () { return chunkGUMGUNMW_cjs.useFilesGridStates; }
40066
40083
  });
40067
40084
  Object.defineProperty(exports, "useFilesPrefs", {
40068
40085
  enumerable: true,
40069
- get: function () { return chunkDF7ZATID_cjs.useFilesPrefs; }
40086
+ get: function () { return chunkGUMGUNMW_cjs.useFilesPrefs; }
40070
40087
  });
40071
40088
  Object.defineProperty(exports, "useFilesStore", {
40072
40089
  enumerable: true,
40073
- get: function () { return chunkDF7ZATID_cjs.useFilesStore; }
40090
+ get: function () { return chunkGUMGUNMW_cjs.useFilesStore; }
40074
40091
  });
40075
40092
  Object.defineProperty(exports, "usePendingFolders", {
40076
40093
  enumerable: true,
40077
- get: function () { return chunkDF7ZATID_cjs.usePendingFolders; }
40094
+ get: function () { return chunkGUMGUNMW_cjs.usePendingFolders; }
40078
40095
  });
40079
40096
  Object.defineProperty(exports, "AgentSteps", {
40080
40097
  enumerable: true,
40081
- get: function () { return chunkOAEJME5Q_cjs.AgentSteps; }
40098
+ get: function () { return chunkDBGTR7OK_cjs.AgentSteps; }
40082
40099
  });
40083
40100
  Object.defineProperty(exports, "AnswerTable", {
40084
40101
  enumerable: true,
40085
- get: function () { return chunkOAEJME5Q_cjs.AnswerTable; }
40102
+ get: function () { return chunkDBGTR7OK_cjs.AnswerTable; }
40086
40103
  });
40087
40104
  Object.defineProperty(exports, "ArbiChat", {
40088
40105
  enumerable: true,
40089
- get: function () { return chunkOAEJME5Q_cjs.ArbiChat; }
40106
+ get: function () { return chunkDBGTR7OK_cjs.ArbiChat; }
40090
40107
  });
40091
40108
  Object.defineProperty(exports, "AskAgainContext", {
40092
40109
  enumerable: true,
40093
- get: function () { return chunkOAEJME5Q_cjs.AskAgainContext; }
40110
+ get: function () { return chunkDBGTR7OK_cjs.AskAgainContext; }
40094
40111
  });
40095
40112
  Object.defineProperty(exports, "ConnectedBranchControls", {
40096
40113
  enumerable: true,
40097
- get: function () { return chunkOAEJME5Q_cjs.ConnectedBranchControls; }
40114
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedBranchControls; }
40098
40115
  });
40099
40116
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
40100
40117
  enumerable: true,
40101
- get: function () { return chunkOAEJME5Q_cjs.ConnectedCitationRenderer; }
40118
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedCitationRenderer; }
40102
40119
  });
40103
40120
  Object.defineProperty(exports, "ConnectedCompactConversation", {
40104
40121
  enumerable: true,
40105
- get: function () { return chunkOAEJME5Q_cjs.ConnectedCompactConversation; }
40122
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedCompactConversation; }
40106
40123
  });
40107
40124
  Object.defineProperty(exports, "ConnectedCompactLogin", {
40108
40125
  enumerable: true,
40109
- get: function () { return chunkOAEJME5Q_cjs.ConnectedCompactLogin; }
40126
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedCompactLogin; }
40110
40127
  });
40111
40128
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
40112
40129
  enumerable: true,
40113
- get: function () { return chunkOAEJME5Q_cjs.ConnectedConversationDocumentPicker; }
40130
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedConversationDocumentPicker; }
40114
40131
  });
40115
40132
  Object.defineProperty(exports, "ConnectedDangerZone", {
40116
40133
  enumerable: true,
40117
- get: function () { return chunkOAEJME5Q_cjs.ConnectedDangerZone; }
40134
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedDangerZone; }
40118
40135
  });
40119
40136
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
40120
40137
  enumerable: true,
40121
- get: function () { return chunkOAEJME5Q_cjs.ConnectedEmbeddedChat; }
40138
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedEmbeddedChat; }
40122
40139
  });
40123
40140
  Object.defineProperty(exports, "ConnectedForgotPassword", {
40124
40141
  enumerable: true,
40125
- get: function () { return chunkOAEJME5Q_cjs.ConnectedForgotPassword; }
40142
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedForgotPassword; }
40126
40143
  });
40127
40144
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
40128
40145
  enumerable: true,
40129
- get: function () { return chunkOAEJME5Q_cjs.ConnectedIdentityVerification; }
40146
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedIdentityVerification; }
40130
40147
  });
40131
40148
  Object.defineProperty(exports, "ConnectedLoginPage", {
40132
40149
  enumerable: true,
40133
- get: function () { return chunkOAEJME5Q_cjs.ConnectedLoginPage; }
40150
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedLoginPage; }
40134
40151
  });
40135
40152
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
40136
40153
  enumerable: true,
40137
- get: function () { return chunkOAEJME5Q_cjs.ConnectedLogoutDialog; }
40154
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedLogoutDialog; }
40138
40155
  });
40139
40156
  Object.defineProperty(exports, "ConnectedMessage", {
40140
40157
  enumerable: true,
40141
- get: function () { return chunkOAEJME5Q_cjs.ConnectedMessage; }
40158
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedMessage; }
40142
40159
  });
40143
40160
  Object.defineProperty(exports, "ConnectedMessageArea", {
40144
40161
  enumerable: true,
40145
- get: function () { return chunkOAEJME5Q_cjs.ConnectedMessageArea; }
40162
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedMessageArea; }
40146
40163
  });
40147
40164
  Object.defineProperty(exports, "ConnectedMessageList", {
40148
40165
  enumerable: true,
40149
- get: function () { return chunkOAEJME5Q_cjs.ConnectedMessageList; }
40166
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedMessageList; }
40150
40167
  });
40151
40168
  Object.defineProperty(exports, "ConnectedModelSelector", {
40152
40169
  enumerable: true,
40153
- get: function () { return chunkOAEJME5Q_cjs.ConnectedModelSelector; }
40170
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedModelSelector; }
40154
40171
  });
40155
40172
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
40156
40173
  enumerable: true,
40157
- get: function () { return chunkOAEJME5Q_cjs.ConnectedNotificationPreferences; }
40174
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedNotificationPreferences; }
40158
40175
  });
40159
40176
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
40160
40177
  enumerable: true,
40161
- get: function () { return chunkOAEJME5Q_cjs.ConnectedPasswordChangeDialog; }
40178
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedPasswordChangeDialog; }
40162
40179
  });
40163
40180
  Object.defineProperty(exports, "ConnectedProfileCard", {
40164
40181
  enumerable: true,
40165
- get: function () { return chunkOAEJME5Q_cjs.ConnectedProfileCard; }
40182
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedProfileCard; }
40166
40183
  });
40167
40184
  Object.defineProperty(exports, "ConnectedRequireVerified", {
40168
40185
  enumerable: true,
40169
- get: function () { return chunkOAEJME5Q_cjs.ConnectedRequireVerified; }
40186
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedRequireVerified; }
40170
40187
  });
40171
40188
  Object.defineProperty(exports, "ConnectedSecuritySection", {
40172
40189
  enumerable: true,
40173
- get: function () { return chunkOAEJME5Q_cjs.ConnectedSecuritySection; }
40190
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedSecuritySection; }
40174
40191
  });
40175
40192
  Object.defineProperty(exports, "ConnectedSessionsRow", {
40176
40193
  enumerable: true,
40177
- get: function () { return chunkOAEJME5Q_cjs.ConnectedSessionsRow; }
40194
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedSessionsRow; }
40178
40195
  });
40179
40196
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
40180
40197
  enumerable: true,
40181
- get: function () { return chunkOAEJME5Q_cjs.ConnectedThreadsPreview; }
40198
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedThreadsPreview; }
40182
40199
  });
40183
40200
  Object.defineProperty(exports, "ConnectedUserEntity", {
40184
40201
  enumerable: true,
40185
- get: function () { return chunkOAEJME5Q_cjs.ConnectedUserEntity; }
40202
+ get: function () { return chunkDBGTR7OK_cjs.ConnectedUserEntity; }
40186
40203
  });
40187
40204
  Object.defineProperty(exports, "ConversationComposer", {
40188
40205
  enumerable: true,
40189
- get: function () { return chunkOAEJME5Q_cjs.ConversationComposer; }
40206
+ get: function () { return chunkDBGTR7OK_cjs.ConversationComposer; }
40190
40207
  });
40191
40208
  Object.defineProperty(exports, "EmbeddedChatPanel", {
40192
40209
  enumerable: true,
40193
- get: function () { return chunkOAEJME5Q_cjs.EmbeddedChatPanel; }
40210
+ get: function () { return chunkDBGTR7OK_cjs.EmbeddedChatPanel; }
40194
40211
  });
40195
40212
  Object.defineProperty(exports, "MessageDetailsModal", {
40196
40213
  enumerable: true,
40197
- get: function () { return chunkOAEJME5Q_cjs.MessageDetailsModal; }
40214
+ get: function () { return chunkDBGTR7OK_cjs.MessageDetailsModal; }
40198
40215
  });
40199
40216
  Object.defineProperty(exports, "MessageLiveSeconds", {
40200
40217
  enumerable: true,
40201
- get: function () { return chunkOAEJME5Q_cjs.MessageLiveSeconds; }
40218
+ get: function () { return chunkDBGTR7OK_cjs.MessageLiveSeconds; }
40202
40219
  });
40203
40220
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
40204
40221
  enumerable: true,
40205
- get: function () { return chunkOAEJME5Q_cjs.PENDING_RECOVERY_KEY; }
40222
+ get: function () { return chunkDBGTR7OK_cjs.PENDING_RECOVERY_KEY; }
40206
40223
  });
40207
40224
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
40208
40225
  enumerable: true,
40209
- get: function () { return chunkOAEJME5Q_cjs.PREMIUM_TIER_TAG; }
40226
+ get: function () { return chunkDBGTR7OK_cjs.PREMIUM_TIER_TAG; }
40210
40227
  });
40211
40228
  Object.defineProperty(exports, "RunningSubagents", {
40212
40229
  enumerable: true,
40213
- get: function () { return chunkOAEJME5Q_cjs.RunningSubagents; }
40230
+ get: function () { return chunkDBGTR7OK_cjs.RunningSubagents; }
40214
40231
  });
40215
40232
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
40216
40233
  enumerable: true,
40217
- get: function () { return chunkOAEJME5Q_cjs.STANDARD_TIER_TAG; }
40234
+ get: function () { return chunkDBGTR7OK_cjs.STANDARD_TIER_TAG; }
40218
40235
  });
40219
40236
  Object.defineProperty(exports, "SessionStatusIcon", {
40220
40237
  enumerable: true,
40221
- get: function () { return chunkOAEJME5Q_cjs.SessionStatusIcon; }
40238
+ get: function () { return chunkDBGTR7OK_cjs.SessionStatusIcon; }
40222
40239
  });
40223
40240
  Object.defineProperty(exports, "WorkflowStepMessage", {
40224
40241
  enumerable: true,
40225
- get: function () { return chunkOAEJME5Q_cjs.WorkflowStepMessage; }
40242
+ get: function () { return chunkDBGTR7OK_cjs.WorkflowStepMessage; }
40226
40243
  });
40227
40244
  Object.defineProperty(exports, "backUpOnSignup", {
40228
40245
  enumerable: true,
40229
- get: function () { return chunkOAEJME5Q_cjs.backUpOnSignup; }
40246
+ get: function () { return chunkDBGTR7OK_cjs.backUpOnSignup; }
40230
40247
  });
40231
40248
  Object.defineProperty(exports, "defaultHost", {
40232
40249
  enumerable: true,
40233
- get: function () { return chunkOAEJME5Q_cjs.defaultHost; }
40250
+ get: function () { return chunkDBGTR7OK_cjs.defaultHost; }
40234
40251
  });
40235
40252
  Object.defineProperty(exports, "renderConnectedUser", {
40236
40253
  enumerable: true,
40237
- get: function () { return chunkOAEJME5Q_cjs.renderConnectedUser; }
40254
+ get: function () { return chunkDBGTR7OK_cjs.renderConnectedUser; }
40238
40255
  });
40239
40256
  Object.defineProperty(exports, "renderSessionStatusIcon", {
40240
40257
  enumerable: true,
40241
- get: function () { return chunkOAEJME5Q_cjs.renderSessionStatusIcon; }
40258
+ get: function () { return chunkDBGTR7OK_cjs.renderSessionStatusIcon; }
40242
40259
  });
40243
40260
  Object.defineProperty(exports, "resolveSsoName", {
40244
40261
  enumerable: true,
40245
- get: function () { return chunkOAEJME5Q_cjs.resolveSsoName; }
40262
+ get: function () { return chunkDBGTR7OK_cjs.resolveSsoName; }
40246
40263
  });
40247
40264
  Object.defineProperty(exports, "useAuthPages", {
40248
40265
  enumerable: true,
40249
- get: function () { return chunkOAEJME5Q_cjs.useAuthPages; }
40266
+ get: function () { return chunkDBGTR7OK_cjs.useAuthPages; }
40250
40267
  });
40251
40268
  Object.defineProperty(exports, "useContextualHints", {
40252
40269
  enumerable: true,
40253
- get: function () { return chunkOAEJME5Q_cjs.useContextualHints; }
40270
+ get: function () { return chunkDBGTR7OK_cjs.useContextualHints; }
40254
40271
  });
40255
40272
  Object.defineProperty(exports, "useModelPicker", {
40256
40273
  enumerable: true,
40257
- get: function () { return chunkOAEJME5Q_cjs.useModelPicker; }
40274
+ get: function () { return chunkDBGTR7OK_cjs.useModelPicker; }
40258
40275
  });
40259
40276
  Object.defineProperty(exports, "useOpenChunk", {
40260
40277
  enumerable: true,
40261
- get: function () { return chunkOAEJME5Q_cjs.useOpenChunk; }
40278
+ get: function () { return chunkDBGTR7OK_cjs.useOpenChunk; }
40262
40279
  });
40263
40280
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
40264
40281
  enumerable: true,
40265
- get: function () { return chunkOAEJME5Q_cjs.useOpenWorkspaceIcon; }
40282
+ get: function () { return chunkDBGTR7OK_cjs.useOpenWorkspaceIcon; }
40266
40283
  });
40267
40284
  Object.defineProperty(exports, "useSlashItems", {
40268
40285
  enumerable: true,
40269
- get: function () { return chunkOAEJME5Q_cjs.useSlashItems; }
40286
+ get: function () { return chunkDBGTR7OK_cjs.useSlashItems; }
40270
40287
  });
40271
40288
  Object.defineProperty(exports, "useSsoSignIn", {
40272
40289
  enumerable: true,
40273
- get: function () { return chunkOAEJME5Q_cjs.useSsoSignIn; }
40290
+ get: function () { return chunkDBGTR7OK_cjs.useSsoSignIn; }
40274
40291
  });
40275
40292
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
40276
40293
  enumerable: true,
40277
- get: function () { return chunkOAEJME5Q_cjs.useWorkspaceDocTitles; }
40294
+ get: function () { return chunkDBGTR7OK_cjs.useWorkspaceDocTitles; }
40278
40295
  });
40279
40296
  Object.defineProperty(exports, "useConnectedThreadActivity", {
40280
40297
  enumerable: true,
40281
- get: function () { return chunkDL3XYTKI_cjs.useConnectedThreadActivity; }
40298
+ get: function () { return chunkE2UHMMSQ_cjs.useConnectedThreadActivity; }
40282
40299
  });
40283
40300
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
40284
40301
  enumerable: true,
40285
- get: function () { return chunkR5KLIQXI_cjs.ConnectedPendingSyncDialog; }
40302
+ get: function () { return chunkF34I67NI_cjs.ConnectedPendingSyncDialog; }
40286
40303
  });
40287
40304
  Object.defineProperty(exports, "DocumentFolderCell", {
40288
40305
  enumerable: true,
40289
- get: function () { return chunkR5KLIQXI_cjs.DocumentFolderCell; }
40306
+ get: function () { return chunkF34I67NI_cjs.DocumentFolderCell; }
40290
40307
  });
40291
40308
  Object.defineProperty(exports, "DocumentLabelsCell", {
40292
40309
  enumerable: true,
40293
- get: function () { return chunkR5KLIQXI_cjs.DocumentLabelsCell; }
40310
+ get: function () { return chunkF34I67NI_cjs.DocumentLabelsCell; }
40294
40311
  });
40295
40312
  Object.defineProperty(exports, "DocumentNameCell", {
40296
40313
  enumerable: true,
40297
- get: function () { return chunkR5KLIQXI_cjs.DocumentNameCell; }
40314
+ get: function () { return chunkF34I67NI_cjs.DocumentNameCell; }
40298
40315
  });
40299
40316
  Object.defineProperty(exports, "DocumentSharedCell", {
40300
40317
  enumerable: true,
40301
- get: function () { return chunkR5KLIQXI_cjs.DocumentSharedCell; }
40318
+ get: function () { return chunkF34I67NI_cjs.DocumentSharedCell; }
40302
40319
  });
40303
40320
  Object.defineProperty(exports, "DocumentStatusGlyph", {
40304
40321
  enumerable: true,
40305
- get: function () { return chunkR5KLIQXI_cjs.DocumentStatusGlyph; }
40322
+ get: function () { return chunkF34I67NI_cjs.DocumentStatusGlyph; }
40306
40323
  });
40307
40324
  Object.defineProperty(exports, "DocumentSyncGlyph", {
40308
40325
  enumerable: true,
40309
- get: function () { return chunkR5KLIQXI_cjs.DocumentSyncGlyph; }
40326
+ get: function () { return chunkF34I67NI_cjs.DocumentSyncGlyph; }
40310
40327
  });
40311
40328
  Object.defineProperty(exports, "DocumentUser", {
40312
40329
  enumerable: true,
40313
- get: function () { return chunkR5KLIQXI_cjs.DocumentUser; }
40330
+ get: function () { return chunkF34I67NI_cjs.DocumentUser; }
40314
40331
  });
40315
40332
  Object.defineProperty(exports, "FileTooltipContent", {
40316
40333
  enumerable: true,
40317
- get: function () { return chunkR5KLIQXI_cjs.FileTooltipContent; }
40334
+ get: function () { return chunkF34I67NI_cjs.FileTooltipContent; }
40318
40335
  });
40319
40336
  Object.defineProperty(exports, "RelatedDocumentsCell", {
40320
40337
  enumerable: true,
40321
- get: function () { return chunkR5KLIQXI_cjs.RelatedDocumentsCell; }
40338
+ get: function () { return chunkF34I67NI_cjs.RelatedDocumentsCell; }
40322
40339
  });
40323
40340
  Object.defineProperty(exports, "StatusCell", {
40324
40341
  enumerable: true,
40325
- get: function () { return chunkR5KLIQXI_cjs.StatusCell; }
40342
+ get: function () { return chunkF34I67NI_cjs.StatusCell; }
40326
40343
  });
40327
40344
  Object.defineProperty(exports, "UserAvatar", {
40328
40345
  enumerable: true,
40329
- get: function () { return chunkR5KLIQXI_cjs.UserAvatar; }
40346
+ get: function () { return chunkF34I67NI_cjs.UserAvatar; }
40330
40347
  });
40331
40348
  Object.defineProperty(exports, "isActiveDocumentStatus", {
40332
40349
  enumerable: true,
40333
- get: function () { return chunkR5KLIQXI_cjs.isActiveDocumentStatus; }
40350
+ get: function () { return chunkF34I67NI_cjs.isActiveDocumentStatus; }
40334
40351
  });
40335
40352
  Object.defineProperty(exports, "openPendingSyncDialog", {
40336
40353
  enumerable: true,
40337
- get: function () { return chunkR5KLIQXI_cjs.openPendingSyncDialog; }
40354
+ get: function () { return chunkF34I67NI_cjs.openPendingSyncDialog; }
40338
40355
  });
40339
40356
  Object.defineProperty(exports, "parseQuotaError", {
40340
40357
  enumerable: true,
40341
- get: function () { return chunkR5KLIQXI_cjs.parseQuotaError; }
40358
+ get: function () { return chunkF34I67NI_cjs.parseQuotaError; }
40342
40359
  });
40343
40360
  Object.defineProperty(exports, "startMenuItem", {
40344
40361
  enumerable: true,
40345
- get: function () { return chunkR5KLIQXI_cjs.startMenuItem; }
40362
+ get: function () { return chunkF34I67NI_cjs.startMenuItem; }
40346
40363
  });
40347
40364
  Object.defineProperty(exports, "useDocumentFolders", {
40348
40365
  enumerable: true,
40349
- get: function () { return chunkR5KLIQXI_cjs.useDocumentFolders; }
40366
+ get: function () { return chunkF34I67NI_cjs.useDocumentFolders; }
40350
40367
  });
40351
40368
  Object.defineProperty(exports, "useResolvedDocStatus", {
40352
40369
  enumerable: true,
40353
- get: function () { return chunkR5KLIQXI_cjs.useResolvedDocStatus; }
40370
+ get: function () { return chunkF34I67NI_cjs.useResolvedDocStatus; }
40354
40371
  });
40355
40372
  Object.defineProperty(exports, "ConnectedWorkflowDocumentsField", {
40356
40373
  enumerable: true,
40357
- get: function () { return chunkUHP6AP6C_cjs.ConnectedWorkflowDocumentsField; }
40374
+ get: function () { return chunk3YMV2F5F_cjs.ConnectedWorkflowDocumentsField; }
40358
40375
  });
40359
40376
  Object.defineProperty(exports, "ConnectedWorkflowLauncher", {
40360
40377
  enumerable: true,
40361
- get: function () { return chunkUHP6AP6C_cjs.ConnectedWorkflowLauncher; }
40378
+ get: function () { return chunk3YMV2F5F_cjs.ConnectedWorkflowLauncher; }
40362
40379
  });
40363
40380
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
40364
40381
  enumerable: true,
40365
- get: function () { return chunkUHP6AP6C_cjs.ConnectedWorkflowsTable; }
40382
+ get: function () { return chunk3YMV2F5F_cjs.ConnectedWorkflowsTable; }
40366
40383
  });
40367
40384
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
40368
40385
  enumerable: true,
40369
- get: function () { return chunkUHP6AP6C_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
40386
+ get: function () { return chunk3YMV2F5F_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
40370
40387
  });
40371
40388
  Object.defineProperty(exports, "toWorkflowFieldDocument", {
40372
40389
  enumerable: true,
40373
- get: function () { return chunkUHP6AP6C_cjs.toWorkflowFieldDocument; }
40390
+ get: function () { return chunk3YMV2F5F_cjs.toWorkflowFieldDocument; }
40374
40391
  });
40375
40392
  Object.defineProperty(exports, "useConnectedAgentOptions", {
40376
40393
  enumerable: true,
40377
- get: function () { return chunkUHP6AP6C_cjs.useConnectedAgentOptions; }
40394
+ get: function () { return chunk3YMV2F5F_cjs.useConnectedAgentOptions; }
40378
40395
  });
40379
40396
  Object.defineProperty(exports, "useConnectedWorkflowScopeSource", {
40380
40397
  enumerable: true,
40381
- get: function () { return chunkUHP6AP6C_cjs.useConnectedWorkflowScopeSource; }
40398
+ get: function () { return chunk3YMV2F5F_cjs.useConnectedWorkflowScopeSource; }
40382
40399
  });
40383
40400
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
40384
40401
  enumerable: true,
40385
- get: function () { return chunkUHP6AP6C_cjs.useConnectedWorkspaceRole; }
40402
+ get: function () { return chunk3YMV2F5F_cjs.useConnectedWorkspaceRole; }
40386
40403
  });
40387
40404
  Object.defineProperty(exports, "useDocxCommentTarget", {
40388
40405
  enumerable: true,
40389
- get: function () { return chunkUHP6AP6C_cjs.useDocxCommentTarget; }
40406
+ get: function () { return chunk3YMV2F5F_cjs.useDocxCommentTarget; }
40390
40407
  });
40391
40408
  Object.defineProperty(exports, "useNativeDocxSupport", {
40392
40409
  enumerable: true,
40393
- get: function () { return chunkUHP6AP6C_cjs.useNativeDocxSupport; }
40410
+ get: function () { return chunk3YMV2F5F_cjs.useNativeDocxSupport; }
40394
40411
  });
40395
40412
  Object.defineProperty(exports, "useOpenWorkflow", {
40396
40413
  enumerable: true,