@flamingo-stack/openframe-frontend-core 0.0.776 → 0.0.781

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 (1563) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/case-study-card-CYJ3JXU6.cjs +23 -0
  3. package/dist/{chunk-57B5RUYD.cjs → chunk-2OYKOHFK.cjs} +2 -2
  4. package/dist/{chunk-CZIMISAR.cjs → chunk-3IHGS44W.cjs} +8 -8
  5. package/dist/{chunk-E76ONBKF.cjs → chunk-3VINTJPE.cjs} +5 -5
  6. package/dist/{chunk-RB7VLVMD.cjs → chunk-4XDYSGRL.cjs} +31 -23
  7. package/dist/{chunk-6HY2NH7D.cjs → chunk-57NE7SHG.cjs} +8 -10
  8. package/dist/{chunk-DGFDBPO7.cjs → chunk-5GJM7VRR.cjs} +1 -94
  9. package/dist/{chunk-IXZNBDXT.cjs → chunk-5PBWAF2D.cjs} +44 -44
  10. package/dist/{chunk-WEANWBJH.cjs → chunk-63OCO2G5.cjs} +4 -3
  11. package/dist/{chunk-ASMNNSUQ.cjs → chunk-7PNRXJX2.cjs} +3 -3
  12. package/dist/{chunk-YFTQ2ALU.cjs → chunk-A7FSNBNV.cjs} +278 -302
  13. package/dist/{chunk-HY6BCZH7.cjs → chunk-AFJEUBDS.cjs} +64 -36
  14. package/dist/{chunk-5QP3K2CE.cjs → chunk-AKCBLZAO.cjs} +351 -80
  15. package/dist/{chunk-VFZFCRAL.cjs → chunk-AQXKXZWB.cjs} +4 -4
  16. package/dist/{chunk-L55XLH5A.cjs → chunk-B6EQVH7D.cjs} +53 -64
  17. package/dist/{chunk-TF5D5MNO.cjs → chunk-CDBFQVPA.cjs} +84 -127
  18. package/dist/{chunk-3V27UHSH.cjs → chunk-D46WFWWI.cjs} +76 -88
  19. package/dist/{chunk-LNCBN4BL.cjs → chunk-DIY4SJZI.cjs} +20 -30
  20. package/dist/{chunk-3LW5TD54.cjs → chunk-DJTPDK3W.cjs} +4 -4
  21. package/dist/{chunk-2YB4X5WT.cjs → chunk-EYNQE2XN.cjs} +6 -6
  22. package/dist/{chunk-KM2TVQCH.cjs → chunk-FWJ5YECN.cjs} +1371 -1542
  23. package/dist/{chunk-NWZSYG4S.cjs → chunk-HLZUBJPL.cjs} +614 -658
  24. package/dist/{chunk-AMVI5VXM.cjs → chunk-HPGCUYAZ.cjs} +217 -238
  25. package/dist/{chunk-SETFUCZA.cjs → chunk-HTSRCFXP.cjs} +7 -7
  26. package/dist/{chunk-5P4TDV7V.cjs → chunk-IYU2ZH2J.cjs} +7 -95
  27. package/dist/chunk-JHDPEYZH.cjs +385 -0
  28. package/dist/chunk-JQWYXC2E.cjs +1488 -0
  29. package/dist/{chunk-YXDHVHB2.cjs → chunk-KWV23THO.cjs} +34 -17
  30. package/dist/{chunk-XIFEZ2JT.cjs → chunk-L4XOCV7S.cjs} +10 -10
  31. package/dist/{chunk-WAQPW4CB.cjs → chunk-LDGR5VCK.cjs} +6 -6
  32. package/dist/chunk-N6YCOBLK.cjs +252 -0
  33. package/dist/{chunk-XN6LXMH5.cjs → chunk-ODZ5XGWA.cjs} +4659 -5110
  34. package/dist/{chunk-BDYI6HBT.cjs → chunk-OFX6XEVN.cjs} +18 -16
  35. package/dist/{chunk-MYHS4W2H.cjs → chunk-OHXB6HUX.cjs} +828 -1876
  36. package/dist/{chunk-XXJL5GY3.cjs → chunk-OJZBZH56.cjs} +3 -3
  37. package/dist/{chunk-24OYQQZC.cjs → chunk-PID7LUDP.cjs} +66 -64
  38. package/dist/{chunk-R3JX4MXD.cjs → chunk-Q7HXTF2C.cjs} +10 -10
  39. package/dist/{chunk-KKAY6GPU.cjs → chunk-QD7SKYCQ.cjs} +3 -3
  40. package/dist/{chunk-DDXQGTWB.cjs → chunk-RJX33Y4Q.cjs} +24 -25
  41. package/dist/{chunk-VFUMM6JC.cjs → chunk-RYIWADIB.cjs} +23 -20
  42. package/dist/chunk-SMEX3BWO.cjs +49 -0
  43. package/dist/chunk-SZHDXXMK.cjs +102 -0
  44. package/dist/{chunk-FL2RMEDX.cjs → chunk-T4ZVKEDP.cjs} +10 -7
  45. package/dist/{chunk-EHJE3UWZ.cjs → chunk-T7SDYBST.cjs} +104 -104
  46. package/dist/{chunk-MWH5ZTMB.cjs → chunk-TH5X2BXK.cjs} +172 -176
  47. package/dist/{chunk-UM6HFGTI.cjs → chunk-TZ6MTHUC.cjs} +69 -86
  48. package/dist/{chunk-V3W56L2D.cjs → chunk-UONQCE5N.cjs} +353 -378
  49. package/dist/chunk-V4FXUIMH.cjs +92 -0
  50. package/dist/{chunk-OTZQP53Y.cjs → chunk-VDTLVFCV.cjs} +13 -13
  51. package/dist/{chunk-2JRSYWFP.cjs → chunk-VXAKQRV7.cjs} +5 -5
  52. package/dist/{chunk-LELS4XMX.cjs → chunk-VZKAAXU3.cjs} +54 -56
  53. package/dist/{chunk-2AZAJ7RK.cjs → chunk-X6TXMWBV.cjs} +76 -79
  54. package/dist/{chunk-2MF547RG.cjs → chunk-XHJI7R4J.cjs} +56 -84
  55. package/dist/{chunk-XT5WEHFM.cjs → chunk-XYKVOBIP.cjs} +3 -3
  56. package/dist/{chunk-LJT2KRE2.cjs → chunk-YEJWNHD3.cjs} +214 -215
  57. package/dist/{chunk-F65RSJVV.cjs → chunk-YKJ4JN6T.cjs} +45 -43
  58. package/dist/{chunk-XFRBEXQN.cjs → chunk-YNDH72VU.cjs} +21 -48
  59. package/dist/{chunk-Z5KX56TK.cjs → chunk-ZPYFPLPD.cjs} +10 -10
  60. package/dist/{chunk-E64HPPRH.cjs → chunk-ZV6RQNXE.cjs} +76 -78
  61. package/dist/{cloud-tenants-QFE6QMR5.cjs → cloud-tenants-UAFVHKX7.cjs} +39 -37
  62. package/dist/components/agent-mark.d.ts +4 -6
  63. package/dist/components/agent-mark.d.ts.map +1 -1
  64. package/dist/components/agent-mark.js +3 -2
  65. package/dist/components/authors/author-detail-view.js +3 -5
  66. package/dist/components/calendar.cjs +11 -11
  67. package/dist/components/case-studies/entity-quotes-panel.d.ts +0 -7
  68. package/dist/components/case-studies/entity-quotes-panel.d.ts.map +1 -1
  69. package/dist/components/case-studies/entity-quotes-panel.js +1 -25
  70. package/dist/components/case-studies/index.cjs +65 -88
  71. package/dist/components/case-studies/index.d.ts +2 -2
  72. package/dist/components/case-studies/index.d.ts.map +1 -1
  73. package/dist/components/case-studies/index.js +1 -4
  74. package/dist/components/case-studies/quote-cards-strip.d.ts +13 -9
  75. package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
  76. package/dist/components/case-studies/quote-cards-strip.js +7 -7
  77. package/dist/components/categories-cart.d.ts +0 -9
  78. package/dist/components/categories-cart.d.ts.map +1 -1
  79. package/dist/components/categories-cart.js +24 -9
  80. package/dist/components/category-card.d.ts.map +1 -1
  81. package/dist/components/category-card.js +57 -11
  82. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  83. package/dist/components/chat/approval-batch-message.js +14 -22
  84. package/dist/components/chat/ask-display.d.ts.map +1 -1
  85. package/dist/components/chat/ask-display.js +9 -10
  86. package/dist/components/chat/ask-prompts.d.ts +3 -3
  87. package/dist/components/chat/ask-prompts.d.ts.map +1 -1
  88. package/dist/components/chat/ask-prompts.js +20 -20
  89. package/dist/components/chat/chat-archive-page.d.ts +5 -4
  90. package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
  91. package/dist/components/chat/chat-archive-page.js +33 -22
  92. package/dist/components/chat/chat-container.d.ts.map +1 -1
  93. package/dist/components/chat/chat-container.js +18 -15
  94. package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
  95. package/dist/components/chat/chat-context-memory-bar.js +10 -9
  96. package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
  97. package/dist/components/chat/chat-context-picker.js +40 -35
  98. package/dist/components/chat/chat-input.d.ts.map +1 -1
  99. package/dist/components/chat/chat-input.js +5 -13
  100. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  101. package/dist/components/chat/chat-message-enhanced.js +33 -16
  102. package/dist/components/chat/chat-message-layout.d.ts +35 -0
  103. package/dist/components/chat/chat-message-layout.d.ts.map +1 -0
  104. package/dist/components/chat/chat-message-layout.js +34 -0
  105. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  106. package/dist/components/chat/chat-message-list.js +30 -16
  107. package/dist/components/chat/chat-message-row.d.ts +9 -8
  108. package/dist/components/chat/chat-message-row.d.ts.map +1 -1
  109. package/dist/components/chat/chat-message-row.js +40 -19
  110. package/dist/components/chat/chat-message-skeleton.d.ts +34 -13
  111. package/dist/components/chat/chat-message-skeleton.d.ts.map +1 -1
  112. package/dist/components/chat/chat-message-skeleton.js +57 -29
  113. package/dist/components/chat/chat-nav-sidebar.d.ts +20 -2
  114. package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
  115. package/dist/components/chat/chat-nav-sidebar.js +66 -34
  116. package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
  117. package/dist/components/chat/chat-panel-header.js +18 -8
  118. package/dist/components/chat/chat-sidebar.d.ts +4 -0
  119. package/dist/components/chat/chat-sidebar.d.ts.map +1 -1
  120. package/dist/components/chat/chat-sidebar.js +34 -26
  121. package/dist/components/chat/chat-ticket-list.d.ts +4 -1
  122. package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
  123. package/dist/components/chat/chat-ticket-list.js +18 -13
  124. package/dist/components/chat/chat-top-navigation.d.ts +2 -1
  125. package/dist/components/chat/chat-top-navigation.d.ts.map +1 -1
  126. package/dist/components/chat/chat-top-navigation.js +55 -47
  127. package/dist/components/chat/chat-turn.d.ts +11 -11
  128. package/dist/components/chat/chat-turn.d.ts.map +1 -1
  129. package/dist/components/chat/chat-turn.js +9 -13
  130. package/dist/components/chat/context-items-list.d.ts +11 -7
  131. package/dist/components/chat/context-items-list.d.ts.map +1 -1
  132. package/dist/components/chat/context-items-list.js +53 -51
  133. package/dist/components/chat/embeddable-chat.d.ts +8 -0
  134. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  135. package/dist/components/chat/embeddable-chat.js +81 -81
  136. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +8 -29
  137. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
  138. package/dist/components/chat/entity-cards/admin-content-card-grid.js +27 -22
  139. package/dist/components/chat/entity-cards/admin-content-card.d.ts +6 -15
  140. package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
  141. package/dist/components/chat/entity-cards/admin-content-card.js +9 -8
  142. package/dist/components/chat/entity-cards/ai-prompt-card.d.ts +10 -5
  143. package/dist/components/chat/entity-cards/ai-prompt-card.d.ts.map +1 -1
  144. package/dist/components/chat/entity-cards/ai-prompt-card.js +5 -9
  145. package/dist/components/chat/entity-cards/blog-card.d.ts +11 -11
  146. package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
  147. package/dist/components/chat/entity-cards/blog-card.js +20 -6
  148. package/dist/components/chat/entity-cards/campaign-card-admin.d.ts +0 -3
  149. package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
  150. package/dist/components/chat/entity-cards/campaign-card-admin.js +1 -2
  151. package/dist/components/chat/entity-cards/case-study-card.d.ts +0 -10
  152. package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
  153. package/dist/components/chat/entity-cards/case-study-card.js +13 -4
  154. package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +6 -8
  155. package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -1
  156. package/dist/components/chat/entity-cards/chat-ticket-item.js +69 -85
  157. package/dist/components/chat/entity-cards/customer-interview-card.d.ts +11 -11
  158. package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
  159. package/dist/components/chat/entity-cards/customer-interview-card.js +48 -21
  160. package/dist/components/chat/entity-cards/data-room-doc-card.d.ts +0 -3
  161. package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -1
  162. package/dist/components/chat/entity-cards/data-room-doc-card.js +1 -2
  163. package/dist/components/chat/entity-cards/design-doc-card.d.ts +0 -8
  164. package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
  165. package/dist/components/chat/entity-cards/design-doc-card.js +5 -6
  166. package/dist/components/chat/entity-cards/dispatch.d.ts +2 -2
  167. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  168. package/dist/components/chat/entity-cards/dispatch.js +23 -26
  169. package/dist/components/chat/entity-cards/employee-entry-card.d.ts +14 -21
  170. package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
  171. package/dist/components/chat/entity-cards/employee-entry-card.js +19 -7
  172. package/dist/components/chat/entity-cards/entity-author-card.d.ts +13 -29
  173. package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
  174. package/dist/components/chat/entity-cards/entity-author-card.js +7 -8
  175. package/dist/components/chat/entity-cards/entity-portrait-card.d.ts +4 -10
  176. package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
  177. package/dist/components/chat/entity-cards/entity-portrait-card.js +22 -13
  178. package/dist/components/chat/entity-cards/generic-entity-card.d.ts +0 -3
  179. package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
  180. package/dist/components/chat/entity-cards/generic-entity-card.js +1 -2
  181. package/dist/components/chat/entity-cards/github-activity-card.d.ts +0 -4
  182. package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
  183. package/dist/components/chat/entity-cards/github-activity-card.js +0 -1
  184. package/dist/components/chat/entity-cards/how-i-work-card.d.ts +10 -6
  185. package/dist/components/chat/entity-cards/how-i-work-card.d.ts.map +1 -1
  186. package/dist/components/chat/entity-cards/how-i-work-card.js +5 -9
  187. package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts +0 -4
  188. package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
  189. package/dist/components/chat/entity-cards/hubspot-ticket-card.js +1 -2
  190. package/dist/components/chat/entity-cards/index.d.ts +23 -24
  191. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  192. package/dist/components/chat/entity-cards/index.js +26 -78
  193. package/dist/components/chat/entity-cards/investor-update-card.d.ts +11 -10
  194. package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
  195. package/dist/components/chat/entity-cards/investor-update-card.js +16 -10
  196. package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +14 -14
  197. package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
  198. package/dist/components/chat/entity-cards/onboarding-guide-card.js +34 -12
  199. package/dist/components/chat/entity-cards/program-card.d.ts +18 -17
  200. package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
  201. package/dist/components/chat/entity-cards/program-card.js +47 -36
  202. package/dist/components/chat/entity-cards/roadmap-card.d.ts +12 -14
  203. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  204. package/dist/components/chat/entity-cards/roadmap-card.js +19 -9
  205. package/dist/components/chat/entity-cards/slack-message-card.d.ts +0 -4
  206. package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
  207. package/dist/components/chat/entity-cards/slack-message-card.js +1 -2
  208. package/dist/components/chat/entity-cards/what-i-shipped-card.d.ts +10 -6
  209. package/dist/components/chat/entity-cards/what-i-shipped-card.d.ts.map +1 -1
  210. package/dist/components/chat/entity-cards/what-i-shipped-card.js +5 -5
  211. package/dist/components/chat/error-message-display.d.ts.map +1 -1
  212. package/dist/components/chat/error-message-display.js +3 -5
  213. package/dist/components/chat/guide-mode-banner.d.ts.map +1 -1
  214. package/dist/components/chat/guide-mode-banner.js +2 -9
  215. package/dist/components/chat/guide-welcome.d.ts +1 -1
  216. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  217. package/dist/components/chat/guide-welcome.js +4 -2
  218. package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
  219. package/dist/components/chat/hooks/use-chat-dialog-manager.js +2 -1
  220. package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
  221. package/dist/components/chat/hooks/use-nats-chat-adapter.js +2 -1
  222. package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
  223. package/dist/components/chat/hooks/use-sse-chat-adapter.js +2 -1
  224. package/dist/components/chat/index.cjs +32 -90
  225. package/dist/components/chat/index.d.ts +1 -4
  226. package/dist/components/chat/index.d.ts.map +1 -1
  227. package/dist/components/chat/index.js +2 -4
  228. package/dist/components/chat/mingo-archive-list.d.ts +4 -2
  229. package/dist/components/chat/mingo-archive-list.d.ts.map +1 -1
  230. package/dist/components/chat/mingo-archive-list.js +8 -4
  231. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  232. package/dist/components/chat/mingo-chat-header.js +9 -8
  233. package/dist/components/chat/mingo-chat-history.d.ts +15 -14
  234. package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
  235. package/dist/components/chat/mingo-chat-history.js +63 -46
  236. package/dist/components/chat/mingo-chat-modals.d.ts.map +1 -1
  237. package/dist/components/chat/mingo-chat-modals.js +10 -12
  238. package/dist/components/chat/mingo-chat-rail.d.ts +4 -2
  239. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  240. package/dist/components/chat/mingo-chat-rail.js +10 -6
  241. package/dist/components/chat/mingo-history-rail.d.ts +6 -3
  242. package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
  243. package/dist/components/chat/mingo-history-rail.js +7 -2
  244. package/dist/components/chat/mingo-info-card.d.ts +6 -7
  245. package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
  246. package/dist/components/chat/mingo-info-card.js +21 -16
  247. package/dist/components/chat/mingo-onboarding-card.d.ts +8 -1
  248. package/dist/components/chat/mingo-onboarding-card.d.ts.map +1 -1
  249. package/dist/components/chat/mingo-onboarding-card.js +70 -32
  250. package/dist/components/chat/mingo-welcome.d.ts +4 -1
  251. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  252. package/dist/components/chat/mingo-welcome.js +15 -5
  253. package/dist/components/chat/model-display.d.ts +1 -15
  254. package/dist/components/chat/model-display.d.ts.map +1 -1
  255. package/dist/components/chat/model-display.js +16 -13
  256. package/dist/components/chat/msp-organization-card.d.ts +8 -1
  257. package/dist/components/chat/msp-organization-card.d.ts.map +1 -1
  258. package/dist/components/chat/msp-organization-card.js +34 -39
  259. package/dist/components/chat/quick-action-chip.d.ts +10 -24
  260. package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
  261. package/dist/components/chat/quick-action-chip.js +42 -8
  262. package/dist/components/chat/quick-action-wall.d.ts +3 -3
  263. package/dist/components/chat/quick-action-wall.d.ts.map +1 -1
  264. package/dist/components/chat/quick-action-wall.js +17 -10
  265. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  266. package/dist/components/chat/tool-execution-display.js +2 -9
  267. package/dist/components/chat/types/component.types.d.ts +26 -0
  268. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  269. package/dist/components/chat/types/entities/program-types.d.ts +3 -0
  270. package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
  271. package/dist/components/chat/utils/compact-card-skeleton.d.ts +1 -1
  272. package/dist/components/chat/utils/compact-card-skeleton.js +2 -2
  273. package/dist/components/command.d.ts +7 -7
  274. package/dist/components/comment-card.d.ts +15 -16
  275. package/dist/components/comment-card.d.ts.map +1 -1
  276. package/dist/components/comment-card.js +121 -127
  277. package/dist/components/comment-thread.d.ts +9 -27
  278. package/dist/components/comment-thread.d.ts.map +1 -1
  279. package/dist/components/comment-thread.js +36 -24
  280. package/dist/components/contact/index.cjs +40 -38
  281. package/dist/components/docs/docs-hub-page.d.ts +1 -4
  282. package/dist/components/docs/docs-hub-page.d.ts.map +1 -1
  283. package/dist/components/docs/docs-hub-page.js +2 -3
  284. package/dist/components/docs/index.cjs +43 -45
  285. package/dist/components/docs/index.d.ts +0 -1
  286. package/dist/components/docs/index.d.ts.map +1 -1
  287. package/dist/components/docs/index.js +0 -3
  288. package/dist/components/embeds/embed-viewer-frame.d.ts +1 -1
  289. package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
  290. package/dist/components/embeds/embed-viewer-frame.js +3 -1
  291. package/dist/components/embeds/index.cjs +40 -42
  292. package/dist/components/embeds/index.d.ts +1 -1
  293. package/dist/components/embeds/index.d.ts.map +1 -1
  294. package/dist/components/embeds/index.js +1 -3
  295. package/dist/components/embeds/og-link-preview.d.ts +0 -10
  296. package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
  297. package/dist/components/embeds/og-link-preview.js +1 -3
  298. package/dist/components/faq/faq-section.d.ts +0 -7
  299. package/dist/components/faq/faq-section.d.ts.map +1 -1
  300. package/dist/components/faq/faq-section.js +13 -9
  301. package/dist/components/faq/index.cjs +41 -41
  302. package/dist/components/faq/index.d.ts +1 -1
  303. package/dist/components/faq/index.d.ts.map +1 -1
  304. package/dist/components/faq/index.js +0 -2
  305. package/dist/components/faq-accordion.d.ts +6 -9
  306. package/dist/components/faq-accordion.d.ts.map +1 -1
  307. package/dist/components/faq-accordion.js +14 -17
  308. package/dist/components/features/ai-enrich/AIEnrichSection.d.ts.map +1 -1
  309. package/dist/components/features/ai-enrich/AIEnrichSection.js +2 -1
  310. package/dist/components/features/approval-level.d.ts +0 -12
  311. package/dist/components/features/approval-level.d.ts.map +1 -1
  312. package/dist/components/features/approval-level.js +0 -1
  313. package/dist/components/features/auth/back-to-login-link.js +2 -2
  314. package/dist/components/features/auth/complete-account-form.d.ts +4 -1
  315. package/dist/components/features/auth/complete-account-form.d.ts.map +1 -1
  316. package/dist/components/features/auth/complete-account-form.js +5 -3
  317. package/dist/components/features/auth/create-organization-form.d.ts +5 -3
  318. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  319. package/dist/components/features/auth/create-organization-form.js +12 -2
  320. package/dist/components/features/auth/invite-link-invalid-modal.d.ts.map +1 -1
  321. package/dist/components/features/auth/invite-link-invalid-modal.js +5 -3
  322. package/dist/components/features/auth/login-form.d.ts +6 -1
  323. package/dist/components/features/auth/login-form.d.ts.map +1 -1
  324. package/dist/components/features/auth/login-form.js +5 -3
  325. package/dist/components/features/auth/sso-join-form.d.ts +7 -10
  326. package/dist/components/features/auth/sso-join-form.d.ts.map +1 -1
  327. package/dist/components/features/auth/sso-join-form.js +16 -6
  328. package/dist/components/features/auth/sso-providers.d.ts +9 -1
  329. package/dist/components/features/auth/sso-providers.d.ts.map +1 -1
  330. package/dist/components/features/auth/sso-providers.js +14 -2
  331. package/dist/components/features/board/board-column.d.ts +1 -1
  332. package/dist/components/features/board/board-column.d.ts.map +1 -1
  333. package/dist/components/features/board/board-column.js +9 -7
  334. package/dist/components/features/board/board-ticket-approval.d.ts.map +1 -1
  335. package/dist/components/features/board/board-ticket-approval.js +16 -24
  336. package/dist/components/features/board/board.d.ts +5 -3
  337. package/dist/components/features/board/board.d.ts.map +1 -1
  338. package/dist/components/features/board/board.js +17 -8
  339. package/dist/components/features/board/index.d.ts +1 -3
  340. package/dist/components/features/board/index.d.ts.map +1 -1
  341. package/dist/components/features/board/index.js +2 -3
  342. package/dist/components/features/board/ticket-card.d.ts +9 -6
  343. package/dist/components/features/board/ticket-card.d.ts.map +1 -1
  344. package/dist/components/features/board/ticket-card.js +41 -8
  345. package/dist/components/features/board/types.d.ts +5 -0
  346. package/dist/components/features/board/types.d.ts.map +1 -1
  347. package/dist/components/features/board/types.js +2 -0
  348. package/dist/components/features/capability-explorer.d.ts +2 -16
  349. package/dist/components/features/capability-explorer.d.ts.map +1 -1
  350. package/dist/components/features/capability-explorer.js +106 -121
  351. package/dist/components/features/card-hit-layer.d.ts.map +1 -1
  352. package/dist/components/features/card-hit-layer.js +4 -2
  353. package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -1
  354. package/dist/components/features/cloud-tenants/tenant-access-cell.js +4 -2
  355. package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -1
  356. package/dist/components/features/cloud-tenants/tenant-cell.js +5 -2
  357. package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -1
  358. package/dist/components/features/cloud-tenants/tenant-customer-cell.js +3 -1
  359. package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -1
  360. package/dist/components/features/cloud-tenants/tenants-table-view.js +39 -20
  361. package/dist/components/features/command-box.d.ts +4 -20
  362. package/dist/components/features/command-box.d.ts.map +1 -1
  363. package/dist/components/features/command-box.js +28 -8
  364. package/dist/components/features/conversation-card.d.ts +3 -28
  365. package/dist/components/features/conversation-card.d.ts.map +1 -1
  366. package/dist/components/features/conversation-card.js +73 -30
  367. package/dist/components/features/devices/device-selector/device-selector.d.ts +1 -1
  368. package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
  369. package/dist/components/features/devices/device-selector/device-selector.js +45 -45
  370. package/dist/components/features/devices/device-selector/device-selector.types.d.ts +5 -0
  371. package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -1
  372. package/dist/components/features/devices/device-type-tile.d.ts.map +1 -1
  373. package/dist/components/features/devices/device-type-tile.js +4 -1
  374. package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -1
  375. package/dist/components/features/devices/devices-grid-filters.js +5 -20
  376. package/dist/components/features/devices/devices-grid.d.ts +8 -1
  377. package/dist/components/features/devices/devices-grid.d.ts.map +1 -1
  378. package/dist/components/features/devices/devices-grid.js +22 -12
  379. package/dist/components/features/devices/devices-list.d.ts +1 -1
  380. package/dist/components/features/devices/devices-list.d.ts.map +1 -1
  381. package/dist/components/features/devices/devices-list.js +5 -2
  382. package/dist/components/features/devices/devices-panel-view.d.ts +7 -1
  383. package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
  384. package/dist/components/features/devices/devices-panel-view.js +11 -6
  385. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
  386. package/dist/components/features/devices/devices-table-columns.js +29 -8
  387. package/dist/components/features/devices/index.d.ts +0 -1
  388. package/dist/components/features/devices/index.d.ts.map +1 -1
  389. package/dist/components/features/devices/index.js +0 -2
  390. package/dist/components/features/entity-tag-badges.d.ts +3 -20
  391. package/dist/components/features/entity-tag-badges.d.ts.map +1 -1
  392. package/dist/components/features/entity-tag-badges.js +12 -27
  393. package/dist/components/features/entity-video-section.d.ts +0 -8
  394. package/dist/components/features/entity-video-section.d.ts.map +1 -1
  395. package/dist/components/features/entity-video-section.js +4 -5
  396. package/dist/components/features/filters-dropdown.d.ts.map +1 -1
  397. package/dist/components/features/filters-dropdown.js +14 -17
  398. package/dist/components/features/highlight-video-section.d.ts.map +1 -1
  399. package/dist/components/features/highlight-video-section.js +7 -7
  400. package/dist/components/features/index.cjs +39 -68
  401. package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -1
  402. package/dist/components/features/knowledge-base/knowledge-base-table.js +78 -47
  403. package/dist/components/features/logs/index.d.ts +2 -2
  404. package/dist/components/features/logs/index.d.ts.map +1 -1
  405. package/dist/components/features/logs/index.js +1 -2
  406. package/dist/components/features/logs/logs-page-view.d.ts.map +1 -1
  407. package/dist/components/features/logs/logs-page-view.js +1 -0
  408. package/dist/components/features/logs/logs-table-columns.d.ts +2 -3
  409. package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -1
  410. package/dist/components/features/logs/logs-table-view.d.ts +6 -12
  411. package/dist/components/features/logs/logs-table-view.d.ts.map +1 -1
  412. package/dist/components/features/logs/logs-table-view.js +75 -98
  413. package/dist/components/features/model-token-rates.d.ts +0 -5
  414. package/dist/components/features/model-token-rates.d.ts.map +1 -1
  415. package/dist/components/features/model-token-rates.js +18 -20
  416. package/dist/components/features/notifications/index.d.ts +2 -2
  417. package/dist/components/features/notifications/index.d.ts.map +1 -1
  418. package/dist/components/features/notifications/index.js +1 -2
  419. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  420. package/dist/components/features/notifications/notification-drawer.js +6 -3
  421. package/dist/components/features/notifications/notification-tile.d.ts +21 -20
  422. package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
  423. package/dist/components/features/notifications/notification-tile.js +24 -6
  424. package/dist/components/features/os-type-badge-group.d.ts +3 -1
  425. package/dist/components/features/os-type-badge-group.d.ts.map +1 -1
  426. package/dist/components/features/os-type-badge-group.js +12 -1
  427. package/dist/components/features/os-type-badge.d.ts.map +1 -1
  428. package/dist/components/features/os-type-badge.js +10 -0
  429. package/dist/components/features/paths-display.d.ts +0 -7
  430. package/dist/components/features/paths-display.d.ts.map +1 -1
  431. package/dist/components/features/paths-display.js +17 -9
  432. package/dist/components/features/platform-badge.d.ts +4 -3
  433. package/dist/components/features/platform-badge.d.ts.map +1 -1
  434. package/dist/components/features/platform-badge.js +4 -4
  435. package/dist/components/features/policies/policies-table.d.ts.map +1 -1
  436. package/dist/components/features/policies/policies-table.js +49 -27
  437. package/dist/components/features/policy-configuration-panel.d.ts +2 -0
  438. package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
  439. package/dist/components/features/policy-configuration-panel.js +56 -34
  440. package/dist/components/features/push-button-selector.d.ts +0 -19
  441. package/dist/components/features/push-button-selector.d.ts.map +1 -1
  442. package/dist/components/features/push-button-selector.js +13 -11
  443. package/dist/components/features/remote-session/index.d.ts +1 -1
  444. package/dist/components/features/remote-session/index.d.ts.map +1 -1
  445. package/dist/components/features/remote-session/index.js +1 -2
  446. package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +9 -3
  447. package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -1
  448. package/dist/components/features/remote-session/remote-desktop-chat-message-row.js +31 -17
  449. package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +1 -1
  450. package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -1
  451. package/dist/components/features/remote-session/remote-desktop-chat-panel.js +20 -7
  452. package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -1
  453. package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.js +5 -13
  454. package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
  455. package/dist/components/features/remote-session/remote-desktop-view.js +7 -15
  456. package/dist/components/features/remote-session/remote-session-block.d.ts.map +1 -1
  457. package/dist/components/features/remote-session/remote-session-block.js +18 -28
  458. package/dist/components/features/remote-session/remote-session-chat-panel.d.ts.map +1 -1
  459. package/dist/components/features/remote-session/remote-session-chat-panel.js +5 -3
  460. package/dist/components/features/remote-session/remote-session-events.d.ts.map +1 -1
  461. package/dist/components/features/remote-session/remote-session-events.js +9 -8
  462. package/dist/components/features/remote-session/remote-session-overlay.d.ts.map +1 -1
  463. package/dist/components/features/remote-session/remote-session-overlay.js +5 -12
  464. package/dist/components/features/scripts/execution-cells.d.ts +4 -1
  465. package/dist/components/features/scripts/execution-cells.d.ts.map +1 -1
  466. package/dist/components/features/scripts/execution-cells.js +9 -3
  467. package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
  468. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -1
  469. package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +5 -2
  470. package/dist/components/features/scripts/script-executions-table.d.ts.map +1 -1
  471. package/dist/components/features/scripts/script-executions-table.js +24 -7
  472. package/dist/components/features/scripts/script-schedules-table.d.ts.map +1 -1
  473. package/dist/components/features/scripts/script-schedules-table.js +36 -9
  474. package/dist/components/features/scripts/script-shell-badge.d.ts.map +1 -1
  475. package/dist/components/features/scripts/script-shell-badge.js +8 -0
  476. package/dist/components/features/scripts/scripts-table-shared.d.ts +4 -1
  477. package/dist/components/features/scripts/scripts-table-shared.d.ts.map +1 -1
  478. package/dist/components/features/scripts/scripts-table-shared.js +4 -1
  479. package/dist/components/features/scripts/scripts-table.d.ts.map +1 -1
  480. package/dist/components/features/scripts/scripts-table.js +23 -7
  481. package/dist/components/features/select-button.d.ts.map +1 -1
  482. package/dist/components/features/select-button.js +5 -12
  483. package/dist/components/features/status-filter-component.d.ts +0 -14
  484. package/dist/components/features/status-filter-component.d.ts.map +1 -1
  485. package/dist/components/features/status-filter-component.js +1 -2
  486. package/dist/components/features/tags-selector.d.ts.map +1 -1
  487. package/dist/components/features/tags-selector.js +4 -3
  488. package/dist/components/features/ticket-status-config-list/ticket-status-config-list.d.ts +10 -1
  489. package/dist/components/features/ticket-status-config-list/ticket-status-config-list.d.ts.map +1 -1
  490. package/dist/components/features/ticket-status-config-list/ticket-status-config-list.js +34 -9
  491. package/dist/components/features/video-bites-strip.d.ts +0 -31
  492. package/dist/components/features/video-bites-strip.d.ts.map +1 -1
  493. package/dist/components/features/video-bites-strip.js +2 -9
  494. package/dist/components/features/video-hover-preview.d.ts.map +1 -1
  495. package/dist/components/features/video-hover-preview.js +2 -5
  496. package/dist/components/features/video-shared.d.ts +3 -0
  497. package/dist/components/features/video-shared.d.ts.map +1 -1
  498. package/dist/components/features/video-source-selector.d.ts.map +1 -1
  499. package/dist/components/features/video-source-selector.js +5 -3
  500. package/dist/components/features/video.d.ts +1 -9
  501. package/dist/components/features/video.d.ts.map +1 -1
  502. package/dist/components/features/video.js +5 -47
  503. package/dist/components/features/walkthrough-video.d.ts +0 -7
  504. package/dist/components/features/walkthrough-video.d.ts.map +1 -1
  505. package/dist/components/features/walkthrough-video.js +1 -2
  506. package/dist/components/filter-chip.d.ts.map +1 -1
  507. package/dist/components/filter-chip.js +5 -9
  508. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  509. package/dist/components/help-center-pages/download-apps-page.js +19 -13
  510. package/dist/components/help-center-pages/index.cjs +198 -198
  511. package/dist/components/help-center-pages/index.d.ts +1 -1
  512. package/dist/components/help-center-pages/index.d.ts.map +1 -1
  513. package/dist/components/help-center-pages/index.js +2 -3
  514. package/dist/components/help-center-pages/trust-center-page.d.ts +0 -9
  515. package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
  516. package/dist/components/help-center-pages/trust-center-page.js +4 -11
  517. package/dist/components/help-center-pages/trust-center-sections.js +10 -10
  518. package/dist/components/index.cjs +504 -1305
  519. package/dist/components/index.d.ts +2 -3
  520. package/dist/components/index.d.ts.map +1 -1
  521. package/dist/components/index.js +1 -9
  522. package/dist/components/interactive-wrapper.d.ts +0 -4
  523. package/dist/components/interactive-wrapper.d.ts.map +1 -1
  524. package/dist/components/interactive-wrapper.js +0 -21
  525. package/dist/components/layout/back-button.d.ts +5 -2
  526. package/dist/components/layout/back-button.d.ts.map +1 -1
  527. package/dist/components/layout/back-button.js +5 -18
  528. package/dist/components/layout/list-page-layout.d.ts +3 -3
  529. package/dist/components/layout/list-page-layout.d.ts.map +1 -1
  530. package/dist/components/layout/list-page-layout.js +1 -0
  531. package/dist/components/layout/page-container.d.ts +0 -8
  532. package/dist/components/layout/page-container.d.ts.map +1 -1
  533. package/dist/components/layout/page-container.js +0 -2
  534. package/dist/components/layout/page-heading.d.ts +11 -21
  535. package/dist/components/layout/page-heading.d.ts.map +1 -1
  536. package/dist/components/layout/page-heading.js +18 -2
  537. package/dist/components/loading/index.d.ts +2 -13
  538. package/dist/components/loading/index.d.ts.map +1 -1
  539. package/dist/components/loading/index.js +5 -42
  540. package/dist/components/loading/loading-fallback.d.ts +46 -0
  541. package/dist/components/loading/loading-fallback.d.ts.map +1 -0
  542. package/dist/components/loading/loading-fallback.js +33 -0
  543. package/dist/components/loading/loading-region.d.ts.map +1 -1
  544. package/dist/components/loading/loading-region.js +2 -2
  545. package/dist/components/log-severity-dot.d.ts +0 -2
  546. package/dist/components/log-severity-dot.d.ts.map +1 -1
  547. package/dist/components/log-severity-dot.js +4 -3
  548. package/dist/components/logs-list.d.ts.map +1 -1
  549. package/dist/components/logs-list.js +6 -8
  550. package/dist/components/meeting-scheduler/booking-form.d.ts +1 -28
  551. package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
  552. package/dist/components/meeting-scheduler/booking-form.js +4 -6
  553. package/dist/components/meeting-scheduler/context-panel.d.ts +1 -24
  554. package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
  555. package/dist/components/meeting-scheduler/context-panel.js +8 -39
  556. package/dist/components/meeting-scheduler/directory.d.ts +0 -10
  557. package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
  558. package/dist/components/meeting-scheduler/directory.js +6 -7
  559. package/dist/components/meeting-scheduler/host-identity.d.ts +12 -0
  560. package/dist/components/meeting-scheduler/host-identity.d.ts.map +1 -0
  561. package/dist/components/meeting-scheduler/host-identity.js +51 -0
  562. package/dist/components/meeting-scheduler/index.cjs +288 -313
  563. package/dist/components/meeting-scheduler/index.d.ts +3 -3
  564. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  565. package/dist/components/meeting-scheduler/index.js +4 -11
  566. package/dist/components/meeting-scheduler/modal-header.d.ts +1 -4
  567. package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -1
  568. package/dist/components/meeting-scheduler/modal-header.js +6 -45
  569. package/dist/components/meeting-scheduler/slot-picker.d.ts +0 -16
  570. package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
  571. package/dist/components/meeting-scheduler/slot-picker.js +7 -14
  572. package/dist/components/metric-value.d.ts +0 -5
  573. package/dist/components/metric-value.d.ts.map +1 -1
  574. package/dist/components/metric-value.js +1 -2
  575. package/dist/components/msp-display.d.ts +0 -5
  576. package/dist/components/msp-display.d.ts.map +1 -1
  577. package/dist/components/msp-display.js +3 -4
  578. package/dist/components/navigation/app-header.d.ts.map +1 -1
  579. package/dist/components/navigation/app-header.js +3 -1
  580. package/dist/components/navigation/header-button.d.ts.map +1 -1
  581. package/dist/components/navigation/header-button.js +5 -9
  582. package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
  583. package/dist/components/navigation/header-mingo-button.js +4 -8
  584. package/dist/components/navigation/header-organization-filter.d.ts.map +1 -1
  585. package/dist/components/navigation/header-organization-filter.js +11 -23
  586. package/dist/components/navigation/index.cjs +42 -40
  587. package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
  588. package/dist/components/navigation/mobile-burger-menu.js +8 -29
  589. package/dist/components/navigation/multi-level-navigation.d.ts +0 -10
  590. package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
  591. package/dist/components/navigation/multi-level-navigation.js +26 -37
  592. package/dist/components/navigation/nav-panel.d.ts.map +1 -1
  593. package/dist/components/navigation/nav-panel.js +47 -13
  594. package/dist/components/navigation/navigation-sidebar-item.d.ts +12 -14
  595. package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
  596. package/dist/components/navigation/navigation-sidebar-item.js +29 -44
  597. package/dist/components/navigation/navigation-sidebar-toggle.d.ts.map +1 -1
  598. package/dist/components/navigation/navigation-sidebar-toggle.js +4 -8
  599. package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
  600. package/dist/components/navigation/navigation-sidebar.js +3 -3
  601. package/dist/components/navigation/sticky-section-nav.d.ts +0 -7
  602. package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
  603. package/dist/components/navigation/sticky-section-nav.js +9 -15
  604. package/dist/components/onboarding-guides/index.cjs +42 -40
  605. package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
  606. package/dist/components/onboarding-guides/onboarding-guide-detail-view.js +3 -5
  607. package/dist/components/onboarding-guides/onboarding-guides-catalog-view.d.ts.map +1 -1
  608. package/dist/components/onboarding-guides/onboarding-guides-catalog-view.js +22 -14
  609. package/dist/components/pagination.d.ts.map +1 -1
  610. package/dist/components/pagination.js +1 -11
  611. package/dist/components/platform/ToolBadge.d.ts +0 -8
  612. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  613. package/dist/components/platform/ToolBadge.js +1 -2
  614. package/dist/components/platform/index.d.ts +2 -2
  615. package/dist/components/platform/index.d.ts.map +1 -1
  616. package/dist/components/platform/index.js +2 -3
  617. package/dist/components/product-demo/index.cjs +73 -58
  618. package/dist/components/product-demo/product-screen.d.ts.map +1 -1
  619. package/dist/components/product-demo/product-screen.js +22 -9
  620. package/dist/components/product-demo/screen-loading.d.ts.map +1 -1
  621. package/dist/components/product-demo/screen-loading.js +2 -4
  622. package/dist/components/related-content/card-registry.d.ts.map +1 -1
  623. package/dist/components/related-content/card-registry.js +23 -36
  624. package/dist/components/related-content/index.cjs +22 -21
  625. package/dist/components/related-content/index.d.ts +1 -1
  626. package/dist/components/related-content/index.d.ts.map +1 -1
  627. package/dist/components/related-content/index.js +2 -4
  628. package/dist/components/related-content/related-content-section.d.ts +0 -14
  629. package/dist/components/related-content/related-content-section.d.ts.map +1 -1
  630. package/dist/components/related-content/related-content-section.js +1 -2
  631. package/dist/components/resizable.d.ts +1 -1
  632. package/dist/components/results-count.d.ts +0 -5
  633. package/dist/components/results-count.d.ts.map +1 -1
  634. package/dist/components/results-count.js +1 -2
  635. package/dist/components/shared/article-author-byline.d.ts +0 -8
  636. package/dist/components/shared/article-author-byline.d.ts.map +1 -1
  637. package/dist/components/shared/article-author-byline.js +1 -2
  638. package/dist/components/shared/delivery/delivery-row.d.ts +12 -8
  639. package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
  640. package/dist/components/shared/delivery/delivery-row.js +7 -7
  641. package/dist/components/shared/delivery/delivery-table.d.ts +1 -3
  642. package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
  643. package/dist/components/shared/delivery/delivery-table.js +6 -6
  644. package/dist/components/shared/dev-section/dev-card-row.d.ts +10 -22
  645. package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
  646. package/dist/components/shared/dev-section/dev-card-row.js +10 -39
  647. package/dist/components/shared/dev-section/index.d.ts +1 -1
  648. package/dist/components/shared/dev-section/index.d.ts.map +1 -1
  649. package/dist/components/shared/dev-section/index.js +1 -7
  650. package/dist/components/shared/legal-document/index.d.ts +1 -1
  651. package/dist/components/shared/legal-document/index.d.ts.map +1 -1
  652. package/dist/components/shared/legal-document/index.js +0 -2
  653. package/dist/components/shared/legal-document/legal-document-page.d.ts +0 -7
  654. package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
  655. package/dist/components/shared/legal-document/legal-document-page.js +2 -3
  656. package/dist/components/shared/media-gallery-strip.d.ts +0 -5
  657. package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
  658. package/dist/components/shared/media-gallery-strip.js +15 -14
  659. package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts +1 -1
  660. package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts.map +1 -1
  661. package/dist/components/shared/onboarding/onboarding-walkthrough.js +3 -1
  662. package/dist/components/shared/product-release/index.d.ts +0 -1
  663. package/dist/components/shared/product-release/index.d.ts.map +1 -1
  664. package/dist/components/shared/product-release/index.js +0 -2
  665. package/dist/components/shared/product-release/product-release-card-skeleton.js +4 -4
  666. package/dist/components/shared/product-release/product-release-card.d.ts +9 -4
  667. package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
  668. package/dist/components/shared/product-release/product-release-card.js +8 -4
  669. package/dist/components/shared/product-release/product-releases-view.d.ts +3 -3
  670. package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
  671. package/dist/components/shared/product-release/product-releases-view.js +8 -8
  672. package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
  673. package/dist/components/shared/product-release/release-detail-page.js +3 -5
  674. package/dist/components/shared/roadmap/index.d.ts +0 -1
  675. package/dist/components/shared/roadmap/index.d.ts.map +1 -1
  676. package/dist/components/shared/roadmap/index.js +0 -2
  677. package/dist/components/shared/roadmap/roadmap-grid.d.ts +2 -12
  678. package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
  679. package/dist/components/shared/roadmap/roadmap-grid.js +16 -7
  680. package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
  681. package/dist/components/shared/roadmap/roadmap-view.js +3 -2
  682. package/dist/components/smooth-accordion.d.ts.map +1 -1
  683. package/dist/components/smooth-accordion.js +0 -2
  684. package/dist/components/social-icon-row.d.ts +6 -1
  685. package/dist/components/social-icon-row.d.ts.map +1 -1
  686. package/dist/components/social-icon-row.js +5 -1
  687. package/dist/components/tickets/help-center-card.d.ts +16 -2
  688. package/dist/components/tickets/help-center-card.d.ts.map +1 -1
  689. package/dist/components/tickets/help-center-card.js +28 -9
  690. package/dist/components/tickets/help-center-create-form.d.ts +15 -37
  691. package/dist/components/tickets/help-center-create-form.d.ts.map +1 -1
  692. package/dist/components/tickets/help-center-create-form.js +10 -41
  693. package/dist/components/tickets/help-center-list.d.ts.map +1 -1
  694. package/dist/components/tickets/help-center-list.js +27 -40
  695. package/dist/components/tickets/index.cjs +46 -45
  696. package/dist/components/tickets/index.d.ts +1 -1
  697. package/dist/components/tickets/index.d.ts.map +1 -1
  698. package/dist/components/tickets/index.js +1 -5
  699. package/dist/components/tickets/ticket-center.d.ts.map +1 -1
  700. package/dist/components/tickets/ticket-center.js +6 -14
  701. package/dist/components/tickets/ticket-detail-drawer.d.ts.map +1 -1
  702. package/dist/components/tickets/ticket-detail-drawer.js +5 -2
  703. package/dist/components/tickets/ticket-open-form.d.ts.map +1 -1
  704. package/dist/components/tickets/ticket-open-form.js +3 -2
  705. package/dist/components/tickets/ticket-row.d.ts +17 -2
  706. package/dist/components/tickets/ticket-row.d.ts.map +1 -1
  707. package/dist/components/tickets/ticket-row.js +13 -3
  708. package/dist/components/ui/actions-menu.d.ts +3 -0
  709. package/dist/components/ui/actions-menu.d.ts.map +1 -1
  710. package/dist/components/ui/actions-menu.js +36 -39
  711. package/dist/components/ui/alert.d.ts +1 -1
  712. package/dist/components/ui/allowed-domains-input.d.ts.map +1 -1
  713. package/dist/components/ui/allowed-domains-input.js +7 -10
  714. package/dist/components/ui/assignee-dropdown.d.ts.map +1 -1
  715. package/dist/components/ui/assignee-dropdown.js +23 -23
  716. package/dist/components/ui/autocomplete.d.ts +0 -8
  717. package/dist/components/ui/autocomplete.d.ts.map +1 -1
  718. package/dist/components/ui/autocomplete.js +16 -20
  719. package/dist/components/ui/avatar-stack.d.ts +4 -8
  720. package/dist/components/ui/avatar-stack.d.ts.map +1 -1
  721. package/dist/components/ui/avatar-stack.js +13 -11
  722. package/dist/components/ui/badge.d.ts +5 -10
  723. package/dist/components/ui/badge.d.ts.map +1 -1
  724. package/dist/components/ui/badge.js +3 -2
  725. package/dist/components/ui/breadcrumb.d.ts +2 -0
  726. package/dist/components/ui/breadcrumb.d.ts.map +1 -1
  727. package/dist/components/ui/breadcrumb.js +5 -1
  728. package/dist/components/ui/button/button-styles.d.ts +21 -0
  729. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  730. package/dist/components/ui/button/button-styles.js +63 -0
  731. package/dist/components/ui/button/button.d.ts +1 -1
  732. package/dist/components/ui/button/button.d.ts.map +1 -1
  733. package/dist/components/ui/button/button.js +33 -3
  734. package/dist/components/ui/button/index.d.ts +1 -1
  735. package/dist/components/ui/button/index.d.ts.map +1 -1
  736. package/dist/components/ui/button/index.js +2 -1
  737. package/dist/components/ui/button/split-button.d.ts +2 -9
  738. package/dist/components/ui/button/split-button.d.ts.map +1 -1
  739. package/dist/components/ui/button/split-button.js +18 -91
  740. package/dist/components/ui/checkbox-block.d.ts +9 -1
  741. package/dist/components/ui/checkbox-block.d.ts.map +1 -1
  742. package/dist/components/ui/checkbox-block.js +110 -93
  743. package/dist/components/ui/checkbox-with-description.d.ts +5 -0
  744. package/dist/components/ui/checkbox-with-description.d.ts.map +1 -1
  745. package/dist/components/ui/checkbox-with-description.js +36 -36
  746. package/dist/components/ui/checkbox.d.ts +10 -0
  747. package/dist/components/ui/checkbox.d.ts.map +1 -1
  748. package/dist/components/ui/checkbox.js +21 -14
  749. package/dist/components/ui/chevron-button.d.ts +2 -2
  750. package/dist/components/ui/chevron-button.d.ts.map +1 -1
  751. package/dist/components/ui/chevron-button.js +13 -20
  752. package/dist/components/ui/color-preset-select.d.ts +4 -1
  753. package/dist/components/ui/color-preset-select.d.ts.map +1 -1
  754. package/dist/components/ui/color-preset-select.js +24 -12
  755. package/dist/components/ui/color-swatch.d.ts +2 -1
  756. package/dist/components/ui/color-swatch.d.ts.map +1 -1
  757. package/dist/components/ui/color-swatch.js +5 -8
  758. package/dist/components/ui/content-loader.d.ts.map +1 -1
  759. package/dist/components/ui/content-loader.js +12 -9
  760. package/dist/components/ui/cursor-pagination.d.ts +5 -8
  761. package/dist/components/ui/cursor-pagination.d.ts.map +1 -1
  762. package/dist/components/ui/cursor-pagination.js +6 -8
  763. package/dist/components/ui/dashboard-info-card.d.ts +13 -7
  764. package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
  765. package/dist/components/ui/dashboard-info-card.js +19 -10
  766. package/dist/components/ui/data-attribution.d.ts +0 -6
  767. package/dist/components/ui/data-attribution.d.ts.map +1 -1
  768. package/dist/components/ui/data-attribution.js +0 -1
  769. package/dist/components/ui/data-table/data-table-body.d.ts +7 -1
  770. package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
  771. package/dist/components/ui/data-table/data-table-body.js +47 -15
  772. package/dist/components/ui/data-table/data-table-cursor-footer.d.ts +1 -1
  773. package/dist/components/ui/data-table/data-table-header.d.ts.map +1 -1
  774. package/dist/components/ui/data-table/data-table-header.js +5 -0
  775. package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
  776. package/dist/components/ui/data-table/data-table-infinite-footer.js +7 -5
  777. package/dist/components/ui/data-table/data-table-reserved-rows.d.ts +27 -0
  778. package/dist/components/ui/data-table/data-table-reserved-rows.d.ts.map +1 -0
  779. package/dist/components/ui/data-table/data-table-reserved-rows.js +73 -0
  780. package/dist/components/ui/data-table/data-table-row-classes.d.ts +34 -0
  781. package/dist/components/ui/data-table/data-table-row-classes.d.ts.map +1 -0
  782. package/dist/components/ui/data-table/data-table-row-classes.js +20 -0
  783. package/dist/components/ui/data-table/data-table-row-count.d.ts +3 -6
  784. package/dist/components/ui/data-table/data-table-row-count.d.ts.map +1 -1
  785. package/dist/components/ui/data-table/data-table-row-count.js +3 -3
  786. package/dist/components/ui/data-table/data-table-row.d.ts +18 -38
  787. package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
  788. package/dist/components/ui/data-table/data-table-row.js +109 -9
  789. package/dist/components/ui/data-table/index.d.ts +6 -9
  790. package/dist/components/ui/data-table/index.d.ts.map +1 -1
  791. package/dist/components/ui/data-table/index.js +12 -7
  792. package/dist/components/ui/data-table/types.d.ts +13 -0
  793. package/dist/components/ui/data-table/types.d.ts.map +1 -1
  794. package/dist/components/ui/data-table/utils.d.ts +8 -0
  795. package/dist/components/ui/data-table/utils.d.ts.map +1 -1
  796. package/dist/components/ui/data-table/utils.js +6 -0
  797. package/dist/components/ui/date-picker.d.ts.map +1 -1
  798. package/dist/components/ui/date-picker.js +12 -47
  799. package/dist/components/ui/device-card.d.ts +7 -1
  800. package/dist/components/ui/device-card.d.ts.map +1 -1
  801. package/dist/components/ui/device-card.js +40 -27
  802. package/dist/components/ui/entity-image.d.ts +0 -2
  803. package/dist/components/ui/entity-image.d.ts.map +1 -1
  804. package/dist/components/ui/entity-image.js +2 -6
  805. package/dist/components/ui/feature-card.d.ts +0 -5
  806. package/dist/components/ui/feature-card.d.ts.map +1 -1
  807. package/dist/components/ui/feature-card.js +12 -9
  808. package/dist/components/ui/feature-list.d.ts +0 -10
  809. package/dist/components/ui/feature-list.d.ts.map +1 -1
  810. package/dist/components/ui/feature-list.js +3 -4
  811. package/dist/components/ui/field-value-skeleton.d.ts +7 -0
  812. package/dist/components/ui/field-value-skeleton.d.ts.map +1 -0
  813. package/dist/components/ui/field-value-skeleton.js +10 -0
  814. package/dist/components/ui/file-manager/file-manager-breadcrumb.d.ts.map +1 -1
  815. package/dist/components/ui/file-manager/file-manager-breadcrumb.js +8 -6
  816. package/dist/components/ui/file-manager/file-manager-table-row.d.ts +12 -1
  817. package/dist/components/ui/file-manager/file-manager-table-row.d.ts.map +1 -1
  818. package/dist/components/ui/file-manager/file-manager-table-row.js +100 -31
  819. package/dist/components/ui/file-manager/file-manager-table.d.ts +1 -1
  820. package/dist/components/ui/file-manager/file-manager-table.d.ts.map +1 -1
  821. package/dist/components/ui/file-manager/file-manager-table.js +41 -39
  822. package/dist/components/ui/file-manager/file-manager.d.ts +1 -1
  823. package/dist/components/ui/file-manager/file-manager.d.ts.map +1 -1
  824. package/dist/components/ui/file-manager/file-manager.js +62 -44
  825. package/dist/components/ui/file-manager/index.cjs +240 -217
  826. package/dist/components/ui/file-manager/index.d.ts +0 -1
  827. package/dist/components/ui/file-manager/index.d.ts.map +1 -1
  828. package/dist/components/ui/file-manager/index.js +0 -2
  829. package/dist/components/ui/file-manager/types.d.ts +12 -1
  830. package/dist/components/ui/file-manager/types.d.ts.map +1 -1
  831. package/dist/components/ui/file-upload.d.ts.map +1 -1
  832. package/dist/components/ui/file-upload.js +38 -26
  833. package/dist/components/ui/filter-checkbox-item.d.ts +1 -10
  834. package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
  835. package/dist/components/ui/filter-checkbox-item.js +11 -7
  836. package/dist/components/ui/filter-modal.d.ts +3 -3
  837. package/dist/components/ui/filter-modal.d.ts.map +1 -1
  838. package/dist/components/ui/filter-modal.js +74 -67
  839. package/dist/components/ui/filter-pill-row.d.ts +0 -13
  840. package/dist/components/ui/filter-pill-row.d.ts.map +1 -1
  841. package/dist/components/ui/filter-pill-row.js +3 -3
  842. package/dist/components/ui/hidden-tags-popup.d.ts.map +1 -1
  843. package/dist/components/ui/hidden-tags-popup.js +6 -3
  844. package/dist/components/ui/hover-dropdown.d.ts.map +1 -1
  845. package/dist/components/ui/hover-dropdown.js +7 -3
  846. package/dist/components/ui/image-uploader.d.ts.map +1 -1
  847. package/dist/components/ui/image-uploader.js +7 -12
  848. package/dist/components/ui/index.cjs +42 -163
  849. package/dist/components/ui/index.d.ts +5 -6
  850. package/dist/components/ui/index.d.ts.map +1 -1
  851. package/dist/components/ui/index.js +3 -23
  852. package/dist/components/ui/info-card-row.d.ts +0 -12
  853. package/dist/components/ui/info-card-row.d.ts.map +1 -1
  854. package/dist/components/ui/info-card-row.js +1 -2
  855. package/dist/components/ui/info-card.d.ts +32 -21
  856. package/dist/components/ui/info-card.d.ts.map +1 -1
  857. package/dist/components/ui/info-card.js +91 -76
  858. package/dist/components/ui/info-section.d.ts +8 -1
  859. package/dist/components/ui/info-section.d.ts.map +1 -1
  860. package/dist/components/ui/info-section.js +39 -18
  861. package/dist/components/ui/input-styles.d.ts +3 -0
  862. package/dist/components/ui/input-styles.d.ts.map +1 -1
  863. package/dist/components/ui/input-styles.js +2 -0
  864. package/dist/components/ui/input-trigger.d.ts +3 -0
  865. package/dist/components/ui/input-trigger.d.ts.map +1 -1
  866. package/dist/components/ui/input-trigger.js +13 -21
  867. package/dist/components/ui/input.d.ts +7 -1
  868. package/dist/components/ui/input.d.ts.map +1 -1
  869. package/dist/components/ui/input.js +14 -4
  870. package/dist/components/ui/label.d.ts +2 -2
  871. package/dist/components/ui/label.d.ts.map +1 -1
  872. package/dist/components/ui/label.js +8 -5
  873. package/dist/components/ui/leader-row.d.ts +17 -13
  874. package/dist/components/ui/leader-row.d.ts.map +1 -1
  875. package/dist/components/ui/leader-row.js +34 -25
  876. package/dist/components/ui/loading-scope.d.ts +82 -3
  877. package/dist/components/ui/loading-scope.d.ts.map +1 -1
  878. package/dist/components/ui/loading-scope.js +56 -4
  879. package/dist/components/ui/markdown/engine.d.ts +5 -0
  880. package/dist/components/ui/markdown/engine.d.ts.map +1 -1
  881. package/dist/components/ui/markdown/engine.js +10 -6
  882. package/dist/components/ui/markdown/index.d.ts +1 -1
  883. package/dist/components/ui/markdown/index.d.ts.map +1 -1
  884. package/dist/components/ui/markdown/index.js +1 -5
  885. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +0 -10
  886. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
  887. package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +2 -10
  888. package/dist/components/ui/modal-v2.d.ts.map +1 -1
  889. package/dist/components/ui/modal-v2.js +7 -3
  890. package/dist/components/ui/numbered-step.d.ts +9 -11
  891. package/dist/components/ui/numbered-step.d.ts.map +1 -1
  892. package/dist/components/ui/numbered-step.js +12 -2
  893. package/dist/components/ui/organization-card.d.ts +14 -1
  894. package/dist/components/ui/organization-card.d.ts.map +1 -1
  895. package/dist/components/ui/organization-card.js +70 -29
  896. package/dist/components/ui/page-actions.d.ts +5 -5
  897. package/dist/components/ui/page-actions.d.ts.map +1 -1
  898. package/dist/components/ui/page-actions.js +45 -50
  899. package/dist/components/ui/password-input.d.ts.map +1 -1
  900. package/dist/components/ui/password-input.js +5 -3
  901. package/dist/components/ui/people-cell.d.ts +3 -5
  902. package/dist/components/ui/people-cell.d.ts.map +1 -1
  903. package/dist/components/ui/people-cell.js +6 -6
  904. package/dist/components/ui/product-screen-frame.d.ts.map +1 -1
  905. package/dist/components/ui/product-screen-frame.js +19 -6
  906. package/dist/components/ui/progress-bar.d.ts +3 -4
  907. package/dist/components/ui/progress-bar.d.ts.map +1 -1
  908. package/dist/components/ui/progress-bar.js +7 -4
  909. package/dist/components/ui/query-report-table/index.d.ts +1 -2
  910. package/dist/components/ui/query-report-table/index.d.ts.map +1 -1
  911. package/dist/components/ui/query-report-table/index.js +0 -2
  912. package/dist/components/ui/query-report-table/query-report-table-header.d.ts.map +1 -1
  913. package/dist/components/ui/query-report-table/query-report-table-header.js +3 -2
  914. package/dist/components/ui/query-report-table/query-report-table-row.d.ts +15 -1
  915. package/dist/components/ui/query-report-table/query-report-table-row.d.ts.map +1 -1
  916. package/dist/components/ui/query-report-table/query-report-table-row.js +30 -21
  917. package/dist/components/ui/query-report-table/query-report-table-skeleton.d.ts.map +1 -1
  918. package/dist/components/ui/query-report-table/query-report-table-skeleton.js +20 -28
  919. package/dist/components/ui/query-report-table/query-report-table.d.ts +1 -1
  920. package/dist/components/ui/query-report-table/query-report-table.d.ts.map +1 -1
  921. package/dist/components/ui/query-report-table/query-report-table.js +19 -14
  922. package/dist/components/ui/query-report-table/types.d.ts +5 -1
  923. package/dist/components/ui/query-report-table/types.d.ts.map +1 -1
  924. package/dist/components/ui/radio-group.d.ts +14 -0
  925. package/dist/components/ui/radio-group.d.ts.map +1 -1
  926. package/dist/components/ui/radio-group.js +51 -33
  927. package/dist/components/ui/release-changelog-section.d.ts +0 -19
  928. package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
  929. package/dist/components/ui/release-changelog-section.js +11 -16
  930. package/dist/components/ui/search-input.d.ts.map +1 -1
  931. package/dist/components/ui/search-input.js +11 -14
  932. package/dist/components/ui/searchable-select.d.ts.map +1 -1
  933. package/dist/components/ui/searchable-select.js +30 -33
  934. package/dist/components/ui/select.d.ts.map +1 -1
  935. package/dist/components/ui/select.js +4 -1
  936. package/dist/components/ui/service-card.d.ts +9 -1
  937. package/dist/components/ui/service-card.d.ts.map +1 -1
  938. package/dist/components/ui/service-card.js +89 -66
  939. package/dist/components/ui/slack-channel-chip.d.ts +0 -4
  940. package/dist/components/ui/slack-channel-chip.d.ts.map +1 -1
  941. package/dist/components/ui/slack-channel-chip.js +1 -2
  942. package/dist/components/ui/snap-carousel.d.ts +38 -6
  943. package/dist/components/ui/snap-carousel.d.ts.map +1 -1
  944. package/dist/components/ui/snap-carousel.js +122 -63
  945. package/dist/components/ui/square-avatar.d.ts +3 -2
  946. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  947. package/dist/components/ui/square-avatar.js +18 -6
  948. package/dist/components/ui/stacked-rows-panel.d.ts +21 -23
  949. package/dist/components/ui/stacked-rows-panel.d.ts.map +1 -1
  950. package/dist/components/ui/stacked-rows-panel.js +36 -38
  951. package/dist/components/ui/status-badge.d.ts +9 -11
  952. package/dist/components/ui/status-badge.d.ts.map +1 -1
  953. package/dist/components/ui/status-badge.js +14 -3
  954. package/dist/components/ui/status-indicator.d.ts +0 -4
  955. package/dist/components/ui/status-indicator.d.ts.map +1 -1
  956. package/dist/components/ui/status-indicator.js +1 -2
  957. package/dist/components/ui/strip-card.d.ts +0 -9
  958. package/dist/components/ui/strip-card.d.ts.map +1 -1
  959. package/dist/components/ui/strip-card.js +1 -2
  960. package/dist/components/ui/super-user-banner-view.d.ts +4 -1
  961. package/dist/components/ui/super-user-banner-view.d.ts.map +1 -1
  962. package/dist/components/ui/super-user-banner-view.js +10 -2
  963. package/dist/components/ui/switch.d.ts +3 -0
  964. package/dist/components/ui/switch.d.ts.map +1 -1
  965. package/dist/components/ui/switch.js +15 -10
  966. package/dist/components/ui/tab-navigation.d.ts +11 -17
  967. package/dist/components/ui/tab-navigation.d.ts.map +1 -1
  968. package/dist/components/ui/tab-navigation.js +28 -33
  969. package/dist/components/ui/tab-selector.d.ts.map +1 -1
  970. package/dist/components/ui/tab-selector.js +7 -11
  971. package/dist/components/ui/tabs.d.ts +1 -22
  972. package/dist/components/ui/tabs.d.ts.map +1 -1
  973. package/dist/components/ui/tabs.js +1 -16
  974. package/dist/components/ui/tag-search-input.d.ts.map +1 -1
  975. package/dist/components/ui/tag-search-input.js +9 -10
  976. package/dist/components/ui/tag-select-dropdown.d.ts.map +1 -1
  977. package/dist/components/ui/tag-select-dropdown.js +14 -26
  978. package/dist/components/ui/tag.d.ts +6 -10
  979. package/dist/components/ui/tag.d.ts.map +1 -1
  980. package/dist/components/ui/tag.js +23 -9
  981. package/dist/components/ui/tags-input.d.ts +5 -7
  982. package/dist/components/ui/tags-input.d.ts.map +1 -1
  983. package/dist/components/ui/tags-input.js +14 -11
  984. package/dist/components/ui/tags-manager.d.ts.map +1 -1
  985. package/dist/components/ui/tags-manager.js +8 -3
  986. package/dist/components/ui/test-run.d.ts +1 -8
  987. package/dist/components/ui/test-run.d.ts.map +1 -1
  988. package/dist/components/ui/test-run.js +17 -11
  989. package/dist/components/ui/textarea.d.ts +1 -10
  990. package/dist/components/ui/textarea.d.ts.map +1 -1
  991. package/dist/components/ui/textarea.js +38 -35
  992. package/dist/components/ui/ticket-attachments-list.d.ts.map +1 -1
  993. package/dist/components/ui/ticket-attachments-list.js +11 -6
  994. package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
  995. package/dist/components/ui/ticket-info-section.js +13 -18
  996. package/dist/components/ui/ticket-note-card.d.ts.map +1 -1
  997. package/dist/components/ui/ticket-note-card.js +19 -12
  998. package/dist/components/ui/ticket-notes-section.d.ts.map +1 -1
  999. package/dist/components/ui/ticket-notes-section.js +6 -8
  1000. package/dist/components/ui/ticket-status-config-row.d.ts +6 -1
  1001. package/dist/components/ui/ticket-status-config-row.d.ts.map +1 -1
  1002. package/dist/components/ui/ticket-status-config-row.js +41 -23
  1003. package/dist/components/ui/ticket-status-tag.d.ts +3 -1
  1004. package/dist/components/ui/ticket-status-tag.d.ts.map +1 -1
  1005. package/dist/components/ui/ticket-status-tag.js +42 -28
  1006. package/dist/components/ui/timezone-select.d.ts +3 -2
  1007. package/dist/components/ui/timezone-select.d.ts.map +1 -1
  1008. package/dist/components/ui/timezone-select.js +3 -1
  1009. package/dist/components/ui/toaster.d.ts.map +1 -1
  1010. package/dist/components/ui/toaster.js +18 -20
  1011. package/dist/components/ui/truncate-text.d.ts +6 -1
  1012. package/dist/components/ui/truncate-text.d.ts.map +1 -1
  1013. package/dist/components/ui/truncate-text.js +7 -1
  1014. package/dist/components/user-display.d.ts +0 -11
  1015. package/dist/components/user-display.d.ts.map +1 -1
  1016. package/dist/components/user-display.js +3 -4
  1017. package/dist/components/vendor-display-button.d.ts +4 -4
  1018. package/dist/components/vendor-display-button.d.ts.map +1 -1
  1019. package/dist/components/vendor-display-button.js +21 -34
  1020. package/dist/components/vendor-icon.d.ts +3 -6
  1021. package/dist/components/vendor-icon.d.ts.map +1 -1
  1022. package/dist/components/vendor-icon.js +21 -9
  1023. package/dist/components/vendor-tag.d.ts +0 -5
  1024. package/dist/components/vendor-tag.d.ts.map +1 -1
  1025. package/dist/components/vendor-tag.js +4 -2
  1026. package/dist/{devices-SFJDLXSW.cjs → devices-TDKCKWRP.cjs} +40 -38
  1027. package/dist/embed-shims/index.cjs +4 -4
  1028. package/dist/embed-shims/next-image.cjs +4 -4
  1029. package/dist/embed-shims/next-image.d.ts +1 -1
  1030. package/dist/{embeddable-chat-XZUWAK4W.cjs → embeddable-chat-HEL4Z2FL.cjs} +192 -186
  1031. package/dist/hooks/index.cjs +18 -14
  1032. package/dist/hooks/use-toast.d.ts +1 -1
  1033. package/dist/index.cjs +73 -228
  1034. package/dist/{knowledge-SAK3ZGCO.cjs → knowledge-A5KJ4CAD.cjs} +40 -38
  1035. package/dist/loading-standard/engine.d.mts +131 -0
  1036. package/dist/loading-standard/engine.d.mts.map +1 -0
  1037. package/dist/loading-standard/rule-examples.d.mts +13 -0
  1038. package/dist/loading-standard/rule-examples.d.mts.map +1 -0
  1039. package/dist/{logs-CYBGMFA5.cjs → logs-6WRBPIMM.cjs} +48 -46
  1040. package/dist/{policies-XXDOICWF.cjs → policies-ICRXHW3H.cjs} +43 -41
  1041. package/dist/{remote-session-TC3BZDBZ.cjs → remote-session-MEV5JL2Z.cjs} +21 -19
  1042. package/dist/{scripts-C5T2AQPA.cjs → scripts-AZVCZE6C.cjs} +46 -44
  1043. package/dist/{software-update-XU5AI4TP.cjs → software-update-4ZBCGJGA.cjs} +43 -41
  1044. package/dist/{tickets-board-YT25IX3O.cjs → tickets-board-BJPQD3HE.cjs} +22 -20
  1045. package/dist/types/logs.types.d.ts +9 -3
  1046. package/dist/types/logs.types.d.ts.map +1 -1
  1047. package/dist/types/permissions.d.ts +10 -0
  1048. package/dist/types/permissions.d.ts.map +1 -1
  1049. package/dist/{video-file-player-6ZFOZFER.cjs → video-file-player-DETXW4OJ.cjs} +17 -16
  1050. package/package.json +1 -1
  1051. package/src/components/agent-mark.tsx +9 -2
  1052. package/src/components/authors/author-detail-view.tsx +5 -5
  1053. package/src/components/case-studies/entity-quotes-panel.tsx +0 -34
  1054. package/src/components/case-studies/index.ts +1 -2
  1055. package/src/components/case-studies/quote-cards-strip.tsx +15 -12
  1056. package/src/components/categories-cart.tsx +23 -8
  1057. package/src/components/category-card.tsx +80 -14
  1058. package/src/components/chat/approval-batch-message.tsx +2 -6
  1059. package/src/components/chat/ask-display.tsx +12 -13
  1060. package/src/components/chat/ask-prompts.tsx +26 -22
  1061. package/src/components/chat/chat-archive-page.tsx +33 -30
  1062. package/src/components/chat/chat-container.tsx +39 -41
  1063. package/src/components/chat/chat-context-memory-bar.tsx +12 -11
  1064. package/src/components/chat/chat-context-picker.tsx +50 -41
  1065. package/src/components/chat/chat-input.tsx +6 -14
  1066. package/src/components/chat/chat-message-enhanced.tsx +36 -18
  1067. package/src/components/chat/chat-message-layout.ts +39 -0
  1068. package/src/components/chat/chat-message-list.tsx +35 -18
  1069. package/src/components/chat/chat-message-row.tsx +57 -25
  1070. package/src/components/chat/chat-message-skeleton.tsx +109 -56
  1071. package/src/components/chat/chat-nav-sidebar.tsx +116 -39
  1072. package/src/components/chat/chat-panel-header.tsx +21 -15
  1073. package/src/components/chat/chat-sidebar.tsx +80 -48
  1074. package/src/components/chat/chat-ticket-list.tsx +32 -23
  1075. package/src/components/chat/chat-top-navigation.tsx +57 -49
  1076. package/src/components/chat/chat-turn.tsx +20 -17
  1077. package/src/components/chat/context-items-list.tsx +64 -33
  1078. package/src/components/chat/embeddable-chat.tsx +133 -138
  1079. package/src/components/chat/entity-cards/admin-content-card-grid.tsx +64 -34
  1080. package/src/components/chat/entity-cards/admin-content-card.tsx +14 -8
  1081. package/src/components/chat/entity-cards/ai-prompt-card.tsx +9 -11
  1082. package/src/components/chat/entity-cards/blog-card.tsx +28 -7
  1083. package/src/components/chat/entity-cards/campaign-card-admin.tsx +1 -1
  1084. package/src/components/chat/entity-cards/case-study-card.tsx +10 -3
  1085. package/src/components/chat/entity-cards/chat-ticket-item.tsx +86 -79
  1086. package/src/components/chat/entity-cards/customer-interview-card.tsx +47 -13
  1087. package/src/components/chat/entity-cards/data-room-doc-card.tsx +1 -1
  1088. package/src/components/chat/entity-cards/design-doc-card.tsx +6 -6
  1089. package/src/components/chat/entity-cards/dispatch.tsx +25 -30
  1090. package/src/components/chat/entity-cards/employee-entry-card.tsx +30 -15
  1091. package/src/components/chat/entity-cards/entity-author-card.tsx +16 -8
  1092. package/src/components/chat/entity-cards/entity-portrait-card.tsx +12 -3
  1093. package/src/components/chat/entity-cards/generic-entity-card.tsx +1 -1
  1094. package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
  1095. package/src/components/chat/entity-cards/how-i-work-card.tsx +9 -12
  1096. package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +1 -1
  1097. package/src/components/chat/entity-cards/index.ts +21 -61
  1098. package/src/components/chat/entity-cards/investor-update-card.tsx +30 -11
  1099. package/src/components/chat/entity-cards/onboarding-guide-card.tsx +45 -13
  1100. package/src/components/chat/entity-cards/program-card.tsx +69 -41
  1101. package/src/components/chat/entity-cards/roadmap-card.tsx +27 -10
  1102. package/src/components/chat/entity-cards/slack-message-card.tsx +1 -1
  1103. package/src/components/chat/entity-cards/what-i-shipped-card.tsx +9 -7
  1104. package/src/components/chat/error-message-display.tsx +4 -6
  1105. package/src/components/chat/guide-mode-banner.tsx +4 -7
  1106. package/src/components/chat/guide-welcome.tsx +9 -6
  1107. package/src/components/chat/hooks/use-chat-dialog-manager.ts +2 -1
  1108. package/src/components/chat/hooks/use-nats-chat-adapter.ts +2 -1
  1109. package/src/components/chat/hooks/use-sse-chat-adapter.ts +2 -1
  1110. package/src/components/chat/index.ts +1 -4
  1111. package/src/components/chat/mingo-archive-list.tsx +14 -8
  1112. package/src/components/chat/mingo-chat-header.tsx +14 -13
  1113. package/src/components/chat/mingo-chat-history.tsx +122 -78
  1114. package/src/components/chat/mingo-chat-modals.tsx +18 -22
  1115. package/src/components/chat/mingo-chat-rail.tsx +16 -9
  1116. package/src/components/chat/mingo-history-rail.tsx +12 -6
  1117. package/src/components/chat/mingo-info-card.tsx +26 -18
  1118. package/src/components/chat/mingo-onboarding-card.tsx +117 -36
  1119. package/src/components/chat/mingo-welcome.tsx +22 -7
  1120. package/src/components/chat/model-display.tsx +29 -33
  1121. package/src/components/chat/msp-organization-card.tsx +64 -46
  1122. package/src/components/chat/quick-action-chip.tsx +52 -7
  1123. package/src/components/chat/quick-action-wall.tsx +29 -13
  1124. package/src/components/chat/tool-execution-display.tsx +3 -6
  1125. package/src/components/chat/types/component.types.ts +26 -0
  1126. package/src/components/chat/types/entities/program-types.ts +3 -0
  1127. package/src/components/chat/utils/compact-card-skeleton.tsx +3 -3
  1128. package/src/components/comment-card.tsx +79 -49
  1129. package/src/components/comment-thread.tsx +56 -47
  1130. package/src/components/docs/docs-hub-page.tsx +3 -7
  1131. package/src/components/docs/index.ts +0 -2
  1132. package/src/components/embeds/embed-viewer-frame.tsx +4 -1
  1133. package/src/components/embeds/index.ts +1 -1
  1134. package/src/components/embeds/og-link-preview.tsx +2 -2
  1135. package/src/components/faq/faq-section.tsx +20 -12
  1136. package/src/components/faq/index.ts +0 -2
  1137. package/src/components/faq-accordion.tsx +33 -23
  1138. package/src/components/features/ai-enrich/AIEnrichSection.tsx +2 -3
  1139. package/src/components/features/approval-level.tsx +2 -2
  1140. package/src/components/features/auth/back-to-login-link.tsx +3 -3
  1141. package/src/components/features/auth/complete-account-form.tsx +8 -3
  1142. package/src/components/features/auth/create-organization-form.tsx +27 -6
  1143. package/src/components/features/auth/invite-link-invalid-modal.tsx +6 -4
  1144. package/src/components/features/auth/login-form.tsx +9 -2
  1145. package/src/components/features/auth/sso-join-form.tsx +35 -7
  1146. package/src/components/features/auth/sso-providers.tsx +30 -1
  1147. package/src/components/features/board/board-column.tsx +9 -17
  1148. package/src/components/features/board/board-ticket-approval.tsx +4 -8
  1149. package/src/components/features/board/board.tsx +41 -11
  1150. package/src/components/features/board/index.ts +1 -3
  1151. package/src/components/features/board/ticket-card.tsx +60 -8
  1152. package/src/components/features/board/types.ts +6 -0
  1153. package/src/components/features/capability-explorer.tsx +88 -71
  1154. package/src/components/features/card-hit-layer.tsx +4 -2
  1155. package/src/components/features/cloud-tenants/tenant-access-cell.tsx +5 -2
  1156. package/src/components/features/cloud-tenants/tenant-cell.tsx +10 -2
  1157. package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +4 -1
  1158. package/src/components/features/cloud-tenants/tenants-table-view.tsx +44 -16
  1159. package/src/components/features/command-box.tsx +25 -10
  1160. package/src/components/features/conversation-card.tsx +101 -48
  1161. package/src/components/features/devices/device-selector/device-selector.tsx +135 -105
  1162. package/src/components/features/devices/device-selector/device-selector.types.ts +5 -0
  1163. package/src/components/features/devices/device-type-tile.tsx +11 -1
  1164. package/src/components/features/devices/devices-grid-filters.tsx +5 -15
  1165. package/src/components/features/devices/devices-grid.tsx +40 -10
  1166. package/src/components/features/devices/devices-list.tsx +9 -2
  1167. package/src/components/features/devices/devices-panel-view.tsx +17 -4
  1168. package/src/components/features/devices/devices-table-columns.tsx +42 -8
  1169. package/src/components/features/devices/index.ts +0 -1
  1170. package/src/components/features/entity-tag-badges.tsx +24 -37
  1171. package/src/components/features/entity-video-section.tsx +5 -5
  1172. package/src/components/features/filters-dropdown.tsx +17 -22
  1173. package/src/components/features/highlight-video-section.tsx +7 -5
  1174. package/src/components/features/knowledge-base/knowledge-base-table.tsx +101 -60
  1175. package/src/components/features/logs/index.ts +2 -2
  1176. package/src/components/features/logs/logs-page-view.tsx +1 -0
  1177. package/src/components/features/logs/logs-table-columns.ts +2 -3
  1178. package/src/components/features/logs/logs-table-view.tsx +98 -135
  1179. package/src/components/features/model-token-rates.tsx +31 -28
  1180. package/src/components/features/notifications/index.ts +2 -2
  1181. package/src/components/features/notifications/notification-drawer.tsx +7 -4
  1182. package/src/components/features/notifications/notification-tile.tsx +53 -12
  1183. package/src/components/features/os-type-badge-group.tsx +19 -1
  1184. package/src/components/features/os-type-badge.tsx +13 -0
  1185. package/src/components/features/paths-display.tsx +26 -20
  1186. package/src/components/features/platform-badge.tsx +7 -3
  1187. package/src/components/features/policies/policies-table.tsx +62 -27
  1188. package/src/components/features/policy-configuration-panel.tsx +94 -32
  1189. package/src/components/features/push-button-selector.tsx +21 -10
  1190. package/src/components/features/remote-session/index.ts +1 -1
  1191. package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +41 -25
  1192. package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +21 -7
  1193. package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +5 -13
  1194. package/src/components/features/remote-session/remote-desktop-view.tsx +13 -15
  1195. package/src/components/features/remote-session/remote-session-block.tsx +34 -36
  1196. package/src/components/features/remote-session/remote-session-chat-panel.tsx +6 -4
  1197. package/src/components/features/remote-session/remote-session-events.tsx +12 -10
  1198. package/src/components/features/remote-session/remote-session-overlay.tsx +4 -7
  1199. package/src/components/features/scripts/execution-cells.tsx +18 -4
  1200. package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +5 -5
  1201. package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +6 -3
  1202. package/src/components/features/scripts/script-executions-table.tsx +29 -7
  1203. package/src/components/features/scripts/script-schedules-table.tsx +42 -9
  1204. package/src/components/features/scripts/script-shell-badge.tsx +11 -0
  1205. package/src/components/features/scripts/scripts-table-shared.tsx +8 -2
  1206. package/src/components/features/scripts/scripts-table.tsx +28 -7
  1207. package/src/components/features/select-button.tsx +7 -15
  1208. package/src/components/features/status-filter-component.tsx +1 -1
  1209. package/src/components/features/tags-selector.tsx +5 -4
  1210. package/src/components/features/ticket-status-config-list/ticket-status-config-list.tsx +52 -5
  1211. package/src/components/features/video-bites-strip.tsx +4 -9
  1212. package/src/components/features/video-hover-preview.tsx +37 -46
  1213. package/src/components/features/video-shared.tsx +3 -0
  1214. package/src/components/features/video-source-selector.tsx +6 -4
  1215. package/src/components/features/video.tsx +7 -65
  1216. package/src/components/features/walkthrough-video.tsx +1 -1
  1217. package/src/components/filter-chip.tsx +6 -16
  1218. package/src/components/help-center-pages/download-apps-page.tsx +21 -13
  1219. package/src/components/help-center-pages/index.ts +1 -1
  1220. package/src/components/help-center-pages/trust-center-page.tsx +5 -25
  1221. package/src/components/help-center-pages/trust-center-sections.tsx +14 -11
  1222. package/src/components/index.ts +1 -9
  1223. package/src/components/interactive-wrapper.tsx +0 -21
  1224. package/src/components/layout/back-button.tsx +15 -18
  1225. package/src/components/layout/list-page-layout.tsx +4 -3
  1226. package/src/components/layout/page-container.tsx +2 -2
  1227. package/src/components/layout/page-heading.tsx +26 -2
  1228. package/src/components/loading/index.ts +4 -34
  1229. package/src/components/loading/loading-fallback.tsx +81 -0
  1230. package/src/components/loading/loading-region.tsx +2 -6
  1231. package/src/components/log-severity-dot.tsx +7 -2
  1232. package/src/components/logs-list.tsx +6 -8
  1233. package/src/components/meeting-scheduler/booking-form.tsx +5 -5
  1234. package/src/components/meeting-scheduler/context-panel.tsx +13 -47
  1235. package/src/components/meeting-scheduler/directory.tsx +6 -7
  1236. package/src/components/meeting-scheduler/host-identity.tsx +68 -0
  1237. package/src/components/meeting-scheduler/index.tsx +5 -9
  1238. package/src/components/meeting-scheduler/modal-header.tsx +8 -50
  1239. package/src/components/meeting-scheduler/slot-picker.tsx +13 -16
  1240. package/src/components/metric-value.tsx +1 -1
  1241. package/src/components/msp-display.tsx +3 -3
  1242. package/src/components/navigation/app-header.tsx +4 -2
  1243. package/src/components/navigation/header-button.tsx +6 -10
  1244. package/src/components/navigation/header-mingo-button.tsx +5 -9
  1245. package/src/components/navigation/header-organization-filter.tsx +3 -11
  1246. package/src/components/navigation/mobile-burger-menu.tsx +7 -24
  1247. package/src/components/navigation/multi-level-navigation.tsx +33 -44
  1248. package/src/components/navigation/nav-panel.tsx +74 -14
  1249. package/src/components/navigation/navigation-sidebar-item.tsx +47 -50
  1250. package/src/components/navigation/navigation-sidebar-toggle.tsx +6 -9
  1251. package/src/components/navigation/navigation-sidebar.tsx +7 -3
  1252. package/src/components/navigation/sticky-section-nav.tsx +12 -16
  1253. package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +3 -11
  1254. package/src/components/onboarding-guides/onboarding-guides-catalog-view.tsx +52 -18
  1255. package/src/components/pagination.tsx +1 -10
  1256. package/src/components/platform/ToolBadge.tsx +2 -2
  1257. package/src/components/platform/index.ts +2 -2
  1258. package/src/components/product-demo/product-screen.tsx +36 -16
  1259. package/src/components/product-demo/screen-loading.tsx +2 -6
  1260. package/src/components/related-content/card-registry.tsx +23 -35
  1261. package/src/components/related-content/index.ts +0 -2
  1262. package/src/components/related-content/related-content-section.tsx +2 -2
  1263. package/src/components/results-count.tsx +1 -1
  1264. package/src/components/shared/article-author-byline.tsx +1 -1
  1265. package/src/components/shared/delivery/delivery-row.tsx +14 -9
  1266. package/src/components/shared/delivery/delivery-table.tsx +14 -11
  1267. package/src/components/shared/dev-section/dev-card-row.tsx +22 -59
  1268. package/src/components/shared/dev-section/index.ts +1 -6
  1269. package/src/components/shared/legal-document/index.ts +0 -1
  1270. package/src/components/shared/legal-document/legal-document-page.tsx +4 -4
  1271. package/src/components/shared/media-gallery-strip.tsx +28 -20
  1272. package/src/components/shared/onboarding/onboarding-walkthrough.tsx +4 -1
  1273. package/src/components/shared/product-release/index.ts +0 -1
  1274. package/src/components/shared/product-release/product-release-card-skeleton.tsx +4 -4
  1275. package/src/components/shared/product-release/product-release-card.tsx +16 -8
  1276. package/src/components/shared/product-release/product-releases-view.tsx +27 -22
  1277. package/src/components/shared/product-release/release-detail-page.tsx +3 -11
  1278. package/src/components/shared/roadmap/index.ts +0 -1
  1279. package/src/components/shared/roadmap/roadmap-grid.tsx +56 -7
  1280. package/src/components/shared/roadmap/roadmap-view.tsx +5 -3
  1281. package/src/components/smooth-accordion.tsx +0 -2
  1282. package/src/components/social-icon-row.tsx +9 -0
  1283. package/src/components/tickets/help-center-card.tsx +62 -14
  1284. package/src/components/tickets/help-center-create-form.tsx +29 -112
  1285. package/src/components/tickets/help-center-list.tsx +26 -24
  1286. package/src/components/tickets/index.ts +1 -5
  1287. package/src/components/tickets/ticket-center.tsx +16 -27
  1288. package/src/components/tickets/ticket-detail-drawer.tsx +8 -5
  1289. package/src/components/tickets/ticket-open-form.tsx +5 -4
  1290. package/src/components/tickets/ticket-row.tsx +42 -5
  1291. package/src/components/ui/actions-menu.tsx +45 -44
  1292. package/src/components/ui/allowed-domains-input.tsx +7 -8
  1293. package/src/components/ui/assignee-dropdown.tsx +26 -24
  1294. package/src/components/ui/autocomplete.tsx +26 -25
  1295. package/src/components/ui/avatar-stack.tsx +24 -15
  1296. package/src/components/ui/badge.tsx +9 -3
  1297. package/src/components/ui/breadcrumb.tsx +8 -1
  1298. package/src/components/ui/button/button-styles.ts +79 -0
  1299. package/src/components/ui/button/button.tsx +36 -2
  1300. package/src/components/ui/button/index.ts +1 -1
  1301. package/src/components/ui/button/split-button.tsx +21 -102
  1302. package/src/components/ui/checkbox-block.tsx +118 -88
  1303. package/src/components/ui/checkbox-with-description.tsx +39 -33
  1304. package/src/components/ui/checkbox.tsx +34 -16
  1305. package/src/components/ui/chevron-button.tsx +16 -23
  1306. package/src/components/ui/color-preset-select.tsx +34 -11
  1307. package/src/components/ui/color-swatch.tsx +9 -8
  1308. package/src/components/ui/content-loader.tsx +42 -29
  1309. package/src/components/ui/cursor-pagination.tsx +10 -24
  1310. package/src/components/ui/dashboard-info-card.tsx +35 -16
  1311. package/src/components/ui/data-attribution.tsx +1 -1
  1312. package/src/components/ui/data-table/data-table-body.tsx +62 -15
  1313. package/src/components/ui/data-table/data-table-cursor-footer.tsx +1 -1
  1314. package/src/components/ui/data-table/data-table-header.tsx +13 -1
  1315. package/src/components/ui/data-table/data-table-infinite-footer.tsx +10 -5
  1316. package/src/components/ui/data-table/data-table-reserved-rows.tsx +111 -0
  1317. package/src/components/ui/data-table/data-table-row-classes.ts +48 -0
  1318. package/src/components/ui/data-table/data-table-row-count.tsx +5 -2
  1319. package/src/components/ui/data-table/data-table-row.tsx +136 -10
  1320. package/src/components/ui/data-table/index.ts +10 -9
  1321. package/src/components/ui/data-table/types.ts +14 -0
  1322. package/src/components/ui/data-table/utils.ts +12 -0
  1323. package/src/components/ui/date-picker.tsx +23 -55
  1324. package/src/components/ui/device-card.tsx +99 -43
  1325. package/src/components/ui/entity-image.tsx +1 -4
  1326. package/src/components/ui/feature-card.tsx +15 -8
  1327. package/src/components/ui/feature-list.tsx +3 -3
  1328. package/src/components/ui/field-value-skeleton.tsx +11 -0
  1329. package/src/components/ui/file-manager/file-manager-breadcrumb.tsx +9 -7
  1330. package/src/components/ui/file-manager/file-manager-table-row.tsx +126 -32
  1331. package/src/components/ui/file-manager/file-manager-table.tsx +69 -96
  1332. package/src/components/ui/file-manager/file-manager.tsx +19 -5
  1333. package/src/components/ui/file-manager/index.ts +0 -1
  1334. package/src/components/ui/file-manager/types.ts +12 -1
  1335. package/src/components/ui/file-upload.tsx +40 -29
  1336. package/src/components/ui/filter-checkbox-item.tsx +9 -3
  1337. package/src/components/ui/filter-modal.tsx +66 -51
  1338. package/src/components/ui/filter-pill-row.tsx +5 -2
  1339. package/src/components/ui/hidden-tags-popup.tsx +7 -4
  1340. package/src/components/ui/hover-dropdown.tsx +9 -5
  1341. package/src/components/ui/image-uploader.tsx +8 -13
  1342. package/src/components/ui/index.ts +4 -31
  1343. package/src/components/ui/info-card-row.tsx +1 -1
  1344. package/src/components/ui/info-card.tsx +193 -134
  1345. package/src/components/ui/info-section.tsx +61 -24
  1346. package/src/components/ui/input-styles.ts +3 -0
  1347. package/src/components/ui/input-trigger.tsx +26 -26
  1348. package/src/components/ui/input.tsx +24 -6
  1349. package/src/components/ui/label.tsx +13 -8
  1350. package/src/components/ui/leader-row.tsx +61 -46
  1351. package/src/components/ui/loading-scope.tsx +147 -4
  1352. package/src/components/ui/markdown/engine.tsx +21 -12
  1353. package/src/components/ui/markdown/index.ts +1 -5
  1354. package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +1 -18
  1355. package/src/components/ui/modal-v2.tsx +8 -4
  1356. package/src/components/ui/numbered-step.tsx +18 -1
  1357. package/src/components/ui/organization-card.tsx +115 -32
  1358. package/src/components/ui/page-actions.tsx +82 -127
  1359. package/src/components/ui/password-input.tsx +6 -4
  1360. package/src/components/ui/people-cell.tsx +8 -5
  1361. package/src/components/ui/product-screen-frame.tsx +20 -10
  1362. package/src/components/ui/progress-bar.tsx +12 -2
  1363. package/src/components/ui/query-report-table/index.ts +0 -2
  1364. package/src/components/ui/query-report-table/query-report-table-header.tsx +3 -2
  1365. package/src/components/ui/query-report-table/query-report-table-row.tsx +31 -12
  1366. package/src/components/ui/query-report-table/query-report-table-skeleton.tsx +41 -34
  1367. package/src/components/ui/query-report-table/query-report-table.tsx +42 -26
  1368. package/src/components/ui/query-report-table/types.ts +5 -1
  1369. package/src/components/ui/radio-group.tsx +111 -50
  1370. package/src/components/ui/release-changelog-section.tsx +23 -24
  1371. package/src/components/ui/search-input.tsx +19 -18
  1372. package/src/components/ui/searchable-select.tsx +36 -39
  1373. package/src/components/ui/select.tsx +6 -1
  1374. package/src/components/ui/service-card.tsx +118 -55
  1375. package/src/components/ui/slack-channel-chip.tsx +1 -1
  1376. package/src/components/ui/snap-carousel.tsx +146 -61
  1377. package/src/components/ui/square-avatar.tsx +25 -6
  1378. package/src/components/ui/stacked-rows-panel.tsx +94 -70
  1379. package/src/components/ui/status-badge.tsx +21 -3
  1380. package/src/components/ui/status-indicator.tsx +1 -1
  1381. package/src/components/ui/strip-card.tsx +1 -1
  1382. package/src/components/ui/super-user-banner-view.tsx +18 -2
  1383. package/src/components/ui/switch.tsx +25 -13
  1384. package/src/components/ui/tab-navigation.tsx +63 -55
  1385. package/src/components/ui/tab-selector.tsx +10 -20
  1386. package/src/components/ui/tabs.tsx +1 -30
  1387. package/src/components/ui/tag-search-input.tsx +11 -12
  1388. package/src/components/ui/tag-select-dropdown.tsx +9 -17
  1389. package/src/components/ui/tag.tsx +32 -10
  1390. package/src/components/ui/tags-input.tsx +19 -11
  1391. package/src/components/ui/tags-manager.tsx +10 -5
  1392. package/src/components/ui/test-run.tsx +40 -28
  1393. package/src/components/ui/textarea.tsx +27 -20
  1394. package/src/components/ui/ticket-attachments-list.tsx +13 -8
  1395. package/src/components/ui/ticket-info-section.tsx +15 -17
  1396. package/src/components/ui/ticket-note-card.tsx +23 -16
  1397. package/src/components/ui/ticket-notes-section.tsx +7 -9
  1398. package/src/components/ui/ticket-status-config-row.tsx +65 -34
  1399. package/src/components/ui/ticket-status-tag.tsx +35 -22
  1400. package/src/components/ui/timezone-select.tsx +6 -2
  1401. package/src/components/ui/toaster.tsx +19 -17
  1402. package/src/components/ui/truncate-text.tsx +12 -0
  1403. package/src/components/user-display.tsx +4 -4
  1404. package/src/components/vendor-display-button.tsx +12 -17
  1405. package/src/components/vendor-icon.tsx +25 -7
  1406. package/src/components/vendor-tag.tsx +5 -1
  1407. package/src/loading-standard/engine.mjs +3124 -0
  1408. package/src/loading-standard/rule-examples.mjs +580 -0
  1409. package/src/styles/index.css +1 -0
  1410. package/src/styles/product-screen-frame.css +33 -0
  1411. package/src/types/logs.types.ts +3 -3
  1412. package/src/types/permissions.ts +10 -0
  1413. package/dist/chunk-65VVJSQZ.cjs +0 -109
  1414. package/dist/chunk-C42WIUH6.cjs +0 -42
  1415. package/dist/chunk-OJLZ7PGO.cjs +0 -697
  1416. package/dist/components/chat/chat-header-icon-button.d.ts +0 -18
  1417. package/dist/components/chat/chat-header-icon-button.d.ts.map +0 -1
  1418. package/dist/components/chat/chat-header-icon-button.js +0 -27
  1419. package/dist/components/chat/chat-sidebar-skeleton.d.ts +0 -12
  1420. package/dist/components/chat/chat-sidebar-skeleton.d.ts.map +0 -1
  1421. package/dist/components/chat/chat-sidebar-skeleton.js +0 -63
  1422. package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts +0 -45
  1423. package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts.map +0 -1
  1424. package/dist/components/chat/mingo-onboarding-card-skeleton.js +0 -70
  1425. package/dist/components/chat/msp-organization-card-skeleton.d.ts +0 -12
  1426. package/dist/components/chat/msp-organization-card-skeleton.d.ts.map +0 -1
  1427. package/dist/components/chat/msp-organization-card-skeleton.js +0 -26
  1428. package/dist/components/features/board/ticket-card-skeleton.d.ts +0 -5
  1429. package/dist/components/features/board/ticket-card-skeleton.d.ts.map +0 -1
  1430. package/dist/components/features/board/ticket-card-skeleton.js +0 -41
  1431. package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +0 -28
  1432. package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +0 -1
  1433. package/dist/components/features/devices/device-selector/device-selector-skeleton.js +0 -10
  1434. package/dist/components/loading/card-skeleton.d.ts +0 -41
  1435. package/dist/components/loading/card-skeleton.d.ts.map +0 -1
  1436. package/dist/components/loading/card-skeleton.js +0 -141
  1437. package/dist/components/loading/category-card-skeleton.d.ts +0 -6
  1438. package/dist/components/loading/category-card-skeleton.d.ts.map +0 -1
  1439. package/dist/components/loading/category-card-skeleton.js +0 -27
  1440. package/dist/components/loading/category-vendor-selector-skeleton.d.ts +0 -13
  1441. package/dist/components/loading/category-vendor-selector-skeleton.d.ts.map +0 -1
  1442. package/dist/components/loading/category-vendor-selector-skeleton.js +0 -32
  1443. package/dist/components/loading/deprecated-layout-skeletons.d.ts +0 -25
  1444. package/dist/components/loading/deprecated-layout-skeletons.d.ts.map +0 -1
  1445. package/dist/components/loading/deprecated-layout-skeletons.js +0 -78
  1446. package/dist/components/loading/device-card-skeleton.d.ts +0 -40
  1447. package/dist/components/loading/device-card-skeleton.d.ts.map +0 -1
  1448. package/dist/components/loading/device-card-skeleton.js +0 -54
  1449. package/dist/components/loading/margin-report-skeleton.d.ts +0 -14
  1450. package/dist/components/loading/margin-report-skeleton.d.ts.map +0 -1
  1451. package/dist/components/loading/margin-report-skeleton.js +0 -99
  1452. package/dist/components/loading/msp-profile-form-skeleton.d.ts +0 -28
  1453. package/dist/components/loading/msp-profile-form-skeleton.d.ts.map +0 -1
  1454. package/dist/components/loading/msp-profile-form-skeleton.js +0 -28
  1455. package/dist/components/loading/organization-card-skeleton.d.ts +0 -51
  1456. package/dist/components/loading/organization-card-skeleton.d.ts.map +0 -1
  1457. package/dist/components/loading/organization-card-skeleton.js +0 -88
  1458. package/dist/components/loading/organization-icon-skeleton.d.ts +0 -49
  1459. package/dist/components/loading/organization-icon-skeleton.d.ts.map +0 -1
  1460. package/dist/components/loading/organization-icon-skeleton.js +0 -35
  1461. package/dist/components/loading/page-layout-skeleton.d.ts +0 -45
  1462. package/dist/components/loading/page-layout-skeleton.d.ts.map +0 -1
  1463. package/dist/components/loading/page-layout-skeleton.js +0 -124
  1464. package/dist/components/loading/settings-form-skeleton.d.ts +0 -19
  1465. package/dist/components/loading/settings-form-skeleton.d.ts.map +0 -1
  1466. package/dist/components/loading/settings-form-skeleton.js +0 -42
  1467. package/dist/components/loading/wizard-layout-skeleton.d.ts +0 -9
  1468. package/dist/components/loading/wizard-layout-skeleton.d.ts.map +0 -1
  1469. package/dist/components/loading/wizard-layout-skeleton.js +0 -21
  1470. package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +0 -21
  1471. package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +0 -1
  1472. package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +0 -35
  1473. package/dist/components/profile/ProfileLoadingSkeleton.d.ts +0 -8
  1474. package/dist/components/profile/ProfileLoadingSkeleton.d.ts.map +0 -1
  1475. package/dist/components/profile/ProfileLoadingSkeleton.js +0 -24
  1476. package/dist/components/shared/detail-page-skeleton.d.ts +0 -18
  1477. package/dist/components/shared/detail-page-skeleton.d.ts.map +0 -1
  1478. package/dist/components/shared/detail-page-skeleton.js +0 -68
  1479. package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +0 -30
  1480. package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +0 -1
  1481. package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +0 -21
  1482. package/dist/components/ui/data-table/data-table-skeleton.d.ts +0 -74
  1483. package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +0 -1
  1484. package/dist/components/ui/data-table/data-table-skeleton.js +0 -150
  1485. package/dist/components/ui/file-manager/file-manager-skeleton.d.ts +0 -10
  1486. package/dist/components/ui/file-manager/file-manager-skeleton.d.ts.map +0 -1
  1487. package/dist/components/ui/file-manager/file-manager-skeleton.js +0 -55
  1488. package/dist/components/ui/table/index.d.ts +0 -17
  1489. package/dist/components/ui/table/index.d.ts.map +0 -1
  1490. package/dist/components/ui/table/index.js +0 -25
  1491. package/dist/components/ui/table/table-cell.d.ts +0 -4
  1492. package/dist/components/ui/table/table-cell.d.ts.map +0 -1
  1493. package/dist/components/ui/table/table-cell.js +0 -19
  1494. package/dist/components/ui/table/table-column-filter-dropdown.d.ts +0 -21
  1495. package/dist/components/ui/table/table-column-filter-dropdown.d.ts.map +0 -1
  1496. package/dist/components/ui/table/table-column-filter-dropdown.js +0 -63
  1497. package/dist/components/ui/table/table-description-cell.d.ts +0 -21
  1498. package/dist/components/ui/table/table-description-cell.d.ts.map +0 -1
  1499. package/dist/components/ui/table/table-description-cell.js +0 -24
  1500. package/dist/components/ui/table/table-empty-state.d.ts +0 -4
  1501. package/dist/components/ui/table/table-empty-state.d.ts.map +0 -1
  1502. package/dist/components/ui/table/table-empty-state.js +0 -22
  1503. package/dist/components/ui/table/table-header.d.ts +0 -4
  1504. package/dist/components/ui/table/table-header.d.ts.map +0 -1
  1505. package/dist/components/ui/table/table-header.js +0 -158
  1506. package/dist/components/ui/table/table-row.d.ts +0 -5
  1507. package/dist/components/ui/table/table-row.d.ts.map +0 -1
  1508. package/dist/components/ui/table/table-row.js +0 -112
  1509. package/dist/components/ui/table/table-skeleton.d.ts +0 -22
  1510. package/dist/components/ui/table/table-skeleton.d.ts.map +0 -1
  1511. package/dist/components/ui/table/table-skeleton.js +0 -64
  1512. package/dist/components/ui/table/table-timestamp-cell.d.ts +0 -28
  1513. package/dist/components/ui/table/table-timestamp-cell.d.ts.map +0 -1
  1514. package/dist/components/ui/table/table-timestamp-cell.js +0 -36
  1515. package/dist/components/ui/table/table.d.ts +0 -4
  1516. package/dist/components/ui/table/table.d.ts.map +0 -1
  1517. package/dist/components/ui/table/table.js +0 -326
  1518. package/dist/components/ui/table/types.d.ts +0 -289
  1519. package/dist/components/ui/table/types.d.ts.map +0 -1
  1520. package/dist/components/ui/table/types.js +0 -1
  1521. package/dist/components/ui/table/use-table-motion.d.ts +0 -24
  1522. package/dist/components/ui/table/use-table-motion.d.ts.map +0 -1
  1523. package/dist/components/ui/table/use-table-motion.js +0 -20
  1524. package/dist/components/ui/table/utils.d.ts +0 -10
  1525. package/dist/components/ui/table/utils.d.ts.map +0 -1
  1526. package/dist/components/ui/table/utils.js +0 -34
  1527. package/src/components/chat/chat-header-icon-button.tsx +0 -41
  1528. package/src/components/chat/chat-sidebar-skeleton.tsx +0 -89
  1529. package/src/components/chat/mingo-onboarding-card-skeleton.tsx +0 -146
  1530. package/src/components/chat/msp-organization-card-skeleton.tsx +0 -33
  1531. package/src/components/features/board/ticket-card-skeleton.tsx +0 -41
  1532. package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +0 -38
  1533. package/src/components/loading/card-skeleton.tsx +0 -259
  1534. package/src/components/loading/category-card-skeleton.tsx +0 -36
  1535. package/src/components/loading/category-vendor-selector-skeleton.tsx +0 -51
  1536. package/src/components/loading/deprecated-layout-skeletons.tsx +0 -133
  1537. package/src/components/loading/device-card-skeleton.tsx +0 -100
  1538. package/src/components/loading/margin-report-skeleton.tsx +0 -153
  1539. package/src/components/loading/msp-profile-form-skeleton.tsx +0 -59
  1540. package/src/components/loading/organization-card-skeleton.tsx +0 -130
  1541. package/src/components/loading/organization-icon-skeleton.tsx +0 -95
  1542. package/src/components/loading/page-layout-skeleton.tsx +0 -192
  1543. package/src/components/loading/settings-form-skeleton.tsx +0 -55
  1544. package/src/components/loading/wizard-layout-skeleton.tsx +0 -35
  1545. package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +0 -48
  1546. package/src/components/profile/ProfileLoadingSkeleton.tsx +0 -31
  1547. package/src/components/shared/detail-page-skeleton.tsx +0 -105
  1548. package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +0 -54
  1549. package/src/components/ui/data-table/data-table-skeleton.tsx +0 -229
  1550. package/src/components/ui/file-manager/file-manager-skeleton.tsx +0 -110
  1551. package/src/components/ui/table/index.ts +0 -34
  1552. package/src/components/ui/table/table-cell.tsx +0 -28
  1553. package/src/components/ui/table/table-column-filter-dropdown.tsx +0 -76
  1554. package/src/components/ui/table/table-description-cell.tsx +0 -46
  1555. package/src/components/ui/table/table-empty-state.tsx +0 -24
  1556. package/src/components/ui/table/table-header.tsx +0 -182
  1557. package/src/components/ui/table/table-row.tsx +0 -133
  1558. package/src/components/ui/table/table-skeleton.tsx +0 -102
  1559. package/src/components/ui/table/table-timestamp-cell.tsx +0 -81
  1560. package/src/components/ui/table/table.tsx +0 -410
  1561. package/src/components/ui/table/types.ts +0 -335
  1562. package/src/components/ui/table/use-table-motion.ts +0 -48
  1563. package/src/components/ui/table/utils.ts +0 -55
