@alfadocs/ui-kit 1.54.3 → 1.56.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 (642) hide show
  1. package/dist/_chunks/{accordion-C11v9ouP.js → accordion-Ch3xp0mX.js} +9 -9
  2. package/dist/_chunks/{actions-cell-renderer-CjzSqMgn.js → actions-cell-renderer-Dj1ZkvJj.js} +4 -4
  3. package/dist/_chunks/{address-autocomplete-BBZ0u_U1.js → address-autocomplete-bPR2mNBt.js} +2 -2
  4. package/dist/_chunks/address-fields-BfjxS05Z.js +298 -0
  5. package/dist/_chunks/{agenda-card-CakEvwnM.js → agenda-card-DauvvKX6.js} +2 -2
  6. package/dist/_chunks/{agenda-tray-B8vuZKjH.js → agenda-tray-ZKhDxlfw.js} +24 -24
  7. package/dist/_chunks/{ai-credits-notice-D9_qP2xc.js → ai-credits-notice-BoNJtOuE.js} +4 -4
  8. package/dist/_chunks/ai-fab-pill-BOu96kCx.js +30 -0
  9. package/dist/_chunks/{ai-permission-notice-Cr6o1f0f.js → ai-permission-notice-5vpblPCx.js} +3 -3
  10. package/dist/_chunks/{ai-prompt-input-DkL8W-nt.js → ai-prompt-input-Beh-O_rJ.js} +4 -4
  11. package/dist/_chunks/{alia-sidebar-DSUQ2RpK.js → alia-sidebar-DOei4Iyu.js} +12 -12
  12. package/dist/_chunks/{anamnesis-card-BT1tMt5O.js → anamnesis-card-BSlAhaoG.js} +4 -4
  13. package/dist/_chunks/{anamnesis-summary-card-Bv0CZ-mk.js → anamnesis-summary-card-2YfIYY2j.js} +2 -2
  14. package/dist/_chunks/{anamnesis-summary-rows-Brru7JrH.js → anamnesis-summary-rows-CQ-XGr0T.js} +427 -426
  15. package/dist/_chunks/{antenatal-schedule-timeline-BZzgjfyd.js → antenatal-schedule-timeline-Kf2Yg8uo.js} +4 -4
  16. package/dist/_chunks/{app-frame-Cos-GSfw.js → app-frame-B-0O9CrU.js} +40 -38
  17. package/dist/_chunks/{appointment-card-CA2ynsmN.js → appointment-card-Dh3fAcyf.js} +12 -12
  18. package/dist/_chunks/{appointment-peek-Cbrg36wj.js → appointment-peek-BIZaDeCi.js} +6 -6
  19. package/dist/_chunks/{appointment-timeline-CssAJLpL.js → appointment-timeline-DmqYEIT9.js} +32 -33
  20. package/dist/_chunks/{appointment-tray-EQUjllVy.js → appointment-tray-CyI_p3zU.js} +28 -28
  21. package/dist/_chunks/{appointment-workflow-status-DrWCNLbB.js → appointment-workflow-status-DMjuIK90.js} +2 -2
  22. package/dist/_chunks/{audio-recorder-BM68r6fe.js → audio-recorder-DWKKjGPt.js} +5 -6
  23. package/dist/_chunks/{auth-form-parts-Celi-TLV.js → auth-form-parts-CravOf0L.js} +6 -5
  24. package/dist/_chunks/{autocomplete-BXm1rnT0.js → autocomplete-DosDnGie.js} +3 -3
  25. package/dist/_chunks/{avatar-DYtwj1-R.js → avatar-WZY3eGE7.js} +10 -10
  26. package/dist/_chunks/{balance-badge-cell-C5hmahoB.js → balance-badge-cell-DmDcXw0c.js} +5 -5
  27. package/dist/_chunks/{benefit-card-DB1Kdrmc.js → benefit-card-BWBClvdF.js} +46 -45
  28. package/dist/_chunks/{bishop-score-BzvVol-u.js → bishop-score-BxA20j9T.js} +5 -5
  29. package/dist/_chunks/{bmi-calculator-CDmQk0b5.js → bmi-calculator-C0UTxB7R.js} +6 -6
  30. package/dist/_chunks/{booking-BGY3LUi8.js → booking-WyNGKPE2.js} +1553 -1458
  31. package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
  32. package/dist/_chunks/{button-CYPx2xFq.js → button-Bn16lcFM.js} +10 -7
  33. package/dist/_chunks/{button-group-CpEycMps.js → button-group-CWlwR-A5.js} +3 -3
  34. package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-pCPWta7h.js} +2 -2
  35. package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
  36. package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-Du2ryaI-.js} +870 -885
  37. package/dist/_chunks/{card-DPmk26CL.js → card-DMO2nkt4.js} +45 -42
  38. package/dist/_chunks/{care-plan-card-BqI-_B4T.js → care-plan-card-Ddjh5Doc.js} +5 -5
  39. package/dist/_chunks/{care-plan-entry-card-CbsZmfQM.js → care-plan-entry-card-0rpR-4Te.js} +5 -5
  40. package/dist/_chunks/{care-plan-header-BIS4CGcp.js → care-plan-header-DUX_SVvF.js} +3 -3
  41. package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
  42. package/dist/_chunks/chart-HsF1KHbx.js +909 -0
  43. package/dist/_chunks/{chat-container-CAfyTxat.js → chat-container-baxzy8k8.js} +21 -22
  44. package/dist/_chunks/{chat-input-Bg99kcl3.js → chat-input-PtrSu1ZC.js} +27 -27
  45. package/dist/_chunks/{chat-message-D4rvLoIJ.js → chat-message-CmGUcajG.js} +4 -4
  46. package/dist/_chunks/city-input-BC_nYINn.js +185 -0
  47. package/dist/_chunks/{clinical-note-card-gmWXEwSu.js → clinical-note-card-14JIoUR0.js} +3 -3
  48. package/dist/_chunks/{code-block-CRVa-Thh.js → code-block-BQgK70mO.js} +2 -2
  49. package/dist/_chunks/{collapsible-CTjxzGuF.js → collapsible-DVPM46bq.js} +27 -27
  50. package/dist/_chunks/{color-picker-Bu0wM8xv.js → color-picker-BRQ4Y9SO.js} +3 -3
  51. package/dist/_chunks/{combobox-DppVSuUm.js → combobox-U5yfO6o0.js} +262 -218
  52. package/dist/_chunks/{connection-status-BwTnjnUj.js → connection-status-ncTjUPt6.js} +4 -4
  53. package/dist/_chunks/{contact-card-CIVCcicP.js → contact-card-CmK05vNb.js} +2 -2
  54. package/dist/_chunks/{contact-profile-card-B-HzocbB.js → contact-profile-card-Ci8lBQ6a.js} +4 -4
  55. package/dist/_chunks/{control-room-rail-g4vNSPFi.js → control-room-rail-Tx2jW250.js} +3 -3
  56. package/dist/_chunks/{copy-field-CiIuVbKe.js → copy-field-CvTIuA_p.js} +3 -3
  57. package/dist/_chunks/{country-select-r3QC7cVA.js → country-select-DF5Bd_mn.js} +2 -2
  58. package/dist/_chunks/{cycle-calculator-LjsQd9Gl.js → cycle-calculator-Dgfqr4Q4.js} +7 -7
  59. package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
  60. package/dist/_chunks/{data-table-BErtJzaT.js → data-table-D8fuhqO1.js} +244 -240
  61. package/dist/_chunks/{data-table-tabs-D5nFZKxg.js → data-table-tabs-Xhg5G0gU.js} +4 -4
  62. package/dist/_chunks/{date-picker-variants-B3AFKDSu.js → date-picker-variants-BnF-sHzq.js} +19 -10
  63. package/dist/_chunks/{date-picker-BnhBmcH6.js → date-picker-wRAcq2lt.js} +49 -49
  64. package/dist/_chunks/{date-range-picker-Dg050N1d.js → date-range-picker-CtUOI38x.js} +189 -183
  65. package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
  66. package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-DgaAQc-c.js} +91 -86
  67. package/dist/_chunks/{description-list-BKQMUiXv.js → description-list-DkLeHiew.js} +2 -2
  68. package/dist/_chunks/{dev-bypass-button-Y1s7gPSD.js → dev-bypass-button-BhGn6evf.js} +2 -2
  69. package/dist/_chunks/{dialog-D52AI4nF.js → dialog-CUzbnKLw.js} +86 -69
  70. package/dist/_chunks/{document-preview-C_6R_VZK.js → document-preview-uoTekVR7.js} +5 -5
  71. package/dist/_chunks/{document-scanner-pADVX447.js → document-scanner-CQS9kv84.js} +17 -17
  72. package/dist/_chunks/{dropdown-menu-B5mgV1kV.js → dropdown-menu-BQSNVp4x.js} +2 -2
  73. package/dist/_chunks/{due-date-calculator-mDvGKmRV.js → due-date-calculator-CSjklbyw.js} +9 -9
  74. package/dist/_chunks/{editable-currency-cell-renderer-CfFp_1hI.js → editable-currency-cell-renderer-CmYcMuwi.js} +4 -4
  75. package/dist/_chunks/{editable-description-CCrAEJMq.js → editable-description-DuJlvltc.js} +3 -3
  76. package/dist/_chunks/editor-overlay-NMxzcO6J.js +90 -0
  77. package/dist/_chunks/{email-input-DQixfopu.js → email-input-C7THAwh2.js} +3 -3
  78. package/dist/_chunks/{empty-state-CgvmPPvW.js → empty-state-gNG3qYCX.js} +2 -2
  79. package/dist/_chunks/{entity-card-D1Yrh9wf.js → entity-card-fpm-KUKc.js} +26 -27
  80. package/dist/_chunks/{entity-summary-C3E4JKVr.js → entity-summary-DcB0fIiv.js} +5 -5
  81. package/dist/_chunks/{error-boundary-Bzjk9Q2l.js → error-boundary-ChowhO6w.js} +2 -2
  82. package/dist/_chunks/error-page-CpuYbpOB.js +344 -0
  83. package/dist/_chunks/{error-page-illustration-bFti0VEc.js → error-page-illustration-BdJLuMdV.js} +12 -12
  84. package/dist/_chunks/error-summary-BhM8FEkl.js +101 -0
  85. package/dist/_chunks/{face-scheme-Doodi6A6.js → face-scheme-BicuUA2K.js} +8 -8
  86. package/dist/_chunks/{fetal-weight-DBgEaMoJ.js → fetal-weight-BWaqqjea.js} +5 -5
  87. package/dist/_chunks/{field-array-DGiIHCdy.js → field-array-BO-kaKFK.js} +3 -3
  88. package/dist/_chunks/{file-manager-BDNSnr7f.js → file-manager-Cc_uO8r2.js} +54 -54
  89. package/dist/_chunks/{finished-terminal-BguGAUdg.js → finished-terminal-CPSDrIMB.js} +3 -3
  90. package/dist/_chunks/{fiscal-code-input-DNA_SbQx.js → fiscal-code-input-DesSQ6Fh.js} +168 -168
  91. package/dist/_chunks/floating-clearance-nIx9fFLy.js +20 -0
  92. package/dist/_chunks/forgot-password-form-DEx-M_QR.js +234 -0
  93. package/dist/_chunks/{form-field-Db0liyI8.js → form-field-Ani72sVY.js} +46 -44
  94. package/dist/_chunks/format-price-BKle6Xwt.js +52 -0
  95. package/dist/_chunks/{freemium-paywall-CtUCj-ND.js → freemium-paywall-DIKuhX8b.js} +88 -82
  96. package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-DqVeJke2.js} +10 -10
  97. package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
  98. package/dist/_chunks/{hcg-doubling-BECrAUu3.js → hcg-doubling-BIYyI2Yo.js} +7 -7
  99. package/dist/_chunks/{header--a4ZTiM5.js → header-B9552pLh.js} +15 -14
  100. package/dist/_chunks/{header-settings-kkVm9VP3.js → header-settings-ge_3gYEq.js} +4 -4
  101. package/dist/_chunks/heatmap-Gf9r7Tn1.js +2865 -0
  102. package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-fV-Apf72.js} +29 -29
  103. package/dist/_chunks/{hover-card-CcRSI4gy.js → hover-card-BnTueNS2.js} +2 -2
  104. package/dist/_chunks/{iban-input-CpOUMMR-.js → iban-input-B9L2QDHh.js} +2 -2
  105. package/dist/_chunks/{icon-button-mKIvw90h.js → icon-button-COX76Jdj.js} +2 -2
  106. package/dist/_chunks/{icon-button-group-BsQkbCX4.js → icon-button-group-C5hhI-R5.js} +3 -3
  107. package/dist/_chunks/{icon-picker-JZzs1ol_.js → icon-picker-DWrqmI1c.js} +20 -20
  108. package/dist/_chunks/{image-cropper-CNBGkG7P.js → image-cropper-D0kkQ4lG.js} +2 -2
  109. package/dist/_chunks/{info-tip-Czh1izZ6.js → info-tip-B0jmIt6M.js} +2 -2
  110. package/dist/_chunks/{input-surface-xyERuLU_.js → input-surface-iBmxVBfr.js} +11 -12
  111. package/dist/_chunks/{insert-result-BuWQl11Z.js → insert-result-C1C2OCc3.js} +2 -2
  112. package/dist/_chunks/intl-locale-ySteXlDD.js +23 -0
  113. package/dist/_chunks/{kbd-BLovyx1R.js → kbd-Bx7eQv9f.js} +70 -66
  114. package/dist/_chunks/{key-value-pair-BkXjt88Z.js → key-value-pair-BNNITp6S.js} +26 -20
  115. package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-Byfxy6sy.js} +6 -6
  116. package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-TeJNvymP.js} +9 -9
  117. package/dist/_chunks/{locale-picker-BhNIgeXA.js → locale-picker-DfNSdOpy.js} +4 -4
  118. package/dist/_chunks/login-dev-card-DmZ1B0lB.js +309 -0
  119. package/dist/_chunks/{logo-CuaqxTGK.js → logo-hIsyVE96.js} +19 -19
  120. package/dist/_chunks/{map-view-CQmqQJwK.js → map-view-CO2v0hfp.js} +9 -9
  121. package/dist/_chunks/{marketplace-app-shell-DbEfoNxe.js → marketplace-app-shell-Dcx-JEjg.js} +11 -11
  122. package/dist/_chunks/{message-card-C1buKlzM.js → message-card-DVo8-dOm.js} +36 -28
  123. package/dist/_chunks/{message-tray-DyBVqlGj.js → message-tray-BB95DA82.js} +5 -5
  124. package/dist/_chunks/{money-GypsuFk2.js → money-CeClE1nH.js} +2 -2
  125. package/dist/_chunks/multi-select-BT23EnSA.js +688 -0
  126. package/dist/_chunks/{muscle-scheme-DfYQ0Z3v.js → muscle-scheme-BDgIaGeW.js} +2 -2
  127. package/dist/_chunks/{nav-grid-BPbmzHY0.js → nav-grid-BqCPH8sm.js} +16 -17
  128. package/dist/_chunks/non-modal-tab-exit-D2Bd93Bq.js +65 -0
  129. package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-DceRhthG.js} +54 -53
  130. package/dist/_chunks/{notification-card-DubeUbVJ.js → notification-card-BGCIL6Mu.js} +56 -48
  131. package/dist/_chunks/{notification-tray-DJ0gtfu6.js → notification-tray-__sJXnsz.js} +5 -5
  132. package/dist/_chunks/{number-input-DRDRYZJg.js → number-input-CVwI1ltI.js} +2 -2
  133. package/dist/_chunks/{operator-hero-BnBPxwOi.js → operator-hero-Dyd2IGbR.js} +4 -4
  134. package/dist/_chunks/{optical-prescription-DBvebioV.js → optical-prescription-Do6e3wfs.js} +5 -5
  135. package/dist/_chunks/option-row-Dc7BrbK8.js +37 -0
  136. package/dist/_chunks/{otp-input-BedEqmIV.js → otp-input-CGMu30_e.js} +2 -2
  137. package/dist/_chunks/{pagination-CzEkpfti.js → pagination-BR1_GfD_.js} +2 -2
  138. package/dist/_chunks/{panel-subview-D8HGXaUa.js → panel-subview-BT-Apwgb.js} +3 -3
  139. package/dist/_chunks/{parse-DeDYl04y.js → parse-jZ-i8Xgj.js} +2 -2
  140. package/dist/_chunks/{password-input-6Yl6x1IO.js → password-input-BokZ_rnT.js} +162 -140
  141. package/dist/_chunks/{patient-details-D7QlsGK1.js → patient-details-DsTtjpuX.js} +6 -6
  142. package/dist/_chunks/{patient-field-row-Dr-ndtG8.js → patient-field-row-BvZ9luz-.js} +212 -211
  143. package/dist/_chunks/{patient-search-Dm3w0jWw.js → patient-search-D5xlXmd2.js} +5 -5
  144. package/dist/_chunks/{patient-summary-card-A3WhxFwp.js → patient-summary-card-9nQWTQf6.js} +12 -8
  145. package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DiHovmUL.js} +5 -5
  146. package/dist/_chunks/{payment-form-B08gHZIY.js → payment-form-v6zZuV1_.js} +60 -56
  147. package/dist/_chunks/{payment-request-card-CR7SjsRs.js → payment-request-card-CwDpwXUC.js} +5 -5
  148. package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
  149. package/dist/_chunks/periodontal-chart-DD5C0M3l.js +1413 -0
  150. package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CxdXvsPU.js} +3 -3
  151. package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-D-PJv7KS.js} +3 -3
  152. package/dist/_chunks/{periodontal-risk-chart-C1Y5f-md.js → periodontal-risk-chart-D3DjIymT.js} +2 -2
  153. package/dist/_chunks/{phone-input-BzeUr49H.js → phone-input-DxkHMYmu.js} +139 -139
  154. package/dist/_chunks/{popover-9_v-7fJc.js → popover-BI3oV3eY.js} +2 -2
  155. package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
  156. package/dist/_chunks/{postal-code-input-lCk8me6K.js → postal-code-input-CfZOnIkW.js} +2 -2
  157. package/dist/_chunks/{practice-profile-hero-Bc3AyBiM.js → practice-profile-hero-C8RPACCi.js} +3 -3
  158. package/dist/_chunks/{practice-results-D3liWOz1.js → practice-results-Dhbo-fc_.js} +9 -9
  159. package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-Bfu0Cq4H.js} +11 -11
  160. package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-CUUrBTBo.js} +6 -6
  161. package/dist/_chunks/{privacy-lock-KDPKiTpH.js → privacy-lock-WkUgwIj_.js} +4 -4
  162. package/dist/_chunks/{privacy-mask-H8yYwgIb.js → privacy-mask-ChIjELJC.js} +3 -3
  163. package/dist/_chunks/{product-hub-panel-M5X3TYzq.js → product-hub-panel-BSSiGGG4.js} +49 -49
  164. package/dist/_chunks/{progress-TIAsNHQW.js → progress-D_g_Sl2g.js} +3 -5
  165. package/dist/_chunks/{province-select-DtF2ukoC.js → province-select-Bd20Z9Br.js} +2 -2
  166. package/dist/_chunks/{public-footer-Bfs81Qzp.js → public-footer-CxpG6J1M.js} +93 -90
  167. package/dist/_chunks/{public-header.agent-CrXkGtTF.js → public-header.agent-pr2hyiND.js} +3 -3
  168. package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
  169. package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
  170. package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-DkUokbEa.js} +9 -9
  171. package/dist/_chunks/registration-form-D7iNqMBF.js +819 -0
  172. package/dist/_chunks/{reviews-panel-CyxZ0VmZ.js → reviews-panel-CDcK6W3b.js} +6 -6
  173. package/dist/_chunks/{rich-text-editor-DmnWavgl.js → rich-text-editor-CkFfmA3v.js} +791 -799
  174. package/dist/_chunks/{scroll-area-BZOvUhwQ.js → scroll-area-ZtFCv9K7.js} +56 -46
  175. package/dist/_chunks/{search-bar-ORcfuK9A.js → search-bar-DQJS0wJN.js} +209 -199
  176. package/dist/_chunks/search-input-BAlDd05M.js +246 -0
  177. package/dist/_chunks/{section-card-XR2bW1Ie.js → section-card-ChJdOlBU.js} +2 -2
  178. package/dist/_chunks/{select-DHPmASkG.js → select-Ce5RMk93.js} +274 -236
  179. package/dist/_chunks/{session-countdown-DWUVDDox.js → session-countdown-CBINYw8H.js} +3 -3
  180. package/dist/_chunks/{sheet-BTgxkDJS.js → sheet-C7SwIxwB.js} +95 -79
  181. package/dist/_chunks/{sidebar-2GBc0ZUa.js → sidebar-DLsG2AIk.js} +123 -124
  182. package/dist/_chunks/{sign-document-B_3U-S6g.js → sign-document-B6HlyCGV.js} +22 -22
  183. package/dist/_chunks/{sign-in-with-alfadocs-button-DFmgQuDo.js → sign-in-with-alfadocs-button-D91_x8DX.js} +4 -4
  184. package/dist/_chunks/{signature-capture-F6KViBF_.js → signature-capture-Chqh62Pc.js} +19 -20
  185. package/dist/_chunks/{signature-field-DLDznGnB.js → signature-field-Y01UB5DA.js} +2 -2
  186. package/dist/_chunks/{signature-request-BdolmJk4.js → signature-request-DhbpB9N9.js} +9 -9
  187. package/dist/_chunks/{signed-out-frame-dz1rLJ65.js → signed-out-frame-B2GTIeqA.js} +51 -51
  188. package/dist/_chunks/sliders-horizontal-D-F97cnE.js +22 -0
  189. package/dist/_chunks/{slot-grid-kCDoV3k4.js → slot-grid-sVZriOiQ.js} +4 -4
  190. package/dist/_chunks/{social-sign-in-button-BMGNlUWs.js → social-sign-in-button-yUqwhnPZ.js} +2 -2
  191. package/dist/_chunks/{spinner-a0FTYX9Q.js → spinner-CoflYlEx.js} +2 -2
  192. package/dist/_chunks/{stat-Ce9ymEKm.js → stat-DmjGfXND.js} +116 -108
  193. package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
  194. package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-DDTSOUHc.js} +63 -52
  195. package/dist/_chunks/{streaming-text-BAPn_sZs.js → streaming-text-BKZmbW1Q.js} +31 -32
  196. package/dist/_chunks/subDays-DlMw8Xng.js +8 -0
  197. package/dist/_chunks/{tab-bar-DRKiomgj.js → tab-bar-Bm-rJB7Y.js} +7 -8
  198. package/dist/_chunks/{tabs-yIY-RySP.js → tabs-I2wf_nC7.js} +3 -3
  199. package/dist/_chunks/{task-card-C02Km4Gb.js → task-card-BMXMh3uE.js} +9 -9
  200. package/dist/_chunks/{task-editor-i-juLk76.js → task-editor-ByyRu29Y.js} +157 -159
  201. package/dist/_chunks/{task-tray-By6DPwbT.js → task-tray-DsBO-AaP.js} +31 -31
  202. package/dist/_chunks/{tasks-panel-BkN9sROF.js → tasks-panel-CdgZQQgG.js} +130 -131
  203. package/dist/_chunks/{text-area-CDuItrvL.js → text-area-COMVJ1yE.js} +106 -96
  204. package/dist/_chunks/text-input-CaG9ApoE.js +333 -0
  205. package/dist/_chunks/{theme-toggle-BAHz3itd.js → theme-toggle-PpFcFoYK.js} +4 -4
  206. package/dist/_chunks/time-picker-DVfyAR81.js +871 -0
  207. package/dist/_chunks/{timeline-CVLjybJ3.js → timeline-DG8wAlAx.js} +3 -3
  208. package/dist/_chunks/{toast-UMUvXFsA.js → toast-CPqguP7G.js} +2 -2
  209. package/dist/_chunks/{token-insert-menu-DgtBIbNu.js → token-insert-menu-B-pWFDKX.js} +3 -3
  210. package/dist/_chunks/{tool-rail-CwXN-sDC.js → tool-rail-Bwyuw_Ot.js} +113 -110
  211. package/dist/_chunks/{tooth-scheme-BAMhwCZe.js → tooth-scheme-BAO_voUO.js} +97 -97
  212. package/dist/_chunks/{transcript-panel-jOCW4Ycl.js → transcript-panel-CjsiDB1K.js} +4 -4
  213. package/dist/_chunks/{treatment-receipt-DF2Slh-x.js → treatment-receipt-BSVOfStA.js} +2 -2
  214. package/dist/_chunks/{typing-indicator-BmwMQSxw.js → typing-indicator-B1RkE8jD.js} +16 -15
  215. package/dist/_chunks/{unit-converter-Bvhj9r3m.js → unit-converter-DS4UB_59.js} +5 -5
  216. package/dist/_chunks/{use-appointment-details-read-B6dBBgDa.js → use-appointment-details-read-JsDM48tf.js} +214 -214
  217. package/dist/_chunks/use-dom-value-DTxHhQAN.js +16 -0
  218. package/dist/_chunks/{use-prism-DaspP8w-.js → use-prism-DBOiELx7.js} +9 -9
  219. package/dist/_chunks/use-registration-submit-eWAECgUC.js +171 -0
  220. package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
  221. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +59 -0
  222. package/dist/_chunks/voice-control-panel-Bg1eklL0.js +1009 -0
  223. package/dist/_chunks/{wallet-pay-button-Dew8Pmgq.js → wallet-pay-button-DFP5FW0D.js} +2 -2
  224. package/dist/_chunks/{warning-stack-B_v_qMBI.js → warning-stack-ubD0IZCy.js} +25 -25
  225. package/dist/_chunks/{widget-picker-Ck8HTsil.js → widget-picker-DXYBMTfe.js} +39 -39
  226. package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-Demlpy39.js} +8 -8
  227. package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
  228. package/dist/agent-catalog.json +610 -23
  229. package/dist/agent-i18n/en.json +59 -17
  230. package/dist/components/_shared/ai-fab-pill.d.ts +18 -0
  231. package/dist/components/_shared/floating-clearance.d.ts +12 -0
  232. package/dist/components/_shared/glass-surface.d.ts +22 -0
  233. package/dist/components/_shared/input-surface.d.ts +1 -1
  234. package/dist/components/_shared/intl-locale.d.ts +7 -0
  235. package/dist/components/_shared/non-modal-tab-exit.d.ts +8 -0
  236. package/dist/components/_shared/option-row.d.ts +30 -0
  237. package/dist/components/_shared/option.d.ts +2 -0
  238. package/dist/components/_shared/state-backed-text-input.d.ts +16 -0
  239. package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
  240. package/dist/components/_shared/use-dom-value.d.ts +20 -0
  241. package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
  242. package/dist/components/_shared/use-state-backed-input.d.ts +31 -0
  243. package/dist/components/accordion/index.js +1 -1
  244. package/dist/components/address-autocomplete/index.js +1 -1
  245. package/dist/components/address-fields/address-fields.d.ts +4 -0
  246. package/dist/components/address-fields/index.js +1 -1
  247. package/dist/components/agenda-card/index.js +1 -1
  248. package/dist/components/agenda-tray/index.js +1 -1
  249. package/dist/components/ai-credits-notice/index.js +1 -1
  250. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +34 -0
  251. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  252. package/dist/components/ai-permission-notice/index.js +1 -1
  253. package/dist/components/ai-prompt-input/index.js +1 -1
  254. package/dist/components/anamnesis-card/index.js +1 -1
  255. package/dist/components/anamnesis-summary-card/index.js +1 -1
  256. package/dist/components/app-frame/index.js +1 -1
  257. package/dist/components/appointment-card/index.js +2 -2
  258. package/dist/components/appointment-details-panel/index.js +1 -1
  259. package/dist/components/appointment-peek/index.js +1 -1
  260. package/dist/components/appointment-timeline/index.js +1 -1
  261. package/dist/components/audio-recorder/index.js +1 -1
  262. package/dist/components/autocomplete/index.js +1 -1
  263. package/dist/components/avatar/index.js +1 -1
  264. package/dist/components/benefit-card/index.js +1 -1
  265. package/dist/components/bishop-score/index.js +1 -1
  266. package/dist/components/bmi-calculator/index.js +1 -1
  267. package/dist/components/booking/booking-types.d.ts +10 -5
  268. package/dist/components/booking/index.js +1 -1
  269. package/dist/components/booking/payment.d.ts +19 -0
  270. package/dist/components/breadcrumb/index.js +1 -1
  271. package/dist/components/button/index.js +2 -2
  272. package/dist/components/button-group/index.js +1 -1
  273. package/dist/components/calculator-dialog/index.js +1 -1
  274. package/dist/components/calendar/index.js +1 -1
  275. package/dist/components/card/index.js +1 -1
  276. package/dist/components/care-plan-card/index.js +1 -1
  277. package/dist/components/care-plan-entry-card/index.js +1 -1
  278. package/dist/components/care-plan-header/index.js +1 -1
  279. package/dist/components/carousel/index.js +1 -1
  280. package/dist/components/chart/chart.d.ts +10 -5
  281. package/dist/components/chart/index.js +1 -1
  282. package/dist/components/chat-container/index.js +1 -1
  283. package/dist/components/chat-input/index.js +1 -1
  284. package/dist/components/chat-message/index.js +1 -1
  285. package/dist/components/city-input/index.js +1 -1
  286. package/dist/components/clinical-note-card/index.js +1 -1
  287. package/dist/components/collapsible/index.js +1 -1
  288. package/dist/components/color-picker/index.js +1 -1
  289. package/dist/components/combobox/combobox.d.ts +6 -0
  290. package/dist/components/combobox/index.js +1 -1
  291. package/dist/components/connection-status/index.js +1 -1
  292. package/dist/components/contact-card/index.js +1 -1
  293. package/dist/components/contact-profile-card/index.js +1 -1
  294. package/dist/components/control-room-rail/index.js +1 -1
  295. package/dist/components/copy-field/index.js +1 -1
  296. package/dist/components/country-select/index.js +1 -1
  297. package/dist/components/cycle-calculator/index.js +1 -1
  298. package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
  299. package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
  300. package/dist/components/dashboard-grid/index.js +1 -1
  301. package/dist/components/data-table/index.js +4 -4
  302. package/dist/components/data-table-tabs/index.js +1 -1
  303. package/dist/components/date-picker/date-picker.d.ts +3 -3
  304. package/dist/components/date-picker/index.js +1 -1
  305. package/dist/components/date-range-picker/date-range-picker.d.ts +3 -3
  306. package/dist/components/date-range-picker/index.js +1 -1
  307. package/dist/components/date-time-picker/index.js +1 -1
  308. package/dist/components/dependent-selector/index.js +1 -1
  309. package/dist/components/description-list/index.js +1 -1
  310. package/dist/components/dev-bypass-button/index.js +1 -1
  311. package/dist/components/dialog/dialog.d.ts +2 -2
  312. package/dist/components/dialog/index.js +1 -1
  313. package/dist/components/document-preview/index.js +1 -1
  314. package/dist/components/document-scanner/index.js +1 -1
  315. package/dist/components/dropdown-menu/index.js +1 -1
  316. package/dist/components/due-date-calculator/index.js +2 -2
  317. package/dist/components/editable-description/index.js +1 -1
  318. package/dist/components/editor-overlay/index.js +1 -1
  319. package/dist/components/email-input/email-input.d.ts +1 -1
  320. package/dist/components/email-input/index.js +1 -1
  321. package/dist/components/empty-state/index.js +1 -1
  322. package/dist/components/entity-summary/index.js +1 -1
  323. package/dist/components/error-boundary/index.js +1 -1
  324. package/dist/components/error-summary/error-summary.d.ts +50 -0
  325. package/dist/components/error-summary/index.d.ts +2 -0
  326. package/dist/components/error-summary/index.js +5 -0
  327. package/dist/components/face-scheme/index.js +1 -1
  328. package/dist/components/fetal-weight/index.js +1 -1
  329. package/dist/components/field-array/index.js +1 -1
  330. package/dist/components/file-manager/index.js +1 -1
  331. package/dist/components/finished-terminal/index.js +1 -1
  332. package/dist/components/fiscal-code-input/index.js +1 -1
  333. package/dist/components/form-field/form-field.d.ts +9 -0
  334. package/dist/components/form-field/index.js +1 -1
  335. package/dist/components/freemium-paywall/index.js +1 -1
  336. package/dist/components/gestational-age-calculator/index.js +1 -1
  337. package/dist/components/hcg-doubling/index.js +1 -1
  338. package/dist/components/header/index.js +1 -1
  339. package/dist/components/header-settings/index.js +1 -1
  340. package/dist/components/heatmap/heatmap-context.d.ts +21 -0
  341. package/dist/components/heatmap/heatmap-format.d.ts +59 -0
  342. package/dist/components/heatmap/heatmap-grid.d.ts +66 -0
  343. package/dist/components/heatmap/heatmap-legend.d.ts +36 -0
  344. package/dist/components/heatmap/heatmap-model.d.ts +152 -0
  345. package/dist/components/heatmap/heatmap-scale.d.ts +125 -0
  346. package/dist/components/heatmap/heatmap-table-view.d.ts +35 -0
  347. package/dist/components/heatmap/heatmap-tooltip.d.ts +40 -0
  348. package/dist/components/heatmap/heatmap-variants.d.ts +87 -0
  349. package/dist/components/heatmap/heatmap-window.d.ts +54 -0
  350. package/dist/components/heatmap/heatmap.agent.d.ts +4 -0
  351. package/dist/components/heatmap/heatmap.d.ts +186 -0
  352. package/dist/components/heatmap/index.d.ts +8 -0
  353. package/dist/components/heatmap/index.js +8 -0
  354. package/dist/components/hover-card/index.js +1 -1
  355. package/dist/components/iban-input/index.js +1 -1
  356. package/dist/components/icon-button/index.js +1 -1
  357. package/dist/components/icon-button-group/index.js +1 -1
  358. package/dist/components/icon-picker/index.js +1 -1
  359. package/dist/components/image-cropper/index.js +1 -1
  360. package/dist/components/index.d.ts +3 -0
  361. package/dist/components/info-tip/index.js +1 -1
  362. package/dist/components/kbd/index.js +1 -1
  363. package/dist/components/key-value-pair/index.js +1 -1
  364. package/dist/components/locale-picker/index.js +1 -1
  365. package/dist/components/logo/index.js +1 -1
  366. package/dist/components/map-view/index.js +1 -1
  367. package/dist/components/message-card/index.js +1 -1
  368. package/dist/components/message-tray/index.js +1 -1
  369. package/dist/components/money/index.js +1 -1
  370. package/dist/components/multi-select/index.js +1 -1
  371. package/dist/components/multi-select/multi-select.d.ts +6 -0
  372. package/dist/components/muscle-scheme/index.js +1 -1
  373. package/dist/components/nav-grid/index.js +1 -1
  374. package/dist/components/notes-panel/index.js +1 -1
  375. package/dist/components/notification-card/index.js +1 -1
  376. package/dist/components/notification-tray/index.js +1 -1
  377. package/dist/components/number-input/index.js +1 -1
  378. package/dist/components/operator-hero/index.js +1 -1
  379. package/dist/components/optical-prescription/index.js +1 -1
  380. package/dist/components/otp-input/index.js +1 -1
  381. package/dist/components/pagination/index.js +1 -1
  382. package/dist/components/panel-subview/index.js +1 -1
  383. package/dist/components/password-input/index.js +1 -1
  384. package/dist/components/patient-details/index.js +1 -1
  385. package/dist/components/patient-search/index.js +1 -1
  386. package/dist/components/patient-summary-card/index.js +1 -1
  387. package/dist/components/patient-table/index.js +1 -1
  388. package/dist/components/payment-card/index.js +1 -1
  389. package/dist/components/payment-form/index.js +1 -1
  390. package/dist/components/pdf-viewer/index.js +1 -1
  391. package/dist/components/periodontal-chart/index.d.ts +1 -1
  392. package/dist/components/periodontal-chart/index.js +1 -1
  393. package/dist/components/periodontal-chart/periodontal-chart.d.ts +44 -1
  394. package/dist/components/periodontal-chart-card/index.js +1 -1
  395. package/dist/components/periodontal-diagnosis/index.js +1 -1
  396. package/dist/components/periodontal-risk-chart/index.js +1 -1
  397. package/dist/components/phone-input/index.js +1 -1
  398. package/dist/components/popover/index.js +1 -1
  399. package/dist/components/position-grid/index.js +1 -1
  400. package/dist/components/postal-code-input/index.js +1 -1
  401. package/dist/components/practice-profile-hero/index.js +1 -1
  402. package/dist/components/practice-results/index.js +1 -1
  403. package/dist/components/pregnancy-dating/index.js +1 -1
  404. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  405. package/dist/components/privacy-lock/index.js +1 -1
  406. package/dist/components/product-hub-tray/index.js +1 -1
  407. package/dist/components/progress/index.js +1 -1
  408. package/dist/components/province-select/index.js +1 -1
  409. package/dist/components/public-footer/index.js +1 -1
  410. package/dist/components/public-header/index.js +1 -1
  411. package/dist/components/qr-code/index.js +1 -1
  412. package/dist/components/radio-group/index.js +1 -1
  413. package/dist/components/radiograph-panel/index.js +1 -1
  414. package/dist/components/reviews-panel/index.js +1 -1
  415. package/dist/components/rich-text-editor/index.js +2 -2
  416. package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -20
  417. package/dist/components/scroll-area/index.js +1 -1
  418. package/dist/components/scroll-area/scroll-area.d.ts +17 -1
  419. package/dist/components/search-bar/index.js +1 -1
  420. package/dist/components/search-input/index.js +1 -1
  421. package/dist/components/section-card/index.js +1 -1
  422. package/dist/components/select/index.js +1 -1
  423. package/dist/components/select/select.d.ts +41 -0
  424. package/dist/components/session-countdown/index.js +1 -1
  425. package/dist/components/sheet/index.js +1 -1
  426. package/dist/components/sheet/sheet.d.ts +2 -2
  427. package/dist/components/sidebar/index.js +1 -1
  428. package/dist/components/sign-document/index.js +1 -1
  429. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  430. package/dist/components/signature-capture/index.js +1 -1
  431. package/dist/components/signature-field/index.js +1 -1
  432. package/dist/components/skeleton-scheme/index.js +1 -1
  433. package/dist/components/slot-grid/index.js +1 -1
  434. package/dist/components/social-sign-in-button/index.js +1 -1
  435. package/dist/components/spinner/index.js +1 -1
  436. package/dist/components/stat/index.d.ts +1 -1
  437. package/dist/components/stat/index.js +1 -1
  438. package/dist/components/stat/stat.d.ts +9 -0
  439. package/dist/components/stepper-accordion/index.js +1 -1
  440. package/dist/components/streaming-text/index.js +1 -1
  441. package/dist/components/tab-bar/index.js +1 -1
  442. package/dist/components/tabs/index.js +1 -1
  443. package/dist/components/task-card/index.js +1 -1
  444. package/dist/components/task-editor/index.js +1 -1
  445. package/dist/components/task-tray/index.js +1 -1
  446. package/dist/components/tasks-panel/index.js +1 -1
  447. package/dist/components/text-area/index.js +1 -1
  448. package/dist/components/text-input/index.js +1 -1
  449. package/dist/components/theme-toggle/index.js +1 -1
  450. package/dist/components/time-picker/index.js +1 -1
  451. package/dist/components/time-picker/time-picker.d.ts +26 -5
  452. package/dist/components/timeline/index.js +1 -1
  453. package/dist/components/toast/index.js +1 -1
  454. package/dist/components/token-insert-menu/index.js +1 -1
  455. package/dist/components/tool-rail/index.js +1 -1
  456. package/dist/components/tooth-scheme/index.js +1 -1
  457. package/dist/components/transcript-panel/index.js +1 -1
  458. package/dist/components/treatment-receipt/index.js +1 -1
  459. package/dist/components/typing-indicator/index.js +1 -1
  460. package/dist/components/unit-converter/index.js +1 -1
  461. package/dist/components/voice-control-panel/index.d.ts +5 -0
  462. package/dist/components/voice-control-panel/index.js +6 -0
  463. package/dist/components/voice-control-panel/voice-control-panel.agent.d.ts +4 -0
  464. package/dist/components/voice-control-panel/voice-control-panel.d.ts +179 -0
  465. package/dist/components/wallet-pay-button/index.js +1 -1
  466. package/dist/components/warning-stack/index.js +1 -1
  467. package/dist/components/widget-picker/index.js +1 -1
  468. package/dist/components/workflow/index.js +1 -1
  469. package/dist/components/workflow-status/index.js +2 -2
  470. package/dist/error-pages/400.ar.html +1 -1
  471. package/dist/error-pages/400.de.html +1 -1
  472. package/dist/error-pages/400.el.html +1 -1
  473. package/dist/error-pages/400.en.html +1 -1
  474. package/dist/error-pages/400.es.html +1 -1
  475. package/dist/error-pages/400.fr.html +1 -1
  476. package/dist/error-pages/400.hi.html +1 -1
  477. package/dist/error-pages/400.html +1 -1
  478. package/dist/error-pages/400.it.html +1 -1
  479. package/dist/error-pages/400.ja.html +1 -1
  480. package/dist/error-pages/400.nl.html +1 -1
  481. package/dist/error-pages/400.pl.html +1 -1
  482. package/dist/error-pages/400.pt.html +1 -1
  483. package/dist/error-pages/400.ro.html +1 -1
  484. package/dist/error-pages/400.ru.html +1 -1
  485. package/dist/error-pages/400.sq.html +1 -1
  486. package/dist/error-pages/400.sv.html +1 -1
  487. package/dist/error-pages/400.tr.html +1 -1
  488. package/dist/error-pages/400.zh.html +1 -1
  489. package/dist/error-pages/410.ar.html +1 -1
  490. package/dist/error-pages/410.de.html +1 -1
  491. package/dist/error-pages/410.el.html +1 -1
  492. package/dist/error-pages/410.en.html +1 -1
  493. package/dist/error-pages/410.es.html +1 -1
  494. package/dist/error-pages/410.fr.html +1 -1
  495. package/dist/error-pages/410.hi.html +1 -1
  496. package/dist/error-pages/410.html +1 -1
  497. package/dist/error-pages/410.it.html +1 -1
  498. package/dist/error-pages/410.ja.html +1 -1
  499. package/dist/error-pages/410.nl.html +1 -1
  500. package/dist/error-pages/410.pl.html +1 -1
  501. package/dist/error-pages/410.pt.html +1 -1
  502. package/dist/error-pages/410.ro.html +1 -1
  503. package/dist/error-pages/410.ru.html +1 -1
  504. package/dist/error-pages/410.sq.html +1 -1
  505. package/dist/error-pages/410.sv.html +1 -1
  506. package/dist/error-pages/410.tr.html +1 -1
  507. package/dist/error-pages/410.zh.html +1 -1
  508. package/dist/error-pages/419.ar.html +1 -1
  509. package/dist/error-pages/419.de.html +1 -1
  510. package/dist/error-pages/419.el.html +1 -1
  511. package/dist/error-pages/419.en.html +1 -1
  512. package/dist/error-pages/419.es.html +1 -1
  513. package/dist/error-pages/419.fr.html +1 -1
  514. package/dist/error-pages/419.hi.html +1 -1
  515. package/dist/error-pages/419.html +1 -1
  516. package/dist/error-pages/419.it.html +1 -1
  517. package/dist/error-pages/419.ja.html +1 -1
  518. package/dist/error-pages/419.nl.html +1 -1
  519. package/dist/error-pages/419.pl.html +1 -1
  520. package/dist/error-pages/419.pt.html +1 -1
  521. package/dist/error-pages/419.ro.html +1 -1
  522. package/dist/error-pages/419.ru.html +1 -1
  523. package/dist/error-pages/419.sq.html +1 -1
  524. package/dist/error-pages/419.sv.html +1 -1
  525. package/dist/error-pages/419.tr.html +1 -1
  526. package/dist/error-pages/419.zh.html +1 -1
  527. package/dist/error-pages/429.ar.html +1 -1
  528. package/dist/error-pages/429.de.html +1 -1
  529. package/dist/error-pages/429.el.html +1 -1
  530. package/dist/error-pages/429.en.html +1 -1
  531. package/dist/error-pages/429.es.html +1 -1
  532. package/dist/error-pages/429.fr.html +1 -1
  533. package/dist/error-pages/429.hi.html +1 -1
  534. package/dist/error-pages/429.html +1 -1
  535. package/dist/error-pages/429.it.html +1 -1
  536. package/dist/error-pages/429.ja.html +1 -1
  537. package/dist/error-pages/429.nl.html +1 -1
  538. package/dist/error-pages/429.pl.html +1 -1
  539. package/dist/error-pages/429.pt.html +1 -1
  540. package/dist/error-pages/429.ro.html +1 -1
  541. package/dist/error-pages/429.ru.html +1 -1
  542. package/dist/error-pages/429.sq.html +1 -1
  543. package/dist/error-pages/429.sv.html +1 -1
  544. package/dist/error-pages/429.tr.html +1 -1
  545. package/dist/error-pages/429.zh.html +1 -1
  546. package/dist/hooks/index.js +1 -1
  547. package/dist/host-compat.css +9 -2
  548. package/dist/host-legacy.css +97 -0
  549. package/dist/i18n/locales/ar.d.ts +120 -3
  550. package/dist/i18n/locales/ar.js +123 -6
  551. package/dist/i18n/locales/de.d.ts +120 -3
  552. package/dist/i18n/locales/de.js +123 -6
  553. package/dist/i18n/locales/el.d.ts +120 -3
  554. package/dist/i18n/locales/el.js +123 -6
  555. package/dist/i18n/locales/en.d.ts +120 -3
  556. package/dist/i18n/locales/en.js +123 -6
  557. package/dist/i18n/locales/es.d.ts +120 -3
  558. package/dist/i18n/locales/es.js +123 -6
  559. package/dist/i18n/locales/fr.d.ts +120 -3
  560. package/dist/i18n/locales/fr.js +123 -6
  561. package/dist/i18n/locales/hi.d.ts +120 -3
  562. package/dist/i18n/locales/hi.js +123 -6
  563. package/dist/i18n/locales/it.d.ts +120 -3
  564. package/dist/i18n/locales/it.js +123 -6
  565. package/dist/i18n/locales/ja.d.ts +120 -3
  566. package/dist/i18n/locales/ja.js +123 -6
  567. package/dist/i18n/locales/nl.d.ts +120 -3
  568. package/dist/i18n/locales/nl.js +123 -6
  569. package/dist/i18n/locales/pl.d.ts +120 -3
  570. package/dist/i18n/locales/pl.js +123 -6
  571. package/dist/i18n/locales/pt.d.ts +120 -3
  572. package/dist/i18n/locales/pt.js +123 -6
  573. package/dist/i18n/locales/ro.d.ts +120 -3
  574. package/dist/i18n/locales/ro.js +123 -6
  575. package/dist/i18n/locales/ru.d.ts +120 -3
  576. package/dist/i18n/locales/ru.js +123 -6
  577. package/dist/i18n/locales/sq.d.ts +120 -3
  578. package/dist/i18n/locales/sq.js +123 -6
  579. package/dist/i18n/locales/sv.d.ts +120 -3
  580. package/dist/i18n/locales/sv.js +123 -6
  581. package/dist/i18n/locales/tr.d.ts +120 -3
  582. package/dist/i18n/locales/tr.js +123 -6
  583. package/dist/i18n/locales/zh.d.ts +120 -3
  584. package/dist/i18n/locales/zh.js +123 -6
  585. package/dist/index.js +766 -756
  586. package/dist/locales/ar.json +123 -6
  587. package/dist/locales/de.json +123 -6
  588. package/dist/locales/el.json +123 -6
  589. package/dist/locales/en.json +123 -6
  590. package/dist/locales/es.json +123 -6
  591. package/dist/locales/fr.json +123 -6
  592. package/dist/locales/hi.json +123 -6
  593. package/dist/locales/it.json +123 -6
  594. package/dist/locales/ja.json +123 -6
  595. package/dist/locales/nl.json +123 -6
  596. package/dist/locales/pl.json +123 -6
  597. package/dist/locales/pt.json +123 -6
  598. package/dist/locales/ro.json +123 -6
  599. package/dist/locales/ru.json +123 -6
  600. package/dist/locales/sq.json +123 -6
  601. package/dist/locales/sv.json +123 -6
  602. package/dist/locales/tr.json +123 -6
  603. package/dist/locales/zh.json +123 -6
  604. package/dist/patterns/_shared/auth-form-parts.d.ts +4 -0
  605. package/dist/patterns/_shared/use-error-summary.d.ts +34 -0
  606. package/dist/patterns/alia-assistant/index.js +1 -1
  607. package/dist/patterns/anamnesis/index.js +1 -1
  608. package/dist/patterns/calendar/index.js +1 -1
  609. package/dist/patterns/error-page/error-page.d.ts +29 -5
  610. package/dist/patterns/error-page/index.js +2 -2
  611. package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +3 -2
  612. package/dist/patterns/forgot-password-form/index.js +1 -1
  613. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
  614. package/dist/patterns/help-me-write-templates/index.js +1 -1
  615. package/dist/patterns/login-form/index.js +1 -1
  616. package/dist/patterns/login-form/login-form.d.ts +5 -4
  617. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  618. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  619. package/dist/patterns/registration-form/index.js +1 -1
  620. package/dist/patterns/registration-form/registration-form.d.ts +3 -2
  621. package/dist/patterns/signature-request/index.js +1 -1
  622. package/dist/patterns/signed-out-frame/index.js +1 -1
  623. package/dist/tokens.css +22 -14
  624. package/package.json +19 -2
  625. package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
  626. package/dist/_chunks/chart-C134Ibwm.js +0 -705
  627. package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
  628. package/dist/_chunks/dashboard-grid--rkojX6m.js +0 -691
  629. package/dist/_chunks/editor-overlay-CWV0chPV.js +0 -93
  630. package/dist/_chunks/error-page-C15GfNEj.js +0 -312
  631. package/dist/_chunks/forgot-password-form-Duu3pZDU.js +0 -203
  632. package/dist/_chunks/format-price-DAbh61Lz.js +0 -51
  633. package/dist/_chunks/intl-locale-CXM-B8EP.js +0 -16
  634. package/dist/_chunks/login-dev-card-DletSsX3.js +0 -275
  635. package/dist/_chunks/multi-select-CVb6PJOK.js +0 -638
  636. package/dist/_chunks/periodontal-chart-5nLsSuRM.js +0 -1305
  637. package/dist/_chunks/registration-form-Lz9iKrKo.js +0 -759
  638. package/dist/_chunks/search-input-6SoR2Rf4.js +0 -237
  639. package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
  640. package/dist/_chunks/text-input-rzLEKhRU.js +0 -331
  641. package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
  642. package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
