chatlab-cli 0.36.1 → 0.37.0

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 (201) hide show
  1. package/dist/{chat-command-XPJ43KSW.mjs → chat-command-WBAJBKIE.mjs} +15 -16
  2. package/dist/{chat-command-XPJ43KSW.mjs.map → chat-command-WBAJBKIE.mjs.map} +1 -1
  3. package/dist/chunk-2TV7M4CC.mjs +101 -0
  4. package/dist/chunk-2TV7M4CC.mjs.map +1 -0
  5. package/dist/{chunk-Q3NEL2KK.mjs → chunk-4J4MA3RC.mjs} +2606 -671
  6. package/dist/chunk-4J4MA3RC.mjs.map +1 -0
  7. package/dist/{chunk-NFTCEJBJ.mjs → chunk-5YOHLJFB.mjs} +98 -284
  8. package/dist/chunk-5YOHLJFB.mjs.map +1 -0
  9. package/dist/{chunk-L7TIIVAY.mjs → chunk-CR2MU7LN.mjs} +49 -55
  10. package/dist/chunk-CR2MU7LN.mjs.map +1 -0
  11. package/dist/{chunk-2JPFBIAG.mjs → chunk-DKIYHA3O.mjs} +284 -31
  12. package/dist/chunk-DKIYHA3O.mjs.map +1 -0
  13. package/dist/{chunk-FJOGBUXU.mjs → chunk-DQR2YS3I.mjs} +1930 -33
  14. package/dist/chunk-DQR2YS3I.mjs.map +1 -0
  15. package/dist/{chunk-JOVL7OTW.mjs → chunk-EJBBVLUN.mjs} +3 -3
  16. package/dist/chunk-EJBBVLUN.mjs.map +1 -0
  17. package/dist/{chunk-X2QBH24F.mjs → chunk-FM3GXNEO.mjs} +1643 -3
  18. package/dist/chunk-FM3GXNEO.mjs.map +1 -0
  19. package/dist/{chunk-R73XMAB2.mjs → chunk-MSMDLDPB.mjs} +96 -5
  20. package/dist/chunk-MSMDLDPB.mjs.map +1 -0
  21. package/dist/{chunk-NQHZPSW2.mjs → chunk-N2WGG3MS.mjs} +2 -2
  22. package/dist/{chunk-67HNPYZJ.mjs → chunk-RXMSZIYD.mjs} +3 -3
  23. package/dist/{chunk-5MJO4AJB.mjs → chunk-SQWN4GTQ.mjs} +2 -2
  24. package/dist/cli.mjs +9 -9
  25. package/dist/contacts-worker.mjs +2 -2
  26. package/dist/global-insight-worker.mjs +1 -1
  27. package/dist/{http-5RVY5J5U.mjs → http-X6OEOOSH.mjs} +12 -12
  28. package/dist/{import-ILTWVHKU.mjs → import-WBJ6YIQ7.mjs} +7 -7
  29. package/dist/index.mjs +12 -12
  30. package/dist/{mcp-Y2YXOFB4.mjs → mcp-FR6OKWKL.mjs} +8 -8
  31. package/dist/people-relationships-worker.mjs +2 -2
  32. package/dist/semantic-index-worker.mjs +1 -1
  33. package/dist/{src-OV5ZNE3Z.mjs → src-WE5HNN2O.mjs} +44 -14
  34. package/dist/{stream-import-XOUM3Z5W.mjs → stream-import-YYQVZDGQ.mjs} +7 -7
  35. package/dist/{worker-runtime-JNGURHDM.mjs → worker-runtime-YGB5ZDE4.mjs} +5 -5
  36. package/dist-cli-web/assets/AISettingsTab-Co2sM1iY.js +1 -0
  37. package/dist-cli-web/assets/{AboutTab-CxI8zJNz.js → AboutTab-DQ8r6mYE.js} +1 -1
  38. package/dist-cli-web/assets/ActionToolsPanel-CmYpw8Mt.css +1 -0
  39. package/dist-cli-web/assets/ActionToolsPanel.vue_vue_type_script_setup_true_lang--RPlmfIu.js +75 -0
  40. package/dist-cli-web/assets/{Alert-_MYcI_E2.js → Alert-DU1tLAAg.js} +1 -1
  41. package/dist-cli-web/assets/ApiSettingsTab-D5g5b79L.js +2 -0
  42. package/dist-cli-web/assets/BatchManageTab-BFUyVaGU.js +1 -0
  43. package/dist-cli-web/assets/{BufferResource-i64DlwQT.js → BufferResource-C-RfYwQW.js} +1 -1
  44. package/dist-cli-web/assets/{CanvasRenderer-B76mEt9A.js → CanvasRenderer-Dz7JAMrR.js} +1 -1
  45. package/dist-cli-web/assets/CardDecoration-D28DI1G9.js +1 -0
  46. package/dist-cli-web/assets/ChatRecordDrawer-Cph819yY.js +1 -0
  47. package/dist-cli-web/assets/{ChatRecordWorkspace-CyfPIlIy.js → ChatRecordWorkspace-BAfERdPc.js} +1 -1
  48. package/dist-cli-web/assets/Checkbox-B8uqt13j.js +1 -0
  49. package/dist-cli-web/assets/DataDirCleanupNotice-3sGBE5vU.js +1 -0
  50. package/dist-cli-web/assets/{DatePicker.vue_vue_type_script_setup_true_lang-DqNBNa1D.js → DatePicker.vue_vue_type_script_setup_true_lang-CQuub8-f.js} +1 -1
  51. package/dist-cli-web/assets/{DebugToolsPanel-CbNsD9co.js → DebugToolsPanel-Cwkr0BOY.js} +1 -1
  52. package/dist-cli-web/assets/EChart.vue_vue_type_script_setup_true_lang-BuLujQCF.js +1 -0
  53. package/dist-cli-web/assets/EChartBar.vue_vue_type_script_setup_true_lang-DuA5xbcC.js +1 -0
  54. package/dist-cli-web/assets/EChartLine.vue_vue_type_script_setup_true_lang-CvmMEfYq.js +1 -0
  55. package/dist-cli-web/assets/EChartWordcloud-CHVtyPR7.js +1 -0
  56. package/dist-cli-web/assets/FileDropZone.vue_vue_type_script_setup_true_lang-BKPy9Qv-.js +1 -0
  57. package/dist-cli-web/assets/{Filter-yxkeHO78.js → Filter-CMfRHIoK.js} +1 -1
  58. package/dist-cli-web/assets/GlobalTaskBar-Jz6MASCu.js +1 -0
  59. package/dist-cli-web/assets/GlobalTaskBar-haLzezqY.css +1 -0
  60. package/dist-cli-web/assets/GroupRelationshipGalaxyView-Ch4obfEq.js +1 -0
  61. package/dist-cli-web/assets/Label-CuryuymO.js +1 -0
  62. package/dist-cli-web/assets/LoadingState.vue_vue_type_script_setup_true_lang-CoeQsaiL.js +1 -0
  63. package/dist-cli-web/assets/MessageExportModal-JqGZ-iLr.js +1 -0
  64. package/dist-cli-web/assets/PageHeader-CPLgiKT8.css +1 -0
  65. package/dist-cli-web/assets/PageHeader-D4up77TB.js +1 -0
  66. package/dist-cli-web/assets/{PageTabs.vue_vue_type_script_setup_true_lang-_j82asQU.js → PageTabs.vue_vue_type_script_setup_true_lang-DYQRFk9s.js} +1 -1
  67. package/dist-cli-web/assets/{RelationshipGalaxyCanvas-BODk18aA.js → RelationshipGalaxyCanvas-Cn7Eta5U.js} +3 -3
  68. package/dist-cli-web/assets/{RelationshipGalaxyThreeCanvas-BJyuRiC-.js → RelationshipGalaxyThreeCanvas-LlaX57z6.js} +1 -1
  69. package/dist-cli-web/assets/{RenderTargetSystem-CVMvAUSv.js → RenderTargetSystem-JhA2PUFi.js} +1 -1
  70. package/dist-cli-web/assets/{RovingFocusItem-DC_06OmN.js → RovingFocusItem-DHaiTb4j.js} +1 -1
  71. package/dist-cli-web/assets/{ScreenCaptureModal-DrBFDOtC.js → ScreenCaptureModal-Bxhyt5g1.js} +1 -1
  72. package/dist-cli-web/assets/SectionTabs.vue_vue_type_script_setup_true_lang-BlAje3Tf.js +1 -0
  73. package/dist-cli-web/assets/Select-Beeqv0wU.js +1 -0
  74. package/dist-cli-web/assets/SettingsModal-DV8yDBJs.js +2 -0
  75. package/dist-cli-web/assets/{StorageTab-B0ebN0f8.js → StorageTab-B7GHadia.js} +1 -1
  76. package/dist-cli-web/assets/Switch-u4zlvUMa.js +1 -0
  77. package/dist-cli-web/assets/{Tabs-N3Q-Mpqi.js → Tabs-B7-Koq3x.js} +1 -1
  78. package/dist-cli-web/assets/Tabs-RWKHwtfM.js +1 -0
  79. package/dist-cli-web/assets/ThemeCard.vue_vue_type_script_setup_true_lang-ndsa3-aT.js +1 -0
  80. package/dist-cli-web/assets/{TimeSelect.vue_vue_type_script_setup_true_lang-Ccunouyf.js → TimeSelect.vue_vue_type_script_setup_true_lang-DKa1flT-.js} +1 -1
  81. package/dist-cli-web/assets/{VisuallyHiddenInput-OAJEt_Y5.js → VisuallyHiddenInput-DGDqcvUy.js} +1 -1
  82. package/dist-cli-web/assets/{WebGLRenderer-DuUeftYD.js → WebGLRenderer-ifvgA1fe.js} +1 -1
  83. package/dist-cli-web/assets/{WebGPURenderer-DoWQxiWZ.js → WebGPURenderer-DwzmuWF0.js} +1 -1
  84. package/dist-cli-web/assets/aiChat-BY4C3UQe.js +8 -0
  85. package/dist-cli-web/assets/base-BWDX-164.js +1 -0
  86. package/dist-cli-web/assets/{browserAll-Cb-mtR2y.js → browserAll-CSIIETeE.js} +1 -1
  87. package/dist-cli-web/assets/chatMessages--r0obAVw.css +1 -0
  88. package/dist-cli-web/assets/chatMessages-Zywjea1n.js +147 -0
  89. package/dist-cli-web/assets/cli-web-BRY49NWe.js +1 -0
  90. package/dist-cli-web/assets/{fetch-BbcFaCRB.js → fetch-Bf4cqeM3.js} +1 -1
  91. package/dist-cli-web/assets/{fetch-B-6tyYWu.js → fetch-BiXab0IF.js} +1 -1
  92. package/dist-cli-web/assets/{fetch-DEub4tOo.js → fetch-C8CcoTWY.js} +1 -1
  93. package/dist-cli-web/assets/{fetch-Qs38Hx1V.js → fetch-Co2vLmiE.js} +1 -1
  94. package/dist-cli-web/assets/{fetch-DLTlYnDB.js → fetch-D3nLtFBi.js} +1 -1
  95. package/dist-cli-web/assets/{fetch-BkA_so1e.js → fetch-DNSDHSqQ.js} +1 -1
  96. package/dist-cli-web/assets/{fetch-sYDJ-Zs8.js → fetch-DeHqF6yL.js} +1 -1
  97. package/dist-cli-web/assets/{fetch-B4PYy5JS.js → fetch-jx1VdM9j.js} +3 -3
  98. package/dist-cli-web/assets/{fetch-CW2fKvGp.js → fetch-mYSeL4Ki.js} +1 -1
  99. package/dist-cli-web/assets/fetch-qBaUXqFt.js +1 -0
  100. package/dist-cli-web/assets/{fetch-BzXuAaT3.js → fetch-r6mhEGrP.js} +1 -1
  101. package/dist-cli-web/assets/{fetch-AvsnJLWJ.js → fetch-wzv71PYy.js} +1 -1
  102. package/dist-cli-web/assets/{host-DYIkQqvY.js → host-1emQf9_4.js} +1 -1
  103. package/dist-cli-web/assets/{host-B6SQ6OGo.js → host-jXJHyyOX.js} +1 -1
  104. package/dist-cli-web/assets/index-2dJCozDq.js +64 -0
  105. package/dist-cli-web/assets/index-6ejRbH3h.js +2 -0
  106. package/dist-cli-web/assets/index-B4mJkX_d.js +1 -0
  107. package/dist-cli-web/assets/index-B7biznha.js +1 -0
  108. package/dist-cli-web/assets/index-BOcFyPCa.js +1 -0
  109. package/dist-cli-web/assets/index-BQ463TS7.js +1 -0
  110. package/dist-cli-web/assets/index-BZpR015e.css +1 -0
  111. package/dist-cli-web/assets/index-BgelKQTW.css +1 -0
  112. package/dist-cli-web/assets/index-C1A1FwpO.css +1 -0
  113. package/dist-cli-web/assets/index-CIIyg_o9.css +1 -0
  114. package/dist-cli-web/assets/{index-CShh95fU.js → index-CYc_VLgK.js} +1 -1
  115. package/dist-cli-web/assets/index-ClHMs0-a.js +2 -0
  116. package/dist-cli-web/assets/{index-D64XYYts.js → index-Cw0IhKZ6.js} +10 -10
  117. package/dist-cli-web/assets/{index-C_OS8Y8W.js → index-DOqbUvhA.js} +1 -1
  118. package/dist-cli-web/assets/index-DnpnIyle.js +135 -0
  119. package/dist-cli-web/assets/index-LV9LfFNu.js +1 -0
  120. package/dist-cli-web/assets/index-kePiJ3ca.js +137 -0
  121. package/dist-cli-web/assets/index-slDUxib2.js +1 -0
  122. package/dist-cli-web/assets/{people-page-header-0jvXFFnh.js → people-page-header-Cx5r9Bk2.js} +1 -1
  123. package/dist-cli-web/assets/{prompt-BPYj29Vq.js → prompt-BggEDxxi.js} +1 -1
  124. package/dist-cli-web/assets/{semantic-index-config-builder-vO37z355.js → semantic-index-config-builder-1sO0aEc1.js} +1 -1
  125. package/dist-cli-web/assets/{service-D29Vftq9.js → service-Bvq1fRkC.js} +1 -1
  126. package/dist-cli-web/assets/service-DkPheDt8.js +1 -0
  127. package/dist-cli-web/assets/service-DvI8O_7K.js +1 -0
  128. package/dist-cli-web/assets/useFormControl-B0aShtLp.js +1 -0
  129. package/dist-cli-web/assets/useTable-DC7oxmBl.js +1 -0
  130. package/dist-cli-web/assets/{useToast-BA0EwImD.js → useToast-CCPBE-Sy.js} +1 -1
  131. package/dist-cli-web/assets/{vendor-echarts-hTLhTs52.js → vendor-echarts-C9ugTmum.js} +1 -1
  132. package/dist-cli-web/assets/{vendor-echarts-wordcloud-B8CF_NgP.js → vendor-echarts-wordcloud-DNiU8Psq.js} +1 -1
  133. package/dist-cli-web/assets/{webworkerAll-ZPE_yGnC.js → webworkerAll-FCJk6reG.js} +1 -1
  134. package/dist-cli-web/index.html +2 -2
  135. package/package.json +1 -1
  136. package/dist/chunk-2JPFBIAG.mjs.map +0 -1
  137. package/dist/chunk-6QP47LID.mjs +0 -41
  138. package/dist/chunk-6QP47LID.mjs.map +0 -1
  139. package/dist/chunk-FJOGBUXU.mjs.map +0 -1
  140. package/dist/chunk-JOVL7OTW.mjs.map +0 -1
  141. package/dist/chunk-L7TIIVAY.mjs.map +0 -1
  142. package/dist/chunk-NFTCEJBJ.mjs.map +0 -1
  143. package/dist/chunk-Q3NEL2KK.mjs.map +0 -1
  144. package/dist/chunk-R73XMAB2.mjs.map +0 -1
  145. package/dist/chunk-X2QBH24F.mjs.map +0 -1
  146. package/dist-cli-web/assets/AISettingsTab-vvjijrc5.js +0 -1
  147. package/dist-cli-web/assets/ActionToolsPanel-Dp-ojXjO.css +0 -1
  148. package/dist-cli-web/assets/ActionToolsPanel.vue_vue_type_script_setup_true_lang-w0hHEodr.js +0 -110
  149. package/dist-cli-web/assets/ApiSettingsTab-CK7U6dVA.js +0 -2
  150. package/dist-cli-web/assets/BatchManageTab-1WnEqqpB.js +0 -1
  151. package/dist-cli-web/assets/ChatRecordDrawer-Bp6OSCrz.js +0 -1
  152. package/dist-cli-web/assets/Checkbox-Ci7IeRw1.js +0 -1
  153. package/dist-cli-web/assets/DataDirCleanupNotice-Dh63pOLt.js +0 -1
  154. package/dist-cli-web/assets/EChart.vue_vue_type_script_setup_true_lang-YeqmodwE.js +0 -1
  155. package/dist-cli-web/assets/EChartBar.vue_vue_type_script_setup_true_lang-C3pZmq0v.js +0 -1
  156. package/dist-cli-web/assets/EChartLine.vue_vue_type_script_setup_true_lang-Co6olfwv.js +0 -1
  157. package/dist-cli-web/assets/EChartWordcloud-rDusZwSq.js +0 -1
  158. package/dist-cli-web/assets/GlobalTaskBar-BlZ-fFiq.js +0 -1
  159. package/dist-cli-web/assets/GlobalTaskBar-COW_uBX6.css +0 -1
  160. package/dist-cli-web/assets/GroupRelationshipGalaxyView-BXQBX0zJ.js +0 -1
  161. package/dist-cli-web/assets/Label-CFAZFBQX.js +0 -1
  162. package/dist-cli-web/assets/LoadingState.vue_vue_type_script_setup_true_lang-CwgpqtMZ.js +0 -1
  163. package/dist-cli-web/assets/MessageExportModal-DU71grc7.js +0 -1
  164. package/dist-cli-web/assets/PageHeader-BDPf4NuI.js +0 -1
  165. package/dist-cli-web/assets/PageHeader-XIXMTomn.css +0 -1
  166. package/dist-cli-web/assets/SectionTabs.vue_vue_type_script_setup_true_lang-C-Zj2biH.js +0 -1
  167. package/dist-cli-web/assets/Select-DLK2LYhO.js +0 -1
  168. package/dist-cli-web/assets/SettingsModal-DqaR4Dx5.js +0 -2
  169. package/dist-cli-web/assets/Switch-CokhQWxm.js +0 -1
  170. package/dist-cli-web/assets/Tabs-D1UiZNaZ.js +0 -1
  171. package/dist-cli-web/assets/ThemeCard.vue_vue_type_script_setup_true_lang-OT-I0mbU.js +0 -1
  172. package/dist-cli-web/assets/aiChat-CdADfRnU.js +0 -8
  173. package/dist-cli-web/assets/cli-web-BHQCZLLg.js +0 -1
  174. package/dist-cli-web/assets/fetch-ul8-uQIb.js +0 -1
  175. package/dist-cli-web/assets/index--IEkRjKe.js +0 -64
  176. package/dist-cli-web/assets/index-9iaY_EWG.js +0 -1
  177. package/dist-cli-web/assets/index-B4J99zv3.css +0 -1
  178. package/dist-cli-web/assets/index-BBeqtL8d.css +0 -1
  179. package/dist-cli-web/assets/index-BnaLj2dx.css +0 -1
  180. package/dist-cli-web/assets/index-C7omDgiJ.js +0 -2
  181. package/dist-cli-web/assets/index-CHsM84U1.js +0 -2
  182. package/dist-cli-web/assets/index-CL8u01Pf.js +0 -137
  183. package/dist-cli-web/assets/index-DrCc8p_I.css +0 -1
  184. package/dist-cli-web/assets/index-UpTe1KzQ.js +0 -1
  185. package/dist-cli-web/assets/index-a8Hw6eD8.js +0 -1
  186. package/dist-cli-web/assets/index-jwjzZNKm.js +0 -1
  187. package/dist-cli-web/assets/index-pkxlF8Ee.js +0 -1
  188. package/dist-cli-web/assets/index-sWxuTsa7.js +0 -36
  189. package/dist-cli-web/assets/service-CVoA9yNf.js +0 -1
  190. package/dist-cli-web/assets/service-DMysyLCa.js +0 -1
  191. package/dist-cli-web/assets/useFormControl-DVawP2DO.js +0 -1
  192. package/dist-cli-web/assets/useTable-Bv3R_Hux.js +0 -1
  193. /package/dist/{chunk-NQHZPSW2.mjs.map → chunk-N2WGG3MS.mjs.map} +0 -0
  194. /package/dist/{chunk-67HNPYZJ.mjs.map → chunk-RXMSZIYD.mjs.map} +0 -0
  195. /package/dist/{chunk-5MJO4AJB.mjs.map → chunk-SQWN4GTQ.mjs.map} +0 -0
  196. /package/dist/{http-5RVY5J5U.mjs.map → http-X6OEOOSH.mjs.map} +0 -0
  197. /package/dist/{import-ILTWVHKU.mjs.map → import-WBJ6YIQ7.mjs.map} +0 -0
  198. /package/dist/{mcp-Y2YXOFB4.mjs.map → mcp-FR6OKWKL.mjs.map} +0 -0
  199. /package/dist/{src-OV5ZNE3Z.mjs.map → src-WE5HNN2O.mjs.map} +0 -0
  200. /package/dist/{stream-import-XOUM3Z5W.mjs.map → stream-import-YYQVZDGQ.mjs.map} +0 -0
  201. /package/dist/{worker-runtime-JNGURHDM.mjs.map → worker-runtime-YGB5ZDE4.mjs.map} +0 -0
