zignal-stencil-library 1.1.121 → 1.1.123

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 (391) hide show
  1. package/dist/cjs/autocomplete-address_43.cjs.entry.js +203 -197
  2. package/dist/cjs/quick-message-app.cjs.entry.js +2 -2
  3. package/dist/cjs/quick-message-app.entry.cjs.js.map +1 -1
  4. package/dist/collection/components/autocomplete-address/autocomplete-address.css +1 -1
  5. package/dist/collection/components/autocomplete-address/autocomplete-address.js +4 -4
  6. package/dist/collection/components/autocomplete-address/autocomplete-address.js.map +1 -1
  7. package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.css +1 -1
  8. package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.js +2 -2
  9. package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.js.map +1 -1
  10. package/dist/collection/components/autocomplete-select/autocomplete-select.css +1 -1
  11. package/dist/collection/components/autocomplete-select/autocomplete-select.js +4 -4
  12. package/dist/collection/components/autocomplete-select/autocomplete-select.js.map +1 -1
  13. package/dist/collection/components/channel-box/channel-box.css +1 -1
  14. package/dist/collection/components/channel-box/channel-box.js +1 -1
  15. package/dist/collection/components/channel-box/channel-box.js.map +1 -1
  16. package/dist/collection/components/chat-app/chat-app.css +1 -1
  17. package/dist/collection/components/chat-app/chat-app.js +1 -1
  18. package/dist/collection/components/chat-app/chat-app.js.map +1 -1
  19. package/dist/collection/components/chat-header/chat-header.css +1 -1
  20. package/dist/collection/components/chat-header/chat-header.js +5 -5
  21. package/dist/collection/components/chat-header/chat-header.js.map +1 -1
  22. package/dist/collection/components/chat-input/chat-input.css +1 -1
  23. package/dist/collection/components/chat-input/chat-input.js +2 -2
  24. package/dist/collection/components/chat-input/chat-input.js.map +1 -1
  25. package/dist/collection/components/checkbox-list/checkbox-list.css +1 -1
  26. package/dist/collection/components/checkbox-list/checkbox-list.js +1 -1
  27. package/dist/collection/components/checkbox-list/checkbox-list.js.map +1 -1
  28. package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.css +1 -1
  29. package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.js +3 -3
  30. package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.js.map +1 -1
  31. package/dist/collection/components/dialog-editor/dialog-editor.css +1 -1
  32. package/dist/collection/components/dialog-editor/dialog-editor.js +1 -1
  33. package/dist/collection/components/dialog-editor/dialog-editor.js.map +1 -1
  34. package/dist/collection/components/dialog-preview-media/dialog-preview-media.css +1 -1
  35. package/dist/collection/components/dialog-preview-media/dialog-preview-media.js +1 -1
  36. package/dist/collection/components/dialog-preview-media/dialog-preview-media.js.map +1 -1
  37. package/dist/collection/components/dialog-search/dialog-search.css +1 -1
  38. package/dist/collection/components/dialog-search/dialog-search.js +2 -2
  39. package/dist/collection/components/dialog-search/dialog-search.js.map +1 -1
  40. package/dist/collection/components/internal-component/about-section.js +2 -2
  41. package/dist/collection/components/internal-component/about-section.js.map +1 -1
  42. package/dist/collection/components/internal-component/associated-users-section.js +3 -5
  43. package/dist/collection/components/internal-component/associated-users-section.js.map +1 -1
  44. package/dist/collection/components/internal-component/chat-item.js +2 -4
  45. package/dist/collection/components/internal-component/chat-item.js.map +1 -1
  46. package/dist/collection/components/internal-component/context-section.js +2 -2
  47. package/dist/collection/components/internal-component/context-section.js.map +1 -1
  48. package/dist/collection/components/internal-component/merge-user-view.js +4 -4
  49. package/dist/collection/components/internal-component/merge-user-view.js.map +1 -1
  50. package/dist/collection/components/internal-component/tag-section.js +2 -2
  51. package/dist/collection/components/internal-component/tag-section.js.map +1 -1
  52. package/dist/collection/components/internal-component/z-button.js +1 -3
  53. package/dist/collection/components/internal-component/z-button.js.map +1 -1
  54. package/dist/collection/components/internal-component/z-context-input.js +2 -2
  55. package/dist/collection/components/internal-component/z-context-input.js.map +1 -1
  56. package/dist/collection/components/internal-component/z-icon-button.js +1 -3
  57. package/dist/collection/components/internal-component/z-icon-button.js.map +1 -1
  58. package/dist/collection/components/internal-component/z-input-area.js +1 -1
  59. package/dist/collection/components/internal-component/z-input-area.js.map +1 -1
  60. package/dist/collection/components/internal-component/z-input.js +1 -1
  61. package/dist/collection/components/internal-component/z-input.js.map +1 -1
  62. package/dist/collection/components/internal-component/z-select-input.js +1 -1
  63. package/dist/collection/components/internal-component/z-select-input.js.map +1 -1
  64. package/dist/collection/components/internal-component/z-tag-or-status-item.js +1 -1
  65. package/dist/collection/components/internal-component/z-tag-or-status-item.js.map +1 -1
  66. package/dist/collection/components/menu-chat-channel/menu-chat-channel.css +1 -1
  67. package/dist/collection/components/menu-chat-channel/menu-chat-channel.js +2 -2
  68. package/dist/collection/components/menu-chat-channel/menu-chat-channel.js.map +1 -1
  69. package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
  70. package/dist/collection/components/menu-chat-type/menu-chat-type.js +2 -2
  71. package/dist/collection/components/menu-chat-type/menu-chat-type.js.map +1 -1
  72. package/dist/collection/components/menu-list/menu-list.css +1 -1
  73. package/dist/collection/components/menu-list/menu-list.js +2 -2
  74. package/dist/collection/components/menu-list/menu-list.js.map +1 -1
  75. package/dist/collection/components/message-box/message-box.css +1 -1
  76. package/dist/collection/components/message-box/message-box.js +3 -3
  77. package/dist/collection/components/message-box/message-box.js.map +1 -1
  78. package/dist/collection/components/message-content/message-content.css +1 -1
  79. package/dist/collection/components/message-content/message-content.js +2 -2
  80. package/dist/collection/components/message-content/message-content.js.map +1 -1
  81. package/dist/collection/components/message-item/message-item.css +1 -1
  82. package/dist/collection/components/message-item/message-item.js +3 -3
  83. package/dist/collection/components/message-item/message-item.js.map +1 -1
  84. package/dist/collection/components/message-media/message-media.css +1 -1
  85. package/dist/collection/components/message-media/message-media.js +4 -4
  86. package/dist/collection/components/message-media/message-media.js.map +1 -1
  87. package/dist/collection/components/profile-history/profile-history.css +1 -1
  88. package/dist/collection/components/profile-history/profile-history.js +3 -5
  89. package/dist/collection/components/profile-history/profile-history.js.map +1 -1
  90. package/dist/collection/components/profile-info/profile-info.css +1 -1
  91. package/dist/collection/components/profile-info/profile-info.js +34 -12
  92. package/dist/collection/components/profile-info/profile-info.js.map +1 -1
  93. package/dist/collection/components/profile-info/summarize-message-section.js +2 -2
  94. package/dist/collection/components/profile-info/summarize-message-section.js.map +1 -1
  95. package/dist/collection/components/profile-info/user-info-section.js +2 -2
  96. package/dist/collection/components/profile-info/user-info-section.js.map +1 -1
  97. package/dist/collection/components/profile-media/profile-media.css +1 -1
  98. package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
  99. package/dist/collection/components/profile-tabs/profile-tabs.js +2 -2
  100. package/dist/collection/components/profile-tabs/profile-tabs.js.map +1 -1
  101. package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
  102. package/dist/collection/components/quick-message-add-template/quick-message-add-template.js +4 -4
  103. package/dist/collection/components/quick-message-add-template/quick-message-add-template.js.map +1 -1
  104. package/dist/collection/components/quick-message-add-template/quick-message-button-content.js +1 -1
  105. package/dist/collection/components/quick-message-add-template/quick-message-button-content.js.map +1 -1
  106. package/dist/collection/components/quick-message-add-template/quick-message-image-content.js +4 -4
  107. package/dist/collection/components/quick-message-add-template/quick-message-image-content.js.map +1 -1
  108. package/dist/collection/components/quick-message-add-template/quick-message-menu-list-content.js +2 -6
  109. package/dist/collection/components/quick-message-add-template/quick-message-menu-list-content.js.map +1 -1
  110. package/dist/collection/components/quick-message-add-template/quick-message-template-button-dialog.js +2 -2
  111. package/dist/collection/components/quick-message-add-template/quick-message-template-button-dialog.js.map +1 -1
  112. package/dist/collection/components/quick-message-add-template/quick-message-template-button-list.js +5 -5
  113. package/dist/collection/components/quick-message-add-template/quick-message-template-button-list.js.map +1 -1
  114. package/dist/collection/components/quick-message-add-template/quick-message-text-content.js +1 -1
  115. package/dist/collection/components/quick-message-add-template/quick-message-text-content.js.map +1 -1
  116. package/dist/collection/components/quick-message-add-template/quick-message-video-content.js +3 -5
  117. package/dist/collection/components/quick-message-add-template/quick-message-video-content.js.map +1 -1
  118. package/dist/collection/components/quick-message-app/quick-message-app.css +1 -1
  119. package/dist/collection/components/quick-message-app/quick-message-app.js +1 -1
  120. package/dist/collection/components/quick-message-app/quick-message-app.js.map +1 -1
  121. package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
  122. package/dist/collection/components/quick-message-file/quick-message-file.js +2 -2
  123. package/dist/collection/components/quick-message-file/quick-message-file.js.map +1 -1
  124. package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
  125. package/dist/collection/components/quick-message-image/quick-message-image.js +3 -3
  126. package/dist/collection/components/quick-message-image/quick-message-image.js.map +1 -1
  127. package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
  128. package/dist/collection/components/quick-message-modal/quick-message-modal.js +1 -1
  129. package/dist/collection/components/quick-message-modal/quick-message-modal.js.map +1 -1
  130. package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
  131. package/dist/collection/components/quick-message-template/quick-message-template.js +12 -13
  132. package/dist/collection/components/quick-message-template/quick-message-template.js.map +1 -1
  133. package/dist/collection/components/search-box/search-box.css +1 -1
  134. package/dist/collection/components/search-box/search-box.js +1 -1
  135. package/dist/collection/components/search-box/search-box.js.map +1 -1
  136. package/dist/collection/components/status-badge/status-badge.css +1 -1
  137. package/dist/collection/components/status-badge/status-badge.js +3 -4
  138. package/dist/collection/components/status-badge/status-badge.js.map +1 -1
  139. package/dist/collection/components/tag-list/tag-list.css +1 -1
  140. package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
  141. package/dist/collection/components/tag-or-status-item/tag-or-status-item.js +2 -2
  142. package/dist/collection/components/tag-or-status-item/tag-or-status-item.js.map +1 -1
  143. package/dist/collection/components/tag-popper/tag-popper.css +1 -1
  144. package/dist/collection/components/tag-popper/tag-popper.js +2 -2
  145. package/dist/collection/components/tag-popper/tag-popper.js.map +1 -1
  146. package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
  147. package/dist/collection/components/typography-clamp/typography-clamp.js +4 -4
  148. package/dist/collection/components/typography-clamp/typography-clamp.js.map +1 -1
  149. package/dist/collection/components/z-avatar/z-avatar.css +1 -1
  150. package/dist/collection/components/z-avatar/z-avatar.js +1 -1
  151. package/dist/collection/components/z-avatar/z-avatar.js.map +1 -1
  152. package/dist/collection/components/z-dialog/z-dialog.css +1 -1
  153. package/dist/collection/components/z-dialog/z-dialog.js +2 -2
  154. package/dist/collection/components/z-dialog/z-dialog.js.map +1 -1
  155. package/dist/components/autocomplete-address.js +1 -1
  156. package/dist/components/autocomplete-multiple-select.js +1 -1
  157. package/dist/components/autocomplete-select.js +1 -1
  158. package/dist/components/channel-box.js +1 -1
  159. package/dist/components/chat-app.js +44 -44
  160. package/dist/components/chat-app.js.map +1 -1
  161. package/dist/components/chat-header.js +1 -1
  162. package/dist/components/chat-input.js +1 -1
  163. package/dist/components/checkbox-list.js +1 -1
  164. package/dist/components/dialog-bill-editor.js +1 -1
  165. package/dist/components/dialog-editor.js +1 -1
  166. package/dist/components/dialog-preview-media.js +1 -1
  167. package/dist/components/dialog-search.js +1 -1
  168. package/dist/components/menu-chat-channel.js +1 -1
  169. package/dist/components/menu-chat-type.js +1 -1
  170. package/dist/components/menu-list.js +1 -1
  171. package/dist/components/message-box.js +1 -1
  172. package/dist/components/message-content.js +1 -1
  173. package/dist/components/message-item.js +1 -1
  174. package/dist/components/message-media.js +1 -1
  175. package/dist/components/p--Enuw3tX.js +184 -0
  176. package/dist/components/p--Enuw3tX.js.map +1 -0
  177. package/dist/components/p-3dJZPnz_.js +160 -0
  178. package/dist/components/{p-D04d-ugd.js.map → p-3dJZPnz_.js.map} +1 -1
  179. package/dist/components/p-5Z2tT32a.js +35 -0
  180. package/dist/components/{p-CArvTJoW.js.map → p-5Z2tT32a.js.map} +1 -1
  181. package/dist/components/p-A4RRdnMc.js +124 -0
  182. package/dist/components/p-A4RRdnMc.js.map +1 -0
  183. package/dist/components/p-B0gC55gW.js +704 -0
  184. package/dist/components/p-B0gC55gW.js.map +1 -0
  185. package/dist/components/p-B2qgQSsK.js +235 -0
  186. package/dist/components/p-B2qgQSsK.js.map +1 -0
  187. package/dist/components/p-BKZzQD7H.js +219 -0
  188. package/dist/components/p-BKZzQD7H.js.map +1 -0
  189. package/dist/components/{p-Dr67NIsD.js → p-BPVt9weM.js} +4 -4
  190. package/dist/components/p-BPVt9weM.js.map +1 -0
  191. package/dist/components/p-BWuZegR4.js +78 -0
  192. package/dist/components/p-BWuZegR4.js.map +1 -0
  193. package/dist/components/p-BYEXI48l.js +107 -0
  194. package/dist/components/p-BYEXI48l.js.map +1 -0
  195. package/dist/components/p-BZPzVYGj.js +159 -0
  196. package/dist/components/p-BZPzVYGj.js.map +1 -0
  197. package/dist/components/p-Ba5c5p9B.js +178 -0
  198. package/dist/components/p-Ba5c5p9B.js.map +1 -0
  199. package/dist/components/{p-Cln26Qch.js → p-BjytUY9X.js} +3 -5
  200. package/dist/components/p-BjytUY9X.js.map +1 -0
  201. package/dist/components/{p-HCd8IVUw.js → p-C0tV1VyH.js} +6 -6
  202. package/dist/components/p-C0tV1VyH.js.map +1 -0
  203. package/dist/components/p-C5cSGGuF.js +603 -0
  204. package/dist/components/p-C5cSGGuF.js.map +1 -0
  205. package/dist/components/p-CNw9ADrc.js +55 -0
  206. package/dist/components/p-CNw9ADrc.js.map +1 -0
  207. package/dist/components/p-CQukWN74.js +12 -0
  208. package/dist/components/p-CQukWN74.js.map +1 -0
  209. package/dist/components/p-CaGiRTud.js +61 -0
  210. package/dist/components/p-CaGiRTud.js.map +1 -0
  211. package/dist/components/p-ChRpdGJd.js +518 -0
  212. package/dist/components/p-ChRpdGJd.js.map +1 -0
  213. package/dist/components/{p-8qEzh9SS.js → p-CiVfPqKY.js} +3 -3
  214. package/dist/components/p-CiVfPqKY.js.map +1 -0
  215. package/dist/components/p-CkHuolGz.js +81 -0
  216. package/dist/components/p-CkHuolGz.js.map +1 -0
  217. package/dist/components/p-CkeWlJKM.js +104 -0
  218. package/dist/components/p-CkeWlJKM.js.map +1 -0
  219. package/dist/components/p-D0Pdlqhf.js +126 -0
  220. package/dist/components/p-D0Pdlqhf.js.map +1 -0
  221. package/dist/components/p-D0zFdGok.js +315 -0
  222. package/dist/components/p-D0zFdGok.js.map +1 -0
  223. package/dist/components/p-D42kjaaj.js +518 -0
  224. package/dist/components/p-D42kjaaj.js.map +1 -0
  225. package/dist/components/p-D4EbodEB.js +557 -0
  226. package/dist/components/p-D4EbodEB.js.map +1 -0
  227. package/dist/components/p-DAJhf69u.js +566 -0
  228. package/dist/components/p-DAJhf69u.js.map +1 -0
  229. package/dist/components/p-DAwM7jGt.js +140 -0
  230. package/dist/components/p-DAwM7jGt.js.map +1 -0
  231. package/dist/components/p-DJPhPlLw.js +101 -0
  232. package/dist/components/p-DJPhPlLw.js.map +1 -0
  233. package/dist/components/p-DLnTQGP9.js +188 -0
  234. package/dist/components/p-DLnTQGP9.js.map +1 -0
  235. package/dist/components/p-DTChk4QP.js +124 -0
  236. package/dist/components/p-DTChk4QP.js.map +1 -0
  237. package/dist/components/p-DVMzvGj6.js +144 -0
  238. package/dist/components/p-DVMzvGj6.js.map +1 -0
  239. package/dist/components/p-DWwas6dc.js +137 -0
  240. package/dist/components/p-DWwas6dc.js.map +1 -0
  241. package/dist/components/p-DYEy-cA-.js +132 -0
  242. package/dist/components/{p-VGL-Lt1l.js.map → p-DYEy-cA-.js.map} +1 -1
  243. package/dist/components/p-DYdHwebk.js +159 -0
  244. package/dist/components/p-DYdHwebk.js.map +1 -0
  245. package/dist/components/p-DhuDkLvY.js +58 -0
  246. package/dist/components/p-DhuDkLvY.js.map +1 -0
  247. package/dist/components/p-DiSPdOEp.js +113 -0
  248. package/dist/components/p-DiSPdOEp.js.map +1 -0
  249. package/dist/components/{p-CXREPMwB.js → p-DrKmW41y.js} +3 -5
  250. package/dist/components/p-DrKmW41y.js.map +1 -0
  251. package/dist/components/{p-BN5kaJQg.js → p-FhAWwRc3.js} +6 -8
  252. package/dist/components/p-FhAWwRc3.js.map +1 -0
  253. package/dist/components/p-IOxlICcT.js +163 -0
  254. package/dist/components/p-IOxlICcT.js.map +1 -0
  255. package/dist/components/{p-C_aWPgsl.js → p-WA5K_3rK.js} +5 -9
  256. package/dist/components/p-WA5K_3rK.js.map +1 -0
  257. package/dist/components/p-fZrBBdjT.js +20 -0
  258. package/dist/components/p-fZrBBdjT.js.map +1 -0
  259. package/dist/components/{p-DtaKGAKx.js → p-jTRkxsbR.js} +28 -28
  260. package/dist/components/{p-DtaKGAKx.js.map → p-jTRkxsbR.js.map} +1 -1
  261. package/dist/components/p-occgvucg.js +227 -0
  262. package/dist/components/p-occgvucg.js.map +1 -0
  263. package/dist/components/p-sG0jTurp.js +111 -0
  264. package/dist/components/p-sG0jTurp.js.map +1 -0
  265. package/dist/components/p-viwZL2Z8.js +142 -0
  266. package/dist/components/p-viwZL2Z8.js.map +1 -0
  267. package/dist/components/p-wkyeeZK2.js +112 -0
  268. package/dist/components/p-wkyeeZK2.js.map +1 -0
  269. package/dist/components/profile-history.js +1 -1
  270. package/dist/components/profile-info.js +1 -1
  271. package/dist/components/profile-media.js +1 -1
  272. package/dist/components/profile-tabs.js +1 -1
  273. package/dist/components/quick-message-add-template.js +1 -1
  274. package/dist/components/quick-message-app.js +12 -12
  275. package/dist/components/quick-message-app.js.map +1 -1
  276. package/dist/components/quick-message-button-content.js +1 -1
  277. package/dist/components/quick-message-file.js +1 -1
  278. package/dist/components/quick-message-image-content.js +1 -1
  279. package/dist/components/quick-message-image.js +1 -1
  280. package/dist/components/quick-message-menu-list-content.js +1 -1
  281. package/dist/components/quick-message-modal.js +1 -1
  282. package/dist/components/quick-message-template.js +1 -1
  283. package/dist/components/quick-message-text-content.js +1 -1
  284. package/dist/components/quick-message-video-content.js +1 -1
  285. package/dist/components/search-box.js +1 -1
  286. package/dist/components/status-badge.js +1 -1
  287. package/dist/components/summarize-message-section.js +1 -1
  288. package/dist/components/tag-list.js +1 -1
  289. package/dist/components/tag-or-status-item.js +1 -1
  290. package/dist/components/tag-popper.js +1 -1
  291. package/dist/components/typography-clamp.js +1 -1
  292. package/dist/components/user-info-section.js +1 -1
  293. package/dist/components/z-avatar.js +1 -1
  294. package/dist/components/z-dialog.js +1 -1
  295. package/dist/esm/autocomplete-address_43.entry.js +204 -198
  296. package/dist/esm/quick-message-app.entry.js +2 -2
  297. package/dist/esm/quick-message-app.entry.js.map +1 -1
  298. package/dist/types/components/quick-message-add-template/quick-message-template-button-dialog.d.ts +0 -1
  299. package/dist/types/components/quick-message-add-template/quick-message-template-button-list.d.ts +0 -1
  300. package/dist/types/components.d.ts +2 -2
  301. package/dist/zignal-stencil-library/{p-6e8b1e6b.entry.js → p-9c787a6f.entry.js} +284 -284
  302. package/dist/zignal-stencil-library/p-9c787a6f.entry.js.map +1 -0
  303. package/dist/zignal-stencil-library/p-f0f7f13a.entry.js +2 -0
  304. package/dist/zignal-stencil-library/{p-bf2b0918.entry.js.map → p-f0f7f13a.entry.js.map} +1 -1
  305. package/dist/zignal-stencil-library/quick-message-app.entry.esm.js.map +1 -1
  306. package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
  307. package/package.json +1 -1
  308. package/dist/components/p-1nKZsYJV.js +0 -184
  309. package/dist/components/p-1nKZsYJV.js.map +0 -1
  310. package/dist/components/p-4ednqCu1.js +0 -566
  311. package/dist/components/p-4ednqCu1.js.map +0 -1
  312. package/dist/components/p-8qEzh9SS.js.map +0 -1
  313. package/dist/components/p-B3vYYgfy.js +0 -142
  314. package/dist/components/p-B3vYYgfy.js.map +0 -1
  315. package/dist/components/p-B6Oqalkt.js +0 -161
  316. package/dist/components/p-B6Oqalkt.js.map +0 -1
  317. package/dist/components/p-BIsOKyPf.js +0 -20
  318. package/dist/components/p-BIsOKyPf.js.map +0 -1
  319. package/dist/components/p-BN5kaJQg.js.map +0 -1
  320. package/dist/components/p-BOcFErqH.js +0 -603
  321. package/dist/components/p-BOcFErqH.js.map +0 -1
  322. package/dist/components/p-BR0qHxMx.js +0 -219
  323. package/dist/components/p-BR0qHxMx.js.map +0 -1
  324. package/dist/components/p-Bgn09v-w.js +0 -124
  325. package/dist/components/p-Bgn09v-w.js.map +0 -1
  326. package/dist/components/p-BksE5hg7.js +0 -235
  327. package/dist/components/p-BksE5hg7.js.map +0 -1
  328. package/dist/components/p-BoydN4os.js +0 -112
  329. package/dist/components/p-BoydN4os.js.map +0 -1
  330. package/dist/components/p-BzI2D97S.js +0 -519
  331. package/dist/components/p-BzI2D97S.js.map +0 -1
  332. package/dist/components/p-CArvTJoW.js +0 -35
  333. package/dist/components/p-CCNzvfR_.js +0 -159
  334. package/dist/components/p-CCNzvfR_.js.map +0 -1
  335. package/dist/components/p-CNiD6fCD.js +0 -61
  336. package/dist/components/p-CNiD6fCD.js.map +0 -1
  337. package/dist/components/p-CQVxpQMS.js +0 -144
  338. package/dist/components/p-CQVxpQMS.js.map +0 -1
  339. package/dist/components/p-CXREPMwB.js.map +0 -1
  340. package/dist/components/p-C_-YDF9v.js +0 -684
  341. package/dist/components/p-C_-YDF9v.js.map +0 -1
  342. package/dist/components/p-C_aWPgsl.js.map +0 -1
  343. package/dist/components/p-CbGFIm5U.js +0 -111
  344. package/dist/components/p-CbGFIm5U.js.map +0 -1
  345. package/dist/components/p-CgauTkVI.js +0 -190
  346. package/dist/components/p-CgauTkVI.js.map +0 -1
  347. package/dist/components/p-Cln26Qch.js.map +0 -1
  348. package/dist/components/p-Csghi5Jh.js +0 -79
  349. package/dist/components/p-Csghi5Jh.js.map +0 -1
  350. package/dist/components/p-CyqxQQZN.js +0 -140
  351. package/dist/components/p-CyqxQQZN.js.map +0 -1
  352. package/dist/components/p-D04d-ugd.js +0 -160
  353. package/dist/components/p-D0p9pya8.js +0 -137
  354. package/dist/components/p-D0p9pya8.js.map +0 -1
  355. package/dist/components/p-D2VXWXdE.js +0 -101
  356. package/dist/components/p-D2VXWXdE.js.map +0 -1
  357. package/dist/components/p-D7CoDfLl.js +0 -557
  358. package/dist/components/p-D7CoDfLl.js.map +0 -1
  359. package/dist/components/p-D9jyxDSc.js +0 -113
  360. package/dist/components/p-D9jyxDSc.js.map +0 -1
  361. package/dist/components/p-DGIY0GDJ.js +0 -178
  362. package/dist/components/p-DGIY0GDJ.js.map +0 -1
  363. package/dist/components/p-DGgn1vds.js +0 -12
  364. package/dist/components/p-DGgn1vds.js.map +0 -1
  365. package/dist/components/p-DW2oCYil.js +0 -58
  366. package/dist/components/p-DW2oCYil.js.map +0 -1
  367. package/dist/components/p-D_IHjZ-q.js +0 -163
  368. package/dist/components/p-D_IHjZ-q.js.map +0 -1
  369. package/dist/components/p-DqJdsfJb.js +0 -518
  370. package/dist/components/p-DqJdsfJb.js.map +0 -1
  371. package/dist/components/p-Dr67NIsD.js.map +0 -1
  372. package/dist/components/p-HCd8IVUw.js.map +0 -1
  373. package/dist/components/p-I30--9yD.js +0 -124
  374. package/dist/components/p-I30--9yD.js.map +0 -1
  375. package/dist/components/p-Qu1JlZOI.js +0 -81
  376. package/dist/components/p-Qu1JlZOI.js.map +0 -1
  377. package/dist/components/p-VGL-Lt1l.js +0 -132
  378. package/dist/components/p-Xe33--ik.js +0 -55
  379. package/dist/components/p-Xe33--ik.js.map +0 -1
  380. package/dist/components/p-fhCpNNOm.js +0 -126
  381. package/dist/components/p-fhCpNNOm.js.map +0 -1
  382. package/dist/components/p-jorn7g2f.js +0 -107
  383. package/dist/components/p-jorn7g2f.js.map +0 -1
  384. package/dist/components/p-mDwRdOtm.js +0 -315
  385. package/dist/components/p-mDwRdOtm.js.map +0 -1
  386. package/dist/components/p-sJKH7vtI.js +0 -104
  387. package/dist/components/p-sJKH7vtI.js.map +0 -1
  388. package/dist/components/p-yzEW8ucQ.js +0 -227
  389. package/dist/components/p-yzEW8ucQ.js.map +0 -1
  390. package/dist/zignal-stencil-library/p-6e8b1e6b.entry.js.map +0 -1
  391. package/dist/zignal-stencil-library/p-bf2b0918.entry.js +0 -2
