@alfadocs/ui-kit 0.71.0 → 0.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (464) hide show
  1. package/dist/_chunks/{accordion-DnIa7OHX.js → accordion-C11v9ouP.js} +2 -2
  2. package/dist/_chunks/{address-autocomplete-BEX9PXty.js → address-autocomplete-Bq-1n1UX.js} +2 -2
  3. package/dist/_chunks/{address-fields-CPbFJ8e8.js → address-fields-COyjgqxA.js} +8 -8
  4. package/dist/_chunks/{agenda-card-BQ-IKAru.js → agenda-card-BCGaQazD.js} +2 -2
  5. package/dist/_chunks/{agenda-tray-CGXRk58j.js → agenda-tray-loL2A3Cx.js} +4 -4
  6. package/dist/_chunks/{ai-consent-banner-Be-h9mRI.js → ai-consent-banner-Bke9m8VS.js} +2 -2
  7. package/dist/_chunks/{ai-prompt-input-V4DdOeqv.js → ai-prompt-input-TVI95hJD.js} +4 -4
  8. package/dist/_chunks/{alert-CHYZ96tR.js → alert-KJbsPYkI.js} +8 -8
  9. package/dist/_chunks/{alia-sidebar-DvIUzIX9.js → alia-sidebar-BV5lBSFR.js} +279 -223
  10. package/dist/_chunks/{anamnesis-card-DvYCa16e.js → anamnesis-card-CWO4Ui9c.js} +4 -4
  11. package/dist/_chunks/{antenatal-schedule-timeline-CwXrQRm1.js → antenatal-schedule-timeline-CY-VsLok.js} +3 -3
  12. package/dist/_chunks/{appointment-card-DVaeJNVB.js → appointment-card-Cy4FOkGP.js} +86 -69
  13. package/dist/_chunks/{appointment-timeline-PJgnrjFb.js → appointment-timeline-BWAPPk8F.js} +4 -4
  14. package/dist/_chunks/{appointment-tray-B16QPGbm.js → appointment-tray-D3mk04TT.js} +4 -4
  15. package/dist/_chunks/{ar-Cn5Fq48Z.js → ar-BOqyIfoY.js} +2 -2
  16. package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
  17. package/dist/_chunks/{audio-recorder-DNDsOLqO.js → audio-recorder-BbjG55dP.js} +9 -9
  18. package/dist/_chunks/{bishop-score-Cym_TeQY.js → bishop-score-C6eoak_j.js} +4 -4
  19. package/dist/_chunks/{bmi-calculator-zjeY4E7J.js → bmi-calculator-BmQfoEGP.js} +5 -5
  20. package/dist/_chunks/{booking-C7do4vaR.js → booking-B62CMY5k.js} +205 -221
  21. package/dist/_chunks/{breadcrumb-CchdeG7d.js → breadcrumb-agut0PwN.js} +3 -3
  22. package/dist/_chunks/{calculator-dialog-BR5iU0kf.js → calculator-dialog-DuXMQSdm.js} +2 -2
  23. package/dist/_chunks/{calendar-CZUjL8SZ.js → calendar-DeAlFPsF.js} +15 -15
  24. package/dist/_chunks/{calendar-clock-CYkcqdwl.js → calendar-clock-hbObjfGY.js} +3 -3
  25. package/dist/_chunks/{calendar-days-C4BmpCZg.js → calendar-days-BGWklvE-.js} +3 -3
  26. package/dist/_chunks/{care-plan-card-DzPDYgtK.js → care-plan-card-DhXbfGzE.js} +6 -6
  27. package/dist/_chunks/{care-plan-entry-card-CEnQy7YP.js → care-plan-entry-card-D3YGD6rj.js} +6 -6
  28. package/dist/_chunks/{care-plan-header-DcXFXWit.js → care-plan-header-DtQxyfOb.js} +4 -4
  29. package/dist/_chunks/{carousel.agent-4v8Emr9E.js → carousel.agent-j7hWxJWr.js} +3 -3
  30. package/dist/_chunks/{chat-container-DWho5hPR.js → chat-container-BVCoN06N.js} +2 -2
  31. package/dist/_chunks/{chat-input-BcXTetgM.js → chat-input-Btq_uuMZ.js} +5 -5
  32. package/dist/_chunks/{chat-message-DzpcJR-q.js → chat-message-DXjjM8z9.js} +7 -7
  33. package/dist/_chunks/{check-DPdL_Sm7.js → check-DrFSN__t.js} +3 -3
  34. package/dist/_chunks/{checkbox-group-PqNmQ-cE.js → checkbox-group-CfqMv57d.js} +2 -2
  35. package/dist/_chunks/{chevron-down-BX_NP2Yh.js → chevron-down-DWE7GSq9.js} +3 -3
  36. package/dist/_chunks/{chevron-left-CX1jqD2M.js → chevron-left-B8cOyH-V.js} +3 -3
  37. package/dist/_chunks/{chevron-right-BrpYejk0.js → chevron-right-I9AeSxH2.js} +3 -3
  38. package/dist/_chunks/{chevron-up-zOEDrmBB.js → chevron-up-umRGgtJA.js} +3 -3
  39. package/dist/_chunks/{chevrons-right-d9MwesPG.js → chevrons-right-DIHg7Xqi.js} +4 -4
  40. package/dist/_chunks/{circle-alert-ChA9opNA.js → circle-alert-rGDZ73Wh.js} +3 -3
  41. package/dist/_chunks/{circle-check-9AeSgJD_.js → circle-check-BN6rz4NV.js} +3 -3
  42. package/dist/_chunks/{circle-BkqTgYmt.js → circle-j7oZoouK.js} +3 -3
  43. package/dist/_chunks/{circle-x-Du2CmjaU.js → circle-x-W8Enq3i4.js} +3 -3
  44. package/dist/_chunks/{city-input-Dkgaak7I.js → city-input-towzBenY.js} +2 -2
  45. package/dist/_chunks/{clinical-note-card-BUvNMNGL.js → clinical-note-card-C7F_24IC.js} +9 -9
  46. package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
  47. package/dist/_chunks/{clock-21AGPWJ5.js → clock-Drd4Wtis.js} +3 -3
  48. package/dist/_chunks/{code-block-BBWHhIc8.js → code-block-Cwi7e3HM.js} +3 -3
  49. package/dist/_chunks/{color-picker-C_fZl6sA.js → color-picker-D-tUwxxT.js} +3 -3
  50. package/dist/_chunks/{columns-2-BTOBZbep.js → columns-2-8lq4-b8e.js} +3 -3
  51. package/dist/_chunks/{combobox-DnqSF0IH.js → combobox-DiMLItyu.js} +3 -3
  52. package/dist/_chunks/{command-palette-CJzmc5pC.js → command-palette-DQl_SNEv.js} +2 -2
  53. package/dist/_chunks/{connection-status-CY1HV8Wg.js → connection-status-0HajXMXM.js} +2 -2
  54. package/dist/_chunks/{contact-card-Cf8Ktyt3.js → contact-card-0hnFJwrz.js} +3 -3
  55. package/dist/_chunks/{contact-profile-card-DDPwRFiP.js → contact-profile-card-IggiUVpN.js} +14 -14
  56. package/dist/_chunks/{control-room-rail-FAQZrGVL.js → control-room-rail-DaGcsdZ6.js} +3 -3
  57. package/dist/_chunks/{copy-field-Bjw9u2cV.js → copy-field-PAp0-Wr5.js} +3 -3
  58. package/dist/_chunks/{copy-B00HK7tj.js → copy-vRpqqHtY.js} +3 -3
  59. package/dist/_chunks/{country-select-BwUZQvTa.js → country-select-DYHDLEjG.js} +2 -2
  60. package/dist/_chunks/{createLucideIcon-CrFbzy84.js → createLucideIcon-DhHxpK9K.js} +8 -8
  61. package/dist/_chunks/{cycle-calculator-CCmPwcBl.js → cycle-calculator-BNILyVas.js} +10 -10
  62. package/dist/_chunks/{date-picker-Dl9RKxaV.js → date-picker-CVkD_lOi.js} +3 -3
  63. package/dist/_chunks/{date-picker-variants-DAcSLTua.js → date-picker-variants-DLg-ZrIo.js} +20 -20
  64. package/dist/_chunks/{date-range-picker-CTUeR6Bj.js → date-range-picker-Dw12DgV8.js} +4 -4
  65. package/dist/_chunks/{date-time-picker-BhoogS5Q.js → date-time-picker-Cd_OJtOy.js} +3 -3
  66. package/dist/_chunks/{de-CrJs4ZsX.js → de-DFLsUxeV.js} +2 -2
  67. package/dist/_chunks/{dependent-selector-DUV4thxX.js → dependent-selector-DyFpdzZV.js} +2 -2
  68. package/dist/_chunks/{description-list-gkNGWk5G.js → description-list-CmBVxIF5.js} +3 -3
  69. package/dist/_chunks/{dialog-ZNuboNmy.js → dialog-UbKJCi1X.js} +2 -2
  70. package/dist/_chunks/{document-scanner-C_AxLooF.js → document-scanner-B23j4w7X.js} +8 -8
  71. package/dist/_chunks/{download-CDF1sbL9.js → download-CfYKJO_j.js} +3 -3
  72. package/dist/_chunks/{dropdown-menu-qrxjymfw.js → dropdown-menu-DU-Hrf33.js} +3 -3
  73. package/dist/_chunks/{due-date-calculator-Brdj-euS.js → due-date-calculator-CmdAl_JO.js} +7 -7
  74. package/dist/_chunks/{editable-currency-cell-renderer-CGELrkIj.js → editable-currency-cell-renderer-z9fJFw6Z.js} +7 -7
  75. package/dist/_chunks/{editor-overlay-wYm22wZK.js → editor-overlay-BIOzr8v7.js} +2 -2
  76. package/dist/_chunks/{el-DHdMOIhL.js → el-OVjBKytp.js} +2 -2
  77. package/dist/_chunks/{ellipsis-rgGdiK_9.js → ellipsis-dRo9ouSU.js} +3 -3
  78. package/dist/_chunks/{email-input-DJ7EXklP.js → email-input-Dpe63k0K.js} +3 -3
  79. package/dist/_chunks/{entity-card-DmrgYSEX.js → entity-card-9_62gY7l.js} +4 -4
  80. package/dist/_chunks/{entity-summary-CaM1Y-xE.js → entity-summary-DpGziDv5.js} +104 -118
  81. package/dist/_chunks/{es-DCATCfqo.js → es-DKDNrHXG.js} +2 -2
  82. package/dist/_chunks/{external-link-C6F25E6k.js → external-link-CY6zAXXU.js} +3 -3
  83. package/dist/_chunks/{eye-LHlSU38h.js → eye-BjhN2nYf.js} +3 -3
  84. package/dist/_chunks/{eye-off-xEXDAh5z.js → eye-off-C_4xkbRP.js} +3 -3
  85. package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
  86. package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
  87. package/dist/_chunks/{fetal-weight-DNCkyeVo.js → fetal-weight-CVAH8sJ3.js} +4 -4
  88. package/dist/_chunks/{field-array-siUZzfYe.js → field-array-CDzc3hTM.js} +3 -3
  89. package/dist/_chunks/{field-value-3jMM0uDx.js → field-value-Dj3i52H2.js} +13 -13
  90. package/dist/_chunks/{file-spreadsheet-zUkY8rJ2.js → file-spreadsheet-DmwyfV4O.js} +3 -3
  91. package/dist/_chunks/{file-text-DSNuv2B8.js → file-text-5yv6r2ls.js} +3 -3
  92. package/dist/_chunks/{file-upload-DwZcAK8D.js → file-upload-Kw1rdvFw.js} +13 -13
  93. package/dist/_chunks/{finished-terminal-VjZ_-eDD.js → finished-terminal-Di4gtZ50.js} +2 -2
  94. package/dist/_chunks/{fiscal-code-input-Cf-8O4Fj.js → fiscal-code-input-DKNXFXs3.js} +5 -5
  95. package/dist/_chunks/{form-field-BOm9hK35.js → form-field-M5UpX65Z.js} +2 -2
  96. package/dist/_chunks/{fr-BfGEMshF.js → fr-BfMvQh-v.js} +2 -2
  97. package/dist/_chunks/{freemium-paywall-WYlNO7yT.js → freemium-paywall-DFoeedwh.js} +4 -4
  98. package/dist/_chunks/{gestational-age-calculator-DKzEV5Qi.js → gestational-age-calculator-BwCBPAGX.js} +9 -9
  99. package/dist/_chunks/{globe-BkEFMNSg.js → globe-sHBW1JN5.js} +3 -3
  100. package/dist/_chunks/{grip-vertical-Dlg0_k5C.js → grip-vertical-onSb1JXO.js} +3 -3
  101. package/dist/_chunks/{hash-CysBBS_N.js → hash-CSQ9SChR.js} +3 -3
  102. package/dist/_chunks/{hcg-doubling-C7bmuaU3.js → hcg-doubling-CSsWxEJc.js} +5 -5
  103. package/dist/_chunks/{header-CNszv2WQ.js → header-DaXWDw0M.js} +2 -2
  104. package/dist/_chunks/{header-settings-DJqoAl5m.js → header-settings-B0G_u-wV.js} +6 -6
  105. package/dist/_chunks/{heart-C0faivFf.js → heart--qCA4ffe.js} +3 -3
  106. package/dist/_chunks/{heart-pulse-CvuyFKHB.js → heart-pulse-BCppJyN2.js} +3 -3
  107. package/dist/_chunks/{hi-CBFRXEIm.js → hi-C0GEMwlD.js} +2 -2
  108. package/dist/_chunks/{iban-input-B0TWzR1R.js → iban-input-DXIA8Ln_.js} +3 -3
  109. package/dist/_chunks/{icon-picker-0B7KhrF1.js → icon-picker-Di6uYDG-.js} +4 -4
  110. package/dist/_chunks/{image-C6RM5hfF.js → image-B_5MNK0x.js} +3 -3
  111. package/dist/_chunks/{image-cropper-D9jqJy19.js → image-cropper-CdmWFrMC.js} +2 -2
  112. package/dist/_chunks/{info-B9XNKn05.js → info-CGn22peZ.js} +3 -3
  113. package/dist/_chunks/{insert-result-njqBthzT.js → insert-result-C7xSDb8q.js} +5 -5
  114. package/dist/_chunks/{isSameWeek-I3DfXUp1.js → isSameWeek-HddDAyJG.js} +2 -2
  115. package/dist/_chunks/{it-nz6vAKwG.js → it-5f4hiT2e.js} +3 -3
  116. package/dist/_chunks/{ja-DQcqdAEJ.js → ja-U0_2inl_.js} +2 -2
  117. package/dist/_chunks/{key-value-pair-BrgbMfbF.js → key-value-pair-Byyyc_9J.js} +3 -3
  118. package/dist/_chunks/{languages-DsVf_WzT.js → languages-CGLX6Qpe.js} +3 -3
  119. package/dist/_chunks/{layers-pzGcbLPj.js → layers-DcAENmsZ.js} +3 -3
  120. package/dist/_chunks/{link-DrD_cRUg.js → link-CPb_pZPr.js} +2 -2
  121. package/dist/_chunks/{link-cell-renderer-De_SLjSq.js → link-cell-renderer-BCppbMec.js} +19 -19
  122. package/dist/_chunks/{locale-picker-ChYYSX2N.js → locale-picker-DzF7Q5Y8.js} +5 -5
  123. package/dist/_chunks/{lock-CKOIn0IK.js → lock-ClAFG1gy.js} +3 -3
  124. package/dist/_chunks/{log-out-616hnn2-.js → log-out-oDS6zO5d.js} +3 -3
  125. package/dist/_chunks/{mail-C8irm52s.js → mail-BqXVF2zH.js} +3 -3
  126. package/dist/_chunks/{map-pin-B8STOPMJ.js → map-pin-BaY37-Km.js} +3 -3
  127. package/dist/_chunks/{map-view-BkOoGoX2.js → map-view-ByPvWG_9.js} +3 -3
  128. package/dist/_chunks/{marketplace-app-shell-BGqkywsi.js → marketplace-app-shell-BCYiOvKZ.js} +9 -9
  129. package/dist/_chunks/{maximize-2-Cm9OUQ2m.js → maximize-2-BYd2Kti7.js} +3 -3
  130. package/dist/_chunks/{menu-XRhW3_99.js → menu-Op71AWIC.js} +3 -3
  131. package/dist/_chunks/{message-card-DsHFFiL1.js → message-card-BZnnffyB.js} +2 -2
  132. package/dist/_chunks/{message-circle-C23eicgb.js → message-circle-Bepl9JT5.js} +3 -3
  133. package/dist/_chunks/{message-tray-C0a6CL1_.js → message-tray-cUHOCdU0.js} +3 -3
  134. package/dist/_chunks/{mic-B4Gog3Gi.js → mic-CUklMZGF.js} +3 -3
  135. package/dist/_chunks/{monitor-D-SFdbrU.js → monitor-xXSrufmP.js} +3 -3
  136. package/dist/_chunks/{multi-select-WE4S9FIF.js → multi-select-D5QLBJM1.js} +3 -3
  137. package/dist/_chunks/{anatomy-scheme-CXSk11UJ.js → muscle-scheme-B9MIkuj0.js} +415 -1146
  138. package/dist/_chunks/{nav-grid-9xphY3FM.js → nav-grid-gRudLsPX.js} +2 -2
  139. package/dist/_chunks/{navigation-menu-DRUi6sSj.js → navigation-menu-D3VndouD.js} +2 -2
  140. package/dist/_chunks/{nl-L5SuDjyl.js → nl-CDVnnx1U.js} +2 -2
  141. package/dist/_chunks/{notes-panel-DXiMfuvp.js → notes-panel-CMyjUXD4.js} +68 -64
  142. package/dist/_chunks/{notification-card-BMqNzCIt.js → notification-card-BHJ07FkH.js} +2 -2
  143. package/dist/_chunks/{notification-tray-BmUlCx3g.js → notification-tray-Dzm1c3Wy.js} +4 -4
  144. package/dist/_chunks/{number-input-DxphVG_A.js → number-input-DjWzmlEY.js} +3 -3
  145. package/dist/_chunks/{operator-hero-BO8TqzX2.js → operator-hero-DVy0RGoD.js} +3 -3
  146. package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
  147. package/dist/_chunks/{pagination-D58kglCr.js → pagination-EkD5SiCK.js} +6 -6
  148. package/dist/_chunks/{patient-details-DgfTJimE.js → patient-details-pU_E5xM2.js} +106 -87
  149. package/dist/_chunks/{patient-search-CSWQKOSP.js → patient-search-X9SUZGpy.js} +10 -10
  150. package/dist/_chunks/{patient-shell-BMwsIKlW.js → patient-shell-oiIRqEAl.js} +7 -7
  151. package/dist/_chunks/{patient-summary-card-D4NdgYJB.js → patient-summary-card--t3BjTdU.js} +16 -16
  152. package/dist/_chunks/{patient-table-CERknpd8.js → patient-table-BgWgNIMf.js} +11 -11
  153. package/dist/_chunks/{payment-form-CxqIXqw7.js → payment-form-DL9xk9BA.js} +2 -2
  154. package/dist/_chunks/{payment-request-card-Blf-MFNY.js → payment-request-card-2ts7ITxd.js} +15 -15
  155. package/dist/_chunks/{pdf-viewer-QfebdLOd.js → pdf-viewer-DF3VMaPo.js} +8 -8
  156. package/dist/_chunks/{pencil-CfQX-0Qc.js → pencil-B1sKKyuT.js} +3 -3
  157. package/dist/_chunks/{periodontal-chart-card-hRRJY1NN.js → periodontal-chart-card-6c6Lt4ws.js} +2 -2
  158. package/dist/_chunks/{permission-matrix-Bw5oexUt.js → permission-matrix-BIJrGEmz.js} +3 -3
  159. package/dist/_chunks/{phone-Bi5yUm4I.js → phone-FceYcIFQ.js} +3 -3
  160. package/dist/_chunks/{phone-input-DjU-XmO_.js → phone-input-dtnrvnZf.js} +2 -2
  161. package/dist/_chunks/{pl-YAn5z2wR.js → pl-BWNumNrg.js} +3 -3
  162. package/dist/_chunks/{plus-CYKNmfuA.js → plus-DzMQ_c6b.js} +3 -3
  163. package/dist/_chunks/{popover-B2qCDhJC.js → popover-uJ6BvEU3.js} +2 -2
  164. package/dist/_chunks/{postal-code-input-UCOYuRY2.js → postal-code-input-BznBxVxf.js} +3 -3
  165. package/dist/_chunks/{practice-results-El5Z-oVp.js → practice-results-CSEHTH2V.js} +15 -15
  166. package/dist/_chunks/{pregnancy-dating-CunHrOpO.js → pregnancy-dating-CxVAA6_4.js} +10 -10
  167. package/dist/_chunks/{pregnancy-weight-gain-BUNpTsH-.js → pregnancy-weight-gain-C7zyrwow.js} +5 -5
  168. package/dist/_chunks/{printer-CeVEWfQq.js → printer-rkK0T1gi.js} +3 -3
  169. package/dist/_chunks/{privacy-lock-BzMLQu-j.js → privacy-lock-DrRmK8C7.js} +4 -4
  170. package/dist/_chunks/{product-hub-panel-DtU7KXxm.js → product-hub-panel-CaZqttvm.js} +5 -5
  171. package/dist/_chunks/{province-select-D_TZvix3.js → province-select-BDywtmL-.js} +2 -2
  172. package/dist/_chunks/{pt-D9xdT5KQ.js → pt-zqdQuryr.js} +2 -2
  173. package/dist/_chunks/{public-footer.agent-D0cFbjWl.js → public-footer.agent-BKkK3T3V.js} +3 -3
  174. package/dist/_chunks/{public-header.agent-TxmC_x1I.js → public-header.agent-C-opZaOw.js} +5 -5
  175. package/dist/_chunks/{radio-group-BPt7pKZW.js → radio-group-CI-6SmSw.js} +2 -2
  176. package/dist/_chunks/{radiograph-panel.agent-tWjN2nHX.js → radiograph-panel.agent-D1x33moc.js} +14 -14
  177. package/dist/_chunks/{rating-BRD7O74e.js → rating-BYbUowdK.js} +2 -2
  178. package/dist/_chunks/{refresh-cw-CC8jSKMr.js → refresh-cw-DnI0cLFC.js} +3 -3
  179. package/dist/_chunks/{reviews-panel-DxkSrgMl.js → reviews-panel-liUj6OPX.js} +5 -5
  180. package/dist/_chunks/{rich-text-editor-C8tyGjfb.js → rich-text-editor-DUgznqOf.js} +53 -53
  181. package/dist/_chunks/{ro-Cp--52bT.js → ro-CornQr64.js} +2 -2
  182. package/dist/_chunks/{rotate-ccw-BWANpitO.js → rotate-ccw-BBQnIVTr.js} +3 -3
  183. package/dist/_chunks/{ru-BM8eX_Zz.js → ru-CKAXNYVD.js} +3 -3
  184. package/dist/_chunks/{scan-line-lGioFwLC.js → scan-line-CNseIHQ0.js} +3 -3
  185. package/dist/_chunks/{search-BonnQsHv.js → search-QbWPlY5f.js} +3 -3
  186. package/dist/_chunks/{search-bar-C_T3pBJn.js → search-bar-CJj6sI9m.js} +3 -3
  187. package/dist/_chunks/{search-input-DQvGxR74.js → search-input-B7GmlPIE.js} +4 -4
  188. package/dist/_chunks/{select-KsyRr8WH.js → select-BmCbJMJS.js} +5 -5
  189. package/dist/_chunks/{send-CySZIRPJ.js → send-C5kDJ-Mz.js} +3 -3
  190. package/dist/_chunks/{session-countdown-X1Ki6i0M.js → session-countdown-qr8EO5QY.js} +5 -5
  191. package/dist/_chunks/{settings-ca2Yi9R8.js → settings-d25ju_6L.js} +3 -3
  192. package/dist/_chunks/{sheet-umkfZjF6.js → sheet-B_X54aZo.js} +2 -2
  193. package/dist/_chunks/{shield-check-BjCGH_Sr.js → shield-check-DCJALLVh.js} +3 -3
  194. package/dist/_chunks/{sidebar-QCp9wHNP.js → sidebar-B0OBmJrC.js} +10 -10
  195. package/dist/_chunks/{sign-document-By6hMOra.js → sign-document-nK03S73h.js} +3 -3
  196. package/dist/_chunks/{signature-field-Dy1JRjzE.js → signature-field-jgwYgUhO.js} +4 -4
  197. package/dist/_chunks/{smart-date-CWikAqZx.js → smart-date-CsPlilQA.js} +7 -7
  198. package/dist/_chunks/{sq-XRpr0r49.js → sq-CIIvqXZv.js} +2 -2
  199. package/dist/_chunks/{square-CZoGU14v.js → square-DASBRZ0U.js} +3 -3
  200. package/dist/_chunks/{square-check-big-Jr-0202D.js → square-check-big-dj0o8yA3.js} +3 -3
  201. package/dist/_chunks/{star-vav0SJ9e.js → star-Bf9L2Uot.js} +3 -3
  202. package/dist/_chunks/{stepper-accordion-DC-H-8v4.js → stepper-accordion-BeVMZPuG.js} +3 -3
  203. package/dist/_chunks/{stethoscope-DT5qCW8Y.js → stethoscope-sZXGC43m.js} +3 -3
  204. package/dist/_chunks/{streaming-text-BB9mvK4m.js → streaming-text-Cedc05ya.js} +2 -2
  205. package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
  206. package/dist/_chunks/{sun-BuXE0xUS.js → sun-Bj9Mr553.js} +4 -4
  207. package/dist/_chunks/{sv-Z3APomE8.js → sv-Kpk1pzjz.js} +2 -2
  208. package/dist/_chunks/{tab-bar-Bv9nGNdO.js → tab-bar-Axhk6xzx.js} +6 -6
  209. package/dist/_chunks/{tabs-CYZVKKDl.js → tabs-DVQ941Sj.js} +4 -4
  210. package/dist/_chunks/{tag-BQXwuJq1.js → tag-3wgkwwDB.js} +2 -2
  211. package/dist/_chunks/{task-card-DCdsI0ZT.js → task-card-BUgK6yZT.js} +9 -9
  212. package/dist/_chunks/{task-tray-DNVejijD.js → task-tray-DP5A3Qnc.js} +5 -5
  213. package/dist/_chunks/{tasks-panel-C9odmawT.js → tasks-panel-BuxaYtEF.js} +40 -40
  214. package/dist/_chunks/{text-input-B-OWQ1Je.js → text-input-CUvCb6ST.js} +2 -2
  215. package/dist/_chunks/{theme-toggle-XB6o_lgs.js → theme-toggle-dtdy5EaL.js} +4 -4
  216. package/dist/_chunks/{timeline-CqA4nKTI.js → timeline-r-8IUoBS.js} +6 -6
  217. package/dist/_chunks/{toast.agent-57UzyR9U.js → toast.agent-BSxl057x.js} +6 -6
  218. package/dist/_chunks/{token-insert-menu-CFQqTe_n.js → token-insert-menu-Pok4nExI.js} +2 -2
  219. package/dist/_chunks/{tooth-scheme-DJZtzfeY.js → tooth-scheme-D_rso4uu.js} +4 -4
  220. package/dist/_chunks/{tr-e0-P4FON.js → tr-DHaeLFxG.js} +2 -2
  221. package/dist/_chunks/{transaction-chip-CscoQbxF.js → transaction-chip-B6iWoVmU.js} +8 -8
  222. package/dist/_chunks/{transcript-panel-CHGHHHdT.js → transcript-panel-BGkEhvHO.js} +3 -3
  223. package/dist/_chunks/{trash-2-rPAKaRgB.js → trash-2-uumy3fy1.js} +3 -3
  224. package/dist/_chunks/{triangle-alert-CBPUIzQo.js → triangle-alert-CBnO6nq_.js} +3 -3
  225. package/dist/_chunks/{unit-converter-CwlZbfdn.js → unit-converter-fEqluT8b.js} +5 -5
  226. package/dist/_chunks/{use-password-requirements-BXvS2MBS.js → use-password-requirements-Bwtqx1qN.js} +7 -7
  227. package/dist/_chunks/{user-CPxpqFjJ.js → user-B12p7bVF.js} +3 -3
  228. package/dist/_chunks/{user-cog-BS_qc8nA.js → user-cog-BTn98Arm.js} +3 -3
  229. package/dist/_chunks/{users-MBVtUzwd.js → users-BjS_Gg1E.js} +3 -3
  230. package/dist/_chunks/{video-BAeICxCT.js → video-BheNGvsu.js} +3 -3
  231. package/dist/_chunks/{warning-stack--sTrrBDA.js → warning-stack-BaMI7-n7.js} +4 -4
  232. package/dist/_chunks/{workflow-map-M8MBBHQm.js → workflow-map-qWsgCldq.js} +146 -146
  233. package/dist/_chunks/{x-CCcI3eJp.js → x-B5YnXwCz.js} +3 -3
  234. package/dist/_chunks/{zh-CN-B-igM5gY.js → zh-CN-BncsTBwM.js} +3 -3
  235. package/dist/_chunks/{zoom-out-CgVtf2Wx.js → zoom-out-Dnif4kJx.js} +4 -4
  236. package/dist/agent-catalog.json +1473 -317
  237. package/dist/agent-i18n/en.json +107 -15
  238. package/dist/components/accordion/index.js +1 -1
  239. package/dist/components/address-autocomplete/index.js +1 -1
  240. package/dist/components/address-fields/index.js +1 -1
  241. package/dist/components/agenda-card/index.js +1 -1
  242. package/dist/components/agenda-tray/index.js +1 -1
  243. package/dist/components/ai-consent-banner/index.js +1 -1
  244. package/dist/components/ai-prompt-input/index.js +1 -1
  245. package/dist/components/alert/index.js +1 -1
  246. package/dist/components/anamnesis-card/index.js +1 -1
  247. package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
  248. package/dist/components/appointment-card/index.js +2 -2
  249. package/dist/components/appointment-timeline/index.js +1 -1
  250. package/dist/components/audio-recorder/index.js +1 -1
  251. package/dist/components/bishop-score/index.js +1 -1
  252. package/dist/components/bmi-calculator/index.js +1 -1
  253. package/dist/components/booking/index.js +1 -1
  254. package/dist/components/breadcrumb/index.js +1 -1
  255. package/dist/components/calculator-dialog/index.js +1 -1
  256. package/dist/components/calendar/index.js +1 -1
  257. package/dist/components/care-plan-card/index.js +1 -1
  258. package/dist/components/care-plan-entry-card/index.js +1 -1
  259. package/dist/components/care-plan-header/index.js +1 -1
  260. package/dist/components/carousel/index.js +1 -1
  261. package/dist/components/chat-container/index.js +1 -1
  262. package/dist/components/chat-input/index.js +1 -1
  263. package/dist/components/chat-message/chat-message.d.ts +1 -1
  264. package/dist/components/chat-message/index.js +1 -1
  265. package/dist/components/checkbox-group/index.js +1 -1
  266. package/dist/components/city-input/index.js +1 -1
  267. package/dist/components/clinical-note-card/index.js +1 -1
  268. package/dist/components/color-picker/index.js +1 -1
  269. package/dist/components/combobox/index.js +1 -1
  270. package/dist/components/command-palette/index.js +1 -1
  271. package/dist/components/connection-status/index.js +1 -1
  272. package/dist/components/contact-card/index.js +1 -1
  273. package/dist/components/contact-profile-card/index.js +1 -1
  274. package/dist/components/control-room-rail/index.js +1 -1
  275. package/dist/components/copy-field/index.js +1 -1
  276. package/dist/components/country-select/index.js +1 -1
  277. package/dist/components/cycle-calculator/index.js +1 -1
  278. package/dist/components/data-table/index.js +2 -2
  279. package/dist/components/date-picker/index.js +1 -1
  280. package/dist/components/date-range-picker/index.js +1 -1
  281. package/dist/components/date-time-picker/index.js +1 -1
  282. package/dist/components/dependent-selector/index.js +1 -1
  283. package/dist/components/description-list/index.js +1 -1
  284. package/dist/components/dialog/index.js +1 -1
  285. package/dist/components/document-scanner/index.js +1 -1
  286. package/dist/components/dropdown-menu/index.js +1 -1
  287. package/dist/components/due-date-calculator/index.js +2 -2
  288. package/dist/components/editor-overlay/index.js +1 -1
  289. package/dist/components/email-input/index.js +1 -1
  290. package/dist/components/entity-summary/index.js +1 -1
  291. package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
  292. package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
  293. package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
  294. package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
  295. package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
  296. package/dist/components/face-scheme/face-scheme.d.ts +144 -0
  297. package/dist/components/face-scheme/index.d.ts +7 -0
  298. package/dist/components/face-scheme/index.js +17 -0
  299. package/dist/components/fetal-weight/index.js +1 -1
  300. package/dist/components/field-array/index.js +1 -1
  301. package/dist/components/file-upload/index.js +1 -1
  302. package/dist/components/finished-terminal/index.js +1 -1
  303. package/dist/components/fiscal-code-input/index.js +1 -1
  304. package/dist/components/form-field/index.js +1 -1
  305. package/dist/components/freemium-paywall/index.js +1 -1
  306. package/dist/components/gestational-age-calculator/index.js +1 -1
  307. package/dist/components/hcg-doubling/index.js +1 -1
  308. package/dist/components/header/index.js +1 -1
  309. package/dist/components/header-settings/index.js +1 -1
  310. package/dist/components/iban-input/index.js +1 -1
  311. package/dist/components/icon-picker/index.js +1 -1
  312. package/dist/components/image-cropper/index.js +1 -1
  313. package/dist/components/index.d.ts +3 -1
  314. package/dist/components/key-value-pair/index.js +1 -1
  315. package/dist/components/link/index.js +1 -1
  316. package/dist/components/locale-picker/index.js +1 -1
  317. package/dist/components/map-view/index.js +1 -1
  318. package/dist/components/message-card/index.js +1 -1
  319. package/dist/components/message-tray/index.js +1 -1
  320. package/dist/components/multi-select/index.js +1 -1
  321. package/dist/components/muscle-scheme/index.d.ts +6 -0
  322. package/dist/components/muscle-scheme/index.js +16 -0
  323. package/dist/components/{anatomy-scheme/anatomy-muscle-paths.d.ts → muscle-scheme/muscle-paths.d.ts} +3 -1
  324. package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
  325. package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
  326. package/dist/components/{anatomy-scheme/anatomy-scheme.d.ts → muscle-scheme/muscle-scheme.d.ts} +24 -27
  327. package/dist/components/nav-grid/index.js +1 -1
  328. package/dist/components/navigation-menu/index.js +1 -1
  329. package/dist/components/notes-panel/index.js +1 -1
  330. package/dist/components/notification-card/index.js +1 -1
  331. package/dist/components/notification-tray/index.js +1 -1
  332. package/dist/components/number-input/index.js +1 -1
  333. package/dist/components/operator-hero/index.js +1 -1
  334. package/dist/components/optical-prescription/index.d.ts +6 -0
  335. package/dist/components/optical-prescription/index.js +38 -0
  336. package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
  337. package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
  338. package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
  339. package/dist/components/pagination/index.js +1 -1
  340. package/dist/components/password-input/index.js +1 -1
  341. package/dist/components/patient-details/index.js +1 -1
  342. package/dist/components/patient-search/index.js +1 -1
  343. package/dist/components/patient-summary-card/index.js +1 -1
  344. package/dist/components/patient-table/index.js +1 -1
  345. package/dist/components/payment-card/index.js +1 -1
  346. package/dist/components/payment-form/index.js +1 -1
  347. package/dist/components/pdf-viewer/index.js +1 -1
  348. package/dist/components/periodontal-chart-card/index.js +1 -1
  349. package/dist/components/permission-matrix/index.js +1 -1
  350. package/dist/components/phone-input/index.js +1 -1
  351. package/dist/components/popover/index.js +1 -1
  352. package/dist/components/postal-code-input/index.js +1 -1
  353. package/dist/components/practice-results/index.js +1 -1
  354. package/dist/components/pregnancy-dating/index.js +1 -1
  355. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  356. package/dist/components/privacy-lock/index.js +1 -1
  357. package/dist/components/product-hub-tray/index.js +1 -1
  358. package/dist/components/province-select/index.js +1 -1
  359. package/dist/components/public-footer/index.js +1 -1
  360. package/dist/components/public-header/index.js +1 -1
  361. package/dist/components/radio-group/index.js +1 -1
  362. package/dist/components/radiograph-panel/index.js +1 -1
  363. package/dist/components/rating/index.js +1 -1
  364. package/dist/components/reviews-panel/index.js +1 -1
  365. package/dist/components/rich-text-editor/index.js +1 -1
  366. package/dist/components/search-bar/index.js +1 -1
  367. package/dist/components/search-input/index.js +1 -1
  368. package/dist/components/select/index.js +1 -1
  369. package/dist/components/session-countdown/index.js +1 -1
  370. package/dist/components/sheet/index.js +1 -1
  371. package/dist/components/sidebar/index.js +1 -1
  372. package/dist/components/sign-document/index.js +1 -1
  373. package/dist/components/signature-field/index.js +1 -1
  374. package/dist/components/smart-date/index.js +1 -1
  375. package/dist/components/stepper-accordion/index.js +1 -1
  376. package/dist/components/streaming-text/index.js +1 -1
  377. package/dist/components/tab-bar/index.js +1 -1
  378. package/dist/components/tabs/index.js +1 -1
  379. package/dist/components/tag/index.js +1 -1
  380. package/dist/components/task-card/index.js +1 -1
  381. package/dist/components/task-tray/index.js +1 -1
  382. package/dist/components/tasks-panel/index.js +1 -1
  383. package/dist/components/text-input/index.js +1 -1
  384. package/dist/components/theme-toggle/index.js +1 -1
  385. package/dist/components/timeline/index.js +1 -1
  386. package/dist/components/toast/index.js +1 -1
  387. package/dist/components/token-insert-menu/index.js +1 -1
  388. package/dist/components/tooth-scheme/index.js +1 -1
  389. package/dist/components/transaction-chip/index.js +1 -1
  390. package/dist/components/transcript-panel/index.js +1 -1
  391. package/dist/components/unit-converter/index.js +1 -1
  392. package/dist/components/warning-stack/index.js +1 -1
  393. package/dist/components/workflow/index.js +1 -1
  394. package/dist/i18n/locales/ar.d.ts +139 -98
  395. package/dist/i18n/locales/ar.js +141 -107
  396. package/dist/i18n/locales/de.d.ts +139 -98
  397. package/dist/i18n/locales/de.js +141 -107
  398. package/dist/i18n/locales/el.d.ts +139 -98
  399. package/dist/i18n/locales/el.js +141 -107
  400. package/dist/i18n/locales/en.d.ts +139 -98
  401. package/dist/i18n/locales/en.js +141 -107
  402. package/dist/i18n/locales/es.d.ts +139 -98
  403. package/dist/i18n/locales/es.js +141 -107
  404. package/dist/i18n/locales/fr.d.ts +139 -98
  405. package/dist/i18n/locales/fr.js +141 -107
  406. package/dist/i18n/locales/hi.d.ts +139 -98
  407. package/dist/i18n/locales/hi.js +141 -107
  408. package/dist/i18n/locales/it.d.ts +139 -98
  409. package/dist/i18n/locales/it.js +141 -107
  410. package/dist/i18n/locales/ja.d.ts +139 -98
  411. package/dist/i18n/locales/ja.js +141 -107
  412. package/dist/i18n/locales/nl.d.ts +139 -98
  413. package/dist/i18n/locales/nl.js +141 -107
  414. package/dist/i18n/locales/pl.d.ts +139 -98
  415. package/dist/i18n/locales/pl.js +141 -107
  416. package/dist/i18n/locales/pt.d.ts +139 -98
  417. package/dist/i18n/locales/pt.js +141 -107
  418. package/dist/i18n/locales/ro.d.ts +139 -98
  419. package/dist/i18n/locales/ro.js +141 -107
  420. package/dist/i18n/locales/ru.d.ts +139 -98
  421. package/dist/i18n/locales/ru.js +141 -107
  422. package/dist/i18n/locales/sq.d.ts +139 -98
  423. package/dist/i18n/locales/sq.js +141 -107
  424. package/dist/i18n/locales/sv.d.ts +139 -98
  425. package/dist/i18n/locales/sv.js +141 -107
  426. package/dist/i18n/locales/tr.d.ts +139 -98
  427. package/dist/i18n/locales/tr.js +141 -107
  428. package/dist/i18n/locales/zh.d.ts +139 -98
  429. package/dist/i18n/locales/zh.js +141 -107
  430. package/dist/index.js +710 -662
  431. package/dist/locales/ar.json +141 -100
  432. package/dist/locales/de.json +141 -100
  433. package/dist/locales/el.json +141 -100
  434. package/dist/locales/en.json +141 -100
  435. package/dist/locales/es.json +141 -100
  436. package/dist/locales/fr.json +141 -100
  437. package/dist/locales/hi.json +141 -100
  438. package/dist/locales/it.json +141 -100
  439. package/dist/locales/ja.json +141 -100
  440. package/dist/locales/nl.json +141 -100
  441. package/dist/locales/pl.json +141 -100
  442. package/dist/locales/pt.json +141 -100
  443. package/dist/locales/ro.json +141 -100
  444. package/dist/locales/ru.json +141 -100
  445. package/dist/locales/sq.json +141 -100
  446. package/dist/locales/sv.json +141 -100
  447. package/dist/locales/tr.json +141 -100
  448. package/dist/locales/zh.json +141 -100
  449. package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
  450. package/dist/patterns/alia-assistant/index.js +1 -1
  451. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  452. package/dist/patterns/patient-shell/index.js +1 -1
  453. package/dist/tokens.css +7 -1
  454. package/package.json +13 -5
  455. package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
  456. package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
  457. package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
  458. package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
  459. package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
  460. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
  461. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
  462. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
  463. package/dist/components/anatomy-scheme/index.d.ts +0 -6
  464. package/dist/components/anatomy-scheme/index.js +0 -17