@@ -0,0 +1,1488 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
+
3
+
4
+
5
+
6
+ var _chunkQ7HXTF2Ccjs = require('./chunk-Q7HXTF2C.cjs');
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+ var _chunkHTSRCFXPcjs = require('./chunk-HTSRCFXP.cjs');
16
+
17
+
18
+
19
+ var _chunkDJTPDK3Wcjs = require('./chunk-DJTPDK3W.cjs');
20
+
21
+
22
+
23
+ var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
24
+
25
+
26
+ var _chunkIYU2ZH2Jcjs = require('./chunk-IYU2ZH2J.cjs');
27
+
28
+
29
+
30
+ var _chunk3VINTJPEcjs = require('./chunk-3VINTJPE.cjs');
31
+
32
+
33
+ var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+ var _chunkYNDH72VUcjs = require('./chunk-YNDH72VU.cjs');
42
+
43
+
44
+ var _chunkCDBFQVPAcjs = require('./chunk-CDBFQVPA.cjs');
45
+
46
+
47
+
48
+ var _chunkN6YCOBLKcjs = require('./chunk-N6YCOBLK.cjs');
49
+
50
+
51
+ var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
52
+
53
+ // src/components/chat/entity-cards/case-study-card.tsx
54
+ var _react = require('react');
55
+
56
+ // src/components/features/video-bites-shared.ts
57
+ var DEFAULT_VIDEO_BITES_TITLE = "Key Moments";
58
+ function toStripProfile(p, fallbackSubtitle) {
59
+ if (!_optionalChain([p, 'optionalAccess', _ => _.full_name])) return null;
60
+ return {
61
+ name: p.full_name,
62
+ avatarUrl: _nullishCoalesce(p.avatar_url, () => ( null)),
63
+ subtitle: _nullishCoalesce(_nullishCoalesce(p.job_title, () => ( fallbackSubtitle)), () => ( null))
64
+ };
65
+ }
66
+ function sortBitesByCreatedAtDesc(a, b) {
67
+ if (!a.created_at && !b.created_at) return 0;
68
+ if (!a.created_at) return 1;
69
+ if (!b.created_at) return -1;
70
+ return new Date(b.created_at).getTime() - new Date(a.created_at).getTime();
71
+ }
72
+ function sortBitesByFeaturedAtDesc(a, b) {
73
+ if (!a.featured_at && !b.featured_at) return 0;
74
+ if (!a.featured_at) return 1;
75
+ if (!b.featured_at) return -1;
76
+ return new Date(b.featured_at).getTime() - new Date(a.featured_at).getTime();
77
+ }
78
+ function programItemToStripProfile(item) {
79
+ const fromAuthor = toStripProfile(item.author);
80
+ if (fromAuthor) return fromAuthor;
81
+ const host = _nullishCoalesce(_optionalChain([item, 'access', _2 => _2.hosts, 'optionalAccess', _3 => _3[0]]), () => ( null));
82
+ if (!_optionalChain([host, 'optionalAccess', _4 => _4.name])) return null;
83
+ return toStripProfile({ full_name: host.name, avatar_url: _nullishCoalesce(host.avatar_url, () => ( null)) });
84
+ }
85
+
86
+ // src/components/features/video-hover-preview.tsx
87
+
88
+
89
+ // src/components/chat/entity-cards/use-cover-image-fallback.ts
90
+
91
+ function useCoverImageFallback(imageUrl, placeholderUrl) {
92
+ const [failed, setFailed] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
93
+ const src = imageUrl && !failed.has(imageUrl) ? imageUrl : placeholderUrl && !failed.has(placeholderUrl) ? placeholderUrl : null;
94
+ const onError = _react.useCallback.call(void 0, () => {
95
+ if (!src) return;
96
+ setFailed((prev) => new Set(prev).add(src));
97
+ }, [src]);
98
+ return { src, onError };
99
+ }
100
+ var hideOnError = (e) => {
101
+ const img = e.currentTarget;
102
+ img.style.display = "none";
103
+ };
104
+
105
+ // src/components/features/video.tsx
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ var _jsxruntime = require('react/jsx-runtime');
117
+ var filePlayer = null;
118
+ var filePlayerLoad = null;
119
+ var filePlayerListeners = /* @__PURE__ */ new Set();
120
+ function loadFilePlayer() {
121
+ if (filePlayer || filePlayerLoad) return;
122
+ filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-DETXW4OJ.cjs"))).then((module) => {
123
+ filePlayer = module.default;
124
+ for (const listener of filePlayerListeners) listener();
125
+ }).catch(() => void 0).finally(() => {
126
+ filePlayerLoad = null;
127
+ });
128
+ }
129
+ function subscribeToFilePlayer(listener) {
130
+ filePlayerListeners.add(listener);
131
+ loadFilePlayer();
132
+ return () => {
133
+ filePlayerListeners.delete(listener);
134
+ };
135
+ }
136
+ var loadedFilePlayer = () => filePlayer;
137
+ var noFilePlayer = () => null;
138
+ var PosterBox = _react.forwardRef.call(void 0, function PosterBoxView({ poster, className, priority, fill }, ref) {
139
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
140
+ "div",
141
+ {
142
+ ref,
143
+ "aria-hidden": "true",
144
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, "relative overflow-hidden", className),
145
+ style: fill ? { width: "100%", height: "100%" } : void 0,
146
+ children: poster ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3VINTJPEcjs.next_image_default, { src: poster, alt: "", fill: true, sizes: "100vw", priority, unoptimized: true, className: "object-cover" }) : null
147
+ }
148
+ );
149
+ });
150
+ function FilePlayerFallback({
151
+ poster,
152
+ className,
153
+ priority
154
+ }) {
155
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PosterBox, { poster, className, priority, fill: true });
156
+ }
157
+ function FilePlayer({ priority, ...props }) {
158
+ const arrived = _react.useSyncExternalStore.call(void 0, subscribeToFilePlayer, loadedFilePlayer, noFilePlayer);
159
+ if (arrived) return _react.createElement.call(void 0, arrived, props);
160
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FilePlayerFallback, { poster: props.poster, className: props.className, priority });
161
+ }
162
+ var YT_HOSTS = /* @__PURE__ */ new Set([
163
+ "youtube.com",
164
+ "www.youtube.com",
165
+ "m.youtube.com",
166
+ "youtu.be",
167
+ "youtube-nocookie.com",
168
+ "www.youtube-nocookie.com"
169
+ ]);
170
+ function isYouTubeUrl(url) {
171
+ try {
172
+ return YT_HOSTS.has(new URL(url, "http://placeholder.local").hostname.toLowerCase());
173
+ } catch (e2) {
174
+ return false;
175
+ }
176
+ }
177
+ var YT_PATH_RE = /^\/(?:embed|v|shorts)\/([^/]+)\/?$/;
178
+ var BARE_YT_ID_RE = /^[A-Za-z0-9_-]{11}$/;
179
+ function extractYouTubeId(url) {
180
+ if (!url) return null;
181
+ if (BARE_YT_ID_RE.test(url)) return url;
182
+ let u;
183
+ try {
184
+ u = new URL(url, "http://placeholder.local");
185
+ } catch (e3) {
186
+ return null;
187
+ }
188
+ if (!YT_HOSTS.has(u.hostname.toLowerCase())) return null;
189
+ if (u.hostname.toLowerCase().endsWith("youtu.be")) {
190
+ return _nullishCoalesce(u.pathname.split("/").filter(Boolean)[0], () => ( null));
191
+ }
192
+ const v = u.searchParams.get("v");
193
+ if (v) return v;
194
+ const m = u.pathname.match(YT_PATH_RE);
195
+ return m ? m[1] : null;
196
+ }
197
+ function Video(props) {
198
+ const { ref: nearRef, isNear } = _chunkNTPX5GXIcjs.useNearViewport.call(void 0, );
199
+ const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, );
200
+ const url = props.url;
201
+ const layout = _nullishCoalesce(props.layout, () => ( "native"));
202
+ if (loading && !url || props.loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VideoSkeleton, { layout, className: props.className });
203
+ if (!url) return null;
204
+ const effectiveKind = resolveKind(props, url);
205
+ if ((_nullishCoalesce(props.lazy, () => ( true))) && !isNear) {
206
+ return wrapWithLayout(
207
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
208
+ PosterBox,
209
+ {
210
+ ref: nearRef,
211
+ poster: props.poster,
212
+ className: props.className,
213
+ priority: "priority" in props ? props.priority : void 0
214
+ }
215
+ ),
216
+ layout
217
+ );
218
+ }
219
+ const inner = effectiveKind === "youtube" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
220
+ YouTubeFacade,
221
+ {
222
+ url,
223
+ title: props.title,
224
+ priority: props.priority,
225
+ className: props.className,
226
+ minimalControls: props.minimalControls,
227
+ muted: props.muted,
228
+ ..._chunkHTSRCFXPcjs.pickYouTube.call(void 0, props)
229
+ }
230
+ ) : "firstFrameOnly" in props && props.firstFrameOnly ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
231
+ FirstFramePreview,
232
+ {
233
+ url,
234
+ poster: props.poster,
235
+ fit: "fit" in props ? props.fit : void 0,
236
+ className: props.className
237
+ }
238
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
239
+ FilePlayer,
240
+ {
241
+ url,
242
+ poster: props.poster,
243
+ priority: props.priority,
244
+ muted: props.muted,
245
+ ..._chunkHTSRCFXPcjs.pickFilePlayback.call(void 0, props),
246
+ className: props.className
247
+ }
248
+ );
249
+ return wrapWithLayout(inner, layout);
250
+ }
251
+ function resolveKind(props, url) {
252
+ if ("kind" in props) {
253
+ if (props.kind === "youtube") return "youtube";
254
+ if (props.kind === "file") return "file";
255
+ }
256
+ if (BARE_YT_ID_RE.test(url)) return "youtube";
257
+ return isYouTubeUrl(url) ? "youtube" : "file";
258
+ }
259
+ function VideoSkeleton({ layout = "native", className }) {
260
+ return wrapWithLayout(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { variant: "rectangular", className: _chunkN6YCOBLKcjs.cn.call(void 0, "h-full w-full", className) }), layout);
261
+ }
262
+ function wrapWithLayout(inner, layout) {
263
+ switch (layout) {
264
+ case "centered":
265
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full max-w-3xl overflow-hidden rounded-lg border border-ods-border", children: inner }) });
266
+ case "fill":
267
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 h-full w-full", children: inner });
268
+ case "wide":
269
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "aspect-video w-full overflow-hidden rounded-lg bg-ods-bg", children: inner });
270
+ case "native":
271
+ default:
272
+ return inner;
273
+ }
274
+ }
275
+ function FirstFramePreview({
276
+ url,
277
+ poster,
278
+ fit,
279
+ className
280
+ }) {
281
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
282
+ "div",
283
+ {
284
+ "aria-hidden": true,
285
+ className: "h-full w-full",
286
+ style: { "--media-background-color": "transparent" },
287
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FilePlayer, { url: `${url}#t=0.1`, poster, fit, muted: true, chromeless: true, className })
288
+ }
289
+ );
290
+ }
291
+ function YouTubeFacade({
292
+ url,
293
+ title = "YouTube Video",
294
+ priority,
295
+ className,
296
+ minimalControls,
297
+ muted,
298
+ // `...facade` rather than naming each one: this hop is invisible to the
299
+ // build-time forwarding proof, so a prop added to VideoYouTubeFacadeProps
300
+ // would reach here and silently stop before Inner.
301
+ ...facade
302
+ }) {
303
+ const videoId = extractYouTubeId(url);
304
+ if (!videoId) return null;
305
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
306
+ YouTubeFacadeInner,
307
+ {
308
+ videoId,
309
+ title,
310
+ priority,
311
+ className,
312
+ minimalControls,
313
+ muted,
314
+ ...facade
315
+ }
316
+ );
317
+ }
318
+ var YT_NOCOOKIE_ORIGIN = "https://www.youtube-nocookie.com";
319
+ var YT_POSTER_TIERS = ["maxresdefault", "mqdefault"];
320
+ var YT_STATE_ENDED = 0;
321
+ var YT_STATE_PLAYING = 1;
322
+ var YT_PLAYING_BLUR_DELAY_MS = 1e3;
323
+ function toYouTubeMessage(parsed) {
324
+ if (typeof parsed !== "object" || parsed === null) return null;
325
+ const event = "event" in parsed ? parsed.event : void 0;
326
+ const info = "info" in parsed ? parsed.info : void 0;
327
+ const playerState = typeof info === "object" && info !== null && "playerState" in info ? info.playerState : void 0;
328
+ return {
329
+ event: typeof event === "string" ? event : void 0,
330
+ info: { playerState: typeof playerState === "number" ? playerState : void 0 },
331
+ errorCode: typeof info === "number" ? info : void 0
332
+ };
333
+ }
334
+ function YouTubeFacadeInner({
335
+ videoId,
336
+ title,
337
+ priority,
338
+ className,
339
+ minimalControls,
340
+ muted,
341
+ autoActivate,
342
+ suspended
343
+ }) {
344
+ const [activated, setActivated] = _react.useState.call(void 0, Boolean(autoActivate));
345
+ const [prevAutoActivate, setPrevAutoActivate] = _react.useState.call(void 0, Boolean(autoActivate));
346
+ if (Boolean(autoActivate) !== prevAutoActivate) {
347
+ setPrevAutoActivate(Boolean(autoActivate));
348
+ if (autoActivate) setActivated(true);
349
+ }
350
+ const [failed, setFailed] = _react.useState.call(void 0, false);
351
+ const [reloadNonce, setReloadNonce] = _react.useState.call(void 0, 0);
352
+ const iframeRef = _react.useRef.call(void 0, null);
353
+ const retry = _react.useCallback.call(void 0, () => {
354
+ setFailed(false);
355
+ setReloadNonce((n) => n + 1);
356
+ }, []);
357
+ const embedUrl = _react.useMemo.call(void 0, () => {
358
+ const params = new URLSearchParams({
359
+ autoplay: "1",
360
+ rel: "0",
361
+ modestbranding: "1",
362
+ playsinline: "1",
363
+ enablejsapi: "1"
364
+ });
365
+ if (muted) params.set("mute", "1");
366
+ if (typeof window !== "undefined") {
367
+ params.set("origin", window.location.origin);
368
+ }
369
+ if (minimalControls) {
370
+ params.set("controls", "0");
371
+ params.set("fs", "0");
372
+ params.set("iv_load_policy", "3");
373
+ params.set("cc_load_policy", "0");
374
+ params.set("disablekb", "1");
375
+ }
376
+ return `${YT_NOCOOKIE_ORIGIN}/embed/${videoId}?${params.toString()}`;
377
+ }, [videoId, minimalControls, muted]);
378
+ const [posterTier, setPosterTier] = _react.useState.call(void 0, 0);
379
+ const [posterTierFor, setPosterTierFor] = _react.useState.call(void 0, videoId);
380
+ if (posterTierFor !== videoId) {
381
+ setPosterTierFor(videoId);
382
+ setPosterTier(0);
383
+ }
384
+ const posterQuality = YT_POSTER_TIERS[posterTier];
385
+ const posterJpg = `https://i.ytimg.com/vi/${videoId}/${posterQuality}.jpg`;
386
+ const posterWebp = `https://i.ytimg.com/vi_webp/${videoId}/${posterQuality}.webp`;
387
+ const handlePosterError = () => setPosterTier((tier) => Math.min(tier + 1, YT_POSTER_TIERS.length - 1));
388
+ _react.useEffect.call(void 0, () => {
389
+ if (!activated || failed) return void 0;
390
+ const iframe = iframeRef.current;
391
+ if (!iframe) return void 0;
392
+ function subscribe() {
393
+ _optionalChain([iframe, 'optionalAccess', _5 => _5.contentWindow, 'optionalAccess', _6 => _6.postMessage, 'call', _7 => _7('{"event":"listening"}', YT_NOCOOKIE_ORIGIN)]);
394
+ }
395
+ iframe.addEventListener("load", subscribe);
396
+ subscribe();
397
+ let blurTimer = null;
398
+ function handleMessage(event) {
399
+ if (event.origin !== YT_NOCOOKIE_ORIGIN) return;
400
+ if (typeof event.data !== "string") return;
401
+ let payload = null;
402
+ try {
403
+ payload = toYouTubeMessage(JSON.parse(event.data));
404
+ } catch (e4) {
405
+ return;
406
+ }
407
+ if (!payload) return;
408
+ if (payload.event === "onError") {
409
+ setFailed(true);
410
+ _chunkHTSRCFXPcjs.reportPlaybackFailure.call(void 0, { kind: "youtube", src: videoId, reason: "error", errorCode: payload.errorCode });
411
+ return;
412
+ }
413
+ if (payload.event !== "infoDelivery") return;
414
+ const state = _optionalChain([payload, 'access', _8 => _8.info, 'optionalAccess', _9 => _9.playerState]);
415
+ if (typeof state !== "number") return;
416
+ if (state === YT_STATE_PLAYING) {
417
+ if (blurTimer !== null) return;
418
+ blurTimer = setTimeout(() => {
419
+ blurTimer = null;
420
+ _optionalChain([iframeRef, 'access', _10 => _10.current, 'optionalAccess', _11 => _11.blur, 'call', _12 => _12()]);
421
+ }, YT_PLAYING_BLUR_DELAY_MS);
422
+ return;
423
+ }
424
+ if (state === YT_STATE_ENDED) {
425
+ setActivated(false);
426
+ }
427
+ }
428
+ window.addEventListener("message", handleMessage);
429
+ return () => {
430
+ iframe.removeEventListener("load", subscribe);
431
+ window.removeEventListener("message", handleMessage);
432
+ if (blurTimer !== null) clearTimeout(blurTimer);
433
+ };
434
+ }, [activated, failed, reloadNonce, videoId]);
435
+ const prevSuspendedRef = _react.useRef.call(void 0, false);
436
+ _react.useEffect.call(void 0, () => {
437
+ const wasSuspended = prevSuspendedRef.current;
438
+ prevSuspendedRef.current = Boolean(suspended);
439
+ if (!activated || Boolean(suspended) === wasSuspended) return;
440
+ _optionalChain([iframeRef, 'access', _13 => _13.current, 'optionalAccess', _14 => _14.contentWindow, 'optionalAccess', _15 => _15.postMessage, 'call', _16 => _16(
441
+ `{"event":"command","func":"${suspended ? "pauseVideo" : "playVideo"}","args":[]}`,
442
+ YT_NOCOOKIE_ORIGIN
443
+ )]);
444
+ }, [suspended, activated]);
445
+ const wrapperClass = `relative w-full ${_nullishCoalesce(className, () => ( ""))}`;
446
+ const wrapperStyle = { paddingBottom: "56.25%" };
447
+ if (activated && failed) {
448
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTSRCFXPcjs.VideoErrorOverlay, { onRetry: retry, watchOnYouTubeId: videoId }) });
449
+ }
450
+ if (activated) {
451
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
452
+ "iframe",
453
+ {
454
+ ref: iframeRef,
455
+ src: embedUrl,
456
+ allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",
457
+ allowFullScreen: true,
458
+ referrerPolicy: "strict-origin-when-cross-origin",
459
+ title,
460
+ className: "absolute inset-0 h-full w-full rounded-lg border-0"
461
+ },
462
+ reloadNonce
463
+ ) });
464
+ }
465
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
466
+ _chunkCDBFQVPAcjs.Button,
467
+ {
468
+ variant: "card",
469
+ type: "button",
470
+ "aria-label": `Play: ${title}`,
471
+ onClick: () => setActivated(true),
472
+ className: "group absolute inset-0 h-full overflow-hidden",
473
+ children: [
474
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "picture", { children: [
475
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "source", { type: "image/webp", srcSet: posterWebp }),
476
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
477
+ "img",
478
+ {
479
+ src: posterJpg,
480
+ alt: title,
481
+ width: 1280,
482
+ height: 720,
483
+ loading: "lazy",
484
+ onError: handlePosterError,
485
+ ..._chunk3VINTJPEcjs.fetchPriorityProp.call(void 0, priority),
486
+ decoding: priority ? "sync" : "async",
487
+ className: "absolute inset-0 h-full w-full object-cover"
488
+ }
489
+ )
490
+ ] }),
491
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
492
+ _chunkHTSRCFXPcjs.VideoPlayBadge,
493
+ {
494
+ size: "lg",
495
+ className: "transition-transform duration-200 group-hover:scale-110 group-hover:text-ods-accent"
496
+ }
497
+ ) })
498
+ ]
499
+ }
500
+ ) });
501
+ }
502
+
503
+ // src/components/features/video-hover-preview.tsx
504
+
505
+ function VideoHoverPreviewSurface({
506
+ url,
507
+ posterUrl = null,
508
+ active,
509
+ playerMounted,
510
+ isClone = false,
511
+ badge = "play",
512
+ fit,
513
+ posterSizes = "234px",
514
+ posterInView = false,
515
+ preload,
516
+ hideMutedBadge,
517
+ onMutedFallbackChange,
518
+ previewHandleRef,
519
+ mutedIntent = false,
520
+ continuation = false,
521
+ startTime,
522
+ autoPlay = false,
523
+ startMuted = false,
524
+ onEnded,
525
+ className
526
+ }) {
527
+ const previewUrl = _chunkHTSRCFXPcjs.toMuxPreviewUrl.call(void 0, url);
528
+ const gateControlled = playerMounted !== void 0;
529
+ const rootElRef = _react.useRef.call(void 0, null);
530
+ const [isNear, setIsNear] = _react.useState.call(void 0, false);
531
+ _react.useEffect.call(void 0, () => {
532
+ if (gateControlled) return void 0;
533
+ const el = rootElRef.current;
534
+ if (!el || typeof IntersectionObserver === "undefined") return void 0;
535
+ const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _17 => _17[0], 'optionalAccess', _18 => _18.isIntersecting]), () => ( false))), {
536
+ rootMargin: _chunkNTPX5GXIcjs.NEAR_VIEWPORT_ROOT_MARGIN
537
+ });
538
+ io.observe(el);
539
+ return () => io.disconnect();
540
+ }, [gateControlled]);
541
+ const showMedia = continuation || (gateControlled ? playerMounted : isNear);
542
+ const { src: posterSrc, onError: onPosterError } = useCoverImageFallback(posterUrl);
543
+ const facadeSkipped = preload === "none" && !posterSrc;
544
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunkN6YCOBLKcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
545
+ posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
546
+ _chunk3VINTJPEcjs.next_image_default,
547
+ {
548
+ src: posterSrc,
549
+ alt: "",
550
+ fill: true,
551
+ sizes: posterSizes,
552
+ loading: posterInView ? "eager" : "lazy",
553
+ unoptimized: true,
554
+ onError: onPosterError,
555
+ className: "object-cover"
556
+ }
557
+ ) : facadeSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-ods-card" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Video, { kind: "file", url: previewUrl, firstFrameOnly: true, layout: "fill", fit }),
558
+ badge === "play" && !active && !continuation && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTSRCFXPcjs.VideoPlayBadge, { className: "absolute inset-0 z-10 m-auto" }),
559
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
560
+ "div",
561
+ {
562
+ className: "absolute inset-0",
563
+ style: { "--media-background-color": "transparent" },
564
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
565
+ Video,
566
+ {
567
+ kind: "file",
568
+ url: previewUrl,
569
+ poster: posterUrl,
570
+ ...continuation ? {
571
+ startTime,
572
+ autoPlay: autoPlay && startMuted,
573
+ startMuted,
574
+ autoPlayUnmuted: autoPlay && !startMuted
575
+ } : { playWhenHovered: active },
576
+ chromeless: true,
577
+ layout: "fill",
578
+ fit,
579
+ preload,
580
+ mutedIntent,
581
+ hideMutedBadge,
582
+ onMutedFallbackChange,
583
+ onEnded,
584
+ playerHandleRef: previewHandleRef
585
+ },
586
+ continuation ? "continuation" : "preview"
587
+ )
588
+ }
589
+ )
590
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute inset-0 bg-ods-card" }) });
591
+ }
592
+
593
+ // src/components/icon-display.tsx
594
+
595
+ function EntityIcon({
596
+ icon,
597
+ size = 20,
598
+ className
599
+ }) {
600
+ const identity = _chunkQ7HXTF2Ccjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
601
+ const held = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, );
602
+ if (held) {
603
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
604
+ _chunkYNDH72VUcjs.UnifiedSkeleton,
605
+ {
606
+ as: "span",
607
+ width: size,
608
+ height: size,
609
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, "inline-block shrink-0 rounded-md", className)
610
+ }
611
+ );
612
+ }
613
+ if (!_optionalChain([icon, 'optionalAccess', _21 => _21.url]) && _optionalChain([identity, 'optionalAccess', _22 => _22.url])) {
614
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
615
+ _chunk3VINTJPEcjs.next_image_default,
616
+ {
617
+ src: identity.url,
618
+ alt: "",
619
+ width: size,
620
+ height: size,
621
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, _chunkQ7HXTF2Ccjs.AGENT_PICTURE_CLASS, className),
622
+ unoptimized: true
623
+ }
624
+ );
625
+ }
626
+ if (_optionalChain([icon, 'optionalAccess', _23 => _23.url])) {
627
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
628
+ _chunk3VINTJPEcjs.next_image_default,
629
+ {
630
+ src: icon.url,
631
+ alt: "",
632
+ width: size,
633
+ height: size,
634
+ className,
635
+ style: { objectFit: "contain" },
636
+ unoptimized: true
637
+ }
638
+ );
639
+ }
640
+ const Glyph = _chunkIYU2ZH2Jcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
641
+ const agentColor = identity ? { color: _chunkQ7HXTF2Ccjs.AGENT_GLYPH_COLOR } : {};
642
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _26 => _26.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _27 => _27.props]), () => ( {})) });
643
+ }
644
+
645
+ // src/components/ui/card.tsx
646
+
647
+
648
+ var CARD_VARIANT_CLASS = {
649
+ default: "rounded-lg bg-card text-card-foreground shadow-sm",
650
+ panel: "rounded-md bg-ods-card text-ods-text-primary"
651
+ };
652
+ var Card = _react.forwardRef.call(void 0,
653
+ ({ className, variant = "default", ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
654
+ "div",
655
+ {
656
+ ref,
657
+ className: _chunkN6YCOBLKcjs.cn.call(void 0,
658
+ // `border` with NO color token resolves to `currentColor` — on a dark card
659
+ // with light text that paints a WHITE outline. Every ODS surface borders
660
+ // on `--color-border`; say so.
661
+ "border border-ods-border",
662
+ CARD_VARIANT_CLASS[variant],
663
+ className
664
+ ),
665
+ ...props
666
+ }
667
+ )
668
+ );
669
+ Card.displayName = "Card";
670
+ var CardHeader = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex flex-col space-y-1.5 p-6", className), ...props }));
671
+ CardHeader.displayName = "CardHeader";
672
+ var CardTitle = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "text-h2", className), ...props }));
673
+ CardTitle.displayName = "CardTitle";
674
+ var CardDescription = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "text-muted-foreground text-h6", className), ...props }));
675
+ CardDescription.displayName = "CardDescription";
676
+ var CardContent = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "p-6 pt-0", className), ...props }));
677
+ CardContent.displayName = "CardContent";
678
+ var CardFooter = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex items-center p-6 pt-0", className), ...props }));
679
+ CardFooter.displayName = "CardFooter";
680
+ function CardHorizontal({ icon, title, description, className = "", borderLeft = true }) {
681
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
682
+ "div",
683
+ {
684
+ className: _chunkN6YCOBLKcjs.cn.call(void 0,
685
+ "flex min-h-[80px] w-full flex-row items-center gap-3 bg-ods-card p-4 content-md:gap-4 content-md:p-6",
686
+ borderLeft ? "border-l border-ods-border" : "",
687
+ className
688
+ ),
689
+ children: [
690
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 w-5 flex-shrink-0", children: icon }),
691
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col", children: [
692
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mb-0.5 text-left text-ods-text-primary text-h6", children: title }),
693
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-left text-ods-text-secondary text-h6", children: description })
694
+ ] })
695
+ ]
696
+ }
697
+ );
698
+ }
699
+
700
+ // src/utils/url-safety.ts
701
+ var UNSAFE_URL_CHARS = /[\u0000-\u001f\u007f\u200b-\u200d\u2028\u2029\ufeff]/;
702
+ var SAME_ORIGIN_PROBE = "https://_sameorigin_.invalid";
703
+ function isSameOriginPath(candidate) {
704
+ try {
705
+ return new URL(candidate, SAME_ORIGIN_PROBE).origin === SAME_ORIGIN_PROBE;
706
+ } catch (e5) {
707
+ return false;
708
+ }
709
+ }
710
+
711
+ // src/components/chat/utils/compact-card-classes.ts
712
+ var COMPACT_CARD_OUTER = "my-1.5 flex items-start gap-3 w-full p-2 rounded-lg border border-ods-border bg-ods-card no-underline transition-colors hover:border-ods-text-secondary/40";
713
+ var COMPACT_CARD_OUTER_STATIC = "my-1.5 flex items-start gap-3 w-full p-2 rounded-lg border border-ods-border bg-ods-card no-underline cursor-default";
714
+ var COMPACT_CARD_SKELETON_OUTER = "my-1.5 flex w-full items-start gap-3 rounded-lg border border-ods-border bg-ods-card p-2";
715
+ var COMPACT_CARD_IMAGE_SLOT = "relative block shrink-0 self-start w-14 h-14 aspect-square overflow-hidden rounded-md bg-ods-bg";
716
+ var COMPACT_CARD_SKELETON_IMAGE_SLOT = `block ${_chunkYNDH72VUcjs.TILE_SIZE.thumb} ${_chunkYNDH72VUcjs.MEDIA_ASPECT.square} shrink-0 self-start rounded-md`;
717
+ var COMPACT_CARD_ICON_SLOT = "flex h-14 w-14 aspect-square shrink-0 self-start items-center justify-center rounded-md bg-ods-bg text-ods-accent";
718
+ var COMPACT_CARD_TEXT_COL = "flex min-w-0 flex-1 flex-col gap-0.5 min-h-14";
719
+ var COMPACT_CARD_TITLE_ROW = "flex items-center min-w-0 h-5";
720
+ var COMPACT_CARD_META_ROW_BOX = "flex items-center min-w-0 h-4";
721
+ var COMPACT_CARD_TITLE_TYPE = "text-sm font-semibold leading-5";
722
+ var COMPACT_CARD_TITLE = `truncate ${COMPACT_CARD_TITLE_TYPE} text-ods-text-primary`;
723
+ var COMPACT_CARD_TITLE_WRAP_ROW = "flex min-w-0 flex-wrap items-center gap-1.5";
724
+ var COMPACT_CARD_TRAILING_ICON = "flex h-5 shrink-0 items-center self-start text-ods-text-secondary";
725
+ var COMPACT_CARD_SUBTITLE = "truncate text-h6 text-ods-text-secondary";
726
+ var COMPACT_CARD_SUMMARY = "truncate text-h6 text-ods-text-secondary/80";
727
+ var COMPACT_CARD_META_ROW = "flex items-center gap-1.5 min-w-0 text-h6 text-ods-text-secondary";
728
+ var COMPACT_CARD_ROW_FILLER = "\xA0";
729
+ var SAFE_URL_SCHEMES = ["http:", "https:", "mailto:"];
730
+ function safeHref(url) {
731
+ if (!url) return null;
732
+ if (UNSAFE_URL_CHARS.test(url)) return null;
733
+ const trimmed = url.trim();
734
+ if (!trimmed) return null;
735
+ if (trimmed.startsWith("/")) return isSameOriginPath(trimmed) ? trimmed : null;
736
+ if (trimmed.startsWith("#")) return trimmed;
737
+ if (/^[a-z][a-z0-9+.-]*:$/i.test(trimmed)) return null;
738
+ try {
739
+ const parsed = new URL(trimmed, "https://_safehref_base.invalid");
740
+ if (!SAFE_URL_SCHEMES.includes(parsed.protocol)) return null;
741
+ if ((parsed.protocol === "https:" || parsed.protocol === "http:") && !parsed.hostname) return null;
742
+ return trimmed;
743
+ } catch (e6) {
744
+ return null;
745
+ }
746
+ }
747
+
748
+ // src/components/chat/utils/compact-card-skeleton.tsx
749
+ var _lucidereact = require('lucide-react');
750
+
751
+ // src/components/ui/status-badge.tsx
752
+ var _classvarianceauthority = require('class-variance-authority');
753
+
754
+ var statusBadgeVariants = _classvarianceauthority.cva.call(void 0, "inline-flex items-center justify-center rounded", {
755
+ variants: {
756
+ // Two densities, not one style at two paddings. Both are the ODS h5
757
+ // label treatment (Azeret Mono 500, uppercase, -0.02em); they differ in
758
+ // scale. Putting BOTH on `text-h5` is what regressed the stamp: at
759
+ // 14/20 on desktop every inline badge grew ~40% and its box doubled,
760
+ // because the caption line-height replaced `leading-none`.
761
+ variant: {
762
+ // Standalone badge — the ODS caption composite, unmodified.
763
+ card: "px-3 py-1.5 text-h5",
764
+ // Dense inline stamp. Family, weight and casing come from the SAME h5
765
+ // tokens as `card`; only the scale is set here, because ODS has no
766
+ // step below the 12/14px caption and this stamp is 10px by design.
767
+ button: "px-2 py-0.5 font-[family-name:var(--font-h5-family)] font-[number:var(--font-h5-weight)] uppercase tracking-[-0.02em] text-badge"
768
+ },
769
+ colorScheme: {
770
+ cyan: "bg-ods-flamingo-cyan text-ods-text-on-accent",
771
+ pink: "bg-ods-flamingo-pink text-ods-text-on-accent",
772
+ yellow: "border border-ods-border bg-ods-accent text-ods-text-on-accent",
773
+ green: "bg-ods-success text-ods-text-on-accent",
774
+ purple: "bg-ods-flamingo-pink text-ods-text-on-accent",
775
+ // Solid and soft ODS palette fills (`BADGE_PALETTE`): tokens only, no hex.
776
+ cyanSoft: "bg-ods-flamingo-cyan-secondary text-ods-flamingo-cyan",
777
+ pinkSoft: "bg-ods-flamingo-pink-secondary text-ods-flamingo-pink",
778
+ openYellow: "bg-ods-open-yellow text-ods-text-on-accent",
779
+ red: "bg-ods-error text-ods-text-on-accent",
780
+ success: "bg-ods-success-secondary text-ods-success",
781
+ error: "bg-ods-error-secondary text-ods-error",
782
+ warning: "bg-ods-warning-secondary text-ods-warning",
783
+ default: "bg-ods-bg-surface text-ods-text-primary",
784
+ // Border-only variants (no background) - for task type badges
785
+ accentBorder: "border-2 border-ods-accent bg-transparent text-ods-accent",
786
+ errorBorder: "border-2 border-ods-error bg-transparent text-ods-error",
787
+ whiteBorder: "border-2 border-ods-text-primary bg-transparent text-ods-text-primary"
788
+ }
789
+ },
790
+ defaultVariants: {
791
+ variant: "card",
792
+ colorScheme: "default"
793
+ }
794
+ });
795
+ function genBadgeBgOpacity(gen) {
796
+ if (gen <= 1) return 10;
797
+ if (gen === 2) return 7;
798
+ return Math.max(4 - (gen - 3), 2);
799
+ }
800
+ function generationTierFromLabel(label) {
801
+ const m = /(\d+)/.exec(_nullishCoalesce(label, () => ( "")));
802
+ const n = m ? parseInt(m[1], 10) : 1;
803
+ return Number.isFinite(n) && n > 0 ? n : 1;
804
+ }
805
+ function StatusBadgeSkeleton({ variant, className }) {
806
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
807
+ _chunkYNDH72VUcjs.UnifiedSkeleton,
808
+ {
809
+ as: "span",
810
+ className: _chunkN6YCOBLKcjs.cn.call(void 0,
811
+ statusBadgeVariants({ variant, colorScheme: null }),
812
+ "box-content h-[1lh] w-12 border-transparent",
813
+ className
814
+ )
815
+ }
816
+ );
817
+ }
818
+ function StatusBadge({
819
+ text,
820
+ variant,
821
+ colorScheme,
822
+ className,
823
+ singleLine,
824
+ gen,
825
+ style,
826
+ loading: loadingProp,
827
+ staticText = false,
828
+ ...props
829
+ }) {
830
+ const inScope = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, );
831
+ const loading = inScope && !staticText || !!loadingProp;
832
+ if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StatusBadgeSkeleton, { variant, className });
833
+ const genStyle = gen != null ? {
834
+ textTransform: "none",
835
+ color: "var(--ods-accent)",
836
+ backgroundColor: `color-mix(in srgb, var(--ods-accent) ${genBadgeBgOpacity(gen)}%, transparent)`
837
+ } : void 0;
838
+ const renderText = () => {
839
+ if (singleLine) return text;
840
+ if (variant === "button" && text.includes(" ")) {
841
+ const words = text.split(" ");
842
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex flex-col items-center justify-center gap-0 text-center", children: words.map((word, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block", children: word }, index)) });
843
+ }
844
+ return text;
845
+ };
846
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
847
+ "span",
848
+ {
849
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, statusBadgeVariants({ variant, colorScheme: gen != null ? void 0 : colorScheme }), className),
850
+ style: genStyle ? { ...genStyle, ...style } : style,
851
+ ...props,
852
+ children: renderText()
853
+ }
854
+ );
855
+ }
856
+
857
+ // src/components/chat/utils/compact-card-skeleton.tsx
858
+
859
+ var DEFAULT_ROWS = [{ width: "w-2/5" }, { width: "w-11/12" }];
860
+ function CompactCardSkeleton({
861
+ slot = true,
862
+ slotClassName,
863
+ titleWidth = "w-3/5",
864
+ titleBadges = [],
865
+ rows = DEFAULT_ROWS,
866
+ trailingIcon = false,
867
+ className
868
+ }) {
869
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, COMPACT_CARD_SKELETON_OUTER, className), "aria-hidden": true, children: [
870
+ slot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { as: "span", className: _nullishCoalesce(slotClassName, () => ( COMPACT_CARD_SKELETON_IMAGE_SLOT)) }),
871
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
872
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: titleBadges.length > 0 ? COMPACT_CARD_TITLE_WRAP_ROW : COMPACT_CARD_TITLE_ROW, children: [
873
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { as: "span", type: "inherit", className: _chunkN6YCOBLKcjs.cn.call(void 0, COMPACT_CARD_TITLE_TYPE, titleWidth) }),
874
+ titleBadges.map((width, i) => (
875
+ // The compact cards' title badges are `StatusBadge variant="button"` stamps: their own skeleton.
876
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, StatusBadge, { loading: true, text: "", variant: "button", className: _chunkN6YCOBLKcjs.cn.call(void 0, "shrink-0", width) }, i)
877
+ ))
878
+ ] }),
879
+ rows.map(
880
+ (row, i) => (_nullishCoalesce(row.lines, () => ( 1))) > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { as: "span", type: "h6", lines: row.lines, className: row.width }, i) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, COMPACT_CARD_META_ROW_BOX, row.after ? "gap-2" : void 0), children: [
881
+ row.width && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { as: "span", type: "h6", className: row.width }),
882
+ row.after
883
+ ] }, i)
884
+ )
885
+ ] }),
886
+ trailingIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TRAILING_ICON, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) })
887
+ ] });
888
+ }
889
+ function ActivityRowSkeleton({
890
+ lead,
891
+ trailingWidths,
892
+ className
893
+ }) {
894
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex min-w-0 items-center gap-3", className), children: [
895
+ lead,
896
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-2/3 flex-1 rounded" }),
897
+ trailingWidths.map((width, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: _chunkN6YCOBLKcjs.cn.call(void 0, "h-3 shrink-0 rounded", width) }, i))
898
+ ] });
899
+ }
900
+
901
+ // src/components/chat/entity-cards/content-card-frame.tsx
902
+
903
+ var CONTENT_CARD_FRAME_CLASS = _chunkN6YCOBLKcjs.cn.call(void 0,
904
+ "group isolate overflow-hidden rounded-2xl",
905
+ "border border-ods-border bg-transparent",
906
+ "transition-[border-color,box-shadow] duration-300 ease-out",
907
+ "hover:border-ods-accent hover:shadow-lg hover:shadow-ods-accent/[0.08]"
908
+ );
909
+ var CONTENT_CARD_SKELETON_FRAME_CLASS = "overflow-hidden rounded-2xl border border-ods-border bg-transparent";
910
+ function ContentCardFrame({ as: Tag = "article", className, children, ...rest }) {
911
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, Tag === "a" && "no-underline", className), ...rest, children });
912
+ }
913
+
914
+ // src/components/chat/entity-cards/entity-portrait-card.tsx
915
+
916
+
917
+ var MIN_WIDE_RATIO = 1.3;
918
+ var PORTRAIT_BODY = "flex h-full flex-col gap-6 p-6";
919
+ var PORTRAIT_MEDIA = "relative flex aspect-[1200/630] w-full shrink-0 items-center justify-center overflow-hidden rounded-sm";
920
+ var PORTRAIT_TITLE_ZONE = "flex h-[72px] shrink-0 flex-col justify-center gap-1.5";
921
+ var PORTRAIT_TITLE_LEADING = "leading-6";
922
+ var PORTRAIT_TITLE = _chunkN6YCOBLKcjs.cn.call(void 0, "break-words text-ods-text-primary text-h4", PORTRAIT_TITLE_LEADING);
923
+ var PORTRAIT_FOOTER = "flex h-[60px] shrink-0 items-center";
924
+ var PORTRAIT_PERSON_ROW = "flex w-full min-w-0 items-center gap-3";
925
+ var PORTRAIT_PERSON_TEXT = "flex min-w-0 flex-col";
926
+ function EntityPortraitCard({
927
+ href,
928
+ target,
929
+ rel,
930
+ typeLabel,
931
+ imageUrl,
932
+ placeholderUrl,
933
+ imageAlt,
934
+ title,
935
+ titleClassName,
936
+ person,
937
+ priority,
938
+ className,
939
+ loading: loadingProp
940
+ }) {
941
+ const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
942
+ const { src, onError: onMediaError } = useCoverImageFallback(imageUrl, placeholderUrl);
943
+ const [measured, setMeasured] = _react.useState.call(void 0, null);
944
+ const isWide = _optionalChain([measured, 'optionalAccess', _28 => _28.src]) === src ? measured.isWide : null;
945
+ const onMediaLoad = (e) => {
946
+ const img = e.currentTarget;
947
+ if (img.naturalWidth > 0 && img.naturalHeight > 0) {
948
+ setMeasured({ src, isWide: img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO });
949
+ }
950
+ };
951
+ const edgeColor = _chunkDJTPDK3Wcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--color-bg-surface)");
952
+ if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityPortraitCardSkeleton, { typeLabel, className });
953
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunkN6YCOBLKcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, PORTRAIT_BODY), children: [
954
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
955
+ "div",
956
+ {
957
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, PORTRAIT_MEDIA, "bg-ods-bg transition-colors duration-300"),
958
+ style: isWide === false ? { backgroundColor: edgeColor } : void 0,
959
+ children: src && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
+ _chunk3VINTJPEcjs.next_image_default,
961
+ {
962
+ src,
963
+ alt: imageAlt,
964
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, "h-full w-full", isWide === false ? "object-contain" : "object-cover"),
965
+ sizes: "(min-width: 800px) 400px, 100vw",
966
+ fill: true,
967
+ priority,
968
+ unoptimized: true,
969
+ onLoad: onMediaLoad,
970
+ onError: onMediaError
971
+ }
972
+ )
973
+ }
974
+ ),
975
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PORTRAIT_TITLE_ZONE, children: [
976
+ typeLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
977
+ StatusBadge,
978
+ {
979
+ variant: "button",
980
+ colorScheme: "accentBorder",
981
+ singleLine: true,
982
+ staticText: true,
983
+ text: typeLabel,
984
+ className: "self-start"
985
+ }
986
+ ),
987
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _chunkN6YCOBLKcjs.cn.call(void 0, PORTRAIT_TITLE, typeLabel ? "line-clamp-2" : "line-clamp-3", titleClassName), children: title })
988
+ ] }),
989
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PORTRAIT_FOOTER, children: person && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PORTRAIT_PERSON_ROW, children: [
990
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative h-12 w-12 shrink-0", children: [
991
+ person.avatarUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
992
+ _chunk3VINTJPEcjs.next_image_default,
993
+ {
994
+ src: person.avatarUrl,
995
+ alt: person.name,
996
+ className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
997
+ width: 48,
998
+ height: 48,
999
+ unoptimized: true
1000
+ }
1001
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: person.name.charAt(0).toUpperCase() }) }),
1002
+ person.iconOverlayUrl && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1003
+ "div",
1004
+ {
1005
+ "data-loading-optional": true,
1006
+ className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg",
1007
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1008
+ _chunk3VINTJPEcjs.next_image_default,
1009
+ {
1010
+ src: person.iconOverlayUrl,
1011
+ alt: "",
1012
+ className: "h-full w-full object-cover",
1013
+ width: 24,
1014
+ height: 24,
1015
+ unoptimized: true
1016
+ }
1017
+ )
1018
+ }
1019
+ )
1020
+ ] }),
1021
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PORTRAIT_PERSON_TEXT, children: [
1022
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-bold text-ods-text-primary text-h6", children: person.name }),
1023
+ person.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: person.subtitle })
1024
+ ] })
1025
+ ] }) })
1026
+ ] }) });
1027
+ }
1028
+ function EntityPortraitCardSkeleton({ typeLabel, className }) {
1029
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "block h-full", className), "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_SKELETON_FRAME_CLASS, PORTRAIT_BODY), children: [
1030
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: _chunkN6YCOBLKcjs.cn.call(void 0, PORTRAIT_MEDIA, "rounded-sm") }),
1031
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PORTRAIT_TITLE_ZONE, children: [
1032
+ typeLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1033
+ StatusBadge,
1034
+ {
1035
+ variant: "button",
1036
+ colorScheme: "accentBorder",
1037
+ singleLine: true,
1038
+ staticText: true,
1039
+ text: typeLabel,
1040
+ className: "self-start"
1041
+ }
1042
+ ),
1043
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h4", lines: typeLabel ? 2 : 3, className: _chunkN6YCOBLKcjs.cn.call(void 0, "w-full", PORTRAIT_TITLE_LEADING) })
1044
+ ] }),
1045
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: PORTRAIT_FOOTER, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: PORTRAIT_PERSON_ROW, children: [
1046
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.MediaSkeleton.Avatar, { size: "md", className: "shrink-0" }),
1047
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, PORTRAIT_PERSON_TEXT, "gap-0"), children: [
1048
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-32" }),
1049
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-24" })
1050
+ ] })
1051
+ ] }) })
1052
+ ] }) });
1053
+ }
1054
+
1055
+ // src/components/chat/entity-cards/use-entity-card-link.ts
1056
+
1057
+
1058
+ // src/components/chat/utils/is-cross-origin-url.ts
1059
+ function isCrossOriginUrl(url) {
1060
+ if (!url) return false;
1061
+ if (url.startsWith("#") || url.startsWith("?")) return false;
1062
+ if (url.startsWith("/") && !url.startsWith("//")) return false;
1063
+ return true;
1064
+ }
1065
+
1066
+ // src/components/chat/utils/decide-new-tab.ts
1067
+ function decideNewTab(input) {
1068
+ const { href, targetPlatform, openIn, alwaysNewTab, runtimeMode, currentSource } = input;
1069
+ if (runtimeMode === "embed") return true;
1070
+ if (openIn === "new-tab") return true;
1071
+ if (alwaysNewTab === true) return true;
1072
+ if (openIn === "same-tab") return false;
1073
+ if (targetPlatform !== void 0 && targetPlatform !== null && currentSource) {
1074
+ return targetPlatform !== currentSource;
1075
+ }
1076
+ if (!href) return false;
1077
+ return isCrossOriginUrl(href);
1078
+ }
1079
+
1080
+ // src/components/chat/utils/nav-anchor-props.ts
1081
+ function isSameOriginAbsoluteHref(href) {
1082
+ if (typeof window === "undefined") return false;
1083
+ if (!/^https?:\/\//i.test(href)) return false;
1084
+ try {
1085
+ return new URL(href).origin === new URL(window.location.href).origin;
1086
+ } catch (e7) {
1087
+ return false;
1088
+ }
1089
+ }
1090
+ function computeIsNewTab(runtime, href, targetPlatform) {
1091
+ if (!href) return false;
1092
+ if (runtime.navigation.mode === "embed") return !isSameOriginAbsoluteHref(href);
1093
+ return _nullishCoalesce(_optionalChain([runtime, 'access', _29 => _29.navigation, 'access', _30 => _30.decideNewTab, 'optionalCall', _31 => _31({ href, targetPlatform })]), () => ( decideNewTab({
1094
+ href,
1095
+ targetPlatform,
1096
+ currentSource: _nullishCoalesce(runtime.source, () => ( ""))
1097
+ })));
1098
+ }
1099
+ function newTabAnchorAttrs(isNewTab) {
1100
+ return isNewTab ? { target: "_blank", rel: "noopener noreferrer" } : {};
1101
+ }
1102
+ function buildAnchorProps(href, isNewTab) {
1103
+ return href ? { href, ...newTabAnchorAttrs(isNewTab) } : void 0;
1104
+ }
1105
+
1106
+ // src/components/chat/entity-cards/use-entity-card-link.ts
1107
+ function useEntityCardLink({ href, targetPlatform, target, rel }) {
1108
+ const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
1109
+ return _react.useMemo.call(void 0, () => {
1110
+ if (target !== void 0 || rel !== void 0) {
1111
+ const safeRel = _nullishCoalesce(rel, () => ( (target === "_blank" ? "noopener noreferrer" : void 0)));
1112
+ return { target, rel: safeRel };
1113
+ }
1114
+ const newTab = runtime ? computeIsNewTab(runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
1115
+ return newTab ? { target: "_blank", rel: "noopener noreferrer" } : { target: void 0, rel: void 0 };
1116
+ }, [target, rel, href, targetPlatform, runtime]);
1117
+ }
1118
+
1119
+ // src/components/chat/entity-cards/use-entity-card-placeholder.ts
1120
+ function useEntityCardPlaceholder({
1121
+ title,
1122
+ placeholderUrl,
1123
+ siteName = "",
1124
+ aspect = "wide"
1125
+ }) {
1126
+ const derived = _chunkDJTPDK3Wcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
1127
+ return placeholderUrl !== void 0 ? placeholderUrl : derived;
1128
+ }
1129
+
1130
+ // src/components/chat/entity-cards/case-study-card.tsx
1131
+
1132
+ var CASE_STUDY_RESULT_STACK = "flex h-full flex-col gap-5 p-6";
1133
+ var CASE_STUDY_RESULT_METRIC_BOX = "flex h-[112px] shrink-0 flex-col justify-start gap-1 overflow-hidden";
1134
+ var CASE_STUDY_RESULT_FOOTER_BOX = "mt-auto flex h-[60px] shrink-0 items-center justify-between gap-3 border-t border-ods-border pt-4";
1135
+ var CASE_STUDY_DEFAULT_BODY = "flex flex-col gap-6 p-6";
1136
+ var CASE_STUDY_COVER = `relative ${_chunkYNDH72VUcjs.MEDIA_ASPECT.og} w-full shrink-0 overflow-hidden rounded-sm`;
1137
+ var CASE_STUDY_TITLE_ZONE = "flex h-[72px] shrink-0 items-center";
1138
+ var CASE_STUDY_PERSON_ZONE = "flex h-[60px] shrink-0 items-center";
1139
+ var CASE_STUDY_PERSON_ROW = "flex w-full min-w-0 items-center gap-3";
1140
+ var CASE_STUDY_PERSON_TEXT = "min-w-0 flex-1";
1141
+ var CASE_STUDY_MENU_FRAME = "group/card group flex min-w-0 flex-col gap-[var(--spacing-system-sf)] rounded-xl border border-ods-border bg-ods-bg p-[var(--spacing-system-mf)] text-ods-text-primary transition-colors hover:bg-ods-bg-hover focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent";
1142
+ var CASE_STUDY_MENU_SKELETON_FRAME = "flex min-w-0 flex-col gap-[var(--spacing-system-sf)] rounded-xl border border-ods-border bg-ods-bg p-[var(--spacing-system-mf)]";
1143
+ var CASE_STUDY_MENU_MEDIA = `relative block ${_chunkYNDH72VUcjs.MEDIA_ASPECT.video} w-full shrink-0 overflow-hidden rounded-md`;
1144
+ var CASE_STUDY_MENU_MSP_ROW = "flex items-center gap-[var(--spacing-system-xsf)] text-ods-text-secondary text-h6";
1145
+ var MSP_ICON_PX = 20;
1146
+ var MSP_ICON_CLASS = `${_chunkYNDH72VUcjs.ICON_SIZE.md} shrink-0 rounded`;
1147
+ var CASE_STUDY_TYPE_LABEL = "Case Study";
1148
+ function headlineMetric(study) {
1149
+ const metric = _optionalChain([study, 'access', _32 => _32.metrics, 'optionalAccess', _33 => _33[0]]);
1150
+ return _optionalChain([metric, 'optionalAccess', _34 => _34.value]) && metric.label ? metric : null;
1151
+ }
1152
+ function CaseStudyPersonRow({ study }) {
1153
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CASE_STUDY_PERSON_ZONE, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_PERSON_ROW, children: [
1154
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative h-12 w-12 shrink-0", children: [
1155
+ _optionalChain([study, 'access', _35 => _35.user, 'optionalAccess', _36 => _36.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1156
+ _chunk3VINTJPEcjs.next_image_default,
1157
+ {
1158
+ src: study.user.avatar_url,
1159
+ alt: _optionalChain([study, 'access', _37 => _37.user, 'optionalAccess', _38 => _38.full_name]) || "User",
1160
+ className: "h-12 w-12 rounded-full border border-ods-border bg-ods-bg object-cover",
1161
+ width: 48,
1162
+ height: 48,
1163
+ unoptimized: true
1164
+ }
1165
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h4", children: (_optionalChain([study, 'access', _39 => _39.user, 'optionalAccess', _40 => _40.full_name]) || "A").charAt(0).toUpperCase() }) }),
1166
+ _optionalChain([study, 'access', _41 => _41.msp, 'optionalAccess', _42 => _42.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1167
+ _chunk3VINTJPEcjs.next_image_default,
1168
+ {
1169
+ src: study.msp.icon_url,
1170
+ alt: study.msp.name || "MSP",
1171
+ className: "h-full w-full object-cover",
1172
+ width: 24,
1173
+ height: 24,
1174
+ unoptimized: true
1175
+ }
1176
+ ) })
1177
+ ] }),
1178
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_PERSON_TEXT, children: [
1179
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "truncate text-ods-text-primary text-h6", children: [
1180
+ _optionalChain([study, 'access', _43 => _43.user, 'optionalAccess', _44 => _44.full_name]) || "Anonymous",
1181
+ _optionalChain([study, 'access', _45 => _45.msp, 'optionalAccess', _46 => _46.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
1182
+ " \u2022 ",
1183
+ study.msp.name
1184
+ ] })
1185
+ ] }),
1186
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: _optionalChain([study, 'access', _47 => _47.user, 'optionalAccess', _48 => _48.job_title]) || "\xA0" })
1187
+ ] })
1188
+ ] }) });
1189
+ }
1190
+ function CaseStudyPersonRowSkeleton() {
1191
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CASE_STUDY_PERSON_ZONE, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_PERSON_ROW, children: [
1192
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.MediaSkeleton.Avatar, { size: "md", className: "shrink-0" }),
1193
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_PERSON_TEXT, children: [
1194
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-2/3" }),
1195
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-1/2" })
1196
+ ] })
1197
+ ] }) });
1198
+ }
1199
+ function CaseStudyCardSkeleton({
1200
+ size = "default",
1201
+ showTypeBadge = true,
1202
+ className
1203
+ }) {
1204
+ if (size === "portrait") {
1205
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1206
+ EntityPortraitCard,
1207
+ {
1208
+ loading: true,
1209
+ href: "",
1210
+ imageAlt: "",
1211
+ title: "",
1212
+ typeLabel: showTypeBadge ? CASE_STUDY_TYPE_LABEL : void 0,
1213
+ className
1214
+ }
1215
+ );
1216
+ }
1217
+ if (size === "result") {
1218
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_SKELETON_FRAME_CLASS, CASE_STUDY_RESULT_STACK, className), "aria-hidden": true, children: [
1219
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CaseStudyPersonRowSkeleton, {}),
1220
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_RESULT_METRIC_BOX, "data-testid": "case-study-result-skeleton-metric", children: [
1221
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h1", className: "w-1/3" }),
1222
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h4", lines: 2, className: "w-3/4" })
1223
+ ] }),
1224
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_RESULT_FOOTER_BOX, children: [
1225
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", lines: 2, className: "w-2/3" }),
1226
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-accent text-h6", children: "Read" })
1227
+ ] })
1228
+ ] });
1229
+ }
1230
+ if (size === "menu") {
1231
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, CASE_STUDY_MENU_SKELETON_FRAME, className), "aria-hidden": true, children: [
1232
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: CASE_STUDY_MENU_MEDIA }),
1233
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_MENU_MSP_ROW, children: [
1234
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: MSP_ICON_CLASS }),
1235
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-28" })
1236
+ ] }),
1237
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", lines: 2, className: "w-full" }),
1238
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-3/4" }),
1239
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "mt-auto w-28" })
1240
+ ] });
1241
+ }
1242
+ if (size === "sm") {
1243
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompactCardSkeleton, { rows: [{ width: "w-1/2" }, { width: "w-11/12" }], className });
1244
+ }
1245
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "block h-full", className), "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_SKELETON_FRAME_CLASS, CASE_STUDY_DEFAULT_BODY), children: [
1246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CASE_STUDY_COVER, "rounded-sm") }),
1247
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CASE_STUDY_TITLE_ZONE, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
1248
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CaseStudyPersonRowSkeleton, {})
1249
+ ] }) });
1250
+ }
1251
+ function caseStudyHighlight(study) {
1252
+ if (study.highlight_video_url) {
1253
+ return { url: study.highlight_video_url, posterUrl: _nullishCoalesce(study.highlight_video_thumbnail, () => ( null)) };
1254
+ }
1255
+ const bite = (_nullishCoalesce(study.video_bites, () => ( []))).filter((candidate) => candidate.featured === true && candidate.url).sort(sortBitesByFeaturedAtDesc)[0];
1256
+ return bite ? { url: bite.url, posterUrl: _nullishCoalesce(bite.thumbnail_url, () => ( null)) } : null;
1257
+ }
1258
+ function CaseStudyCard(props) {
1259
+ const inScope = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, );
1260
+ if (inScope || props.loading) {
1261
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CaseStudyCardSkeleton, { size: props.size, showTypeBadge: props.showTypeBadge, className: props.className });
1262
+ }
1263
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LoadedCaseStudyCard, { ...props });
1264
+ }
1265
+ function LoadedCaseStudyCard({
1266
+ study,
1267
+ href,
1268
+ target: targetProp,
1269
+ rel: relProp,
1270
+ targetPlatform,
1271
+ placeholderUrl: placeholderUrlProp,
1272
+ size = "default",
1273
+ showTypeBadge = true,
1274
+ accentClassName = "text-ods-accent",
1275
+ mediaMounted,
1276
+ onNavigate,
1277
+ className
1278
+ }) {
1279
+ const [hovered, setHovered] = _react.useState.call(void 0, false);
1280
+ const { target, rel } = useEntityCardLink({
1281
+ href,
1282
+ targetPlatform,
1283
+ target: targetProp,
1284
+ rel: relProp
1285
+ });
1286
+ const placeholderUrl = useEntityCardPlaceholder({
1287
+ title: study.title,
1288
+ placeholderUrl: placeholderUrlProp,
1289
+ aspect: size === "sm" ? "square" : "wide"
1290
+ });
1291
+ const coverImage = study.featured_image || placeholderUrl || null;
1292
+ if (size === "sm") {
1293
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunkN6YCOBLKcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
1294
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1295
+ _chunk3VINTJPEcjs.next_image_default,
1296
+ {
1297
+ src: coverImage,
1298
+ alt: `${_optionalChain([study, 'access', _49 => _49.msp, 'optionalAccess', _50 => _50.name]) || study.title} cover`,
1299
+ className: "object-contain",
1300
+ fill: true,
1301
+ sizes: "56px",
1302
+ unoptimized: true,
1303
+ onError: hideOnError
1304
+ }
1305
+ ) : null }),
1306
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
1307
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: study.title }) }),
1308
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _51 => _51.msp, 'optionalAccess', _52 => _52.name]), _optionalChain([study, 'access', _53 => _53.user, 'optionalAccess', _54 => _54.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
1309
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: study.summary || COMPACT_CARD_ROW_FILLER }) })
1310
+ ] })
1311
+ ] });
1312
+ }
1313
+ if (size === "menu") {
1314
+ const preview = caseStudyHighlight(study);
1315
+ const videoUrl = _nullishCoalesce(_optionalChain([preview, 'optionalAccess', _55 => _55.url]), () => ( null));
1316
+ const hasAnyVideo = !!(videoUrl || study.main_video_url);
1317
+ const poster = study.main_video_thumbnail || study.featured_image || _optionalChain([preview, 'optionalAccess', _56 => _56.posterUrl]) || null;
1318
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1319
+ _chunkV45KLJQPcjs.next_link_default,
1320
+ {
1321
+ href,
1322
+ target,
1323
+ rel,
1324
+ onClick: onNavigate,
1325
+ onPointerEnter: () => setHovered(true),
1326
+ onPointerLeave: () => setHovered(false),
1327
+ onFocus: () => setHovered(true),
1328
+ onBlur: () => setHovered(false),
1329
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, CASE_STUDY_MENU_FRAME, className),
1330
+ children: [
1331
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "pointer-events-none bg-ods-bg", CASE_STUDY_MENU_MEDIA), children: videoUrl ? (
1332
+ // The shared hover surface, filled the way the walkthrough card fills
1333
+ // its own 16:9 slot (`cover`): an upright cut is cropped to the slot,
1334
+ // never letterboxed. Sound on hover, muted when the browser blocks it.
1335
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1336
+ VideoHoverPreviewSurface,
1337
+ {
1338
+ url: videoUrl,
1339
+ posterUrl: poster,
1340
+ active: hovered,
1341
+ playerMounted: mediaMounted,
1342
+ fit: "cover",
1343
+ posterSizes: "360px"
1344
+ }
1345
+ )
1346
+ ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
1347
+ (_nullishCoalesce(poster, () => ( placeholderUrl))) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1348
+ _chunk3VINTJPEcjs.next_image_default,
1349
+ {
1350
+ src: _nullishCoalesce(_nullishCoalesce(poster, () => ( placeholderUrl)), () => ( "")),
1351
+ alt: "",
1352
+ className: "object-cover",
1353
+ fill: true,
1354
+ sizes: "360px",
1355
+ unoptimized: true,
1356
+ onError: hideOnError
1357
+ }
1358
+ ),
1359
+ hasAnyVideo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTSRCFXPcjs.CardHoverPlay, { size: "md" })
1360
+ ] }) }),
1361
+ _optionalChain([study, 'access', _57 => _57.msp, 'optionalAccess', _58 => _58.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: CASE_STUDY_MENU_MSP_ROW, children: [
1362
+ study.msp.icon_url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1363
+ EntityIcon,
1364
+ {
1365
+ icon: { url: study.msp.icon_url },
1366
+ size: MSP_ICON_PX,
1367
+ className: _chunkN6YCOBLKcjs.cn.call(void 0, MSP_ICON_CLASS, "object-contain")
1368
+ }
1369
+ ),
1370
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: study.msp.name })
1371
+ ] }),
1372
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 text-h6", children: study.title }),
1373
+ _optionalChain([study, 'access', _59 => _59.user, 'optionalAccess', _60 => _60.full_name]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-muted text-h6", children: study.user.job_title ? `${study.user.full_name}, ${study.user.job_title}` : study.user.full_name }),
1374
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mt-auto text-ods-accent text-h6", children: hasAnyVideo ? "Watch the story" : "Read the story" })
1375
+ ]
1376
+ }
1377
+ );
1378
+ }
1379
+ if (size === "result") {
1380
+ const metric = headlineMetric(study);
1381
+ if (!metric) return null;
1382
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunkN6YCOBLKcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, CASE_STUDY_RESULT_STACK), children: [
1383
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CaseStudyPersonRow, { study }),
1384
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_RESULT_METRIC_BOX, "data-testid": "case-study-metric", children: [
1385
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "truncate text-h1", accentClassName), children: metric.value }),
1386
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 text-ods-text-secondary text-h4", children: metric.label })
1387
+ ] }),
1388
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CASE_STUDY_RESULT_FOOTER_BOX, children: [
1389
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 min-w-0 text-ods-text-secondary text-h6", children: study.title }),
1390
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "shrink-0 text-h6", accentClassName), children: "Read" })
1391
+ ] })
1392
+ ] }) });
1393
+ }
1394
+ if (size === "portrait") {
1395
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1396
+ EntityPortraitCard,
1397
+ {
1398
+ href,
1399
+ target,
1400
+ rel,
1401
+ typeLabel: showTypeBadge ? CASE_STUDY_TYPE_LABEL : void 0,
1402
+ imageUrl: study.featured_image,
1403
+ placeholderUrl,
1404
+ imageAlt: _optionalChain([study, 'access', _61 => _61.msp, 'optionalAccess', _62 => _62.name]) || study.title,
1405
+ title: study.title,
1406
+ person: {
1407
+ name: _optionalChain([study, 'access', _63 => _63.user, 'optionalAccess', _64 => _64.full_name]) || "Anonymous",
1408
+ avatarUrl: _optionalChain([study, 'access', _65 => _65.user, 'optionalAccess', _66 => _66.avatar_url]),
1409
+ subtitle: _nullishCoalesce(_optionalChain([study, 'access', _67 => _67.msp, 'optionalAccess', _68 => _68.name]), () => ( null)),
1410
+ iconOverlayUrl: _nullishCoalesce(_optionalChain([study, 'access', _69 => _69.msp, 'optionalAccess', _70 => _70.icon_url]), () => ( null))
1411
+ },
1412
+ className
1413
+ }
1414
+ );
1415
+ }
1416
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunkN6YCOBLKcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunkN6YCOBLKcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, CASE_STUDY_DEFAULT_BODY), children: [
1417
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, CASE_STUDY_COVER, "bg-ods-bg"), children: coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1418
+ _chunk3VINTJPEcjs.next_image_default,
1419
+ {
1420
+ src: coverImage,
1421
+ alt: _optionalChain([study, 'access', _71 => _71.msp, 'optionalAccess', _72 => _72.name]) || study.title,
1422
+ className: "h-full w-full object-cover",
1423
+ sizes: "(min-width: 1545px) 515px, (min-width: 1280px) 33vw, (min-width: 800px) 50vw, 100vw",
1424
+ fill: true,
1425
+ unoptimized: true,
1426
+ onError: hideOnError
1427
+ }
1428
+ ) }),
1429
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CASE_STUDY_TITLE_ZONE, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 break-words text-ods-text-primary text-h4", children: study.title }) }),
1430
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CaseStudyPersonRow, { study })
1431
+ ] }) });
1432
+ }
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+
1442
+
1443
+
1444
+
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+
1464
+
1465
+
1466
+
1467
+
1468
+
1469
+
1470
+
1471
+
1472
+
1473
+
1474
+
1475
+
1476
+
1477
+
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+
1484
+
1485
+
1486
+
1487
+
1488
+ exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.statusBadgeVariants = statusBadgeVariants; exports.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; exports.StatusBadge = StatusBadge; exports.EntityIcon = EntityIcon; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.isSameOriginAbsoluteHref = isSameOriginAbsoluteHref; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.CONTENT_CARD_FRAME_CLASS = CONTENT_CARD_FRAME_CLASS; exports.CONTENT_CARD_SKELETON_FRAME_CLASS = CONTENT_CARD_SKELETON_FRAME_CLASS; exports.ContentCardFrame = ContentCardFrame; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.sortBitesByFeaturedAtDesc = sortBitesByFeaturedAtDesc; exports.programItemToStripProfile = programItemToStripProfile; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.UNSAFE_URL_CHARS = UNSAFE_URL_CHARS; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.CompactCardSkeleton = CompactCardSkeleton; exports.ActivityRowSkeleton = ActivityRowSkeleton; exports.useEntityCardLink = useEntityCardLink; exports.useEntityCardPlaceholder = useEntityCardPlaceholder; exports.CaseStudyCard = CaseStudyCard;