@@ -1,161 +0,0 @@
1
- import { p as proxyCustomElement, H, h, a as Host } from './p-DRz4sc4i.js';
2
- import { f as getActivityLogs } from './p-J_olRnMz.js';
3
- import { s as selectedChatStore, p as profilePanelStore, c as configStore } from './p-C-yg0vtE.js';
4
- import { e as scrollToMessage, h as handleGetChatMessages } from './p-hhz0UGz2.js';
5
- import { u as useTranslation } from './p-GPPFvEYq.js';
6
- import { a as displayDateTime } from './p-CWHeSqYk.js';
7
- import { Z as ZTagOrStatusItem } from './p-BIsOKyPf.js';
8
- import { h as handleError } from './p-DS28c-yX.js';
9
- import { d as defineCustomElement$2 } from './p-I30--9yD.js';
10
- import { d as defineCustomElement$1 } from './p-BoydN4os.js';
11
-
12
- const profileHistoryCss = "@layer base{*,::backdrop,:after,:before{--tw-space-y-reverse:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-drop-shadow-alpha:100%;--tw-border-style:solid;--tw-divide-y-reverse:0;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-space-y-reverse:0;--tw-leading:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0}}}@layer theme{:host,:root{--container-xl:36rem;--color-yellow-300:oklch(90.5% .182 98.111);--container-3xs:16rem;--color-slate-500:oklch(55.4% .046 257.417);--leading-relaxed:1.625;--color-red-50:oklch(97.1% .013 17.38);--color-red-200:oklch(88.5% .062 18.334);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-900:oklch(20.8% .042 265.755);--container-md:28rem;--text-2xl:1.5rem;--text-2xl--line-height:1.33333;--leading-tight:1.25;--leading-snug:1.375;--color-yellow-500:oklch(79.5% .184 86.047);--container-xs:20rem;--container-sm:24rem;--color-red-700:oklch(50.5% .213 27.518);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-blue-500:oklch(62.3% .214 259.815);--color-pink-100:oklch(94.8% .028 342.258);--font-weight-semibold:600;--font-weight-bold:700;--animate-spin:spin 1s linear infinite;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--text-sm:.875rem;--text-sm--line-height:1.42857;--text-base:1rem;--text-base--line-height:1.5;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:\"Kanit\",var(--default-font);--default-mono-font-family:var(--font-mono);--default-font:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-primary-dark:#b50f30;--color-secondary-dark:#fff;--color-background-dark:#23292d}}@layer base{::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-meridiem-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-color:oklch(55.1% .027 264.364);border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);border-color:oklch(54.6% .245 262.881);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;color:oklch(54.6% .245 262.881);print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-color:oklch(55.1% .027 264.364);border-width:1px;display:inline-block;flex-shrink:0;height:1rem;padding:0;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components{.dialog-backdrop{align-items:center;background-color:#0006;display:flex;inset:calc(var(--spacing)*0);justify-content:center;position:fixed;z-index:50}@supports (color:color-mix(in lab,red,red)){.dialog-backdrop{background-color:color-mix(in oklab,var(--color-black)40%,transparent);background-color:color-mix(in srgb,#00040%,transparent)}}.chat-item{border-radius:var(--radius-xl);cursor:pointer;margin-block:calc(var(--spacing)*1);margin-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);align-items:flex-start;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:flex;position:relative}:where(.chat-item>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-pin{position:absolute;right:calc(var(--spacing)*-3);top:calc(var(--spacing)*1)}.chat-item .chat-item-pin-icon{fill:currentColor;height:calc(var(--spacing)*3);rotate:45deg;width:calc(var(--spacing)*3)}.chat-item .chat-item-content-container{display:flex;flex-direction:row;width:100%}:where(.chat-item .chat-item-content-container>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-avatar-wrapper{align-self:center;flex-shrink:0;position:relative}.chat-item .chat-item-avatar-badge{bottom:calc(var(--spacing)*-.5);position:absolute;right:calc(var(--spacing)*-.5)}.chat-item .chat-item-content-wrapper{min-height:calc(var(--spacing)*18);width:100%}.chat-item .chat-item-content-main{align-items:center;display:flex}:where(.chat-item .chat-item-content-main>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}.chat-item .chat-item-content-main-image{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.chat-item .chat-item-content-main-name{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-main-time{color:var(--color-gray-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-secondary{align-items:flex-start;display:flex;flex-direction:row;width:100%}.chat-item .chat-item-content-secondary-nickname{font-size:var(--text-base);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-base--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-secondary-message{color:var(--color-gray-600);font-size:var(--text-sm);-webkit-line-clamp:1;line-height:var(--tw-leading,var(--text-sm--line-height));-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-unread{background-color:var(--color-primary);border-radius:3.40282e+38px;color:var(--color-white);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-unread-mark{display:inline-block;height:calc(var(--spacing)*2.5);width:calc(var(--spacing)*2.5)}.chat-item .chat-item-content-unread-count{padding-block:calc(var(--spacing)*.5);padding-inline:calc(var(--spacing)*2)}.z-icon-button{cursor:pointer;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-icon-button:focus{--tw-outline-style:none;outline-style:none}.z-icon-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-icon-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-icon-button-disabled{cursor:not-allowed;opacity:.5}.z-button{cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button:focus{--tw-outline-style:none;outline-style:none}.z-button-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px;color:var(--color-primary)}.z-button-disabled{cursor:not-allowed;opacity:.5}.z-button-text{margin-inline:calc(var(--spacing)*2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.z-input-area-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input-area-input,.z-input-area-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input-area-input{border-radius:var(--radius-lg);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input-area-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-area-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-input-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input,.z-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input{border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-radius:3.40282e+38px;border-width:1px;width:100%}.z-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-select-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-tag-or-status-item{align-items:center;border-radius:var(--radius-2xl);gap:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*3);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-flex}.z-tag-or-status-item .z-tag-or-status-item-name{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));max-width:calc(var(--spacing)*20)}.z-tag-or-status-item .z-tag-or-status-item-icon{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-context-input{align-items:stretch;display:flex;flex-direction:row;margin-block:calc(var(--spacing)*1)}.z-context-input-key{border-bottom-left-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-left-radius:var(--radius-3xl);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:1}.z-context-input-key:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-context-input-value{border-bottom-right-radius:var(--radius-3xl);border-style:var(--tw-border-style);border-top-right-radius:var(--radius-3xl);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);border-width:1px;flex:1}.z-context-input-value:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-text-with-link{color:var(--color-blue-600);text-decoration-line:underline}.z-button-group{display:inline-flex}.z-button-group-tab{border-radius:var(--radius-md);display:flex;gap:calc(var(--spacing)*1);padding:calc(var(--spacing)*.5)!important}.z-button-group-item{border-style:var(--tw-border-style);cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-width:1px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button-group-item:focus{--tw-outline-style:none;outline-style:none}.z-button-group-item-tab{align-items:center;border-radius:var(--radius-sm);border-style:var(--tw-border-style)!important;border-width:0!important;display:flex;flex:1;flex-direction:column;gap:calc(var(--spacing)*2);justify-content:center;padding:calc(var(--spacing)*1)!important}.z-button-group-item-tab-selected{background-color:var(--color-white);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-selected,.z-button-group-item-tab-unselected{border-style:var(--tw-border-style)!important;border-width:0!important}.z-button-group-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-group-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-group-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-group-item-first{border-bottom-left-radius:3.40282e+38px;border-top-left-radius:3.40282e+38px}.z-button-group-item-last{border-bottom-right-radius:3.40282e+38px;border-top-right-radius:3.40282e+38px}.z-button-group-item-middle{border-radius:0}.z-button-group-item-primary-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-primary-unselected{background-color:var(--color-white);border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-outlined-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-outlined-unselected{background-color:#0000;border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-disabled{cursor:not-allowed;opacity:.5}.z-button-group-item:not(:first-child){margin-left:-1px}}@layer utilities{.hidden{display:none}.hidden\\!{display:none!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.scroll-container::-webkit-scrollbar{background:#0000001a;height:8px;width:8px}.scroll-container:active::-webkit-scrollbar,.scroll-container:hover::-webkit-scrollbar{background:#0003}.scroll-container:active::-webkit-scrollbar-thumb,.scroll-container:hover::-webkit-scrollbar-thumb{background:#0006;border-radius:4px}[data-theme=light] .text-primary{color:var(--color-black)}[data-theme=dark] .text-primary{color:var(--color-white)}[data-theme=light] .text-gray{color:var(--color-gray-500)}[data-theme=dark] .text-gray{color:var(--color-gray-300)}[data-theme=light] .text-accent{color:var(--color-primary)}[data-theme=dark] .text-accent{color:var(--color-primary-dark)}[data-theme=light] .bg-surface{background-color:var(--color-background,#fff)}[data-theme=dark] .bg-surface{background-color:var(--color-background-dark,#23292d)}[data-theme=light] .bg-paper{background-color:var(--color-gray-100)}[data-theme=dark] .bg-paper{background-color:var(--color-gray-700)}[data-theme=light] .bg-time-badge{background-color:#0000004d}[data-theme=dark] .bg-time-badge{background-color:#ffffff4d}[data-theme=light] .bg-primary{background-color:var(--color-black)}[data-theme=dark] .bg-primary{background-color:var(--color-white)}[data-theme=light] .bg-accent{background-color:var(--color-primary)}[data-theme=dark] .bg-accent{background-color:var(--color-primary-dark)}[data-theme=light] .border-primary{border-color:var(--color-black)}[data-theme=dark] .border-primary{border-color:var(--color-white)}[data-theme=light] .border-divider{border-color:var(--color-gray-200)}[data-theme=dark] .border-divider{border-color:var(--color-gray-600)}[data-theme=light] .border-accent{border-color:var(--color-primary)}[data-theme=dark] .border-accent{border-color:var(--color-primary-dark)}.z-text-light{color:var(--color-black)}.z-text-dark{color:var(--color-white)}.z-text-primary-light{color:var(--color-primary)}.z-text-primary-dark{color:var(--color-primary-dark)}.z-text-gray-light{color:var(--color-gray-500)}.z-text-gray-dark{color:var(--color-gray-300)}.z-text-background-light{color:var(--color-background)}.z-text-background-dark{color:var(--color-background-dark)}.z-border-light{border-color:var(--color-black)}.z-border-dark{border-color:var(--color-white)}.z-border-primary-light{border-color:var(--color-primary)}.z-border-primary-dark{border-color:var(--color-primary-dark)}.z-border-divider-light{border-color:var(--color-gray-400)}.z-border-divider-dark{border-color:var(--color-gray-300)}.z-search-input-background-light{background-color:var(--color-gray-200)}.z-search-input-background-dark{background-color:var(--color-gray-500)}.z-chat-input-background-light{background-color:var(--color-white)}.z-chat-input-background-dark{background-color:var(--color-gray-700)}.z-placeholder-light::placeholder{color:var(--color-gray-500)}.z-placeholder-dark::placeholder{color:var(--color-gray-200)}.z-background-primary-light{background-color:var(--color-primary)}.z-background-primary-dark{background-color:var(--color-primary-dark)}.z-background-light{background-color:var(--color-background)}.z-background-dark{background-color:var(--color-background-dark)}.z-paper-light{background-color:var(--color-gray-100)}.z-paper-dark{background-color:var(--color-gray-700)}.z-bg-gray-light{background-color:var(--color-gray-500)}.z-bg-gray-dark{background-color:var(--color-gray-300)}.z-width-100{width:100%}.z-width-90{width:90%}.z-width-75{width:75%}.z-width-50{width:50%}.z-width-25{width:25%}.z-width-0{width:0}.z-animate-width{transition-duration:.5s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.z-animate-grid-template-cols{transition:grid-template-rows .5s}[type=checkbox]{background-color:var(--color-gray-300);border-color:var(--color-gray-300);border-radius:4px;cursor:pointer}[type=checkbox]:checked,[type=checkbox]:indeterminate{background-color:var(--color-primary);border-color:var(--color-primary);border-radius:4px;cursor:pointer}[type=checkbox]:focus{offset:0;outline-offset:0;--tw-ring-color:var(--color-primary);outline:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.grid-cols-1{grid-template-columns:1fr}.grid-cols-1_3{grid-template-columns:1fr 3fr}.grid-cols-1_2_1{grid-template-columns:1fr 2fr 1fr}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.container{width:100%}.cursor-pointer{cursor:pointer}.border-primary{border-color:var(--color-primary)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.text-primary{color:var(--color-primary)}.relative{position:relative}.size-5{height:calc(var(--spacing)*5);width:calc(var(--spacing)*5)}.rotate-45{rotate:45deg}.text-blue-500{color:var(--color-blue-500)}.text-green-500{color:var(--color-green-500)}.mb-2{margin-bottom:calc(var(--spacing)*2)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.mt-auto{margin-top:auto}.mb-auto{margin-bottom:auto}.text-black{color:var(--color-black)}.w-xl{width:var(--container-xl)}.w-xs{width:var(--container-xs)}.m-auto{margin:auto}.size-32{height:calc(var(--spacing)*32);width:calc(var(--spacing)*32)}.\\!hidden{display:none!important}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.col-span-2{grid-column:span 2/span 2}.my-2{margin-block:calc(var(--spacing)*2)}.w-full{width:100%}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.py-2{padding-block:calc(var(--spacing)*2)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.visible{visibility:visible}.-top-12{top:calc(var(--spacing)*-12)}.-top-24{top:calc(var(--spacing)*-24)}.mx-auto{margin-inline:auto}.mt-10{margin-top:calc(var(--spacing)*10)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.inline-block{display:inline-block}.size-18{height:calc(var(--spacing)*18);width:calc(var(--spacing)*18)}.p-4{padding:calc(var(--spacing)*4)}.px-4{padding-inline:calc(var(--spacing)*4)}.pt-4{padding-top:calc(var(--spacing)*4)}.pb-8{padding-bottom:calc(var(--spacing)*8)}.bg-pink-100{background-color:var(--color-pink-100)}.absolute{position:absolute}.right-full{right:100%}.-bottom-2{bottom:calc(var(--spacing)*-2)}.left-full{left:100%}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-0\\.5{margin-bottom:calc(var(--spacing)*.5)}.mb-2\\.5{margin-bottom:calc(var(--spacing)*2.5)}.ml-2{margin-left:calc(var(--spacing)*2)}.flex{display:flex}.size-3{height:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.rounded-full{border-radius:3.40282e+38px}.bg-yellow-300{background-color:var(--color-yellow-300)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-left{text-align:left}.text-right{text-align:right}.mt-1{margin-top:calc(var(--spacing)*1)}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.size-4{height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.size-8{height:calc(var(--spacing)*8);width:calc(var(--spacing)*8)}.max-w-3xs{max-width:var(--container-3xs)}.max-w-sm{max-width:var(--container-sm)}.resize{resize:both}.rounded-br-\\[0\\]{border-bottom-right-radius:0}.rounded-bl-\\[0\\]{border-bottom-left-radius:0}.bg-black{background-color:var(--color-black)}.bg-white{background-color:var(--color-white)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.px-3{padding-inline:calc(var(--spacing)*3)}.text-white{color:var(--color-white)}.underline{text-decoration-line:underline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.-right-0\\.5{right:calc(var(--spacing)*-.5)}.-bottom-0\\.5{bottom:calc(var(--spacing)*-.5)}.col-span-3{grid-column:span 3/span 3}.mt-2{margin-top:calc(var(--spacing)*2)}.flex-wrap{flex-wrap:wrap}.gap-y-1{row-gap:calc(var(--spacing)*1)}.border-b-\\[0\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:.5px}.pt-2{padding-top:calc(var(--spacing)*2)}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.whitespace-nowrap{white-space:nowrap}.size-42{height:calc(var(--spacing)*42);width:calc(var(--spacing)*42)}.h-20{height:calc(var(--spacing)*20)}.w-42{width:calc(var(--spacing)*42)}.top-1\\/2{top:50%}.right-2{right:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.inline-flex{display:inline-flex}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.min-h-0{min-height:calc(var(--spacing)*0)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.min-w-0{min-width:calc(var(--spacing)*0)}.flex-1{flex:1}.-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.animate-spin{animation:var(--animate-spin)}.justify-between{justify-content:space-between}.gap-1{gap:calc(var(--spacing)*1)}.gap-2{gap:calc(var(--spacing)*2)}.gap-2\\.5{gap:calc(var(--spacing)*2.5)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.overflow-y-auto{overflow-y:auto}.rounded-lg{border-radius:var(--radius-lg)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.py-2\\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.pr-9{padding-right:calc(var(--spacing)*9)}.text-center{text-align:center}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.break-words{overflow-wrap:break-word}.text-gray-400{color:var(--color-gray-400)}.ring-primary{--tw-ring-color:var(--color-primary)}.focus\\:border-primary:focus{border-color:var(--color-primary)}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-40:disabled{opacity:.4}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities;/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}@keyframes spin{to{transform:rotate(1turn)}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{.border-transparent{border-color:#0000}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.inset-0{inset:calc(var(--spacing)*0)}.top-3{top:calc(var(--spacing)*3)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-3{bottom:calc(var(--spacing)*3)}.left-3{left:calc(var(--spacing)*3)}.z-10{z-index:10}.z-\\[80\\]{z-index:80}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.contents{display:contents}.grid{display:grid}.aspect-square{aspect-ratio:1}.size-12{height:calc(var(--spacing)*12);width:calc(var(--spacing)*12)}.size-14{height:calc(var(--spacing)*14);width:calc(var(--spacing)*14)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-\\[180px\\]{height:180px}.h-\\[220px\\]{height:220px}.h-\\[280px\\]{height:280px}.h-full{height:100%}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-\\[200px\\]{width:200px}.w-\\[250px\\]{width:250px}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-xs{max-width:var(--container-xs)}.flex-shrink-0,.shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.resize-none{resize:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[18px\\]{border-radius:18px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\\[1\\.5px\\]{border-style:var(--tw-border-style);border-width:1.5px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[1\\.5px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:1.5px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-current{border-color:currentColor}.border-red-500{border-color:var(--color-red-500)}.bg-slate-900\\/40{background-color:#0f172b66}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/40{background-color:color-mix(in oklab,var(--color-slate-900)40%,transparent)}}.bg-slate-900\\/60{background-color:#0f172b99}@supports (color:color-mix(in lab,red,red)){.bg-slate-900\\/60{background-color:color-mix(in oklab,var(--color-slate-900)60%,transparent)}}.bg-transparent{background-color:#0000}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab,red,red)){.bg-white\\/90{background-color:color-mix(in srgb,#fff90%,transparent);background-color:color-mix(in oklab,var(--color-white)90%,transparent)}}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing)*1)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-4{padding-block:calc(var(--spacing)*4)}.py-12{padding-block:calc(var(--spacing)*12)}.pr-16{padding-right:calc(var(--spacing)*16)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pl-2{padding-left:calc(var(--spacing)*2)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-\\[13px\\]{font-size:13px}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.text-red-500{color:var(--color-red-500)}.text-slate-700{color:var(--color-slate-700)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow,.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.shadow,.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-all,.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-opacity{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.focus\\:border-red-500:focus{border-color:var(--color-red-500)}.focus\\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-0:focus,.focus\\:ring-2:focus{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor)}.focus\\:ring-red-200:focus{--tw-ring-color:var(--color-red-200)}.focus\\:ring-red-500:focus{--tw-ring-color:var(--color-red-500)}.focus\\:ring-slate-200:focus{--tw-ring-color:var(--color-slate-200)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-\\[160px\\]{height:160px}.h-\\[200px\\]{height:200px}.w-\\[240px\\]{width:240px}.shrink-0{flex-shrink:0}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.self-end{align-self:flex-end}.py-1{padding-block:calc(var(--spacing)*1)}.py-10{padding-block:calc(var(--spacing)*10)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.text-\\[10px\\]{font-size:10px}.text-\\[11px\\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.whitespace-pre-line{white-space:pre-line}.text-slate-500{color:var(--color-slate-500)}.opacity-70{opacity:.7}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\]{--tw-shadow:0 8px 24px var(--tw-shadow-color,#0f172a14)}.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.col-span-full{grid-column:1/-1}.h-16{height:calc(var(--spacing)*16)}.w-16{width:calc(var(--spacing)*16)}.auto-rows-auto{grid-auto-rows:auto}.content-start{align-content:flex-start}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.text-yellow-500{color:var(--color-yellow-500)}.size-16{height:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.size-\\[8px\\]{height:8px;width:8px}.size-\\[10px\\]{height:10px;width:10px}.col-span-1{grid-column:span 1/span 1}.m-2{margin:calc(var(--spacing)*2)}.mx-4{margin-inline:calc(var(--spacing)*4)}.ml-0\\.5{margin-left:calc(var(--spacing)*.5)}.w-1\\/2{width:50%}.max-w-32{max-width:calc(var(--spacing)*32)}.translate-y-0{--tw-translate-y:calc(var(--spacing)*0)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%}.bg-secondary{background-color:var(--color-secondary)}.text-green-700{color:var(--color-green-700)}.text-red-700{color:var(--color-red-700)}.capitalize{text-transform:capitalize}.opacity-100{opacity:1}}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer utilities{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components{.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-input,.z-input-area-input,.z-input-area-label,.z-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-button-group-item-tab,.z-button-group-item-tab-selected{border-style:var(--tw-border-style)!important;border-width:0!important}}@layer utilities{.focus\\:ring-0:focus,.focus\\:ring-2:focus,.shadow,.shadow-\\[0_8px_24px_rgba\\(15\\,23\\,42\\,0\\.08\\)\\],.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.translate-y-0,.translate-y-full{translate:var(--tw-translate-x)var(--tw-translate-y)}}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}:host{display:block}.profile-history{height:100%;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4)}.profile-history-wrapper{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*2)}.profile-history-loading{display:flex;justify-content:center;padding-block:calc(var(--spacing)*8)}.profile-history-no-activity{display:flex;justify-content:center;padding-block:calc(var(--spacing)*24)}:where(.profile-history-content>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-bottom-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-color:var(--color-gray-200);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse))}.profile-history-box-activity-wrapper{align-items:flex-start;display:flex;gap:calc(var(--spacing)*1)}.profile-history-box-wrapper{align-items:center;display:flex;gap:calc(var(--spacing)*2)}.profile-history-box-container{flex:1;min-width:calc(var(--spacing)*0)}.profile-history-content-wrapper{align-items:flex-start;display:flex;font-size:var(--text-xs);gap:calc(var(--spacing)*1);line-height:var(--tw-leading,var(--text-xs--line-height))}.profile-history-box-action-text{display:inline-flex;flex-direction:column;gap:calc(var(--spacing)*1)}.profile-history-box-menu-list{align-items:flex-start;display:flex;gap:calc(var(--spacing)*2)}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@media (forced-colors:active){[type=checkbox]:checked,[type=radio]:checked{appearance:auto}[type=checkbox]:indeterminate{appearance:auto}[type=checkbox]:checked,[type=checkbox]:indeterminate,[type=radio]:checked{appearance:auto}}@media (hover:hover){.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-tab:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-unselected:hover{background-color:var(--color-white)}.z-button-group-item-primary-unselected:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-outlined-unselected:hover{background-color:#e028481a}@supports (color:color-mix(in lab,red,red)){.z-button-group-item-outlined-unselected:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent);background-color:color-mix(in srgb,#e0284810%,transparent)}}.hover\\:brightness-110:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:opacity-100:hover{opacity:1}.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@media screen and (min-width:0){.z-max-height{height:calc(100vh - 56px)}}@media screen and (min-width:600px){.z-max-height{height:calc(100vh - 64px)}}@media (min-width:40rem){.container{max-width:40rem}.sm\\:min-w-0{min-width:calc(var(--spacing)*0)}.sm\\:flex-row{flex-direction:row}.sm\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:48rem){.container{max-width:48rem}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:64rem){.container{max-width:64rem}.lg\\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}@media not all and (min-width:40rem){.max-sm\\:hidden{display:none}}";
13
-
14
- const ProfileHistory = /*@__PURE__*/ proxyCustomElement(class ProfileHistory extends H {
15
- constructor(registerHost) {
16
- super();
17
- if (registerHost !== false) {
18
- this.__registerHost();
19
- }
20
- }
21
- disposeListener;
22
- isLoading = false;
23
- logs = [];
24
- prevSelectedChat = null;
25
- async componentWillLoad() {
26
- this.disposeListener = selectedChatStore.onChange('selectedChat', async (newChat) => {
27
- if (!newChat) {
28
- this.logs = [];
29
- return;
30
- }
31
- if (newChat.id !== this.prevSelectedChat?.id) {
32
- await this.loadLogs();
33
- this.prevSelectedChat = newChat;
34
- }
35
- });
36
- // Initial load if a chat is already selected
37
- if (selectedChatStore.get('selectedChat')) {
38
- await this.loadLogs();
39
- }
40
- }
41
- disconnectedCallback() {
42
- this.disposeListener?.();
43
- }
44
- async loadLogs() {
45
- const selectedChat = selectedChatStore.get('selectedChat');
46
- if (!selectedChat)
47
- return;
48
- try {
49
- this.isLoading = true;
50
- const { channel } = selectedChat;
51
- const type = selectedChat.type === 'group' ? 'group' : 'user';
52
- const id = selectedChat[type]?.id;
53
- const res = await getActivityLogs({ type, channel, id });
54
- this.logs = res.activity_logs || [];
55
- }
56
- catch (error) {
57
- this.logs = [];
58
- handleError(error, 'Failed to load Activity Logs');
59
- }
60
- finally {
61
- this.isLoading = false;
62
- }
63
- }
64
- renderChip(item) {
65
- if (!item)
66
- return null;
67
- return (h(ZTagOrStatusItem, { item: {
68
- id: '',
69
- name: item.name,
70
- color: item.color,
71
- sequence: 0,
72
- } }));
73
- }
74
- getTypeText(log) {
75
- return log.from?.type || log.to?.type || log.item?.type || '';
76
- }
77
- getActionText(log) {
78
- const t = useTranslation();
79
- return `${log.sender?.name} ${(() => {
80
- const action = log.action;
81
- const type = this.getTypeText(log);
82
- return t(`profile_tab.activity_action`)
83
- .replace('{action}', t(`${action}`))
84
- .replace('{type}', t(`${type}`))
85
- .toLowerCase();
86
- })()}`;
87
- }
88
- async handleGoToMessage(messageId) {
89
- try {
90
- profilePanelStore.set('isShow', false);
91
- const isSuccessScroll = scrollToMessage(messageId);
92
- if (!isSuccessScroll) {
93
- await handleGetChatMessages({ startMessageId: messageId });
94
- setTimeout(() => {
95
- scrollToMessage(messageId);
96
- }, 300);
97
- }
98
- }
99
- catch (error) {
100
- handleError(error, 'Failed to go to message');
101
- }
102
- }
103
- renderMenuList(logId) {
104
- const t = useTranslation();
105
- const menuItems = [
106
- {
107
- label: t('profile_tab.go_to_message'),
108
- value: 'go_to_message',
109
- onClick: () => this.handleGoToMessage(logId),
110
- },
111
- ];
112
- return h("menu-list", { menuItems: menuItems, referenceSelector: `log-${logId}`, iconName: "EllipsisVertical", noPaddingY: true });
113
- }
114
- renderActivityLog(log) {
115
- const theme = configStore.get('theme');
116
- return (h("div", { class: "profile-history-box-activity-wrapper" }, h("div", { class: "profile-history-box-container" }, h("div", { class: `text-xs z-text-${theme}`, title: this.getActionText(log) }, log.created_at ? `${displayDateTime(log.created_at)} : ` : '', h("div", { class: "profile-history-box-action-text" }, h("div", { class: "truncate w-full" }, this.getActionText(log)), h("div", { class: "profile-history-box-wrapper" }, 'from' in log && log.from && this.renderChip(log.from), 'action' in log && log.action === 'change' && h("span", { class: `text-sm z-text-gray-${theme}` }, "\u2192"), 'to' in log && log.to && this.renderChip(log.to), 'item' in log && log.item && this.renderChip(log.item))))), h("div", { id: `log-${log.id}`, class: "profile-history-box-menu-list" }, this.renderMenuList(log.id))));
117
- }
118
- renderSummarizedChat(log) {
119
- const theme = configStore.get('theme');
120
- const t = useTranslation();
121
- return (h("div", { class: "profile-history-box-wrapper" }, h("div", { class: "profile-history-box-container" }, h("div", { class: `profile-history-content-wrapper z-text-${theme}` }, log.created_at ? `${displayDateTime(log.created_at)} : ` : '', h("div", { class: `profile-history-box-container z-text-${theme}` }, h("typography-clamp", { text: `${t('chat_tab.summary')}\n${log.text}`, textColor: "z-text", lines: 3 })))), h("div", { id: `log-${log.id}`, class: "profile-history-box-menu-list" }, this.renderMenuList(log.id))));
122
- }
123
- render() {
124
- const theme = configStore.get('theme');
125
- const t = useTranslation();
126
- return (h(Host, { key: 'd09448e12c7b58d333ee46d33752b4db93ba5ef3' }, h("div", { key: '7c46d841555fda15430421d1d64cccc9e27a6df8', class: "profile-history" }, h("div", { key: '3638f6add9a537721a7c3e76dadbb72b9bea56f2', class: `profile-history-wrapper z-text-gray-${theme}` }, t('profile_tab.history_info')), this.isLoading && (h("div", { key: '14b371463856ff54184e8b80ca549c6c8015d8d0', class: "profile-history-loading" }, h("span", { key: '6ab9d251bff605425a3a342fc071710f839d5895', class: `text-sm z-text-gray-${theme}` }, "Loading..."))), !this.isLoading && this.logs.length === 0 && (h("div", { key: '03050e691e18fc48a3523f99a7fdcf7228f8149a', class: "profile-history-no-activity" }, h("span", { key: '80be785c34577cb6556d0b01d096551f10bb66d1', class: `text-sm z-text-${theme}` }, t('profile_tab.no_activity_log')))), !this.isLoading && this.logs.length > 0 && (h("ul", { key: '911345fe9f45adc8e465a0aa9b87591cb608be45', class: "profile-history-content" }, this.logs.map(log => (h("li", { class: "py-2" }, log.type === 'summarized_chat' ? this.renderSummarizedChat(log) : this.renderActivityLog(log)))))))));
127
- }
128
- static get style() { return profileHistoryCss; }
129
- }, [256, "profile-history", {
130
- "isLoading": [32],
131
- "logs": [32]
132
- }]);
133
- function defineCustomElement() {
134
- if (typeof customElements === "undefined") {
135
- return;
136
- }
137
- const components = ["profile-history", "menu-list", "typography-clamp"];
138
- components.forEach(tagName => { switch (tagName) {
139
- case "profile-history":
140
- if (!customElements.get(tagName)) {
141
- customElements.define(tagName, ProfileHistory);
142
- }
143
- break;
144
- case "menu-list":
145
- if (!customElements.get(tagName)) {
146
- defineCustomElement$2();
147
- }
148
- break;
149
- case "typography-clamp":
150
- if (!customElements.get(tagName)) {
151
- defineCustomElement$1();
152
- }
153
- break;
154
- } });
155
- }
156
- defineCustomElement();
157
-
158
- export { ProfileHistory as P, defineCustomElement as d };
159
- //# sourceMappingURL=p-B6Oqalkt.js.map
160
-
161
- //# sourceMappingURL=p-B6Oqalkt.js.map
@@ -1 +0,0 @@
1
- {"file":"p-B6Oqalkt.js","mappings":";;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,mzvDAAmzvD;;MCeh0vD,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;;;AACjB,IAAA,eAAe;IAEd,SAAS,GAAG,KAAK;IACjB,IAAI,GAA6C,EAAE;IAEpD,gBAAgB,GAAqB,IAAI;AAEjD,IAAA,MAAM,iBAAiB,GAAA;AACrB,QAAA,IAAI,CAAC,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAM,OAAO,KAAG;YAChF,IAAI,CAAC,OAAO,EAAE;AACZ,gBAAA,IAAI,CAAC,IAAI,GAAG,EAAE;gBACd;;YAGF,IAAI,OAAO,CAAC,EAAE,KAAK,IAAI,CAAC,gBAAgB,E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,CAAA,EAAA,EAAG,CAAC,CAAC,6BAA6B,CAAC,CAAQ,CAC7E,CACP,EACA,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,KACtC,CAAI,CAAA,IAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yBAAyB,EAChC,EAAA,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,KAChB,UAAI,KAAK,EAAC,MAAM,EAAA,EACb,GAAG,CAAC,IAAI,KAAK,iBAAiB,GAAG,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAC3F,CACN,CAAC,CACC,CACN,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/profile-history/profile-history.css?tag=profile-history","src/components/profile-history/profile-history.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.profile-history {\n @apply px-4 py-2 h-full\n}\n\n.profile-history-wrapper {\n @apply text-sm mb-2\n}\n\n.profile-history-loading {\n @apply flex justify-center py-8\n}\n\n.profile-history-no-activity {\n @apply flex justify-center py-24\n}\n\n.profile-history-content {\n @apply divide-y divide-gray-200\n}\n\n.profile-history-box-activity-wrapper {\n @apply flex items-start gap-1\n}\n\n.profile-history-box-wrapper {\n @apply flex items-center gap-2\n}\n\n.profile-history-box-container {\n @apply flex-1 min-w-0\n}\n\n.profile-history-content-wrapper {\n @apply flex items-start gap-1 text-xs\n}\n\n.profile-history-box-action-text {\n @apply inline-flex flex-col gap-1\n}\n\n.profile-history-box-menu-list {\n @apply flex items-start gap-2\n}","import { Component, Host, State, h } from '@stencil/core';\nimport { getActivityLogs } from '../../api';\nimport { configStore, profilePanelStore, selectedChatStore } from '../../store/store';\nimport { ActivityLogItem, GetActivityLogsResponse } from '../../api/type';\nimport { handleGetChatMessages, scrollToMessage } from '../../store/message';\nimport { useTranslation } from '../../utils/utils';\nimport { displayDateTime } from '../../utils/dayjs';\nimport { ZTagOrStatusItem } from '../internal-component/z-tag-or-status-item';\nimport { handleError } from '../../store/dialog';\nimport { TChatItem } from '../../store/type';\n\n@Component({\n tag: 'profile-history',\n styleUrl: 'profile-history.css',\n})\nexport class ProfileHistory {\n private disposeListener: () => void;\n\n @State() isLoading = false;\n @State() logs: GetActivityLogsResponse['activity_logs'] = [];\n\n private prevSelectedChat: TChatItem | null = null;\n\n async componentWillLoad() {\n this.disposeListener = selectedChatStore.onChange('selectedChat', async newChat => {\n if (!newChat) {\n this.logs = [];\n return;\n }\n\n if (newChat.id !== this.prevSelectedChat?.id) {\n await this.loadLogs();\n this.prevSelectedChat = newChat;\n }\n });\n\n // Initial load if a chat is already selected\n if (selectedChatStore.get('selectedChat')) {\n await this.loadLogs();\n }\n }\n\n disconnectedCallback() {\n this.disposeListener?.();\n }\n\n private async loadLogs() {\n const selectedChat = selectedChatStore.get('selectedChat');\n if (!selectedChat) return;\n try {\n this.isLoading = true;\n const { channel } = selectedChat;\n const type = selectedChat.type === 'group' ? 'group' : 'user';\n const id = selectedChat[type]?.id;\n const res = await getActivityLogs({ type, channel, id });\n this.logs = res.activity_logs || [];\n } catch (error: unknown) {\n this.logs = [];\n handleError(error, 'Failed to load Activity Logs');\n } finally {\n this.isLoading = false;\n }\n }\n\n private renderChip(item?: ActivityLogItem) {\n if (!item) return null;\n return (\n <ZTagOrStatusItem\n item={{\n id: '',\n name: item.name,\n color: item.color,\n sequence: 0,\n }}\n />\n );\n }\n\n private getTypeText(log: GetActivityLogsResponse['activity_logs'][number]) {\n return log.from?.type || log.to?.type || log.item?.type || '';\n }\n\n private getActionText(log: GetActivityLogsResponse['activity_logs'][number]) {\n const t = useTranslation();\n return `${log.sender?.name} ${(() => {\n const action = log.action;\n const type = this.getTypeText(log);\n return t(`profile_tab.activity_action`)\n .replace('{action}', t(`${action}`))\n .replace('{type}', t(`${type}`))\n .toLowerCase();\n })()}`;\n }\n\n private async handleGoToMessage(messageId: string) {\n try {\n profilePanelStore.set('isShow', false);\n const isSuccessScroll = scrollToMessage(messageId);\n if (!isSuccessScroll) {\n await handleGetChatMessages({ startMessageId: messageId });\n setTimeout(() => {\n scrollToMessage(messageId);\n }, 300);\n }\n } catch (error: unknown) {\n handleError(error, 'Failed to go to message');\n }\n }\n\n private renderMenuList(logId: string) {\n const t = useTranslation();\n const menuItems = [\n {\n label: t('profile_tab.go_to_message'),\n value: 'go_to_message',\n onClick: () => this.handleGoToMessage(logId),\n },\n ];\n return <menu-list menuItems={menuItems} referenceSelector={`log-${logId}`} iconName=\"EllipsisVertical\" noPaddingY />\n }\n\n private renderActivityLog(log: GetActivityLogsResponse['activity_logs'][number]) {\n const theme = configStore.get('theme');\n return (\n <div class=\"profile-history-box-activity-wrapper\">\n <div class=\"profile-history-box-container\">\n <div class={`text-xs z-text-${theme}`} title={this.getActionText(log)}>\n {log.created_at ? `${displayDateTime(log.created_at)} : ` : ''}\n <div class=\"profile-history-box-action-text\">\n <div class=\"truncate w-full\">\n {this.getActionText(log)}\n </div>\n <div class=\"profile-history-box-wrapper\">\n {'from' in log && log.from && this.renderChip(log.from)}\n {'action' in log && log.action === 'change' && <span class={`text-sm z-text-gray-${theme}`}>→</span>}\n {'to' in log && log.to && this.renderChip(log.to)}\n {'item' in log && log.item && this.renderChip(log.item)}\n </div>\n </div>\n </div>\n </div>\n <div id={`log-${log.id}`} class=\"profile-history-box-menu-list\">\n {this.renderMenuList(log.id)}\n </div>\n </div>\n );\n }\n\n private renderSummarizedChat(log: GetActivityLogsResponse['activity_logs'][number]) {\n const theme = configStore.get('theme');\n const t = useTranslation();\n return (\n <div class=\"profile-history-box-wrapper\">\n <div class=\"profile-history-box-container\">\n <div class={`profile-history-content-wrapper z-text-${theme}`}>\n {log.created_at ? `${displayDateTime(log.created_at)} : ` : ''}\n <div class={`profile-history-box-container z-text-${theme}`}>\n <typography-clamp text={`${t('chat_tab.summary')}\\n${log.text}`} textColor=\"z-text\" lines={3} />\n </div>\n </div>\n </div>\n <div id={`log-${log.id}`} class=\"profile-history-box-menu-list\">\n {this.renderMenuList(log.id)}\n </div>\n </div>\n );\n }\n\n render() {\n const theme = configStore.get('theme');\n const t = useTranslation();\n\n return (\n <Host>\n <div class=\"profile-history\">\n <div class={`profile-history-wrapper z-text-gray-${theme}`}>{t('profile_tab.history_info')}</div>\n {this.isLoading && (\n <div class=\"profile-history-loading\">\n <span class={`text-sm z-text-gray-${theme}`}>Loading...</span>\n </div>\n )}\n {!this.isLoading && this.logs.length === 0 && (\n <div class=\"profile-history-no-activity\">\n <span class={`text-sm z-text-${theme}`}>{t('profile_tab.no_activity_log')}</span>\n </div>\n )}\n {!this.isLoading && this.logs.length > 0 && (\n <ul class=\"profile-history-content\">\n {this.logs.map(log => (\n <li class=\"py-2\">\n {log.type === 'summarized_chat' ? this.renderSummarizedChat(log) : this.renderActivityLog(log)}\n </li>\n ))}\n </ul>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,20 +0,0 @@
1
- import { h } from './p-DRz4sc4i.js';
2
- import { Z as ZIconButton } from './p-CXREPMwB.js';
3
- import { g as getContrastColorHelper } from './p-GPPFvEYq.js';
4
- import { c as configStore } from './p-C-yg0vtE.js';
5
-
6
- const ZTagOrStatusItem = ({ item, expandText, onDelete }) => {
7
- const { name } = item;
8
- const theme = configStore.get('theme');
9
- const isColor = Boolean(item.color);
10
- const color = item.color || 'var(--color-background-dark)';
11
- return (h("div", { class: `z-tag-or-status-item ${isColor ? '' : `border z-border-primary-${theme}`}`, style: { backgroundColor: isColor ? color : `` } }, h("span", { title: name, class: `z-tag-or-status-item-name ${expandText ? 'whitespace-pre-line' : 'truncate'} ${isColor ? '' : `z-text-primary-${theme}`}`, style: { color: isColor ? getContrastColorHelper(color) : undefined } }, name), item.iconName && h("img", { src: `https://zwizai-platform.s3.ap-southeast-1.amazonaws.com/zignal-package/${item.iconName}.png`, alt: "agent avatar", class: "z-tag-or-status-item-icon", loading: "lazy" }), onDelete && (h(ZIconButton, { variant: "none", iconName: "X", noPadding: true, noPaddingY: true, addClassIcon: `size-3 ${isColor ? '' : `z-text-primary-${theme}`}`, onClick: e => {
12
- e.stopPropagation();
13
- onDelete();
14
- } }))));
15
- };
16
-
17
- export { ZTagOrStatusItem as Z };
18
- //# sourceMappingURL=p-BIsOKyPf.js.map
19
-
20
- //# sourceMappingURL=p-BIsOKyPf.js.map
@@ -1 +0,0 @@
1
- {"file":"p-BIsOKyPf.js","mappings":";;;;;AAYO,MAAM,gBAAgB,GAA+C,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAI;AAC7G,IAAA,MAAM,EAAE,IAAI,EAAE,GAAG,IAAI;IACrB,MAAM,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC;IACtC,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;AACnC,IAAA,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,8BAA8B;AAE1D,IAAA,QACE,CAAA,CAAA,KAAA,EAAA,EACE,KAAK,EAAE,CAAA,qBAAA,EAAwB,OAAO,GAAG,EAAE,GAAG,2BAA2B,KAAK,CAAA,CAAE,CAAE,CAAA,EAClF,KAAK,EAAE,EAAE,eAAe,EAAE,OAAO,GAAG,KAAK,GAAG,CAAA,CAAE,EAAE,EAAA,EAEhD,CACE,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,6BAA6B,UAAU,GAAG,qBAAqB,GAAG,UAAU,CAAA,CAAA,EAAI,OAAO,GAAG,EAAE,GAAG,kBAAkB,KAAK,CAAA,CAAE,EAAE,EACjI,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,GAAG,sBAAsB,CAAC,KAAK,CAAC,GAAG,SAAS,EAAE,EAEpE,EAAA,IAAI,CACA,EACN,IAAI,CAAC,QAAQ,IAAI,CAAA,CAAA,KAAA,EAAA,EAAK,GAAG,EAAE,CAA0E,uEAAA,EAAA,IAAI,CAAC,QAAQ,CAAA,IAAA,CAAM,EAAE,GAAG,EAAC,cAAc,EAAC,KAAK,EAAC,2BAA2B,EAAC,OAAO,EAAC,MAAM,EAAG,CAAA,EAChM,QAAQ,KACP,CAAA,CAAC,WAAW,EAAA,EACV,OAAO,EAAC,MAAM,EACd,QAAQ,EAAC,GAAG,EACZ,SAAS,EAAA,IAAA,EACT,UAAU,EACV,IAAA,EAAA,YAAY,EAAE,UAAU,OAAO,GAAG,EAAE,GAAG,CAAkB,eAAA,EAAA,KAAK,EAAE,CAAE,CAAA,EAClE,OAAO,EAAE,CAAC,IAAG;YACX,CAAC,CAAC,eAAe,EAAE;AACnB,YAAA,QAAQ,EAAE;AACZ,SAAC,EACD,CAAA,CACH,CACG;AAEV;;;;","names":[],"sources":["src/components/internal-component/z-tag-or-status-item.tsx"],"sourcesContent":["import { h, FunctionalComponent } from '@stencil/core';\nimport { ZIconButton } from './z-icon-button';\nimport { TTagOrStatusItem } from '../../store/type';\nimport { getContrastColorHelper } from '../../utils/utils';\nimport { configStore } from '../../store/store';\n\ninterface ZTagOrStatusItemProps {\n item: TTagOrStatusItem;\n expandText?: boolean;\n onDelete?: () => void;\n}\n\nexport const ZTagOrStatusItem: FunctionalComponent<ZTagOrStatusItemProps> = ({ item, expandText, onDelete }) => {\n const { name } = item;\n const theme = configStore.get('theme');\n const isColor = Boolean(item.color);\n const color = item.color || 'var(--color-background-dark)';\n\n return (\n <div\n class={`z-tag-or-status-item ${isColor ? '' : `border z-border-primary-${theme}`}`}\n style={{ backgroundColor: isColor ? color : `` }}\n >\n <span\n title={name}\n class={`z-tag-or-status-item-name ${expandText ? 'whitespace-pre-line' : 'truncate'} ${isColor ? '' : `z-text-primary-${theme}`}`}\n style={{ color: isColor ? getContrastColorHelper(color) : undefined }}\n >\n {name}\n </span>\n {item.iconName && <img src={`https://zwizai-platform.s3.ap-southeast-1.amazonaws.com/zignal-package/${item.iconName}.png`} alt=\"agent avatar\" class=\"z-tag-or-status-item-icon\" loading=\"lazy\" />}\n {onDelete && (\n <ZIconButton\n variant=\"none\"\n iconName=\"X\"\n noPadding\n noPaddingY\n addClassIcon={`size-3 ${isColor ? '' : `z-text-primary-${theme}`}`}\n onClick={e => {\n e.stopPropagation();\n onDelete();\n }}\n />\n )}\n </div>\n );\n};\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"p-BN5kaJQg.js","mappings":";;;;;;;MAWa,iCAAiC,iBAAAA,kBAAA,CAAA,MAAA,iCAAA,SAAAC,CAAA,CAAA;;;;;;;;AACpC,IAAA,OAAO;AAE2B,IAAA,aAAa;IAEtC,QAAQ,GAAG,EAAE;IACb,YAAY,GAAG,KAAK;AACpB,IAAA,YAAY;AAErB,IAAA,WAAW,CAAC,MAA4C,EAAA;AAC9D,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACjB;;AAGF,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,EAAE,CAAC;;IAGjD,UAAU,GAAA;QAChB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,OAAO,EAAE,QAAQ,IAAI,EAAE;AAC5C,QAAA,IAAI,CAAC,YAAY,GAAG,SAAS;AAC7B,QAAA,IAAI,CAAC,YAAY,GAAG,IAAI;;IAGlB,WAAW,GAAA;AACjB,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK;;AAGnB,IAAA,cAAc,CAAC,KAAY,EAAA;QACjC,IAAI,CAAC,QAAQ,GAAI,KAAK,CAAC,MAA2B,CAAC,KAAK;AACxD,QAAA,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,YAAA,IAAI,CAAC,YAAY,GAAG,SAAS;;;AAIzB,IAAA,gBAAgB,CAAC,GAAW,EAAE,WAAW,GAAG,IAAI,EAAA;AACtD,QAAA,MAAM,CAAC,GAAG,cAAc,EAAE;AA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AA,EAAA,EAAA,KAAK,EAAC,yCAAyC,EAAA,EACnD,CAAC,CAAC,0BAA0B,CAAC,EAC9B,CAAA,CAAA,OAAA,EAAA,EACE,IAAI,EAAC,KAAK,EACV,KAAK,EAAE,IAAI,CAAC,QAAQ,EACpB,WAAW,EAAE,CAAC,CAAC,oCAAoC,CAAC,EACpD,KAAK,EAAE,CAAA,oEAAA,EAAuE,WAAW,CAAiB,cAAA,EAAA,KAAK,CAAE,CAAA,EACjH,OAAO,EAAE,KAAK,IAAI,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,GAC5C,CACI,EACP,IAAI,CAAC,YAAY,IAAI,CAAA,CAAA,GAAA,EAAA,EAAG,KAAK,EAAC,sBAAsB,EAAA,EAAE,IAAI,CAAC,YAAY,CAAK,CACzE,EAEN,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,iBAAiB,EAAA,EAC1B,CAAC,CAAA,OAAO,EAAC,EAAA,OAAO,EAAC,UAAU,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,EAAE,EAAE,SAAS,EAAC,IAAA,EAAA,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAI,CAAA,EAC/F,CAAA,CAAC,OAAO,EAAC,EAAA,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,eAAe,EAAE,EAAE,SAAS,QAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,EAAA,CAAI,CACnI,CACF,CACF;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/quick-message-add-template/quick-message-video-content.tsx"],"sourcesContent":["import { Component, Event, EventEmitter, Fragment, Prop, State, h } from '@stencil/core';\nimport { QuickMessageTemplateContent } from '../../store/type';\nimport { configStore } from '../../store/store';\nimport { useTranslation } from '../../utils/utils';\nimport { Icon } from '../internal-component/icon';\nimport { ZButton } from '../internal-component/z-button';\nimport { isValidVideoUrl } from '../../utils/validators';\n\n@Component({\n tag: 'quick-message-video-content',\n})\nexport class QuickMessageVideoContentComponent {\n @Prop() content: QuickMessageTemplateContent;\n\n @Event({ bubbles: true, composed: true }) contentChange!: EventEmitter<QuickMessageTemplateContent>;\n\n @State() private videoUrl = '';\n @State() private isDialogOpen = false;\n @State() private errorMessage?: string;\n\n private emitContent(update: Partial<QuickMessageTemplateContent>) {\n if (!this.content) {\n return;\n }\n\n this.contentChange.emit({ ...this.content, ...update });\n }\n\n private openDialog() {\n this.videoUrl = this.content?.file_url || '';\n this.errorMessage = undefined;\n this.isDialogOpen = true;\n }\n\n private closeDialog() {\n this.isDialogOpen = false;\n }\n\n private handleUrlInput(event: Event) {\n this.videoUrl = (event.target as HTMLInputElement).value;\n if (this.errorMessage) {\n this.errorMessage = undefined;\n }\n }\n\n private validateVideoUrl(url: string, assignError = true): boolean {\n const t = useTranslation();\n if (!url.trim()) {\n if (assignError) {\n this.errorMessage = t('quick_message.video_link_required');\n }\n return false;\n }\n\n if (!isValidVideoUrl(url)) {\n if (assignError) {\n this.errorMessage = t('quick_message.video_link_invalid');\n }\n return false;\n }\n\n if (assignError) {\n this.errorMessage = undefined;\n }\n return true;\n }\n\n private handleSaveVideo() {\n const trimmed = this.videoUrl.trim();\n if (!this.validateVideoUrl(trimmed)) {\n return;\n }\n\n this.emitContent({ file_url: trimmed });\n this.closeDialog();\n }\n\n private buildVideoPreview(url: string): { type: 'video'; src: string } {\n try {\n const parsed = new URL(url);\n if (/\\.(mp4|webm|ogg)$/i.test(parsed.pathname)) {\n return { type: 'video', src: url };\n }\n } catch {\n // fall back below\n }\n\n return { type: 'video', src: url };\n }\n\n render() {\n if (!this.content) {\n return null;\n }\n\n const theme = configStore.get('theme');\n const t = useTranslation();\n const existingUrl = this.content.file_url;\n const hasVideo = !!existingUrl;\n const borderClass = `z-border-primary-${theme}`;\n const primaryTextClass = `z-text-primary-${theme}`;\n const previewData = hasVideo && existingUrl ? this.buildVideoPreview(existingUrl) : undefined;\n\n return (\n <div class=\"flex justify-end\">\n <div class=\"max-w-xs h-[220px] aspect-square\">\n <button\n type=\"button\"\n class={`group relative flex aspect-square w-full items-center justify-center overflow-hidden rounded-[18px] border-[1.5px] z-background-${theme} shadow-sm transition-colors cursor-pointer ${borderClass}`}\n onClick={() => this.openDialog()}\n >\n {previewData ? (\n <Fragment>\n <video src={previewData.src} class=\"h-[220px] object-cover\" controls>\n <track kind=\"captions\" src=\"\" label=\"English\" />\n </video>\n <div class=\"absolute inset-0 flex flex-col items-center justify-center gap-2 bg-slate-900/60 opacity-0 transition-opacity group-hover:opacity-100\">\n <Icon name=\"Edit\" addClass=\"size-6 text-white\" />\n <span class=\"text-sm font-semibold text-white\">{t('quick_message.change_video_link')}</span>\n </div>\n </Fragment>\n ) : (\n <div class=\"flex flex-col items-center gap-2 px-6 text-center\">\n <Icon name=\"Play\" addClass={`size-14 ${primaryTextClass}`} />\n <span class={`text-base font-semibold leading-tight ${primaryTextClass}`}>+ {t('quick_message.add_video')}</span>\n </div>\n )}\n </button>\n\n {this.isDialogOpen && this.renderDialog(theme, t, borderClass)}\n </div>\n </div>\n );\n }\n\n private renderDialog(theme: string, t: (key: string) => string, borderClass: string) {\n return (\n <div class=\"fixed inset-0 z-[80] flex items-center justify-center bg-slate-900/40 px-4\" onClick={() => this.closeDialog()}>\n <div class={`w-full max-w-md rounded-2xl border z-background-${theme} p-6 shadow-xl z-text-${theme} border-none`} onClick={event => event.stopPropagation()}>\n <div class=\"flex items-start justify-between\">\n <h3 class=\"text-base font-semibold\">{t('quick_message.add_video')}</h3>\n <button type=\"button\" class=\"inline-flex cursor-pointer items-center justify-center rounded-full p-1\" onClick={() => this.closeDialog()}>\n <Icon name=\"X\" />\n </button>\n </div>\n\n <div class=\"mt-4 flex flex-col gap-4\">\n <label class=\"flex flex-col gap-2 text-sm font-medium\">\n {t('quick_message.link_video')}\n <input\n type=\"url\"\n value={this.videoUrl}\n placeholder={t('quick_message.type_video_link_here')}\n class={`rounded-xl border px-3 py-2 text-sm focus:outline-none ring-primary ${borderClass} z-background-${theme}`}\n onInput={event => this.handleUrlInput(event)}\n />\n </label>\n {this.errorMessage && <p class=\"text-xs text-red-500\">{this.errorMessage}</p>}\n </div>\n\n <div class=\"mt-6 flex gap-3\">\n <ZButton variant=\"outlined\" onClick={() => this.closeDialog()} fullWidth label={t('cancel')} />\n <ZButton variant=\"primary\" onClick={() => this.handleSaveVideo()} fullWidth disabled={this.videoUrl.trim() === ''} label={t('save')} />\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}