@@ -0,0 +1 @@
1
+ .fade-enter-active[data-v-8da082e6],.fade-leave-active[data-v-8da082e6]{transition:opacity .15s ease}.fade-enter-from[data-v-8da082e6],.fade-leave-to[data-v-8da082e6]{opacity:0}.tab-slide-enter-active[data-v-b0a4ab03]{transition:opacity .2s ease,transform .2s ease}.tab-slide-enter-from[data-v-b0a4ab03]{opacity:0;transform:translateY(10px)}
@@ -0,0 +1 @@
1
+ .insight-tab-slide-enter-active[data-v-7e7305c7],.insight-tab-slide-leave-active[data-v-7e7305c7]{transition:opacity .2s ease,transform .2s ease}.insight-tab-slide-enter-from[data-v-7e7305c7]{opacity:0;transform:translateY(10px)}.insight-tab-slide-leave-to[data-v-7e7305c7]{opacity:0;transform:translateY(-10px)}
@@ -0,0 +1 @@
1
+ .tab-slide-enter-active[data-v-6b7cb7f9]{transition:opacity .2s ease,transform .2s ease}.tab-slide-enter-from[data-v-6b7cb7f9]{opacity:0;transform:translateY(10px)}
@@ -1 +1 @@
1
- import{aq as F,ar as U,E as z,b5 as W,r as g,aU as D,b6 as N,J as E,o as d,c as L,w as x,i as c,n as u,e as t,h as m,z as y,b as h,a6 as b,p as l,l as _,P as K,f as w,av as S,au as O,H as P,b7 as A,b8 as R,a as M,a3 as H,ax as J,aC as T,ay as G,aP as Q,ap as X,a5 as Y}from"./index-sWxuTsa7.js";import{_ as Z}from"./Checkbox-Ci7IeRw1.js";import{L as ee}from"./Label-CFAZFBQX.js";import{_ as te}from"./ThemeCard.vue_vue_type_script_setup_true_lang-OT-I0mbU.js";import"./vendor-snapdom--nZvo8Sg.js";import"./useFormControl-DVawP2DO.js";import"./VisuallyHiddenInput-OAJEt_Y5.js";import"./RovingFocusItem-DC_06OmN.js";const ae={slots:{root:"",wrapper:"",labelWrapper:"flex content-center items-center justify-between gap-1",label:"block font-medium text-default",container:"relative",description:"text-muted",error:"mt-2 text-error",hint:"text-muted",help:"mt-2 text-muted"},variants:{size:{xs:{root:"text-xs"},sm:{root:"text-xs"},md:{root:"text-sm"},lg:{root:"text-sm"},xl:{root:"text-base"}},required:{true:{label:"after:content-['*'] after:ms-0.5 after:text-error"}},orientation:{vertical:{container:"mt-1"},horizontal:{root:"flex justify-between place-items-baseline gap-2"}}},defaultVariants:{size:"md"}},re=["id"],oe=["id"],se=["id"],le=["id"],ne={__name:"FormField",props:{as:{type:null,required:!1},name:{type:String,required:!1},errorPattern:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},help:{type:String,required:!1},error:{type:[Boolean,String],required:!1,default:void 0},hint:{type:String,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},eagerValidation:{type:Boolean,required:!1},validateOnInputDelay:{type:Number,required:!1},orientation:{type:null,required:!1,default:"vertical"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(V){const s=V,n=F(),e=U("formField",s),k=O(),r=w(()=>S({extend:S(ae),...k.ui?.formField||{}})({size:e.size,required:e.required,orientation:e.orientation})),v=z(W,null),o=w(()=>e.error||v?.value?.find(a=>a.name===e.name||e.errorPattern&&a.name?.match(e.errorPattern))?.message),i=g(D()),f=i.value,q=z(N,void 0);return E(i,()=>{q&&e.name&&(q.value[e.name]={id:i.value,pattern:e.errorPattern})},{immediate:!0}),P(A,i),P(R,w(()=>({error:o.value,name:e.name,size:e.size,eagerValidation:e.eagerValidation,validateOnInputDelay:e.validateOnInputDelay,errorPattern:e.errorPattern,hint:e.hint,description:e.description,help:e.help,ariaId:f}))),(a,p)=>(d(),L(t(K),{as:t(e).as,"data-orientation":t(e).orientation,"data-slot":"root",class:u(r.value.root({class:[t(e).ui?.root,t(e).class]}))},{default:x(()=>[c("div",{"data-slot":"wrapper",class:u(r.value.wrapper({class:t(e).ui?.wrapper}))},[t(e).label||n.label?(d(),m("div",{key:0,"data-slot":"labelWrapper",class:u(r.value.labelWrapper({class:t(e).ui?.labelWrapper}))},[y(t(ee),{for:i.value,"data-slot":"label",class:u(r.value.label({class:t(e).ui?.label}))},{default:x(()=>[h(a.$slots,"label",{label:t(e).label},()=>[b(l(t(e).label),1)])]),_:3},8,["for","class"]),t(e).hint||n.hint?(d(),m("span",{key:0,id:`${t(f)}-hint`,"data-slot":"hint",class:u(r.value.hint({class:t(e).ui?.hint}))},[h(a.$slots,"hint",{hint:t(e).hint},()=>[b(l(t(e).hint),1)])],10,re)):_("",!0)],2)):_("",!0),t(e).description||n.description?(d(),m("p",{key:1,id:`${t(f)}-description`,"data-slot":"description",class:u(r.value.description({class:t(e).ui?.description}))},[h(a.$slots,"description",{description:t(e).description},()=>[b(l(t(e).description),1)])],10,oe)):_("",!0)],2),c("div",{class:u([(t(e).label||!!n.label||t(e).description||!!n.description)&&r.value.container({class:t(e).ui?.container})])},[h(a.$slots,"default",{error:o.value}),t(e).error!==!1&&(typeof o.value=="string"&&o.value||n.error)?(d(),m("div",{key:0,id:`${t(f)}-error`,"data-slot":"error",class:u(r.value.error({class:t(e).ui?.error}))},[h(a.$slots,"error",{error:o.value},()=>[b(l(o.value),1)])],10,se)):t(e).help||n.help?(d(),m("div",{key:1,id:`${t(f)}-help`,"data-slot":"help",class:u(r.value.help({class:t(e).ui?.help}))},[h(a.$slots,"help",{help:t(e).help},()=>[b(l(t(e).help),1)])],10,le)):_("",!0)],2)]),_:3},8,["as","data-orientation","class"]))}},ie={class:"flex min-h-screen items-center justify-center bg-gray-50 dark:bg-page-dark"},ue={class:"text-center"},ce={class:"mt-2 text-sm text-gray-500 dark:text-gray-400"},de={key:0,class:"text-sm text-red-500"},pe={class:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},me={class:"text-center text-xs text-gray-400 dark:text-gray-500"},fe={key:0,class:"text-center text-xs text-amber-500 dark:text-amber-400"},qe=M({__name:"index",setup(V){const{t:s}=H(),n=J(),e=T(),k=G(),r=g(""),v=g(k.rememberDevice),o=g(""),i=g(!1);function f(a){return!a||!a.startsWith("/")||a.startsWith("/login")?"/":a}async function q(){const a=r.value.trim();if(!a){o.value=s("common.login.errorEmpty");return}i.value=!0,o.value="";try{if(!(await fetch("/api/v1/status",{headers:{Authorization:`Bearer ${a}`}})).ok){o.value=s("common.login.errorInvalid");return}k.login(a,v.value);const $=f(e.query.redirect);n.replace($)}catch{o.value=s("common.login.errorNetwork")}finally{i.value=!1}}return(a,p)=>{const $=X,C=ne,j=Z,B=Y;return d(),m("div",ie,[y(t(te),{class:"w-full max-w-sm space-y-6 p-8"},{default:x(()=>[c("div",ue,[p[2]||(p[2]=c("h1",{class:"text-2xl font-bold text-gray-900 dark:text-white"},"ChatLab",-1)),c("p",ce,l(t(s)("common.login.description")),1)]),c("form",{class:"space-y-4",onSubmit:Q(q,["prevent"])},[y(C,{label:t(s)("common.login.tokenLabel")},{default:x(()=>[y($,{modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=I=>r.value=I),type:"password",placeholder:t(s)("common.login.tokenPlaceholder"),autocomplete:"off",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o.value?(d(),m("p",de,l(o.value),1)):_("",!0),c("label",pe,[y(j,{modelValue:v.value,"onUpdate:modelValue":p[1]||(p[1]=I=>v.value=I)},null,8,["modelValue"]),c("span",null,l(t(s)("common.login.rememberDevice")),1)]),y(B,{type:"submit",block:"",loading:i.value,color:"primary"},{default:x(()=>[b(l(t(s)("common.login.submit")),1)]),_:1},8,["loading"])],32),c("p",me,l(t(s)("common.login.hint")),1),v.value?(d(),m("p",fe,l(t(s)("common.login.rememberWarning")),1)):_("",!0)]),_:1})])}}});export{qe as default};
1
+ import{ar as W,as as D,E as z,b6 as F,b as g,aW as N,b7 as U,K as E,o as d,f as K,w as x,a as c,n as u,g as t,c as m,z as y,r as h,a9 as b,p as l,l as _,P as L,e as w,aw as S,av as O,H as P,b8 as R,b9 as A,d as M,a6 as H,ay as T,aD as G,az as J,aR as Q,aq as X,a8 as Y}from"./index-DnpnIyle.js";import{_ as Z}from"./Checkbox-B8uqt13j.js";import{L as ee}from"./Label-CuryuymO.js";import{_ as te}from"./ThemeCard.vue_vue_type_script_setup_true_lang-ndsa3-aT.js";import"./vendor-snapdom--nZvo8Sg.js";import"./useFormControl-B0aShtLp.js";import"./VisuallyHiddenInput-DGDqcvUy.js";import"./RovingFocusItem-DHaiTb4j.js";const ae={slots:{root:"",wrapper:"",labelWrapper:"flex content-center items-center justify-between gap-1",label:"block font-medium text-default",container:"relative",description:"text-muted",error:"mt-2 text-error",hint:"text-muted",help:"mt-2 text-muted"},variants:{size:{xs:{root:"text-xs"},sm:{root:"text-xs"},md:{root:"text-sm"},lg:{root:"text-sm"},xl:{root:"text-base"}},required:{true:{label:"after:content-['*'] after:ms-0.5 after:text-error"}},orientation:{vertical:{container:"mt-1"},horizontal:{root:"flex justify-between place-items-baseline gap-2"}}},defaultVariants:{size:"md"}},re=["id"],oe=["id"],se=["id"],le=["id"],ne={__name:"FormField",props:{as:{type:null,required:!1},name:{type:String,required:!1},errorPattern:{type:null,required:!1},label:{type:String,required:!1},description:{type:String,required:!1},help:{type:String,required:!1},error:{type:[Boolean,String],required:!1,default:void 0},hint:{type:String,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},eagerValidation:{type:Boolean,required:!1},validateOnInputDelay:{type:Number,required:!1},orientation:{type:null,required:!1,default:"vertical"},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(V){const s=V,n=W(),e=D("formField",s),k=O(),r=w(()=>S({extend:S(ae),...k.ui?.formField||{}})({size:e.size,required:e.required,orientation:e.orientation})),v=z(F,null),o=w(()=>e.error||v?.value?.find(a=>a.name===e.name||e.errorPattern&&a.name?.match(e.errorPattern))?.message),i=g(N()),f=i.value,q=z(U,void 0);return E(i,()=>{q&&e.name&&(q.value[e.name]={id:i.value,pattern:e.errorPattern})},{immediate:!0}),P(R,i),P(A,w(()=>({error:o.value,name:e.name,size:e.size,eagerValidation:e.eagerValidation,validateOnInputDelay:e.validateOnInputDelay,errorPattern:e.errorPattern,hint:e.hint,description:e.description,help:e.help,ariaId:f}))),(a,p)=>(d(),K(t(L),{as:t(e).as,"data-orientation":t(e).orientation,"data-slot":"root",class:u(r.value.root({class:[t(e).ui?.root,t(e).class]}))},{default:x(()=>[c("div",{"data-slot":"wrapper",class:u(r.value.wrapper({class:t(e).ui?.wrapper}))},[t(e).label||n.label?(d(),m("div",{key:0,"data-slot":"labelWrapper",class:u(r.value.labelWrapper({class:t(e).ui?.labelWrapper}))},[y(t(ee),{for:i.value,"data-slot":"label",class:u(r.value.label({class:t(e).ui?.label}))},{default:x(()=>[h(a.$slots,"label",{label:t(e).label},()=>[b(l(t(e).label),1)])]),_:3},8,["for","class"]),t(e).hint||n.hint?(d(),m("span",{key:0,id:`${t(f)}-hint`,"data-slot":"hint",class:u(r.value.hint({class:t(e).ui?.hint}))},[h(a.$slots,"hint",{hint:t(e).hint},()=>[b(l(t(e).hint),1)])],10,re)):_("",!0)],2)):_("",!0),t(e).description||n.description?(d(),m("p",{key:1,id:`${t(f)}-description`,"data-slot":"description",class:u(r.value.description({class:t(e).ui?.description}))},[h(a.$slots,"description",{description:t(e).description},()=>[b(l(t(e).description),1)])],10,oe)):_("",!0)],2),c("div",{class:u([(t(e).label||!!n.label||t(e).description||!!n.description)&&r.value.container({class:t(e).ui?.container})])},[h(a.$slots,"default",{error:o.value}),t(e).error!==!1&&(typeof o.value=="string"&&o.value||n.error)?(d(),m("div",{key:0,id:`${t(f)}-error`,"data-slot":"error",class:u(r.value.error({class:t(e).ui?.error}))},[h(a.$slots,"error",{error:o.value},()=>[b(l(o.value),1)])],10,se)):t(e).help||n.help?(d(),m("div",{key:1,id:`${t(f)}-help`,"data-slot":"help",class:u(r.value.help({class:t(e).ui?.help}))},[h(a.$slots,"help",{help:t(e).help},()=>[b(l(t(e).help),1)])],10,le)):_("",!0)],2)]),_:3},8,["as","data-orientation","class"]))}},ie={class:"flex min-h-screen items-center justify-center bg-gray-50 dark:bg-page-dark"},ue={class:"text-center"},ce={class:"mt-2 text-sm text-gray-500 dark:text-gray-400"},de={key:0,class:"text-sm text-red-500"},pe={class:"flex items-center gap-2 text-sm text-gray-600 dark:text-gray-400"},me={class:"text-center text-xs text-gray-400 dark:text-gray-500"},fe={key:0,class:"text-center text-xs text-amber-500 dark:text-amber-400"},qe=M({__name:"index",setup(V){const{t:s}=H(),n=T(),e=G(),k=J(),r=g(""),v=g(k.rememberDevice),o=g(""),i=g(!1);function f(a){return!a||!a.startsWith("/")||a.startsWith("/login")?"/":a}async function q(){const a=r.value.trim();if(!a){o.value=s("common.login.errorEmpty");return}i.value=!0,o.value="";try{if(!(await fetch("/api/v1/status",{headers:{Authorization:`Bearer ${a}`}})).ok){o.value=s("common.login.errorInvalid");return}k.login(a,v.value);const $=f(e.query.redirect);n.replace($)}catch{o.value=s("common.login.errorNetwork")}finally{i.value=!1}}return(a,p)=>{const $=X,j=ne,B=Z,C=Y;return d(),m("div",ie,[y(t(te),{class:"w-full max-w-sm space-y-6 p-8"},{default:x(()=>[c("div",ue,[p[2]||(p[2]=c("h1",{class:"text-2xl font-bold text-gray-900 dark:text-white"},"ChatLab",-1)),c("p",ce,l(t(s)("common.login.description")),1)]),c("form",{class:"space-y-4",onSubmit:Q(q,["prevent"])},[y(j,{label:t(s)("common.login.tokenLabel")},{default:x(()=>[y($,{modelValue:r.value,"onUpdate:modelValue":p[0]||(p[0]=I=>r.value=I),type:"password",placeholder:t(s)("common.login.tokenPlaceholder"),autocomplete:"off",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),o.value?(d(),m("p",de,l(o.value),1)):_("",!0),c("label",pe,[y(B,{modelValue:v.value,"onUpdate:modelValue":p[1]||(p[1]=I=>v.value=I)},null,8,["modelValue"]),c("span",null,l(t(s)("common.login.rememberDevice")),1)]),y(C,{type:"submit",block:"",loading:i.value,color:"primary"},{default:x(()=>[b(l(t(s)("common.login.submit")),1)]),_:1},8,["loading"])],32),c("p",me,l(t(s)("common.login.hint")),1),v.value?(d(),m("p",fe,l(t(s)("common.login.rememberWarning")),1)):_("",!0)]),_:1})])}}});export{qe as default};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RelationshipGalaxyThreeCanvas-LlaX57z6.js","assets/index-DnpnIyle.js","assets/vendor-snapdom--nZvo8Sg.js","assets/index-BZpR015e.css","assets/relationship-galaxy-connections-Cg4G5yYE.js","assets/relationship-galaxy-viewport-Cwfa51ER.js","assets/RelationshipGalaxyThreeCanvas-CCasBcBQ.css","assets/RelationshipGalaxyCanvas-Cn7Eta5U.js"])))=>i.map(i=>d[i]);
2
+ import{d as Rt,a6 as Tt,L as Nt,K as de,x as Mt,al as It,o as y,c as k,a as n,f as te,g,z as M,a1 as Pt,w as he,a8 as Lt,aQ as Et,aq as Gt,p as i,F as Ne,j as Me,n as Ie,aN as Pe,l as L,a9 as Le,O as Kt,bs as Ue,b as m,e as h,C as ae,bt as qe,bv as Vt}from"./index-DnpnIyle.js";import{_ as At}from"./Tabs-RWKHwtfM.js";import{u as Ft}from"./useToast-CCPBE-Sy.js";import{_ as $t}from"./LoadingState.vue_vue_type_script_setup_true_lang-CoeQsaiL.js";import{u as zt}from"./people-page-header-Cx5r9Bk2.js";import{b as Ot,a as Dt}from"./relationship-galaxy-connections-Cg4G5yYE.js";const jt=10,Ye=80,Bt=2880*60*60,Qe=.1;function Ht(e,l,r={}){if(!l)return{items:[],total:0,hasMore:!1};const b=new Map(e.nodes.map(v=>[v.key,v])),a=e.edges.flatMap(v=>{if(v.sourceKey!==l&&v.targetKey!==l)return[];const _=v.sourceKey===l?v.targetKey:v.sourceKey,K=b.get(_);return K?[{node:K,edge:v,connectionScore:0}]:[]}),u=a.reduce((v,_)=>Math.max(v,_.edge.lastInteractionTs??0),0),E=new Map(a.map(v=>[v,Ee(v.edge,u)]));for(const v of a)v.connectionScore=Ut(E.get(v)??0);a.sort((v,_)=>qt(v,_,u));const G=r.collapsedLimit??jt;return{items:r.expanded?a:a.slice(0,G),total:a.length,hasMore:!r.expanded&&a.length>G}}function Eo(e,l,r={}){return Dt(e,l,{limit:r.limit??Ye})}function Go(e,l,r={}){return Ot(e,l,r)}function Ut(e){return e<=0?0:Math.max(1,Math.round(e))}function qt(e,l,r){const b=Ee(l.edge,r),a=Ee(e.edge,r);if(b!==a)return b-a;if(l.edge.weight!==e.edge.weight)return l.edge.weight-e.edge.weight;const u=l.edge.lastInteractionTs??0,E=e.edge.lastInteractionTs??0;return u!==E?u-E:e.node.rank!==l.node.rank?e.node.rank-l.node.rank:e.node.key.localeCompare(l.node.key)}function Ee(e,l){if(!e.lastInteractionTs||l<=0)return e.weight;const r=Math.max(0,l-e.lastInteractionTs),b=Qe+(1-Qe)*Math.pow(.5,r/Bt);return e.weight*b}function We(e){return e.selectedKey&&e.selectedKey===e.loadingNeighborhoodKey?e.currentCanvasSelectedKey:e.selectedKey}function Qt(e){return e.selectedKey?e.isNeighborhoodMode?e.selectedKey!==e.neighborhoodContactKey:!0:!1}function Wt(e){return e.neighborhoodTask?.status==="running"?e.neighborhoodTask:e.graphTask?.status==="running"?e.graphTask:e.isNeighborhoodMode&&e.neighborhoodTask?e.neighborhoodTask:e.graphTask??e.neighborhoodTask??null}function Yt(e){return e.nextTaskStatus==="running"?{type:"continue-polling"}:e.previousTaskStatus==="running"&&e.nextTaskStatus==="succeeded"&&e.neighborhoodContactKey?{type:"refresh-neighborhood",key:e.neighborhoodContactKey}:{type:"stop-polling"}}function Xt(e){return e.loadError?e.loadError:e.isTaskFailed&&e.statusText?e.statusText:e.emptyText}const Jt=new RegExp("\\p{Script=Han}","u");function Xe(e){const l=e?.trim()??"";if(!l)return"*";const r=Array.from(l),b=[...r].reverse().find(a=>Jt.test(a));return b?`**${b}`:r.length===1?"*":r.length===2?`${r[0]}***`:`${r[0]}***${r.at(-1)}`}function Je(e,l){if(e.kind==="owner")return l.ownerLabel;const r=e.displayName||e.platformId||e.key;return l.privacyMode?Xe(r):r}function Zt(e,l){return e.kind==="owner"?l.ownerLabel:l.privacyMode?"*":(e.displayName||e.platformId||"?").slice(0,1)}function ea(e,l){return e.kind==="owner"?e.avatar:l?null:e.avatar}function ta(e,l){const r=e.platformId||e.key;return l?Xe(r):r}const aa="3d";function oa(e){return e==="3d"?"2d":e}function na(e,l,r){return l||r?r:e?.captureView()??null}function sa(e,l){return l&&e?.restoreView(l)===!0?!0:(e?.fitView(),!1)}function la(e,l){return{nodes:e.nodes.map(r=>({...r,displayName:Je(r,l),visualRole:r.kind==="owner"?"anchor":r.pool==="friend"?"close":"standard",importance:ca(r)})),edges:e.edges.map(r=>({...r})),communities:e.communities.map(r=>({...r}))}}function ra(e,l){const r=new Map(e.nodes.map(u=>[u.key,u])),b=new Map(e.edges.map(u=>[u.id,u])),a=new Map(e.communities.map(u=>[u.id,u]));for(const u of l.nodes)r.has(u.key)||r.set(u.key,u);for(const u of l.edges)b.set(u.id,u);for(const u of l.communities)a.has(u.id)||a.set(u.id,u);return{nodes:[...r.values()],edges:[...b.values()],communities:[...a.values()]}}function ia(e){const l=e.selectedKey;return!l||!e.neighborhood||!e.neighborhood.nodes.some(r=>r.key===l)?e.panorama:ra(e.panorama,e.neighborhood)}function ca(e){if(e.kind==="owner")return 1;const l=oe(e.score,0,1),r=oe(1-(e.rank-1)/120,0,1),b=oe(Math.log10(e.privateMessageCount+1)/4,0,1),a=oe(Math.log10(e.groupMessageCount+1)/4.5,0,1),u=e.pool==="friend"?.12:0;return oe(l*.36+r*.36+b*.18+a*.08+u,0,1)}function oe(e,l,r){return Math.min(r,Math.max(l,e))}const ua={class:"flex min-h-0 flex-1 overflow-hidden text-gray-900 dark:bg-page-dark dark:text-gray-100"},da={class:"dark relative min-h-0 min-w-0 flex-1 overflow-hidden bg-[#03050c] text-gray-100"},ha={class:"absolute left-4 top-4 z-20 flex max-w-[calc(100%-2rem)] flex-wrap items-center gap-1.5 rounded-2xl border border-white/8 bg-[#070a12]/78 p-1.5 shadow-overlay backdrop-blur-xl sm:left-6 sm:max-w-[calc(100%-3rem)]"},pa={class:"relative w-28 max-w-full sm:w-32 lg:w-36"},va={key:0,class:"absolute left-0 top-full z-30 mt-2 max-h-80 w-72 overflow-y-auto rounded-2xl border border-gray-200/80 bg-white/95 p-2 shadow-overlay backdrop-blur-xl scrollbar-thin dark:border-white/10 dark:bg-page-dark/95"},fa={class:"px-2 pb-1.5 pt-0.5 text-[11px] font-semibold uppercase tracking-wider text-gray-500 dark:text-gray-400"},ga={class:"space-y-1"},ma=["disabled","onClick"],ya={class:"min-w-0 flex-1"},xa={class:"block truncate text-sm font-semibold text-gray-900 transition-colors group-hover:text-sky-600 dark:text-white dark:group-hover:text-sky-400"},ba={class:"block truncate text-[11px] text-gray-500 dark:text-gray-400"},ka={key:0,class:"shrink-0 rounded-md bg-sky-100/60 px-1.5 py-0.5 text-[10px] font-semibold text-sky-600 dark:bg-sky-500/15 dark:text-sky-400"},wa={key:2,class:"absolute bottom-6 left-1/2 z-20 flex max-w-[min(560px,calc(100%-2rem))] -translate-x-1/2 items-center gap-2.5 rounded-2xl border border-sky-500/20 bg-[#090d16]/85 px-4 py-2.5 text-center text-xs font-semibold text-sky-200 shadow-overlay backdrop-blur-md animate-fade-in"},_a={key:4,class:"absolute inset-0 flex items-center justify-center text-sm font-medium text-gray-400"},Sa={key:5,class:"dark absolute inset-x-3 bottom-3 z-20 flex max-h-[70vh] flex-col overflow-hidden rounded-2xl border border-white/8 bg-[#070a12]/84 text-white shadow-overlay backdrop-blur-2xl md:inset-x-auto md:bottom-4 md:right-4 md:top-4 md:max-h-none md:w-[360px]"},Ca={key:0,class:"flex min-h-0 flex-1 flex-col gap-3 px-4 pb-4 pt-5"},Ra={class:"shrink-0 space-y-2.5"},Ta={class:"flex items-center gap-3 pr-8"},Na={class:"min-w-0 flex-1"},Ma={class:"flex min-w-0 items-center gap-1.5"},Ia={class:"truncate text-base font-bold text-gray-900 dark:text-white"},Pa={class:"truncate text-xs text-gray-500 dark:text-gray-400"},La={class:"grid grid-cols-3 gap-y-1 rounded-xl border border-white/8 bg-white/3 p-1 text-xs"},Ea={class:"min-w-0 px-2 py-1.5"},Ga={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},Ka={class:"flex min-w-0 items-baseline gap-0.5"},Va={class:"font-mono text-sm font-bold leading-4 text-sky-600 dark:text-sky-400"},Aa={class:"min-w-0 border-l border-white/6 px-2 py-1.5"},Fa={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},$a={class:"min-w-0 border-l border-white/6 px-2 py-1.5"},za={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},Oa={class:"block truncate font-mono text-sm font-bold leading-4 text-gray-900 dark:text-white"},Da={class:"min-w-0 border-t border-white/6 px-2 py-1.5"},ja={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},Ba={class:"block truncate font-mono text-sm font-bold leading-4 text-gray-900 dark:text-white"},Ha={class:"min-w-0 border-l border-t border-white/6 px-2 py-1.5"},Ua={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},qa={class:"block truncate font-mono text-sm font-bold leading-4 text-gray-900 dark:text-white"},Qa={class:"min-w-0 border-l border-t border-white/6 px-2 py-1.5"},Wa={class:"mb-0.5 truncate text-[9px] font-semibold uppercase leading-3 tracking-wide text-gray-400 dark:text-gray-500"},Ya={class:"block truncate text-[11px] font-semibold leading-4 text-gray-900 dark:text-white"},Xa={class:"flex min-h-0 flex-1 flex-col gap-2"},Ja={class:"flex min-h-0 flex-1 flex-col overflow-hidden border-t border-white/7 pt-3"},Za={class:"mb-2 flex shrink-0 items-center justify-between gap-3 pl-1 pr-3"},eo={class:"flex min-w-0 items-center gap-2"},to={class:"truncate text-xs font-semibold uppercase tracking-wider text-gray-500 dark:text-gray-400"},ao={class:"shrink-0 font-mono text-[10px] font-bold text-gray-400 dark:text-gray-500"},oo={class:"w-14 shrink-0 text-right text-[10px] font-semibold uppercase tracking-wider text-gray-400 dark:text-gray-500"},no={key:0,class:"min-h-0 flex-1 space-y-0.5 overflow-y-auto pr-1 scrollbar-thin"},so=["onClick"],lo={class:"min-w-0 flex-1"},ro={class:"block truncate text-[13px] font-semibold leading-4 text-gray-900 transition-colors group-hover:text-sky-600 dark:text-white dark:group-hover:text-sky-400"},io={class:"flex w-14 shrink-0 justify-end"},co={class:"font-mono text-[10px] font-bold text-gray-500 dark:text-gray-400"},uo={key:1,class:"py-4 text-center text-xs text-gray-400 dark:text-gray-500"},ho={key:0,class:"flex min-h-0 flex-1 flex-col overflow-hidden border-t border-white/7 pt-3"},po={class:"mb-2 flex shrink-0 items-center justify-between gap-3 pl-1 pr-3"},vo={class:"flex min-w-0 items-center gap-2"},fo={class:"truncate text-xs font-semibold uppercase tracking-wider text-gray-500 dark:text-gray-400"},go={class:"shrink-0 font-mono text-[10px] font-bold text-gray-400 dark:text-gray-500"},mo={class:"w-14 shrink-0 text-right text-[10px] font-semibold uppercase tracking-wider text-gray-400 dark:text-gray-500"},yo={class:"min-h-0 flex-1 space-y-0.5 overflow-y-auto pr-1 scrollbar-thin"},xo={class:"flex min-w-0 items-center gap-2"},bo={class:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md bg-white/45 shadow-sm dark:bg-white/5"},ko={class:"truncate font-semibold leading-4 text-gray-700 dark:text-gray-200"},wo={class:"flex w-14 shrink-0 justify-end"},_o={class:"font-mono text-[10px] font-bold text-gray-500 dark:text-gray-400"},So=1400,Co=392,Ro=Rt({__name:"index",setup(e){const l={nodes:[],edges:[],communities:[]},r=Ue(()=>qe(()=>import("./RelationshipGalaxyThreeCanvas-LlaX57z6.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),b=Ue(()=>qe(()=>import("./RelationshipGalaxyCanvas-Cn7Eta5U.js").then(t=>t.as),__vite__mapDeps([7,1,2,3,5]))),{t:a,locale:u}=Tt(),E=Nt(),G=Ft(),A=m("1y"),v=m("panorama"),_=m(""),K=m(""),z=m(!1),ne=m(""),d=m(null),V=m(!1),O=m(null),C=m(null),pe=m(!1),ve=m(!1),q=m(!1),Ge=m(!1),F=m(null),R=m(null),I=m(!1),D=m(aa),Q=m(""),W=m(0),j=m(0),T=m(null),se=m(null);let le=null,fe=null,Y=null,X=null,re=null;const Ze=h(()=>new Intl.NumberFormat(u.value)),et=h(()=>Vt.map(t=>({label:a(`relationships.timeRange.${t}`),value:t}))),tt=h(()=>[{label:a("relationships.graphScope.panorama"),value:"panorama"},{label:a("relationships.graphScope.close"),value:"close"},{label:a("relationships.graphScope.friends"),value:"friends"}]),P=h(()=>O.value?.graph??l),$=h(()=>C.value?.graph??P.value),Ke=h(()=>ia({panorama:P.value,neighborhood:C.value?.graph??null,selectedKey:d.value})),at=h(()=>la(Ke.value,{privacyMode:I.value,ownerLabel:a("relationships.owner.me")})),ot=h(()=>{const t=d.value;return t&&Ke.value.nodes.some(s=>s.key===t)?t:null}),ge=h(()=>!!C.value),me=h(()=>P.value.nodes.length>0||$.value.nodes.length>0),J=h(()=>Wt({graphTask:O.value?.task??null,neighborhoodTask:C.value?.task??null,isNeighborhoodMode:ge.value})),Z=h(()=>J.value?.status==="running"),Ve=h(()=>J.value?.status==="failed"),nt=h(()=>O.value?.cache.status??C.value?.cache.status),Ae=h(()=>O.value?.searchResults??[]),Fe=h(()=>_.value.trim().length>0),st=h(()=>Fe.value&&_.value.trim()===ne.value&&z.value&&Ae.value.length>0),lt=h(()=>(pe.value||Z.value)&&!me.value),rt=h(()=>Z.value&&me.value),x=h(()=>d.value?$.value.nodes.find(t=>t.key===d.value)??P.value.nodes.find(t=>t.key===d.value)??C.value?.contact??null:null),$e=h(()=>V.value&&!!x.value),ze=h(()=>$e.value&&Ge.value?Co:0),it=h(()=>Qt({selectedKey:d.value,isNeighborhoodMode:ge.value,neighborhoodContactKey:C.value?.contact?.key??null})),ie=h(()=>Ht($.value,d.value,{collapsedLimit:Ye})),ye=h(()=>({nodes:P.value.nodes.length,edges:P.value.edges.length,communities:P.value.communities.length})),xe=h(()=>[...$.value.communities].sort((t,s)=>s.size-t.size).slice(0,8)),be=h(()=>nt.value==="stale"&&Z.value?a("relationships.task.updating"):Z.value?vt(J.value):Ve.value?J.value?.lastError||a("relationships.task.failed"):""),ct=h(()=>Xt({loadError:Q.value,isTaskFailed:Ve.value,statusText:be.value,emptyText:a("relationships.empty")}));function w(t){return Ze.value.format(t)}function ut(t){return Math.round(t*100).toString()}function dt(){const t=ie.value.items.length,s=ie.value.total;return s<=t?w(s):`${w(t)} / ${w(s)}`}function ht(t){return t?new Date(t*1e3).toLocaleDateString():a("relationships.detail.emptyValue")}function ke(t){return Zt(t,{privacyMode:I.value,ownerLabel:a("relationships.owner.avatarText")})}function we(t){return ea(t,I.value)}function B(t){return Je(t,{privacyMode:I.value,ownerLabel:a("relationships.owner.me")})}function pt(t){return ta(t,I.value)}function Oe(t){return t.kind==="owner"?a("relationships.owner.type"):t.friendSource==="manual"?a("relationships.pool.manualFriend"):t.pool==="friend"?a("relationships.pool.friend"):a("relationships.pool.nonFriend")}function vt(t){return a("relationships.task.running",{current:w(t?.processedSessions??0),total:w(t?.totalSessions??0)})}function De(t){const s=je(t,v.value);le&&le!==s&&ce();const f=O.value;O.value=f&&le===s?{...t,graph:f.graph}:t,le=s}function ft(t){const s=je(t,`neighborhood:${t.contact?.key??""}`),f=C.value;C.value=f&&fe===s?{...t,graph:f.graph}:t,fe=s}function H(){C.value=null,fe=null}function je(t,s){const f=t.graph;let o=2166136261;o=S(o,s),o=S(o,t.algorithmVersion),o=S(o,t.cache.signature??""),o=N(o,t.timeRange.startTs??0),o=S(o,t.timeRange.preset);for(const p of f.nodes)o=S(o,p.key),o=S(o,p.pool),o=S(o,p.friendSource??""),o=N(o,p.rank),o=N(o,Math.round(p.score*1e6)),o=N(o,p.labelVisibility),o=N(o,Math.round(p.x*100)),o=N(o,Math.round(p.y*100)),o=N(o,Math.round(p.size*100));for(const p of f.edges)o=S(o,p.id),o=S(o,p.sourceKey),o=S(o,p.targetKey),o=N(o,Math.round(p.weight*1e6)),o=N(o,p.visibility);for(const p of f.communities)o=S(o,p.id),o=N(o,p.size),o=S(o,p.color);return`${s}:${f.nodes.length}:${f.edges.length}:${f.communities.length}:${o>>>0}`}function S(t,s){for(let f=0;f<s.length;f+=1)t^=s.charCodeAt(f),t=Math.imul(t,16777619);return t}function N(t,s){return S(t,String(s))}function _e(){Y&&(clearInterval(Y),Y=null)}function U(){j.value+=1,q.value=!1,F.value=null}function Be(){se.value=na(T.value,d.value,se.value)}function ce(){se.value=null}function gt(){const t=se.value;ce(),ae(()=>{sa(T.value,t)})}function Se(t){if(t?.status==="running"){Y||(Y=setInterval(()=>{ee({silent:!0,preserveNeighborhood:!0})},So));return}_e()}async function ee(t={}){const s=W.value+1;W.value=s;const f=J.value?.status??null,o=t.preserveNeighborhood?C.value?.contact?.key??null:null;t.silent||(pe.value=!0),t.preserveNeighborhood||(U(),H()),Q.value="";try{const p=await E.getPeopleRelationships({acceptStale:!0,timeRangePreset:A.value,graphScope:v.value,query:K.value.trim()||void 0});if(s!==W.value)return;De(p),ne.value=K.value.trim(),d.value&&!$.value.nodes.some(Te=>Te.key===d.value)&&(d.value=null,R.value=null,V.value=!1);const c=Yt({previousTaskStatus:f,nextTaskStatus:p.task?.status??null,neighborhoodContactKey:o});Se(p.task),c.type==="refresh-neighborhood"&&ue(c.key)}catch(p){if(s!==W.value)return;Q.value=String(p),G.fail(a("relationships.toast.loadFailed"),{description:String(p)}),_e()}finally{s===W.value&&(pe.value=!1)}}async function mt(){ve.value=!0,Q.value="";try{const t=await E.recomputePeopleRelationships({timeRangePreset:A.value,graphScope:v.value,query:K.value.trim()||void 0});De(t),ne.value=K.value.trim(),U(),H(),d.value=null,R.value=null,V.value=!1,Se(t.task),G.success(a("relationships.toast.recomputeStarted"))}catch(t){G.fail(a("relationships.toast.recomputeFailed"),{description:String(t)})}finally{ve.value=!1}}const yt=h(()=>({title:a("layout.relationships"),description:a("relationships.subtitle"),icon:"i-lucide-git-fork",iconClass:"bg-primary-600 text-white dark:bg-primary-500 dark:text-white shadow-sm",action:{label:a("relationships.actions.recompute"),icon:"i-lucide-refresh-cw",loading:ve.value,disabled:Z.value,class:"border border-sky-100 hover:border-sky-200 dark:border-sky-950/30 dark:hover:border-sky-900/50",onClick:mt},stats:[{id:"nodes",label:a("relationships.stats.nodes"),value:w(ye.value.nodes)},{id:"edges",label:a("relationships.stats.edges"),value:w(ye.value.edges)},{id:"communities",label:a("relationships.stats.communities"),value:w(ye.value.communities),dividerBefore:!0}]}));zt(yt);async function ue(t){const s=j.value+1;j.value=s,q.value=!0,F.value=t,Q.value="";const f=!P.value.nodes.some(o=>o.key===t);try{const o=await E.getPeopleRelationshipNeighborhood(t,{acceptStale:!0,timeRangePreset:A.value,graphScope:v.value});if(s!==j.value)return;ft(o),d.value=o.contact?.key??t,R.value=d.value,Se(o.task),await ae(),D.value==="2d"?T.value?.fitView():f&&d.value&&T.value?.focusNode(d.value)}catch(o){if(s!==j.value)return;G.fail(a("relationships.toast.neighborhoodFailed"),{description:String(o)})}finally{s===j.value&&(q.value=!1,F.value=null)}}async function xt(){d.value&&await ue(d.value)}async function bt(t){if(Be(),z.value=!1,t.inCoreGraph||(F.value=t.key),d.value=t.key,V.value=!0,R.value=We({selectedKey:d.value,loadingNeighborhoodKey:F.value,currentCanvasSelectedKey:R.value}),!t.inCoreGraph){await ue(t.key);return}U(),H(),await ae(),T.value?.focusNode(t.key)}async function Ce(t){Be();const s=C.value?.contact?.key!==t.key;if(s&&(F.value=t.key),d.value=t.key,V.value=!0,R.value=We({selectedKey:d.value,loadingNeighborhoodKey:F.value,currentCanvasSelectedKey:R.value}),await ae(),T.value?.focusNode(t.key),s){await ue(t.key);return}R.value=d.value}async function kt(t){const s=P.value.nodes.find(f=>f.key===t.key)??$.value.nodes.find(f=>f.key===t.key);s&&await Ce(s)}function wt(){const t=oa(D.value);t!==D.value&&(D.value=t,G.warn(a("relationships.toast.threeUnavailable")))}function He(){U(),H(),d.value=null,R.value=null,V.value=!1,gt()}function _t(){He()}function St(){_.value="",ne.value="",z.value=!1}function Ct(){T.value?.fitView()}function Re(){Ge.value=re?.matches??!1}return de(A,()=>{ce(),d.value=null,R.value=null,V.value=!1,U(),H(),ee()}),de(v,()=>{ce(),d.value=null,R.value=null,V.value=!1,U(),H(),ee()}),de(_,t=>{X&&clearTimeout(X),z.value=t.trim().length>0,X=setTimeout(()=>{K.value=t,ee({silent:!0,preserveNeighborhood:!0})},260)}),de(D,async()=>{if(await ae(),d.value){T.value?.focusNode(d.value);return}T.value?.fitView()}),Mt(()=>{typeof window<"u"&&(re=window.matchMedia("(min-width: 768px)"),Re(),re.addEventListener("change",Re)),ee()}),It(()=>{re?.removeEventListener("change",Re),_e(),X&&clearTimeout(X)}),(t,s)=>{const f=At,o=Lt,p=Gt;return y(),k("div",ua,[n("main",da,[D.value==="3d"?(y(),te(g(r),{key:0,ref_key:"canvasRef",ref:T,graph:at.value,"selected-key":ot.value,"safe-inset-right":ze.value,label:g(a)("relationships.canvas.label3d"),onFallback:wt,onSelectNode:kt},null,8,["graph","selected-key","safe-inset-right","label"])):(y(),te(g(b),{key:1,ref_key:"canvasRef",ref:T,graph:$.value,"selected-key":R.value,"privacy-mode":I.value,"safe-inset-right":ze.value,label:g(a)("relationships.canvas.label"),"owner-label":g(a)("relationships.owner.me"),onSelectNode:Ce},null,8,["graph","selected-key","privacy-mode","safe-inset-right","label","owner-label"])),n("div",ha,[M(f,{modelValue:A.value,"onUpdate:modelValue":s[0]||(s[0]=c=>A.value=c),items:et.value,content:!1,size:"xs",class:"min-w-max gap-0"},null,8,["modelValue","items"]),M(f,{modelValue:v.value,"onUpdate:modelValue":s[1]||(s[1]=c=>v.value=c),items:tt.value,content:!1,size:"xs",class:"min-w-max gap-0"},null,8,["modelValue","items"]),n("div",pa,[M(p,{modelValue:_.value,"onUpdate:modelValue":s[2]||(s[2]=c=>_.value=c),icon:"i-lucide-search",placeholder:g(a)("relationships.search"),size:"sm",class:"w-full",onFocus:s[3]||(s[3]=c=>z.value=Fe.value),onKeydown:s[4]||(s[4]=Et(c=>z.value=!1,["esc"]))},Pt({_:2},[_.value?{name:"trailing",fn:he(()=>[M(o,{icon:"i-heroicons-x-mark",variant:"link",color:"neutral",size:"xs","aria-label":g(a)("relationships.actions.clearSearch"),onClick:St},null,8,["aria-label"])]),key:"0"}:void 0]),1032,["modelValue","placeholder"]),st.value?(y(),k("div",va,[n("div",fa,i(g(a)("relationships.searchResults.title")),1),n("div",ga,[(y(!0),k(Ne,null,Me(Ae.value,c=>(y(),k("button",{key:c.key,type:"button",class:Ie(["group flex w-full items-center gap-2.5 rounded-xl px-2.5 py-2 text-left transition hover:bg-gray-100/70 dark:hover:bg-white/5",d.value===c.key?"bg-sky-50 dark:bg-sky-500/10":""]),disabled:q.value,onClick:Te=>bt(c)},[M(Pe,{src:we(c),alt:B(c),text:ke(c),"root-class":"h-8 w-8 shrink-0 shadow-sm border border-gray-250/20 dark:border-white/10","image-class":"h-8 w-8 rounded-full object-cover","fallback-class":"flex h-8 w-8 items-center justify-center rounded-full bg-sky-100 text-[10px] font-bold text-sky-700 dark:bg-sky-500/15 dark:text-sky-200"},null,8,["src","alt","text"]),n("span",ya,[n("span",xa,i(B(c)),1),n("span",ba,i(Oe(c))+" · #"+i(c.rank),1)]),c.inCoreGraph?L("",!0):(y(),k("span",ka,i(g(a)("relationships.searchResults.offCore")),1))],10,ma))),128))])])):L("",!0)]),M(o,{icon:"i-lucide-scan-line",color:"neutral",variant:"soft",size:"xs","aria-label":g(a)("relationships.actions.fitView"),onClick:Ct},null,8,["aria-label"]),M(o,{icon:I.value?"i-lucide-eye-off":"i-lucide-eye",color:"neutral",variant:"soft",size:"xs",onClick:s[5]||(s[5]=c=>I.value=!I.value)},{default:he(()=>[Le(i(g(a)("relationships.privacy")),1)]),_:1},8,["icon"]),ge.value?(y(),te(o,{key:0,icon:"i-lucide-undo-2",color:"neutral",variant:"soft",size:"xs",onClick:He},{default:he(()=>[Le(i(g(a)("relationships.actions.backToPanorama")),1)]),_:1})):L("",!0)]),rt.value?(y(),k("div",wa,[s[6]||(s[6]=n("span",{class:"i-lucide-refresh-cw h-3.5 w-3.5 animate-spin text-sky-400"},null,-1)),n("span",null,i(be.value),1)])):L("",!0),lt.value?(y(),te(g($t),{key:3,variant:"overlay",class:"!bg-[#03050c] [&_p]:!text-gray-300",text:be.value||g(a)("relationships.task.updating")},null,8,["text"])):me.value?L("",!0):(y(),k("div",_a,i(ct.value),1)),$e.value?(y(),k("aside",Sa,[M(o,{icon:"i-lucide-x",color:"neutral",variant:"ghost",size:"xs",class:"absolute right-2.5 top-2.5 z-10 text-white/60 hover:bg-white/8 hover:text-white","aria-label":g(a)("relationships.actions.closeDetail"),onClick:_t},null,8,["aria-label"]),x.value?(y(),k("div",Ca,[n("div",Ra,[n("div",Ta,[M(Pe,{src:we(x.value),alt:B(x.value),text:ke(x.value),"root-class":"h-11 w-11 shrink-0 overflow-hidden rounded-lg shadow-sm border border-gray-250/20 dark:border-white/10","image-class":"h-11 w-11 rounded-lg object-cover","fallback-class":"flex h-11 w-11 items-center justify-center rounded-lg bg-sky-100 text-sm font-bold text-sky-700 dark:bg-sky-500/15 dark:text-sky-200"},null,8,["src","alt","text"]),n("div",Na,[n("div",Ma,[n("p",Ia,i(B(x.value)),1),n("span",{class:Ie(["shrink-0 rounded-full bg-white/45 px-1.5 py-0.5 font-mono text-[10px] font-bold text-gray-600 dark:bg-white/8 dark:text-gray-300",x.value.rank<=3?"text-amber-600 dark:text-amber-300":""])}," #"+i(x.value.rank),3)]),n("p",Pa,i(x.value.platform)+" · "+i(pt(x.value)),1)])]),it.value?(y(),te(o,{key:0,icon:"i-lucide-network",color:"primary",variant:"soft",size:"sm",block:"",class:"rounded-xl font-semibold shadow-sm border border-sky-100 hover:border-sky-200 dark:border-sky-950/30 dark:hover:border-sky-900/50",loading:q.value,onClick:xt},{default:he(()=>[Le(i(g(a)("relationships.actions.focusConnections")),1)]),_:1},8,["loading"])):L("",!0),n("div",La,[n("div",Ea,[n("p",Ga,i(g(a)("relationships.detail.score")),1),n("div",Ka,[n("p",Va,i(ut(x.value.score)),1),s[7]||(s[7]=n("span",{class:"text-[9px] leading-3 text-gray-400"},"/100",-1))])]),n("div",Aa,[n("p",Fa,i(g(a)("relationships.detail.type")),1),n("span",{class:Ie(["inline-flex max-w-full items-center truncate text-[10px] font-semibold leading-4",x.value.pool==="friend"?"text-sky-700 dark:text-sky-300":"text-amber-700 dark:text-amber-300"])},i(Oe(x.value)),3)]),n("div",$a,[n("p",za,i(g(a)("relationships.detail.privateMessages")),1),n("span",Oa,i(w(x.value.privateMessageCount)),1)]),n("div",Da,[n("p",ja,i(g(a)("relationships.detail.groupMessages")),1),n("span",Ba,i(w(x.value.groupMessageCount)),1)]),n("div",Ha,[n("p",Ua,i(g(a)("relationships.detail.commonGroups")),1),n("span",qa,i(w(x.value.commonGroupCount)),1)]),n("div",Qa,[n("p",Wa,i(g(a)("relationships.detail.lastInteraction")),1),n("span",Ya,i(ht(x.value.lastInteractionTs)),1)])])]),n("div",Xa,[n("section",Ja,[n("div",Za,[n("div",eo,[n("h3",to,i(g(a)("relationships.connections.title")),1),n("span",ao,i(dt()),1)]),n("span",oo,i(g(a)("relationships.connections.connectionScore")),1)]),ie.value.items.length>0?(y(),k("div",no,[(y(!0),k(Ne,null,Me(ie.value.items,c=>(y(),k("button",{key:c.node.key,type:"button",class:"group flex h-9 w-full items-center gap-2 rounded-lg px-2 py-0 text-left transition-all duration-250 hover:bg-white dark:hover:bg-white/5",onClick:Te=>Ce(c.node)},[M(Pe,{src:we(c.node),alt:B(c.node),text:ke(c.node),"root-class":"h-6 w-6 shrink-0 overflow-hidden rounded-md shadow-sm border border-gray-250/20 dark:border-white/10","image-class":"h-6 w-6 rounded-md object-cover","fallback-class":"flex h-6 w-6 items-center justify-center rounded-md bg-sky-100 text-[9px] font-bold text-sky-700 dark:bg-sky-500/15 dark:text-sky-200"},null,8,["src","alt","text"]),n("div",lo,[n("span",ro,i(B(c.node)),1)]),n("span",io,[n("span",co,i(w(c.connectionScore)),1)])],8,so))),128))])):(y(),k("p",uo,i(g(a)("relationships.connections.empty")),1))]),xe.value.length>0?(y(),k("section",ho,[n("div",po,[n("div",vo,[n("h2",fo,i(g(a)("relationships.stats.communities")),1),n("span",go,i(w(xe.value.length)),1)]),n("span",mo,i(g(a)("relationships.stats.members")),1)]),n("div",yo,[(y(!0),k(Ne,null,Me(xe.value,c=>(y(),k("div",{key:c.id,class:"flex h-9 items-center justify-between gap-2 rounded-lg px-2 py-0 text-[13px] leading-4"},[n("div",xo,[n("span",bo,[n("span",{class:"h-2 w-2 rounded-full shadow-sm",style:Kt({backgroundColor:c.color})},null,4)]),n("span",ko,i(c.label),1)]),n("span",wo,[n("span",_o,i(w(c.size)),1)])]))),128))])])):L("",!0)])])):L("",!0)])):L("",!0)])])}}}),Ko=Object.freeze(Object.defineProperty({__proto__:null,default:Ro},Symbol.toStringTag,{value:"Module"}));export{Eo as a,Go as b,Je as g,Ko as i};