@@ -1,35 +1,34 @@
1
- import { jsx as e, jsxs as m, Fragment as re } from "react/jsx-runtime";
2
- import { forwardRef as D, useState as L, useMemo as M, useCallback as U, useRef as Se, useEffect as de } from "react";
1
+ import { jsxs as c, jsx as e, Fragment as de } from "react/jsx-runtime";
2
+ import { useId as Se, forwardRef as O, useState as L, useMemo as G, useCallback as U, useRef as Ie, useEffect as re } from "react";
3
3
  import * as Te from "@radix-ui/react-dialog";
4
4
  import { useTranslation as x } from "react-i18next";
5
- import { F as Ie } from "./floating-action-button-pojvb9gG.js";
5
+ import { F as Ee } from "./floating-action-button-pojvb9gG.js";
6
6
  import { I as w } from "./icon-button-LqoiKcUN.js";
7
- import { S as J } from "./sheet-umkfZjF6.js";
8
- import { X as te } from "./x-CCcI3eJp.js";
9
- import { S as Y } from "./sparkles-CuYXqQLg.js";
10
- import { A as F } from "./avatar-BNQNhoyL.js";
7
+ import { S as Z } from "./sheet-B_X54aZo.js";
8
+ import { X as te } from "./x-B5YnXwCz.js";
9
+ import { A as _e } from "./astroid-BN4f5VXU.js";
10
+ import { A as $ } from "./avatar-BNQNhoyL.js";
11
11
  import { B as S } from "./button-DD_0Xdmr.js";
