@arbidocs/blocks 0.5.151 → 0.5.153

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 (153) hide show
  1. package/dist/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs → ConnectedNativeDocxComparison-244UIHSM.cjs} +9 -9
  2. package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs.map → ConnectedNativeDocxComparison-244UIHSM.cjs.map} +1 -1
  3. package/dist/{ConnectedPresentation-SY42ADRU.cjs → ConnectedPresentation-JUXIXKYN.cjs} +9 -8
  4. package/dist/ConnectedPresentation-JUXIXKYN.cjs.map +1 -0
  5. package/dist/{ConnectedSlidesTab-JATNBI22.cjs → ConnectedSlidesTab-JA3VB66W.cjs} +8 -7
  6. package/dist/ConnectedSlidesTab-JA3VB66W.cjs.map +1 -0
  7. package/dist/{ConnectedStreamedWordArtifact-KWK6HLCZ.cjs → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs} +9 -9
  8. package/dist/{ConnectedNativeDocxComparison-JLT3VHYQ.cjs.map → ConnectedStreamedWordArtifact-V6BRZMEQ.cjs.map} +1 -1
  9. package/dist/{DocumentReviewCard-USFBTVEL.cjs → DocumentReviewCard-5W2QQWKA.cjs} +14 -14
  10. package/dist/{DocumentReviewCard-USFBTVEL.cjs.map → DocumentReviewCard-5W2QQWKA.cjs.map} +1 -1
  11. package/dist/{FilesViewerDialog-O4CY7GM3.cjs → FilesViewerDialog-63QUTG4L.cjs} +12 -12
  12. package/dist/{FilesViewerDialog-O4CY7GM3.cjs.map → FilesViewerDialog-63QUTG4L.cjs.map} +1 -1
  13. package/dist/{RechartsRenderer-NRLQZSSY.cjs → RechartsRenderer-NU6WUZJS.cjs} +21 -20
  14. package/dist/RechartsRenderer-NU6WUZJS.cjs.map +1 -0
  15. package/dist/{SpotlightStrip-QQ2WUI32.cjs → SpotlightStrip-HXQFPAAL.cjs} +6 -5
  16. package/dist/SpotlightStrip-HXQFPAAL.cjs.map +1 -0
  17. package/dist/agents/index.cjs +179 -179
  18. package/dist/{chunk-3XCYPWC5.cjs → chunk-2P7VH2SK.cjs} +3 -3
  19. package/dist/chunk-2P7VH2SK.cjs.map +1 -0
  20. package/dist/{chunk-7Q46YAX4.cjs → chunk-3CJTO6RV.cjs} +152 -199
  21. package/dist/chunk-3CJTO6RV.cjs.map +1 -0
  22. package/dist/{chunk-PJTKXKDS.cjs → chunk-4I2PCP7O.cjs} +28 -28
  23. package/dist/{chunk-PJTKXKDS.cjs.map → chunk-4I2PCP7O.cjs.map} +1 -1
  24. package/dist/{chunk-OGJCEWME.cjs → chunk-4XNP27N4.cjs} +36 -36
  25. package/dist/{chunk-OGJCEWME.cjs.map → chunk-4XNP27N4.cjs.map} +1 -1
  26. package/dist/{chunk-2SILSQNF.cjs → chunk-4ZR4O5SP.cjs} +26 -8
  27. package/dist/chunk-4ZR4O5SP.cjs.map +1 -0
  28. package/dist/{chunk-ILATBO5Z.cjs → chunk-6ZZWQ3OL.cjs} +4 -4
  29. package/dist/{chunk-ILATBO5Z.cjs.map → chunk-6ZZWQ3OL.cjs.map} +1 -1
  30. package/dist/{chunk-VH4QXK5W.cjs → chunk-AG6KAGAX.cjs} +4 -4
  31. package/dist/{chunk-VH4QXK5W.cjs.map → chunk-AG6KAGAX.cjs.map} +1 -1
  32. package/dist/{chunk-MFZW4FEW.cjs → chunk-B5BGVPQ5.cjs} +4 -4
  33. package/dist/{chunk-MFZW4FEW.cjs.map → chunk-B5BGVPQ5.cjs.map} +1 -1
  34. package/dist/{chunk-PJ6J4EMZ.cjs → chunk-CULUTYOD.cjs} +4 -4
  35. package/dist/{chunk-PJ6J4EMZ.cjs.map → chunk-CULUTYOD.cjs.map} +1 -1
  36. package/dist/{chunk-H7AI54V2.cjs → chunk-CVVQHFLR.cjs} +3 -3
  37. package/dist/{chunk-H7AI54V2.cjs.map → chunk-CVVQHFLR.cjs.map} +1 -1
  38. package/dist/{chunk-R3C3S6EH.cjs → chunk-D5DOK2AE.cjs} +58 -58
  39. package/dist/{chunk-R3C3S6EH.cjs.map → chunk-D5DOK2AE.cjs.map} +1 -1
  40. package/dist/{chunk-MH7P5FEK.cjs → chunk-FCT62ZPE.cjs} +4 -4
  41. package/dist/{chunk-MH7P5FEK.cjs.map → chunk-FCT62ZPE.cjs.map} +1 -1
  42. package/dist/{chunk-QX2LAMVE.cjs → chunk-IXTDOPSB.cjs} +4 -4
  43. package/dist/{chunk-QX2LAMVE.cjs.map → chunk-IXTDOPSB.cjs.map} +1 -1
  44. package/dist/{chunk-AKR4JN6I.cjs → chunk-JCFXS336.cjs} +3 -3
  45. package/dist/{chunk-AKR4JN6I.cjs.map → chunk-JCFXS336.cjs.map} +1 -1
  46. package/dist/{chunk-N4TOSY7B.cjs → chunk-JLNKD56X.cjs} +4 -4
  47. package/dist/{chunk-N4TOSY7B.cjs.map → chunk-JLNKD56X.cjs.map} +1 -1
  48. package/dist/{chunk-DNTSR7UV.cjs → chunk-LYKT336H.cjs} +5 -5
  49. package/dist/{chunk-DNTSR7UV.cjs.map → chunk-LYKT336H.cjs.map} +1 -1
  50. package/dist/{chunk-MGGDT6JK.cjs → chunk-MAKCWF45.cjs} +4 -4
  51. package/dist/{chunk-MGGDT6JK.cjs.map → chunk-MAKCWF45.cjs.map} +1 -1
  52. package/dist/{chunk-DGUQK5GA.cjs → chunk-TFRCNIUY.cjs} +6 -6
  53. package/dist/{chunk-DGUQK5GA.cjs.map → chunk-TFRCNIUY.cjs.map} +1 -1
  54. package/dist/chunk-UM3EWCDE.cjs +105 -0
  55. package/dist/chunk-UM3EWCDE.cjs.map +1 -0
  56. package/dist/{chunk-WPUEGDBE.cjs → chunk-WUM76MJU.cjs} +6 -6
  57. package/dist/{chunk-WPUEGDBE.cjs.map → chunk-WUM76MJU.cjs.map} +1 -1
  58. package/dist/{chunk-6WWYH66F.cjs → chunk-Z3N32LL4.cjs} +8 -8
  59. package/dist/{chunk-6WWYH66F.cjs.map → chunk-Z3N32LL4.cjs.map} +1 -1
  60. package/dist/{chunk-JMBAUHI7.cjs → chunk-ZCQXQIBA.cjs} +28 -28
  61. package/dist/{chunk-JMBAUHI7.cjs.map → chunk-ZCQXQIBA.cjs.map} +1 -1
  62. package/dist/components/MetricCard.js +1 -1
  63. package/dist/components/MetricCard.js.map +2 -2
  64. package/dist/components/gestures/GestureHandle.d.ts +21 -0
  65. package/dist/components/gestures/GestureHandle.js +44 -0
  66. package/dist/components/gestures/GestureHandle.js.map +7 -0
  67. package/dist/components/gestures/handles.d.ts +43 -0
  68. package/dist/components/gestures/handles.js +18 -0
  69. package/dist/components/gestures/handles.js.map +7 -0
  70. package/dist/components/gestures/index.d.ts +3 -0
  71. package/dist/components/gestures/index.js +5 -0
  72. package/dist/components/gestures/index.js.map +7 -0
  73. package/dist/components/gestures/usePointerGesture.d.ts +51 -0
  74. package/dist/components/gestures/usePointerGesture.js +61 -0
  75. package/dist/components/gestures/usePointerGesture.js.map +7 -0
  76. package/dist/connect/docx.cjs +12 -12
  77. package/dist/connect/index.cjs +651 -628
  78. package/dist/connect/index.cjs.map +1 -1
  79. package/dist/connect/viewer.cjs +10 -10
  80. package/dist/connection/dashboards/DashboardPanel.js +6 -1
  81. package/dist/connection/dashboards/DashboardPanel.js.map +2 -2
  82. package/dist/connection/pages/BlockEditor.d.ts +0 -5
  83. package/dist/connection/pages/BlockEditor.js +3 -65
  84. package/dist/connection/pages/BlockEditor.js.map +2 -2
  85. package/dist/connection/pages/ConnectedPagesPage.d.ts +4 -1
  86. package/dist/connection/pages/ConnectedPagesPage.js +52 -71
  87. package/dist/connection/pages/ConnectedPagesPage.js.map +2 -2
  88. package/dist/connection/pages/DocumentBlocks.js +3 -3
  89. package/dist/connection/pages/DocumentBlocks.js.map +2 -2
  90. package/dist/connection/pages/DocumentsPicker.js +1 -1
  91. package/dist/connection/pages/DocumentsPicker.js.map +2 -2
  92. package/dist/connection/pages/EditablePageGrid.d.ts +31 -0
  93. package/dist/connection/pages/EditablePageGrid.js +200 -0
  94. package/dist/connection/pages/EditablePageGrid.js.map +7 -0
  95. package/dist/connection/pages/PageGrid.d.ts +7 -4
  96. package/dist/connection/pages/PageGrid.js +9 -3
  97. package/dist/connection/pages/PageGrid.js.map +2 -2
  98. package/dist/connection/pages/TableViewBlock.d.ts +5 -4
  99. package/dist/connection/pages/TableViewBlock.js +20 -20
  100. package/dist/connection/pages/TableViewBlock.js.map +2 -2
  101. package/dist/connection/pages/grid-layout.d.ts +38 -0
  102. package/dist/connection/pages/grid-layout.js +98 -0
  103. package/dist/connection/pages/grid-layout.js.map +7 -0
  104. package/dist/connection/pages/index.d.ts +2 -0
  105. package/dist/connection/pages/index.js +19 -1
  106. package/dist/connection/pages/index.js.map +2 -2
  107. package/dist/connection/pages/labels.d.ts +0 -2
  108. package/dist/connection/pages/labels.js +0 -2
  109. package/dist/connection/pages/labels.js.map +2 -2
  110. package/dist/connection/shell/experimentalNav.d.ts +8 -0
  111. package/dist/connection/shell/experimentalNav.js +23 -0
  112. package/dist/connection/shell/experimentalNav.js.map +7 -0
  113. package/dist/connection/storage/ConnectedStorageProjectCard.js +1 -1
  114. package/dist/connection/storage/ConnectedStorageProjectCard.js.map +2 -2
  115. package/dist/connection/storage/ConnectedWorkspaceTrash.d.ts +3 -0
  116. package/dist/connection/storage/ConnectedWorkspaceTrash.js +41 -17
  117. package/dist/connection/storage/ConnectedWorkspaceTrash.js.map +2 -2
  118. package/dist/dashboards/ChartRenderer.d.ts +6 -0
  119. package/dist/dashboards/ChartRenderer.js +7 -2
  120. package/dist/dashboards/ChartRenderer.js.map +2 -2
  121. package/dist/dashboards/PanelView.d.ts +2 -0
  122. package/dist/dashboards/PanelView.js +12 -2
  123. package/dist/dashboards/PanelView.js.map +2 -2
  124. package/dist/dashboards/RechartsRenderer.js +19 -18
  125. package/dist/dashboards/RechartsRenderer.js.map +2 -2
  126. package/dist/dashboards/index.cjs +16 -16
  127. package/dist/embed/index.cjs +13 -13
  128. package/dist/facts/index.cjs +1 -1
  129. package/dist/files/index.cjs +226 -226
  130. package/dist/index.cjs +338 -320
  131. package/dist/index.cjs.map +1 -1
  132. package/dist/index.d.ts +1 -0
  133. package/dist/index.js +3 -0
  134. package/dist/index.js.map +2 -2
  135. package/dist/pages/index.cjs +404 -199
  136. package/dist/pages/index.cjs.map +1 -1
  137. package/dist/presentation/StageBox.js +63 -86
  138. package/dist/presentation/StageBox.js.map +2 -2
  139. package/dist/presentation/StageItem.js +86 -117
  140. package/dist/presentation/StageItem.js.map +2 -2
  141. package/dist/site/index.cjs +5 -5
  142. package/dist/studio/index.cjs +13 -13
  143. package/dist/styles.css +1 -1
  144. package/dist/workflow-canvas/index.cjs +25 -25
  145. package/node_modules/@arbidocs/coedit/package.json +1 -1
  146. package/package.json +5 -5
  147. package/dist/ConnectedPresentation-SY42ADRU.cjs.map +0 -1
  148. package/dist/ConnectedSlidesTab-JATNBI22.cjs.map +0 -1
  149. package/dist/RechartsRenderer-NRLQZSSY.cjs.map +0 -1
  150. package/dist/SpotlightStrip-QQ2WUI32.cjs.map +0 -1
  151. package/dist/chunk-2SILSQNF.cjs.map +0 -1
  152. package/dist/chunk-3XCYPWC5.cjs.map +0 -1
  153. package/dist/chunk-7Q46YAX4.cjs.map +0 -1
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  'use strict';
3
3
 
4
- var chunkJMBAUHI7_cjs = require('../chunk-JMBAUHI7.cjs');
4
+ var chunkZCQXQIBA_cjs = require('../chunk-ZCQXQIBA.cjs');
5
5
  var chunkSMO4SPPB_cjs = require('../chunk-SMO4SPPB.cjs');
6
6
  var chunk6OK7ESTL_cjs = require('../chunk-6OK7ESTL.cjs');
7
7
  var chunkGAA222SK_cjs = require('../chunk-GAA222SK.cjs');
@@ -9,15 +9,15 @@ var chunk2XHJVYNY_cjs = require('../chunk-2XHJVYNY.cjs');
9
9
  var chunk5GCCUXMT_cjs = require('../chunk-5GCCUXMT.cjs');
10
10
  var chunkXYN3RP5W_cjs = require('../chunk-XYN3RP5W.cjs');
11
11
  var chunkOF7KMG6R_cjs = require('../chunk-OF7KMG6R.cjs');
12
+ var chunk4I2PCP7O_cjs = require('../chunk-4I2PCP7O.cjs');
12
13
  var chunkNUFZFWHZ_cjs = require('../chunk-NUFZFWHZ.cjs');
13
- var chunkPJTKXKDS_cjs = require('../chunk-PJTKXKDS.cjs');
14
14
  var chunk32W2S6DE_cjs = require('../chunk-32W2S6DE.cjs');
15
15
  var chunkKWJW5TMH_cjs = require('../chunk-KWJW5TMH.cjs');
16
- var chunk6WWYH66F_cjs = require('../chunk-6WWYH66F.cjs');
16
+ var chunkZ3N32LL4_cjs = require('../chunk-Z3N32LL4.cjs');
17
17
  var chunkQWOPEBH2_cjs = require('../chunk-QWOPEBH2.cjs');
18
18
  var chunkQKCFV36K_cjs = require('../chunk-QKCFV36K.cjs');
19
- var chunkILATBO5Z_cjs = require('../chunk-ILATBO5Z.cjs');
20
- var chunkMGGDT6JK_cjs = require('../chunk-MGGDT6JK.cjs');
19
+ var chunk6ZZWQ3OL_cjs = require('../chunk-6ZZWQ3OL.cjs');
20
+ var chunkMAKCWF45_cjs = require('../chunk-MAKCWF45.cjs');
21
21
  var chunkV27WLYTG_cjs = require('../chunk-V27WLYTG.cjs');
22
22
  var chunkTN3UP3CI_cjs = require('../chunk-TN3UP3CI.cjs');
23
23
  var chunkTJY7XPDE_cjs = require('../chunk-TJY7XPDE.cjs');
@@ -27,24 +27,28 @@ require('../chunk-UMMZNZV3.cjs');
27
27
  require('../chunk-AEQT2QQX.cjs');
28
28
  var chunkSFRKKPBB_cjs = require('../chunk-SFRKKPBB.cjs');
29
29
  require('../chunk-XNW62J54.cjs');
30
- var chunkKRQCUVH7_cjs = require('../chunk-KRQCUVH7.cjs');
31
- var chunk2SILSQNF_cjs = require('../chunk-2SILSQNF.cjs');
32
- require('../chunk-PBPO54KZ.cjs');
30
+ var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
31
+ var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
33
32
  var chunk4CIVQWAX_cjs = require('../chunk-4CIVQWAX.cjs');
34
33
  var chunkQWVUBTW3_cjs = require('../chunk-QWVUBTW3.cjs');
35
34
  var chunkJVEDKKNO_cjs = require('../chunk-JVEDKKNO.cjs');
36
- var chunkMFZW4FEW_cjs = require('../chunk-MFZW4FEW.cjs');
35
+ var chunkB5BGVPQ5_cjs = require('../chunk-B5BGVPQ5.cjs');
37
36
  var chunkCYWOL2LS_cjs = require('../chunk-CYWOL2LS.cjs');
38
- var chunkOGJCEWME_cjs = require('../chunk-OGJCEWME.cjs');
37
+ var chunk4XNP27N4_cjs = require('../chunk-4XNP27N4.cjs');
39
38
  var chunkDUNXLT63_cjs = require('../chunk-DUNXLT63.cjs');
40
39
  require('../chunk-HYUKPHCT.cjs');
41
- var chunkAKR4JN6I_cjs = require('../chunk-AKR4JN6I.cjs');
40
+ var chunkJCFXS336_cjs = require('../chunk-JCFXS336.cjs');
42
41
  var chunk223D4727_cjs = require('../chunk-223D4727.cjs');
43
42
  var chunkSNUBQMIS_cjs = require('../chunk-SNUBQMIS.cjs');
44
43
  var chunkDLGYR4JL_cjs = require('../chunk-DLGYR4JL.cjs');
45
- var chunkMH7P5FEK_cjs = require('../chunk-MH7P5FEK.cjs');
44
+ var chunkFCT62ZPE_cjs = require('../chunk-FCT62ZPE.cjs');
45
+ var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
46
+ require('../chunk-V3KLUWQQ.cjs');
46
47
  var chunk5GBM7BQB_cjs = require('../chunk-5GBM7BQB.cjs');
47
48
  var chunk5DGNJ6VJ_cjs = require('../chunk-5DGNJ6VJ.cjs');
49
+ var chunkKRQCUVH7_cjs = require('../chunk-KRQCUVH7.cjs');
50
+ var chunk4ZR4O5SP_cjs = require('../chunk-4ZR4O5SP.cjs');
51
+ require('../chunk-PBPO54KZ.cjs');
48
52
  var chunkLYYJDQW6_cjs = require('../chunk-LYYJDQW6.cjs');
49
53
  var chunkQ25CZLK6_cjs = require('../chunk-Q25CZLK6.cjs');
50
54
  require('../chunk-MWHVETKN.cjs');
@@ -52,26 +56,22 @@ var chunkD4SJT3NG_cjs = require('../chunk-D4SJT3NG.cjs');
52
56
  require('../chunk-OUYBYZ7Y.cjs');
53
57
  var chunkQQMMCXBP_cjs = require('../chunk-QQMMCXBP.cjs');
54
58
  require('../chunk-DTMBAFIL.cjs');
55
- var chunkVG5XNE4H_cjs = require('../chunk-VG5XNE4H.cjs');
56
- var chunkDDWLMYRO_cjs = require('../chunk-DDWLMYRO.cjs');
57
- var chunk4ONPEVTP_cjs = require('../chunk-4ONPEVTP.cjs');
58
- require('../chunk-V3KLUWQQ.cjs');
59
59
  require('../chunk-7NJKDJVO.cjs');
60
- var chunkWPUEGDBE_cjs = require('../chunk-WPUEGDBE.cjs');
60
+ var chunkWUM76MJU_cjs = require('../chunk-WUM76MJU.cjs');
61
61
  var chunkNX56DIG3_cjs = require('../chunk-NX56DIG3.cjs');
62
62
  var chunkU4YOVI5D_cjs = require('../chunk-U4YOVI5D.cjs');
63
63
  require('../chunk-NEGFHF3V.cjs');
64
- var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
65
64
  var chunkZ3LFF3YT_cjs = require('../chunk-Z3LFF3YT.cjs');
65
+ var chunkI6GEQWIV_cjs = require('../chunk-I6GEQWIV.cjs');
66
66
  var chunk4B6HYQTW_cjs = require('../chunk-4B6HYQTW.cjs');
67
67
  var chunk6XKQAQWF_cjs = require('../chunk-6XKQAQWF.cjs');
68
68
  var chunkADMNU2CR_cjs = require('../chunk-ADMNU2CR.cjs');
69
69
  require('../chunk-PCB2BPN3.cjs');
70
70
  var chunkNSD37OF5_cjs = require('../chunk-NSD37OF5.cjs');
71
- var chunk3XCYPWC5_cjs = require('../chunk-3XCYPWC5.cjs');
72
- var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
73
71
  var chunkP7VUIW24_cjs = require('../chunk-P7VUIW24.cjs');
74
72
  require('../chunk-7G2LJMUG.cjs');
73
+ var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
74
+ var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
75
75
  var chunkPIWXX2M4_cjs = require('../chunk-PIWXX2M4.cjs');
76
76
  require('../chunk-K4763GD5.cjs');
77
77
  var chunk2RLA6QO2_cjs = require('../chunk-2RLA6QO2.cjs');
@@ -82,15 +82,15 @@ require('../chunk-WQMR3O2D.cjs');
82
82
  var chunkNZNBJF3M_cjs = require('../chunk-NZNBJF3M.cjs');
83
83
  require('../chunk-NWNVWO6L.cjs');
84
84
  require('../chunk-SK6HQ46Q.cjs');
85
- require('../chunk-OEJQFPWO.cjs');
86
85
  var chunkMNIQDXM6_cjs = require('../chunk-MNIQDXM6.cjs');
87
86
  var chunkEKFA2OS3_cjs = require('../chunk-EKFA2OS3.cjs');
88
87
  require('../chunk-WCT6FT2K.cjs');
89
88
  var chunkLH3PDPJP_cjs = require('../chunk-LH3PDPJP.cjs');
89
+ var chunk2P7VH2SK_cjs = require('../chunk-2P7VH2SK.cjs');
90
+ var chunkZU2B2RZK_cjs = require('../chunk-ZU2B2RZK.cjs');
91
+ require('../chunk-OEJQFPWO.cjs');
90
92
  require('../chunk-BQOL4XNZ.cjs');
91
- var chunkUKOYN2WD_cjs = require('../chunk-UKOYN2WD.cjs');
92
- var chunkRC25WMVB_cjs = require('../chunk-RC25WMVB.cjs');
93
- var chunkH7AI54V2_cjs = require('../chunk-H7AI54V2.cjs');
93
+ var chunkCVVQHFLR_cjs = require('../chunk-CVVQHFLR.cjs');
94
94
  var chunkCYN66TBO_cjs = require('../chunk-CYN66TBO.cjs');
95
95
  var chunkJARBYN6Z_cjs = require('../chunk-JARBYN6Z.cjs');
96
96
  require('../chunk-I4IS6ST6.cjs');
@@ -107,8 +107,8 @@ require('../chunk-AHDJXIUB.cjs');
107
107
  var chunkRL2HI6NP_cjs = require('../chunk-RL2HI6NP.cjs');
108
108
  var chunk6UZC4XVV_cjs = require('../chunk-6UZC4XVV.cjs');
109
109
  var chunkA5SKK3CU_cjs = require('../chunk-A5SKK3CU.cjs');
110
- var chunkYA6GXWC2_cjs = require('../chunk-YA6GXWC2.cjs');
111
110
  var chunkDKY67DA6_cjs = require('../chunk-DKY67DA6.cjs');
111
+ var chunkYA6GXWC2_cjs = require('../chunk-YA6GXWC2.cjs');
112
112
  var chunkZVEW3JBT_cjs = require('../chunk-ZVEW3JBT.cjs');
113
113
  var chunkU2FFG2B3_cjs = require('../chunk-U2FFG2B3.cjs');
114
114
  var chunkLOSCXAAF_cjs = require('../chunk-LOSCXAAF.cjs');