@@ -0,0 +1,1009 @@
1
+ import { jsxs as a, jsx as o, Fragment as ot } from "react/jsx-runtime";
2
+ import { forwardRef as It, useId as Se, useState as _, useRef as c, useMemo as Pe, useEffect as y, useCallback as I } from "react";
3
+ import { c as P } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Lt, Trans as Vt } from "react-i18next";
5
+ import { A as Gt } from "./ai-permission-notice-5vpblPCx.js";
6
+ import { A as Ft } from "./ai-sparkle-D23NT8Z_.js";
7
+ import { B as Mt } from "./badge-hnBt8o7n.js";
8
+ import { B as st } from "./button-Bn16lcFM.js";
9
+ import { I as Dt } from "./icon-button-COX76Jdj.js";
10
+ import { C as $t, b as Bt, a as jt } from "./collapsible-DVPM46bq.js";
11
+ import { F as qt } from "./form-field-Ani72sVY.js";
12
+ import { K as Ht } from "./kbd-Bx7eQv9f.js";
13
+ import { L as oe } from "./list-RRN2TJ_7.js";
14
+ import { L as Wt } from "./live-region-C41SO3cA.js";
15
+ import { S as Ut } from "./select-Ce5RMk93.js";
16
+ import { a as Jt, b as rt, c as Qt, d as Xt } from "./ai-fab-pill-BOu96kCx.js";
17
+ import { c as Zt } from "./compose-refs-C0k0tdqF.js";
18
+ import { g as Yt, a as en } from "./glass-surface-CPok0jEe.js";
19
+ import { p as at } from "./floating-clearance-nIx9fFLy.js";
20
+ import { u as tn } from "./registry-DvAUVLHh.js";
21
+ import { u as nn } from "./use-ai-sparkle-Cf4yVTLB.js";
22
+ import { u as on } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
23
+ import { C as pt } from "./circle-alert-rGDZ73Wh.js";
24
+ import { T as sn } from "./triangle-alert-CBnO6nq_.js";
25
+ import { C as rn } from "./circle-check-BN6rz4NV.js";
26
+ import { I as Re } from "./info-CGn22peZ.js";
27
+ import { X as an } from "./x-B5YnXwCz.js";
28
+ import { L as it } from "./loader-circle-BECIU_8N.js";
29
+ import { S as lt } from "./square-DASBRZ0U.js";
30
+ import { c as ln } from "./createLucideIcon-DhHxpK9K.js";
31
+ import { C as dn } from "./chevron-down-DWE7GSq9.js";
32
+ import { S as cn } from "./sliders-horizontal-D-F97cnE.js";
33
+ /**
34
+ * @license lucide-react v1.22.0 - ISC
35
+ *
36
+ * This source code is licensed under the ISC license.
37
+ * See the LICENSE file in the root directory of this source tree.
38
+ */
39
+ const un = [
40
+ ["path", { d: "M2 10v3", key: "1fnikh" }],
41
+ ["path", { d: "M6 6v11", key: "11sgs0" }],
42
+ ["path", { d: "M10 3v18", key: "yhl04a" }],
43
+ ["path", { d: "M14 8v7", key: "3a1oy3" }],
44
+ ["path", { d: "M18 5v13", key: "123xd1" }],
45
+ ["path", { d: "M22 10v3", key: "154ddg" }]
46
+ ], dt = ln("audio-lines", un), pn = {
47
+ id: "voice-control-panel",
48
+ capabilities: ["capture", "pick", "expand", "open", "close"],
49
+ state: {
50
+ status: {
51
+ type: "'idle' | 'starting' | 'listening' | 'paused' | 'error'",
52
+ descriptionKey: "ui.agent.voiceControlPanel.state.status",
53
+ description: "Where the host voice session is: idle, starting, listening, paused or error.",
54
+ read: (t) => t.getStatus()
55
+ },
56
+ candidateIds: {
57
+ type: "string[]",
58
+ descriptionKey: "ui.agent.voiceControlPanel.state.candidateIds",
59
+ description: "Ids of the matches currently offered, in spoken order (option 1 first). Empty when there is nothing to choose.",
60
+ read: (t) => t.getCandidateIds()
61
+ },
62
+ commandsOpen: {
63
+ type: "boolean",
64
+ descriptionKey: "ui.agent.voiceControlPanel.state.commandsOpen",
65
+ description: "True when the voice commands list is expanded.",
66
+ read: (t) => t.isCommandsOpen()
67
+ },
68
+ panelOpen: {
69
+ type: "boolean",
70
+ descriptionKey: "ui.agent.voiceControlPanel.state.panelOpen",
71
+ description: "Floating layout: true when the panel above the pill is open. Always false inline.",
72
+ read: (t) => t.isPanelOpen()
73
+ }
74
+ },
75
+ actions: {
76
+ start_listening: {
77
+ safety: "write",
78
+ idempotent: !0,
79
+ // The host streams the patient's audio to its transcription service.
80
+ openWorld: !0,
81
+ descriptionKey: "ui.agent.voiceControlPanel.actions.startListening",
82
+ description: "Ask the host to start listening (it opens the microphone). Does nothing when already starting or listening, or while the panel is disabled.",
83
+ errors: ["Microphone permission denied", "Speech service unavailable"],
84
+ invoke: (t) => {
85
+ t.start();
86
+ }
87
+ },
88
+ stop_listening: {
89
+ safety: "write",
90
+ idempotent: !0,
91
+ descriptionKey: "ui.agent.voiceControlPanel.actions.stopListening",
92
+ description: "Ask the host to stop listening, or to cancel a start. Does nothing when not starting or listening.",
93
+ invoke: (t) => {
94
+ t.stop();
95
+ }
96
+ },
97
+ pick_candidate: {
98
+ // The host turns the pick into a write on the patient's record (the
99
+ // care plan adds a treatment line), so it is gated as PHI.
100
+ safety: "phi",
101
+ argsType: "{ id: string }",
102
+ argsSchema: {
103
+ type: "object",
104
+ properties: {
105
+ id: {
106
+ type: "string",
107
+ description: "One of the ids in the candidateIds state slot."
108
+ }
109
+ },
110
+ required: ["id"],
111
+ additionalProperties: !1
112
+ },
113
+ descriptionKey: "ui.agent.voiceControlPanel.actions.pickCandidate",
114
+ description: "Pick one of the offered matches by id, the same as saying its option number or pressing it. Unknown ids are ignored.",
115
+ examples: [
116
+ { args: { id: "otve" }, note: "Pick the match with id otve." }
117
+ ],
118
+ invoke: (t, g) => {
119
+ t.pickCandidate(g.id);
120
+ }
121
+ },
122
+ open_commands: {
123
+ safety: "read",
124
+ idempotent: !0,
125
+ descriptionKey: "ui.agent.voiceControlPanel.actions.openCommands",
126
+ description: "Expand the voice commands list.",
127
+ invoke: (t) => {
128
+ t.openCommands();
129
+ }
130
+ },
131
+ close_commands: {
132
+ safety: "read",
133
+ idempotent: !0,
134
+ descriptionKey: "ui.agent.voiceControlPanel.actions.closeCommands",
135
+ description: "Collapse the voice commands list.",
136
+ invoke: (t) => {
137
+ t.closeCommands();
138
+ }
139
+ },
140
+ open_panel: {
141
+ safety: "read",
142
+ idempotent: !0,
143
+ descriptionKey: "ui.agent.voiceControlPanel.actions.openPanel",
144
+ description: "Floating layout: open the panel above the pill. Does nothing inline.",
145
+ invoke: (t) => {
146
+ t.openPanel();
147
+ }
148
+ },
149
+ close_panel: {
150
+ safety: "read",
151
+ idempotent: !0,
152
+ descriptionKey: "ui.agent.voiceControlPanel.actions.closePanel",
153
+ description: "Floating layout: close the panel above the pill. Listening carries on. Does nothing inline.",
154
+ invoke: (t) => {
155
+ t.closePanel();
156
+ }
157
+ }
158
+ },
159
+ domHooks: {
160
+ root: {
161
+ attr: "data-component",
162
+ value: "voice-control-panel",
163
+ description: "Marks the VoiceControlPanel root."
164
+ },
165
+ instanceId: {
166
+ attr: "data-component-id",
167
+ sourceProp: "id",
168
+ description: "Sourced from the id prop on VoiceControlPanel."
169
+ },
170
+ item: {
171
+ attr: "data-candidate-id",
172
+ description: "On each match button, the candidate id that pick_candidate takes."
173
+ }
174
+ }
175
+ }, mn = P(
176
+ [
177
+ // The container query lives on the root and is read by descendants only,
178
+ // never by a flex parent of its own (see the grid below).
179
+ "ds:@container/voice-control",
180
+ "ds:block ds:w-full ds:min-w-0",
181
+ // The edge is --surface-border-width (1px, 2px in the accessible themes),
182
+ // at zero specificity so the nearest theme root decides it.
183
+ "ds:rounded-[var(--radius-lg)] ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))]",
184
+ "ds:bg-[var(--card)] ds:text-[color:var(--foreground)]",
185
+ "ds:p-[var(--spacing-md)]",
186
+ "ds:print:hidden"
187
+ ].join(" "),
188
+ {
189
+ variants: {
190
+ // The border colour lives only here, never beside a base colour, so
191
+ // the listening ring can't lose a race on stylesheet order.
192
+ status: {
193
+ idle: "ds:border-[color:var(--card-border)]",
194
+ starting: "ds:border-[color:var(--card-border)]",
195
+ listening: "ds:border-[color:var(--ring)]",
196
+ paused: "ds:border-[color:var(--card-border)]",
197
+ error: "ds:border-[color:var(--card-border)]"
198
+ }
199
+ },
200
+ defaultVariants: { status: "idle" }
201
+ }
202
+ ), fn = P(
203
+ [
204
+ "ds:relative ds:inline-flex ds:size-2.5 ds:shrink-0 ds:rounded-[var(--radius-full)]",
205
+ "ds:forced-colors:border ds:forced-colors:border-[CanvasText]"
206
+ ].join(" "),
207
+ {
208
+ variants: {
209
+ status: {
210
+ idle: "ds:border ds:border-[color:var(--muted-foreground)]",
211
+ starting: "ds:bg-[color:var(--muted-foreground)]",
212
+ listening: "ds:bg-[color:var(--destructive)]",
213
+ paused: "ds:bg-[color:var(--warning)]",
214
+ error: "ds:bg-[color:var(--error)]"
215
+ }
216
+ },
217
+ defaultVariants: { status: "idle" }
218
+ }
219
+ ), ct = P(
220
+ "ds:m-0 ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
221
+ {
222
+ variants: {
223
+ tone: {
224
+ info: "ds:text-[color:var(--info-foreground)]",
225
+ success: "ds:text-[color:var(--success-foreground)]",
226
+ warning: "ds:text-[color:var(--warning-foreground)]",
227
+ error: "ds:text-[color:var(--error-foreground)]"
228
+ }
229
+ },
230
+ defaultVariants: { tone: "info" }
231
+ }
232
+ ), Oe = "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]", gn = P(
233
+ [
234
+ "ds:flex ds:w-full ds:items-center",
235
+ "ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
236
+ "ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)] ds:py-[var(--spacing-2xs)]",
237
+ "ds:text-start ds:text-[color:var(--foreground)] ds:cursor-pointer",
238
+ "ds:hover:bg-[color:var(--muted)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
239
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
240
+ Oe
241
+ ].join(" ")
242
+ ), vn = P(
243
+ [
244
+ "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
245
+ "ds:min-h-[var(--min-target-size)] ds:py-[var(--spacing-2xs)]",
246
+ "ds:rounded-[var(--radius-sm)] type-meta ds:text-[color:var(--muted-foreground)] ds:text-start",
247
+ "ds:hover:text-[color:var(--foreground)] ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
248
+ Oe
249
+ ].join(" ")
250
+ ), hn = P(
251
+ [
252
+ "ds:fixed ds:z-[var(--z-fixed)]",
253
+ "ds:bottom-[calc(var(--spacing-lg)+env(safe-area-inset-bottom,0px))]",
254
+ "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
255
+ "ds:pointer-events-none ds:[&>*]:pointer-events-auto",
256
+ "ds:print:hidden"
257
+ ].join(" "),
258
+ {
259
+ variants: {
260
+ position: {
261
+ "bottom-end": "ds:end-[var(--spacing-lg)] ds:items-end",
262
+ "bottom-start": "ds:start-[var(--spacing-lg)] ds:items-start"
263
+ }
264
+ },
265
+ defaultVariants: { position: "bottom-end" }
266
+ }
267
+ ), bn = P(
268
+ [
269
+ "ds:@container/voice-control",
270
+ // Closed is `hidden`: never let a display utility win over it.
271
+ "ds:min-w-0 ds:[&[hidden]]:hidden",
272
+ "ds:[inline-size:min(24rem,calc(100vw-(var(--spacing-lg)*2)))]",
273
+ "ds:[max-block-size:calc(100dvh-var(--min-target-size)-(var(--spacing-lg)*2)-var(--spacing-sm)-env(safe-area-inset-bottom,0px))]",
274
+ // On a phone the panel spans the screen, so it stops at half the height
275
+ // (scrolling inside) and the voice cursor row above it stays in view.
276
+ "ds:max-sm:[max-block-size:calc(50dvh-var(--min-target-size)-(var(--spacing-lg)*2)-var(--spacing-sm)-env(safe-area-inset-bottom,0px))]",
277
+ "ds:overflow-y-auto ds:overscroll-contain",
278
+ Yt,
279
+ en,
280
+ "ds:text-[color:var(--foreground)]",
281
+ Oe
282
+ ].join(" "),
283
+ {
284
+ variants: {
285
+ position: {
286
+ "bottom-end": "ds:origin-bottom-right ds:rtl:origin-bottom-left",
287
+ "bottom-start": "ds:origin-bottom-left ds:rtl:origin-bottom-right"
288
+ }
289
+ },
290
+ defaultVariants: { position: "bottom-end" }
291
+ }
292
+ ), yn = P(
293
+ "ds:disabled:cursor-not-allowed ds:disabled:opacity-50",
294
+ {
295
+ variants: {
296
+ extended: {
297
+ true: "ds:gap-[var(--spacing-xs)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-md)]",
298
+ false: ""
299
+ }
300
+ },
301
+ defaultVariants: { extended: !1 }
302
+ }
303
+ ), xn = {
304
+ alt: "Alt",
305
+ option: "Alt",
306
+ ctrl: "Control",
307
+ control: "Control",
308
+ shift: "Shift",
309
+ meta: "Meta",
310
+ cmd: "Meta",
311
+ command: "Meta"
312
+ };
313
+ function wn(t) {
314
+ const g = t.split("+").map((R) => R.trim()).filter(Boolean);
315
+ if (g.length === 0) return null;
316
+ const m = g[g.length - 1], L = /* @__PURE__ */ new Set();
317
+ for (const R of g.slice(0, -1)) {
318
+ const q = xn[R.toLowerCase()];
319
+ if (!q) return null;
320
+ L.add(q);
321
+ }
322
+ const V = m.length === 1 ? m.toUpperCase() : m, G = ["Control", "Alt", "Shift", "Meta"].filter(
323
+ (R) => L.has(R)
324
+ );
325
+ return {
326
+ modifiers: L,
327
+ key: V,
328
+ aria: [...G, V].join("+"),
329
+ keys: [...G, V]
330
+ };
331
+ }
332
+ function kn(t, g) {
333
+ if (t.altKey !== g.modifiers.has("Alt") || t.ctrlKey !== g.modifiers.has("Control") || t.shiftKey !== g.modifiers.has("Shift") || t.metaKey !== g.modifiers.has("Meta")) return !1;
334
+ const { key: m } = g;
335
+ return /^[A-Z]$/.test(m) ? t.code === `Key${m}` : /^[0-9]$/.test(m) ? t.code === `Digit${m}` : t.key.toLowerCase() === m.toLowerCase();
336
+ }
337
+ function Nn({ keys: t }) {
338
+ return /* @__PURE__ */ o(Ht, { keys: t, separator: "plus", size: "sm" });
339
+ }
340
+ const Cn = {
341
+ info: Re,
342
+ success: rn,
343
+ warning: sn,
344
+ error: pt
345
+ }, Sn = [], ut = "ds:min-h-[var(--min-target-size)]", Pn = "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]", Rn = /[.!?…:。.!?؟।]$/u, On = " ", An = It(
346
+ ({
347
+ status: t,
348
+ onToggle: g,
349
+ disabled: m = !1,
350
+ title: L,
351
+ beta: V = !1,
352
+ betaNotice: G,
353
+ language: R,
354
+ languages: q,
355
+ onLanguageChange: se,
356
+ extraControls: re,
357
+ target: ae,
358
+ transcript: d,
359
+ message: f,
360
+ error: C,
361
+ candidates: F = Sn,
362
+ candidatesLabel: E,
363
+ onCandidatePick: M,
364
+ commands: ie,
365
+ defaultCommandsOpen: mt = !1,
366
+ shortcut: H = "Alt+V",
367
+ id: D,
368
+ layout: ft = "inline",
369
+ position: le = "bottom-end",
370
+ open: Ae,
371
+ defaultOpen: gt = !1,
372
+ onOpenChange: Ee,
373
+ aiSparkle: vt = !0,
374
+ aiConsent: r,
375
+ aiConsentHeadingLevel: ht,
376
+ className: ze,
377
+ ...Ke
378
+ }, Te) => {
379
+ const { t: i } = Lt("ui"), de = Se(), _e = Se(), Ie = Se(), [ce, ue] = _(mt), v = ft === "floating", pe = c(null), Le = Pe(() => Zt(Te, pe), [Te]), W = c(null), Ve = c(null), U = c(null), me = c(null), Ge = c(null), h = Pe(
380
+ () => H === !1 ? null : wn(H),
381
+ [H]
382
+ );
383
+ y(() => {
384
+ }, [H, h]);
385
+ const [bt, yt] = _(gt), fe = Ae !== void 0, b = v && (fe ? Ae : bt), $ = r !== void 0 && !r.granted, [ge, ve] = _(!1), xt = ge && $, J = c(!1), B = c(!1), [wt, Fe] = _(!1), kt = ((r == null ? void 0 : r.pending) ?? !1) || wt, l = c({
386
+ status: t,
387
+ onToggle: g,
388
+ disabled: m,
389
+ candidates: F,
390
+ onCandidatePick: M,
391
+ commandsOpen: ce,
392
+ aiBlocked: $,
393
+ floating: v,
394
+ panelOpen: b,
395
+ controlled: fe,
396
+ onOpenChange: Ee
397
+ });
398
+ l.current = {
399
+ status: t,
400
+ onToggle: g,
401
+ disabled: m,
402
+ candidates: F,
403
+ onCandidatePick: M,
404
+ commandsOpen: ce,
405
+ aiBlocked: $,
406
+ floating: v,
407
+ panelOpen: b,
408
+ controlled: fe,
409
+ onOpenChange: Ee
410
+ };
411
+ const Q = c(null), [, Nt] = _(0), x = I((e) => {
412
+ Q.current = e, Nt((n) => n + 1);
413
+ }, []), z = c(null), he = c(!1), N = I((e) => {
414
+ var s;
415
+ const n = l.current;
416
+ !n.floating || n.panelOpen === e || (n.controlled || yt(e), (s = n.onOpenChange) == null || s.call(n, e));
417
+ }, []), X = I(() => {
418
+ J.current = !1, B.current = !1, ve(!1);
419
+ }, []), Me = I(() => {
420
+ const e = typeof document > "u" ? null : document.activeElement;
421
+ z.current = e instanceof HTMLElement && e !== document.body ? e : null, J.current = !0, ve(!0), N(!0), x("gate");
422
+ }, [N, x]), Z = I(() => {
423
+ const { status: e, disabled: n, aiBlocked: s } = l.current;
424
+ if (e === "starting" || e === "listening") {
425
+ l.current.onToggle("stop");
426
+ return;
427
+ }
428
+ if (!n) {
429
+ if (s) {
430
+ Me();
431
+ return;
432
+ }
433
+ l.current.onToggle("start");
434
+ }
435
+ }, [Me]), Y = c(Z);
436
+ Y.current = Z;
437
+ const Ct = I(() => {
438
+ var n;
439
+ B.current = !0;
440
+ const e = (n = r == null ? void 0 : r.onGrant) == null ? void 0 : n.call(r);
441
+ e && typeof e.then == "function" && (Fe(!0), Promise.resolve(e).catch(() => {
442
+ B.current = !1;
443
+ }).finally(() => Fe(!1)));
444
+ }, [r]), De = c((r == null ? void 0 : r.granted) ?? !0);
445
+ y(() => {
446
+ const e = De.current, n = (r == null ? void 0 : r.granted) ?? !0;
447
+ if (De.current = n, e || !n) return;
448
+ const s = J.current, u = B.current;
449
+ if (J.current = !1, B.current = !1, ve(!1), !s) return;
450
+ const k = typeof document > "u" || !document.activeElement || document.activeElement === document.body;
451
+ if (u) {
452
+ const { status: S, disabled: p } = l.current;
453
+ !p && S !== "starting" && S !== "listening" && l.current.onToggle("start"), z.current = null, x("toggle");
454
+ } else k && x("toggle");
455
+ }, [r == null ? void 0 : r.granted, x]), y(() => {
456
+ if (!(t === "starting" || t === "listening") || !$) {
457
+ he.current = !1;
458
+ return;
459
+ }
460
+ he.current || (he.current = !0, l.current.onToggle("stop"));
461
+ }, [$, t]), y(() => {
462
+ v && !b && ge && X();
463
+ }, [v, b, ge, X]), y(() => {
464
+ if (!h || typeof document > "u") return;
465
+ const e = (n) => {
466
+ if (n.defaultPrevented || n.repeat || n.isComposing || !kn(n, h)) return;
467
+ const { status: s, disabled: u } = l.current;
468
+ u && s !== "starting" && s !== "listening" || (n.preventDefault(), Y.current());
469
+ };
470
+ return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
471
+ }, [h]);
472
+ const St = Pe(
473
+ () => ({
474
+ getStatus: () => l.current.status,
475
+ start: () => {
476
+ const { status: e, disabled: n } = l.current;
477
+ n || e === "starting" || e === "listening" || Y.current();
478
+ },
479
+ stop: () => {
480
+ const { status: e } = l.current;
481
+ e !== "starting" && e !== "listening" || Y.current();
482
+ },
483
+ getCandidateIds: () => l.current.candidates.map((e) => e.id),
484
+ pickCandidate: (e) => {
485
+ var n, s;
486
+ l.current.disabled || l.current.candidates.some((u) => u.id === e) && ((s = (n = l.current).onCandidatePick) == null || s.call(n, e));
487
+ },
488
+ isCommandsOpen: () => l.current.commandsOpen,
489
+ openCommands: () => ue(!0),
490
+ closeCommands: () => ue(!1),
491
+ isPanelOpen: () => l.current.panelOpen,
492
+ openPanel: () => N(!0),
493
+ closePanel: () => N(!1)
494
+ }),
495
+ [N]
496
+ );
497
+ tn(pn, St, D);
498
+ const K = i(`voiceControl.status.${t}`), O = C ? i(`voiceControl.error.${C}`) : "", ee = (f == null ? void 0 : f.text) ?? "", T = ee ? `${(f == null ? void 0 : f.id) ?? ""}\0${ee}` : "", be = F.length > 0, w = F.map((e) => e.id).join("\0"), $e = t === "starting" || t === "listening", te = i(t === "listening" ? "voiceControl.action.stop" : t === "starting" ? "common.cancel" : t === "paused" ? "voiceControl.action.resume" : "voiceControl.action.start"), [ye, Pt] = _({ text: "", count: 0 }), Be = c({
499
+ status: t,
500
+ errorText: O,
501
+ messageKey: T,
502
+ candidatesKey: w
503
+ });
504
+ y(() => {
505
+ const e = Be.current, n = [];
506
+ t !== e.status && n.push(K), O && O !== e.errorText && n.push(O), T && T !== e.messageKey && n.push(ee), w && w !== e.candidatesKey && n.push(E || i("voiceControl.candidates")), Be.current = { status: t, errorText: O, messageKey: T, candidatesKey: w }, n.length > 0 && Pt((s) => ({
507
+ // A sentence break between parts gives the screen reader a pause:
508
+ // "Stopped. Microphone access is blocked…". The break is a
509
+ // translated template (Japanese ends a sentence with 。), skipped
510
+ // when a part already ends one.
511
+ text: n.reduce(
512
+ (u, k) => Rn.test(u) ? `${u} ${k}` : i("voiceControl.announcementJoin", {
513
+ first: u,
514
+ next: k
515
+ })
516
+ ),
517
+ count: s.count + 1
518
+ }));
519
+ }, [
520
+ i,
521
+ t,
522
+ K,
523
+ O,
524
+ T,
525
+ ee,
526
+ w,
527
+ E
528
+ ]);
529
+ const je = c({ error: C, candidatesKey: w });
530
+ y(() => {
531
+ const e = je.current;
532
+ je.current = { error: C, candidatesKey: w }, v && (C && C !== e.error || w && w !== e.candidatesKey) && N(!0);
533
+ }, [v, C, w, N]), y(() => {
534
+ const e = pe.current;
535
+ if (!v || !e) return;
536
+ const n = {}, s = () => {
537
+ var nt;
538
+ const k = window.getComputedStyle(e), S = Number.parseFloat(k.rowGap) || 0, p = (Number.parseFloat(k.bottom) || 0) + (((nt = Ge.current) == null ? void 0 : nt.offsetHeight) ?? 0) + S, A = W.current, tt = A && !A.hidden ? A.offsetHeight : 0;
539
+ at(
540
+ n,
541
+ tt > 0 ? Math.max(
542
+ p,
543
+ Math.min(p + tt + S, window.innerHeight / 2)
544
+ ) : p
545
+ );
546
+ };
547
+ s();
548
+ const u = typeof ResizeObserver > "u" ? null : new ResizeObserver(s);
549
+ return u == null || u.observe(e), window.addEventListener("resize", s), () => {
550
+ u == null || u.disconnect(), window.removeEventListener("resize", s), at(n, null);
551
+ };
552
+ }, [v]);
553
+ const xe = v && vt, {
554
+ state: qe,
555
+ props: He,
556
+ land: We
557
+ } = nn({ enabled: xe }), j = (f == null ? void 0 : f.tone) === "success" ? T : "", Ue = c(j);
558
+ y(() => {
559
+ j !== Ue.current && (Ue.current = j, xe && j && We());
560
+ }, [xe, j, We]);
561
+ const we = c(!1);
562
+ y(() => {
563
+ var n;
564
+ if (be || !we.current) return;
565
+ we.current = !1;
566
+ const e = typeof document > "u" ? null : document.activeElement;
567
+ (!e || e === document.body) && ((n = U.current) == null || n.focus());
568
+ }, [be]);
569
+ const Je = c(() => {
570
+ });
571
+ y(() => {
572
+ const e = pe.current;
573
+ if (!v || !e) return;
574
+ const n = (s) => {
575
+ s.key !== "Escape" || s.defaultPrevented || l.current.panelOpen && (s.preventDefault(), Je.current(!0));
576
+ };
577
+ return e.addEventListener("keydown", n), () => e.removeEventListener("keydown", n);
578
+ }, [v]);
579
+ const Qe = c(b);
580
+ on(() => {
581
+ var s;
582
+ const e = Qe.current;
583
+ if (Qe.current = b, !e || b || Q.current) return;
584
+ const n = document.activeElement;
585
+ n && ((s = W.current) != null && s.contains(n)) && x("launcher");
586
+ }, [b, x]), y(() => {
587
+ var n, s, u, k, S;
588
+ const e = Q.current;
589
+ if (e)
590
+ if (Q.current = null, e === "gate") {
591
+ const p = Ve.current, A = (p == null ? void 0 : p.querySelector(
592
+ '[role="checkbox"]:not([disabled])'
593
+ )) ?? (p == null ? void 0 : p.querySelector(
594
+ '[data-component="ai-consent-banner"]'
595
+ ));
596
+ A == null || A.focus();
597
+ } else if (e === "return") {
598
+ const p = z.current;
599
+ z.current = null, p != null && p.isConnected && p.getClientRects().length > 0 ? p.focus() : l.current.floating && !l.current.panelOpen ? (n = me.current) == null || n.focus() : (s = U.current) == null || s.focus();
600
+ } else e === "panel" ? (u = W.current) == null || u.focus() : e === "toggle" ? (k = U.current) == null || k.focus() : (S = me.current) == null || S.focus();
601
+ });
602
+ const Xe = (q ?? []).map((e) => ({
603
+ value: e.value,
604
+ label: e.label
605
+ })), Ze = Xe.length > 1, Rt = Ze || re != null && re !== !1, Ot = !!(d != null && d.final) || !!(d != null && d.partial), ne = t === "starting", At = f ? Cn[f.tone] : Re, ke = (e) => {
606
+ N(!1), X(), e && x(z.current ? "return" : "launcher");
607
+ };
608
+ Je.current = ke;
609
+ const Et = /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-xs)] ds:gap-y-[var(--spacing-2xs)]", children: [
610
+ /* @__PURE__ */ o(
611
+ "p",
612
+ {
613
+ id: de,
614
+ className: "ds:m-0 type-label ds:font-semibold ds:text-[color:var(--foreground)]",
615
+ children: L ?? i("voiceControl.title")
616
+ }
617
+ ),
618
+ V ? /* @__PURE__ */ o(Mt, { variant: "brand", size: "sm", children: i("voiceControl.beta") }) : null,
619
+ /* @__PURE__ */ a("span", { className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
620
+ /* @__PURE__ */ o("span", { "aria-hidden": "true", className: fn({ status: t }), children: t === "listening" ? /* @__PURE__ */ o(
621
+ "span",
622
+ {
623
+ className: [
624
+ "ds:absolute ds:inset-0 ds:rounded-[var(--radius-full)]",
625
+ "ds:bg-[color:var(--destructive)]",
626
+ // No pulse in the accessible themes (--accessible-off).
627
+ "ds:motion-safe:animate-[var(--accessible-off,recorder-pulse_1.2s_ease-out_infinite)]"
628
+ ].join(" ")
629
+ }
630
+ ) : null }),
631
+ /* @__PURE__ */ o("span", { "data-voice-status": "", children: K })
632
+ ] }),
633
+ v ? /* @__PURE__ */ o(
634
+ Dt,
635
+ {
636
+ intent: "ghost",
637
+ size: "md",
638
+ icon: /* @__PURE__ */ o(an, {}),
639
+ "aria-label": i("common.close"),
640
+ onClick: () => ke(!0),
641
+ className: Pn,
642
+ "data-voice-close": ""
643
+ }
644
+ ) : null
645
+ ] }), zt = G ? /* @__PURE__ */ a("p", { className: "ds:m-0 ds:flex ds:items-start ds:gap-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: [
646
+ /* @__PURE__ */ o(Re, { "aria-hidden": "true", className: "ds:mt-px ds:size-4 ds:shrink-0" }),
647
+ /* @__PURE__ */ o("span", { children: G })
648
+ ] }) : null, Kt = xt && r ? /* @__PURE__ */ a(
649
+ "div",
650
+ {
651
+ ref: Ve,
652
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
653
+ "data-voice-consent": "",
654
+ children: [
655
+ /* @__PURE__ */ o(
656
+ Gt,
657
+ {
658
+ tabIndex: -1,
659
+ granted: r.granted,
660
+ grantedAt: r.grantedAt,
661
+ grantedBy: r.grantedBy,
662
+ canGrant: (r.canGrant ?? !0) && r.onGrant !== void 0,
663
+ pending: kt,
664
+ onGrantConsent: Ct,
665
+ headingLevel: ht
666
+ }
667
+ ),
668
+ /* @__PURE__ */ o("div", { className: "ds:flex ds:justify-end", children: /* @__PURE__ */ o(
669
+ st,
670
+ {
671
+ intent: "ghost",
672
+ size: "md",
673
+ onClick: () => {
674
+ X(), x("return");
675
+ },
676
+ className: ut,
677
+ children: i("common.close")
678
+ }
679
+ ) })
680
+ ]
681
+ }
682
+ ) : null, Tt = /* @__PURE__ */ a(ot, { children: [
683
+ /* @__PURE__ */ a("div", { className: "ds:grid ds:grid-cols-1 ds:items-start ds:gap-[var(--spacing-sm)] ds:@[560px]/voice-control:grid-cols-[auto_minmax(0,1fr)_auto]", children: [
684
+ /* @__PURE__ */ o(
685
+ st,
686
+ {
687
+ ref: U,
688
+ intent: t === "listening" ? "outline" : "primary",
689
+ background: "surface",
690
+ size: "md",
691
+ disabled: m && !$e,
692
+ "aria-busy": ne || void 0,
693
+ "aria-keyshortcuts": h == null ? void 0 : h.aria,
694
+ onClick: () => Z(),
695
+ startIcon: ne ? /* @__PURE__ */ o(it, { className: "ds:animate-[var(--accessible-off,spin_1s_linear_infinite)] ds:motion-reduce:animate-none" }) : t === "listening" ? /* @__PURE__ */ o(lt, { className: "ds:fill-current" }) : /* @__PURE__ */ o(dt, {}),
696
+ className: `${ut} ds:w-full ds:@[560px]/voice-control:w-auto`,
697
+ "data-voice-toggle": "",
698
+ children: te
699
+ }
700
+ ),
701
+ /* @__PURE__ */ a("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
702
+ ae != null && ae !== "" ? /* @__PURE__ */ o("p", { className: "ds:m-0 type-body-sm ds:font-semibold ds:[overflow-wrap:anywhere]", children: ae }) : null,
703
+ Ot ? /* @__PURE__ */ a(
704
+ "p",
705
+ {
706
+ className: "ds:m-0 type-body-sm ds:[overflow-wrap:anywhere]",
707
+ "data-voice-transcript": "",
708
+ children: [
709
+ /* @__PURE__ */ a("span", { className: "ds:sr-only", children: [
710
+ i("voiceControl.heard"),
711
+ " "
712
+ ] }),
713
+ d != null && d.final ? /* @__PURE__ */ o("span", { className: "ds:text-[color:var(--foreground)]", children: d.final }) : null,
714
+ d != null && d.final && (d != null && d.partial) ? " " : null,
715
+ d != null && d.partial ? /* @__PURE__ */ o(
716
+ "span",
717
+ {
718
+ className: "ds:italic ds:text-[color:var(--muted-foreground)]",
719
+ "data-voice-partial": "",
720
+ children: d.partial
721
+ }
722
+ ) : null
723
+ ]
724
+ }
725
+ ) : t === "listening" ? (
726
+ // Holds the line while nothing has been heard yet, so the first
727
+ // words do not push the panel down.
728
+ /* @__PURE__ */ o(
729
+ "p",
730
+ {
731
+ "aria-hidden": "true",
732
+ className: "ds:m-0 type-body-sm ds:min-h-[1lh]"
733
+ }
734
+ )
735
+ ) : null,
736
+ C ? /* @__PURE__ */ a("p", { className: ct({ tone: "error" }), children: [
737
+ /* @__PURE__ */ o(
738
+ pt,
739
+ {
740
+ "aria-hidden": "true",
741
+ className: "ds:mt-px ds:size-4 ds:shrink-0"
742
+ }
743
+ ),
744
+ /* @__PURE__ */ o("span", { children: O })
745
+ ] }) : null,
746
+ f && f.text ? /* @__PURE__ */ a(
747
+ "p",
748
+ {
749
+ className: ct({ tone: f.tone }),
750
+ "data-tone": f.tone,
751
+ children: [
752
+ /* @__PURE__ */ o(
753
+ At,
754
+ {
755
+ "aria-hidden": "true",
756
+ className: "ds:mt-px ds:size-4 ds:shrink-0"
757
+ }
758
+ ),
759
+ /* @__PURE__ */ o("span", { children: f.text })
760
+ ]
761
+ }
762
+ ) : null
763
+ ] }),
764
+ Rt ? /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:@[560px]/voice-control:flex-row ds:@[560px]/voice-control:flex-wrap ds:@[560px]/voice-control:items-end", children: [
765
+ Ze ? (
766
+ // A visible, associated label (the kit FormField pattern).
767
+ /* @__PURE__ */ o(qt, { label: i("voiceControl.language"), children: /* @__PURE__ */ o(
768
+ Ut,
769
+ {
770
+ options: Xe,
771
+ value: R ?? "",
772
+ onValueChange: (e) => {
773
+ e && (se == null || se(e));
774
+ },
775
+ disabled: m
776
+ }
777
+ ) })
778
+ ) : null,
779
+ re
780
+ ] }) : null
781
+ ] }),
782
+ be ? /* @__PURE__ */ a(
783
+ "div",
784
+ {
785
+ role: "group",
786
+ "aria-labelledby": E ? _e : void 0,
787
+ "aria-label": E ? void 0 : i("voiceControl.candidates"),
788
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
789
+ "data-voice-candidates": "",
790
+ children: [
791
+ E ? /* @__PURE__ */ o(
792
+ "p",
793
+ {
794
+ id: _e,
795
+ className: "ds:m-0 type-body-sm ds:text-[color:var(--foreground)]",
796
+ children: E
797
+ }
798
+ ) : null,
799
+ /* @__PURE__ */ o(oe, { as: "ol", density: "compact", children: F.map((e, n) => /* @__PURE__ */ o(
800
+ oe.Item,
801
+ {
802
+ title: /* @__PURE__ */ o(
803
+ "button",
804
+ {
805
+ type: "button",
806
+ disabled: m,
807
+ onClick: () => {
808
+ we.current = !0, M == null || M(e.id);
809
+ },
810
+ className: gn(),
811
+ "data-candidate-id": e.id,
812
+ children: /* @__PURE__ */ a("span", { children: [
813
+ /* @__PURE__ */ o("span", { className: "ds:sr-only", children: i("voiceControl.candidate", {
814
+ number: n + 1
815
+ }) }),
816
+ " ",
817
+ /* @__PURE__ */ o("span", { className: "ds:font-medium", children: e.label }),
818
+ e.detail ? /* @__PURE__ */ a(ot, { children: [
819
+ " ",
820
+ /* @__PURE__ */ o("span", { className: "ds:ms-[var(--spacing-2xs)] type-meta ds:text-[color:var(--muted-foreground)]", children: e.detail })
821
+ ] }) : null
822
+ ] })
823
+ }
824
+ )
825
+ },
826
+ e.id
827
+ )) })
828
+ ]
829
+ }
830
+ ) : null,
831
+ ie && ie.length > 0 ? /* @__PURE__ */ a($t, { open: ce, onOpenChange: ue, children: [
832
+ /* @__PURE__ */ a(Bt, { className: vn(), children: [
833
+ /* @__PURE__ */ o(
834
+ dn,
835
+ {
836
+ "aria-hidden": "true",
837
+ className: "ds:size-4 ds:shrink-0 ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none ds:[[data-state=open]_&]:rotate-180"
838
+ }
839
+ ),
840
+ /* @__PURE__ */ o("span", { children: h ? /* @__PURE__ */ o(
841
+ Vt,
842
+ {
843
+ ns: "ui",
844
+ i18nKey: "voiceControl.commandsWithShortcut",
845
+ components: {
846
+ shortcut: /* @__PURE__ */ o(Nn, { keys: h.keys })
847
+ }
848
+ }
849
+ ) : i("voiceControl.commands") })
850
+ ] }),
851
+ /* @__PURE__ */ o(
852
+ jt,
853
+ {
854
+ "aria-label": i("voiceControl.commands"),
855
+ className: "ds:pt-[var(--spacing-xs)]",
856
+ children: /* @__PURE__ */ o(oe, { density: "compact", children: ie.map((e, n) => /* @__PURE__ */ o(
857
+ oe.Item,
858
+ {
859
+ title: e.phrase,
860
+ description: e.description
861
+ },
862
+ n
863
+ )) })
864
+ }
865
+ )
866
+ ] }) : null
867
+ ] }), Ye = /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
868
+ Et,
869
+ zt,
870
+ Kt ?? Tt
871
+ ] }), et = /* @__PURE__ */ o(Wt, { politeness: "polite", "data-voice-announcer": "", children: ye.text ? (
872
+ // Alternate a trailing no-break space so the same words said
873
+ // twice in a row still change the region and are announced.
874
+ `${ye.text}${ye.count % 2 ? On : ""}`
875
+ ) : "" });
876
+ if (!v)
877
+ return /* @__PURE__ */ a(
878
+ "div",
879
+ {
880
+ ref: Le,
881
+ role: "group",
882
+ "aria-labelledby": de,
883
+ "data-component": "voice-control-panel",
884
+ "data-component-id": D,
885
+ "data-status": t,
886
+ id: D,
887
+ ...Ke,
888
+ className: mn({ status: t, className: ze }),
889
+ children: [
890
+ Ye,
891
+ et
892
+ ]
893
+ }
894
+ );
895
+ const Ne = t === "listening", Ce = Ne || t === "paused", _t = Ce && !te.toLocaleLowerCase().includes(K.toLocaleLowerCase()) ? i("voiceControl.statusWithAction", {
896
+ status: K,
897
+ action: te
898
+ }) : te;
899
+ return /* @__PURE__ */ a(
900
+ "div",
901
+ {
902
+ ref: Le,
903
+ "data-component": "voice-control-panel",
904
+ "data-component-id": D,
905
+ "data-status": t,
906
+ "data-layout": "floating",
907
+ "data-position": le,
908
+ "data-open": b ? "" : void 0,
909
+ id: D,
910
+ ...Ke,
911
+ className: hn({ position: le, className: ze }),
912
+ children: [
913
+ /* @__PURE__ */ o(
914
+ "div",
915
+ {
916
+ ref: W,
917
+ id: Ie,
918
+ role: "group",
919
+ "aria-labelledby": de,
920
+ tabIndex: -1,
921
+ hidden: !b,
922
+ className: bn({ position: le }),
923
+ "data-voice-panel": "",
924
+ children: Ye
925
+ }
926
+ ),
927
+ /* @__PURE__ */ a(
928
+ "div",
929
+ {
930
+ ref: Ge,
931
+ className: "ds:relative",
932
+ "data-ai-sparkle": He["data-ai-sparkle"],
933
+ children: [
934
+ /* @__PURE__ */ a("div", { className: Jt, "data-voice-pill": "", children: [
935
+ /* @__PURE__ */ a(
936
+ "button",
937
+ {
938
+ type: "button",
939
+ onClick: () => Z(),
940
+ disabled: m && !$e || void 0,
941
+ "aria-label": _t,
942
+ "aria-busy": ne || void 0,
943
+ "aria-keyshortcuts": h == null ? void 0 : h.aria,
944
+ className: rt({
945
+ // The word on the red needs 7:1 in the accessible themes:
946
+ // `labelled` holds the hover red there.
947
+ recording: Ne ? "labelled" : !1,
948
+ className: yn({ extended: Ce })
949
+ }),
950
+ "data-voice-mic": "",
951
+ children: [
952
+ ne ? /* @__PURE__ */ o(
953
+ it,
954
+ {
955
+ "aria-hidden": "true",
956
+ className: "ds:size-5 ds:animate-[var(--accessible-off,spin_1s_linear_infinite)] ds:motion-reduce:animate-none"
957
+ }
958
+ ) : Ne ? /* @__PURE__ */ o(
959
+ lt,
960
+ {
961
+ "aria-hidden": "true",
962
+ className: "ds:size-5 ds:fill-current"
963
+ }
964
+ ) : /* @__PURE__ */ o(dt, { "aria-hidden": "true", className: "ds:size-5" }),
965
+ Ce ? /* @__PURE__ */ o("span", { className: "type-label ds:whitespace-nowrap", children: K }) : null
966
+ ]
967
+ }
968
+ ),
969
+ /* @__PURE__ */ o("span", { "aria-hidden": "true", className: Qt }),
970
+ /* @__PURE__ */ o(
971
+ "button",
972
+ {
973
+ ref: me,
974
+ type: "button",
975
+ onClick: () => {
976
+ b ? ke(!1) : (z.current = null, N(!0), x("panel"));
977
+ },
978
+ "aria-label": i("voiceControl.panelToggle"),
979
+ "aria-expanded": b,
980
+ "aria-controls": Ie,
981
+ className: rt({ recording: !1 }),
982
+ "data-voice-launcher": "",
983
+ children: /* @__PURE__ */ o(cn, { "aria-hidden": "true", className: "ds:size-5" })
984
+ }
985
+ ),
986
+ qe ? /* @__PURE__ */ o(
987
+ "span",
988
+ {
989
+ "aria-hidden": "true",
990
+ className: `${Xt} ${He.className}`
991
+ }
992
+ ) : null
993
+ ] }),
994
+ /* @__PURE__ */ o(Ft, { state: qe })
995
+ ]
996
+ }
997
+ ),
998
+ et
999
+ ]
1000
+ }
1001
+ );
1002
+ }
1003
+ );
1004
+ An.displayName = "VoiceControlPanel";
1005
+ export {
1006
+ An as V,
1007
+ pn as v
1008
+ };
1009
+ //# sourceMappingURL=voice-control-panel-Bg1eklL0.js.map