12
- import { C as Ee } from "./chat-container-DWho5hPR.js";
13
- import { C as _e } from "./chat-message-DzpcJR-q.js";
14
- import { C as ne, P as Re } from "./chat-input-BcXTetgM.js";
15
- import { S as Pe } from "./spinner-hbwuKwMf.js";
16
- import { S as Be } from "./streaming-text-BB9mvK4m.js";
12
+ import { C as Re } from "./chat-container-BVCoN06N.js";
13
+ import { C as Pe } from "./chat-message-DXjjM8z9.js";
14
+ import { C as ne, P as Be } from "./chat-input-Btq_uuMZ.js";
15
+ import { S as Ue } from "./streaming-text-Cedc05ya.js";
17
16
  import { a as le, S as oe } from "./suggestion-chip-Bk4PmYTg.js";
18
- import { T as Ue } from "./typing-indicator-DHeVN4ob.js";
19
- import { P as De } from "./progress-DA413-zn.js";
20
- import { P as Fe } from "./pencil-CfQX-0Qc.js";
21
- import { S as Oe } from "./square-CZoGU14v.js";
22
- import { C as $e } from "./check-DPdL_Sm7.js";
23
- import { C as He } from "./copy-B00HK7tj.js";
24
- import { D as We } from "./download-CDF1sbL9.js";
25
- import { R as Xe } from "./refresh-cw-CC8jSKMr.js";
26
- import { c as qe } from "./createLucideIcon-CrFbzy84.js";
27
- import { M as Qe } from "./mic-B4Gog3Gi.js";
28
- import { P as Ke } from "./plus-CYKNmfuA.js";
29
- import { U as Ze } from "./user-CPxpqFjJ.js";
30
- import { a as Je, C as Me } from "./chevrons-right-d9MwesPG.js";
17
+ import { T as Oe } from "./typing-indicator-DHeVN4ob.js";
18
+ import { P as $e } from "./progress-DA413-zn.js";
19
+ import { P as De } from "./pencil-B1sKKyuT.js";
20
+ import { S as Fe } from "./square-DASBRZ0U.js";
21
+ import { C as We } from "./check-DrFSN__t.js";
22
+ import { C as He } from "./copy-vRpqqHtY.js";
23
+ import { D as Xe } from "./download-CfYKJO_j.js";
24
+ import { R as qe } from "./refresh-cw-DnI0cLFC.js";
25
+ import { c as Qe } from "./createLucideIcon-DhHxpK9K.js";
26
+ import { M as Ke } from "./mic-CUklMZGF.js";
27
+ import { P as Me } from "./plus-DzMQ_c6b.js";
28
+ import { U as Ze } from "./user-B12p7bVF.js";
29
+ import { a as Ge, C as Je } from "./chevrons-right-DIHg7Xqi.js";
31
30
  /**
32
- * @license lucide-react v1.8.0 - ISC
31
+ * @license lucide-react v1.22.0 - ISC
33
32
  *
34
33
  * This source code is licensed under the ISC license.
35
34
  * See the LICENSE file in the root directory of this source tree.
@@ -44,7 +43,52 @@ const Ye = [
44
43
  ],
45
44
  ["path", { d: "m14.5 9.5-5 5", key: "17q4r4" }],
46
45
  ["path", { d: "m9.5 9.5 5 5", key: "18nt4w" }]
47
- ], Ge = qe("shield-x", Ye), ce = {
46
+ ], Ve = Qe("shield-x", Ye);
47
+ function J({
48
+ "aria-hidden": s,
49
+ className: i,
50
+ variant: r = "gradient"
51
+ }) {
52
+ const a = `alia-asteroid-gradient-${Se().replace(/:/g, "")}`;
53
+ return /* @__PURE__ */ c(
54
+ "svg",
55
+ {
56
+ xmlns: "http://www.w3.org/2000/svg",
57
+ viewBox: "0 0 24 24",
58
+ fill: "none",
59
+ strokeLinecap: "round",
60
+ strokeLinejoin: "round",
61
+ strokeWidth: "2",
62
+ "aria-hidden": s,
63
+ className: i,
64
+ children: [
65
+ r === "gradient" ? /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c(
66
+ "linearGradient",
67
+ {
68
+ id: a,
69
+ gradientUnits: "userSpaceOnUse",
70
+ x1: "0",
71
+ y1: "12",
72
+ x2: "24",
73
+ y2: "12",
74
+ children: [
75
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: "var(--accent)" }),
76
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: "var(--primary)" })
77
+ ]
78
+ }
79
+ ) }) : null,
80
+ /* @__PURE__ */ e(
81
+ "path",
82
+ {
83
+ d: "M12.983 21.186a1 1 0 0 1-1.966 0 10 10 0 0 0-8.203-8.203 1 1 0 0 1 0-1.966 10 10 0 0 0 8.203-8.203 1 1 0 0 1 1.966 0 10 10 0 0 0 8.203 8.203 1 1 0 0 1 0 1.966 10 10 0 0 0-8.203 8.203",
84
+ stroke: r === "gradient" ? `url(#${a})` : "currentColor"
85
+ }
86
+ )
87
+ ]
88
+ }
89
+ );
90
+ }
91
+ const ce = {
48
92
  sm: {
49
93
  box: "ds:size-[calc(var(--spacing-md)*2)]",
50
94
  icon: "ds:size-4"
@@ -58,25 +102,37 @@ const Ye = [
58
102
  icon: "ds:size-8"
59
103
  }
60
104
  };
61
- function T({
105
+ function I({
62
106
  size: s,
63
107
  label: i,
64
- appearance: t = "sparkle",
108
+ appearance: r = "sparkle",
65
109
  loading: d = !1
66
110
  }) {
67
111
  const a = ce[s];
68
- return t === "spinner" ? /* @__PURE__ */ e(
112
+ return r === "spinner" ? /* @__PURE__ */ e(
69
113
  "span",
70
114
  {
71
115
  role: "img",
72
116
  "aria-label": i,
73
- className: "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center ds:text-[color:var(--primary)]",
117
+ className: [
118
+ "ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
119
+ "ds:rounded-[var(--radius-full)]",
120
+ "ds:bg-gradient-to-r ds:from-[var(--accent)] ds:to-[var(--primary)]",
121
+ // --primary-foreground: white on light (dark disc), navy in dark
122
+ // (bright disc) — correct WCAG contrast in both themes automatically.
123
+ "ds:text-[color:var(--primary-foreground)]",
124
+ "ds:forced-colors:bg-transparent ds:forced-colors:border ds:forced-colors:border-[CanvasText]",
125
+ a.box
126
+ ].join(" "),
74
127
  children: /* @__PURE__ */ e(
75
- Pe,
128
+ J,
76
129
  {
77
130
  "aria-hidden": !0,
78
- variant: d ? "pulse" : "static",
79
- className: a.box
131
+ variant: "mono",
132
+ className: [
133
+ a.icon,
134
+ d ? "ds:animate-spin ds:motion-reduce:animate-none" : ""
135
+ ].filter(Boolean).join(" ")
80
136
  }
81
137
  )
82
138
  }
@@ -97,15 +153,15 @@ function T({
97
153
  "ds:forced-colors:bg-transparent ds:forced-colors:border ds:forced-colors:border-[CanvasText]",
98
154
  a.box
99
155
  ].join(" "),
100
- children: /* @__PURE__ */ e(Y, { "aria-hidden": "true", className: a.icon })
156
+ children: /* @__PURE__ */ e(J, { "aria-hidden": "true", className: a.icon })
101
157
  }
102
158
  );
103
159
  }
104
- function Ve({
160
+ function Ae({
105
161
  size: s,
106
162
  label: i
107
163
  }) {
108
- const t = ce[s];
164
+ const r = ce[s];
109
165
  return /* @__PURE__ */ e(
110
166
  "span",
111
167
  {
@@ -117,14 +173,14 @@ function Ve({
117
173
  "ds:bg-[color-mix(in_srgb,var(--muted-foreground)_14%,transparent)]",
118
174
  "ds:text-[color:var(--muted-foreground)]",
119
175
  "ds:forced-colors:bg-transparent ds:forced-colors:border ds:forced-colors:border-[CanvasText]",
120
- t.box
176
+ r.box
121
177
  ].join(" "),
122
- children: /* @__PURE__ */ e(Ze, { "aria-hidden": "true", className: t.icon })
178
+ children: /* @__PURE__ */ e(Ze, { "aria-hidden": "true", className: r.icon })
123
179
  }
124
180
  );
125
181
  }
126
- function Ae({ note: s }) {
127
- return /* @__PURE__ */ m(
182
+ function es({ note: s }) {
183
+ return /* @__PURE__ */ c(
128
184
  "div",
129
185
  {
130
186
  role: "status",
@@ -135,7 +191,7 @@ function Ae({ note: s }) {
135
191
  "data-testid": "alia-ended-divider",
136
192
  children: [
137
193
  /* @__PURE__ */ e(
138
- Ge,
194
+ Ve,
139
195
  {
140
196
  "aria-hidden": "true",
141
197
  className: "ds:size-5 ds:text-[color:var(--destructive)]"
@@ -146,19 +202,19 @@ function Ae({ note: s }) {
146
202
  }
147
203
  );
148
204
  }
149
- function es(s, i) {
150
- return s ? s.slot ? { slot: s.slot } : { name: s.name, src: s.src } : { slot: /* @__PURE__ */ e(Ve, { size: "sm", label: i }) };
205
+ function ss(s, i) {
206
+ return s ? s.slot ? { slot: s.slot } : { name: s.name, src: s.src } : { slot: /* @__PURE__ */ e(Ae, { size: "sm", label: i }) };
151
207
  }
152
- function ss({
208
+ function as({
153
209
  assistantName: s,
154
210
  avatarSrc: i,
155
- greeting: t,
211
+ greeting: r,
156
212
  subtitle: d,
157
213
  suggestions: a,
158
214
  onSuggestion: l
159
215
  }) {
160
216
  const { t: p } = x(), n = "alia-empty-state-heading";
161
- return /* @__PURE__ */ m(
217
+ return /* @__PURE__ */ c(
162
218
  "section",
163
219
  {
164
220
  "aria-labelledby": n,
@@ -171,21 +227,21 @@ function ss({
171
227
  ].join(" "),
172
228
  "data-testid": "alia-empty-state",
173
229
  children: [
174
- i ? /* @__PURE__ */ e(F, { name: s, src: i, size: "xl" }) : /* @__PURE__ */ e(
175
- T,
230
+ i ? /* @__PURE__ */ e($, { name: s, src: i, size: "xl" }) : /* @__PURE__ */ e(
231
+ I,
176
232
  {
177
233
  size: "xl",
178
234
  label: s,
179
235
  appearance: "spinner"
180
236
  }
181
237
  ),
182
- /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-xs)] ds:max-w-[32rem]", children: [
238
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-xs)] ds:max-w-[32rem]", children: [
183
239
  /* @__PURE__ */ e(
184
240
  "h2",
185
241
  {
186
242
  id: n,
187
243
  className: "type-title-section ds:m-0 ds:text-[color:var(--foreground)]",
188
- children: t
244
+ children: r
189
245
  }
190
246
  ),
191
247
  /* @__PURE__ */ e("p", { className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", children: d })
@@ -195,16 +251,16 @@ function ss({
195
251
  {
196
252
  label: p("alia.exampleQuestions"),
197
253
  className: "ds:justify-center",
198
- children: a.map((c) => /* @__PURE__ */ e(
254
+ children: a.map((m) => /* @__PURE__ */ e(
199
255
  oe,
200
256
  {
201
257
  intent: "suggestion",
202
- startIcon: c.icon,
258
+ startIcon: m.icon,
203
259
  keepOnSelect: !0,
204
- onSelect: () => l == null ? void 0 : l(c),
205
- children: c.label
260
+ onSelect: () => l == null ? void 0 : l(m),
261
+ children: m.label
206
262
  },
207
- c.id
263
+ m.id
208
264
  ))
209
265
  }
210
266
  ) }) : null
@@ -212,28 +268,28 @@ function ss({
212
268
  }
213
269
  );
214
270
  }
215
- function as({
271
+ function is({
216
272
  message: s,
217
273
  assistantName: i,
218
- avatarSrc: t,
274
+ avatarSrc: r,
219
275
  renderMarkdown: d
220
276
  }) {
221
- const { t: a, i18n: l } = x(), p = a("chat.message.role.assistant"), n = M(() => {
277
+ const { t: a, i18n: l } = x(), p = a("chat.message.role.assistant"), n = G(() => {
222
278
  if (!s.timestamp) return null;
223
279
  const o = s.timestamp instanceof Date ? s.timestamp : new Date(s.timestamp);
224
280
  return Number.isNaN(o.getTime()) ? null : new Intl.DateTimeFormat(l.language, {
225
281
  hour: "2-digit",
226
282
  minute: "2-digit"
227
283
  }).format(o);
228
- }, [s.timestamp, l.language]), c = n ? a("chat.message.label", { role: p, time: n }) : a("chat.message.labelNoTime", { role: p });
229
- return /* @__PURE__ */ m(
284
+ }, [s.timestamp, l.language]), m = n ? a("chat.message.label", { role: p, time: n }) : a("chat.message.labelNoTime", { role: p });
285
+ return /* @__PURE__ */ c(
230
286
  "article",
231
287
  {
232
- "aria-label": c,
288
+ "aria-label": m,
233
289
  className: "ds:flex ds:w-full ds:items-start ds:flex-row ds:gap-[var(--spacing-sm)]",
234
290
  children: [
235
- t ? /* @__PURE__ */ e(F, { name: i, src: t, size: "sm" }) : /* @__PURE__ */ e(
236
- T,
291
+ r ? /* @__PURE__ */ e($, { name: i, src: r, size: "sm" }) : /* @__PURE__ */ e(
292
+ I,
237
293
  {
238
294
  size: "sm",
239
295
  label: i,
@@ -255,7 +311,7 @@ function as({
255
311
  "ds:rounded-[var(--radius-md)] ds:rounded-es-[var(--radius-sm)]"
256
312
  ].join(" "),
257
313
  children: /* @__PURE__ */ e(
258
- Be,
314
+ Ue,
259
315
  {
260
316
  content: s.content,
261
317
  isStreaming: !0,
@@ -268,15 +324,15 @@ function as({
268
324
  }
269
325
  );
270
326
  }
271
- function is({
327
+ function rs({
272
328
  assistantName: s,
273
329
  avatarSrc: i,
274
- onNewConversation: t,
330
+ onNewConversation: r,
275
331
  headerEndSlot: d,
276
332
  density: a
277
333
  }) {
278
334
  const { t: l } = x();
279
- return /* @__PURE__ */ m(
335
+ return /* @__PURE__ */ c(
280
336
  "header",
281
337
  {
282
338
  "aria-label": l("alia.headerLabel"),
@@ -293,14 +349,14 @@ function is({
293
349
  "data-testid": "alia-header",
294
350
  children: [
295
351
  i ? /* @__PURE__ */ e(
296
- F,
352
+ $,
297
353
  {
298
354
  name: s,
299
355
  src: i,
300
356
  size: a === "compact" ? "sm" : "md"
301
357
  }
302
358
  ) : /* @__PURE__ */ e(
303
- T,
359
+ I,
304
360
  {
305
361
  size: a === "compact" ? "sm" : "md",
306
362
  label: s,
@@ -308,14 +364,14 @@ function is({
308
364
  }
309
365
  ),
310
366
  /* @__PURE__ */ e("span", { className: "type-title-item ds:text-[color:var(--foreground)]", children: s }),
311
- /* @__PURE__ */ m("div", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
312
- t ? /* @__PURE__ */ e(
367
+ /* @__PURE__ */ c("div", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
368
+ r ? /* @__PURE__ */ e(
313
369
  S,
314
370
  {
315
371
  intent: "ghost",
316
372
  size: "sm",
317
- startIcon: /* @__PURE__ */ e(Ke, { "aria-hidden": "true" }),
318
- onClick: t,
373
+ startIcon: /* @__PURE__ */ e(Me, { "aria-hidden": "true" }),
374
+ onClick: r,
319
375
  children: l("alia.newConversation")
320
376
  }
321
377
  ) : null,
@@ -329,51 +385,51 @@ function ds(s) {
329
385
  var i;
330
386
  return typeof navigator > "u" || typeof ((i = navigator.clipboard) == null ? void 0 : i.writeText) != "function" ? Promise.resolve(!1) : navigator.clipboard.writeText(s).then(() => !0).catch(() => !1);
331
387
  }
332
- function rs(s, i) {
388
+ function ts(s, i) {
333
389
  if (typeof window > "u" || typeof URL > "u" || typeof URL.createObjectURL != "function")
334
390
  return;
335
- const t = new Blob([s], { type: "text/markdown;charset=utf-8" }), d = URL.createObjectURL(t), a = document.createElement("a");
391
+ const r = new Blob([s], { type: "text/markdown;charset=utf-8" }), d = URL.createObjectURL(r), a = document.createElement("a");
336
392
  a.href = d, a.download = i, document.body.appendChild(a), a.click(), a.remove(), URL.revokeObjectURL(d);
337
393
  }
338
- function ts(s) {
394
+ function ns(s) {
339
395
  const i = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10);
340
396
  return `${s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "assistant"}-prompt-${i}.md`;
341
397
  }
342
- const ns = () => {
398
+ const ls = () => {
343
399
  var s;
344
400
  return typeof navigator < "u" && typeof ((s = navigator.clipboard) == null ? void 0 : s.writeText) == "function";
345
401
  };
346
- function ls({
402
+ function os({
347
403
  message: s,
348
404
  actions: i,
349
- assistantName: t,
405
+ assistantName: r,
350
406
  canRegenerate: d,
351
407
  onCopyMessage: a,
352
408
  onDownloadMessage: l,
353
409
  onRegenerate: p
354
410
  }) {
355
- const { t: n } = x(), [c, o] = L(!1), r = U(() => {
411
+ const { t: n } = x(), [m, o] = L(!1), t = U(() => {
356
412
  ds(s.content).then((v) => {
357
413
  v && (o(!0), setTimeout(() => o(!1), 2e3), a == null || a(s.id));
358
414
  });
359
415
  }, [s.content, s.id, a]), g = U(() => {
360
- rs(s.content, ts(t)), l == null || l(s.id);
361
- }, [s.content, s.id, t, l]);
362
- return /* @__PURE__ */ m(re, { children: [
363
- i.includes("copy") && ns() ? /* @__PURE__ */ e(
416
+ ts(s.content, ns(r)), l == null || l(s.id);
417
+ }, [s.content, s.id, r, l]);
418
+ return /* @__PURE__ */ c(de, { children: [
419
+ i.includes("copy") && ls() ? /* @__PURE__ */ e(
364
420
  w,
365
421
  {
366
- icon: c ? /* @__PURE__ */ e($e, {}) : /* @__PURE__ */ e(He, {}),
367
- "aria-label": n(c ? "alia.copied" : "alia.copyMessage"),
422
+ icon: m ? /* @__PURE__ */ e(We, {}) : /* @__PURE__ */ e(He, {}),
423
+ "aria-label": n(m ? "alia.copied" : "alia.copyMessage"),
368
424
  intent: "ghost",
369
425
  size: "sm",
370
- onClick: r
426
+ onClick: t
371
427
  }
372
428
  ) : null,
373
429
  i.includes("download") ? /* @__PURE__ */ e(
374
430
  w,
375
431
  {
376
- icon: /* @__PURE__ */ e(We, {}),
432
+ icon: /* @__PURE__ */ e(Xe, {}),
377
433
  "aria-label": n("alia.downloadMessage"),
378
434
  intent: "ghost",
379
435
  size: "sm",
@@ -383,27 +439,27 @@ function ls({
383
439
  d && p ? /* @__PURE__ */ e(
384
440
  w,
385
441
  {
386
- icon: /* @__PURE__ */ e(Xe, {}),
442
+ icon: /* @__PURE__ */ e(qe, {}),
387
443
  "aria-label": n("alia.regenerate"),
388
444
  intent: "ghost",
389
445
  size: "sm",
390
446
  onClick: () => p(s.id)
391
447
  }
392
448
  ) : null,
393
- /* @__PURE__ */ e("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: c ? n("alia.copied") : "" })
449
+ /* @__PURE__ */ e("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: m ? n("alia.copied") : "" })
394
450
  ] });
395
451
  }
396
- function os({
452
+ function cs({
397
453
  attachments: s,
398
454
  onRemove: i
399
455
  }) {
400
- const { t } = x();
456
+ const { t: r } = x();
401
457
  return s.length === 0 ? null : /* @__PURE__ */ e(
402
458
  "ul",
403
459
  {
404
- "aria-label": t("alia.attachmentsLabel"),
460
+ "aria-label": r("alia.attachmentsLabel"),
405
461
  className: "ds:m-0 ds:flex ds:list-none ds:flex-wrap ds:gap-[var(--spacing-xs)] ds:p-0",
406
- children: s.map((d) => /* @__PURE__ */ m(
462
+ children: s.map((d) => /* @__PURE__ */ c(
407
463
  "li",
408
464
  {
409
465
  className: [
@@ -414,7 +470,7 @@ function os({
414
470
  ].join(" "),
415
471
  children: [
416
472
  /* @__PURE__ */ e(
417
- Re,
473
+ Be,
418
474
  {
419
475
  "aria-hidden": "true",
420
476
  className: "ds:size-3.5 ds:text-[color:var(--muted-foreground)]"
@@ -425,7 +481,7 @@ function os({
425
481
  w,
426
482
  {
427
483
  icon: /* @__PURE__ */ e(te, {}),
428
- "aria-label": t("alia.removeAttachment", { name: d.name }),
484
+ "aria-label": r("alia.removeAttachment", { name: d.name }),
429
485
  intent: "ghost",
430
486
  size: "sm",
431
487
  onClick: () => i(d.id)
@@ -443,55 +499,55 @@ function me() {
443
499
  const s = window;
444
500
  return s.SpeechRecognition ?? s.webkitSpeechRecognition;
445
501
  }
446
- function cs({
502
+ function ms({
447
503
  lang: s,
448
504
  disabled: i,
449
- onTranscript: t
505
+ onTranscript: r
450
506
  }) {
451
- const { t: d } = x(), [a, l] = L(!1), p = Se(null), n = U(() => {
507
+ const { t: d } = x(), [a, l] = L(!1), p = Ie(null), n = U(() => {
452
508
  var o;
453
509
  (o = p.current) == null || o.stop(), l(!1);
454
- }, []), c = U(() => {
510
+ }, []), m = U(() => {
455
511
  const o = me();
456
512
  if (!o) return;
457
- const r = new o();
458
- r.lang = s, r.continuous = !1, r.interimResults = !1, r.onresult = (g) => {
513
+ const t = new o();
514
+ t.lang = s, t.continuous = !1, t.interimResults = !1, t.onresult = (g) => {
459
515
  let v = "";
460
516
  for (let C = 0; C < g.results.length; C++)
461
517
  v += g.results[C][0].transcript;
462
- v && t(v);
463
- }, r.onend = () => l(!1), r.onerror = () => l(!1), p.current = r, r.start(), l(!0);
464
- }, [s, t]);
465
- return de(() => {
518
+ v && r(v);
519
+ }, t.onend = () => l(!1), t.onerror = () => l(!1), p.current = t, t.start(), l(!0);
520
+ }, [s, r]);
521
+ return re(() => {
466
522
  if (!a) return;
467
- const o = (r) => {
468
- r.key === "Escape" && n();
523
+ const o = (t) => {
524
+ t.key === "Escape" && n();
469
525
  };
470
526
  return window.addEventListener("keydown", o), () => window.removeEventListener("keydown", o);
471
- }, [a, n]), de(() => () => {
527
+ }, [a, n]), re(() => () => {
472
528
  var o;
473
529
  return (o = p.current) == null ? void 0 : o.stop();
474
530
  }, []), /* @__PURE__ */ e(
475
531
  w,
476
532
  {
477
- icon: /* @__PURE__ */ e(Qe, {}),
533
+ icon: /* @__PURE__ */ e(Ke, {}),
478
534
  "aria-label": d(a ? "alia.dictateStop" : "alia.dictate"),
479
535
  "aria-pressed": a,
480
536
  intent: a ? "primary" : "ghost",
481
537
  size: "sm",
482
538
  disabled: i,
483
- onClick: () => a ? n() : c(),
539
+ onClick: () => a ? n() : m(),
484
540
  className: a ? "ds:motion-safe:animate-pulse ds:motion-reduce:animate-none ds:[.theme-accessible_&]:animate-none" : void 0
485
541
  }
486
542
  );
487
543
  }
488
- function ms({
544
+ function ps({
489
545
  initialText: s,
490
546
  onSave: i,
491
- onCancel: t
547
+ onCancel: r
492
548
  }) {
493
549
  const { t: d } = x(), [a, l] = L(s);
494
- return /* @__PURE__ */ m(
550
+ return /* @__PURE__ */ c(
495
551
  "div",
496
552
  {
497
553
  className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-xs)]",
@@ -508,8 +564,8 @@ function ms({
508
564
  minRows: 2
509
565
  }
510
566
  ),
511
- /* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)]", children: [
512
- /* @__PURE__ */ e(S, { intent: "ghost", size: "sm", onClick: t, children: d("alia.cancelEdit") }),
567
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)]", children: [
568
+ /* @__PURE__ */ e(S, { intent: "ghost", size: "sm", onClick: r, children: d("alia.cancelEdit") }),
513
569
  /* @__PURE__ */ e(
514
570
  S,
515
571
  {
@@ -525,63 +581,63 @@ function ms({
525
581
  }
526
582
  );
527
583
  }
528
- const O = D(
584
+ const D = O(
529
585
  ({
530
586
  messages: s,
531
587
  onSend: i,
532
- onRetry: t,
588
+ onRetry: r,
533
589
  onSuggestion: d,
534
590
  suggestions: a,
535
591
  isGenerating: l = !1,
536
592
  onStopGenerating: p,
537
593
  usage: n,
538
- onUpgrade: c,
594
+ onUpgrade: m,
539
595
  assistantName: o,
540
- assistantAvatar: r,
596
+ assistantAvatar: t,
541
597
  userAvatar: g,
542
598
  greeting: v,
543
599
  subtitle: C,
544
600
  density: k = "default",
545
- renderMarkdown: $ = !0,
601
+ renderMarkdown: F = !0,
546
602
  onNewConversation: pe,
547
603
  onAttach: ue,
548
604
  acceptedFileTypes: fe,
549
605
  headerEndSlot: he,
550
606
  hideHeader: ge = !1,
551
- ended: I,
607
+ ended: T,
552
608
  messageActions: E,
553
- onCopyMessage: G,
609
+ onCopyMessage: Y,
554
610
  onDownloadMessage: V,
555
611
  voiceInput: ve,
556
- onVoiceTranscript: H,
557
- attachments: W,
612
+ onVoiceTranscript: W,
613
+ attachments: H,
558
614
  onRemoveAttachment: be,
559
615
  showScrollToLatest: xe,
560
616
  onRegenerate: _,
561
617
  onEditMessage: R
562
618
  }, Ne) => {
563
- const { t: h, i18n: we } = x(), [A, X] = L(null), [ye, q] = L(""), P = !!ve && me() != null, Q = M(() => {
619
+ const { t: h, i18n: we } = x(), [A, X] = L(null), [ye, q] = L(""), P = !!ve && me() != null, Q = G(() => {
564
620
  for (let f = s.length - 1; f >= 0; f--) {
565
621
  const b = s[f];
566
622
  if (b.role === "assistant" && !b.streaming) return b.id;
567
623
  }
568
- }, [s]), j = I != null, N = o ?? h("alia.name"), Ce = v ?? h("alia.greeting"), ke = C ?? h("alia.subtitle"), y = s[s.length - 1], B = (y == null ? void 0 : y.role) === "assistant" && y.streaming === !0, ee = B ? s.slice(0, -1) : s, ze = M(() => {
624
+ }, [s]), j = T != null, N = o ?? h("alia.name"), Ce = v ?? h("alia.greeting"), ke = C ?? h("alia.subtitle"), y = s[s.length - 1], B = (y == null ? void 0 : y.role) === "assistant" && y.streaming === !0, ee = B ? s.slice(0, -1) : s, ze = G(() => {
569
625
  const f = h("chat.message.role.user"), b = ee.map((u) => {
570
626
  let K;
571
- if (u.role === "assistant" ? K = r != null && r.src ? { name: N, src: r.src } : {
627
+ if (u.role === "assistant" ? K = t != null && t.src ? { name: N, src: t.src } : {
572
628
  slot: /* @__PURE__ */ e(
573
- T,
629
+ I,
574
630
  {
575
631
  size: "sm",
576
632
  label: N,
577
633
  appearance: "spinner"
578
634
  }
579
635
  )
580
- } : u.role === "user" && (K = es(g, f)), u.role === "user" && R && A === u.id)
636
+ } : u.role === "user" && (K = ss(g, f)), u.role === "user" && R && A === u.id)
581
637
  return {
582
638
  id: u.id,
583
639
  node: /* @__PURE__ */ e(
584
- ms,
640
+ ps,
585
641
  {
586
642
  initialText: u.content,
587
643
  onSave: (Le) => {
@@ -591,22 +647,22 @@ const O = D(
591
647
  }
592
648
  )
593
649
  };
594
- let Z;
595
- return u.role === "assistant" && (E && E.length > 0 || _ && u.id === Q) ? Z = /* @__PURE__ */ e(
596
- ls,
650
+ let M;
651
+ return u.role === "assistant" && (E && E.length > 0 || _ && u.id === Q) ? M = /* @__PURE__ */ e(
652
+ os,
597
653
  {
598
654
  message: u,
599
655
  actions: E ?? [],
600
656
  assistantName: N,
601
657
  canRegenerate: !!_ && u.id === Q,
602
- onCopyMessage: G,
658
+ onCopyMessage: Y,
603
659
  onDownloadMessage: V,
604
660
  onRegenerate: _
605
661
  }
606
- ) : u.role === "user" && R && (Z = /* @__PURE__ */ e(
662
+ ) : u.role === "user" && R && (M = /* @__PURE__ */ e(
607
663
  w,
608
664
  {
609
- icon: /* @__PURE__ */ e(Fe, {}),
665
+ icon: /* @__PURE__ */ e(De, {}),
610
666
  "aria-label": h("alia.editMessage"),
611
667
  intent: "ghost",
612
668
  size: "sm",
@@ -615,7 +671,7 @@ const O = D(
615
671
  )), {
616
672
  id: u.id,
617
673
  node: /* @__PURE__ */ e(
618
- _e,
674
+ Pe,
619
675
  {
620
676
  role: u.role,
621
677
  content: u.content,
@@ -623,9 +679,9 @@ const O = D(
623
679
  avatar: K,
624
680
  timestamp: u.timestamp,
625
681
  status: u.status,
626
- renderMarkdown: $,
627
- onRetry: t ? () => t(u.id) : void 0,
628
- actions: Z
682
+ renderMarkdown: F,
683
+ onRetry: r ? () => r(u.id) : void 0,
684
+ actions: M
629
685
  }
630
686
  )
631
687
  };
@@ -633,26 +689,26 @@ const O = D(
633
689
  return B && y && b.push({
634
690
  id: y.id,
635
691
  node: /* @__PURE__ */ e(
636
- as,
692
+ is,
637
693
  {
638
694
  message: y,
639
695
  assistantName: N,
640
- avatarSrc: r == null ? void 0 : r.src,
641
- renderMarkdown: $
696
+ avatarSrc: t == null ? void 0 : t.src,
697
+ renderMarkdown: F
642
698
  }
643
699
  )
644
700
  }), l && !B && b.push({
645
701
  id: "__alia-typing__",
646
- node: /* @__PURE__ */ m("div", { className: "ds:flex ds:w-full ds:items-start ds:gap-[var(--spacing-sm)]", children: [
647
- r != null && r.src ? /* @__PURE__ */ e(
648
- F,
702
+ node: /* @__PURE__ */ c("div", { className: "ds:flex ds:w-full ds:items-start ds:gap-[var(--spacing-sm)]", children: [
703
+ t != null && t.src ? /* @__PURE__ */ e(
704
+ $,
649
705
  {
650
706
  name: N,
651
- src: r.src,
707
+ src: t.src,
652
708
  size: "sm"
653
709
  }
654
710
  ) : /* @__PURE__ */ e(
655
- T,
711
+ I,
656
712
  {
657
713
  size: "sm",
658
714
  label: N,
@@ -668,13 +724,13 @@ const O = D(
668
724
  "ds:rounded-[var(--radius-md)] ds:rounded-es-[var(--radius-sm)]",
669
725
  "ds:bg-muted/40"
670
726
  ].join(" "),
671
- children: /* @__PURE__ */ e(Ue, { label: h("chat.typing"), density: k })
727
+ children: /* @__PURE__ */ e(Oe, { label: h("chat.typing"), density: k })
672
728
  }
673
729
  )
674
730
  ] })
675
- }), I && b.push({
731
+ }), T && b.push({
676
732
  id: "__alia-ended__",
677
- node: /* @__PURE__ */ e(Ae, { note: I.note })
733
+ node: /* @__PURE__ */ e(es, { note: T.note })
678
734
  }), b;
679
735
  }, [
680
736
  ee,
@@ -682,19 +738,19 @@ const O = D(
682
738
  y,
683
739
  l,
684
740
  N,
685
- r == null ? void 0 : r.src,
741
+ t == null ? void 0 : t.src,
686
742
  g,
687
- $,
688
- t,
743
+ F,
744
+ r,
689
745
  k,
690
- I,
746
+ T,
691
747
  h,
692
748
  A,
693
749
  R,
694
750
  E,
695
751
  _,
696
752
  Q,
697
- G,
753
+ Y,
698
754
  V
699
755
  ]), je = n ? Math.min(
700
756
  100,
@@ -702,9 +758,9 @@ const O = D(
702
758
  ) : 0, z = n ? n.current >= n.limit : !1, se = n ? n.label ?? h("alia.usageLabel", {
703
759
  current: n.current,
704
760
  limit: n.limit
705
- }) : null, ae = s.length === 0 && !l && !j, ie = /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
706
- n ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
707
- /* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
761
+ }) : null, ae = s.length === 0 && !l && !j, ie = /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
762
+ n ? /* @__PURE__ */ c("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
763
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
708
764
  /* @__PURE__ */ e(
709
765
  "span",
710
766
  {
@@ -716,10 +772,10 @@ const O = D(
716
772
  children: z ? h("alia.usageLimitReached") : se
717
773
  }
718
774
  ),
719
- z && c ? /* @__PURE__ */ e(S, { intent: "primary", size: "sm", onClick: c, children: h("alia.upgrade") }) : null
775
+ z && m ? /* @__PURE__ */ e(S, { intent: "primary", size: "sm", onClick: m, children: h("alia.upgrade") }) : null
720
776
  ] }),
721
777
  /* @__PURE__ */ e(
722
- De,
778
+ $e,
723
779
  {
724
780
  value: je,
725
781
  max: 100,
@@ -751,14 +807,14 @@ const O = D(
751
807
  ))
752
808
  }
753
809
  ) : null,
754
- W && W.length > 0 ? /* @__PURE__ */ e(
755
- os,
810
+ H && H.length > 0 ? /* @__PURE__ */ e(
811
+ cs,
756
812
  {
757
- attachments: W,
813
+ attachments: H,
758
814
  onRemove: be
759
815
  }
760
816
  ) : null,
761
- /* @__PURE__ */ m("div", { className: "ds:flex ds:items-end ds:gap-[var(--spacing-sm)]", children: [
817
+ /* @__PURE__ */ c("div", { className: "ds:flex ds:items-end ds:gap-[var(--spacing-sm)]", children: [
762
818
  /* @__PURE__ */ e("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ e(
763
819
  ne,
764
820
  {
@@ -772,12 +828,12 @@ const O = D(
772
828
  accept: fe,
773
829
  disabled: z || j,
774
830
  toolbar: P ? /* @__PURE__ */ e(
775
- cs,
831
+ ms,
776
832
  {
777
833
  lang: we.language,
778
834
  disabled: z || j,
779
835
  onTranscript: (f) => {
780
- H == null || H(f), q(
836
+ W == null || W(f), q(
781
837
  (b) => b ? `${b} ${f}` : f
782
838
  );
783
839
  }
@@ -791,7 +847,7 @@ const O = D(
791
847
  {
792
848
  intent: "outline",
793
849
  size: "sm",
794
- startIcon: /* @__PURE__ */ e(Oe, { "aria-hidden": "true" }),
850
+ startIcon: /* @__PURE__ */ e(Fe, { "aria-hidden": "true" }),
795
851
  onClick: p,
796
852
  "aria-label": h("alia.stopGenerating"),
797
853
  children: h("alia.stopGenerating")
@@ -799,7 +855,7 @@ const O = D(
799
855
  ) : null
800
856
  ] })
801
857
  ] });
802
- return /* @__PURE__ */ m(
858
+ return /* @__PURE__ */ c(
803
859
  "div",
804
860
  {
805
861
  ref: Ne,
@@ -810,21 +866,21 @@ const O = D(
810
866
  "data-testid": "alia-surface",
811
867
  children: [
812
868
  ge ? null : /* @__PURE__ */ e(
813
- is,
869
+ rs,
814
870
  {
815
871
  assistantName: N,
816
- avatarSrc: r == null ? void 0 : r.src,
872
+ avatarSrc: t == null ? void 0 : t.src,
817
873
  onNewConversation: pe,
818
874
  headerEndSlot: he,
819
875
  density: k
820
876
  }
821
877
  ),
822
- ae ? /* @__PURE__ */ m(re, { children: [
878
+ ae ? /* @__PURE__ */ c(de, { children: [
823
879
  /* @__PURE__ */ e(
824
- ss,
880
+ as,
825
881
  {
826
882
  assistantName: N,
827
- avatarSrc: r == null ? void 0 : r.src,
883
+ avatarSrc: t == null ? void 0 : t.src,
828
884
  greeting: Ce,
829
885
  subtitle: ke,
830
886
  suggestions: a,
@@ -849,7 +905,7 @@ const O = D(
849
905
  }
850
906
  )
851
907
  ] }) : /* @__PURE__ */ e(
852
- Ee,
908
+ Re,
853
909
  {
854
910
  messages: ze,
855
911
  density: k,
@@ -863,12 +919,12 @@ const O = D(
863
919
  );
864
920
  }
865
921
  );
866
- O.displayName = "AliaChatSurface";
867
- const ps = D(
868
- ({ headerSlot: s, ...i }, t) => /* @__PURE__ */ m(
922
+ D.displayName = "AliaChatSurface";
923
+ const us = O(
924
+ ({ headerSlot: s, ...i }, r) => /* @__PURE__ */ c(
869
925
  "div",
870
926
  {
871
- ref: t,
927
+ ref: r,
872
928
  className: [
873
929
  "ds:flex ds:min-h-0 ds:flex-1 ds:flex-col",
874
930
  "ds:bg-[var(--background)] ds:text-[color:var(--foreground)]",
@@ -896,38 +952,38 @@ const ps = D(
896
952
  "ds:[max-inline-size:48rem]",
897
953
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
898
954
  ].join(" "),
899
- children: /* @__PURE__ */ e(O, { ...i })
955
+ children: /* @__PURE__ */ e(D, { ...i })
900
956
  }
901
957
  ) })
902
958
  ]
903
959
  }
904
960
  )
905
961
  );
906
- ps.displayName = "AliaEmbedded";
907
- function us(s) {
962
+ us.displayName = "AliaEmbedded";
963
+ function fs(s) {
908
964
  return s > 99 ? "99+" : String(s);
909
965
  }
910
- const fs = D(
966
+ const hs = O(
911
967
  ({
912
968
  open: s,
913
969
  onOpenChange: i,
914
- position: t = "bottom-end",
970
+ position: r = "bottom-end",
915
971
  unseenCount: d,
916
972
  assistantName: a,
917
973
  assistantAvatar: l,
918
974
  ...p
919
975
  }, n) => {
920
- const { t: c } = x(), o = a || c("alia.name"), r = typeof d == "number" && d > 0, g = r ? c("alia.unseenCount", { count: d }) : c("alia.open"), v = /* @__PURE__ */ e(Te.Close, { asChild: !0, children: /* @__PURE__ */ e(
976
+ const { t: m } = x(), o = a || m("alia.name"), t = typeof d == "number" && d > 0, g = t ? m("alia.unseenCount", { count: d }) : m("alia.open"), v = /* @__PURE__ */ e(Te.Close, { asChild: !0, children: /* @__PURE__ */ e(
921
977
  w,
922
978
  {
923
979
  icon: /* @__PURE__ */ e(te, { "aria-hidden": "true" }),
924
980
  intent: "ghost",
925
981
  size: "sm",
926
- "aria-label": c("alia.close"),
982
+ "aria-label": m("alia.close"),
927
983
  "data-testid": "alia-popout-close"
928
984
  }
929
985
  ) });
930
- return /* @__PURE__ */ m(J.Root, { open: s, onOpenChange: i, children: [
986
+ return /* @__PURE__ */ c(Z.Root, { open: s, onOpenChange: i, children: [
931
987
  /* @__PURE__ */ e(
932
988
  "div",
933
989
  {
@@ -935,14 +991,14 @@ const fs = D(
935
991
  className: [
936
992
  "ds:fixed ds:z-[var(--z-fixed)]",
937
993
  "ds:bottom-[calc(var(--spacing-lg)+env(safe-area-inset-bottom,0px))]",
938
- t === "bottom-end" ? "ds:end-[var(--spacing-lg)]" : "ds:start-[var(--spacing-lg)]"
994
+ r === "bottom-end" ? "ds:end-[var(--spacing-lg)]" : "ds:start-[var(--spacing-lg)]"
939
995
  ].join(" "),
940
996
  "data-testid": "alia-popout-fab-wrapper",
941
- children: /* @__PURE__ */ m("div", { className: "ds:relative", children: [
997
+ children: /* @__PURE__ */ c("div", { className: "ds:relative", children: [
942
998
  /* @__PURE__ */ e(
943
- Ie,
999
+ Ee,
944
1000
  {
945
- icon: /* @__PURE__ */ e(Y, { "aria-hidden": "true" }),
1001
+ icon: /* @__PURE__ */ e(_e, { "aria-hidden": "true" }),
946
1002
  "aria-label": g,
947
1003
  variant: "primary",
948
1004
  size: "md",
@@ -951,7 +1007,7 @@ const fs = D(
951
1007
  "data-testid": "alia-popout-fab"
952
1008
  }
953
1009
  ),
954
- r ? /* @__PURE__ */ e(
1010
+ t ? /* @__PURE__ */ e(
955
1011
  "span",
956
1012
  {
957
1013
  "aria-hidden": "true",
@@ -968,24 +1024,24 @@ const fs = D(
968
1024
  "ds:pointer-events-none ds:select-none",
969
1025
  "ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
970
1026
  ].join(" "),
971
- children: us(d)
1027
+ children: fs(d)
972
1028
  }
973
1029
  ) : null
974
1030
  ] })
975
1031
  }
976
1032
  ),
977
- /* @__PURE__ */ m(
978
- J.Content,
1033
+ /* @__PURE__ */ c(
1034
+ Z.Content,
979
1035
  {
980
1036
  side: "end",
981
1037
  size: "md",
982
- "aria-label": c("alia.panelLabel"),
1038
+ "aria-label": m("alia.panelLabel"),
983
1039
  className: "ds:flex ds:min-h-0 ds:flex-col ds:p-0",
984
1040
  "data-testid": "alia-popout-panel",
985
1041
  children: [
986
- /* @__PURE__ */ e(J.Title, { className: "ds:sr-only", children: o }),
1042
+ /* @__PURE__ */ e(Z.Title, { className: "ds:sr-only", children: o }),
987
1043
  /* @__PURE__ */ e(
988
- O,
1044
+ D,
989
1045
  {
990
1046
  ...p,
991
1047
  assistantName: o,
@@ -1000,42 +1056,42 @@ const fs = D(
1000
1056
  ] });
1001
1057
  }
1002
1058
  );
1003
- fs.displayName = "AliaPopout";
1004
- function hs(s) {
1059
+ hs.displayName = "AliaPopout";
1060
+ function gs(s) {
1005
1061
  return s > 99 ? "99+" : String(s);
1006
1062
  }
1007
- const gs = "ds:[inline-size:22rem]", vs = "ds:[inline-size:3rem]", bs = D(
1063
+ const vs = "ds:[inline-size:22rem]", bs = "ds:[inline-size:3rem]", xs = O(
1008
1064
  ({
1009
1065
  open: s,
1010
1066
  onOpenChange: i,
1011
- side: t = "end",
1067
+ side: r = "end",
1012
1068
  unseenCount: d,
1013
1069
  footerSlot: a,
1014
1070
  assistantName: l,
1015
1071
  assistantAvatar: p,
1016
1072
  ...n
1017
- }, c) => {
1018
- const { t: o } = x(), r = l || o("alia.name"), g = typeof d == "number" && d > 0, v = t === "end" ? "ds:shadow-[var(--shadow-chrome-start)]" : "ds:shadow-[var(--shadow-chrome-end)]", C = g ? o("alia.unseenCount", { count: d }) : o("alia.open");
1073
+ }, m) => {
1074
+ const { t: o } = x(), t = l || o("alia.name"), g = typeof d == "number" && d > 0, v = r === "end" ? "ds:shadow-[var(--shadow-chrome-start)]" : "ds:shadow-[var(--shadow-chrome-end)]", C = g ? o("alia.unseenCount", { count: d }) : o("alia.open");
1019
1075
  if (!s)
1020
1076
  return /* @__PURE__ */ e(
1021
1077
  "aside",
1022
1078
  {
1023
- ref: c,
1079
+ ref: m,
1024
1080
  "aria-label": o("alia.panelLabel"),
1025
1081
  className: [
1026
1082
  "ds:flex ds:shrink-0 ds:flex-col ds:items-center",
1027
1083
  "ds:bg-[var(--background)]",
1028
1084
  v,
1029
1085
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]",
1030
- vs
1086
+ bs
1031
1087
  ].join(" "),
1032
1088
  "data-testid": "alia-sidebar-rail",
1033
1089
  "data-alia-sidebar-state": "collapsed",
1034
- children: /* @__PURE__ */ m("div", { className: "ds:relative ds:[&_svg]:text-[color:var(--accent)]", children: [
1090
+ children: /* @__PURE__ */ c("div", { className: "ds:relative", children: [
1035
1091
  /* @__PURE__ */ e(
1036
1092
  w,
1037
1093
  {
1038
- icon: /* @__PURE__ */ e(Y, { "aria-hidden": "true" }),
1094
+ icon: /* @__PURE__ */ e(J, { "aria-hidden": "true" }),
1039
1095
  "aria-label": C,
1040
1096
  "aria-expanded": "false",
1041
1097
  intent: "ghost",
@@ -1061,7 +1117,7 @@ const gs = "ds:[inline-size:22rem]", vs = "ds:[inline-size:3rem]", bs = D(
1061
1117
  "ds:pointer-events-none ds:select-none",
1062
1118
  "ds:forced-colors:outline ds:forced-colors:outline-1 ds:forced-colors:outline-[CanvasText]"
1063
1119
  ].join(" "),
1064
- children: hs(d)
1120
+ children: gs(d)
1065
1121
  }
1066
1122
  ) : null
1067
1123
  ] })
@@ -1070,7 +1126,7 @@ const gs = "ds:[inline-size:22rem]", vs = "ds:[inline-size:3rem]", bs = D(
1070
1126
  const k = /* @__PURE__ */ e(
1071
1127
  w,
1072
1128
  {
1073
- icon: t === "end" ? /* @__PURE__ */ e(Je, {}) : /* @__PURE__ */ e(Me, {}),
1129
+ icon: r === "end" ? /* @__PURE__ */ e(Ge, {}) : /* @__PURE__ */ e(Je, {}),
1074
1130
  intent: "ghost",
1075
1131
  size: "sm",
1076
1132
  "aria-label": o("alia.close"),
@@ -1079,26 +1135,26 @@ const gs = "ds:[inline-size:22rem]", vs = "ds:[inline-size:3rem]", bs = D(
1079
1135
  "data-testid": "alia-sidebar-collapse"
1080
1136
  }
1081
1137
  );
1082
- return /* @__PURE__ */ m(
1138
+ return /* @__PURE__ */ c(
1083
1139
  "aside",
1084
1140
  {
1085
- ref: c,
1141
+ ref: m,
1086
1142
  "aria-label": o("alia.panelLabel"),
1087
1143
  className: [
1088
1144
  "ds:flex ds:shrink-0 ds:flex-col ds:min-h-0",
1089
1145
  "ds:bg-[var(--background)]",
1090
1146
  v,
1091
- gs,
1147
+ vs,
1092
1148
  "ds:h-full"
1093
1149
  ].join(" "),
1094
1150
  "data-testid": "alia-sidebar",
1095
1151
  "data-alia-sidebar-state": "expanded",
1096
1152
  children: [
1097
1153
  /* @__PURE__ */ e("div", { className: "ds:flex ds:min-h-0 ds:flex-1 ds:flex-col", children: /* @__PURE__ */ e(
1098
- O,
1154
+ D,
1099
1155
  {
1100
1156
  ...n,
1101
- assistantName: r,
1157
+ assistantName: t,
1102
1158
  assistantAvatar: p,
1103
1159
  density: "compact",
1104
1160
  headerEndSlot: k
@@ -1117,11 +1173,11 @@ const gs = "ds:[inline-size:22rem]", vs = "ds:[inline-size:3rem]", bs = D(
1117
1173
  );
1118
1174
  }
1119
1175
  );
1120
- bs.displayName = "AliaSidebar";
1176
+ xs.displayName = "AliaSidebar";
1121
1177
  export {
1122
- O as A,
1123
- ps as a,
1124
- fs as b,
1125
- bs as c
1178
+ D as A,
1179
+ us as a,
1180
+ hs as b,
1181
+ xs as c
1126
1182
  };
1127
- //# sourceMappingURL=alia-sidebar-DvIUzIX9.js.map
1183
+ //# sourceMappingURL=alia-sidebar-BV5lBSFR.js.map