@@ -268,7 +268,7 @@ function ConnectedWorkspaceActivity({
268
268
  [feed.data]
269
269
  );
270
270
  return /* @__PURE__ */ jsxRuntime.jsx(
271
- chunkWPUEGDBE_cjs.WorkspaceActivityList,
271
+ chunkWUM76MJU_cjs.WorkspaceActivityList,
272
272
  {
273
273
  ...listProps,
274
274
  items,
@@ -1466,14 +1466,14 @@ function ConnectedOfflineStatus({ compact = false }) {
1466
1466
  const openOutbox = () => openMail?.(outbox.length > 0 ? { folder: outboxFolder } : void 0);
1467
1467
  let tone;
1468
1468
  let label;
1469
- let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunkOGJCEWME_cjs.openPendingSyncDialog;
1469
+ let onOpen = pending === 0 && outbox.length + mailChanges > 0 ? openOutbox : chunk4XNP27N4_cjs.openPendingSyncDialog;
1470
1470
  if (!isOnline) {
1471
1471
  tone = "offline";
1472
1472
  label = waiting > 0 ? `Offline \xB7 ${waiting} pending` : "Offline";
1473
1473
  } else if (failed > 0) {
1474
1474
  tone = "failed";
1475
1475
  label = `${plural(failed, "change", "changes")} didn\u2019t sync`;
1476
- onOpen = chunkOGJCEWME_cjs.openPendingSyncDialog;
1476
+ onOpen = chunk4XNP27N4_cjs.openPendingSyncDialog;
1477
1477
  } else if (outboxFailed > 0) {
1478
1478
  tone = "failed";
1479
1479
  label = `${plural(outboxFailed, "email", "emails")} not sent`;
@@ -1605,7 +1605,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1605
1605
  onChange: (e) => {
1606
1606
  const file = e.target.files?.[0];
1607
1607
  e.target.value = "";
1608
- if (file) void add(() => chunkH7AI54V2_cjs.importSkillFile(file));
1608
+ if (file) void add(() => chunkCVVQHFLR_cjs.importSkillFile(file));
1609
1609
  }
1610
1610
  }
1611
1611
  ),
@@ -1630,7 +1630,7 @@ function ConnectedSkillUpload({ onDone, labels, className }) {
1630
1630
  className: "space-y-2",
1631
1631
  onSubmit: (e) => {
1632
1632
  e.preventDefault();
1633
- if (url.trim()) void add(() => chunkH7AI54V2_cjs.importSkillFromUrl(url));
1633
+ if (url.trim()) void add(() => chunkCVVQHFLR_cjs.importSkillFromUrl(url));
1634
1634
  },
1635
1635
  children: [
1636
1636
  /* @__PURE__ */ jsxRuntime.jsx(ui.Label, { htmlFor: "skills-add-url", children: l.fromLink }),
@@ -1698,9 +1698,9 @@ function ConnectedSkillsLibrary({
1698
1698
  const [type, setType] = react.useState("all");
1699
1699
  const [view, setView] = react.useState("gallery");
1700
1700
  const [isBusy, setIsBusy] = react.useState(false);
1701
- const all = react.useMemo(() => chunkH7AI54V2_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1701
+ const all = react.useMemo(() => chunkCVVQHFLR_cjs.buildLibrarySkills(builtins, listings ?? []), [builtins, listings]);
1702
1702
  const shown = react.useMemo(
1703
- () => chunkH7AI54V2_cjs.filterLibrarySkills(all, { query, source, type }),
1703
+ () => chunkCVVQHFLR_cjs.filterLibrarySkills(all, { query, source, type }),
1704
1704
  [all, query, source, type]
1705
1705
  );
1706
1706
  const current = all.find((s) => s.slug === selected) ?? null;
@@ -1711,21 +1711,21 @@ function ConnectedSkillsLibrary({
1711
1711
  const count2 = (s) => all.filter((x) => x.source === s).length;
1712
1712
  const sourceOptions = [
1713
1713
  { id: "all", label: "All", count: all.length },
1714
- { id: "builtin", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1715
- { id: "mine", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1716
- { id: "shared", label: chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1714
+ { id: "builtin", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.builtin, count: count2("builtin") },
1715
+ { id: "mine", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.mine, count: count2("mine") },
1716
+ { id: "shared", label: chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.shared, count: count2("shared") }
1717
1717
  ];
1718
1718
  const types = [...new Set(all.map((s) => s.type))];
1719
1719
  const typeOptions = [
1720
1720
  { id: "all", label: "Any kind" },
1721
- ...types.map((t) => ({ id: t, label: chunkH7AI54V2_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1721
+ ...types.map((t) => ({ id: t, label: chunkCVVQHFLR_cjs.SKILL_TYPE_LABELS[t] ?? t }))
1722
1722
  ];
1723
1723
  const pick = (slug) => {
1724
1724
  setSelected(slug);
1725
1725
  setMode("detail");
1726
1726
  };
1727
1727
  const markdownOf = async (skill) => {
1728
- if (!skill.docExtId) return chunkH7AI54V2_cjs.workflowToSkillMarkdown(skill.workflow);
1728
+ if (!skill.docExtId) return chunkCVVQHFLR_cjs.workflowToSkillMarkdown(skill.workflow);
1729
1729
  const response = await arbi.documents.download(skill.docExtId);
1730
1730
  if (!response.ok) throw new Error(`Could not read the skill (${response.status})`);
1731
1731
  return response.text();
@@ -1789,7 +1789,7 @@ function ConnectedSkillsLibrary({
1789
1789
  try {
1790
1790
  documentTools.downloadBlob(
1791
1791
  new Blob([await markdownOf(skill)], { type: "text/markdown" }),
1792
- chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME
1792
+ chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME
1793
1793
  );
1794
1794
  } catch (error) {
1795
1795
  notify19(errorText(error, "Could not export the skill"), "error");
@@ -1830,10 +1830,10 @@ function ConnectedSkillsLibrary({
1830
1830
  }
1831
1831
  )
1832
1832
  ] }),
1833
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.SkillViewToggle, { value: view, onChange: setView })
1833
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.SkillViewToggle, { value: view, onChange: setView })
1834
1834
  ] }),
1835
1835
  /* @__PURE__ */ jsxRuntime.jsx(
1836
- chunkH7AI54V2_cjs.SkillFilterChips,
1836
+ chunkCVVQHFLR_cjs.SkillFilterChips,
1837
1837
  {
1838
1838
  label: "Show",
1839
1839
  value: source,
@@ -1842,7 +1842,7 @@ function ConnectedSkillsLibrary({
1842
1842
  }
1843
1843
  ),
1844
1844
  types.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
1845
- chunkH7AI54V2_cjs.SkillFilterChips,
1845
+ chunkCVVQHFLR_cjs.SkillFilterChips,
1846
1846
  {
1847
1847
  label: "Kind",
1848
1848
  value: type,
@@ -1889,12 +1889,12 @@ function ConnectedSkillsLibrary({
1889
1889
  view === "gallery" ? "grid grid-cols-[repeat(auto-fill,minmax(9.5rem,1fr))]" : "flex flex-col"
1890
1890
  ),
1891
1891
  children: shown.map((skill) => /* @__PURE__ */ jsxRuntime.jsx(
1892
- chunkH7AI54V2_cjs.SkillTile,
1892
+ chunkCVVQHFLR_cjs.SkillTile,
1893
1893
  {
1894
1894
  name: skill.title,
1895
1895
  testId: `skill-tile-${skill.slug}`,
1896
1896
  description: skill.description,
1897
- sourceLabel: skill.isShared ? `${chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkH7AI54V2_cjs.SKILL_SOURCE_LABELS[skill.source],
1897
+ sourceLabel: skill.isShared ? `${chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS.mine}, shared` : chunkCVVQHFLR_cjs.SKILL_SOURCE_LABELS[skill.source],
1898
1898
  type: skill.type,
1899
1899
  icon,
1900
1900
  layout: view,
@@ -1929,7 +1929,7 @@ function ConnectedSkillsLibrary({
1929
1929
  }
1930
1930
  ),
1931
1931
  mode === "new" && /* @__PURE__ */ jsxRuntime.jsx(
1932
- chunkH7AI54V2_cjs.SkillGenerateForm,
1932
+ chunkCVVQHFLR_cjs.SkillGenerateForm,
1933
1933
  {
1934
1934
  icon,
1935
1935
  onGenerate: (desc) => {
@@ -1956,11 +1956,11 @@ function ConnectedSkillsLibrary({
1956
1956
  ),
1957
1957
  mode === "add" && /* @__PURE__ */ jsxRuntime.jsx(ConnectedSkillUpload, { onDone: done }),
1958
1958
  mode === "detail" && current && /* @__PURE__ */ jsxRuntime.jsx(
1959
- chunkH7AI54V2_cjs.SkillLibraryDetail,
1959
+ chunkCVVQHFLR_cjs.SkillLibraryDetail,
1960
1960
  {
1961
1961
  skill: current,
1962
1962
  icon,
1963
- instructions: current.docExtId ? currentText ? chunkH7AI54V2_cjs.parseSkillFrontmatter(currentText, chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1963
+ instructions: current.docExtId ? currentText ? chunkCVVQHFLR_cjs.parseSkillFrontmatter(currentText, chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME).content : "" : current.workflow.run.kind === "prompt" ? current.workflow.run.promptTemplate : "",
1964
1964
  isLoading: !!current.docExtId && textLoading,
1965
1965
  actions: {
1966
1966
  onRun: () => onRun(current.slug),
@@ -1995,7 +1995,7 @@ function SkillEditor({
1995
1995
  const [seeded, setSeeded] = react.useState(!isEditing);
1996
1996
  const [nameError, setNameError] = react.useState(null);
1997
1997
  if (isEditing && !seeded && text !== void 0) {
1998
- const parsed = chunkH7AI54V2_cjs.parseSkillFrontmatter(text, chunkH7AI54V2_cjs.SKILL_MAIN_FILENAME);
1998
+ const parsed = chunkCVVQHFLR_cjs.parseSkillFrontmatter(text, chunkCVVQHFLR_cjs.SKILL_MAIN_FILENAME);
1999
1999
  setDescription(parsed.description ?? "");
2000
2000
  setBody(parsed.content ?? "");
2001
2001
  setSeeded(true);
@@ -2009,15 +2009,15 @@ function SkillEditor({
2009
2009
  notify19("Add a short description.", "error");
2010
2010
  return;
2011
2011
  }
2012
- const slug = chunkH7AI54V2_cjs.skillSlug(name);
2012
+ const slug = chunkCVVQHFLR_cjs.skillSlug(name);
2013
2013
  try {
2014
- await onSave(slug, chunkH7AI54V2_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2014
+ await onSave(slug, chunkCVVQHFLR_cjs.serializeSkill({ name: slug, description, body }), isEditing);
2015
2015
  } catch (err) {
2016
2016
  notify19(errorText(err, "Could not save the skill"), "error");
2017
2017
  }
2018
2018
  };
2019
2019
  return /* @__PURE__ */ jsxRuntime.jsx(
2020
- chunkH7AI54V2_cjs.SkillEditForm,
2020
+ chunkCVVQHFLR_cjs.SkillEditForm,
2021
2021
  {
2022
2022
  name,
2023
2023
  onNameChange: setName,
@@ -2110,7 +2110,7 @@ function ConnectedSkillsBrowser({
2110
2110
  }
2111
2111
  ) }),
2112
2112
  runSkillId && /* @__PURE__ */ jsxRuntime.jsx(
2113
- chunkPJTKXKDS_cjs.ConnectedTaskComposer,
2113
+ chunk4I2PCP7O_cjs.ConnectedTaskComposer,
2114
2114
  {
2115
2115
  kind: "workflow",
2116
2116
  open: true,
@@ -2134,9 +2134,9 @@ function ConnectedAgentCreator({
2134
2134
  agent,
2135
2135
  initialName,
2136
2136
  onSaved,
2137
- capabilities = chunkH7AI54V2_cjs.DEFAULT_AGENT_CAPABILITIES,
2138
- templates = chunkH7AI54V2_cjs.DEFAULT_AGENT_TEMPLATES,
2139
- types = chunkH7AI54V2_cjs.DEFAULT_AGENT_TYPES,
2137
+ capabilities = chunkCVVQHFLR_cjs.DEFAULT_AGENT_CAPABILITIES,
2138
+ templates = chunkCVVQHFLR_cjs.DEFAULT_AGENT_TEMPLATES,
2139
+ types = chunkCVVQHFLR_cjs.DEFAULT_AGENT_TYPES,
2140
2140
  canRevokeWorkspaces = false,
2141
2141
  labels
2142
2142
  }) {
@@ -2178,7 +2178,7 @@ function ConnectedAgentCreator({
2178
2178
  const initialValues = react.useMemo(
2179
2179
  () => ({
2180
2180
  name: agent?.given_name ?? initialName ?? "",
2181
- persona: isEdit ? chunkH7AI54V2_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2181
+ persona: isEdit ? chunkCVVQHFLR_cjs.stripPersonaPreamble(String(agents.PERSONA ?? "")) : "",
2182
2182
  modelName: String(agents.AGENT_MODEL_NAME ?? ""),
2183
2183
  capabilities: Object.fromEntries(capabilities.map(({ key }) => [key, Boolean(agents[key])])),
2184
2184
  type: "builtin",
@@ -2197,7 +2197,7 @@ function ConnectedAgentCreator({
2197
2197
  try {
2198
2198
  let agentExtId = agent?.external_id ?? early?.id ?? "";
2199
2199
  if (!agentExtId) {
2200
- if (!chunkH7AI54V2_cjs.isValidAgentName(values.name)) {
2200
+ if (!chunkCVVQHFLR_cjs.isValidAgentName(values.name)) {
2201
2201
  notify19("Give the agent a name first.", "error");
2202
2202
  return;
2203
2203
  }
@@ -2233,7 +2233,7 @@ function ConnectedAgentCreator({
2233
2233
  title: `agent-${name}`,
2234
2234
  sections: {
2235
2235
  Agents: {
2236
- PERSONA: chunkH7AI54V2_cjs.composePersona(name, values.persona),
2236
+ PERSONA: chunkCVVQHFLR_cjs.composePersona(name, values.persona),
2237
2237
  ...values.modelName ? { AGENT_MODEL_NAME: values.modelName } : {},
2238
2238
  ...Object.fromEntries(capabilities.map(({ key }) => [key, !!values.capabilities[key]])),
2239
2239
  ENABLED_SKILLS: values.capabilities.SKILLS_ENABLED && skills.length ? skills : null,
@@ -2256,7 +2256,7 @@ function ConnectedAgentCreator({
2256
2256
  };
2257
2257
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2258
2258
  /* @__PURE__ */ jsxRuntime.jsx(
2259
- chunkH7AI54V2_cjs.AgentCreator,
2259
+ chunkCVVQHFLR_cjs.AgentCreator,
2260
2260
  {
2261
2261
  open: ready,
2262
2262
  onOpenChange,
@@ -2272,11 +2272,11 @@ function ConnectedAgentCreator({
2272
2272
  ) : void 0,
2273
2273
  revokingWorkspaceId: revokeAccess.isPending ? revokeAccess.variables?.workspaceId : void 0,
2274
2274
  avatar: (values) => /* @__PURE__ */ jsxRuntime.jsx(
2275
- chunkH7AI54V2_cjs.AgentAvatarField,
2275
+ chunkCVVQHFLR_cjs.AgentAvatarField,
2276
2276
  {
2277
2277
  picture,
2278
2278
  isBusy: avatarBusy,
2279
- canGenerate: isEdit || chunkH7AI54V2_cjs.isValidAgentName(values.name),
2279
+ canGenerate: isEdit || chunkCVVQHFLR_cjs.isValidAgentName(values.name),
2280
2280
  onGenerate: () => handleGenerateAvatar(values)
2281
2281
  }
2282
2282
  ),
@@ -2328,7 +2328,7 @@ function ConnectedAgentCreator({
2328
2328
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: "Connect your agent" }),
2329
2329
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogDescription, { children: "This key is shown once. Run the script on the machine that will host the agent." })
2330
2330
  ] }),
2331
- connect && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2331
+ connect && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentConnectInstructions, { email: connect.email, signingKey: connect.signingKey })
2332
2332
  ]
2333
2333
  }
2334
2334
  ) })
@@ -2720,7 +2720,7 @@ function useMemoryCount(enabled) {
2720
2720
  }
2721
2721
  function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2722
2722
  const { notify: notify19, confirm, openConversation, openDocument } = chunk46LX6EQT_cjs.useBlocksEnvironment();
2723
- const people = chunkPJTKXKDS_cjs.useTaskPeople();
2723
+ const people = chunk4I2PCP7O_cjs.useTaskPeople();
2724
2724
  const canEditShared = react$1.useCanEditShared();
2725
2725
  const isWorkspaceOwner = react$1.useIsWorkspaceOwner();
2726
2726
  const { data: workflows = [] } = react$1.useWorkflows({ live: true });
@@ -2746,7 +2746,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2746
2746
  }, [documents]);
2747
2747
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2748
2748
  /* @__PURE__ */ jsxRuntime.jsx(
2749
- chunkH7AI54V2_cjs.TaskTable,
2749
+ chunkCVVQHFLR_cjs.TaskTable,
2750
2750
  {
2751
2751
  tasks,
2752
2752
  isLoading,
@@ -2776,7 +2776,7 @@ function AgentsTasks({ tasks, isLoading, agents, labels: l, onCompose }) {
2776
2776
  }
2777
2777
  ),
2778
2778
  activityFor && /* @__PURE__ */ jsxRuntime.jsx(
2779
- chunkPJTKXKDS_cjs.ConnectedTaskActivityDialog,
2779
+ chunk4I2PCP7O_cjs.ConnectedTaskActivityDialog,
2780
2780
  {
2781
2781
  conversationId: activityFor.external_id,
2782
2782
  taskName: activityFor.title || l.untitledTask,
@@ -2815,7 +2815,7 @@ function AgentsLauncher({ workflows, renderIcon, labels: l, testId }) {
2815
2815
  [workflows, skills, l.skillFiles]
2816
2816
  );
2817
2817
  const launch = async ({ workflow, inputs, agentId }) => {
2818
- const values = chunkH7AI54V2_cjs.defaultTaskComposerValues(launchable, {
2818
+ const values = chunkCVVQHFLR_cjs.defaultTaskComposerValues(launchable, {
2819
2819
  workflowId: workflow.id,
2820
2820
  assignee: "agent",
2821
2821
  inputs,
@@ -2935,7 +2935,7 @@ function ConnectedAgentsPageScope(props) {
2935
2935
  children,
2936
2936
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentCreator, { ...management.editorProps, ...agentOptions.creator }),
2937
2937
  taskDialog && /* @__PURE__ */ jsxRuntime.jsx(
2938
- chunkPJTKXKDS_cjs.ConnectedTaskComposer,
2938
+ chunk4I2PCP7O_cjs.ConnectedTaskComposer,
2939
2939
  {
2940
2940
  open: true,
2941
2941
  onOpenChange: (open) => !open && setTaskDialog(null),
@@ -2957,7 +2957,7 @@ function AgentsGallery() {
2957
2957
  cardTestIds
2958
2958
  } = agentOptions;
2959
2959
  const { openConversation } = chunk46LX6EQT_cjs.useBlocksEnvironment();
2960
- const tasksByAgent = react.useMemo(() => chunkH7AI54V2_cjs.groupAgentTasks(tasks), [tasks]);
2960
+ const tasksByAgent = react.useMemo(() => chunkCVVQHFLR_cjs.groupAgentTasks(tasks), [tasks]);
2961
2961
  const behaviour = useAgentBehaviour(l.defaultBehaviour, details.includes("behaviour"));
2962
2962
  const { agents } = management;
2963
2963
  const cardDetails = (agent) => details.map(
@@ -2972,7 +2972,7 @@ function AgentsGallery() {
2972
2972
  ) : 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)
2973
2973
  );
2974
2974
  return /* @__PURE__ */ jsxRuntime.jsx(
2975
- chunkH7AI54V2_cjs.AgentGallery,
2975
+ chunkCVVQHFLR_cjs.AgentGallery,
2976
2976
  {
2977
2977
  count: agents.length,
2978
2978
  onCreate: management.create,
@@ -2982,9 +2982,9 @@ function AgentsGallery() {
2982
2982
  const agentTasks = tasksByAgent.get(agent.external_id) ?? [];
2983
2983
  const running = agentTasks.filter((t) => t.in_progress);
2984
2984
  const watchConversationId = running[0]?.external_id ?? null;
2985
- const progress = agentTasks[0] ? chunkH7AI54V2_cjs.goalProgress(agentTasks[0]) : null;
2985
+ const progress = agentTasks[0] ? chunkCVVQHFLR_cjs.goalProgress(agentTasks[0]) : null;
2986
2986
  return /* @__PURE__ */ jsxRuntime.jsx(
2987
- chunkH7AI54V2_cjs.AgentCard,
2987
+ chunkCVVQHFLR_cjs.AgentCard,
2988
2988
  {
2989
2989
  name: displayName(agent),
2990
2990
  avatar: /* @__PURE__ */ jsxRuntime.jsx(AgentInitialsAvatar, { agent }),
@@ -3013,7 +3013,7 @@ function AgentsStats() {
3013
3013
  const memoryCount = useMemoryCount(true);
3014
3014
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4", children: [
3015
3015
  /* @__PURE__ */ jsxRuntime.jsx(
3016
- chunk3XCYPWC5_cjs.MetricCard,
3016
+ chunk2P7VH2SK_cjs.MetricCard,
3017
3017
  {
3018
3018
  label: l.statAgents,
3019
3019
  value: management.agents.length,
@@ -3024,7 +3024,7 @@ function AgentsStats() {
3024
3024
  }
3025
3025
  ),
3026
3026
  /* @__PURE__ */ jsxRuntime.jsx(
3027
- chunk3XCYPWC5_cjs.MetricCard,
3027
+ chunk2P7VH2SK_cjs.MetricCard,
3028
3028
  {
3029
3029
  label: l.statTasks,
3030
3030
  value: tasks.length,
@@ -3035,7 +3035,7 @@ function AgentsStats() {
3035
3035
  }
3036
3036
  ),
3037
3037
  /* @__PURE__ */ jsxRuntime.jsx(
3038
- chunk3XCYPWC5_cjs.MetricCard,
3038
+ chunk2P7VH2SK_cjs.MetricCard,
3039
3039
  {
3040
3040
  label: l.statConfigs,
3041
3041
  value: behaviour.count,
@@ -3045,7 +3045,7 @@ function AgentsStats() {
3045
3045
  }
3046
3046
  ),
3047
3047
  /* @__PURE__ */ jsxRuntime.jsx(
3048
- chunk3XCYPWC5_cjs.MetricCard,
3048
+ chunk2P7VH2SK_cjs.MetricCard,
3049
3049
  {
3050
3050
  label: l.statMemory,
3051
3051
  value: memoryCount.count,
@@ -3092,7 +3092,7 @@ function AgentsSectionBody({ id }) {
3092
3092
  ) });
3093
3093
  case "scheduled":
3094
3094
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-[min(32rem,70dvh)] min-h-64 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
3095
- chunkMH7P5FEK_cjs.ConnectedWorkflowsTable,
3095
+ chunkFCT62ZPE_cjs.ConnectedWorkflowsTable,
3096
3096
  {
3097
3097
  filter: "scheduled",
3098
3098
  onEdit: (w) => openWorkflow?.(w.external_id),
@@ -3396,7 +3396,7 @@ function ConnectedTagTable({
3396
3396
  const fail2 = (fallback) => (e) => notify19(browser.refusalReason(e, fallback), "error");
3397
3397
  const snapshot2 = (data) => {
3398
3398
  const title = exportTitle ?? ui.tagKindTitle(kind, { plural: true });
3399
- const bytes = chunkWPUEGDBE_cjs.tagTableDocx(data, {
3399
+ const bytes = chunkWUM76MJU_cjs.tagTableDocx(data, {
3400
3400
  title,
3401
3401
  nameOf: (id) => people.find((p) => p.value === id)?.label
3402
3402
  });
@@ -3405,7 +3405,7 @@ function ConnectedTagTable({
3405
3405
  return { blob: new Blob([bytes], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }), name };
3406
3406
  };
3407
3407
  return /* @__PURE__ */ jsxRuntime.jsx(
3408
- chunkWPUEGDBE_cjs.TagTable,
3408
+ chunkWUM76MJU_cjs.TagTable,
3409
3409
  {
3410
3410
  ...props,
3411
3411
  table,
@@ -4243,8 +4243,8 @@ function ConnectedAiReview({
4243
4243
  const generate = react$1.useGenerateDocTags();
4244
4244
  const { data: liveDocs = [] } = react$1.useDocuments();
4245
4245
  const { data: tags = [] } = react$1.useTags();
4246
- const result = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.run);
4247
- const setResult = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.setRun);
4246
+ const result = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.run);
4247
+ const setResult = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.setRun);
4248
4248
  const phase = result ? "review" : "ask";
4249
4249
  const docCount = documents.length;
4250
4250
  const scope = allDocuments ? "processed" : "selected";
@@ -4479,7 +4479,7 @@ function ConnectedAiReview({
4479
4479
  }, [kind]);
4480
4480
  const description = phase === "ask" ? assistant.reviewEach(docCount, scope) : aiCellsTotal > 0 ? reviewProgress(aiCellsDone, aiCellsEmpty, aiCellsTotal) : `Applied to ${rows.length} document${plural2(rows.length)}`;
4481
4481
  return /* @__PURE__ */ jsxRuntime.jsx(
4482
- chunkAKR4JN6I_cjs.AiReviewDialogView,
4482
+ chunkJCFXS336_cjs.AiReviewDialogView,
4483
4483
  {
4484
4484
  open,
4485
4485
  onOpenChange: handleOpenChange,
@@ -4530,9 +4530,9 @@ function GlossaryExport({ labelId, nameOf }) {
4530
4530
  const narrowed = agreements.find((a) => a.id === narrowTo);
4531
4531
  const title = narrowed ? `Glossary - ${narrowed.name}` : "Glossary";
4532
4532
  const download = (format) => {
4533
- const entries = chunkWPUEGDBE_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
4534
- const blob = format === "docx" ? new Blob([chunkWPUEGDBE_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkWPUEGDBE_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
4535
- documentTools.downloadBlob(blob, chunkWPUEGDBE_cjs.glossaryFileName(title, format));
4533
+ const entries = chunkWUM76MJU_cjs.glossaryEntries(sources, { labelId: narrowed?.id });
4534
+ const blob = format === "docx" ? new Blob([chunkWUM76MJU_cjs.glossaryDocx(entries, { title })], { type: chunkUKOYN2WD_cjs.DOCX_MIME_TYPE }) : new Blob([chunkWUM76MJU_cjs.glossaryMarkdown(entries, { title })], { type: "text/markdown" });
4535
+ documentTools.downloadBlob(blob, chunkWUM76MJU_cjs.glossaryFileName(title, format));
4536
4536
  };
4537
4537
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", "data-testid": "tags-glossary", children: [
4538
4538
  agreements.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -4596,8 +4596,8 @@ function useOpenTaggedContent() {
4596
4596
  if (!workspaceId) return;
4597
4597
  session.setTransientView("topbar.filter", "");
4598
4598
  if (kind === "documents") {
4599
- chunkMFZW4FEW_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
4600
- chunkMFZW4FEW_cjs.useFilesPrefs.getState().setViewMode("grid");
4599
+ chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setDocumentFilters({ [tagId]: "include" });
4600
+ chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setViewMode("grid");
4601
4601
  session.setPage("documents");
4602
4602
  } else if (kind === "facts") {
4603
4603
  session.setViewFilter(FACTS_FILTER_KEY, { [tagId]: "include" });
@@ -4636,7 +4636,7 @@ function ConnectedTagForm({
4636
4636
  nameByKind = false
4637
4637
  }) {
4638
4638
  const isCreate = !tag;
4639
- const memberById = chunkJMBAUHI7_cjs.useMemberLookup();
4639
+ const memberById = chunkZCQXQIBA_cjs.useMemberLookup();
4640
4640
  const creator = memberById(tag?.created_by_ext_id);
4641
4641
  const updater = memberById(tag?.updated_by_ext_id);
4642
4642
  const fieldLabel = ui.getEntityLabel("TAG", "SINGULAR");
@@ -4715,19 +4715,19 @@ function ConnectedTagForm({
4715
4715
  metaLines.push({
4716
4716
  text: `Created ${ui.formatFriendlyDate(tag.created_at)}`,
4717
4717
  byLabel: "by",
4718
- by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkMGGDT6JK_cjs.DocumentUser, { user: creator }) : void 0
4718
+ by: creator ? /* @__PURE__ */ jsxRuntime.jsx(chunkMAKCWF45_cjs.DocumentUser, { user: creator }) : void 0
4719
4719
  });
4720
4720
  if (tag.updated_at && tag.updated_at !== tag.created_at) {
4721
4721
  metaLines.push({
4722
4722
  text: `Updated ${ui.formatFriendlyDate(tag.updated_at)}`,
4723
4723
  byLabel: "by",
4724
- by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkMGGDT6JK_cjs.DocumentUser, { user: updater }) : void 0
4724
+ by: updater ? /* @__PURE__ */ jsxRuntime.jsx(chunkMAKCWF45_cjs.DocumentUser, { user: updater }) : void 0
4725
4725
  });
4726
4726
  }
4727
4727
  }
4728
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.TagFormRoot, { children: [
4728
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.TagFormRoot, { children: [
4729
4729
  !nameOnRow && /* @__PURE__ */ jsxRuntime.jsx(
4730
- chunkAKR4JN6I_cjs.TagFormNameField,
4730
+ chunkJCFXS336_cjs.TagFormNameField,
4731
4731
  {
4732
4732
  label: group || nameByKind ? `${ui.tagKindTitle(kind)} Name` : `${columnLabel} Name`,
4733
4733
  placeholder: `Enter ${kindNoun ?? columnLabel.toLowerCase()} name...`,
@@ -4737,7 +4737,7 @@ function ConnectedTagForm({
4737
4737
  }
4738
4738
  ),
4739
4739
  kinds2.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
4740
- chunkAKR4JN6I_cjs.TagFormSelectField,
4740
+ chunkJCFXS336_cjs.TagFormSelectField,
4741
4741
  {
4742
4742
  label: "Kind",
4743
4743
  testId: "inline-tag-form-kind-field",
@@ -4752,7 +4752,7 @@ function ConnectedTagForm({
4752
4752
  }
4753
4753
  ),
4754
4754
  kind === "annotation" && /* @__PURE__ */ jsxRuntime.jsx(
4755
- chunkAKR4JN6I_cjs.TagFormSelectField,
4755
+ chunkJCFXS336_cjs.TagFormSelectField,
4756
4756
  {
4757
4757
  label: group === "annotation" ? "Value type" : "Field Type",
4758
4758
  testId: "inline-tag-form-type-field",
@@ -4764,7 +4764,7 @@ function ConnectedTagForm({
4764
4764
  }
4765
4765
  ),
4766
4766
  showParentPicker && /* @__PURE__ */ jsxRuntime.jsx(
4767
- chunkAKR4JN6I_cjs.TagFormSelectField,
4767
+ chunkJCFXS336_cjs.TagFormSelectField,
4768
4768
  {
4769
4769
  label: "Nested Under",
4770
4770
  value: parentId,
@@ -4786,14 +4786,14 @@ function ConnectedTagForm({
4786
4786
  ]
4787
4787
  }
4788
4788
  ),
4789
- nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4789
+ nestingEnabled && hasChildren && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.TagFormNote, { testId: "inline-tag-form-parent-locked", children: [
4790
4790
  "Other fields are nested under this one, so it cannot itself be nested \u2014 fields nest",
4791
4791
  " ",
4792
4792
  browser.TAG_NESTING_MAX_DEPTH,
4793
4793
  " levels deep."
4794
4794
  ] }),
4795
4795
  tagType === "select" && /* @__PURE__ */ jsxRuntime.jsx(
4796
- chunkAKR4JN6I_cjs.TagFormOptionsEditor,
4796
+ chunkJCFXS336_cjs.TagFormOptionsEditor,
4797
4797
  {
4798
4798
  label: "Options",
4799
4799
  options,
@@ -4806,7 +4806,7 @@ function ConnectedTagForm({
4806
4806
  }
4807
4807
  ),
4808
4808
  tagType === "text" && /* @__PURE__ */ jsxRuntime.jsx(
4809
- chunkAKR4JN6I_cjs.TagFormInstructionField,
4809
+ chunkJCFXS336_cjs.TagFormInstructionField,
4810
4810
  {
4811
4811
  label: "AI Instruction",
4812
4812
  optionalLabel: "(optional)",
@@ -4816,12 +4816,12 @@ function ConnectedTagForm({
4816
4816
  onChange: setInstruction
4817
4817
  }
4818
4818
  ),
4819
- metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TagFormMeta, { lines: metaLines }),
4819
+ metaLines.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TagFormMeta, { lines: metaLines }),
4820
4820
  /* @__PURE__ */ jsxRuntime.jsx(
4821
- chunkAKR4JN6I_cjs.TagFormFooter,
4821
+ chunkJCFXS336_cjs.TagFormFooter,
4822
4822
  {
4823
4823
  sharedToggle: isCreate || !group ? /* @__PURE__ */ jsxRuntime.jsx(
4824
- chunkAKR4JN6I_cjs.TagFormSharedToggle,
4824
+ chunkJCFXS336_cjs.TagFormSharedToggle,
4825
4825
  {
4826
4826
  label: "Shared with workspace",
4827
4827
  toggle: /* @__PURE__ */ jsxRuntime.jsx(
@@ -5061,7 +5061,7 @@ function KindSection({
5061
5061
  {
5062
5062
  testId: `tags-kind-${kind}`,
5063
5063
  title: ui.tagKindTitle(kind, { plural: true }),
5064
- description: chunkWPUEGDBE_cjs.tagKindDescription(kind),
5064
+ description: chunkWUM76MJU_cjs.tagKindDescription(kind),
5065
5065
  children: [
5066
5066
  browser.isEntityTag({ kind }) && extractingCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
5067
5067
  "p",
@@ -5071,9 +5071,9 @@ function KindSection({
5071
5071
  children: [
5072
5072
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-4 animate-spin" }),
5073
5073
  "Extracting ",
5074
- chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase(),
5074
+ chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase(),
5075
5075
  " from ",
5076
- chunkWPUEGDBE_cjs.documentCount(extractingCount),
5076
+ chunkWUM76MJU_cjs.documentCount(extractingCount),
5077
5077
  "\u2026"
5078
5078
  ]
5079
5079
  }
@@ -5091,7 +5091,7 @@ function KindSection({
5091
5091
  onOpenTag: ctx.onOpenTag,
5092
5092
  onOpenRow: ctx.onOpenTag,
5093
5093
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5094
- labels: chunkWPUEGDBE_cjs.tagTableLabels(kind),
5094
+ labels: chunkWUM76MJU_cjs.tagTableLabels(kind),
5095
5095
  testId: `tags-table-${kind}`
5096
5096
  }
5097
5097
  )
@@ -5199,15 +5199,15 @@ function TagSection({
5199
5199
  onOpenTag: ctx.onOpenTag,
5200
5200
  onOpenRow: ctx.onOpenTag,
5201
5201
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5202
- labels: chunkWPUEGDBE_cjs.tagTableLabels(tag.kind),
5202
+ labels: chunkWUM76MJU_cjs.tagTableLabels(tag.kind),
5203
5203
  testId: "tags-rows"
5204
5204
  }
5205
5205
  ),
5206
5206
  /* @__PURE__ */ jsxRuntime.jsx(
5207
- chunkWPUEGDBE_cjs.TagDetail,
5207
+ chunkWUM76MJU_cjs.TagDetail,
5208
5208
  {
5209
5209
  onOpenTaggedItems: ctx.onOpenTaggedItems,
5210
- fieldLabels: chunkWPUEGDBE_cjs.tagTableLabels(tag.kind),
5210
+ fieldLabels: chunkWUM76MJU_cjs.tagTableLabels(tag.kind),
5211
5211
  row: detailRow,
5212
5212
  fields: schema.data?.fields ?? [],
5213
5213
  isLoading: detail.isLoading,
@@ -5221,7 +5221,7 @@ function TagSection({
5221
5221
  throw e;
5222
5222
  })
5223
5223
  ),
5224
- labels: chunkWPUEGDBE_cjs.tagDetailLabels(),
5224
+ labels: chunkWUM76MJU_cjs.tagDetailLabels(),
5225
5225
  testId: "tags-detail"
5226
5226
  }
5227
5227
  )
@@ -5244,9 +5244,9 @@ var TAG_FILTER_FIELDS = [
5244
5244
  function ConnectedTagsPage() {
5245
5245
  const { confirm, notify: notify19, openSmartSearch } = chunk46LX6EQT_cjs.useBlocksEnvironment();
5246
5246
  const onOpenTaggedItems = useOpenTaggedContent();
5247
- const setReviewOpen = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.setOpen);
5248
- const setReviewRun = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.setRun);
5249
- const reviewOpen = chunkMFZW4FEW_cjs.useAiReviewStore((state) => state.open);
5247
+ const setReviewOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.setOpen);
5248
+ const setReviewRun = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.setRun);
5249
+ const reviewOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((state) => state.open);
5250
5250
  const [review, setReview] = react.useState(null);
5251
5251
  const { data: tags } = chunkDWN5AUMH_cjs.useConnectedTags();
5252
5252
  const { data: documents } = chunkDWN5AUMH_cjs.useConnectedDocuments();
@@ -5296,7 +5296,7 @@ function ConnectedTagsPage() {
5296
5296
  const onDelete = async (t) => {
5297
5297
  const nested = browser.getChildTags([...tags], t.external_id);
5298
5298
  const uses = browser.tagUseCount(t);
5299
- const n2 = chunkWPUEGDBE_cjs.tagsPageNouns();
5299
+ const n2 = chunkWUM76MJU_cjs.tagsPageNouns();
5300
5300
  const tagNoun = (count2) => (count2 === 1 ? n2.tag : n2.tags).toLowerCase();
5301
5301
  const carriers = uses === 1 ? `${n2.document}, ${n2.fact} or ${n2.thread}` : `${n2.documents}, ${n2.facts} and ${n2.threads}`;
5302
5302
  const message = `Delete ${ui.tagKindNouns(t.kind).singular} "${t.name}"?` + (uses > 0 ? `
@@ -5317,11 +5317,11 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5317
5317
  try {
5318
5318
  await extract.mutateAsync(docIds);
5319
5319
  notify19(
5320
- `Extracting ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()} from ${chunkWPUEGDBE_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5320
+ `Extracting ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()} from ${chunkWUM76MJU_cjs.documentCount(docIds.length)}. You will be notified when it is done.`,
5321
5321
  "info"
5322
5322
  );
5323
5323
  } catch (error) {
5324
- notify19(browser.refusalReason(error, `Could not extract ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()}`), "error");
5324
+ notify19(browser.refusalReason(error, `Could not extract ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()}`), "error");
5325
5325
  throw error;
5326
5326
  }
5327
5327
  };
@@ -5335,10 +5335,10 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5335
5335
  onOpenTag: openTag,
5336
5336
  onOpenTaggedItems
5337
5337
  };
5338
- const n = chunkWPUEGDBE_cjs.tagsPageNouns();
5338
+ const n = chunkWUM76MJU_cjs.tagsPageNouns();
5339
5339
  const action = view === "person" || view === "organisation" ? {
5340
5340
  label: "Extract",
5341
- title: `Extract ${chunkWPUEGDBE_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5341
+ title: `Extract ${chunkWUM76MJU_cjs.entitiesPhrase().toLowerCase()} from ${n.documents.toLowerCase()}`,
5342
5342
  icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: "h-4 w-4" }),
5343
5343
  run: () => setExtracting(true),
5344
5344
  testId: "tags-extract-entities"
@@ -5392,7 +5392,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5392
5392
  onTabChange: () => {
5393
5393
  },
5394
5394
  variant: "underline",
5395
- firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
5395
+ firstTabContent: tag ? void 0 : /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesFilterBar, { className: "flex-none", "data-testid": "tags-header-actions", children: /* @__PURE__ */ jsxRuntime.jsx(
5396
5396
  chunk6UZC4XVV_cjs.FilterInput,
5397
5397
  {
5398
5398
  value: filterText,
@@ -5414,7 +5414,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5414
5414
  filter: tagFilter
5415
5415
  }
5416
5416
  ) }),
5417
- centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
5417
+ centerContent: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesViewCenter, { children: /* @__PURE__ */ jsxRuntime.jsx(
5418
5418
  chunkSNUBQMIS_cjs.ViewToggle,
5419
5419
  {
5420
5420
  options: browser.TAG_KINDS.map((k) => ({
@@ -5507,7 +5507,7 @@ ${nested.length} nested ${tagNoun(nested.length)} ${nested.length === 1 ? "moves
5507
5507
  }
5508
5508
  ),
5509
5509
  /* @__PURE__ */ jsxRuntime.jsx(
5510
- chunkWPUEGDBE_cjs.ExtractEntitiesDialog,
5510
+ chunkWUM76MJU_cjs.ExtractEntitiesDialog,
5511
5511
  {
5512
5512
  open: extracting,
5513
5513
  onOpenChange: setExtracting,
@@ -5978,7 +5978,7 @@ function ConnectedExportPanel({
5978
5978
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", "data-testid": "export-documents", children: [
5979
5979
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 overflow-auto space-y-6 p-6", children: [
5980
5980
  jobRunning && job && /* @__PURE__ */ jsxRuntime.jsx(
5981
- chunkAKR4JN6I_cjs.TransferProgressView,
5981
+ chunkJCFXS336_cjs.TransferProgressView,
5982
5982
  {
5983
5983
  title: `${job.mode === "move" ? "Moving" : "Copying"} to ${targetName(job.target_workspace_ext_id)}`,
5984
5984
  processed: job.processed ?? 0,
@@ -5991,7 +5991,7 @@ function ConnectedExportPanel({
5991
5991
  ),
5992
5992
  jobDone && job && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5993
5993
  react$1.isTransferResumable(job) && /* @__PURE__ */ jsxRuntime.jsx(
5994
- chunkAKR4JN6I_cjs.TransferResumeBanner,
5994
+ chunkJCFXS336_cjs.TransferResumeBanner,
5995
5995
  {
5996
5996
  message: `Stopped at ${job.processed} of ${job.total}. Resume to finish \u2014 nothing is copied twice.`,
5997
5997
  onResume: () => handleResume(job),
@@ -5999,7 +5999,7 @@ function ConnectedExportPanel({
5999
5999
  }
6000
6000
  ),
6001
6001
  /* @__PURE__ */ jsxRuntime.jsx(
6002
- chunkAKR4JN6I_cjs.ExportResultsReport,
6002
+ chunkJCFXS336_cjs.ExportResultsReport,
6003
6003
  {
6004
6004
  summary: `${job.mode === "move" ? "Moved" : "Copied"} ${plural3(
6005
6005
  Number(job.counts?.copied ?? 0) + Number(job.counts?.removed ?? 0),
@@ -6012,7 +6012,7 @@ function ConnectedExportPanel({
6012
6012
  ] }),
6013
6013
  !jobId && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6014
6014
  resumable && /* @__PURE__ */ jsxRuntime.jsx(
6015
- chunkAKR4JN6I_cjs.TransferResumeBanner,
6015
+ chunkJCFXS336_cjs.TransferResumeBanner,
6016
6016
  {
6017
6017
  message: `A ${resumable.mode} to ${targetName(resumable.target_workspace_ext_id)} stopped at ${resumable.processed} of ${resumable.total}.`,
6018
6018
  onResume: () => handleResume(resumable),
@@ -6020,7 +6020,7 @@ function ConnectedExportPanel({
6020
6020
  }
6021
6021
  ),
6022
6022
  /* @__PURE__ */ jsxRuntime.jsx(
6023
- chunkAKR4JN6I_cjs.TransferScopeChooser,
6023
+ chunkJCFXS336_cjs.TransferScopeChooser,
6024
6024
  {
6025
6025
  scope: scopeChoice,
6026
6026
  onScopeChange: setScopeChoice,
@@ -6031,7 +6031,7 @@ function ConnectedExportPanel({
6031
6031
  }
6032
6032
  ),
6033
6033
  /* @__PURE__ */ jsxRuntime.jsx(
6034
- chunkAKR4JN6I_cjs.TransferKindsPicker,
6034
+ chunkJCFXS336_cjs.TransferKindsPicker,
6035
6035
  {
6036
6036
  options: ALL_KINDS.map((kind) => ({
6037
6037
  kind,
@@ -6044,9 +6044,9 @@ function ConnectedExportPanel({
6044
6044
  )
6045
6045
  }
6046
6046
  ),
6047
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6047
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TransferReferencesChooser, { value: references, onChange: setReferences }),
6048
6048
  /* @__PURE__ */ jsxRuntime.jsx(
6049
- chunkAKR4JN6I_cjs.ExportMethodChooser,
6049
+ chunkJCFXS336_cjs.ExportMethodChooser,
6050
6050
  {
6051
6051
  mode,
6052
6052
  onModeChange: setMode,
@@ -6058,17 +6058,17 @@ function ConnectedExportPanel({
6058
6058
  ),
6059
6059
  mode !== "download" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6060
6060
  /* @__PURE__ */ jsxRuntime.jsx(
6061
- chunkAKR4JN6I_cjs.ExportWorkspacePicker,
6061
+ chunkJCFXS336_cjs.ExportWorkspacePicker,
6062
6062
  {
6063
6063
  workspaces: workspaceOptions,
6064
6064
  selectedId: targetId,
6065
6065
  onSelect: setTargetId
6066
6066
  }
6067
6067
  ),
6068
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6068
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TransferConflictChooser, { value: conflict, onChange: setConflict })
6069
6069
  ] }),
6070
6070
  /* @__PURE__ */ jsxRuntime.jsx(
6071
- chunkAKR4JN6I_cjs.TransferPlanSummary,
6071
+ chunkJCFXS336_cjs.TransferPlanSummary,
6072
6072
  {
6073
6073
  lines: summary.lines,
6074
6074
  warnings: summary.warnings,
@@ -6085,7 +6085,7 @@ function ConnectedExportPanel({
6085
6085
  ] })
6086
6086
  ] }),
6087
6087
  !jobId && /* @__PURE__ */ jsxRuntime.jsx(
6088
- chunkAKR4JN6I_cjs.ExportFooter,
6088
+ chunkJCFXS336_cjs.ExportFooter,
6089
6089
  {
6090
6090
  onCancel: onClose,
6091
6091
  onSubmit: handleSubmit,
@@ -6126,7 +6126,7 @@ function OpenExportDialog({
6126
6126
  children: [
6127
6127
  /* @__PURE__ */ jsxRuntime.jsxs(chunkCVPV4I7Z_cjs.ModalHeader, { children: [
6128
6128
  /* @__PURE__ */ jsxRuntime.jsx(ui.DialogTitle, { children: /* @__PURE__ */ jsxRuntime.jsx(
6129
- chunkAKR4JN6I_cjs.ExportModalTitle,
6129
+ chunkJCFXS336_cjs.ExportModalTitle,
6130
6130
  {
6131
6131
  workspace: workspace ? {
6132
6132
  icon: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "touch-hit inline-flex", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -6543,7 +6543,7 @@ function ConnectedFieldsEditor({
6543
6543
  const [sortBy, setSortBy] = react.useState("name-asc");
6544
6544
  const [filterText, setFilterText] = react.useState("");
6545
6545
  const fieldRows = react.useMemo(
6546
- () => browser.flattenTagTree(chunkAKR4JN6I_cjs.sortFields(chunkAKR4JN6I_cjs.filterFieldsByName(tags, filterText), sortBy)),
6546
+ () => browser.flattenTagTree(chunkJCFXS336_cjs.sortFields(chunkJCFXS336_cjs.filterFieldsByName(tags, filterText), sortBy)),
6547
6547
  [tags, filterText, sortBy]
6548
6548
  );
6549
6549
  const exportItems = react.useMemo(
@@ -6563,7 +6563,7 @@ function ConnectedFieldsEditor({
6563
6563
  setIsDeleting(false);
6564
6564
  }
6565
6565
  };
6566
- const copy = chunkAKR4JN6I_cjs.fieldsApplyBarCopy({
6566
+ const copy = chunkJCFXS336_cjs.fieldsApplyBarCopy({
6567
6567
  nouns,
6568
6568
  targetNoun,
6569
6569
  fieldCount,
@@ -6572,9 +6572,9 @@ function ConnectedFieldsEditor({
6572
6572
  isApplying,
6573
6573
  isClearing
6574
6574
  });
6575
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FieldsEditorRoot, { children: [
6575
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FieldsEditorRoot, { children: [
6576
6576
  /* @__PURE__ */ jsxRuntime.jsx(
6577
- chunkAKR4JN6I_cjs.FieldsEditorToolbar,
6577
+ chunkJCFXS336_cjs.FieldsEditorToolbar,
6578
6578
  {
6579
6579
  nouns,
6580
6580
  onNew: () => {
@@ -6602,11 +6602,11 @@ function ConnectedFieldsEditor({
6602
6602
  onSortByChange: setSortBy
6603
6603
  }
6604
6604
  ),
6605
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FieldsEditorList, { children: [
6605
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FieldsEditorList, { children: [
6606
6606
  fieldRows.map(({ tag, depth, childCount }) => {
6607
6607
  const isEditingThis = editingTagId === tag.external_id;
6608
6608
  return /* @__PURE__ */ jsxRuntime.jsx(
6609
- chunkAKR4JN6I_cjs.FieldRow,
6609
+ chunkJCFXS336_cjs.FieldRow,
6610
6610
  {
6611
6611
  tagId: tag.external_id,
6612
6612
  name: tag.name,
@@ -6659,10 +6659,10 @@ function ConnectedFieldsEditor({
6659
6659
  tag.external_id
6660
6660
  );
6661
6661
  }),
6662
- fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsEmptyState, { children: chunkAKR4JN6I_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
6662
+ fieldRows.length === 0 && !isCreatingTag && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsEmptyState, { children: chunkJCFXS336_cjs.fieldsEmptyText({ nouns, filterText, hasKind: !!kind }) })
6663
6663
  ] }),
6664
6664
  /* @__PURE__ */ jsxRuntime.jsx(
6665
- chunkAKR4JN6I_cjs.FieldsApplyBar,
6665
+ chunkJCFXS336_cjs.FieldsApplyBar,
6666
6666
  {
6667
6667
  hint: copy.hint,
6668
6668
  applyLabel: copy.applyLabel,
@@ -6738,8 +6738,8 @@ function ConnectedFieldsManager({
6738
6738
  }
6739
6739
  );
6740
6740
  const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6741
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6742
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6741
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerDefinition, { children: DEFINITIONS[activeKind] }),
6742
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerBody, { children: /* @__PURE__ */ jsxRuntime.jsx(
6743
6743
  ConnectedFieldsEditor,
6744
6744
  {
6745
6745
  group: activeKind,
@@ -6751,7 +6751,7 @@ function ConnectedFieldsManager({
6751
6751
  ] });
6752
6752
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col h-full", children: [
6753
6753
  /* @__PURE__ */ jsxRuntime.jsxs(chunkDUNXLT63_cjs.DraggableHeader, { children: [
6754
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6754
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FieldsManagerTitle, { title, className: "px-4 pt-3.5 pb-2" }),
6755
6755
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3", children: tabHeader })
6756
6756
  ] }),
6757
6757
  body
@@ -6780,7 +6780,7 @@ function ConnectedFieldsManagerPanel({
6780
6780
  const [createRequest, setCreateRequest] = react$1.useTransientView(FIELDS_MANAGER_CREATE_VIEW, 0);
6781
6781
  const [kind, setKind] = react$1.useTransientView(FIELDS_MANAGER_KIND_VIEW, "label");
6782
6782
  const documentIds = react$1.useArbiSessionState((s) => s.selectedDocumentIds);
6783
- const reviewing = chunkMFZW4FEW_cjs.useFilesPrefs((state) => chunkMFZW4FEW_cjs.filesViewMode(state) === "navigator");
6783
+ const reviewing = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => chunkB5BGVPQ5_cjs.filesViewMode(state) === "navigator");
6784
6784
  const viewingId = react$1.useArbiSessionState((s) => s.viewingDocument?.id ?? null);
6785
6785
  const reviewingId = reviewing ? viewingId : null;
6786
6786
  const handleClose = react.useCallback(() => {
@@ -6821,7 +6821,7 @@ function ConnectedFieldsManagerPanel({
6821
6821
  onAnnotationCreated,
6822
6822
  onAiFieldsApplied: (result) => {
6823
6823
  session.closePanel(FIELDS_MANAGER_PANEL);
6824
- const review = chunkMFZW4FEW_cjs.useAiReviewStore.getState();
6824
+ const review = chunkB5BGVPQ5_cjs.useAiReviewStore.getState();
6825
6825
  review.setRun(result);
6826
6826
  review.setOpen(true);
6827
6827
  }
@@ -7196,7 +7196,7 @@ var factNouns = () => ({
7196
7196
  function useWorkspaceAsk() {
7197
7197
  const { openNewConversation, openFiles } = chunk46LX6EQT_cjs.useBlocksEnvironment();
7198
7198
  const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
7199
- const setFilesViewMode = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.setViewMode);
7199
+ const setFilesViewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.setViewMode);
7200
7200
  const ask = react.useCallback(
7201
7201
  (text) => openNewConversation({ prompt: text, keepDocumentOpen: true }),
7202
7202
  [openNewConversation]
@@ -7724,7 +7724,7 @@ function useFactFilters(notes, view, chat) {
7724
7724
  (selected, setSelected, opts) => {
7725
7725
  const applied = new Set(selected);
7726
7726
  return /* @__PURE__ */ jsxRuntime.jsx(chunkTN3UP3CI_cjs.FactFieldRow, { label: "Labels", children: /* @__PURE__ */ jsxRuntime.jsx(
7727
- chunkAKR4JN6I_cjs.FieldLabelsSelect,
7727
+ chunkJCFXS336_cjs.FieldLabelsSelect,
7728
7728
  {
7729
7729
  options: labelOptions,
7730
7730
  appliedIds: applied,
@@ -7951,7 +7951,7 @@ var FactHeader = react.memo(function FactHeader2({
7951
7951
  if (params.enableSorting) params.progressSort(e.shiftKey);
7952
7952
  },
7953
7953
  children: [
7954
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilterButton, { params, colId }),
7954
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilterButton, { params, colId }),
7955
7955
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "order-2 min-w-0 flex-1 truncate", children: params.displayName }),
7956
7956
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ag-sort-indicator-container order-2 flex-shrink-0", "aria-hidden": "true", children: [
7957
7957
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8222,7 +8222,7 @@ function useFactsPageView() {
8222
8222
  "facts.searchFields",
8223
8223
  DEFAULT_SEARCH_FIELDS
8224
8224
  );
8225
- const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkAKR4JN6I_cjs.ROW_MIN);
8225
+ const rowHeight = react$1.useArbiSessionState((s) => s.grid.rowHeights[FACTS_GRID_ID] ?? chunkJCFXS336_cjs.ROW_MIN);
8226
8226
  const labelWidth = react$1.useArbiSessionState(
8227
8227
  (s) => s.grid.labelWidths[FACTS_GRID_ID] ?? DEFAULT_TIMELINE_LABEL_WIDTH
8228
8228
  );
@@ -8456,7 +8456,7 @@ function ConnectedFactsPage() {
8456
8456
  const view = pageView.view;
8457
8457
  const setView = pageView.setView;
8458
8458
  const openLabels = () => openFieldsManagerIn(session, "label");
8459
- const factsRowHeight = pageView.rowHeight === chunkAKR4JN6I_cjs.ROW_MIN ? chunkAKR4JN6I_cjs.ROW_MIN : chunkAKR4JN6I_cjs.rowHeightForLines(chunkAKR4JN6I_cjs.linesForRowHeight(pageView.rowHeight));
8459
+ const factsRowHeight = pageView.rowHeight === chunkJCFXS336_cjs.ROW_MIN ? chunkJCFXS336_cjs.ROW_MIN : chunkJCFXS336_cjs.rowHeightForLines(chunkJCFXS336_cjs.linesForRowHeight(pageView.rowHeight));
8460
8460
  const [isExportOpen, setIsExportOpen] = react.useState(false);
8461
8461
  const [filterOpen, setFilterOpen] = react.useState(false);
8462
8462
  const [factSection, setFactSection] = react.useState(null);
@@ -8509,7 +8509,7 @@ function ConnectedFactsPage() {
8509
8509
  onNewFact: composing && !editingId ? () => void 0 : composer.startNewFact,
8510
8510
  navSlotRef: setNavSlot,
8511
8511
  navigator: view === "table" ? /* @__PURE__ */ jsxRuntime.jsx(
8512
- chunkWPUEGDBE_cjs.GridRowNavigator,
8512
+ chunkWUM76MJU_cjs.GridRowNavigator,
8513
8513
  {
8514
8514
  gridApi,
8515
8515
  selectedId: editingId,
@@ -8522,7 +8522,7 @@ function ConnectedFactsPage() {
8522
8522
  tools: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
8523
8523
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(chunkTN3UP3CI_cjs.FactsFieldsButton, { getGridApi: () => gridApiRef.current }),
8524
8524
  view === "table" && /* @__PURE__ */ jsxRuntime.jsx(
8525
- chunkAKR4JN6I_cjs.RowDensityControl,
8525
+ chunkJCFXS336_cjs.RowDensityControl,
8526
8526
  {
8527
8527
  rowHeight: factsRowHeight,
8528
8528
  onRowHeightChange: pageView.setRowHeight,
@@ -8786,7 +8786,7 @@ function useConnectedShellWorkspaces(options = {}) {
8786
8786
  function ConnectedSsoDisconnect() {
8787
8787
  const { client } = react$1.useAccountClient();
8788
8788
  const { data: profile } = react$1.useProfile();
8789
- const auth = chunk6WWYH66F_cjs.useAuthPages();
8789
+ const auth = chunkZ3N32LL4_cjs.useAuthPages();
8790
8790
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
8791
8791
  const [open, setOpen] = react.useState(false);
8792
8792
  const [step, setStep] = react.useState("email");
@@ -8964,14 +8964,14 @@ function ConnectedAccountSettings({
8964
8964
  }) {
8965
8965
  const [logoutOpen, setLogoutOpen] = react.useState(false);
8966
8966
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsPanel, { className: "max-w-2xl", children: [
8967
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8967
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedProfileCard, { avatarClassName, nameBadge: profileBadge }),
8968
8968
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedBoxPortalSection, {}),
8969
8969
  /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsDisclosure, { title: "More", testId: "account-more-settings", children: [
8970
8970
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedSsoDisconnect, {}),
8971
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedSecuritySection, { children: securityRows }),
8971
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedSecuritySection, { children: securityRows }),
8972
8972
  moreSettings,
8973
8973
  /* @__PURE__ */ jsxRuntime.jsx(
8974
- chunk6WWYH66F_cjs.ConnectedIdentityVerification,
8974
+ chunkZ3N32LL4_cjs.ConnectedIdentityVerification,
8975
8975
  {
8976
8976
  collapsible: true,
8977
8977
  onManageBilling,
@@ -8981,7 +8981,7 @@ function ConnectedAccountSettings({
8981
8981
  ] }),
8982
8982
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsSection, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Wifi, {}), title: "Session", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { children: [
8983
8983
  connection && /* @__PURE__ */ jsxRuntime.jsx(ServerConnectionRow, { ...connection }),
8984
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8984
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedSessionsRow, { renderSessionIcon }),
8985
8985
  /* @__PURE__ */ jsxRuntime.jsx(chunkQQMMCXBP_cjs.SettingsRow, { label: "Logout", description: "Sign out of your account on this device.", children: /* @__PURE__ */ jsxRuntime.jsxs(
8986
8986
  ui.Button,
8987
8987
  {
@@ -8998,9 +8998,9 @@ function ConnectedAccountSettings({
8998
8998
  }
8999
8999
  ) })
9000
9000
  ] }) }),
9001
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
9001
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedDangerZone, { renderSubscriptionLink }),
9002
9002
  !onLogout && /* @__PURE__ */ jsxRuntime.jsx(
9003
- chunk6WWYH66F_cjs.ConnectedLogoutDialog,
9003
+ chunkZ3N32LL4_cjs.ConnectedLogoutDialog,
9004
9004
  {
9005
9005
  open: logoutOpen,
9006
9006
  onClose: () => setLogoutOpen(false),
@@ -9343,7 +9343,7 @@ function ConnectedPrivacySettings({
9343
9343
  }
9344
9344
  )
9345
9345
  ] }) }),
9346
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedNotificationPreferences, {})
9346
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedNotificationPreferences, {})
9347
9347
  ] });
9348
9348
  }
9349
9349
  var PROVIDER_NAMES = {
@@ -9963,12 +9963,12 @@ function StorageTiers({
9963
9963
  testId
9964
9964
  }) {
9965
9965
  if (archivedBytes <= 0 && trashBytes <= 0) return null;
9966
- const parts = [`Live ${chunk2SILSQNF_cjs.formatBytes(bytes - archivedBytes - trashBytes)}`];
9967
- if (archivedBytes > 0) parts.push(`Archived ${chunk2SILSQNF_cjs.formatBytes(archivedBytes)}`);
9968
- if (trashBytes > 0) parts.push(`Recently deleted ${chunk2SILSQNF_cjs.formatBytes(trashBytes)}`);
9966
+ const parts = [`Live ${chunk4ZR4O5SP_cjs.formatBytes(bytes - archivedBytes - trashBytes)}`];
9967
+ if (archivedBytes > 0) parts.push(`Archived ${chunk4ZR4O5SP_cjs.formatBytes(archivedBytes)}`);
9968
+ if (trashBytes > 0) parts.push(`Recently deleted ${chunk4ZR4O5SP_cjs.formatBytes(trashBytes)}`);
9969
9969
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0.5 text-xs text-muted-foreground", "data-testid": testId, children: [
9970
9970
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "tabular-nums text-foreground", children: parts.join(" \xB7 ") }),
9971
- /* @__PURE__ */ jsxRuntime.jsx("p", { children: chunk2SILSQNF_cjs.reducedRateNote(reducedRate) })
9971
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: chunk4ZR4O5SP_cjs.reducedRateNote(reducedRate) })
9972
9972
  ] });
9973
9973
  }
9974
9974
  function StorageBreakdown({
@@ -9983,10 +9983,10 @@ function StorageBreakdown({
9983
9983
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-3 text-sm", children: [
9984
9984
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: row2.label }),
9985
9985
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "tabular-nums text-muted-foreground", children: [
9986
- chunk2SILSQNF_cjs.formatBytes(row2.bytes),
9986
+ chunk4ZR4O5SP_cjs.formatBytes(row2.bytes),
9987
9987
  row2.trashBytes > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1 text-xs", children: [
9988
9988
  "(",
9989
- chunk2SILSQNF_cjs.formatBytes(row2.trashBytes),
9989
+ chunk4ZR4O5SP_cjs.formatBytes(row2.trashBytes),
9990
9990
  " deleted)"
9991
9991
  ] })
9992
9992
  ] })
@@ -10008,7 +10008,7 @@ function where(item) {
10008
10008
  return "\u2014";
10009
10009
  }
10010
10010
  function breakdownText(item) {
10011
- const parts = Object.entries(item.breakdown ?? {}).filter(([kind, bytes]) => kind !== "document" && bytes > 0).map(([kind, bytes]) => `${chunk2SILSQNF_cjs.KIND_LABELS[kind] ?? kind} ${chunk2SILSQNF_cjs.formatBytes(bytes)}`);
10011
+ const parts = Object.entries(item.breakdown ?? {}).filter(([kind, bytes]) => kind !== "document" && bytes > 0).map(([kind, bytes]) => `${chunk4ZR4O5SP_cjs.KIND_LABELS[kind] ?? kind} ${chunk4ZR4O5SP_cjs.formatBytes(bytes)}`);
10012
10012
  return parts.length ? parts.join(" \xB7 ") : null;
10013
10013
  }
10014
10014
  function StorageItemsTable({
@@ -10023,9 +10023,9 @@ function StorageItemsTable({
10023
10023
  key: "name",
10024
10024
  header: "Item",
10025
10025
  render: (row2) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
10026
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: chunk2SILSQNF_cjs.itemTitle(row2) }),
10026
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "truncate text-sm font-medium text-foreground", children: chunk4ZR4O5SP_cjs.itemTitle(row2) }),
10027
10027
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "truncate text-xs text-muted-foreground", children: [
10028
- chunk2SILSQNF_cjs.ITEM_LABELS[row2.item.kind] ?? row2.item.kind,
10028
+ chunk4ZR4O5SP_cjs.ITEM_LABELS[row2.item.kind] ?? row2.item.kind,
10029
10029
  " \xB7 ",
10030
10030
  where(row2.item),
10031
10031
  breakdownText(row2.item) ? ` \xB7 ${breakdownText(row2.item)}` : ""
@@ -10036,7 +10036,7 @@ function StorageItemsTable({
10036
10036
  key: "size",
10037
10037
  header: "Size",
10038
10038
  align: "right",
10039
- render: (row2) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(row2.item.bytes) })
10039
+ render: (row2) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(row2.item.bytes) })
10040
10040
  },
10041
10041
  {
10042
10042
  key: "date",
@@ -10051,7 +10051,7 @@ function StorageItemsTable({
10051
10051
  }
10052
10052
  ];
10053
10053
  return /* @__PURE__ */ jsxRuntime.jsx(
10054
- chunk3XCYPWC5_cjs.DataTable,
10054
+ chunk2P7VH2SK_cjs.DataTable,
10055
10055
  {
10056
10056
  columns,
10057
10057
  rows,
@@ -10069,11 +10069,13 @@ function ConnectedWorkspaceTrash({
10069
10069
  }) {
10070
10070
  const trash = react$1.useWorkspaceTrash(workspaceExtId);
10071
10071
  const invalidate = react$1.useInvalidateStorage();
10072
+ const hide = react$1.useHideFromWorkspaceTrash();
10072
10073
  const { purgeDeletedDocuments, restoreDocuments } = react$1.useStorageActions();
10073
10074
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
10074
10075
  const [pending, setPending] = react.useState(null);
10075
10076
  const [includeOthers, setIncludeOthers] = react.useState(false);
10076
10077
  const [busy, setBusy] = react.useState(false);
10078
+ const [removing, setRemoving] = react.useState(null);
10077
10079
  const page = trash.data;
10078
10080
  const items = page?.items ?? [];
10079
10081
  const manager = page?.can_manage ?? false;
@@ -10082,15 +10084,17 @@ function ConnectedWorkspaceTrash({
10082
10084
  const removable = items.filter((d) => !d.restoring);
10083
10085
  const emptiable = manager ? removable : removable.filter((d) => d.mine);
10084
10086
  const emptiableBytes = emptiable.reduce((sum, d) => sum + d.bytes, 0);
10085
- const run = async (action, failure) => {
10087
+ const run = async (action, failure, undo) => {
10086
10088
  setBusy(true);
10087
10089
  try {
10088
10090
  notify19(await action(), "success");
10089
- await invalidate();
10091
+ void invalidate();
10090
10092
  } catch (error) {
10093
+ undo?.();
10091
10094
  notify19(error instanceof Error ? error.message : failure, "error");
10092
10095
  } finally {
10093
10096
  setBusy(false);
10097
+ setRemoving(null);
10094
10098
  setPending(null);
10095
10099
  setIncludeOthers(false);
10096
10100
  }
@@ -10101,29 +10105,45 @@ function ConnectedWorkspaceTrash({
10101
10105
  }, "Could not restore");
10102
10106
  const confirm = () => {
10103
10107
  if (!pending) return;
10108
+ const withOthers = pending.kind === "empty" && manager && includeOthers;
10109
+ const undo = hide(
10110
+ workspaceExtId,
10111
+ pending.kind === "purge" ? [pending.doc.external_id] : emptiable.map((d) => d.external_id),
10112
+ withOthers
10113
+ );
10114
+ setRemoving(pending.kind);
10115
+ setPending(null);
10104
10116
  if (pending.kind === "purge") {
10105
- void run(async () => {
10106
- await purgeDeletedDocuments(workspaceExtId, { externalIds: [pending.doc.external_id] });
10107
- return `Deleted permanently \xB7 ${chunk2SILSQNF_cjs.formatBytes(pending.doc.bytes)} freed`;
10108
- }, "Could not delete permanently");
10117
+ void run(
10118
+ async () => {
10119
+ await purgeDeletedDocuments(workspaceExtId, { externalIds: [pending.doc.external_id] });
10120
+ return `Deleted permanently \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(pending.doc.bytes)} freed`;
10121
+ },
10122
+ "Could not delete permanently",
10123
+ undo
10124
+ );
10109
10125
  return;
10110
10126
  }
10111
- const freed = emptiableBytes + (includeOthers ? others?.bytes ?? 0 : 0);
10112
- void run(async () => {
10113
- const removed = await purgeDeletedDocuments(workspaceExtId, {
10114
- includeOthersPrivate: manager && includeOthers
10115
- });
10116
- return `Trash emptied \xB7 ${removed.length} ${removed.length === 1 ? "item" : "items"} \xB7 ${chunk2SILSQNF_cjs.formatBytes(freed)} freed`;
10117
- }, "Could not empty the trash");
10127
+ const freed = emptiableBytes + (withOthers ? others?.bytes ?? 0 : 0);
10128
+ void run(
10129
+ async () => {
10130
+ const removed = await purgeDeletedDocuments(workspaceExtId, {
10131
+ includeOthersPrivate: withOthers
10132
+ });
10133
+ return `Trash emptied \xB7 ${removed.length} ${removed.length === 1 ? "item" : "items"} \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(freed)} freed`;
10134
+ },
10135
+ "Could not empty the trash",
10136
+ undo
10137
+ );
10118
10138
  };
10119
10139
  const nothingToEmpty = emptiable.length === 0 && !(manager && othersCount > 0);
10120
10140
  return /* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-2", "data-testid": testId, children: [
10121
10141
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3", children: [
10122
10142
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
10123
10143
  title && /* @__PURE__ */ jsxRuntime.jsx("h4", { className: "truncate text-sm font-medium text-foreground", children: title }),
10124
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: manager ? chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE : `${chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE} You can remove your own deleted items.` })
10144
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: manager ? chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE : `${chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE} You can remove your own deleted items.` })
10125
10145
  ] }),
10126
- /* @__PURE__ */ jsxRuntime.jsxs(
10146
+ /* @__PURE__ */ jsxRuntime.jsx(
10127
10147
  ui.Button,
10128
10148
  {
10129
10149
  size: "sm",
@@ -10131,10 +10151,13 @@ function ConnectedWorkspaceTrash({
10131
10151
  disabled: busy || trash.isLoading || nothingToEmpty,
10132
10152
  onClick: () => setPending({ kind: "empty" }),
10133
10153
  "data-testid": `${testId}-empty`,
10134
- children: [
10154
+ children: removing === "empty" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
10155
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1.5 size-4 animate-spin", "aria-hidden": "true" }),
10156
+ "Emptying\u2026"
10157
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
10135
10158
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "mr-1.5 size-4" }),
10136
10159
  manager ? "Empty trash" : "Empty my trash"
10137
- ]
10160
+ ] })
10138
10161
  }
10139
10162
  )
10140
10163
  ] }),
@@ -10160,7 +10183,7 @@ function ConnectedWorkspaceTrash({
10160
10183
  "\xB7 deleted ",
10161
10184
  ui.formatFriendlyDate(doc.deleted_at),
10162
10185
  " \xB7 ",
10163
- chunk2SILSQNF_cjs.formatBytes(doc.bytes)
10186
+ chunk4ZR4O5SP_cjs.formatBytes(doc.bytes)
10164
10187
  ] })
10165
10188
  ] }),
10166
10189
  doc.restoring ? /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10216,7 +10239,7 @@ function ConnectedWorkspaceTrash({
10216
10239
  othersCount === 1 ? "item" : "items",
10217
10240
  " of other members \xB7",
10218
10241
  " ",
10219
- chunk2SILSQNF_cjs.formatBytes(others?.bytes ?? 0)
10242
+ chunk4ZR4O5SP_cjs.formatBytes(others?.bytes ?? 0)
10220
10243
  ]
10221
10244
  }
10222
10245
  )
@@ -10232,7 +10255,7 @@ function ConnectedWorkspaceTrash({
10232
10255
  onConfirm: confirm,
10233
10256
  isLoading: busy,
10234
10257
  title: pending?.kind === "purge" ? "Delete permanently?" : "Empty trash?",
10235
- description: pending?.kind === "purge" ? `${pending.doc.file_name || "It"} is removed for good now and stops using storage. This cannot be undone.` : manager ? `${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} you can see (${chunk2SILSQNF_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now and stop using storage. This cannot be undone.` : `Your ${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} in this workspace (${chunk2SILSQNF_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now. This cannot be undone.`,
10258
+ description: pending?.kind === "purge" ? `${pending.doc.file_name || "It"} is removed for good now and stops using storage. This cannot be undone.` : manager ? `${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} you can see (${chunk4ZR4O5SP_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now and stop using storage. This cannot be undone.` : `Your ${emptiable.length} deleted ${emptiable.length === 1 ? "item" : "items"} in this workspace (${chunk4ZR4O5SP_cjs.formatBytes(emptiableBytes)}) ${emptiable.length === 1 ? "is" : "are"} removed for good now. This cannot be undone.`,
10236
10259
  confirmText: pending?.kind === "purge" ? "Delete permanently" : "Empty",
10237
10260
  testId: `${testId}-confirm`,
10238
10261
  children: pending?.kind === "empty" && manager && othersCount > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10255,7 +10278,7 @@ function ConnectedWorkspaceTrash({
10255
10278
  " private ",
10256
10279
  othersCount === 1 ? "item" : "items",
10257
10280
  " of other members (",
10258
- chunk2SILSQNF_cjs.formatBytes(others?.bytes ?? 0),
10281
+ chunk4ZR4O5SP_cjs.formatBytes(others?.bytes ?? 0),
10259
10282
  ")",
10260
10283
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block text-xs text-muted-foreground", children: "You can't see these. Left alone, their owners can still restore them until they're removed automatically." })
10261
10284
  ] })
@@ -10327,7 +10350,7 @@ function ConnectedStorageProjectCard({
10327
10350
  setBusy(true);
10328
10351
  try {
10329
10352
  notify19(await action(), "success");
10330
- await invalidate();
10353
+ void invalidate();
10331
10354
  } catch (error) {
10332
10355
  notify19(error instanceof Error ? error.message : failure, "error");
10333
10356
  } finally {
@@ -10372,7 +10395,7 @@ function ConnectedStorageProjectCard({
10372
10395
  project.project_ext_id,
10373
10396
  pending.rows.map((r) => r.item.ref).filter(Boolean)
10374
10397
  );
10375
- return `Deleted permanently \xB7 ${chunk2SILSQNF_cjs.formatBytes(freed)} freed`;
10398
+ return `Deleted permanently \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(freed)} freed`;
10376
10399
  }, "Could not delete permanently");
10377
10400
  } else if (pending.kind === "empty-mail") {
10378
10401
  void run(async () => {
@@ -10384,7 +10407,7 @@ function ConnectedStorageProjectCard({
10384
10407
  }
10385
10408
  };
10386
10409
  const canRestore = (item) => item.kind === "mail" ? !!item.ref?.startsWith("eml-") : item.kind === "document" && !!item.ref && !!item.workspace_ext_id;
10387
- const kinds2 = chunk2SILSQNF_cjs.kindRows(project.by_kind);
10410
+ const kinds2 = chunk4ZR4O5SP_cjs.kindRows(project.by_kind);
10388
10411
  const folders = Object.entries(project.mail_folders ?? {}).sort((a, b) => b[1] - a[1]);
10389
10412
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkQQMMCXBP_cjs.SettingsCard, { "data-testid": testId, children: [
10390
10413
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [
@@ -10413,8 +10436,8 @@ function ConnectedStorageProjectCard({
10413
10436
  chunkNZNBJF3M_cjs.UsageMeter,
10414
10437
  {
10415
10438
  label: "Storage",
10416
- value: chunk2SILSQNF_cjs.usedOfLimit(project.billable_bytes, project.limit_bytes),
10417
- pct: chunk2SILSQNF_cjs.usedPct(project.billable_bytes, project.limit_bytes),
10439
+ value: chunk4ZR4O5SP_cjs.usedOfLimit(project.billable_bytes, project.limit_bytes),
10440
+ pct: chunk4ZR4O5SP_cjs.usedPct(project.billable_bytes, project.limit_bytes),
10418
10441
  details: /* @__PURE__ */ jsxRuntime.jsx(
10419
10442
  StorageTiers,
10420
10443
  {
@@ -10460,8 +10483,8 @@ function ConnectedStorageProjectCard({
10460
10483
  ] })
10461
10484
  ] }),
10462
10485
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "space-y-1 text-sm", children: folders.map(([folder, bytes]) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex justify-between gap-3", children: [
10463
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: chunk2SILSQNF_cjs.MAIL_FOLDER_LABELS[folder] ?? folder }),
10464
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums text-muted-foreground", children: chunk2SILSQNF_cjs.formatBytes(bytes) })
10486
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foreground", children: chunk4ZR4O5SP_cjs.MAIL_FOLDER_LABELS[folder] ?? folder }),
10487
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums text-muted-foreground", children: chunk4ZR4O5SP_cjs.formatBytes(bytes) })
10465
10488
  ] }, folder)) })
10466
10489
  ] }),
10467
10490
  showWorkspaces && (project.workspaces?.length ?? 0) > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": `${testId}-workspaces`, children: [
@@ -10495,7 +10518,7 @@ function ConnectedStorageProjectCard({
10495
10518
  {
10496
10519
  size: "sm",
10497
10520
  variant: "ghost",
10498
- "aria-label": `Delete ${chunk2SILSQNF_cjs.itemTitle(r)}`,
10521
+ "aria-label": `Delete ${chunk4ZR4O5SP_cjs.itemTitle(r)}`,
10499
10522
  disabled: busy,
10500
10523
  onClick: () => setPending({ kind: "delete", row: r }),
10501
10524
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "size-4" })
@@ -10506,7 +10529,7 @@ function ConnectedStorageProjectCard({
10506
10529
  )
10507
10530
  ] }),
10508
10531
  view === "deleted" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
10509
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE }),
10532
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE }),
10510
10533
  deletedWorkspaces.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "divide-y divide-border rounded-md border border-border", children: deletedWorkspaces.map((w) => /* @__PURE__ */ jsxRuntime.jsxs(
10511
10534
  "li",
10512
10535
  {
@@ -10518,7 +10541,7 @@ function ConnectedStorageProjectCard({
10518
10541
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
10519
10542
  " ",
10520
10543
  "\xB7 deleted workspace \xB7 ",
10521
- chunk2SILSQNF_cjs.formatBytes(w.bytes)
10544
+ chunk4ZR4O5SP_cjs.formatBytes(w.bytes)
10522
10545
  ] })
10523
10546
  ] }),
10524
10547
  /* @__PURE__ */ jsxRuntime.jsxs(
@@ -10606,7 +10629,7 @@ function confirmTitle(pending) {
10606
10629
  case "empty-mail":
10607
10630
  return "Empty mail Trash?";
10608
10631
  case "delete":
10609
- return `Delete ${chunk2SILSQNF_cjs.itemTitle(pending.row)}?`;
10632
+ return `Delete ${chunk4ZR4O5SP_cjs.itemTitle(pending.row)}?`;
10610
10633
  default:
10611
10634
  return "";
10612
10635
  }
@@ -10618,7 +10641,7 @@ function confirmDescription(pending) {
10618
10641
  case "empty-mail":
10619
10642
  return "Every message in your mail Trash is deleted for good and stops using storage. This cannot be undone.";
10620
10643
  case "delete":
10621
- return `It moves to Recently deleted, where you can restore it. ${chunk2SILSQNF_cjs.RECENTLY_DELETED_NOTE}`;
10644
+ return `It moves to Recently deleted, where you can restore it. ${chunk4ZR4O5SP_cjs.RECENTLY_DELETED_NOTE}`;
10622
10645
  default:
10623
10646
  return "";
10624
10647
  }
@@ -11339,7 +11362,7 @@ function ConnectedRecoveryKeyDialog({
11339
11362
  const arbi = react$1.useArbi();
11340
11363
  const { user, isSso: isSsoMode } = react$1.useArbiSession();
11341
11364
  const userEmail = user?.email;
11342
- const sso = chunk6WWYH66F_cjs.useSsoSignIn();
11365
+ const sso = chunkZ3N32LL4_cjs.useSsoSignIn();
11343
11366
  const handleVerify = async () => {
11344
11367
  setError(null);
11345
11368
  if (!password) {
@@ -11500,7 +11523,7 @@ function ConnectedRemoteControlSwitch() {
11500
11523
  }
11501
11524
  function RemoteControlSwitch() {
11502
11525
  const enabled = react$1.useRemoteControl((state) => state.enabled);
11503
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
11526
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
11504
11527
  return /* @__PURE__ */ jsxRuntime.jsx(
11505
11528
  chunkQQMMCXBP_cjs.SettingsRow,
11506
11529
  {
@@ -11681,19 +11704,19 @@ function ConnectedDeploymentStorage() {
11681
11704
  key: "live",
11682
11705
  header: "Stored",
11683
11706
  align: "right",
11684
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.bytes - p.trash_bytes - (p.archived_bytes ?? 0)) })
11707
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.bytes - p.trash_bytes - (p.archived_bytes ?? 0)) })
11685
11708
  },
11686
11709
  {
11687
11710
  key: "archived",
11688
11711
  header: "Archived",
11689
11712
  align: "right",
11690
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.archived_bytes ?? 0) })
11713
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.archived_bytes ?? 0) })
11691
11714
  },
11692
11715
  {
11693
11716
  key: "trash",
11694
11717
  header: "Deleted",
11695
11718
  align: "right",
11696
- render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(p.trash_bytes) })
11719
+ render: (p) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(p.trash_bytes) })
11697
11720
  },
11698
11721
  {
11699
11722
  key: "activity",
@@ -11705,7 +11728,7 @@ function ConnectedDeploymentStorage() {
11705
11728
  {
11706
11729
  key: "kind",
11707
11730
  header: "Kind",
11708
- render: ({ item }) => chunk2SILSQNF_cjs.ITEM_LABELS[item.kind] ?? item.kind
11731
+ render: ({ item }) => chunk4ZR4O5SP_cjs.ITEM_LABELS[item.kind] ?? item.kind
11709
11732
  },
11710
11733
  {
11711
11734
  key: "project",
@@ -11716,7 +11739,7 @@ function ConnectedDeploymentStorage() {
11716
11739
  key: "size",
11717
11740
  header: "Size",
11718
11741
  align: "right",
11719
- render: ({ item }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk2SILSQNF_cjs.formatBytes(item.bytes) })
11742
+ render: ({ item }) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: "tabular-nums", children: chunk4ZR4O5SP_cjs.formatBytes(item.bytes) })
11720
11743
  },
11721
11744
  {
11722
11745
  key: "state",
@@ -11739,8 +11762,8 @@ function ConnectedDeploymentStorage() {
11739
11762
  chunkNZNBJF3M_cjs.UsageMeter,
11740
11763
  {
11741
11764
  label: "Stored on this deployment",
11742
- value: chunk2SILSQNF_cjs.usedOfLimit(deployment.billable_bytes, deployment.limit_bytes),
11743
- pct: chunk2SILSQNF_cjs.usedPct(deployment.billable_bytes, deployment.limit_bytes),
11765
+ value: chunk4ZR4O5SP_cjs.usedOfLimit(deployment.billable_bytes, deployment.limit_bytes),
11766
+ pct: chunk4ZR4O5SP_cjs.usedPct(deployment.billable_bytes, deployment.limit_bytes),
11744
11767
  details: /* @__PURE__ */ jsxRuntime.jsx(
11745
11768
  StorageTiers,
11746
11769
  {
@@ -11754,11 +11777,11 @@ function ConnectedDeploymentStorage() {
11754
11777
  testId: "deployment-storage-meter"
11755
11778
  }
11756
11779
  ),
11757
- /* @__PURE__ */ jsxRuntime.jsx(StorageBreakdown, { rows: chunk2SILSQNF_cjs.kindRows(deployment.by_kind), total: deployment.bytes }),
11780
+ /* @__PURE__ */ jsxRuntime.jsx(StorageBreakdown, { rows: chunk4ZR4O5SP_cjs.kindRows(deployment.by_kind), total: deployment.bytes }),
11758
11781
  (deployment.orphaned_bytes > 0 || deployment.unattributed_bytes > 0) && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs text-muted-foreground", "data-testid": "deployment-storage-unowned", children: [
11759
- chunk2SILSQNF_cjs.formatBytes(deployment.orphaned_bytes),
11782
+ chunk4ZR4O5SP_cjs.formatBytes(deployment.orphaned_bytes),
11760
11783
  " left behind by deleted items (removed by the next monthly clean-up)",
11761
- deployment.unattributed_bytes > 0 && ` \xB7 ${chunk2SILSQNF_cjs.formatBytes(deployment.unattributed_bytes)} not owned by any ${ui.entityNoun("PROJECT")}`
11784
+ deployment.unattributed_bytes > 0 && ` \xB7 ${chunk4ZR4O5SP_cjs.formatBytes(deployment.unattributed_bytes)} not owned by any ${ui.entityNoun("PROJECT")}`
11762
11785
  ] }),
11763
11786
  trend.dates.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
11764
11787
  chunkDUNXLT63_cjs.UsageLineChart,
@@ -11766,7 +11789,7 @@ function ConnectedDeploymentStorage() {
11766
11789
  dates: trend.dates,
11767
11790
  series: trend.series,
11768
11791
  formatDate: (d) => new Date(d).toLocaleDateString("en-GB", { day: "numeric", month: "short" }),
11769
- formatValue: (gb3) => chunk2SILSQNF_cjs.formatBytes(gb3 * GB)
11792
+ formatValue: (gb3) => chunk4ZR4O5SP_cjs.formatBytes(gb3 * GB)
11770
11793
  }
11771
11794
  ),
11772
11795
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -11783,7 +11806,7 @@ function ConnectedDeploymentStorage() {
11783
11806
  }
11784
11807
  ),
11785
11808
  view === "items" ? /* @__PURE__ */ jsxRuntime.jsx(
11786
- chunk3XCYPWC5_cjs.DataTable,
11809
+ chunk2P7VH2SK_cjs.DataTable,
11787
11810
  {
11788
11811
  columns: itemColumns,
11789
11812
  rows: (items.data?.items ?? []).map((item) => ({ item })),
@@ -11792,7 +11815,7 @@ function ConnectedDeploymentStorage() {
11792
11815
  emptyTitle: "Nothing stored yet"
11793
11816
  }
11794
11817
  ) : /* @__PURE__ */ jsxRuntime.jsx(
11795
- chunk3XCYPWC5_cjs.DataTable,
11818
+ chunk2P7VH2SK_cjs.DataTable,
11796
11819
  {
11797
11820
  columns: projectColumns,
11798
11821
  rows: [...view === "people" ? people : projects].sort(byBytes),
@@ -13752,13 +13775,13 @@ function ConnectedWorkspaceSettings({
13752
13775
  const [membersExpanded, setMembersExpanded] = react.useState(false);
13753
13776
  const [shareOpen, setShareOpen] = react.useState(false);
13754
13777
  if (!workspace) {
13755
- return /* @__PURE__ */ jsxRuntime.jsx(chunkNUFZFWHZ_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
13778
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkNUFZFWHZ_cjs.PageLoading, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading workspace..." }) });
13756
13779
  }
13757
13780
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
13758
13781
  /* @__PURE__ */ jsxRuntime.jsxs(chunkNUFZFWHZ_cjs.WorkspacePageFrame, { testId, children: [
13759
13782
  /* @__PURE__ */ jsxRuntime.jsxs(chunkNUFZFWHZ_cjs.WorkspaceIdentityPanel, { children: [
13760
13783
  /* @__PURE__ */ jsxRuntime.jsx(
13761
- chunkWPUEGDBE_cjs.EntityIdentityBar,
13784
+ chunkWUM76MJU_cjs.EntityIdentityBar,
13762
13785
  {
13763
13786
  testId: "workspace-identity-bar",
13764
13787
  canEdit: isOwner,
@@ -13775,7 +13798,7 @@ function ConnectedWorkspaceSettings({
13775
13798
  label: "Name",
13776
13799
  value: workspace.name,
13777
13800
  placeholder: "Untitled",
13778
- maxLength: chunkWPUEGDBE_cjs.IDENTITY_NAME_MAX_LENGTH,
13801
+ maxLength: chunkWUM76MJU_cjs.IDENTITY_NAME_MAX_LENGTH,
13779
13802
  valueClassName: "truncate text-base font-semibold",
13780
13803
  testId: "workspace-home-title",
13781
13804
  hideLabel: true,
@@ -15460,36 +15483,36 @@ function ConnectedSharePointAdminConsentPage({
15460
15483
  const result = givenResult === void 0 ? queryResult : givenResult;
15461
15484
  const { apiBaseUrl } = chunk46LX6EQT_cjs.useBlocksEnvironment().runtimeConfig;
15462
15485
  const consentUrl = `${apiBaseUrl}/v1/connectors/microsoft_sharepoint/admin-consent`;
15463
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { size: "md", children: [
15486
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { size: "md", children: [
15464
15487
  /* @__PURE__ */ jsxRuntime.jsx(
15465
- chunkH7AI54V2_cjs.ConsentHeader,
15488
+ chunkCVVQHFLR_cjs.ConsentHeader,
15466
15489
  {
15467
- icon: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
15490
+ icon: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: "microsoft_sharepoint", product: "sharepoint" }),
15468
15491
  title: "Approve ARBI for SharePoint access",
15469
15492
  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."
15470
15493
  }
15471
15494
  ),
15472
- result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15473
- result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15474
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentSection, { title: "What you are approving", children: [
15495
+ result === "granted" && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15496
+ result === "declined" && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15497
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentSection, { title: "What you are approving", children: [
15475
15498
  /* @__PURE__ */ jsxRuntime.jsx(
15476
- chunkH7AI54V2_cjs.ConsentBulletList,
15499
+ chunkCVVQHFLR_cjs.ConsentBulletList,
15477
15500
  {
15478
15501
  items: [
15479
15502
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15480
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
15503
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: "Read SharePoint sites and files" }),
15481
15504
  " \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."
15482
15505
  ] }),
15483
15506
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15484
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
15507
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: "Sign users in and keep access" }),
15485
15508
  " \u2014 standard sign-in (openid, profile, email) and offline access so syncs keep working between sessions."
15486
15509
  ] })
15487
15510
  ]
15488
15511
  }
15489
15512
  ),
15490
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }),
15513
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }),
15491
15514
  /* @__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" }) }),
15492
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." })
15515
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." })
15493
15516
  ] })
15494
15517
  ] }) });
15495
15518
  }
@@ -17623,10 +17646,10 @@ function ProjectUsagePanels({
17623
17646
  onMetric
17624
17647
  }) {
17625
17648
  const spend = quotaPct > 0 ? { ...panels.spend, description: `${quotaPct}% of quota` } : panels.spend;
17626
- return /* @__PURE__ */ jsxRuntime.jsxs(chunk2SILSQNF_cjs.DashboardGrid, { testId: "project-usage-panels", children: [
17627
- [spend, panels.requests, panels.tokens].map((p) => /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: p.width, children: /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardPanel, { panel: p, testId: `project-usage-${p.id}` }) }, p.id)),
17628
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardPanel, { panel: { ...panels.spendByModel, width: 12 } }) }),
17629
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17649
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunk4ZR4O5SP_cjs.DashboardGrid, { testId: "project-usage-panels", children: [
17650
+ [spend, panels.requests, panels.tokens].map((p) => /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: p.width, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardPanel, { panel: p, testId: `project-usage-${p.id}` }) }, p.id)),
17651
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardPanel, { panel: { ...panels.spendByModel, width: 12 } }) }),
17652
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17630
17653
  chunkDUNXLT63_cjs.UsageToggle,
17631
17654
  {
17632
17655
  ariaLabel: "Breakdown by",
@@ -17636,8 +17659,8 @@ function ProjectUsagePanels({
17636
17659
  options: breakdowns.map((key) => ({ value: key, label: BREAKDOWN_LABELS[key] }))
17637
17660
  }
17638
17661
  ) }),
17639
- /* @__PURE__ */ jsxRuntime.jsx(chunk2SILSQNF_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17640
- chunk2SILSQNF_cjs.DashboardPanel,
17662
+ /* @__PURE__ */ jsxRuntime.jsx(chunk4ZR4O5SP_cjs.DashboardCell, { width: 12, children: /* @__PURE__ */ jsxRuntime.jsx(
17663
+ chunk4ZR4O5SP_cjs.DashboardPanel,
17641
17664
  {
17642
17665
  panel: panels.breakdown(breakdown, metric, 12),
17643
17666
  testId: "project-usage-breakdown",
@@ -18702,7 +18725,7 @@ function ConnectedWorkspaceList({
18702
18725
  }
18703
18726
  );
18704
18727
  }
18705
- if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading workspaces..." });
18728
+ if (list.isLoading) return /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading workspaces..." });
18706
18729
  if (list.error) {
18707
18730
  return /* @__PURE__ */ jsxRuntime.jsx(
18708
18731
  chunkHNLNRAEU_cjs.HomeLoadError,
@@ -18775,7 +18798,7 @@ function ConnectedWorkspaceList({
18775
18798
  workspaceState
18776
18799
  }
18777
18800
  ) })
18778
- ) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkHNLNRAEU_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
18801
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading grid..." }), children: /* @__PURE__ */ jsxRuntime.jsx(chunkHNLNRAEU_cjs.HomeCenteredColumn, { children: /* @__PURE__ */ jsxRuntime.jsx(
18779
18802
  WorkspaceTableView,
18780
18803
  {
18781
18804
  list,
@@ -18977,7 +19000,7 @@ function ConnectedProjectsListPage({
18977
19000
  };
18978
19001
  const { openProject } = chunk46LX6EQT_cjs.useBlocksEnvironment();
18979
19002
  const [search, setSearch] = react.useState("");
18980
- const { projects, isLoading } = chunkPJTKXKDS_cjs.useProjectSummaries();
19003
+ const { projects, isLoading } = chunk4I2PCP7O_cjs.useProjectSummaries();
18981
19004
  const rows = react.useMemo(() => {
18982
19005
  const q = search.trim().toLowerCase();
18983
19006
  if (!q) return projects;
@@ -19048,7 +19071,7 @@ function ConnectedProjectsListPage({
19048
19071
  }
19049
19072
  ),
19050
19073
  /* @__PURE__ */ jsxRuntime.jsx(
19051
- chunkWPUEGDBE_cjs.Toolbar,
19074
+ chunkWUM76MJU_cjs.Toolbar,
19052
19075
  {
19053
19076
  search,
19054
19077
  onSearch: setSearch,
@@ -19057,7 +19080,7 @@ function ConnectedProjectsListPage({
19057
19080
  }
19058
19081
  ),
19059
19082
  /* @__PURE__ */ jsxRuntime.jsx(
19060
- chunk3XCYPWC5_cjs.DataTable,
19083
+ chunk2P7VH2SK_cjs.DataTable,
19061
19084
  {
19062
19085
  area: testId,
19063
19086
  columns: shown.map((c) => all[c]),
@@ -19110,7 +19133,7 @@ function ProjectDetailsForm({
19110
19133
  const labels = { ...DEFAULT_PROJECT_DETAILS_LABELS, ...given };
19111
19134
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
19112
19135
  const update = react$1.useUpdateProjectFields();
19113
- const workspace = chunkPJTKXKDS_cjs.primaryProjectWorkspace(project);
19136
+ const workspace = chunk4I2PCP7O_cjs.primaryProjectWorkspace(project);
19114
19137
  const { data: members = [] } = react$1.useWorkspaceUsers(workspace?.id);
19115
19138
  const people = members.filter((m) => !m.user.external_id.startsWith("agt-"));
19116
19139
  const currency = project.budget?.currency ?? "GBP";
@@ -19235,7 +19258,7 @@ var COMPACT_BELOW = 132;
19235
19258
  var NO_DOCUMENTS = [];
19236
19259
  function useFilesWorkspace() {
19237
19260
  const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
19238
- const { members, role } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
19261
+ const { members, role } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
19239
19262
  const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
19240
19263
  const workspaceName = workspaces?.find((w) => w.external_id === workspaceId)?.name;
19241
19264
  return {
@@ -19299,9 +19322,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19299
19322
  for (const tag of workspaceTags ?? []) map.set(tag.external_id, tag.name);
19300
19323
  return map;
19301
19324
  }, [workspaceTags]);
19302
- const pendingFolders = chunkMFZW4FEW_cjs.usePendingFolders(wsId);
19303
- const addPendingFolder = chunkMFZW4FEW_cjs.useFilesStore((state) => state.addPendingFolder);
19304
- const removePendingFolder = chunkMFZW4FEW_cjs.useFilesStore((state) => state.removePendingFolder);
19325
+ const pendingFolders = chunkB5BGVPQ5_cjs.usePendingFolders(wsId);
19326
+ const addPendingFolder = chunkB5BGVPQ5_cjs.useFilesStore((state) => state.addPendingFolder);
19327
+ const removePendingFolder = chunkB5BGVPQ5_cjs.useFilesStore((state) => state.removePendingFolder);
19305
19328
  const [editingFolderPath, setEditingFolderPath] = react.useState(null);
19306
19329
  const isSearching = search.trim().length > 0;
19307
19330
  const selectedSet = react.useMemo(() => new Set(selectedIds), [selectedIds]);
@@ -19310,8 +19333,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19310
19333
  const { folders, files } = react.useMemo(() => {
19311
19334
  const result = isSearching ? {
19312
19335
  folders: [],
19313
- files: chunkAKR4JN6I_cjs.searchExplorerDocuments(documents, search, sort)
19314
- } : chunkAKR4JN6I_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
19336
+ files: chunkJCFXS336_cjs.searchExplorerDocuments(documents, search, sort)
19337
+ } : chunkJCFXS336_cjs.buildExplorerEntries(documents, currentPath, sort, [...pendingFolders]);
19315
19338
  if (sortReversed) result.files = [...result.files].reverse();
19316
19339
  return result;
19317
19340
  }, [documents, currentPath, sort, isSearching, search, sortReversed, pendingFolders]);
@@ -19322,7 +19345,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19322
19345
  const orderedFileIds = react.useMemo(() => files.map((d) => d.external_id), [files]);
19323
19346
  const folderDocs = react.useMemo(() => {
19324
19347
  const map = /* @__PURE__ */ new Map();
19325
- for (const f of folders) map.set(f.path.join("/"), chunkAKR4JN6I_cjs.collectFolderDocs(documents, f.path));
19348
+ for (const f of folders) map.set(f.path.join("/"), chunkJCFXS336_cjs.collectFolderDocs(documents, f.path));
19326
19349
  return map;
19327
19350
  }, [folders, documents]);
19328
19351
  const folderSelection = react.useMemo(() => {
@@ -19470,7 +19493,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19470
19493
  let name = base;
19471
19494
  let i = 2;
19472
19495
  while (siblings.has(name.toLowerCase())) name = `${base} ${i++}`;
19473
- const path = chunkAKR4JN6I_cjs.joinFolderPath([...currentPath, name]);
19496
+ const path = chunkJCFXS336_cjs.joinFolderPath([...currentPath, name]);
19474
19497
  if (!path) return;
19475
19498
  addPendingFolder(wsId, path);
19476
19499
  setEditingFolderPath(path);
@@ -19506,10 +19529,10 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19506
19529
  notify19(`A folder named "${name}" already exists here.`, "error");
19507
19530
  return;
19508
19531
  }
19509
- const oldPath = chunkAKR4JN6I_cjs.joinFolderPath(folder.path);
19532
+ const oldPath = chunkJCFXS336_cjs.joinFolderPath(folder.path);
19510
19533
  const newPrefix = [...folder.path.slice(0, -1), name];
19511
- const newPath = chunkAKR4JN6I_cjs.joinFolderPath(newPrefix);
19512
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19534
+ const newPath = chunkJCFXS336_cjs.joinFolderPath(newPrefix);
19535
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19513
19536
  try {
19514
19537
  if (await renameFolder(docs, folder.path, newPrefix) > 0) {
19515
19538
  notify19(`Renamed folder to "${name}"`, "success");
@@ -19568,7 +19591,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19568
19591
  const handleToggleFolder = react.useCallback(
19569
19592
  (folder, e) => {
19570
19593
  e.stopPropagation();
19571
- const ids = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19594
+ const ids = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19572
19595
  if (ids.length === 0) return;
19573
19596
  if (ids.every((id) => selectedSet.has(id))) {
19574
19597
  const remove = new Set(ids);
@@ -19629,9 +19652,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19629
19652
  );
19630
19653
  const handleDelete = react.useCallback(
19631
19654
  async (doc) => {
19632
- const name = chunkAKR4JN6I_cjs.getExplorerDisplayName(doc);
19655
+ const name = chunkJCFXS336_cjs.getExplorerDisplayName(doc);
19633
19656
  const confirmed = await confirm({
19634
- message: `Delete "${name}"? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT}`,
19657
+ message: `Delete "${name}"? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT}`,
19635
19658
  title: "Delete file"
19636
19659
  });
19637
19660
  if (!confirmed) return;
@@ -19651,7 +19674,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19651
19674
  );
19652
19675
  const handleFolderDownload = react.useCallback(
19653
19676
  (folder) => {
19654
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19677
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19655
19678
  if (docs.length > 0) void downloadDocuments(docs);
19656
19679
  },
19657
19680
  [documents, downloadDocuments]
@@ -19660,7 +19683,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19660
19683
  if (onFolderMove) return onFolderMove;
19661
19684
  if (!onMoveSelected) return void 0;
19662
19685
  return (folder) => {
19663
- const ids = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19686
+ const ids = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).map((d) => d.external_id);
19664
19687
  if (ids.length === 0) return;
19665
19688
  onSelectionChange(ids);
19666
19689
  onMoveSelected();
@@ -19668,14 +19691,14 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19668
19691
  }, [documents, onFolderMove, onMoveSelected, onSelectionChange]);
19669
19692
  const handleFolderDelete = react.useCallback(
19670
19693
  async (folder) => {
19671
- const docs = chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path);
19694
+ const docs = chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path);
19672
19695
  if (docs.length === 0) {
19673
- const path = chunkAKR4JN6I_cjs.joinFolderPath(folder.path);
19696
+ const path = chunkJCFXS336_cjs.joinFolderPath(folder.path);
19674
19697
  if (wsId && path) removePendingFolder(wsId, path);
19675
19698
  return;
19676
19699
  }
19677
19700
  const confirmed = await confirm({
19678
- message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
19701
+ message: `Delete folder "${folder.name}" and its ${docs.length} item${docs.length === 1 ? "" : "s"}? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
19679
19702
  title: "Delete folder"
19680
19703
  });
19681
19704
  if (!confirmed) return;
@@ -19692,8 +19715,8 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19692
19715
  [confirm, documents, deleteDocuments, onSelectionChange, removePendingFolder, wsId, notify19]
19693
19716
  );
19694
19717
  const canDeleteFolder = react.useCallback(
19695
- (folder) => canUpload && chunkAKR4JN6I_cjs.collectFolderDocs(documents, folder.path).every(
19696
- (doc) => chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId, role)
19718
+ (folder) => canUpload && chunkJCFXS336_cjs.collectFolderDocs(documents, folder.path).every(
19719
+ (doc) => chunkJCFXS336_cjs.canDeleteDocument(doc, userId, role)
19697
19720
  ),
19698
19721
  [canUpload, documents, userId, role]
19699
19722
  );
@@ -19752,7 +19775,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19752
19775
  setActiveDragId(null);
19753
19776
  const data = event.over?.data.current;
19754
19777
  if (data?.type === "folder" && data.path) {
19755
- const targetFolder = chunkAKR4JN6I_cjs.joinFolderPath(data.path);
19778
+ const targetFolder = chunkJCFXS336_cjs.joinFolderPath(data.path);
19756
19779
  const moving = dragIdsRef.current.filter((id) => {
19757
19780
  const doc = documents.find((d) => d.external_id === id);
19758
19781
  return doc && (doc.folder ?? null) !== targetFolder;
@@ -19792,7 +19815,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19792
19815
  const dropped = Array.from(e.dataTransfer.files ?? []);
19793
19816
  if (dropped.length > 0) {
19794
19817
  e.preventDefault();
19795
- onUploadFiles(dropped, chunkAKR4JN6I_cjs.joinFolderPath(currentPath));
19818
+ onUploadFiles(dropped, chunkJCFXS336_cjs.joinFolderPath(currentPath));
19796
19819
  }
19797
19820
  },
19798
19821
  [canUpload, currentPath, onUploadFiles]
@@ -19809,9 +19832,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19809
19832
  onDragEnd: handleDragEnd,
19810
19833
  onDragCancel: () => setActiveDragId(null),
19811
19834
  children: [
19812
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ExplorerStage, { children: [
19835
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerFrame, { "data-testid": "documents-explorer", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ExplorerStage, { children: [
19813
19836
  /* @__PURE__ */ jsxRuntime.jsx(
19814
- chunkAKR4JN6I_cjs.ExplorerScroller,
19837
+ chunkJCFXS336_cjs.ExplorerScroller,
19815
19838
  {
19816
19839
  ref: scrollRef,
19817
19840
  onClick: handleBackgroundClick,
@@ -19821,15 +19844,15 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19821
19844
  onDragLeave: handleNativeDragLeave,
19822
19845
  onDrop: handleNativeDrop,
19823
19846
  "data-testid": "explorer-scroll",
19824
- children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
19825
- chunkAKR4JN6I_cjs.ExplorerEmpty,
19847
+ children: isLoading && documents.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerLoadingTiles, {}) : entries.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(
19848
+ chunkJCFXS336_cjs.ExplorerEmpty,
19826
19849
  {
19827
19850
  title: isSearching ? `No files match "${search.trim()}"` : "This folder is empty",
19828
19851
  description: isSearching ? "Try a different search." : canUpload ? "Drop files here or use Upload to add documents." : "No documents here yet."
19829
19852
  }
19830
19853
  ) : containerWidth === 0 ? (
19831
19854
  // Not measured yet: rendering now would flash one stretched column.
19832
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerLoadingTiles, {})
19855
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerLoadingTiles, {})
19833
19856
  ) : /* @__PURE__ */ jsxRuntime.jsx(
19834
19857
  "div",
19835
19858
  {
@@ -19859,7 +19882,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19859
19882
  if (entry.kind === "folder") {
19860
19883
  const key = entry.path.join("/");
19861
19884
  return /* @__PURE__ */ jsxRuntime.jsx(
19862
- chunkOGJCEWME_cjs.FolderTile,
19885
+ chunk4XNP27N4_cjs.FolderTile,
19863
19886
  {
19864
19887
  folder: entry,
19865
19888
  density,
@@ -19882,7 +19905,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19882
19905
  }
19883
19906
  const doc = entry.doc;
19884
19907
  return /* @__PURE__ */ jsxRuntime.jsx(
19885
- chunkOGJCEWME_cjs.FileTile,
19908
+ chunk4XNP27N4_cjs.FileTile,
19886
19909
  {
19887
19910
  doc,
19888
19911
  density,
@@ -19890,7 +19913,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19890
19913
  dragging: activeDragId === doc.external_id,
19891
19914
  dndActive: activeDragId !== null,
19892
19915
  renaming: renamingId === doc.external_id,
19893
- canDelete: chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId, role),
19916
+ canDelete: chunkJCFXS336_cjs.canDeleteDocument(doc, userId, role),
19894
19917
  thumbnailUrl: thumbnailsById.get(doc.external_id),
19895
19918
  modifiedBy: userById.get(
19896
19919
  doc.updated_by_ext_id ?? doc.created_by_ext_id
@@ -19919,9 +19942,9 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19919
19942
  )
19920
19943
  }
19921
19944
  ),
19922
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
19945
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ExplorerMarquee, { ref: marqueeOverlayRef, "data-testid": "explorer-marquee" }),
19923
19946
  isFileDragOver && /* @__PURE__ */ jsxRuntime.jsx(
19924
- chunkAKR4JN6I_cjs.ExplorerDropOverlay,
19947
+ chunkJCFXS336_cjs.ExplorerDropOverlay,
19925
19948
  {
19926
19949
  label: `Drop to upload${currentPath.length > 0 ? ` to "${currentPath[currentPath.length - 1]}"` : ""}`
19927
19950
  }
@@ -19935,7 +19958,7 @@ var ConnectedFilesExplorer = react.forwardRef(function ConnectedFilesExplorer2({
19935
19958
  function DragPreview({ doc, count: count2 }) {
19936
19959
  const Icon = ui.getFileTypeIcon(doc.file_name, { mime: doc.file_type, folder: doc.folder });
19937
19960
  return /* @__PURE__ */ jsxRuntime.jsx(
19938
- chunkAKR4JN6I_cjs.ExplorerDragPreview,
19961
+ chunkJCFXS336_cjs.ExplorerDragPreview,
19939
19962
  {
19940
19963
  icon: /* @__PURE__ */ jsxRuntime.jsx(Icon, { size: 20 }),
19941
19964
  title: ui.getDocumentTitle(doc, doc.file_name ?? "Untitled"),
@@ -20172,11 +20195,11 @@ function ConnectedProjectPage({
20172
20195
  figures: { ...DEFAULT_PROJECT_PAGE_LABELS.figures, ...given?.figures },
20173
20196
  threads: { ...DEFAULT_PROJECT_PAGE_LABELS.threads, ...given?.threads }
20174
20197
  };
20175
- const { project, usage, isLoading } = chunkPJTKXKDS_cjs.useProjectSummary(projectId);
20198
+ const { project, usage, isLoading } = chunk4I2PCP7O_cjs.useProjectSummary(projectId);
20176
20199
  const { workspaceId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
20177
20200
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
20178
- const selectWorkspace = chunkILATBO5Z_cjs.useSelectWorkspace();
20179
- const workspace = project ? chunkPJTKXKDS_cjs.primaryProjectWorkspace(project) : void 0;
20201
+ const selectWorkspace = chunk6ZZWQ3OL_cjs.useSelectWorkspace();
20202
+ const workspace = project ? chunk4I2PCP7O_cjs.primaryProjectWorkspace(project) : void 0;
20180
20203
  const open = !!workspace && workspace.id === workspaceId;
20181
20204
  react.useEffect(() => {
20182
20205
  if (!workspace || workspace.id === workspaceId) return;
@@ -20323,7 +20346,7 @@ function ConnectedProjectPage({
20323
20346
  ),
20324
20347
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2 lg:grid-cols-4", children: [
20325
20348
  /* @__PURE__ */ jsxRuntime.jsx(
20326
- chunk3XCYPWC5_cjs.MetricCard,
20349
+ chunk2P7VH2SK_cjs.MetricCard,
20327
20350
  {
20328
20351
  label: labels.figures.documents,
20329
20352
  value: project.documentCount.toLocaleString(),
@@ -20332,7 +20355,7 @@ function ConnectedProjectPage({
20332
20355
  }
20333
20356
  ),
20334
20357
  /* @__PURE__ */ jsxRuntime.jsx(
20335
- chunk3XCYPWC5_cjs.MetricCard,
20358
+ chunk2P7VH2SK_cjs.MetricCard,
20336
20359
  {
20337
20360
  label: labels.figures.conversations,
20338
20361
  value: project.conversationCount.toLocaleString(),
@@ -20341,7 +20364,7 @@ function ConnectedProjectPage({
20341
20364
  }
20342
20365
  ),
20343
20366
  /* @__PURE__ */ jsxRuntime.jsx(
20344
- chunk3XCYPWC5_cjs.MetricCard,
20367
+ chunk2P7VH2SK_cjs.MetricCard,
20345
20368
  {
20346
20369
  label: labels.figures.members,
20347
20370
  value: project.memberCount,
@@ -20350,7 +20373,7 @@ function ConnectedProjectPage({
20350
20373
  }
20351
20374
  ),
20352
20375
  /* @__PURE__ */ jsxRuntime.jsx(
20353
- chunk3XCYPWC5_cjs.MetricCard,
20376
+ chunk2P7VH2SK_cjs.MetricCard,
20354
20377
  {
20355
20378
  label: labels.figures.spend,
20356
20379
  value: usage ? react$1.formatGbp(usage.total_spend) : "\u2014",
@@ -23083,10 +23106,10 @@ function ConnectedContactsPanel({
23083
23106
  function ConnectedConfigForm({ availableModels, ...rest }) {
23084
23107
  const hasModels = !!availableModels && availableModels.length > 0;
23085
23108
  const renderModelSelect = react.useCallback(
23086
- ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
23109
+ ({ value, onChange }) => /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, { value, onValueChange: onChange, className: "w-full" }),
23087
23110
  []
23088
23111
  );
23089
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
23112
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConfigForm, { ...rest, renderModelSelect: hasModels ? renderModelSelect : void 0 });
23090
23113
  }
23091
23114
  function ConnectedAgentConfigForm({ agentExtId, agentName, onSaved }) {
23092
23115
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
@@ -23203,7 +23226,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23203
23226
  }, [name, selectedWorkspaces, role, createAgent, addWorkspaceUsers, arbi, notify19]);
23204
23227
  if (editAgent) {
23205
23228
  return /* @__PURE__ */ jsxRuntime.jsx(
23206
- chunkH7AI54V2_cjs.AgentEditView,
23229
+ chunkCVVQHFLR_cjs.AgentEditView,
23207
23230
  {
23208
23231
  agentName: editAgent.name,
23209
23232
  config: /* @__PURE__ */ jsxRuntime.jsx(
@@ -23219,7 +23242,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23219
23242
  }
23220
23243
  if (view === "main") {
23221
23244
  return /* @__PURE__ */ jsxRuntime.jsx(
23222
- chunkH7AI54V2_cjs.AgentMainView,
23245
+ chunkCVVQHFLR_cjs.AgentMainView,
23223
23246
  {
23224
23247
  onConnectExternal: () => setView("connect"),
23225
23248
  config: mainAgent ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -23235,11 +23258,11 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23235
23258
  }
23236
23259
  if (result) {
23237
23260
  return /* @__PURE__ */ jsxRuntime.jsx(
23238
- chunkH7AI54V2_cjs.AgentCreatedView,
23261
+ chunkCVVQHFLR_cjs.AgentCreatedView,
23239
23262
  {
23240
23263
  email: result.email,
23241
23264
  signingKey: result.signingKey,
23242
- instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
23265
+ instructions: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentConnectInstructions, { email: result.email, signingKey: result.signingKey }),
23243
23266
  config: /* @__PURE__ */ jsxRuntime.jsx(ConnectedAgentConfigForm, { agentExtId: result.extId, agentName: result.name }),
23244
23267
  isConfigOpen: configOpen,
23245
23268
  onToggleConfig: () => setConfigOpen((v) => !v),
@@ -23248,7 +23271,7 @@ function ConnectedAuthorizeAgent({ onClose, editAgent }) {
23248
23271
  );
23249
23272
  }
23250
23273
  return /* @__PURE__ */ jsxRuntime.jsx(
23251
- chunkH7AI54V2_cjs.AgentCreateView,
23274
+ chunkCVVQHFLR_cjs.AgentCreateView,
23252
23275
  {
23253
23276
  name,
23254
23277
  onNameChange: setName,
@@ -23444,7 +23467,7 @@ function ConnectedNewThreadDialog({
23444
23467
  });
23445
23468
  const parentOptions = react.useMemo(() => {
23446
23469
  const leaf = { external_id: "__new__" };
23447
- return chunkH7AI54V2_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
23470
+ return chunkCVVQHFLR_cjs.moveTargets([...tasks, leaf], leaf).map((t) => ({
23448
23471
  id: t.external_id,
23449
23472
  name: t.title?.trim() || "Untitled task"
23450
23473
  }));
@@ -23491,7 +23514,7 @@ function ConnectedNewThreadDialog({
23491
23514
  }
23492
23515
  };
23493
23516
  return /* @__PURE__ */ jsxRuntime.jsx(
23494
- chunkH7AI54V2_cjs.NewThreadDialog,
23517
+ chunkCVVQHFLR_cjs.NewThreadDialog,
23495
23518
  {
23496
23519
  open,
23497
23520
  onOpenChange,
@@ -23669,7 +23692,7 @@ function recentConversations(conversations) {
23669
23692
  return [...conversations].sort((a, b) => time2(b.updated_at) - time2(a.updated_at)).slice(0, RECENT_ROWS).map((c) => ({
23670
23693
  id: c.external_id,
23671
23694
  title: c.title?.trim() || "Untitled thread",
23672
- subtitle: c.status ? [chunkH7AI54V2_cjs.STATUS_LABELS[chunkH7AI54V2_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"}`,
23695
+ subtitle: c.status ? [chunkCVVQHFLR_cjs.STATUS_LABELS[chunkCVVQHFLR_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"}`,
23673
23696
  time: timeAndDate(c.updated_at)
23674
23697
  }));
23675
23698
  }
@@ -23760,7 +23783,7 @@ function DocumentsUploadButton({
23760
23783
  [hasAccountProviders, onSelectSource, onEmailWorkspace, onCreateNew, onTakePhoto]
23761
23784
  );
23762
23785
  return /* @__PURE__ */ jsxRuntime.jsx(
23763
- chunkAKR4JN6I_cjs.FilesAddMenu,
23786
+ chunkJCFXS336_cjs.FilesAddMenu,
23764
23787
  {
23765
23788
  items,
23766
23789
  isCompact,
@@ -23855,7 +23878,7 @@ function useDashboardAdd({ onCreateNew, onTakePhoto }) {
23855
23878
  addFiles: () => upload(),
23856
23879
  dialogs: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
23857
23880
  /* @__PURE__ */ jsxRuntime.jsx(
23858
- chunkAKR4JN6I_cjs.UrlInputDialog,
23881
+ chunkJCFXS336_cjs.UrlInputDialog,
23859
23882
  {
23860
23883
  open: urlDialogOpen,
23861
23884
  onOpenChange: setUrlDialogOpen,
@@ -24114,7 +24137,7 @@ var inWorkspace = ({ workspaceId }) => !!workspaceId;
24114
24137
  var canWrite = ({ isMember, role }) => isMember && role !== "guest";
24115
24138
  var notTemporary = ({ isTemporaryAccess }) => !isTemporaryAccess;
24116
24139
  function setDocumentSourceFilter(source) {
24117
- const { documentFilters, setDocumentFilters } = chunkMFZW4FEW_cjs.useFilesPrefs.getState();
24140
+ const { documentFilters, setDocumentFilters } = chunkB5BGVPQ5_cjs.useFilesPrefs.getState();
24118
24141
  setDocumentFilters({
24119
24142
  ...documentFilters,
24120
24143
  source_uploaded: source === "uploaded" ? "include" : null,
@@ -24126,9 +24149,9 @@ function createBuiltinActions(environment, session) {
24126
24149
  const startWorkflowOnDocuments = (workflowId) => {
24127
24150
  const { viewingDocument, selectedDocumentIds } = session.getState();
24128
24151
  const documents = viewingDocument ? [viewingDocument.id] : [...selectedDocumentIds];
24129
- chunkH7AI54V2_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
24152
+ chunkCVVQHFLR_cjs.openWorkflowLaunch({ workflowId, context: { documents } });
24130
24153
  };
24131
- const setFilesView = (mode) => () => chunkMFZW4FEW_cjs.useFilesPrefs.getState().setViewMode(mode);
24154
+ const setFilesView = (mode) => () => chunkB5BGVPQ5_cjs.useFilesPrefs.getState().setViewMode(mode);
24132
24155
  const actions = [
24133
24156
  {
24134
24157
  id: "goto-user-settings",
@@ -24193,7 +24216,7 @@ function createBuiltinActions(environment, session) {
24193
24216
  icon: "Files",
24194
24217
  keywords: ["download", "csv", "excel"],
24195
24218
  available: inWorkspace,
24196
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().setExportOpen(true)
24219
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().setExportOpen(true)
24197
24220
  },
24198
24221
  {
24199
24222
  id: "bulk-tag-documents",
@@ -24202,7 +24225,7 @@ function createBuiltinActions(environment, session) {
24202
24225
  icon: "Tags",
24203
24226
  keywords: ["labels", "categorize", "bulk tag"],
24204
24227
  available: inWorkspace,
24205
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
24228
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().setBulkTagsOpen(true)
24206
24229
  },
24207
24230
  {
24208
24231
  id: "move-to-folder",
@@ -24211,7 +24234,7 @@ function createBuiltinActions(environment, session) {
24211
24234
  icon: "FolderInput",
24212
24235
  keywords: ["organize", "relocate"],
24213
24236
  available: inWorkspace,
24214
- run: () => chunkMFZW4FEW_cjs.useFilesDialogs.getState().openMove()
24237
+ run: () => chunkB5BGVPQ5_cjs.useFilesDialogs.getState().openMove()
24215
24238
  },
24216
24239
  {
24217
24240
  id: "ai-review-documents",
@@ -24220,7 +24243,7 @@ function createBuiltinActions(environment, session) {
24220
24243
  icon: "Sparkles",
24221
24244
  keywords: ["auto tag", "analyze", "suggest tags"],
24222
24245
  available: inWorkspace,
24223
- run: () => chunkMFZW4FEW_cjs.useAiReviewStore.getState().setOpen(true)
24246
+ run: () => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().setOpen(true)
24224
24247
  },
24225
24248
  {
24226
24249
  id: "docs-grid-view",
@@ -24688,7 +24711,7 @@ function ConnectedRemoteControlConsent() {
24688
24711
  }
24689
24712
  function ConsentPrompt() {
24690
24713
  const pending = react$1.useRemoteControl((s) => s.pending);
24691
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
24714
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
24692
24715
  const onceRef = react.useRef(null);
24693
24716
  chunkNZNBJF3M_cjs.useMountedSurface("consent");
24694
24717
  const handleOpenChange = (next) => {
@@ -24781,7 +24804,7 @@ function Indicator() {
24781
24804
  const enabled = react$1.useRemoteControl((s) => s.enabled);
24782
24805
  const sharing = react$1.useRemoteControl((s) => !!s.sharing);
24783
24806
  const controllingAgent = react$1.useRemoteControl((s) => s.controllingAgent);
24784
- const remote = chunk6WWYH66F_cjs.useRemoteControlActions();
24807
+ const remote = chunkZ3N32LL4_cjs.useRemoteControlActions();
24785
24808
  if (!enabled && !controllingAgent) return null;
24786
24809
  const isActive = controllingAgent !== null;
24787
24810
  const label = sharing ? controllingAgent ? `${controllingAgent.name} \xB7 screen sharing and control on` : "Sharing screen \xB7 remote control on" : isActive ? `${controllingAgent.name} is controlling your screen` : "Remote control on";
@@ -24827,7 +24850,7 @@ function AddFromAccountsButton({
24827
24850
  className: "gap-2",
24828
24851
  "data-testid": dataTestId,
24829
24852
  children: [
24830
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
24853
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex items-center gap-1", children: marks.map((m) => /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: m.vendorKey, product: m.product, className: "h-4 w-4" }, m.key)) }),
24831
24854
  "Add from accounts"
24832
24855
  ]
24833
24856
  }
@@ -24911,7 +24934,7 @@ function ConnectedUploadDropzone({
24911
24934
  const onFiles = browse(fileInputRef);
24912
24935
  const onFolder = browse(folderInputRef);
24913
24936
  const dropTarget = /* @__PURE__ */ jsxRuntime.jsx(
24914
- chunkAKR4JN6I_cjs.UploadDropArea,
24937
+ chunkJCFXS336_cjs.UploadDropArea,
24915
24938
  {
24916
24939
  isActive: dragActive,
24917
24940
  isDisabled: disabled,
@@ -24925,11 +24948,11 @@ function ConnectedUploadDropzone({
24925
24948
  onClick: (e) => {
24926
24949
  if (e.target === e.currentTarget) onFiles();
24927
24950
  },
24928
- actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
24951
+ actions: compact ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadBrowseButtons, { onFiles, onFolder, isDisabled: disabled }) : void 0
24929
24952
  }
24930
24953
  );
24931
24954
  const urlDialog = (trigger) => onUrlsSubmit ? /* @__PURE__ */ jsxRuntime.jsx(
24932
- chunkAKR4JN6I_cjs.UrlInputDialog,
24955
+ chunkJCFXS336_cjs.UrlInputDialog,
24933
24956
  {
24934
24957
  onUrlsSubmit,
24935
24958
  processing: disabled,
@@ -24942,12 +24965,12 @@ function ConnectedUploadDropzone({
24942
24965
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
24943
24966
  dropTarget,
24944
24967
  compactLeadingAction,
24945
- onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
24968
+ onUrlsSubmit && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { isIsolated: true, className: "flex flex-wrap justify-center gap-2", children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadUrlButton, { isDisabled: disabled, isCompact: true })) })
24946
24969
  ] });
24947
24970
  }
24948
24971
  if (!source) {
24949
24972
  return /* @__PURE__ */ jsxRuntime.jsx(
24950
- chunkAKR4JN6I_cjs.UploadSourcePicker,
24973
+ chunkJCFXS336_cjs.UploadSourcePicker,
24951
24974
  {
24952
24975
  isDisabled: disabled,
24953
24976
  options: [
@@ -24983,14 +25006,14 @@ function ConnectedUploadDropzone({
24983
25006
  }
24984
25007
  if (source === "computer") {
24985
25008
  return /* @__PURE__ */ jsxRuntime.jsxs(
24986
- chunkAKR4JN6I_cjs.UploadSourceSection,
25009
+ chunkJCFXS336_cjs.UploadSourceSection,
24987
25010
  {
24988
25011
  testId: "upload-source-computer",
24989
25012
  className: "flex w-full flex-col gap-3 pointer-coarse:flex-col-reverse",
24990
25013
  children: [
24991
25014
  dropTarget,
24992
25015
  /* @__PURE__ */ jsxRuntime.jsx(
24993
- chunkAKR4JN6I_cjs.UploadBrowseButtons,
25016
+ chunkJCFXS336_cjs.UploadBrowseButtons,
24994
25017
  {
24995
25018
  layout: "grid",
24996
25019
  onFiles,
@@ -25003,15 +25026,15 @@ function ConnectedUploadDropzone({
25003
25026
  );
25004
25027
  }
25005
25028
  if (source === "internet" && onUrlsSubmit) {
25006
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
25029
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { testId: "upload-source-internet", className: "flex flex-wrap gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { isIsolated: true, children: urlDialog(/* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadUrlButton, { isDisabled: disabled })) }) });
25007
25030
  }
25008
25031
  if (source === "email" && accounts) {
25009
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
25032
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadSourceSection, { testId: "upload-source-email", isIsolated: true, children: accounts });
25010
25033
  }
25011
25034
  return null;
25012
25035
  })();
25013
25036
  return /* @__PURE__ */ jsxRuntime.jsxs(
25014
- chunkAKR4JN6I_cjs.UploadFrame,
25037
+ chunkJCFXS336_cjs.UploadFrame,
25015
25038
  {
25016
25039
  isCompact: compact,
25017
25040
  isDimmed: disabled || processingMessage !== null,
@@ -25072,7 +25095,7 @@ function EmptyWorkspaceUpload({
25072
25095
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
25073
25096
  }
25074
25097
  ),
25075
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.PrivacyExplainerModal, {})
25098
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.PrivacyExplainerModal, {})
25076
25099
  ] })
25077
25100
  }
25078
25101
  );
@@ -25179,9 +25202,9 @@ function useDocumentFilters({
25179
25202
  const { data: members = [] } = react$1.useWorkspaceUsers();
25180
25203
  const user = members.find((m) => m.user.external_id === currentUserId)?.user;
25181
25204
  const offlineIds = react$1.useOfflineDocumentIds();
25182
- const pendingFolders = chunkMFZW4FEW_cjs.usePendingFolders(selectedWorkspaceId);
25183
- const persistedDocumentFilters = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.documentFilters);
25184
- const setPersistedDocumentFilters = chunkMFZW4FEW_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25205
+ const pendingFolders = chunkB5BGVPQ5_cjs.usePendingFolders(selectedWorkspaceId);
25206
+ const persistedDocumentFilters = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.documentFilters);
25207
+ const setPersistedDocumentFilters = chunkB5BGVPQ5_cjs.useFilesPrefs((state) => state.setDocumentFilters);
25185
25208
  const folderTree = react.useMemo(() => {
25186
25209
  const allPaths = /* @__PURE__ */ new Set();
25187
25210
  let hasUnfiled = false;
@@ -25402,7 +25425,7 @@ function useDocumentFilters({
25402
25425
  {
25403
25426
  id: "uploaded_by_me",
25404
25427
  label: "Uploaded by me",
25405
- icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunkOGJCEWME_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25428
+ icon: user ? /* @__PURE__ */ jsxRuntime.jsx(chunk4XNP27N4_cjs.UserAvatar, { user, isMe: true }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.User, { className: "h-4 w-4" }),
25406
25429
  count: docs.filter((doc) => doc.created_by_ext_id === currentUserId).length
25407
25430
  },
25408
25431
  {
@@ -25523,7 +25546,7 @@ function useDocumentFilters({
25523
25546
  const folderPath = react.useMemo(() => {
25524
25547
  for (const [key, state] of documentFilters) {
25525
25548
  if (key.startsWith("folder:") && key !== "folder:none" && state === "include") {
25526
- return chunkAKR4JN6I_cjs.parseFolderSegments(key.slice("folder:".length));
25549
+ return chunkJCFXS336_cjs.parseFolderSegments(key.slice("folder:".length));
25527
25550
  }
25528
25551
  }
25529
25552
  return [];
@@ -25532,7 +25555,7 @@ function useDocumentFilters({
25532
25555
  (path) => {
25533
25556
  const next = new Map(documentFilters);
25534
25557
  for (const key of next.keys()) if (key.startsWith("folder:")) next.set(key, null);
25535
- const joined = chunkAKR4JN6I_cjs.joinFolderPath(path);
25558
+ const joined = chunkJCFXS336_cjs.joinFolderPath(path);
25536
25559
  if (joined) next.set(`folder:${joined}`, "include");
25537
25560
  setDocumentFilters(next);
25538
25561
  },
@@ -28115,7 +28138,7 @@ function ConnectedMailbox({
28115
28138
  onTabChange: () => {
28116
28139
  },
28117
28140
  compactBreakpoint: 360,
28118
- firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesFilterBar, { children: [
28141
+ firstTabContent: account ? /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesFilterBar, { children: [
28119
28142
  /* @__PURE__ */ jsxRuntime.jsx(
28120
28143
  chunk6UZC4XVV_cjs.FilterInput,
28121
28144
  {
@@ -28150,7 +28173,7 @@ function ConnectedMailbox({
28150
28173
  }
28151
28174
  ),
28152
28175
  folderList && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex shrink-0 items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
28153
- chunkAKR4JN6I_cjs.FolderFilterButton,
28176
+ chunkJCFXS336_cjs.FolderFilterButton,
28154
28177
  {
28155
28178
  label: folderList.find((f) => f.id === folderId)?.name ?? "Folders",
28156
28179
  isActive: false,
@@ -28158,7 +28181,7 @@ function ConnectedMailbox({
28158
28181
  onOpenChange: setFolderMenuOpen,
28159
28182
  testId: "mail-folder-button",
28160
28183
  children: folderList.map((item) => /* @__PURE__ */ jsxRuntime.jsx(
28161
- chunkAKR4JN6I_cjs.FolderPickerRow,
28184
+ chunkJCFXS336_cjs.FolderPickerRow,
28162
28185
  {
28163
28186
  label: item.name,
28164
28187
  count: item.unread > 0 ? item.unread : void 0,
@@ -28672,7 +28695,7 @@ function ConnectedSecureMailClaimPage({
28672
28695
  }) {
28673
28696
  const authenticated = react$1.useArbiSession().status === "signed-in";
28674
28697
  const { openMail } = chunk46LX6EQT_cjs.useBlocksEnvironment();
28675
- const { loading } = chunk6WWYH66F_cjs.useAuthPages();
28698
+ const { loading } = chunkZ3N32LL4_cjs.useAuthPages();
28676
28699
  const claim = react$1.useClaimSecureMail();
28677
28700
  const [, setFirstLoginWorkspaces] = react$1.useTransientView(FIRST_LOGIN_WORKSPACES_VIEW, null);
28678
28701
  const [failure, setFailure] = react.useState(null);
@@ -28712,7 +28735,7 @@ function ConnectedSecureMailClaimPage({
28712
28735
  }
28713
28736
  })();
28714
28737
  }, [authenticated, claimId, key]);
28715
- if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { variant: "splash" }) });
28738
+ if (!error) return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: loading ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { variant: "splash" }) });
28716
28739
  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: [
28717
28740
  /* @__PURE__ */ jsxRuntime.jsx("p", { role: "alert", className: "mb-4 text-sm text-destructive", children: error }),
28718
28741
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -31867,7 +31890,7 @@ function ProcessingSettingsFooter({
31867
31890
  [configField]
31868
31891
  );
31869
31892
  return /* @__PURE__ */ jsxRuntime.jsx(
31870
- chunkAKR4JN6I_cjs.UploadFooterBar,
31893
+ chunkJCFXS336_cjs.UploadFooterBar,
31871
31894
  {
31872
31895
  skipDuplicates,
31873
31896
  onSkipDuplicatesChange: (value) => handleConfigChange("Parser", "SKIP_DUPLICATES", value),
@@ -31876,7 +31899,7 @@ function ProcessingSettingsFooter({
31876
31899
  autoRenameInstruction,
31877
31900
  onAutoRenameInstructionChange: (value) => handleConfigChange("DoctagLLM", "AUTO_RENAME_INSTRUCTION", value),
31878
31901
  shareToggle: /* @__PURE__ */ jsxRuntime.jsx(
31879
- chunkAKR4JN6I_cjs.ShareToggle,
31902
+ chunkJCFXS336_cjs.ShareToggle,
31880
31903
  {
31881
31904
  isVisible: isShared,
31882
31905
  onToggle: onSharedChange,
@@ -32053,7 +32076,7 @@ ${summary}`,
32053
32076
  }
32054
32077
  );
32055
32078
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-h-0 flex-1 flex-col", "data-testid": "upload-documents", children: [
32056
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
32079
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto pb-2", children: uploading === null ? /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.UploadContainer, { className: "w-full px-4 pb-4 pt-2 sm:px-6", children: [
32057
32080
  files.length === 0 && /* @__PURE__ */ jsxRuntime.jsx(
32058
32081
  ConnectedUploadDropzone,
32059
32082
  {
@@ -32069,7 +32092,7 @@ ${summary}`,
32069
32092
  }
32070
32093
  ),
32071
32094
  /* @__PURE__ */ jsxRuntime.jsx(
32072
- chunkAKR4JN6I_cjs.SelectedFilesList,
32095
+ chunkJCFXS336_cjs.SelectedFilesList,
32073
32096
  {
32074
32097
  renderFileIcon,
32075
32098
  files,
@@ -32078,10 +32101,10 @@ ${summary}`,
32078
32101
  formatFileSize: formatFileSize4
32079
32102
  }
32080
32103
  ),
32081
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
32082
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadErrorMessage, { message: error })
32083
- ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
32084
- chunkAKR4JN6I_cjs.UploadProgress,
32104
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.RejectedFilesList, { files: refused, onClear: () => setRefused([]) }),
32105
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadErrorMessage, { message: error })
32106
+ ] }) : /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.UploadContainer, { className: "w-full p-4 sm:p-6", children: /* @__PURE__ */ jsxRuntime.jsx(
32107
+ chunkJCFXS336_cjs.UploadProgress,
32085
32108
  {
32086
32109
  fileCount: count2,
32087
32110
  entityLabel: plural5(count2),
@@ -32243,14 +32266,14 @@ function NativeMailImportSection({
32243
32266
  ),
32244
32267
  onError: (e) => notify19(e instanceof Error ? e.message : "Could not add mail", "error")
32245
32268
  });
32246
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
32247
- chunkAKR4JN6I_cjs.ImportRow,
32269
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportFamilySection, { label: "Mail", identity: native.email, testId: "import-family-native", children: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportList, { children: /* @__PURE__ */ jsxRuntime.jsxs(
32270
+ chunkJCFXS336_cjs.ImportRow,
32248
32271
  {
32249
32272
  testId: "email-provider-row-native",
32250
32273
  logo: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Mail, { className: "h-7 w-7 text-primary", "aria-hidden": "true" }),
32251
32274
  name: NATIVE_MAILBOX_SOURCE.display_name,
32252
32275
  actions: /* @__PURE__ */ jsxRuntime.jsx(
32253
- chunkAKR4JN6I_cjs.ImportRunActions,
32276
+ chunkJCFXS336_cjs.ImportRunActions,
32254
32277
  {
32255
32278
  isRunning: false,
32256
32279
  isBusy: fileNow.isPending,
@@ -32264,10 +32287,10 @@ function NativeMailImportSection({
32264
32287
  ),
32265
32288
  children: [
32266
32289
  here && /* @__PURE__ */ jsxRuntime.jsxs(
32267
- chunkAKR4JN6I_cjs.ImportSummary,
32290
+ chunkJCFXS336_cjs.ImportSummary,
32268
32291
  {
32269
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32270
- chunkAKR4JN6I_cjs.FolderSummary,
32292
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportAside, { children: here.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32293
+ chunkJCFXS336_cjs.FolderSummary,
32271
32294
  {
32272
32295
  names: here.folders.map(
32273
32296
  (id) => NATIVE_MAILBOX_FOLDERS.find((f) => f.id === id)?.name
@@ -32309,7 +32332,7 @@ var PROVIDER_FAMILIES = [
32309
32332
  { key: "google", label: "Google", vendors: ["gmail"] }
32310
32333
  ];
32311
32334
  function VendorGlyph({ catalog }) {
32312
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
32335
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: catalog.vendor_key, className: "h-7 w-7" });
32313
32336
  }
32314
32337
  function mailboxProductName(catalog) {
32315
32338
  if (catalog.vendor_key === "microsoft") return "Outlook";
@@ -32377,7 +32400,7 @@ function EmailProviderRow({
32377
32400
  const emailNoun = (n) => n === 1 ? "email" : "emails";
32378
32401
  const syncedCount = thisSync?.synced_count ?? 0;
32379
32402
  return /* @__PURE__ */ jsxRuntime.jsxs(
32380
- chunkAKR4JN6I_cjs.ImportRow,
32403
+ chunkJCFXS336_cjs.ImportRow,
32381
32404
  {
32382
32405
  testId: `email-provider-row-${catalog.vendor_key}`,
32383
32406
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph, { catalog }),
@@ -32386,7 +32409,7 @@ function EmailProviderRow({
32386
32409
  // Connecting AND reconnecting are owned by the family header, so a
32387
32410
  // not-connected or needs-reconnect row shows no button of its own.
32388
32411
  !isConnected || needsReconnect ? null : /* @__PURE__ */ jsxRuntime.jsx(
32389
- chunkAKR4JN6I_cjs.ImportRunActions,
32412
+ chunkJCFXS336_cjs.ImportRunActions,
32390
32413
  {
32391
32414
  isRunning: running,
32392
32415
  isStopping: cancelSync.isPending,
@@ -32402,10 +32425,10 @@ function EmailProviderRow({
32402
32425
  ),
32403
32426
  children: [
32404
32427
  isConnected && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
32405
- chunkAKR4JN6I_cjs.ImportSummary,
32428
+ chunkJCFXS336_cjs.ImportSummary,
32406
32429
  {
32407
- aside: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32408
- chunkAKR4JN6I_cjs.FolderSummary,
32430
+ aside: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportAside, { children: thisSync && thisSync.folders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
32431
+ chunkJCFXS336_cjs.FolderSummary,
32409
32432
  {
32410
32433
  names: thisSync.folders.map(
32411
32434
  (id) => mailboxFolders?.find((f) => f.id === id)?.name
@@ -32429,7 +32452,7 @@ function EmailProviderRow({
32429
32452
  }
32430
32453
  ),
32431
32454
  running && /* @__PURE__ */ jsxRuntime.jsx(
32432
- chunkAKR4JN6I_cjs.ImportProgress,
32455
+ chunkJCFXS336_cjs.ImportProgress,
32433
32456
  {
32434
32457
  processed: progress?.processed ?? 0,
32435
32458
  total: progress?.total,
@@ -32547,11 +32570,11 @@ function EmailImportPanel({
32547
32570
  return { family, entries, extra, identity, connectVendor, connected, needsReconnect };
32548
32571
  }).filter((g) => g.entries.length > 0 || g.extra);
32549
32572
  if (!ownMailbox && groups.length === 0) return null;
32550
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
32573
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportPanel, { "data-testid": "email-import-panel", children: [
32551
32574
  ownMailbox && /* @__PURE__ */ jsxRuntime.jsx(NativeMailImportSection, { workspaceExtId, native: ownMailbox }),
32552
32575
  groups.map(
32553
32576
  ({ family, entries, extra, identity, connectVendor, connected, needsReconnect }) => /* @__PURE__ */ jsxRuntime.jsx(
32554
- chunkAKR4JN6I_cjs.ImportFamilySection,
32577
+ chunkJCFXS336_cjs.ImportFamilySection,
32555
32578
  {
32556
32579
  label: family.label,
32557
32580
  identity,
@@ -32560,7 +32583,7 @@ function EmailImportPanel({
32560
32583
  onAction: () => void (!connected ? connectFamily(connectVendor) : needsReconnect ? reconnectFamily(connectVendor) : disconnectFamily(family, connectVendor, identity)),
32561
32584
  testId: `import-family-${family.key}`,
32562
32585
  actionButton: !connected ? { testId: `import-family-connect-${family.key}` } : needsReconnect ? { testId: `import-family-reconnect-${family.key}` } : { testId: `import-family-disconnect-${family.key}` },
32563
- children: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportList, { children: [
32586
+ children: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportList, { children: [
32564
32587
  entries.map((entry) => /* @__PURE__ */ jsxRuntime.jsx(
32565
32588
  EmailProviderRow,
32566
32589
  {
@@ -32645,7 +32668,7 @@ function driveProduct(vendorKey) {
32645
32668
  }
32646
32669
  function VendorGlyph2({ catalog }) {
32647
32670
  return /* @__PURE__ */ jsxRuntime.jsx(
32648
- chunkAKR4JN6I_cjs.VendorLogo,
32671
+ chunkJCFXS336_cjs.VendorLogo,
32649
32672
  {
32650
32673
  vendorKey: catalog.vendor_key,
32651
32674
  product: driveProduct(catalog.vendor_key).glyph,
@@ -32768,7 +32791,7 @@ function OneDriveProviderRow({
32768
32791
  const driveNoun = (n) => n === 1 ? "document" : "documents";
32769
32792
  const showRunActions = isConnected && !needsReconnect;
32770
32793
  const reconnectAction = ownsAuth && needsReconnect ? /* @__PURE__ */ jsxRuntime.jsx(
32771
- chunkAKR4JN6I_cjs.ImportActionButton,
32794
+ chunkJCFXS336_cjs.ImportActionButton,
32772
32795
  {
32773
32796
  onClick: () => void reconnectSelf(),
32774
32797
  disabled: reauthPending,
@@ -32777,7 +32800,7 @@ function OneDriveProviderRow({
32777
32800
  }
32778
32801
  ) : null;
32779
32802
  return /* @__PURE__ */ jsxRuntime.jsxs(
32780
- chunkAKR4JN6I_cjs.ImportRow,
32803
+ chunkJCFXS336_cjs.ImportRow,
32781
32804
  {
32782
32805
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
32783
32806
  logo: /* @__PURE__ */ jsxRuntime.jsx(VendorGlyph2, { catalog }),
@@ -32789,7 +32812,7 @@ function OneDriveProviderRow({
32789
32812
  // Until folders are configured here (or when nothing new is pending), Import now
32790
32813
  // stays disabled; the gear opens the folder picker.
32791
32814
  /* @__PURE__ */ jsxRuntime.jsx(
32792
- chunkAKR4JN6I_cjs.ImportRunActions,
32815
+ chunkJCFXS336_cjs.ImportRunActions,
32793
32816
  {
32794
32817
  isRunning: running,
32795
32818
  isStopping: cancelSync.isPending,
@@ -32808,16 +32831,16 @@ function OneDriveProviderRow({
32808
32831
  ) : reconnectAction
32809
32832
  ),
32810
32833
  children: [
32811
- ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
32834
+ ownsAuth && needsReconnect && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportHint, { "data-testid": `onedrive-reconnect-hint-${catalog.vendor_key}`, children: [
32812
32835
  "Couldn\u2019t reach SharePoint. Click ",
32813
32836
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reconnect" }),
32814
32837
  " \u2014 if it keeps happening, log out and back in to refresh the connection."
32815
32838
  ] }),
32816
32839
  configuredHere && !needsReconnect && !running && /* @__PURE__ */ jsxRuntime.jsxs(
32817
- chunkAKR4JN6I_cjs.ImportSummary,
32840
+ chunkJCFXS336_cjs.ImportSummary,
32818
32841
  {
32819
32842
  className: "mt-2",
32820
- aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_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,
32843
+ aside: typeof pendingCount === "number" ? /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_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,
32821
32844
  children: [
32822
32845
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
32823
32846
  "Syncing ",
@@ -32845,7 +32868,7 @@ function OneDriveProviderRow({
32845
32868
  }
32846
32869
  ),
32847
32870
  running && /* @__PURE__ */ jsxRuntime.jsx(
32848
- chunkAKR4JN6I_cjs.ImportProgress,
32871
+ chunkJCFXS336_cjs.ImportProgress,
32849
32872
  {
32850
32873
  processed: progress?.processed ?? 0,
32851
32874
  total: progress?.total,
@@ -32909,13 +32932,13 @@ function SharePointEnableRow({
32909
32932
  }
32910
32933
  };
32911
32934
  return /* @__PURE__ */ jsxRuntime.jsx(
32912
- chunkAKR4JN6I_cjs.ImportRow,
32935
+ chunkJCFXS336_cjs.ImportRow,
32913
32936
  {
32914
32937
  testId: `onedrive-provider-row-${catalog.vendor_key}`,
32915
- logo: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
32938
+ logo: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.VendorLogo, { vendorKey: catalog.vendor_key, product: product.glyph, className: "h-7 w-7" }),
32916
32939
  name: product.name,
32917
32940
  actions: /* @__PURE__ */ jsxRuntime.jsx(
32918
- chunkAKR4JN6I_cjs.ImportActionButton,
32941
+ chunkJCFXS336_cjs.ImportActionButton,
32919
32942
  {
32920
32943
  onClick: () => void enable(),
32921
32944
  disabled: pending,
@@ -32923,7 +32946,7 @@ function SharePointEnableRow({
32923
32946
  children: pending ? "Enabling\u2026" : `Enable ${product.name}`
32924
32947
  }
32925
32948
  ),
32926
- children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.ImportHint, { children: [
32949
+ children: sharePointAdminUrl && /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.ImportHint, { children: [
32927
32950
  "Does your organization require admin approval?",
32928
32951
  " ",
32929
32952
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -32972,11 +32995,11 @@ function DriveImportPanel({
32972
32995
  }
32973
32996
  const product = driveProduct(entry.vendor_key);
32974
32997
  return /* @__PURE__ */ jsxRuntime.jsx(
32975
- chunkAKR4JN6I_cjs.ImportRow,
32998
+ chunkJCFXS336_cjs.ImportRow,
32976
32999
  {
32977
33000
  testId: `onedrive-provider-row-${entry.vendor_key}`,
32978
33001
  logo: /* @__PURE__ */ jsxRuntime.jsx(
32979
- chunkAKR4JN6I_cjs.VendorLogo,
33002
+ chunkJCFXS336_cjs.VendorLogo,
32980
33003
  {
32981
33004
  vendorKey: entry.vendor_key,
32982
33005
  product: product.glyph,
@@ -33001,7 +33024,7 @@ function DriveImportPanel({
33001
33024
  );
33002
33025
  }).filter(Boolean);
33003
33026
  if (rows.length === 0) return null;
33004
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
33027
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ImportList, { "data-testid": "onedrive-import-panel", children: rows });
33005
33028
  }
33006
33029
  function useHasAccountsImport() {
33007
33030
  const isVendorVisible = react$1.useConnectorVendorVisibility();
@@ -33217,7 +33240,7 @@ function DocumentNameCellRenderer(params) {
33217
33240
  if (!doc) return null;
33218
33241
  const context = params.context;
33219
33242
  return /* @__PURE__ */ jsxRuntime.jsx(
33220
- chunkOGJCEWME_cjs.DocumentNameCell,
33243
+ chunk4XNP27N4_cjs.DocumentNameCell,
33221
33244
  {
33222
33245
  doc,
33223
33246
  canEdit: canEdit(params),
@@ -33235,7 +33258,7 @@ function DocumentNameCellRenderer(params) {
33235
33258
  function SharedCellRenderer(params) {
33236
33259
  if (!params.data) return null;
33237
33260
  return /* @__PURE__ */ jsxRuntime.jsx(
33238
- chunkOGJCEWME_cjs.DocumentSharedCell,
33261
+ chunk4XNP27N4_cjs.DocumentSharedCell,
33239
33262
  {
33240
33263
  document: params.data,
33241
33264
  disabled: !params.canToggle(params),
@@ -33248,7 +33271,7 @@ function StatusCellRenderer(params) {
33248
33271
  if (!params.data) return null;
33249
33272
  const context = params.context;
33250
33273
  return /* @__PURE__ */ jsxRuntime.jsx(
33251
- chunkOGJCEWME_cjs.StatusCell,
33274
+ chunk4XNP27N4_cjs.StatusCell,
33252
33275
  {
33253
33276
  doc: params.data,
33254
33277
  onStatusClick: params.onStatusClick,
@@ -33260,7 +33283,7 @@ function LabelsCellRenderer(params) {
33260
33283
  if (!params.data) return null;
33261
33284
  const context = params.context;
33262
33285
  return /* @__PURE__ */ jsxRuntime.jsx(
33263
- chunkOGJCEWME_cjs.DocumentLabelsCell,
33286
+ chunk4XNP27N4_cjs.DocumentLabelsCell,
33264
33287
  {
33265
33288
  doc: params.data,
33266
33289
  labels: params.labels,
@@ -33280,7 +33303,7 @@ function RelatedDocsCellRenderer(params) {
33280
33303
  if (!related || react$1.getRelatedTotal(related) === 0) return null;
33281
33304
  const { onOpenDocument, onDeleteDocument } = params;
33282
33305
  return /* @__PURE__ */ jsxRuntime.jsx(
33283
- chunkOGJCEWME_cjs.RelatedDocumentsCell,
33306
+ chunk4XNP27N4_cjs.RelatedDocumentsCell,
33284
33307
  {
33285
33308
  currentDoc: params.data,
33286
33309
  related,
@@ -33295,7 +33318,7 @@ function FolderCellRenderer(params) {
33295
33318
  if (!params.data) return null;
33296
33319
  const context = params.context;
33297
33320
  return /* @__PURE__ */ jsxRuntime.jsx(
33298
- chunkOGJCEWME_cjs.DocumentFolderCell,
33321
+ chunk4XNP27N4_cjs.DocumentFolderCell,
33299
33322
  {
33300
33323
  document: params.data,
33301
33324
  isEditable: params.canEdit(params),
@@ -33309,7 +33332,7 @@ function CreatedByCellRenderer(params) {
33309
33332
  const context = params.context;
33310
33333
  const creator = context?.getWorkspaceUsers?.().find((u) => u.external_id === params.data.created_by_ext_id);
33311
33334
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ jsxRuntime.jsx(
33312
- chunkOGJCEWME_cjs.UserAvatar,
33335
+ chunk4XNP27N4_cjs.UserAvatar,
33313
33336
  {
33314
33337
  user: creator,
33315
33338
  isMe: !!creator && creator.external_id === context?.getCurrentUserId?.(),
@@ -33322,7 +33345,7 @@ function CheckboxCellRenderer(params) {
33322
33345
  if (!params.data) return null;
33323
33346
  const isChecked = params.value === true;
33324
33347
  return /* @__PURE__ */ jsxRuntime.jsx(
33325
- chunkAKR4JN6I_cjs.CheckboxCell,
33348
+ chunkJCFXS336_cjs.CheckboxCell,
33326
33349
  {
33327
33350
  isChecked,
33328
33351
  color: tagColor,
@@ -33342,13 +33365,13 @@ function TagHeaderComponent(params) {
33342
33365
  return () => params.column.removeEventListener("sortChanged", updateSort);
33343
33366
  }, [params.column]);
33344
33367
  return /* @__PURE__ */ jsxRuntime.jsx(
33345
- chunkAKR4JN6I_cjs.TagColumnHeader,
33368
+ chunkJCFXS336_cjs.TagColumnHeader,
33346
33369
  {
33347
33370
  isCentered: isCheckbox,
33348
33371
  sort,
33349
33372
  onSort: params.enableSorting ? (additive) => params.progressSort(additive) : void 0,
33350
- filter: /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilterButton, { params, colId: tag.external_id }),
33351
- label: /* @__PURE__ */ jsxRuntime.jsx(chunkJMBAUHI7_cjs.ConnectedTagEntity, { tag, size: "sm" })
33373
+ filter: /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilterButton, { params, colId: tag.external_id }),
33374
+ label: /* @__PURE__ */ jsxRuntime.jsx(chunkZCQXQIBA_cjs.ConnectedTagEntity, { tag, size: "sm" })
33352
33375
  }
33353
33376
  );
33354
33377
  }
@@ -33433,7 +33456,7 @@ function createTagColumn({
33433
33456
  tagColor,
33434
33457
  isMember
33435
33458
  } : void 0,
33436
- cellEditor: isSelect ? chunkAKR4JN6I_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
33459
+ cellEditor: isSelect ? chunkJCFXS336_cjs.MultiSelectCellEditor : isText ? "agLargeTextCellEditor" : void 0,
33437
33460
  cellEditorParams: isSelect ? createMultiSelectCellEditorParams(tag.tag_type.options || []) : isText ? { rows: 8, cols: 50 } : void 0,
33438
33461
  cellEditorPopup: isText || isSelect,
33439
33462
  // Text and Select tags use popup editor for better UX
@@ -33553,8 +33576,8 @@ function createDocumentColumns({
33553
33576
  onShareDocument,
33554
33577
  notify: notify19
33555
33578
  }) {
33556
- const isRowEditableByOwner = (params) => chunkAKR4JN6I_cjs.canChangeVisibility(params.data, currentUserExtId);
33557
- const isRowEditableByMember = (params) => chunkAKR4JN6I_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
33579
+ const isRowEditableByOwner = (params) => chunkJCFXS336_cjs.canChangeVisibility(params.data, currentUserExtId);
33580
+ const isRowEditableByMember = (params) => chunkJCFXS336_cjs.canEditDocumentFields(params.data, currentUserExtId, workspaceRole);
33558
33581
  const checkboxTags = availableTags.filter(browser.isLabelTag);
33559
33582
  const allColumns = [];
33560
33583
  allColumns.push({
@@ -33646,7 +33669,7 @@ function createDocumentColumns({
33646
33669
  cellRenderer: DocumentNameCellRenderer,
33647
33670
  cellRendererParams: {
33648
33671
  canEdit: isRowEditableByMember,
33649
- canDelete: (params) => chunkAKR4JN6I_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
33672
+ canDelete: (params) => chunkJCFXS336_cjs.canDeleteDocument(params.data, currentUserExtId, workspaceRole),
33650
33673
  onOpenDocument: handleToggleDocumentViewer,
33651
33674
  onReviewDocument,
33652
33675
  onDocumentChat,
@@ -33678,7 +33701,7 @@ function createDocumentColumns({
33678
33701
  singleClickEdit: true,
33679
33702
  cellEditor: "agSelectCellEditor",
33680
33703
  cellEditorParams: {
33681
- values: [...chunkAKR4JN6I_cjs.DOCUMENT_TYPE_OPTIONS]
33704
+ values: [...chunkJCFXS336_cjs.DOCUMENT_TYPE_OPTIONS]
33682
33705
  },
33683
33706
  context: { icon: lucideReact.Sparkles },
33684
33707
  valueGetter: (params) => ui.getDocumentNature(params.data) || "",
@@ -34216,7 +34239,7 @@ function useDocumentTable({
34216
34239
  }
34217
34240
  const stabilizedTagIds = prevTagIdsRef.current;
34218
34241
  const stabilizedTagNames = prevTagNamesRef.current;
34219
- const defaultVisibleColumns = react.useMemo(() => [...chunkAKR4JN6I_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
34242
+ const defaultVisibleColumns = react.useMemo(() => [...chunkJCFXS336_cjs.DEFAULT_DOCUMENT_COLUMNS], []);
34220
34243
  const confirmRef = react.useRef(confirm);
34221
34244
  confirmRef.current = confirm;
34222
34245
  const shareDocument = react.useCallback(async (docId) => {
@@ -34464,7 +34487,7 @@ function ConnectedFilesBulkActions({
34464
34487
  const actions = react$1.useDocumentHostActions();
34465
34488
  const isOnline = documentTools.useIsOnline();
34466
34489
  const { userId } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
34467
- const { role } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
34490
+ const { role } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
34468
34491
  const offlineIds = react$1.useOfflineDocumentIds();
34469
34492
  const keepOffline = react$1.useKeepDocumentsOffline();
34470
34493
  const removeOffline = react$1.useRemoveDocumentsOffline();
@@ -34473,9 +34496,9 @@ function ConnectedFilesBulkActions({
34473
34496
  const bulk = useDocumentBulkActions(selectedDocuments);
34474
34497
  const count2 = selectedDocuments.length;
34475
34498
  const noun = ui.getEntityLabel("DOCUMENT", count2 === 1 ? "SINGULAR" : "PLURAL");
34476
- const shareState = chunkAKR4JN6I_cjs.shareStateOf(bulk.freshSelectedDocuments);
34499
+ const shareState = chunkJCFXS336_cjs.shareStateOf(bulk.freshSelectedDocuments);
34477
34500
  const canDelete = bulk.freshSelectedDocuments.every(
34478
- (doc) => chunkAKR4JN6I_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
34501
+ (doc) => chunkJCFXS336_cjs.canDeleteDocument(doc, userId ?? void 0, role ?? null)
34479
34502
  );
34480
34503
  const [confirming, setConfirming] = react.useState(null);
34481
34504
  const allOffline = count2 > 0 && selectedDocuments.every((doc) => offlineIds.has(doc.external_id));
@@ -34487,7 +34510,7 @@ function ConnectedFilesBulkActions({
34487
34510
  const { openDocumentsChat, openFieldsManager } = actions;
34488
34511
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
34489
34512
  /* @__PURE__ */ jsxRuntime.jsx(
34490
- chunkAKR4JN6I_cjs.BulkActionsBar,
34513
+ chunkJCFXS336_cjs.BulkActionsBar,
34491
34514
  {
34492
34515
  count: count2,
34493
34516
  onClear: onClearSelection,
@@ -34512,7 +34535,7 @@ function ConnectedFilesBulkActions({
34512
34535
  isOfflinePending: offlinePending,
34513
34536
  onDelete: canDelete ? () => setConfirming("delete") : void 0,
34514
34537
  shareState,
34515
- shareTooltip: chunkAKR4JN6I_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
34538
+ shareTooltip: chunkJCFXS336_cjs.shareTooltipFor(shareState, bulk.freshSelectedDocuments.length === 1),
34516
34539
  onShare: () => void bulk.share()
34517
34540
  }
34518
34541
  ),
@@ -34527,7 +34550,7 @@ function ConnectedFilesBulkActions({
34527
34550
  onClearSelection();
34528
34551
  },
34529
34552
  title: `Delete ${count2} ${noun}`,
34530
- description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT : chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
34553
+ description: `Delete ${namedTargets(selectedDocuments)}? ${count2 === 1 ? chunkJCFXS336_cjs.RECENTLY_DELETED_HINT : chunkJCFXS336_cjs.RECENTLY_DELETED_HINT_PLURAL}`,
34531
34554
  confirmText: "Delete",
34532
34555
  variant: "destructive"
34533
34556
  }
@@ -34775,7 +34798,7 @@ function useAiReviewLiveUpdates() {
34775
34798
  if (message.batch_type !== "doctag_generate") return;
34776
34799
  const docIds = message.doc_ext_ids ?? [];
34777
34800
  if (!docIds.length) return;
34778
- void refreshDocuments(docIds).then(() => chunkMFZW4FEW_cjs.useAiReviewStore.getState().markFinished(docIds));
34801
+ void refreshDocuments(docIds).then(() => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().markFinished(docIds));
34779
34802
  dropQueuedRows(docIds);
34780
34803
  });
34781
34804
  }
@@ -34821,7 +34844,7 @@ function useBatchCompleteToasts() {
34821
34844
  timer.current = null;
34822
34845
  const runs = pending.current;
34823
34846
  pending.current = /* @__PURE__ */ new Map();
34824
- const hasReview = !!chunkMFZW4FEW_cjs.useAiReviewStore.getState().run;
34847
+ const hasReview = !!chunkB5BGVPQ5_cjs.useAiReviewStore.getState().run;
34825
34848
  for (const [id, entry] of runs) {
34826
34849
  const n = entry.docIds.size;
34827
34850
  notify19(
@@ -34834,7 +34857,7 @@ function useBatchCompleteToasts() {
34834
34857
  ...hasReview && {
34835
34858
  action: {
34836
34859
  label: "View results",
34837
- onClick: () => chunkMFZW4FEW_cjs.useAiReviewStore.getState().setOpen(true)
34860
+ onClick: () => chunkB5BGVPQ5_cjs.useAiReviewStore.getState().setOpen(true)
34838
34861
  }
34839
34862
  }
34840
34863
  }
@@ -34842,7 +34865,7 @@ function useBatchCompleteToasts() {
34842
34865
  }
34843
34866
  }, AI_FIELDS_NOTICE_WINDOW_MS);
34844
34867
  } else if (message.batch_type === "entity_extract") {
34845
- say(`${chunkWPUEGDBE_cjs.entitiesPhrase()} extracted from ${chunkWPUEGDBE_cjs.documentCount(docIds.length)}`, "success", {
34868
+ say(`${chunkWUM76MJU_cjs.entitiesPhrase()} extracted from ${chunkWUM76MJU_cjs.documentCount(docIds.length)}`, "success", {
34846
34869
  ...openTags && { action: { label: "View", onClick: openTags } }
34847
34870
  });
34848
34871
  } else if (message.batch_type === "upload") {
@@ -34881,12 +34904,12 @@ function ConnectedMoveToFolder({
34881
34904
  setIsSubmitting(true);
34882
34905
  try {
34883
34906
  if (folderToMove) {
34884
- const docsInFolder = chunkAKR4JN6I_cjs.collectFolderDocs(allDocs, folderToMove.path);
34907
+ const docsInFolder = chunkJCFXS336_cjs.collectFolderDocs(allDocs, folderToMove.path);
34885
34908
  if (docsInFolder.length === 0) {
34886
34909
  onClose();
34887
34910
  return;
34888
34911
  }
34889
- const newPrefixSegments = targetFolder ? [...chunkAKR4JN6I_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
34912
+ const newPrefixSegments = targetFolder ? [...chunkJCFXS336_cjs.parseFolderSegments(targetFolder), folderToMove.name] : [folderToMove.name];
34890
34913
  await renameFolder(docsInFolder, folderToMove.path, newPrefixSegments);
34891
34914
  const dest = targetFolder ? `"${targetFolder}/${folderToMove.name}"` : `"${folderToMove.name}" (root)`;
34892
34915
  notify19(`Moved folder to ${dest}`, "success");
@@ -34911,9 +34934,9 @@ function ConnectedMoveToFolder({
34911
34934
  }
34912
34935
  };
34913
34936
  const isFolderMode = !!folderToMove;
34914
- const folders = chunkOGJCEWME_cjs.useDocumentFolders(allDocs, targetFolder);
34937
+ const folders = chunk4XNP27N4_cjs.useDocumentFolders(allDocs, targetFolder);
34915
34938
  return /* @__PURE__ */ jsxRuntime.jsx(
34916
- chunkAKR4JN6I_cjs.MoveToFolderDialog,
34939
+ chunkJCFXS336_cjs.MoveToFolderDialog,
34917
34940
  {
34918
34941
  open: isOpen,
34919
34942
  onClose,
@@ -34923,7 +34946,7 @@ function ConnectedMoveToFolder({
34923
34946
  isSubmitting,
34924
34947
  onConfirm: handleMove,
34925
34948
  children: /* @__PURE__ */ jsxRuntime.jsx(
34926
- chunkAKR4JN6I_cjs.FolderCommandList,
34949
+ chunkJCFXS336_cjs.FolderCommandList,
34927
34950
  {
34928
34951
  folders,
34929
34952
  value: targetFolder,
@@ -35151,7 +35174,7 @@ function ConnectedBulkTagEditor({
35151
35174
  const isClearing = change?.action === "remove";
35152
35175
  return {
35153
35176
  id: tag.external_id,
35154
- badge: /* @__PURE__ */ jsxRuntime.jsx(chunkJMBAUHI7_cjs.ConnectedTagEntity, { tag, size: "md" }),
35177
+ badge: /* @__PURE__ */ jsxRuntime.jsx(chunkZCQXQIBA_cjs.ConnectedTagEntity, { tag, size: "md" }),
35155
35178
  type: tag.tag_type.type,
35156
35179
  color: ui.getEntityColor(tag.external_id, "medium"),
35157
35180
  options: tag.tag_type.type === "select" ? tag.tag_type.options : void 0,
@@ -35183,7 +35206,7 @@ function ConnectedBulkTagEditor({
35183
35206
  const documentsLabel = ui.getEntityLabel("DOCUMENT", "PLURAL").toLowerCase();
35184
35207
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
35185
35208
  /* @__PURE__ */ jsxRuntime.jsx(
35186
- chunkAKR4JN6I_cjs.BulkTagEditorDialog,
35209
+ chunkJCFXS336_cjs.BulkTagEditorDialog,
35187
35210
  {
35188
35211
  open,
35189
35212
  onClose,
@@ -35241,7 +35264,7 @@ function ConnectedBulkTagEditor({
35241
35264
  }
35242
35265
  ),
35243
35266
  /* @__PURE__ */ jsxRuntime.jsx(
35244
- chunkAKR4JN6I_cjs.BulkReplaceDialog,
35267
+ chunkJCFXS336_cjs.BulkReplaceDialog,
35245
35268
  {
35246
35269
  open: showGenerateConfirmation,
35247
35270
  onClose: () => setShowGenerateConfirmation(false),
@@ -35337,7 +35360,7 @@ function useTableViews(table) {
35337
35360
  function useViewWrites(savedViews, saveView, deleteView, shareView) {
35338
35361
  const { confirm, notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
35339
35362
  const nameOf = react.useCallback(
35340
- (key) => savedViews.find((v) => chunkAKR4JN6I_cjs.viewKey(v) === key)?.name ?? key,
35363
+ (key) => savedViews.find((v) => chunkJCFXS336_cjs.viewKey(v) === key)?.name ?? key,
35341
35364
  [savedViews]
35342
35365
  );
35343
35366
  const onSaveView = react.useCallback(
@@ -35409,7 +35432,7 @@ function ViewSelector({
35409
35432
  columns: defaultColumns,
35410
35433
  icon: lucideReact.Table,
35411
35434
  // Both built-ins load at the minimal (compact) row height.
35412
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35435
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35413
35436
  // [] = loading this view unpins everything.
35414
35437
  pinnedLeft: []
35415
35438
  },
@@ -35420,15 +35443,15 @@ function ViewSelector({
35420
35443
  // batch-select checkbox and Title stay fixed left while scrolling.
35421
35444
  columns: defaultColumns,
35422
35445
  icon: lucideReact.Columns3,
35423
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35446
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35424
35447
  pinnedLeft: DOCUMENT_VIEW_PINNED
35425
35448
  },
35426
35449
  {
35427
35450
  key: "email-default",
35428
35451
  label: "Email view",
35429
- columns: [...chunkAKR4JN6I_cjs.EMAIL_VIEW_COLUMNS],
35452
+ columns: [...chunkJCFXS336_cjs.EMAIL_VIEW_COLUMNS],
35430
35453
  icon: lucideReact.Mail,
35431
- rowHeight: chunkAKR4JN6I_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35454
+ rowHeight: chunkJCFXS336_cjs.DOCUMENTS_ROW_HEIGHT_INITIAL,
35432
35455
  pinnedLeft: []
35433
35456
  }
35434
35457
  ],
@@ -35440,7 +35463,7 @@ function ViewSelector({
35440
35463
  deleteView,
35441
35464
  shareView
35442
35465
  );
35443
- const menu = chunkAKR4JN6I_cjs.useGridViews({
35466
+ const menu = chunkJCFXS336_cjs.useGridViews({
35444
35467
  getGridApi,
35445
35468
  defaultColumns,
35446
35469
  builtins,
@@ -35456,7 +35479,7 @@ function ViewSelector({
35456
35479
  onShareView,
35457
35480
  isSaving
35458
35481
  });
35459
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ViewSelectorMenu, { ...menu });
35482
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ViewSelectorMenu, { ...menu });
35460
35483
  }
35461
35484
  function DocumentsFilterBarActions({
35462
35485
  isModal,
@@ -35496,7 +35519,7 @@ function DocumentsFilterBarActions({
35496
35519
  ),
35497
35520
  documentsViewMode === "grid" && // The phone list is a fixed two-line layout, so row density only applies from sm up.
35498
35521
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "hidden sm:block", children: /* @__PURE__ */ jsxRuntime.jsx(
35499
- chunkAKR4JN6I_cjs.RowDensityControl,
35522
+ chunkJCFXS336_cjs.RowDensityControl,
35500
35523
  {
35501
35524
  rowHeight: documentsRowHeight,
35502
35525
  onRowHeightChange: onDocumentsRowHeightChange
@@ -35593,8 +35616,8 @@ function DocumentsFilterBarActions({
35593
35616
  }
35594
35617
  function PersistedGridView(props) {
35595
35618
  const { persistState, gridId } = props;
35596
- const setGridState = chunkMFZW4FEW_cjs.useFilesGridStates((state) => state.setGridState);
35597
- const gridState = persistState && gridId ? chunkMFZW4FEW_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
35619
+ const setGridState = chunkB5BGVPQ5_cjs.useFilesGridStates((state) => state.setGridState);
35620
+ const gridState = persistState && gridId ? chunkB5BGVPQ5_cjs.useFilesGridStates.getState().gridStates[gridId] : void 0;
35598
35621
  const onGridStateChange = react.useCallback(
35599
35622
  (state) => {
35600
35623
  if (persistState && gridId) setGridState(gridId, state);
@@ -35696,13 +35719,13 @@ var TABLET_TABLE_BELOW = 860;
35696
35719
  var TABLET_VIEWPORT_BELOW = 1100;
35697
35720
  var NO_CONVERSATION_DOCUMENTS2 = [];
35698
35721
  var DocumentReviewCard = react.lazy(
35699
- () => import('../DocumentReviewCard-USFBTVEL.cjs').then((module) => ({ default: module.DocumentReviewCard }))
35722
+ () => import('../DocumentReviewCard-5W2QQWKA.cjs').then((module) => ({ default: module.DocumentReviewCard }))
35700
35723
  );
35701
35724
  var FilesViewerDialog = react.lazy(
35702
- () => import('../FilesViewerDialog-O4CY7GM3.cjs').then((module) => ({ default: module.FilesViewerDialog }))
35725
+ () => import('../FilesViewerDialog-63QUTG4L.cjs').then((module) => ({ default: module.FilesViewerDialog }))
35703
35726
  );
35704
35727
  function defaultReviewCard(props) {
35705
- return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
35728
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, { message: "Loading document viewer..." }), children: /* @__PURE__ */ jsxRuntime.jsx(DocumentReviewCard, { ...props }, `navigator-${props.currentDocument.external_id}`) });
35706
35729
  }
35707
35730
  function ConnectedFilesPage({
35708
35731
  isModal = false,
@@ -35724,7 +35747,7 @@ function ConnectedFilesPage({
35724
35747
  GridComponent = PersistedGridView,
35725
35748
  gridStateVersion,
35726
35749
  onGridApi,
35727
- prefsKey = chunkMFZW4FEW_cjs.FILES_PREFS_KEY,
35750
+ prefsKey = chunkB5BGVPQ5_cjs.FILES_PREFS_KEY,
35728
35751
  defaultViewMode
35729
35752
  }) {
35730
35753
  const { openDocument, openDialog: openDialog2, openProcessing, openTags } = chunk46LX6EQT_cjs.useBlocksEnvironment();
@@ -35745,7 +35768,7 @@ function ConnectedFilesPage({
35745
35768
  const deleteDocuments = react$1.useDeleteDocuments();
35746
35769
  const isDocumentsPending = isLoading && documents.length === 0;
35747
35770
  const { workspaceId, userId, live } = chunkGB5MN5FC_cjs.useConnectedWorkspace();
35748
- const { role, members } = chunkMH7P5FEK_cjs.useConnectedWorkspaceRole();
35771
+ const { role, members } = chunkFCT62ZPE_cjs.useConnectedWorkspaceRole();
35749
35772
  const { data: workspaces } = react$1.useWorkspaces({ enabled: live });
35750
35773
  const workspace = workspaces?.find((w) => w.external_id === workspaceId);
35751
35774
  const workspaceName = workspace?.name;
@@ -35770,8 +35793,8 @@ function ConnectedFilesPage({
35770
35793
  const inConversationDocuments = react$1.useArbiSessionState(
35771
35794
  (s) => s.conversationDocuments[s.conversationId ?? "new"] ?? NO_CONVERSATION_DOCUMENTS2
35772
35795
  );
35773
- const viewMode = chunkMFZW4FEW_cjs.useFilesPrefs((s) => chunkMFZW4FEW_cjs.filesViewMode(s, prefsKey, defaultViewMode));
35774
- const setPrefsViewMode = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.setViewMode);
35796
+ const viewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => chunkB5BGVPQ5_cjs.filesViewMode(s, prefsKey, defaultViewMode));
35797
+ const setPrefsViewMode = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.setViewMode);
35775
35798
  const setViewMode = react.useCallback(
35776
35799
  (mode) => setPrefsViewMode(mode, prefsKey),
35777
35800
  [setPrefsViewMode, prefsKey]
@@ -35801,7 +35824,7 @@ function ConnectedFilesPage({
35801
35824
  shownPlaceRef.current = null;
35802
35825
  if (session.getState().documentViewer.compareId)
35803
35826
  session.setDocumentViewer({ compareId: null });
35804
- if (chunkMFZW4FEW_cjs.filesViewMode(chunkMFZW4FEW_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
35827
+ if (chunkB5BGVPQ5_cjs.filesViewMode(chunkB5BGVPQ5_cjs.useFilesPrefs.getState(), prefsKey, defaultViewMode) !== "navigator")
35805
35828
  session.setViewingDocument(null);
35806
35829
  if (!fromLink) latest.current.onDocumentChange?.(null);
35807
35830
  },
@@ -35890,9 +35913,9 @@ function ConnectedFilesPage({
35890
35913
  else if (linkedPlaceKey !== shownPlaceRef.current) showInDialog(place, true);
35891
35914
  } else if (previous && ownsViewer && shownPlaceRef.current) closeDialog2(true);
35892
35915
  }, [linkedPlaceKey]);
35893
- const rowHeight = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.rowHeight);
35894
- const setRowHeight = chunkMFZW4FEW_cjs.useFilesPrefs((s) => s.setRowHeight);
35895
- const ownGridStates = chunkMFZW4FEW_cjs.useFilesGridStates((s) => s.gridStates);
35916
+ const rowHeight = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.rowHeight);
35917
+ const setRowHeight = chunkB5BGVPQ5_cjs.useFilesPrefs((s) => s.setRowHeight);
35918
+ const ownGridStates = chunkB5BGVPQ5_cjs.useFilesGridStates((s) => s.gridStates);
35896
35919
  const stateVersion = gridStateVersion ?? ownGridStates;
35897
35920
  const [pageEl, setPageEl] = react.useState(null);
35898
35921
  const [isTabletWidth, setIsTabletWidth] = react.useState(false);
@@ -35922,15 +35945,15 @@ function ConnectedFilesPage({
35922
35945
  const [explorerSortReversed, setExplorerSortReversed] = react.useState(false);
35923
35946
  const [explorerTileSize, setExplorerTileSize] = react.useState(TILE_DEFAULT);
35924
35947
  const [urlDialogOpen, setUrlDialogOpen] = react.useState(false);
35925
- const move = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.move);
35926
- const openMove = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.openMove);
35927
- const closeMove = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.closeMove);
35928
- const bulkTagsOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
35929
- const setBulkTagsOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
35930
- const deleteRequest = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.deleteRequest);
35931
- const requestDelete = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.requestDelete);
35932
- const exportOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.exportOpen);
35933
- const setExportOpen = chunkMFZW4FEW_cjs.useFilesDialogs((s) => s.setExportOpen);
35948
+ const move = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.move);
35949
+ const openMove = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.openMove);
35950
+ const closeMove = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.closeMove);
35951
+ const bulkTagsOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.bulkTagsOpen);
35952
+ const setBulkTagsOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.setBulkTagsOpen);
35953
+ const deleteRequest = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.deleteRequest);
35954
+ const requestDelete = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.requestDelete);
35955
+ const exportOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.exportOpen);
35956
+ const setExportOpen = chunkB5BGVPQ5_cjs.useFilesDialogs((s) => s.setExportOpen);
35934
35957
  const openOwnExport = react.useCallback(() => setExportOpen(true), [setExportOpen]);
35935
35958
  const exportItems = react.useMemo(
35936
35959
  () => selectedDocuments.map((doc) => ({
@@ -35973,17 +35996,17 @@ function ConnectedFilesPage({
35973
35996
  const relatedDocsMap = useFilesPageSession(documents, workspaceId);
35974
35997
  const defaultVisibleColumns = react.useMemo(
35975
35998
  () => [
35976
- ...chunkAKR4JN6I_cjs.DEFAULT_DOCUMENT_COLUMNS,
35999
+ ...chunkJCFXS336_cjs.DEFAULT_DOCUMENT_COLUMNS,
35977
36000
  ...allTags.filter(browser.isAnnotationTag).map((tag) => tag.external_id)
35978
36001
  ],
35979
36002
  [allTags]
35980
36003
  );
35981
36004
  const handleReorderColumns = react.useCallback((ids, gridApi2) => {
35982
- if (gridApi2) chunkAKR4JN6I_cjs.applyColumnLayout(gridApi2, ids);
36005
+ if (gridApi2) chunkJCFXS336_cjs.applyColumnLayout(gridApi2, ids);
35983
36006
  }, []);
35984
36007
  const handleLoadView = react.useCallback(
35985
36008
  (view, gridApi2) => {
35986
- chunkAKR4JN6I_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
36009
+ chunkJCFXS336_cjs.applyViewColumns(gridApi2, view, handleReorderColumns);
35987
36010
  if (typeof view.tile_size === "number") setExplorerTileSize(view.tile_size);
35988
36011
  if (typeof view.row_height === "number") setRowHeight(view.row_height);
35989
36012
  },
@@ -36075,7 +36098,7 @@ function ConnectedFilesPage({
36075
36098
  );
36076
36099
  const currentDocument = viewingDocumentId ? filteredDocuments.find((d) => d.external_id === viewingDocumentId) ?? documents.find((d) => d.external_id === viewingDocumentId) ?? null : null;
36077
36100
  const navigatorDocuments = react.useMemo(
36078
- () => chunkAKR4JN6I_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
36101
+ () => chunkJCFXS336_cjs.sortExplorerFiles(filteredDocuments, explorerSort, explorerSortReversed),
36079
36102
  [filteredDocuments, explorerSort, explorerSortReversed]
36080
36103
  );
36081
36104
  const navigatorOnNavigate = react.useCallback(
@@ -36145,7 +36168,7 @@ function ConnectedFilesPage({
36145
36168
  },
36146
36169
  rowHeight
36147
36170
  };
36148
- const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesFilterBar, { children: [
36171
+ const documentsTabActions = /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesFilterBar, { children: [
36149
36172
  /* @__PURE__ */ jsxRuntime.jsx(
36150
36173
  chunk6UZC4XVV_cjs.FilterInput,
36151
36174
  {
@@ -36180,7 +36203,7 @@ function ConnectedFilesPage({
36180
36203
  ),
36181
36204
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-2", children: [
36182
36205
  /* @__PURE__ */ jsxRuntime.jsx(
36183
- chunkAKR4JN6I_cjs.DocumentsFolderButton,
36206
+ chunkJCFXS336_cjs.DocumentsFolderButton,
36184
36207
  {
36185
36208
  documents,
36186
36209
  documentFilters,
@@ -36188,7 +36211,7 @@ function ConnectedFilesPage({
36188
36211
  onNewFolder: canUpload ? handleNewFolder : void 0
36189
36212
  }
36190
36213
  ),
36191
- openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesTagsButton, { onClick: openTags }),
36214
+ openTags && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesTagsButton, { onClick: openTags }),
36192
36215
  workspaceId && /* @__PURE__ */ jsxRuntime.jsx(ConnectedRecentlyDeletedButton, { workspaceExtId: workspaceId })
36193
36216
  ] })
36194
36217
  ] });
@@ -36211,9 +36234,9 @@ function ConnectedFilesPage({
36211
36234
  );
36212
36235
  const reviewGridId = isModal ? "documents-modal-grid-v6" : "documents-main-grid-v6";
36213
36236
  const showBulkBar = (viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator") && documents.length > 0;
36214
- return /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPage, { isModal, ref: setPageEl, children: [
36237
+ return /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPage, { isModal, ref: setPageEl, children: [
36215
36238
  /* @__PURE__ */ jsxRuntime.jsx(
36216
- chunkAKR4JN6I_cjs.UrlInputDialog,
36239
+ chunkJCFXS336_cjs.UrlInputDialog,
36217
36240
  {
36218
36241
  open: urlDialogOpen,
36219
36242
  onOpenChange: setUrlDialogOpen,
@@ -36222,7 +36245,7 @@ function ConnectedFilesPage({
36222
36245
  titleIcon: workspace && /* @__PURE__ */ jsxRuntime.jsx(ConnectedWorkspaceEntity, { workspace, size: 24, variant: "icon" })
36223
36246
  }
36224
36247
  ),
36225
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPageHeader, { children: [
36248
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPageHeader, { children: [
36226
36249
  /* @__PURE__ */ jsxRuntime.jsx(
36227
36250
  chunkSJSGSHIT_cjs.TabHeader,
36228
36251
  {
@@ -36243,7 +36266,7 @@ function ConnectedFilesPage({
36243
36266
  activeTabId: "documents",
36244
36267
  onTabChange: () => handleViewModeChange(lastDocsViewRef.current),
36245
36268
  firstTabContent: isNarrowFilterRow ? null : documentsTabActions,
36246
- centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
36269
+ centerContent: /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesViewCenter, { className: isNarrowFilterRow ? "min-w-0" : void 0, children: [
36247
36270
  !isNarrowFilterRow && viewToggle,
36248
36271
  /* @__PURE__ */ jsxRuntime.jsx(ProgressiveLoadingChip, {})
36249
36272
  ] }),
@@ -36273,14 +36296,14 @@ function ConnectedFilesPage({
36273
36296
  }
36274
36297
  ),
36275
36298
  /* @__PURE__ */ jsxRuntime.jsx(
36276
- chunkAKR4JN6I_cjs.FilesToolbar,
36299
+ chunkJCFXS336_cjs.FilesToolbar,
36277
36300
  {
36278
36301
  className: "px-3 pb-2",
36279
36302
  rightActions: viewMode === "grid" || viewMode === "explorer" || viewMode === "navigator" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
36280
36303
  viewMode === "grid" ? (
36281
36304
  // ‹ n / N › over the table's displayed rows; a step opens the document.
36282
36305
  /* @__PURE__ */ jsxRuntime.jsx(
36283
- chunkWPUEGDBE_cjs.GridRowNavigator,
36306
+ chunkWUM76MJU_cjs.GridRowNavigator,
36284
36307
  {
36285
36308
  gridApi,
36286
36309
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -36295,7 +36318,7 @@ function ConnectedFilesPage({
36295
36318
  ) : viewMode === "explorer" ? (
36296
36319
  // The same over the explorer's tiles.
36297
36320
  /* @__PURE__ */ jsxRuntime.jsx(
36298
- chunkAKR4JN6I_cjs.ExplorerFileNavigator,
36321
+ chunkJCFXS336_cjs.ExplorerFileNavigator,
36299
36322
  {
36300
36323
  fileIds: explorerFileIds,
36301
36324
  selectedId: viewingDocumentId ?? selectedDocumentIds[0] ?? null,
@@ -36334,7 +36357,7 @@ function ConnectedFilesPage({
36334
36357
  }
36335
36358
  ),
36336
36359
  viewMode === "navigator" && currentDocument && /* @__PURE__ */ jsxRuntime.jsx(
36337
- chunkAKR4JN6I_cjs.NavigatorPickerBar,
36360
+ chunkJCFXS336_cjs.NavigatorPickerBar,
36338
36361
  {
36339
36362
  currentDocument,
36340
36363
  documents: navigatorDocuments,
@@ -36361,11 +36384,11 @@ function ConnectedFilesPage({
36361
36384
  }
36362
36385
  }
36363
36386
  ) }),
36364
- /* @__PURE__ */ jsxRuntime.jsxs(chunkAKR4JN6I_cjs.FilesPageMain, { children: [
36387
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkJCFXS336_cjs.FilesPageMain, { children: [
36365
36388
  viewMode === "grid" && /* @__PURE__ */ jsxRuntime.jsx(
36366
- chunkAKR4JN6I_cjs.DocumentGrid,
36389
+ chunkJCFXS336_cjs.DocumentGrid,
36367
36390
  {
36368
- layout: chunkAKR4JN6I_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
36391
+ layout: chunkJCFXS336_cjs.resolveDocumentGridLayout(isNarrowFilterRow, isModal, isTabletWidth),
36369
36392
  presets: gridPresets,
36370
36393
  GridComponent,
36371
36394
  showEmptyWorkspace: documents.length === 0 && !isLoading && isMember,
@@ -36459,7 +36482,7 @@ function ConnectedFilesPage({
36459
36482
  onProduce: () => openDialog2("productionSet")
36460
36483
  }
36461
36484
  ),
36462
- isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
36485
+ isModal && onClose && /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.FilesModalFooter, { children: /* @__PURE__ */ jsxRuntime.jsx(ui.Button, { variant: "outline", onClick: onClose, children: "Close" }) }),
36463
36486
  /* @__PURE__ */ jsxRuntime.jsx(
36464
36487
  chunkK67VMSOX_cjs.ConfirmDialog,
36465
36488
  {
@@ -36470,7 +36493,7 @@ function ConnectedFilesPage({
36470
36493
  requestDelete(null);
36471
36494
  },
36472
36495
  title: "Delete Document",
36473
- description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkAKR4JN6I_cjs.RECENTLY_DELETED_HINT}` : "",
36496
+ description: deleteRequest ? `Delete "${ui.getDocumentTitle(deleteRequest, "this document")}"? ${chunkJCFXS336_cjs.RECENTLY_DELETED_HINT}` : "",
36474
36497
  confirmText: "Delete",
36475
36498
  variant: "destructive"
36476
36499
  }
@@ -36546,8 +36569,8 @@ function ConnectedFilesPage({
36546
36569
  }
36547
36570
  var NO_DOCUMENTS3 = [];
36548
36571
  function ConnectedAiReviewHost(props) {
36549
- const open = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.open);
36550
- const setOpen = chunkMFZW4FEW_cjs.useAiReviewStore((s) => s.setOpen);
36572
+ const open = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.open);
36573
+ const setOpen = chunkB5BGVPQ5_cjs.useAiReviewStore((s) => s.setOpen);
36551
36574
  return /* @__PURE__ */ jsxRuntime.jsx(ConnectedAiReview, { open, onOpenChange: setOpen, ...props });
36552
36575
  }
36553
36576
  function ConnectedGridView(props) {
@@ -36583,7 +36606,7 @@ function ProcessingSection({
36583
36606
  tasks,
36584
36607
  onDelete
36585
36608
  }) {
36586
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
36609
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.TaskSection, { title, count: count2, status, tooltip: SECTION_TOOLTIPS[status], children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.UploadTaskList, { tasks, title: "", onDelete, renderFileIcon: renderFileIcon2 }) });
36587
36610
  }
36588
36611
  function ConnectedDocumentProcessingPanel({
36589
36612
  workspaceId,
@@ -36939,7 +36962,7 @@ var MENU_LABELS = {
36939
36962
  };
36940
36963
  function applyDatabaseColumns(columns, api) {
36941
36964
  const kept = (id) => api.getColumn(id) ? [id] : [];
36942
- chunkAKR4JN6I_cjs.applyColumnLayout(api, [...kept(chunkQ25CZLK6_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkQ25CZLK6_cjs.ADD_COLUMN_COL_ID)]);
36965
+ chunkJCFXS336_cjs.applyColumnLayout(api, [...kept(chunkQ25CZLK6_cjs.OPEN_ROW_COL_ID), ...columns, ...kept(chunkQ25CZLK6_cjs.ADD_COLUMN_COL_ID)]);
36943
36966
  }
36944
36967
  function DatabaseViewsMenu({
36945
36968
  databaseId,
@@ -36960,7 +36983,7 @@ function DatabaseViewsMenu({
36960
36983
  );
36961
36984
  const onLoadView = react.useCallback(
36962
36985
  (view, api) => {
36963
- chunkAKR4JN6I_cjs.applyViewColumns(api, view, applyDatabaseColumns);
36986
+ chunkJCFXS336_cjs.applyViewColumns(api, view, applyDatabaseColumns);
36964
36987
  onFiltersChange([...view.filters ?? []]);
36965
36988
  },
36966
36989
  [onFiltersChange]
@@ -36971,7 +36994,7 @@ function DatabaseViewsMenu({
36971
36994
  deleteView,
36972
36995
  shareView
36973
36996
  );
36974
- const menu = chunkAKR4JN6I_cjs.useGridViews({
36997
+ const menu = chunkJCFXS336_cjs.useGridViews({
36975
36998
  getGridApi,
36976
36999
  defaultColumns,
36977
37000
  builtins,
@@ -36986,7 +37009,7 @@ function DatabaseViewsMenu({
36986
37009
  onShareView,
36987
37010
  isSaving
36988
37011
  });
36989
- return /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
37012
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.ViewSelectorMenu, { ...menu, labels: MENU_LABELS });
36990
37013
  }
36991
37014
  function useMoveLocalViews(gridId, ready, importViews) {
36992
37015
  const localViews = react$1.useArbiSessionState((state) => state.grid.savedViews[gridId]);
@@ -38812,10 +38835,10 @@ var FreshChatModel = () => (useFreshChatModel(), null);
38812
38835
  var WorkspaceOpenMetrics = ({ measure }) => (useWorkspaceOpenMetrics(measure), null);
38813
38836
  var Prefetch = ({ loaders }) => (usePrefetchChunks(loaders), null);
38814
38837
  function GuidedRuns() {
38815
- chunk6WWYH66F_cjs.useRemoteControlSessionReset();
38838
+ chunkZ3N32LL4_cjs.useRemoteControlSessionReset();
38816
38839
  const { cursorMark } = chunkNZNBJF3M_cjs.useGuidedRuns();
38817
38840
  return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
38818
- /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.GuidedCursor, { markSrc: cursorMark }),
38841
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.GuidedCursor, { markSrc: cursorMark }),
38819
38842
  /* @__PURE__ */ jsxRuntime.jsx(ConnectedRemoteControlConsent, {})
38820
38843
  ] });
38821
38844
  }
@@ -38849,7 +38872,7 @@ function ConnectedAppRuntime({
38849
38872
  on("pageTransition") && /* @__PURE__ */ jsxRuntime.jsx(PageTransition, {}),
38850
38873
  on("freshChatModel") && /* @__PURE__ */ jsxRuntime.jsx(FreshChatModel, {}),
38851
38874
  on("workspaceOpenMetrics") && measure && /* @__PURE__ */ jsxRuntime.jsx(WorkspaceOpenMetrics, { measure }),
38852
- on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkWPUEGDBE_cjs.KIT_CHUNK_LOADERS] }),
38875
+ on("prefetch") && /* @__PURE__ */ jsxRuntime.jsx(Prefetch, { loaders: [...prefetch ?? [], ...chunkWUM76MJU_cjs.KIT_CHUNK_LOADERS] }),
38853
38876
  on("guidedRuns") && /* @__PURE__ */ jsxRuntime.jsx(GuidedRuns, {})
38854
38877
  ] });
38855
38878
  }
@@ -39314,7 +39337,7 @@ async function renderAnnotatedScreenshot(image, marks, text) {
39314
39337
  )
39315
39338
  );
39316
39339
  }
39317
- return chunk6WWYH66F_cjs.canvasToBlob(canvas);
39340
+ return chunkZ3N32LL4_cjs.canvasToBlob(canvas);
39318
39341
  }
39319
39342
  function ReportProblemDialog({
39320
39343
  open,
@@ -39608,7 +39631,7 @@ function ReportProblemDialog({
39608
39631
  hidden: ticketId !== null,
39609
39632
  children: [
39610
39633
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "No screenshot attached." }),
39611
- chunk6WWYH66F_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
39634
+ chunkZ3N32LL4_cjs.canCaptureScreen() ? /* @__PURE__ */ jsxRuntime.jsxs(ui.Button, { size: "sm", variant: "outline", onClick: onRetake, "data-testid": "report-retake", children: [
39612
39635
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Camera, { className: "mr-1 size-4" }),
39613
39636
  " Take a screenshot"
39614
39637
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "inline-flex cursor-pointer items-center gap-1 font-medium text-primary", children: [
@@ -39672,10 +39695,10 @@ function useReportProblem(options = {}) {
39672
39695
  setPhase("capturing");
39673
39696
  await new Promise((resolve) => window.setTimeout(resolve, 200));
39674
39697
  try {
39675
- setFrame(await chunk6WWYH66F_cjs.captureCurrentTab());
39698
+ setFrame(await chunkZ3N32LL4_cjs.captureCurrentTab());
39676
39699
  setImage(null);
39677
39700
  } catch (error) {
39678
- const code = error instanceof chunk6WWYH66F_cjs.ScreenCaptureError ? error.code : "failed";
39701
+ const code = error instanceof chunkZ3N32LL4_cjs.ScreenCaptureError ? error.code : "failed";
39679
39702
  if (code === "failed") {
39680
39703
  notify19("Couldn't capture the screen. You can still describe the problem.", "error");
39681
39704
  }
@@ -40615,7 +40638,7 @@ function resolveLaunchInputs(workflow, request) {
40615
40638
  function useWorkflowLaunch() {
40616
40639
  const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
40617
40640
  const launch = react.useCallback(
40618
- (workflowId, options = {}) => chunkH7AI54V2_cjs.openWorkflowLaunch({ workflowId, ...options }),
40641
+ (workflowId, options = {}) => chunkCVVQHFLR_cjs.openWorkflowLaunch({ workflowId, ...options }),
40619
40642
  []
40620
40643
  );
40621
40644
  const itemsFor = react.useCallback(
@@ -40644,8 +40667,8 @@ function useWorkflowLaunch() {
40644
40667
  return { launch, itemsFor, scopeItemsFor };
40645
40668
  }
40646
40669
  function Inner() {
40647
- const request = chunkH7AI54V2_cjs.useWorkflowLaunchRequest();
40648
- const close = chunkH7AI54V2_cjs.closeWorkflowLaunch;
40670
+ const request = chunkCVVQHFLR_cjs.useWorkflowLaunchRequest();
40671
+ const close = chunkCVVQHFLR_cjs.closeWorkflowLaunch;
40649
40672
  const { skills } = chunkV27WLYTG_cjs.useWorkflowDefinitions();
40650
40673
  const run = chunkQKCFV36K_cjs.useLaunchWorkflow({ landing: request?.landing });
40651
40674
  const workflow = skills.find((w) => w.id === request?.workflowId);
@@ -40683,7 +40706,7 @@ function Inner() {
40683
40706
  );
40684
40707
  }
40685
40708
  function WorkflowLaunchHost() {
40686
- return chunkH7AI54V2_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
40709
+ return chunkCVVQHFLR_cjs.useWorkflowLaunchRequest() ? /* @__PURE__ */ jsxRuntime.jsx(Inner, {}) : null;
40687
40710
  }
40688
40711
  function isNeedsConfirmationDetail(detail) {
40689
40712
  return typeof detail === "object" && detail !== null && detail.needs_confirmation === "resource_private";
@@ -40988,7 +41011,7 @@ function ConnectedConversationSettings() {
40988
41011
  /* @__PURE__ */ jsxRuntime.jsx(
40989
41012
  chunkDUNXLT63_cjs.ModelSelectionSection,
40990
41013
  {
40991
- selector: /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, {}),
41014
+ selector: /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, {}),
40992
41015
  onUseDefaults: settings.resetToDefaults
40993
41016
  }
40994
41017
  )
@@ -41094,7 +41117,7 @@ var BUILTIN_GLOBAL_DIALOGS = {
41094
41117
  testId: "workspace-transfer-modal"
41095
41118
  }
41096
41119
  ),
41097
- logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
41120
+ logout: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedLogoutDialog, { open: props !== null, onClose }),
41098
41121
  conversationSettings: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedConversationSettingsDialog, { open: props !== null, onClose }),
41099
41122
  unarchiveWorkspace: ({ props, onClose }) => /* @__PURE__ */ jsxRuntime.jsx(ConnectedUnarchiveWorkspaceDialog, { workspaceId: props?.workspaceId ?? null, onClose }),
41100
41123
  productionSet: ConnectedProductionSetDialog,
@@ -41175,7 +41198,7 @@ function WorkflowRunStatusCell({ conversation }) {
41175
41198
  return person ? ui.getUserDisplayName(person) : void 0;
41176
41199
  };
41177
41200
  return /* @__PURE__ */ jsxRuntime.jsx(
41178
- chunkH7AI54V2_cjs.WorkflowRunStatus,
41201
+ chunkCVVQHFLR_cjs.WorkflowRunStatus,
41179
41202
  {
41180
41203
  steps,
41181
41204
  states,
@@ -41209,7 +41232,7 @@ function ConversationStatusCell({ conversation }) {
41209
41232
  if (conversation.plan?.steps?.length && !isLiveGenerating)
41210
41233
  return /* @__PURE__ */ jsxRuntime.jsx(WorkflowRunStatusCell, { conversation });
41211
41234
  return /* @__PURE__ */ jsxRuntime.jsx(
41212
- chunkH7AI54V2_cjs.ThreadStatusLine,
41235
+ chunkCVVQHFLR_cjs.ThreadStatusLine,
41213
41236
  {
41214
41237
  state: threadStateOf(conversation, isLiveGenerating),
41215
41238
  className: "h-full",
@@ -41478,7 +41501,7 @@ function useThreadLabels(canEditShared) {
41478
41501
  return {
41479
41502
  labelText: (row2) => labels.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
41480
41503
  renderLabels: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
41481
- chunkAKR4JN6I_cjs.LabelMultiSelectView,
41504
+ chunkJCFXS336_cjs.LabelMultiSelectView,
41482
41505
  {
41483
41506
  options,
41484
41507
  appliedIds: new Set(row2.label_ext_ids ?? []),
@@ -41497,7 +41520,7 @@ function useThreadLabels(canEditShared) {
41497
41520
  ).map((label) => label.id)
41498
41521
  );
41499
41522
  return /* @__PURE__ */ jsxRuntime.jsx(
41500
- chunkAKR4JN6I_cjs.BulkLabelSelectView,
41523
+ chunkJCFXS336_cjs.BulkLabelSelectView,
41501
41524
  {
41502
41525
  options,
41503
41526
  appliedIds: all,
@@ -41528,7 +41551,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
41528
41551
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkVHD5DZW4_cjs.ComposerDock, { children: [
41529
41552
  slashWorkflows.launcher,
41530
41553
  /* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerContainer, { className: "mx-auto max-w-[49rem] px-3 sm:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
41531
- chunk6WWYH66F_cjs.ConversationComposer,
41554
+ chunkZ3N32LL4_cjs.ConversationComposer,
41532
41555
  {
41533
41556
  value: draft,
41534
41557
  onValueChange: setDraft,
@@ -41537,7 +41560,7 @@ function ConnectedThreadLauncher({ autoFocus }) {
41537
41560
  isConversationEmpty: true,
41538
41561
  shouldOfferFollowUp: false,
41539
41562
  skills,
41540
- modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedModelSelector, { variant: "compact" }),
41563
+ modelSelector: /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedModelSelector, { variant: "compact" }),
41541
41564
  rightButton: /* @__PURE__ */ jsxRuntime.jsx(chunkVHD5DZW4_cjs.ComposerSend, { onSend: send, disabled: !draft.trim() })
41542
41565
  }
41543
41566
  ) })
@@ -41668,7 +41691,7 @@ function AgentBarShell({
41668
41691
  }, [isStepsExpanded, steps]);
41669
41692
  const visibleStepCount = react.useMemo(() => browser.topLevelAgentSteps(steps ?? []).length, [steps]);
41670
41693
  return /* @__PURE__ */ jsxRuntime.jsx(
41671
- chunkH7AI54V2_cjs.AgentBar,
41694
+ chunkCVVQHFLR_cjs.AgentBar,
41672
41695
  {
41673
41696
  className,
41674
41697
  testId,
@@ -41680,7 +41703,7 @@ function AgentBarShell({
41680
41703
  drawerRef: scrollRef,
41681
41704
  onDrawerScroll: handleDrawerScroll,
41682
41705
  drawer: /* @__PURE__ */ jsxRuntime.jsx(
41683
- chunk6WWYH66F_cjs.AgentSteps,
41706
+ chunkZ3N32LL4_cjs.AgentSteps,
41684
41707
  {
41685
41708
  steps: stepList,
41686
41709
  isStreaming,
@@ -41732,7 +41755,7 @@ function AgentControlBar({
41732
41755
  const waitingOnChildren = runningLanes.length > 0 && ["sub_agent", "spawn_subagent", "deep_research", "run_skill"].includes(currentTool ?? "");
41733
41756
  const waitingLabel = runningLanes.length === 1 ? `Waiting on ${runningLanes[0].job}` : `Waiting on ${runningLanes.length} sub-agents`;
41734
41757
  const liveTimerNode = liveTimer && /* @__PURE__ */ jsxRuntime.jsx(
41735
- chunk6WWYH66F_cjs.MessageLiveSeconds,
41758
+ chunkZ3N32LL4_cjs.MessageLiveSeconds,
41736
41759
  {
41737
41760
  ...liveTimer,
41738
41761
  offsetSeconds: currentStep?.t ?? 0,
@@ -41741,7 +41764,7 @@ function AgentControlBar({
41741
41764
  }
41742
41765
  );
41743
41766
  const status = /* @__PURE__ */ jsxRuntime.jsx(
41744
- chunkH7AI54V2_cjs.AgentBarStatus,
41767
+ chunkCVVQHFLR_cjs.AgentBarStatus,
41745
41768
  {
41746
41769
  state: showState ? controlState : void 0,
41747
41770
  stateLabel: STATE_LABEL[controlState],
@@ -41783,7 +41806,7 @@ function AgentControlBar({
41783
41806
  ];
41784
41807
  const controls = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
41785
41808
  onStop && /* @__PURE__ */ jsxRuntime.jsx(
41786
- chunkH7AI54V2_cjs.AgentBarIconButton,
41809
+ chunkCVVQHFLR_cjs.AgentBarIconButton,
41787
41810
  {
41788
41811
  onClick: onStop,
41789
41812
  title: "Stop",
@@ -41792,22 +41815,22 @@ function AgentControlBar({
41792
41815
  children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Square, { className: "h-3 w-3", fill: "currentColor" })
41793
41816
  }
41794
41817
  ),
41795
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentBarMenu, { items: menuItems })
41818
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentBarMenu, { items: menuItems })
41796
41819
  ] });
41797
41820
  const displayedQueuedMessages = (transientQueuedMessages ?? []).filter(
41798
41821
  (message) => !message.serverId || !queuedMessages.some((queued) => queued.external_id === message.serverId)
41799
41822
  );
41800
41823
  const queuedNotes = displayedQueuedMessages.filter((message) => message.content);
41801
- const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.AgentBarNotes, { children: [
41824
+ const below = probeAnswer || queuedNotes.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.AgentBarNotes, { children: [
41802
41825
  queuedNotes.map((message, index) => /* @__PURE__ */ jsxRuntime.jsx(
41803
- chunkH7AI54V2_cjs.AgentBarQueuedNote,
41826
+ chunkCVVQHFLR_cjs.AgentBarQueuedNote,
41804
41827
  {
41805
41828
  text: message.content ?? "",
41806
41829
  isAcknowledged: message.acknowledged
41807
41830
  },
41808
41831
  index
41809
41832
  )),
41810
- probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
41833
+ probeAnswer && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.AgentBarProbeAnswer, { answer: probeAnswer.answer })
41811
41834
  ] }) : null;
41812
41835
  return /* @__PURE__ */ jsxRuntime.jsx(
41813
41836
  AgentBarShell,
@@ -41957,7 +41980,7 @@ function ConnectedConversationEmpty({
41957
41980
  compactLeadingAction: onImportFromEmail && /* @__PURE__ */ jsxRuntime.jsx(AddFromAccountsButton, { onImportFromEmail })
41958
41981
  }
41959
41982
  ),
41960
- /* @__PURE__ */ jsxRuntime.jsx(chunkAKR4JN6I_cjs.PrivacyExplainerModal, {})
41983
+ /* @__PURE__ */ jsxRuntime.jsx(chunkJCFXS336_cjs.PrivacyExplainerModal, {})
41961
41984
  ] })
41962
41985
  }
41963
41986
  );
@@ -42922,7 +42945,7 @@ function ConversationThread({
42922
42945
  useStartRequestedDraft();
42923
42946
  const orphanedMessage = react$1.getOrphanedLastMessage(messageHistory, isGenerating, assistantMode);
42924
42947
  return /* @__PURE__ */ jsxRuntime.jsxs(chunkKLMNCBLY_cjs.ConversationBody, { children: [
42925
- /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3GQQUR27_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
42948
+ /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationMain, { "data-testid": `conversation-${currentConversationId}`, children: threadsLoading ? /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationLoading, {}) : messageHistory.length > 0 || isBranching ? /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.AskAgainContext.Provider, { value: handleAskAgain, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3GQQUR27_cjs.TranscriptRunsContext.Provider, { value: transcriptRunInfo, children: [
42926
42949
  meetingCallExtId && transcriptLineCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex justify-center py-2", children: /* @__PURE__ */ jsxRuntime.jsx(
42927
42950
  chunkZBP4ZSAJ_cjs.ConversationFilter,
42928
42951
  {
@@ -42940,7 +42963,7 @@ function ConversationThread({
42940
42963
  ]
42941
42964
  }
42942
42965
  ) }),
42943
- /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
42966
+ /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedMessageArea, { ref: containerRef, messages: visibleMessages }),
42944
42967
  showProvisional && /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
42945
42968
  ] }) }) : meetingCallExtId ? (
42946
42969
  // A meeting thread with nothing yet: call-aware, not the upload prompt.
@@ -42948,7 +42971,7 @@ function ConversationThread({
42948
42971
  /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.CallConversationEmpty, { callExtId: meetingCallExtId }),
42949
42972
  /* @__PURE__ */ jsxRuntime.jsx(chunkNNZFZYTI_cjs.ProvisionalSpeakers, { ids: provisionalSpeakers })
42950
42973
  ] })
42951
- ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunk6WWYH66F_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
42974
+ ) : currentTask && currentTask.status != null ? /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.TaskEmptyState, { task: currentTask }) : pendingFirstTurn && isGenerating ? /* @__PURE__ */ jsxRuntime.jsx(chunkZ3N32LL4_cjs.ConnectedMessageArea, { ref: containerRef, messages: pendingFirstTurn }) : /* @__PURE__ */ jsxRuntime.jsx(
42952
42975
  ConnectedConversationEmpty,
42953
42976
  {
42954
42977
  hasDocuments: allWorkspaceDocuments.length > 0,
@@ -43046,7 +43069,7 @@ function ConversationThread({
43046
43069
  }
43047
43070
  ),
43048
43071
  /* @__PURE__ */ jsxRuntime.jsx(
43049
- chunk6WWYH66F_cjs.ConversationComposer,
43072
+ chunkZ3N32LL4_cjs.ConversationComposer,
43050
43073
  {
43051
43074
  handleSendMessage: handleUserSend,
43052
43075
  placeholder: pendingAnswer ? assistant.answerPlaceholder : void 0,
@@ -43388,7 +43411,7 @@ function ConnectedThreadsPage({
43388
43411
  };
43389
43412
  const page = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col", "data-testid": "threads-page", children: [
43390
43413
  /* @__PURE__ */ jsxRuntime.jsx("main", { className: "flex min-h-0 flex-1 flex-col bg-background", children: /* @__PURE__ */ jsxRuntime.jsx(
43391
- chunkH7AI54V2_cjs.ConversationListView,
43414
+ chunkCVVQHFLR_cjs.ConversationListView,
43392
43415
  {
43393
43416
  showHeader,
43394
43417
  conversations: tasks,
@@ -43407,7 +43430,7 @@ function ConnectedThreadsPage({
43407
43430
  renderLabels: threadLabels.renderLabels,
43408
43431
  labelText: threadLabels.labelText,
43409
43432
  renderBy: (row2) => /* @__PURE__ */ jsxRuntime.jsx(
43410
- chunkH7AI54V2_cjs.ConversationTurnSpeaker,
43433
+ chunkCVVQHFLR_cjs.ConversationTurnSpeaker,
43411
43434
  {
43412
43435
  variant: "icon",
43413
43436
  role: row2.last_message_role,
@@ -43794,7 +43817,7 @@ function ConnectedChatDocumentsTab({
43794
43817
  testId: `document-hover-toggle-${doc.external_id}`
43795
43818
  },
43796
43819
  status: /* @__PURE__ */ jsxRuntime.jsx(
43797
- chunkAKR4JN6I_cjs.DocStatusIcon,
43820
+ chunkJCFXS336_cjs.DocStatusIcon,
43798
43821
  {
43799
43822
  status: doc.status,
43800
43823
  onClick: onStatusClick,
@@ -44288,7 +44311,7 @@ function ConnectedConversationPage({
44288
44311
  );
44289
44312
  const { data: workspaceTags = [] } = react$1.useTags();
44290
44313
  const { tagId: threadTagId, clear: clearThreadTag } = useThreadTagFilter();
44291
- const historyCount = chunkH7AI54V2_cjs.filterConversationRows(
44314
+ const historyCount = chunkCVVQHFLR_cjs.filterConversationRows(
44292
44315
  threadTagId ? conversations.filter((row2) => row2.label_ext_ids?.includes(threadTagId)) : conversations,
44293
44316
  threadFilter,
44294
44317
  (row2) => workspaceTags.filter((tag) => row2.label_ext_ids?.includes(tag.external_id)).map((tag) => tag.name).join(" "),
@@ -44370,7 +44393,7 @@ function ConnectedConversationPage({
44370
44393
  ] })
44371
44394
  }
44372
44395
  ),
44373
- isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkPJTKXKDS_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
44396
+ isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunk4I2PCP7O_cjs.ConnectedThreadTaskBar, { conversationId: currentConversationId })
44374
44397
  ] }),
44375
44398
  isInChat && /* @__PURE__ */ jsxRuntime.jsx(
44376
44399
  ConversationThread,
@@ -44400,7 +44423,7 @@ function ConnectedConversationPage({
44400
44423
  !isInChat && /* @__PURE__ */ jsxRuntime.jsx(chunkKLMNCBLY_cjs.ConversationHistoryPane, { children: searchEnabled && semanticSearchOpen ? /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false, search: true, ResultsBoundary }) : /* @__PURE__ */ jsxRuntime.jsx(ConnectedThreadsPage, { showHeader: false }) })
44401
44424
  ] }),
44402
44425
  /* @__PURE__ */ jsxRuntime.jsx(
44403
- chunkAKR4JN6I_cjs.UrlInputDialog,
44426
+ chunkJCFXS336_cjs.UrlInputDialog,
44404
44427
  {
44405
44428
  open: urlDialogOpen,
44406
44429
  onOpenChange: setUrlDialogOpen,
@@ -44579,7 +44602,7 @@ function SsoResendVerificationButton({
44579
44602
  onClick: async () => handleResendEmailVerification(),
44580
44603
  disabled: loading || disabled,
44581
44604
  "aria-label": "Resend verification email",
44582
- children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkWPUEGDBE_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
44605
+ children: loading ? /* @__PURE__ */ jsxRuntime.jsx(chunkWUM76MJU_cjs.LoadingIndicator, {}) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
44583
44606
  "Didn't get a verification email? ",
44584
44607
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: "Resend" })
44585
44608
  ] })
@@ -44590,9 +44613,9 @@ function SsoResendVerificationButton({
44590
44613
  }
44591
44614
  var NO_RECOVERY_KEY_WARNING = "Without your password or a recovery key, we cannot recover your account or data.";
44592
44615
  function ConnectedSsoCallback() {
44593
- const sso = chunk6WWYH66F_cjs.useSsoSignIn();
44616
+ const sso = chunkZ3N32LL4_cjs.useSsoSignIn();
44594
44617
  const { isAuthenticated: isAuthenticated2, isLoading, user } = sso;
44595
- const auth = chunk6WWYH66F_cjs.useAuthPages();
44618
+ const auth = chunkZ3N32LL4_cjs.useAuthPages();
44596
44619
  const { notify: notify19, navigate } = chunk46LX6EQT_cjs.useBlocksEnvironment();
44597
44620
  const passwordRules = auth.passwordRules;
44598
44621
  const isProcessing = react.useRef(false);
@@ -44600,7 +44623,7 @@ function ConnectedSsoCallback() {
44600
44623
  const [statusAttempt, setStatusAttempt] = react.useState(0);
44601
44624
  const [accessToken, setAccessToken] = react.useState(null);
44602
44625
  const [ssoStatus, setSsoStatus] = react.useState(null);
44603
- const ssoName = react.useMemo(() => chunk6WWYH66F_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
44626
+ const ssoName = react.useMemo(() => chunkZ3N32LL4_cjs.resolveSsoName(user ?? {}, ssoStatus ?? {}), [user, ssoStatus]);
44604
44627
  const [password, setPassword] = react.useState("");
44605
44628
  const [confirmPassword, setConfirmPassword] = react.useState("");
44606
44629
  const [error, setError] = react.useState(null);
@@ -44778,7 +44801,7 @@ function ConnectedSsoCallback() {
44778
44801
  setIsCheckingStatus(true);
44779
44802
  try {
44780
44803
  console.info("[SSO] Checking user status...");
44781
- const response = await chunk6WWYH66F_cjs.ssoAccountStatus(arbi, accessToken, user);
44804
+ const response = await chunkZ3N32LL4_cjs.ssoAccountStatus(arbi, accessToken, user);
44782
44805
  console.info("[SSO] User status:", response.status);
44783
44806
  setSsoStatus(response);
44784
44807
  } catch (error2) {
@@ -44819,7 +44842,7 @@ function ConnectedSsoCallback() {
44819
44842
  setIsSubmitting(true);
44820
44843
  setError(null);
44821
44844
  try {
44822
- const { login, registered, linked } = await chunk6WWYH66F_cjs.completeSsoSignIn(arbi, {
44845
+ const { login, registered, linked } = await chunkZ3N32LL4_cjs.completeSsoSignIn(arbi, {
44823
44846
  token: accessToken,
44824
44847
  user,
44825
44848
  status: ssoStatus,
@@ -45119,7 +45142,7 @@ function ConnectedSsoCallback() {
45119
45142
  ssoStatus.status !== "new_user" && auth.footer
45120
45143
  ] }),
45121
45144
  /* @__PURE__ */ jsxRuntime.jsx(
45122
- chunk6WWYH66F_cjs.ConnectedForgotPassword,
45145
+ chunkZ3N32LL4_cjs.ConnectedForgotPassword,
45123
45146
  {
45124
45147
  open: showForgotPasswordModal,
45125
45148
  onOpenChange: setShowForgotPasswordModal,
@@ -45127,7 +45150,7 @@ function ConnectedSsoCallback() {
45127
45150
  }
45128
45151
  ),
45129
45152
  /* @__PURE__ */ jsxRuntime.jsx(
45130
- chunk6WWYH66F_cjs.ConnectedPasswordChangeDialog,
45153
+ chunkZ3N32LL4_cjs.ConnectedPasswordChangeDialog,
45131
45154
  {
45132
45155
  open: showChangePasswordModal,
45133
45156
  onClose: () => setShowChangePasswordModal(false),
@@ -45286,27 +45309,27 @@ function ConnectedOAuthConsentPage({
45286
45309
  oauthErrorRedirect(params.redirectUri, params.state, "access_denied");
45287
45310
  }
45288
45311
  if (error && !params) {
45289
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
45312
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentMessage, { tone: "error", title: "Invalid Request", children: error }) });
45290
45313
  }
45291
45314
  if (!params) {
45292
45315
  return null;
45293
45316
  }
45294
45317
  if (clientInfo?.isLocalAgentFlow) {
45295
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_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." }) });
45318
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_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." }) });
45296
45319
  }
45297
45320
  if (!isAuthenticated2) {
45298
45321
  return null;
45299
45322
  }
45300
45323
  if (callbackUrl) {
45301
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { size: "md", children: [
45302
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
45324
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { size: "md", children: [
45325
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ClipboardList, {}), title: "Almost there", children: [
45303
45326
  "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",
45304
45327
  " ",
45305
45328
  copied ? "it's already copied to your clipboard." : "copy it first."
45306
45329
  ] }),
45307
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentSection, { title: "Callback URL", children: [
45308
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
45309
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentText, { variant: "hint", children: [
45330
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentSection, { title: "Callback URL", children: [
45331
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.CopyableUrl, { url: callbackUrl, copied, onCopy: handleCopy }),
45332
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentText, { variant: "hint", children: [
45310
45333
  "In Claude Code, paste the URL at the prompt that says",
45311
45334
  " ",
45312
45335
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-foreground", children: '"paste the full redirect URL here"' }),
@@ -45315,17 +45338,17 @@ function ConnectedOAuthConsentPage({
45315
45338
  ] })
45316
45339
  ] }) });
45317
45340
  }
45318
- return /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentCard, { children: [
45319
- /* @__PURE__ */ jsxRuntime.jsxs(chunkH7AI54V2_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
45320
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
45341
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPage, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentCard, { children: [
45342
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkCVVQHFLR_cjs.ConsentHeader, { icon: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Link2, {}), title: `Connect to ${appName}`, children: [
45343
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentStrong, { children: clientInfo?.name ?? params.clientId }),
45321
45344
  " is requesting access to your ",
45322
45345
  appName,
45323
45346
  " workspace."
45324
45347
  ] }),
45325
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentPermissionList, { items: permissions }) }),
45326
- error && /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentNotice, { tone: "error", children: error }),
45327
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
45328
- /* @__PURE__ */ jsxRuntime.jsx(chunkH7AI54V2_cjs.ConsentFootnote, { children: footnote })
45348
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentSection, { title: "This will allow", children: /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentPermissionList, { items: permissions }) }),
45349
+ error && /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentNotice, { tone: "error", children: error }),
45350
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentActions, { isLoading: loading, onDeny: handleDeny, onAllow: handleAllow }),
45351
+ /* @__PURE__ */ jsxRuntime.jsx(chunkCVVQHFLR_cjs.ConsentFootnote, { children: footnote })
45329
45352
  ] }) });
45330
45353
  }
45331
45354
  function ConnectedSharedFilesPage({
@@ -45852,7 +45875,7 @@ function ShellNavigationProvider({
45852
45875
  );
45853
45876
  }
45854
45877
  var ConnectedPresentation = react.lazy(
45855
- () => import('../ConnectedPresentation-SY42ADRU.cjs').then((m) => ({ default: m.ConnectedPresentation }))
45878
+ () => import('../ConnectedPresentation-JUXIXKYN.cjs').then((m) => ({ default: m.ConnectedPresentation }))
45856
45879
  );
45857
45880
  function PresentationSlot() {
45858
45881
  const session = react$1.useArbiSessionStore();
@@ -46025,7 +46048,7 @@ function ConnectedTipBar({
46025
46048
  className,
46026
46049
  revealOnHover = false
46027
46050
  }) {
46028
- const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunk6WWYH66F_cjs.useContextualHints();
46051
+ const { showHints, settingsLoaded, setShowHintsPersisted, setShowHints } = chunkZ3N32LL4_cjs.useContextualHints();
46029
46052
  const { dismissed, dismissTip } = react$1.useDismissedTips();
46030
46053
  const { notify: notify19 } = chunk46LX6EQT_cjs.useBlocksEnvironment();
46031
46054
  const { data: workspaces } = react$1.useWorkspaces();
@@ -46036,7 +46059,7 @@ function ConnectedTipBar({
46036
46059
  workspaceOpen,
46037
46060
  ...state
46038
46061
  };
46039
- const { tip, index, count: count2, previous, next, onHoverChange } = chunkWPUEGDBE_cjs.useTipsPlacement({
46062
+ const { tip, index, count: count2, previous, next, onHoverChange } = chunkWUM76MJU_cjs.useTipsPlacement({
46040
46063
  registry,
46041
46064
  context,
46042
46065
  state: situation,
@@ -46114,7 +46137,7 @@ function useGettingStarted({
46114
46137
  const { user } = react$1.useArbiSession();
46115
46138
  const userExtId = user?.external_id;
46116
46139
  const temporaryOnly = user?.temporary_access_only === true;
46117
- const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunk6WWYH66F_cjs.useContextualHints();
46140
+ const { showHints, settingsLoaded, setShowHints, setShowHintsPersisted } = chunkZ3N32LL4_cjs.useContextualHints();
46118
46141
  const { dismissed, loaded: dismissedLoaded, dismissTip } = react$1.useDismissedTips();
46119
46142
  const welcomeJourneyEnabled = react$1.useFeature("welcomeJourney");
46120
46143
  const session = react$1.useArbiSessionStore();
@@ -46336,15 +46359,15 @@ function ChromeInstallDialog({
46336
46359
 
46337
46360
  Object.defineProperty(exports, "ConnectedTagEntity", {
46338
46361
  enumerable: true,
46339
- get: function () { return chunkJMBAUHI7_cjs.ConnectedTagEntity; }
46362
+ get: function () { return chunkZCQXQIBA_cjs.ConnectedTagEntity; }
46340
46363
  });
46341
46364
  Object.defineProperty(exports, "documentFieldContent", {
46342
46365
  enumerable: true,
46343
- get: function () { return chunkJMBAUHI7_cjs.documentFieldContent; }
46366
+ get: function () { return chunkZCQXQIBA_cjs.documentFieldContent; }
46344
46367
  });
46345
46368
  Object.defineProperty(exports, "useMemberLookup", {
46346
46369
  enumerable: true,
46347
- get: function () { return chunkJMBAUHI7_cjs.useMemberLookup; }
46370
+ get: function () { return chunkZCQXQIBA_cjs.useMemberLookup; }
46348
46371
  });
46349
46372
  Object.defineProperty(exports, "DEFAULT_ASK_SUGGESTIONS", {
46350
46373
  enumerable: true,
@@ -46456,279 +46479,279 @@ Object.defineProperty(exports, "useWorkspaceDocs", {
46456
46479
  });
46457
46480
  Object.defineProperty(exports, "ConnectedTaskActivityDialog", {
46458
46481
  enumerable: true,
46459
- get: function () { return chunkPJTKXKDS_cjs.ConnectedTaskActivityDialog; }
46482
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedTaskActivityDialog; }
46460
46483
  });
46461
46484
  Object.defineProperty(exports, "ConnectedTaskComposer", {
46462
46485
  enumerable: true,
46463
- get: function () { return chunkPJTKXKDS_cjs.ConnectedTaskComposer; }
46486
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedTaskComposer; }
46464
46487
  });
46465
46488
  Object.defineProperty(exports, "ConnectedThreadTaskBar", {
46466
46489
  enumerable: true,
46467
- get: function () { return chunkPJTKXKDS_cjs.ConnectedThreadTaskBar; }
46490
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedThreadTaskBar; }
46468
46491
  });
46469
46492
  Object.defineProperty(exports, "ConnectedWorkflowHistory", {
46470
46493
  enumerable: true,
46471
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowHistory; }
46494
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowHistory; }
46472
46495
  });
46473
46496
  Object.defineProperty(exports, "ConnectedWorkflowRunPage", {
46474
46497
  enumerable: true,
46475
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowRunPage; }
46498
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowRunPage; }
46476
46499
  });
46477
46500
  Object.defineProperty(exports, "ConnectedWorkflowRunner", {
46478
46501
  enumerable: true,
46479
- get: function () { return chunkPJTKXKDS_cjs.ConnectedWorkflowRunner; }
46502
+ get: function () { return chunk4I2PCP7O_cjs.ConnectedWorkflowRunner; }
46480
46503
  });
46481
46504
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS", {
46482
46505
  enumerable: true,
46483
- get: function () { return chunkPJTKXKDS_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
46506
+ get: function () { return chunk4I2PCP7O_cjs.DEFAULT_CONNECTED_WORKFLOW_RUNNER_LABELS; }
46484
46507
  });
46485
46508
  Object.defineProperty(exports, "DEFAULT_WORKFLOW_RUN_PAGE_LABELS", {
46486
46509
  enumerable: true,
46487
- get: function () { return chunkPJTKXKDS_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
46510
+ get: function () { return chunk4I2PCP7O_cjs.DEFAULT_WORKFLOW_RUN_PAGE_LABELS; }
46488
46511
  });
46489
46512
  Object.defineProperty(exports, "WorkflowRunThread", {
46490
46513
  enumerable: true,
46491
- get: function () { return chunkPJTKXKDS_cjs.WorkflowRunThread; }
46514
+ get: function () { return chunk4I2PCP7O_cjs.WorkflowRunThread; }
46492
46515
  });
46493
46516
  Object.defineProperty(exports, "WorkflowRunWorkspaceChangedError", {
46494
46517
  enumerable: true,
46495
- get: function () { return chunkPJTKXKDS_cjs.WorkflowRunWorkspaceChangedError; }
46518
+ get: function () { return chunk4I2PCP7O_cjs.WorkflowRunWorkspaceChangedError; }
46496
46519
  });
46497
46520
  Object.defineProperty(exports, "buildProjectSummaries", {
46498
46521
  enumerable: true,
46499
- get: function () { return chunkPJTKXKDS_cjs.buildProjectSummaries; }
46522
+ get: function () { return chunk4I2PCP7O_cjs.buildProjectSummaries; }
46500
46523
  });
46501
46524
  Object.defineProperty(exports, "primaryProjectWorkspace", {
46502
46525
  enumerable: true,
46503
- get: function () { return chunkPJTKXKDS_cjs.primaryProjectWorkspace; }
46526
+ get: function () { return chunk4I2PCP7O_cjs.primaryProjectWorkspace; }
46504
46527
  });
46505
46528
  Object.defineProperty(exports, "useEnsureRequiredLabels", {
46506
46529
  enumerable: true,
46507
- get: function () { return chunkPJTKXKDS_cjs.useEnsureRequiredLabels; }
46530
+ get: function () { return chunk4I2PCP7O_cjs.useEnsureRequiredLabels; }
46508
46531
  });
46509
46532
  Object.defineProperty(exports, "useProjectSummaries", {
46510
46533
  enumerable: true,
46511
- get: function () { return chunkPJTKXKDS_cjs.useProjectSummaries; }
46534
+ get: function () { return chunk4I2PCP7O_cjs.useProjectSummaries; }
46512
46535
  });
46513
46536
  Object.defineProperty(exports, "useProjectSummary", {
46514
46537
  enumerable: true,
46515
- get: function () { return chunkPJTKXKDS_cjs.useProjectSummary; }
46538
+ get: function () { return chunk4I2PCP7O_cjs.useProjectSummary; }
46516
46539
  });
46517
46540
  Object.defineProperty(exports, "useRenderTaskPerson", {
46518
46541
  enumerable: true,
46519
- get: function () { return chunkPJTKXKDS_cjs.useRenderTaskPerson; }
46542
+ get: function () { return chunk4I2PCP7O_cjs.useRenderTaskPerson; }
46520
46543
  });
46521
46544
  Object.defineProperty(exports, "useRequiredLabels", {
46522
46545
  enumerable: true,
46523
- get: function () { return chunkPJTKXKDS_cjs.useRequiredLabels; }
46546
+ get: function () { return chunk4I2PCP7O_cjs.useRequiredLabels; }
46524
46547
  });
46525
46548
  Object.defineProperty(exports, "useTaskPeople", {
46526
46549
  enumerable: true,
46527
- get: function () { return chunkPJTKXKDS_cjs.useTaskPeople; }
46550
+ get: function () { return chunk4I2PCP7O_cjs.useTaskPeople; }
46528
46551
  });
46529
46552
  Object.defineProperty(exports, "useWorkflowsPageState", {
46530
46553
  enumerable: true,
46531
- get: function () { return chunkPJTKXKDS_cjs.useWorkflowsPageState; }
46554
+ get: function () { return chunk4I2PCP7O_cjs.useWorkflowsPageState; }
46532
46555
  });
46533
46556
  Object.defineProperty(exports, "workflowRunView", {
46534
46557
  enumerable: true,
46535
- get: function () { return chunkPJTKXKDS_cjs.workflowRunView; }
46558
+ get: function () { return chunk4I2PCP7O_cjs.workflowRunView; }
46536
46559
  });
46537
46560
  Object.defineProperty(exports, "AgentSteps", {
46538
46561
  enumerable: true,
46539
- get: function () { return chunk6WWYH66F_cjs.AgentSteps; }
46562
+ get: function () { return chunkZ3N32LL4_cjs.AgentSteps; }
46540
46563
  });
46541
46564
  Object.defineProperty(exports, "AnswerTable", {
46542
46565
  enumerable: true,
46543
- get: function () { return chunk6WWYH66F_cjs.AnswerTable; }
46566
+ get: function () { return chunkZ3N32LL4_cjs.AnswerTable; }
46544
46567
  });
46545
46568
  Object.defineProperty(exports, "ArbiChat", {
46546
46569
  enumerable: true,
46547
- get: function () { return chunk6WWYH66F_cjs.ArbiChat; }
46570
+ get: function () { return chunkZ3N32LL4_cjs.ArbiChat; }
46548
46571
  });
46549
46572
  Object.defineProperty(exports, "AskAgainContext", {
46550
46573
  enumerable: true,
46551
- get: function () { return chunk6WWYH66F_cjs.AskAgainContext; }
46574
+ get: function () { return chunkZ3N32LL4_cjs.AskAgainContext; }
46552
46575
  });
46553
46576
  Object.defineProperty(exports, "ConnectedBranchControls", {
46554
46577
  enumerable: true,
46555
- get: function () { return chunk6WWYH66F_cjs.ConnectedBranchControls; }
46578
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedBranchControls; }
46556
46579
  });
46557
46580
  Object.defineProperty(exports, "ConnectedCitationRenderer", {
46558
46581
  enumerable: true,
46559
- get: function () { return chunk6WWYH66F_cjs.ConnectedCitationRenderer; }
46582
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCitationRenderer; }
46560
46583
  });
46561
46584
  Object.defineProperty(exports, "ConnectedCompactConversation", {
46562
46585
  enumerable: true,
46563
- get: function () { return chunk6WWYH66F_cjs.ConnectedCompactConversation; }
46586
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCompactConversation; }
46564
46587
  });
46565
46588
  Object.defineProperty(exports, "ConnectedCompactLogin", {
46566
46589
  enumerable: true,
46567
- get: function () { return chunk6WWYH66F_cjs.ConnectedCompactLogin; }
46590
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedCompactLogin; }
46568
46591
  });
46569
46592
  Object.defineProperty(exports, "ConnectedConversationDocumentPicker", {
46570
46593
  enumerable: true,
46571
- get: function () { return chunk6WWYH66F_cjs.ConnectedConversationDocumentPicker; }
46594
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedConversationDocumentPicker; }
46572
46595
  });
46573
46596
  Object.defineProperty(exports, "ConnectedDangerZone", {
46574
46597
  enumerable: true,
46575
- get: function () { return chunk6WWYH66F_cjs.ConnectedDangerZone; }
46598
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedDangerZone; }
46576
46599
  });
46577
46600
  Object.defineProperty(exports, "ConnectedEmbeddedChat", {
46578
46601
  enumerable: true,
46579
- get: function () { return chunk6WWYH66F_cjs.ConnectedEmbeddedChat; }
46602
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedEmbeddedChat; }
46580
46603
  });
46581
46604
  Object.defineProperty(exports, "ConnectedForgotPassword", {
46582
46605
  enumerable: true,
46583
- get: function () { return chunk6WWYH66F_cjs.ConnectedForgotPassword; }
46606
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedForgotPassword; }
46584
46607
  });
46585
46608
  Object.defineProperty(exports, "ConnectedIdentityVerification", {
46586
46609
  enumerable: true,
46587
- get: function () { return chunk6WWYH66F_cjs.ConnectedIdentityVerification; }
46610
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedIdentityVerification; }
46588
46611
  });
46589
46612
  Object.defineProperty(exports, "ConnectedLoginPage", {
46590
46613
  enumerable: true,
46591
- get: function () { return chunk6WWYH66F_cjs.ConnectedLoginPage; }
46614
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedLoginPage; }
46592
46615
  });
46593
46616
  Object.defineProperty(exports, "ConnectedLogoutDialog", {
46594
46617
  enumerable: true,
46595
- get: function () { return chunk6WWYH66F_cjs.ConnectedLogoutDialog; }
46618
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedLogoutDialog; }
46596
46619
  });
46597
46620
  Object.defineProperty(exports, "ConnectedMessage", {
46598
46621
  enumerable: true,
46599
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessage; }
46622
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessage; }
46600
46623
  });
46601
46624
  Object.defineProperty(exports, "ConnectedMessageArea", {
46602
46625
  enumerable: true,
46603
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessageArea; }
46626
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessageArea; }
46604
46627
  });
46605
46628
  Object.defineProperty(exports, "ConnectedMessageList", {
46606
46629
  enumerable: true,
46607
- get: function () { return chunk6WWYH66F_cjs.ConnectedMessageList; }
46630
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedMessageList; }
46608
46631
  });
46609
46632
  Object.defineProperty(exports, "ConnectedModelSelector", {
46610
46633
  enumerable: true,
46611
- get: function () { return chunk6WWYH66F_cjs.ConnectedModelSelector; }
46634
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedModelSelector; }
46612
46635
  });
46613
46636
  Object.defineProperty(exports, "ConnectedNotificationPreferences", {
46614
46637
  enumerable: true,
46615
- get: function () { return chunk6WWYH66F_cjs.ConnectedNotificationPreferences; }
46638
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedNotificationPreferences; }
46616
46639
  });
46617
46640
  Object.defineProperty(exports, "ConnectedPasswordChangeDialog", {
46618
46641
  enumerable: true,
46619
- get: function () { return chunk6WWYH66F_cjs.ConnectedPasswordChangeDialog; }
46642
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedPasswordChangeDialog; }
46620
46643
  });
46621
46644
  Object.defineProperty(exports, "ConnectedProfileCard", {
46622
46645
  enumerable: true,
46623
- get: function () { return chunk6WWYH66F_cjs.ConnectedProfileCard; }
46646
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedProfileCard; }
46624
46647
  });
46625
46648
  Object.defineProperty(exports, "ConnectedSecuritySection", {
46626
46649
  enumerable: true,
46627
- get: function () { return chunk6WWYH66F_cjs.ConnectedSecuritySection; }
46650
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedSecuritySection; }
46628
46651
  });
46629
46652
  Object.defineProperty(exports, "ConnectedSessionsRow", {
46630
46653
  enumerable: true,
46631
- get: function () { return chunk6WWYH66F_cjs.ConnectedSessionsRow; }
46654
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedSessionsRow; }
46632
46655
  });
46633
46656
  Object.defineProperty(exports, "ConnectedThreadsPreview", {
46634
46657
  enumerable: true,
46635
- get: function () { return chunk6WWYH66F_cjs.ConnectedThreadsPreview; }
46658
+ get: function () { return chunkZ3N32LL4_cjs.ConnectedThreadsPreview; }
46636
46659
  });
46637
46660
  Object.defineProperty(exports, "ConversationComposer", {
46638
46661
  enumerable: true,
46639
- get: function () { return chunk6WWYH66F_cjs.ConversationComposer; }
46662
+ get: function () { return chunkZ3N32LL4_cjs.ConversationComposer; }
46640
46663
  });
46641
46664
  Object.defineProperty(exports, "EmbeddedChatPanel", {
46642
46665
  enumerable: true,
46643
- get: function () { return chunk6WWYH66F_cjs.EmbeddedChatPanel; }
46666
+ get: function () { return chunkZ3N32LL4_cjs.EmbeddedChatPanel; }
46644
46667
  });
46645
46668
  Object.defineProperty(exports, "MessageDetailsModal", {
46646
46669
  enumerable: true,
46647
- get: function () { return chunk6WWYH66F_cjs.MessageDetailsModal; }
46670
+ get: function () { return chunkZ3N32LL4_cjs.MessageDetailsModal; }
46648
46671
  });
46649
46672
  Object.defineProperty(exports, "MessageLiveSeconds", {
46650
46673
  enumerable: true,
46651
- get: function () { return chunk6WWYH66F_cjs.MessageLiveSeconds; }
46674
+ get: function () { return chunkZ3N32LL4_cjs.MessageLiveSeconds; }
46652
46675
  });
46653
46676
  Object.defineProperty(exports, "PENDING_RECOVERY_KEY", {
46654
46677
  enumerable: true,
46655
- get: function () { return chunk6WWYH66F_cjs.PENDING_RECOVERY_KEY; }
46678
+ get: function () { return chunkZ3N32LL4_cjs.PENDING_RECOVERY_KEY; }
46656
46679
  });
46657
46680
  Object.defineProperty(exports, "PREMIUM_TIER_TAG", {
46658
46681
  enumerable: true,
46659
- get: function () { return chunk6WWYH66F_cjs.PREMIUM_TIER_TAG; }
46682
+ get: function () { return chunkZ3N32LL4_cjs.PREMIUM_TIER_TAG; }
46660
46683
  });
46661
46684
  Object.defineProperty(exports, "RunningSubagents", {
46662
46685
  enumerable: true,
46663
- get: function () { return chunk6WWYH66F_cjs.RunningSubagents; }
46686
+ get: function () { return chunkZ3N32LL4_cjs.RunningSubagents; }
46664
46687
  });
46665
46688
  Object.defineProperty(exports, "STANDARD_TIER_TAG", {
46666
46689
  enumerable: true,
46667
- get: function () { return chunk6WWYH66F_cjs.STANDARD_TIER_TAG; }
46690
+ get: function () { return chunkZ3N32LL4_cjs.STANDARD_TIER_TAG; }
46668
46691
  });
46669
46692
  Object.defineProperty(exports, "WorkflowStepMessage", {
46670
46693
  enumerable: true,
46671
- get: function () { return chunk6WWYH66F_cjs.WorkflowStepMessage; }
46694
+ get: function () { return chunkZ3N32LL4_cjs.WorkflowStepMessage; }
46672
46695
  });
46673
46696
  Object.defineProperty(exports, "backUpOnSignup", {
46674
46697
  enumerable: true,
46675
- get: function () { return chunk6WWYH66F_cjs.backUpOnSignup; }
46698
+ get: function () { return chunkZ3N32LL4_cjs.backUpOnSignup; }
46676
46699
  });
46677
46700
  Object.defineProperty(exports, "createRemoteControl", {
46678
46701
  enumerable: true,
46679
- get: function () { return chunk6WWYH66F_cjs.createRemoteControl; }
46702
+ get: function () { return chunkZ3N32LL4_cjs.createRemoteControl; }
46680
46703
  });
46681
46704
  Object.defineProperty(exports, "defaultHost", {
46682
46705
  enumerable: true,
46683
- get: function () { return chunk6WWYH66F_cjs.defaultHost; }
46706
+ get: function () { return chunkZ3N32LL4_cjs.defaultHost; }
46684
46707
  });
46685
46708
  Object.defineProperty(exports, "renderConnectedUser", {
46686
46709
  enumerable: true,
46687
- get: function () { return chunk6WWYH66F_cjs.renderConnectedUser; }
46710
+ get: function () { return chunkZ3N32LL4_cjs.renderConnectedUser; }
46688
46711
  });
46689
46712
  Object.defineProperty(exports, "renderSessionStatusIcon", {
46690
46713
  enumerable: true,
46691
- get: function () { return chunk6WWYH66F_cjs.renderSessionStatusIcon; }
46714
+ get: function () { return chunkZ3N32LL4_cjs.renderSessionStatusIcon; }
46692
46715
  });
46693
46716
  Object.defineProperty(exports, "resolveSsoName", {
46694
46717
  enumerable: true,
46695
- get: function () { return chunk6WWYH66F_cjs.resolveSsoName; }
46718
+ get: function () { return chunkZ3N32LL4_cjs.resolveSsoName; }
46696
46719
  });
46697
46720
  Object.defineProperty(exports, "useAuthPages", {
46698
46721
  enumerable: true,
46699
- get: function () { return chunk6WWYH66F_cjs.useAuthPages; }
46722
+ get: function () { return chunkZ3N32LL4_cjs.useAuthPages; }
46700
46723
  });
46701
46724
  Object.defineProperty(exports, "useContextualHints", {
46702
46725
  enumerable: true,
46703
- get: function () { return chunk6WWYH66F_cjs.useContextualHints; }
46726
+ get: function () { return chunkZ3N32LL4_cjs.useContextualHints; }
46704
46727
  });
46705
46728
  Object.defineProperty(exports, "useModelPicker", {
46706
46729
  enumerable: true,
46707
- get: function () { return chunk6WWYH66F_cjs.useModelPicker; }
46730
+ get: function () { return chunkZ3N32LL4_cjs.useModelPicker; }
46708
46731
  });
46709
46732
  Object.defineProperty(exports, "useOpenChunk", {
46710
46733
  enumerable: true,
46711
- get: function () { return chunk6WWYH66F_cjs.useOpenChunk; }
46734
+ get: function () { return chunkZ3N32LL4_cjs.useOpenChunk; }
46712
46735
  });
46713
46736
  Object.defineProperty(exports, "useOpenWorkspaceIcon", {
46714
46737
  enumerable: true,
46715
- get: function () { return chunk6WWYH66F_cjs.useOpenWorkspaceIcon; }
46738
+ get: function () { return chunkZ3N32LL4_cjs.useOpenWorkspaceIcon; }
46716
46739
  });
46717
46740
  Object.defineProperty(exports, "useRemoteControlActions", {
46718
46741
  enumerable: true,
46719
- get: function () { return chunk6WWYH66F_cjs.useRemoteControlActions; }
46742
+ get: function () { return chunkZ3N32LL4_cjs.useRemoteControlActions; }
46720
46743
  });
46721
46744
  Object.defineProperty(exports, "useRemoteControlHandlers", {
46722
46745
  enumerable: true,
46723
- get: function () { return chunk6WWYH66F_cjs.useRemoteControlHandlers; }
46746
+ get: function () { return chunkZ3N32LL4_cjs.useRemoteControlHandlers; }
46724
46747
  });
46725
46748
  Object.defineProperty(exports, "useSsoSignIn", {
46726
46749
  enumerable: true,
46727
- get: function () { return chunk6WWYH66F_cjs.useSsoSignIn; }
46750
+ get: function () { return chunkZ3N32LL4_cjs.useSsoSignIn; }
46728
46751
  });
46729
46752
  Object.defineProperty(exports, "useWorkspaceDocTitles", {
46730
46753
  enumerable: true,
46731
- get: function () { return chunk6WWYH66F_cjs.useWorkspaceDocTitles; }
46754
+ get: function () { return chunkZ3N32LL4_cjs.useWorkspaceDocTitles; }
46732
46755
  });
46733
46756
  Object.defineProperty(exports, "parseTypedSkill", {
46734
46757
  enumerable: true,
@@ -46760,11 +46783,11 @@ Object.defineProperty(exports, "useLaunchWorkflow", {
46760
46783
  });
46761
46784
  Object.defineProperty(exports, "useConnectedThreadActivity", {
46762
46785
  enumerable: true,
46763
- get: function () { return chunkILATBO5Z_cjs.useConnectedThreadActivity; }
46786
+ get: function () { return chunk6ZZWQ3OL_cjs.useConnectedThreadActivity; }
46764
46787
  });
46765
46788
  Object.defineProperty(exports, "DocumentUser", {
46766
46789
  enumerable: true,
46767
- get: function () { return chunkMGGDT6JK_cjs.DocumentUser; }
46790
+ get: function () { return chunkMAKCWF45_cjs.DocumentUser; }
46768
46791
  });
46769
46792
  Object.defineProperty(exports, "useCanBrowseSkills", {
46770
46793
  enumerable: true,
@@ -46816,35 +46839,35 @@ Object.defineProperty(exports, "useViewerStreamingDocument", {
46816
46839
  });
46817
46840
  Object.defineProperty(exports, "FILES_PREFS_KEY", {
46818
46841
  enumerable: true,
46819
- get: function () { return chunkMFZW4FEW_cjs.FILES_PREFS_KEY; }
46842
+ get: function () { return chunkB5BGVPQ5_cjs.FILES_PREFS_KEY; }
46820
46843
  });
46821
46844
  Object.defineProperty(exports, "filesViewMode", {
46822
46845
  enumerable: true,
46823
- get: function () { return chunkMFZW4FEW_cjs.filesViewMode; }
46846
+ get: function () { return chunkB5BGVPQ5_cjs.filesViewMode; }
46824
46847
  });
46825
46848
  Object.defineProperty(exports, "useAiReviewStore", {
46826
46849
  enumerable: true,
46827
- get: function () { return chunkMFZW4FEW_cjs.useAiReviewStore; }
46850
+ get: function () { return chunkB5BGVPQ5_cjs.useAiReviewStore; }
46828
46851
  });
46829
46852
  Object.defineProperty(exports, "useFilesDialogs", {
46830
46853
  enumerable: true,
46831
- get: function () { return chunkMFZW4FEW_cjs.useFilesDialogs; }
46854
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesDialogs; }
46832
46855
  });
46833
46856
  Object.defineProperty(exports, "useFilesGridStates", {
46834
46857
  enumerable: true,
46835
- get: function () { return chunkMFZW4FEW_cjs.useFilesGridStates; }
46858
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesGridStates; }
46836
46859
  });
46837
46860
  Object.defineProperty(exports, "useFilesPrefs", {
46838
46861
  enumerable: true,
46839
- get: function () { return chunkMFZW4FEW_cjs.useFilesPrefs; }
46862
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesPrefs; }
46840
46863
  });
46841
46864
  Object.defineProperty(exports, "useFilesStore", {
46842
46865
  enumerable: true,
46843
- get: function () { return chunkMFZW4FEW_cjs.useFilesStore; }
46866
+ get: function () { return chunkB5BGVPQ5_cjs.useFilesStore; }
46844
46867
  });
46845
46868
  Object.defineProperty(exports, "usePendingFolders", {
46846
46869
  enumerable: true,
46847
- get: function () { return chunkMFZW4FEW_cjs.usePendingFolders; }
46870
+ get: function () { return chunkB5BGVPQ5_cjs.usePendingFolders; }
46848
46871
  });
46849
46872
  Object.defineProperty(exports, "ConnectedMarkdown", {
46850
46873
  enumerable: true,
@@ -46876,67 +46899,67 @@ Object.defineProperty(exports, "useDocumentWorkspace", {
46876
46899
  });
46877
46900
  Object.defineProperty(exports, "ConnectedPendingSyncDialog", {
46878
46901
  enumerable: true,
46879
- get: function () { return chunkOGJCEWME_cjs.ConnectedPendingSyncDialog; }
46902
+ get: function () { return chunk4XNP27N4_cjs.ConnectedPendingSyncDialog; }
46880
46903
  });
46881
46904
  Object.defineProperty(exports, "DocumentFolderCell", {
46882
46905
  enumerable: true,
46883
- get: function () { return chunkOGJCEWME_cjs.DocumentFolderCell; }
46906
+ get: function () { return chunk4XNP27N4_cjs.DocumentFolderCell; }
46884
46907
  });
46885
46908
  Object.defineProperty(exports, "DocumentLabelsCell", {
46886
46909
  enumerable: true,
46887
- get: function () { return chunkOGJCEWME_cjs.DocumentLabelsCell; }
46910
+ get: function () { return chunk4XNP27N4_cjs.DocumentLabelsCell; }
46888
46911
  });
46889
46912
  Object.defineProperty(exports, "DocumentNameCell", {
46890
46913
  enumerable: true,
46891
- get: function () { return chunkOGJCEWME_cjs.DocumentNameCell; }
46914
+ get: function () { return chunk4XNP27N4_cjs.DocumentNameCell; }
46892
46915
  });
46893
46916
  Object.defineProperty(exports, "DocumentSharedCell", {
46894
46917
  enumerable: true,
46895
- get: function () { return chunkOGJCEWME_cjs.DocumentSharedCell; }
46918
+ get: function () { return chunk4XNP27N4_cjs.DocumentSharedCell; }
46896
46919
  });
46897
46920
  Object.defineProperty(exports, "DocumentStatusGlyph", {
46898
46921
  enumerable: true,
46899
- get: function () { return chunkOGJCEWME_cjs.DocumentStatusGlyph; }
46922
+ get: function () { return chunk4XNP27N4_cjs.DocumentStatusGlyph; }
46900
46923
  });
46901
46924
  Object.defineProperty(exports, "DocumentSyncGlyph", {
46902
46925
  enumerable: true,
46903
- get: function () { return chunkOGJCEWME_cjs.DocumentSyncGlyph; }
46926
+ get: function () { return chunk4XNP27N4_cjs.DocumentSyncGlyph; }
46904
46927
  });
46905
46928
  Object.defineProperty(exports, "FileTooltipContent", {
46906
46929
  enumerable: true,
46907
- get: function () { return chunkOGJCEWME_cjs.FileTooltipContent; }
46930
+ get: function () { return chunk4XNP27N4_cjs.FileTooltipContent; }
46908
46931
  });
46909
46932
  Object.defineProperty(exports, "RelatedDocumentsCell", {
46910
46933
  enumerable: true,
46911
- get: function () { return chunkOGJCEWME_cjs.RelatedDocumentsCell; }
46934
+ get: function () { return chunk4XNP27N4_cjs.RelatedDocumentsCell; }
46912
46935
  });
46913
46936
  Object.defineProperty(exports, "StatusCell", {
46914
46937
  enumerable: true,
46915
- get: function () { return chunkOGJCEWME_cjs.StatusCell; }
46938
+ get: function () { return chunk4XNP27N4_cjs.StatusCell; }
46916
46939
  });
46917
46940
  Object.defineProperty(exports, "UserAvatar", {
46918
46941
  enumerable: true,
46919
- get: function () { return chunkOGJCEWME_cjs.UserAvatar; }
46942
+ get: function () { return chunk4XNP27N4_cjs.UserAvatar; }
46920
46943
  });
46921
46944
  Object.defineProperty(exports, "isActiveDocumentStatus", {
46922
46945
  enumerable: true,
46923
- get: function () { return chunkOGJCEWME_cjs.isActiveDocumentStatus; }
46946
+ get: function () { return chunk4XNP27N4_cjs.isActiveDocumentStatus; }
46924
46947
  });
46925
46948
  Object.defineProperty(exports, "openPendingSyncDialog", {
46926
46949
  enumerable: true,
46927
- get: function () { return chunkOGJCEWME_cjs.openPendingSyncDialog; }
46950
+ get: function () { return chunk4XNP27N4_cjs.openPendingSyncDialog; }
46928
46951
  });
46929
46952
  Object.defineProperty(exports, "parseQuotaError", {
46930
46953
  enumerable: true,
46931
- get: function () { return chunkOGJCEWME_cjs.parseQuotaError; }
46954
+ get: function () { return chunk4XNP27N4_cjs.parseQuotaError; }
46932
46955
  });
46933
46956
  Object.defineProperty(exports, "startMenuItem", {
46934
46957
  enumerable: true,
46935
- get: function () { return chunkOGJCEWME_cjs.startMenuItem; }
46958
+ get: function () { return chunk4XNP27N4_cjs.startMenuItem; }
46936
46959
  });
46937
46960
  Object.defineProperty(exports, "useDocumentFolders", {
46938
46961
  enumerable: true,
46939
- get: function () { return chunkOGJCEWME_cjs.useDocumentFolders; }
46962
+ get: function () { return chunk4XNP27N4_cjs.useDocumentFolders; }
46940
46963
  });
46941
46964
  Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
46942
46965
  enumerable: true,
@@ -46944,23 +46967,23 @@ Object.defineProperty(exports, "ConnectedDocumentToolsProvider", {
46944
46967
  });
46945
46968
  Object.defineProperty(exports, "ConnectedWorkflowsTable", {
46946
46969
  enumerable: true,
46947
- get: function () { return chunkMH7P5FEK_cjs.ConnectedWorkflowsTable; }
46970
+ get: function () { return chunkFCT62ZPE_cjs.ConnectedWorkflowsTable; }
46948
46971
  });
46949
46972
  Object.defineProperty(exports, "DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS", {
46950
46973
  enumerable: true,
46951
- get: function () { return chunkMH7P5FEK_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
46974
+ get: function () { return chunkFCT62ZPE_cjs.DEFAULT_CONNECTED_WORKFLOWS_TABLE_LABELS; }
46952
46975
  });
46953
46976
  Object.defineProperty(exports, "useConnectedWorkspaceRole", {
46954
46977
  enumerable: true,
46955
- get: function () { return chunkMH7P5FEK_cjs.useConnectedWorkspaceRole; }
46978
+ get: function () { return chunkFCT62ZPE_cjs.useConnectedWorkspaceRole; }
46956
46979
  });
46957
46980
  Object.defineProperty(exports, "useDocxCommentTarget", {
46958
46981
  enumerable: true,
46959
- get: function () { return chunkMH7P5FEK_cjs.useDocxCommentTarget; }
46982
+ get: function () { return chunkFCT62ZPE_cjs.useDocxCommentTarget; }
46960
46983
  });
46961
46984
  Object.defineProperty(exports, "useNativeDocxSupport", {
46962
46985
  enumerable: true,
46963
- get: function () { return chunkMH7P5FEK_cjs.useNativeDocxSupport; }
46986
+ get: function () { return chunkFCT62ZPE_cjs.useNativeDocxSupport; }
46964
46987
  });
46965
46988
  Object.defineProperty(exports, "useOpenWorkflow", {
46966
46989
  enumerable: true,