@alfadocs/ui-kit-debug 1.67.0 → 1.68.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 (499) hide show
  1. package/dist/_chunks/{address-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
  2. package/dist/_chunks/{address-fields-CJtu7LQU.js.map → address-fields-BUPRs3n-.js.map} +1 -1
  3. package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
  4. package/dist/_chunks/{agenda-card-DR9gDdKp.js.map → agenda-card-BDuvreCe.js.map} +1 -1
  5. package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
  6. package/dist/_chunks/{agenda-tray-DGB1Zup-.js.map → agenda-tray-CfwylhWf.js.map} +1 -1
  7. package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
  8. package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js.map → ai-credits-exhausted-notice-Bg8NpW2K.js.map} +1 -1
  9. package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
  10. package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js.map → ai-permission-notice-C00i6VhY.js.map} +1 -1
  11. package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
  12. package/dist/_chunks/ai-prompt-input-DzgyoKyk.js.map +1 -0
  13. package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
  14. package/dist/_chunks/alert-9kEwDza3.js.map +1 -0
  15. package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
  16. package/dist/_chunks/{alia-sidebar-qe0quZkB.js.map → alia-sidebar-B06ZSOaF.js.map} +1 -1
  17. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
  18. package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js.map → anamnesis-summary-card-DQ3iE1gD.js.map} +1 -1
  19. package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
  20. package/dist/_chunks/anamnesis-summary-rows-CNK0fIJk.js.map +1 -0
  21. package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
  22. package/dist/_chunks/{appointment-card-CL32sux-.js.map → appointment-card-5JMWi9_f.js.map} +1 -1
  23. package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
  24. package/dist/_chunks/{appointment-peek-B5mcDcXt.js.map → appointment-peek-D5XCfYKu.js.map} +1 -1
  25. package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
  26. package/dist/_chunks/{appointment-timeline-CCqjORFb.js.map → appointment-timeline-VFP6HoXT.js.map} +1 -1
  27. package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
  28. package/dist/_chunks/{appointment-tray-qtpJt8e0.js.map → appointment-tray-B3PDER3I.js.map} +1 -1
  29. package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
  30. package/dist/_chunks/{audio-recorder-B11RR-rC.js.map → audio-recorder-4Ll0pwYK.js.map} +1 -1
  31. package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
  32. package/dist/_chunks/{auth-form-parts-DwUTH6YN.js.map → auth-form-parts-B40zvD-a.js.map} +1 -1
  33. package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
  34. package/dist/_chunks/avatar-BPiPL7ND.js.map +1 -0
  35. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
  36. package/dist/_chunks/{balance-badge-cell-DZNthHO1.js.map → balance-badge-cell-BG3DMly4.js.map} +1 -1
  37. package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
  38. package/dist/_chunks/{bishop-score-CaNTrikJ.js.map → bishop-score-Df8nF1qg.js.map} +1 -1
  39. package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
  40. package/dist/_chunks/booking-B1pDbERi.js.map +1 -0
  41. package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
  42. package/dist/_chunks/{calendar-BhN-jisv.js.map → calendar-BvOM8rG3.js.map} +1 -1
  43. package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
  44. package/dist/_chunks/{calendar-workspace-MRrzcxAy.js.map → calendar-workspace-CYK1M83j.js.map} +1 -1
  45. package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
  46. package/dist/_chunks/{chat-message-fRLZ95O5.js.map → chat-message-Be-9vIIQ.js.map} +1 -1
  47. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
  48. package/dist/_chunks/{clinical-note-card-BnFTIs6x.js.map → clinical-note-card-Caidqcwa.js.map} +1 -1
  49. package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
  50. package/dist/_chunks/color-picker-AcaWuKah.js.map +1 -0
  51. package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
  52. package/dist/_chunks/combobox-vF9O-QoG.js.map +1 -0
  53. package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
  54. package/dist/_chunks/contact-profile-card-CAwwOqHl.js.map +1 -0
  55. package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
  56. package/dist/_chunks/{control-room-rail-DUerqHeo.js.map → control-room-rail-BB6rCDWI.js.map} +1 -1
  57. package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
  58. package/dist/_chunks/{country-select-DF5Bd_mn.js.map → country-select-CSE2Zm_s.js.map} +1 -1
  59. package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
  60. package/dist/_chunks/dashboard-grid-7JzaiKnk.js.map +1 -0
  61. package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
  62. package/dist/_chunks/{data-table-COoCQ4n_.js.map → data-table-Cty4-Jht.js.map} +1 -1
  63. package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
  64. package/dist/_chunks/{dependent-selector-DBr1AhLg.js.map → dependent-selector-C4kOgO8b.js.map} +1 -1
  65. package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
  66. package/dist/_chunks/{document-preview-VyQOjFVL.js.map → document-preview-513f3iPn.js.map} +1 -1
  67. package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
  68. package/dist/_chunks/{document-scanner-CXH_GYh4.js.map → document-scanner-Bd3wbzpI.js.map} +1 -1
  69. package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
  70. package/dist/_chunks/{editable-description-ChGNdYY8.js.map → editable-description-DnAFi360.js.map} +1 -1
  71. package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
  72. package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js.map → entity-summary-C2B8yNmc.js.map} +1 -1
  73. package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
  74. package/dist/_chunks/{error-summary-PUE5Zxp9.js.map → error-summary-mGxIyDAY.js.map} +1 -1
  75. package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
  76. package/dist/_chunks/{face-scheme-DAD-mXzM.js.map → face-scheme-CSJdRNad.js.map} +1 -1
  77. package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
  78. package/dist/_chunks/{file-manager-RiV7-OEE.js.map → file-manager-D4cPnRhL.js.map} +1 -1
  79. package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
  80. package/dist/_chunks/{forgot-password-form-CPOfRE0C.js.map → forgot-password-form-Dqi7R-NL.js.map} +1 -1
  81. package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
  82. package/dist/_chunks/format-number-DdzqwMs1.js.map +1 -0
  83. package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
  84. package/dist/_chunks/{freemium-paywall-6DO7noHX.js.map → freemium-paywall-C73C8Rgd.js.map} +1 -1
  85. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
  86. package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js.map → gestational-age-calculator-Du53p8MH.js.map} +1 -1
  87. package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
  88. package/dist/_chunks/header-settings-DlUbvAUx.js.map +1 -0
  89. package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
  90. package/dist/_chunks/{heatmap-C1TeC7wT.js.map → heatmap-DbZIQg14.js.map} +1 -1
  91. package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
  92. package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js.map → help-me-write-templates-5WkUfvc_.js.map} +1 -1
  93. package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
  94. package/dist/_chunks/{kit-extensions-DWs1UEXb.js.map → kit-extensions-CYvLL4ee.js.map} +1 -1
  95. package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
  96. package/dist/_chunks/length-token-DwMnGEYT.js.map +1 -0
  97. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
  98. package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js.map → link-cell-renderer-DtIsQWDO.js.map} +1 -1
  99. package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
  100. package/dist/_chunks/{login-dev-card-A-CL3mjt.js.map → login-dev-card-vEL-o5wq.js.map} +1 -1
  101. package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
  102. package/dist/_chunks/map-view-CtohteZD.js.map +1 -0
  103. package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
  104. package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js.map → marketplace-app-shell-CcLQ0Dn-.js.map} +1 -1
  105. package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
  106. package/dist/_chunks/{message-card-A3mJNqfy.js.map → message-card-C_ksqIYM.js.map} +1 -1
  107. package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
  108. package/dist/_chunks/{message-tray-Ft6vSr71.js.map → message-tray-DCoQ4GQb.js.map} +1 -1
  109. package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
  110. package/dist/_chunks/multi-select-BOad3za9.js.map +1 -0
  111. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
  112. package/dist/_chunks/{muscle-scheme-YoN3rYXV.js.map → muscle-scheme-C66WlCxG.js.map} +1 -1
  113. package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
  114. package/dist/_chunks/{note-timeline-DDqNU46n.js.map → note-timeline-KzL52MmB.js.map} +1 -1
  115. package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
  116. package/dist/_chunks/{notes-panel-IdsmqRFC.js.map → notes-panel-BXN46XkF.js.map} +1 -1
  117. package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
  118. package/dist/_chunks/notice-group-DkYzKyAZ.js.map +1 -0
  119. package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
  120. package/dist/_chunks/{notification-tray-BR3seWA7.js.map → notification-tray-Cp18MW5b.js.map} +1 -1
  121. package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
  122. package/dist/_chunks/operator-hero-6aAIQaFZ.js.map +1 -0
  123. package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
  124. package/dist/_chunks/optical-prescription-ulXnDbBe.js.map +1 -0
  125. package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
  126. package/dist/_chunks/panel-header-CbtlTe85.js.map +1 -0
  127. package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
  128. package/dist/_chunks/{panel-subview-yP4qIbKS.js.map → panel-subview-BPU7220K.js.map} +1 -1
  129. package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
  130. package/dist/_chunks/{patient-details-C-EWQTms.js.map → patient-details-C4Dyo7Ck.js.map} +1 -1
  131. package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
  132. package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js.map → patient-field-row-DROvUkFu.js.map} +1 -1
  133. package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
  134. package/dist/_chunks/{patient-search-DpAKidZ5.js.map → patient-search-BADdx3M1.js.map} +1 -1
  135. package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
  136. package/dist/_chunks/{patient-summary-card-Bpto_VCD.js.map → patient-summary-card-CAimxbuI.js.map} +1 -1
  137. package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
  138. package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js.map → payment-automation-upsell-CiwF5UrC.js.map} +1 -1
  139. package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
  140. package/dist/_chunks/{payment-form-XKtinW8r.js.map → payment-form-PBuh8PIa.js.map} +1 -1
  141. package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
  142. package/dist/_chunks/{pdf-viewer-BvoVMjH4.js.map → pdf-viewer-gAsNUsA8.js.map} +1 -1
  143. package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
  144. package/dist/_chunks/periodontal-risk-chart-B7S9OmPC.js.map +1 -0
  145. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
  146. package/dist/_chunks/practice-profile-hero-qfrsFQI_.js.map +1 -0
  147. package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
  148. package/dist/_chunks/practice-results-BzThnpnm.js.map +1 -0
  149. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
  150. package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js.map → pregnancy-dating-EFcFUJkQ.js.map} +1 -1
  151. package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
  152. package/dist/_chunks/{privacy-mask-Ch7743uk.js.map → privacy-mask-CCz9zuIh.js.map} +1 -1
  153. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
  154. package/dist/_chunks/{product-hub-panel-C_ZosrBt.js.map → product-hub-panel-YuFbNPlT.js.map} +1 -1
  155. package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
  156. package/dist/_chunks/progress-notice-DiHWZ8Ms.js.map +1 -0
  157. package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
  158. package/dist/_chunks/{province-select-Bd20Z9Br.js.map → province-select-CDjs5obD.js.map} +1 -1
  159. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
  160. package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js.map → radiograph-panel.agent-4UllIoTQ.js.map} +1 -1
  161. package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
  162. package/dist/_chunks/rating-CGYpg5dj.js.map +1 -0
  163. package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
  164. package/dist/_chunks/{registration-form-BxwqUZzk.js.map → registration-form-1B0PTDal.js.map} +1 -1
  165. package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
  166. package/dist/_chunks/reviews-panel-CosDZyow.js.map +1 -0
  167. package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
  168. package/dist/_chunks/{rich-text-editor-aCIoptbg.js.map → rich-text-editor-56dSsyZI.js.map} +1 -1
  169. package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
  170. package/dist/_chunks/select-4S-eYZUf.js.map +1 -0
  171. package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
  172. package/dist/_chunks/{sign-document-D1P1nUQA.js.map → sign-document-BiOTs1P4.js.map} +1 -1
  173. package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
  174. package/dist/_chunks/{signature-request-3u6TvRt2.js.map → signature-request-DAmNj_uq.js.map} +1 -1
  175. package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
  176. package/dist/_chunks/skeleton-tTWJpvAq.js.map +1 -0
  177. package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
  178. package/dist/_chunks/{slot-grid-dj5f6R2w.js.map → slot-grid-D_gix9mJ.js.map} +1 -1
  179. package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
  180. package/dist/_chunks/{tabs-2x3L13jn.js.map → tabs-BTj-2qMZ.js.map} +1 -1
  181. package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
  182. package/dist/_chunks/{task-card-BS7Uqevr.js.map → task-card-Ci2XbLmq.js.map} +1 -1
  183. package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
  184. package/dist/_chunks/{task-editor-Bb5MMcid.js.map → task-editor-BomyxGoZ.js.map} +1 -1
  185. package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
  186. package/dist/_chunks/{task-tray-eQU4KJcA.js.map → task-tray-Dnc72nl-.js.map} +1 -1
  187. package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
  188. package/dist/_chunks/{tasks-panel-BOb57Ysw.js.map → tasks-panel-ATz9JDy8.js.map} +1 -1
  189. package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
  190. package/dist/_chunks/theme-toggle-DT_Jn4DC.js.map +1 -0
  191. package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
  192. package/dist/_chunks/{timeline-DEIuHrWz.js.map → timeline-wUuTDFY_.js.map} +1 -1
  193. package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
  194. package/dist/_chunks/{tool-rail-C-03rH2I.js.map → tool-rail-C-M3eVdY.js.map} +1 -1
  195. package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
  196. package/dist/_chunks/{transcript-panel-XudW5l6l.js.map → transcript-panel-CoHHpcFg.js.map} +1 -1
  197. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
  198. package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js.map → treatment-receipt-pFqWFyD_.js.map} +1 -1
  199. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
  200. package/dist/_chunks/{unit-converter-BPZ0Ldkb.js.map → unit-converter-CIoTmCmP.js.map} +1 -1
  201. package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
  202. package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js.map → use-appointment-details-read-CUGfE0hV.js.map} +1 -1
  203. package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
  204. package/dist/_chunks/use-dismissed-CTOWqA0e.js.map +1 -0
  205. package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
  206. package/dist/_chunks/{voice-control-panel-BJIEbDq6.js.map → voice-control-panel-B8Lrk0C4.js.map} +1 -1
  207. package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
  208. package/dist/_chunks/{warning-stack-BdY-0bd3.js.map → warning-stack-BhHUmRiD.js.map} +1 -1
  209. package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
  210. package/dist/_chunks/{workflow-map-CYbRD9ek.js.map → workflow-map-ln4_OG8A.js.map} +1 -1
  211. package/dist/agent-catalog.json +172 -4
  212. package/dist/agent-i18n/en.json +25 -1
  213. package/dist/components/_shared/format-number.d.ts +20 -0
  214. package/dist/components/_shared/format-number.d.ts.map +1 -0
  215. package/dist/components/_shared/length-token.d.ts +12 -0
  216. package/dist/components/_shared/length-token.d.ts.map +1 -0
  217. package/dist/components/_shared/option.d.ts +1 -0
  218. package/dist/components/_shared/option.d.ts.map +1 -1
  219. package/dist/components/address-fields/index.js +1 -1
  220. package/dist/components/agenda-card/index.js +1 -1
  221. package/dist/components/agenda-tray/index.js +1 -1
  222. package/dist/components/ai-credits-notice/index.js +1 -1
  223. package/dist/components/ai-permission-notice/index.js +1 -1
  224. package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -1
  225. package/dist/components/ai-prompt-input/index.js +1 -1
  226. package/dist/components/alert/alert.d.ts +26 -0
  227. package/dist/components/alert/alert.d.ts.map +1 -1
  228. package/dist/components/alert/index.js +1 -1
  229. package/dist/components/anamnesis-summary-card/index.js +1 -1
  230. package/dist/components/appointment-card/index.js +2 -2
  231. package/dist/components/appointment-details-panel/index.js +1 -1
  232. package/dist/components/appointment-peek/index.js +1 -1
  233. package/dist/components/appointment-timeline/index.js +1 -1
  234. package/dist/components/audio-recorder/index.js +1 -1
  235. package/dist/components/avatar/avatar.d.ts +2 -0
  236. package/dist/components/avatar/avatar.d.ts.map +1 -1
  237. package/dist/components/avatar/index.js +1 -1
  238. package/dist/components/bishop-score/index.js +1 -1
  239. package/dist/components/booking/booking.d.ts.map +1 -1
  240. package/dist/components/booking/details-form.d.ts.map +1 -1
  241. package/dist/components/booking/index.js +1 -1
  242. package/dist/components/calendar/index.js +1 -1
  243. package/dist/components/chat-message/index.js +1 -1
  244. package/dist/components/clinical-note-card/index.js +1 -1
  245. package/dist/components/color-picker/color-picker.d.ts.map +1 -1
  246. package/dist/components/color-picker/index.js +1 -1
  247. package/dist/components/combobox/combobox.d.ts.map +1 -1
  248. package/dist/components/combobox/index.js +1 -1
  249. package/dist/components/contact-profile-card/index.js +1 -1
  250. package/dist/components/control-room-rail/index.js +1 -1
  251. package/dist/components/country-select/index.js +1 -1
  252. package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
  253. package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
  254. package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  255. package/dist/components/dashboard-grid/index.js +1 -1
  256. package/dist/components/data-table/index.js +2 -2
  257. package/dist/components/dependent-selector/index.js +1 -1
  258. package/dist/components/document-preview/index.js +1 -1
  259. package/dist/components/document-scanner/index.js +1 -1
  260. package/dist/components/editable-description/index.js +1 -1
  261. package/dist/components/entity-summary/index.js +1 -1
  262. package/dist/components/error-summary/index.js +1 -1
  263. package/dist/components/face-scheme/face-scheme.d.ts.map +1 -1
  264. package/dist/components/face-scheme/index.js +1 -1
  265. package/dist/components/file-manager/index.js +1 -1
  266. package/dist/components/freemium-paywall/index.js +1 -1
  267. package/dist/components/gestational-age-calculator/index.js +1 -1
  268. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  269. package/dist/components/header-settings/index.js +1 -1
  270. package/dist/components/heatmap/index.js +1 -1
  271. package/dist/components/index.d.ts +4 -2
  272. package/dist/components/index.d.ts.map +1 -1
  273. package/dist/components/map-view/index.d.ts +1 -1
  274. package/dist/components/map-view/index.d.ts.map +1 -1
  275. package/dist/components/map-view/index.js +1 -1
  276. package/dist/components/map-view/map-view.d.ts +51 -0
  277. package/dist/components/map-view/map-view.d.ts.map +1 -1
  278. package/dist/components/message-card/index.js +1 -1
  279. package/dist/components/message-tray/index.js +1 -1
  280. package/dist/components/multi-select/index.js +1 -1
  281. package/dist/components/multi-select/multi-select.d.ts.map +1 -1
  282. package/dist/components/muscle-scheme/index.js +1 -1
  283. package/dist/components/note-timeline/index.js +1 -1
  284. package/dist/components/notes-panel/index.js +1 -1
  285. package/dist/components/notice-group/index.d.ts +3 -0
  286. package/dist/components/notice-group/index.d.ts.map +1 -0
  287. package/dist/components/notice-group/index.js +6 -0
  288. package/dist/components/notice-group/index.js.map +1 -0
  289. package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
  290. package/dist/components/notice-group/notice-group.agent.d.ts.map +1 -0
  291. package/dist/components/notice-group/notice-group.d.ts +43 -0
  292. package/dist/components/notice-group/notice-group.d.ts.map +1 -0
  293. package/dist/components/notification-tray/index.js +1 -1
  294. package/dist/components/operator-hero/index.js +1 -1
  295. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  296. package/dist/components/optical-prescription/index.js +1 -1
  297. package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
  298. package/dist/components/optical-prescription/optical-prescription-data.d.ts.map +1 -1
  299. package/dist/components/optical-prescription/optical-prescription.d.ts.map +1 -1
  300. package/dist/components/panel-header/index.js +1 -1
  301. package/dist/components/panel-header/panel-header.d.ts +10 -0
  302. package/dist/components/panel-header/panel-header.d.ts.map +1 -1
  303. package/dist/components/panel-subview/index.js +1 -1
  304. package/dist/components/patient-details/index.js +1 -1
  305. package/dist/components/patient-search/index.js +1 -1
  306. package/dist/components/patient-summary-card/index.js +1 -1
  307. package/dist/components/patient-table/index.js +1 -1
  308. package/dist/components/payment-form/index.js +1 -1
  309. package/dist/components/pdf-viewer/index.js +1 -1
  310. package/dist/components/periodontal-risk-chart/index.js +1 -1
  311. package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts.map +1 -1
  312. package/dist/components/practice-profile-hero/index.js +1 -1
  313. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +4 -1
  314. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
  315. package/dist/components/practice-results/index.js +1 -1
  316. package/dist/components/practice-results/practice-results.d.ts +10 -2
  317. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  318. package/dist/components/pregnancy-dating/index.js +1 -1
  319. package/dist/components/product-hub-tray/index.js +1 -1
  320. package/dist/components/progress-notice/index.d.ts +3 -0
  321. package/dist/components/progress-notice/index.d.ts.map +1 -0
  322. package/dist/components/progress-notice/index.js +6 -0
  323. package/dist/components/progress-notice/index.js.map +1 -0
  324. package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
  325. package/dist/components/progress-notice/progress-notice.agent.d.ts.map +1 -0
  326. package/dist/components/progress-notice/progress-notice.d.ts +81 -0
  327. package/dist/components/progress-notice/progress-notice.d.ts.map +1 -0
  328. package/dist/components/province-select/index.js +1 -1
  329. package/dist/components/radiograph-panel/index.js +1 -1
  330. package/dist/components/rating/index.js +1 -1
  331. package/dist/components/rating/rating.d.ts.map +1 -1
  332. package/dist/components/reviews-panel/index.js +1 -1
  333. package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
  334. package/dist/components/rich-text-editor/index.js +2 -2
  335. package/dist/components/select/index.js +1 -1
  336. package/dist/components/select/select.d.ts +6 -0
  337. package/dist/components/select/select.d.ts.map +1 -1
  338. package/dist/components/sign-document/index.js +1 -1
  339. package/dist/components/skeleton/index.d.ts +1 -1
  340. package/dist/components/skeleton/index.d.ts.map +1 -1
  341. package/dist/components/skeleton/index.js +1 -1
  342. package/dist/components/skeleton/skeleton.d.ts +41 -1
  343. package/dist/components/skeleton/skeleton.d.ts.map +1 -1
  344. package/dist/components/skeleton-scheme/index.js +1 -1
  345. package/dist/components/slot-grid/index.js +1 -1
  346. package/dist/components/tabs/index.js +1 -1
  347. package/dist/components/task-card/index.js +1 -1
  348. package/dist/components/task-editor/index.js +1 -1
  349. package/dist/components/task-tray/index.js +1 -1
  350. package/dist/components/tasks-panel/index.js +1 -1
  351. package/dist/components/theme-toggle/index.js +1 -1
  352. package/dist/components/theme-toggle/theme-toggle.d.ts.map +1 -1
  353. package/dist/components/timeline/index.js +1 -1
  354. package/dist/components/tool-rail/index.js +1 -1
  355. package/dist/components/transcript-panel/index.js +1 -1
  356. package/dist/components/treatment-receipt/index.js +1 -1
  357. package/dist/components/unit-converter/index.js +1 -1
  358. package/dist/components/voice-control-panel/index.js +1 -1
  359. package/dist/components/warning-stack/index.js +1 -1
  360. package/dist/components/workflow/index.js +1 -1
  361. package/dist/hooks/index.d.ts +1 -0
  362. package/dist/hooks/index.d.ts.map +1 -1
  363. package/dist/hooks/index.js +81 -76
  364. package/dist/hooks/index.js.map +1 -1
  365. package/dist/hooks/use-dismissed.d.ts +58 -0
  366. package/dist/hooks/use-dismissed.d.ts.map +1 -0
  367. package/dist/i18n/locales/ar.d.ts +22 -0
  368. package/dist/i18n/locales/ar.d.ts.map +1 -1
  369. package/dist/i18n/locales/ar.js +22 -0
  370. package/dist/i18n/locales/ar.js.map +1 -1
  371. package/dist/i18n/locales/de.d.ts +22 -0
  372. package/dist/i18n/locales/de.d.ts.map +1 -1
  373. package/dist/i18n/locales/de.js +22 -0
  374. package/dist/i18n/locales/de.js.map +1 -1
  375. package/dist/i18n/locales/el.d.ts +22 -0
  376. package/dist/i18n/locales/el.d.ts.map +1 -1
  377. package/dist/i18n/locales/el.js +22 -0
  378. package/dist/i18n/locales/el.js.map +1 -1
  379. package/dist/i18n/locales/en.d.ts +22 -0
  380. package/dist/i18n/locales/en.d.ts.map +1 -1
  381. package/dist/i18n/locales/en.js +22 -0
  382. package/dist/i18n/locales/en.js.map +1 -1
  383. package/dist/i18n/locales/es.d.ts +22 -0
  384. package/dist/i18n/locales/es.d.ts.map +1 -1
  385. package/dist/i18n/locales/es.js +22 -0
  386. package/dist/i18n/locales/es.js.map +1 -1
  387. package/dist/i18n/locales/fr.d.ts +22 -0
  388. package/dist/i18n/locales/fr.d.ts.map +1 -1
  389. package/dist/i18n/locales/fr.js +22 -0
  390. package/dist/i18n/locales/fr.js.map +1 -1
  391. package/dist/i18n/locales/hi.d.ts +22 -0
  392. package/dist/i18n/locales/hi.d.ts.map +1 -1
  393. package/dist/i18n/locales/hi.js +22 -0
  394. package/dist/i18n/locales/hi.js.map +1 -1
  395. package/dist/i18n/locales/it.d.ts +22 -0
  396. package/dist/i18n/locales/it.d.ts.map +1 -1
  397. package/dist/i18n/locales/it.js +22 -0
  398. package/dist/i18n/locales/it.js.map +1 -1
  399. package/dist/i18n/locales/ja.d.ts +22 -0
  400. package/dist/i18n/locales/ja.d.ts.map +1 -1
  401. package/dist/i18n/locales/ja.js +22 -0
  402. package/dist/i18n/locales/ja.js.map +1 -1
  403. package/dist/i18n/locales/nl.d.ts +22 -0
  404. package/dist/i18n/locales/nl.d.ts.map +1 -1
  405. package/dist/i18n/locales/nl.js +22 -0
  406. package/dist/i18n/locales/nl.js.map +1 -1
  407. package/dist/i18n/locales/pl.d.ts +22 -0
  408. package/dist/i18n/locales/pl.d.ts.map +1 -1
  409. package/dist/i18n/locales/pl.js +22 -0
  410. package/dist/i18n/locales/pl.js.map +1 -1
  411. package/dist/i18n/locales/pt.d.ts +22 -0
  412. package/dist/i18n/locales/pt.d.ts.map +1 -1
  413. package/dist/i18n/locales/pt.js +22 -0
  414. package/dist/i18n/locales/pt.js.map +1 -1
  415. package/dist/i18n/locales/ro.d.ts +22 -0
  416. package/dist/i18n/locales/ro.d.ts.map +1 -1
  417. package/dist/i18n/locales/ro.js +22 -0
  418. package/dist/i18n/locales/ro.js.map +1 -1
  419. package/dist/i18n/locales/ru.d.ts +22 -0
  420. package/dist/i18n/locales/ru.d.ts.map +1 -1
  421. package/dist/i18n/locales/ru.js +22 -0
  422. package/dist/i18n/locales/ru.js.map +1 -1
  423. package/dist/i18n/locales/sq.d.ts +22 -0
  424. package/dist/i18n/locales/sq.d.ts.map +1 -1
  425. package/dist/i18n/locales/sq.js +22 -0
  426. package/dist/i18n/locales/sq.js.map +1 -1
  427. package/dist/i18n/locales/sv.d.ts +22 -0
  428. package/dist/i18n/locales/sv.d.ts.map +1 -1
  429. package/dist/i18n/locales/sv.js +22 -0
  430. package/dist/i18n/locales/sv.js.map +1 -1
  431. package/dist/i18n/locales/tr.d.ts +22 -0
  432. package/dist/i18n/locales/tr.d.ts.map +1 -1
  433. package/dist/i18n/locales/tr.js +22 -0
  434. package/dist/i18n/locales/tr.js.map +1 -1
  435. package/dist/i18n/locales/zh.d.ts +22 -0
  436. package/dist/i18n/locales/zh.d.ts.map +1 -1
  437. package/dist/i18n/locales/zh.js +22 -0
  438. package/dist/i18n/locales/zh.js.map +1 -1
  439. package/dist/index.js +1194 -1183
  440. package/dist/index.js.map +1 -1
  441. package/dist/locales/ar.json +22 -0
  442. package/dist/locales/de.json +22 -0
  443. package/dist/locales/el.json +22 -0
  444. package/dist/locales/en.json +22 -0
  445. package/dist/locales/es.json +22 -0
  446. package/dist/locales/fr.json +22 -0
  447. package/dist/locales/hi.json +22 -0
  448. package/dist/locales/it.json +22 -0
  449. package/dist/locales/ja.json +22 -0
  450. package/dist/locales/nl.json +22 -0
  451. package/dist/locales/pl.json +22 -0
  452. package/dist/locales/pt.json +22 -0
  453. package/dist/locales/ro.json +22 -0
  454. package/dist/locales/ru.json +22 -0
  455. package/dist/locales/sq.json +22 -0
  456. package/dist/locales/sv.json +22 -0
  457. package/dist/locales/tr.json +22 -0
  458. package/dist/locales/zh.json +22 -0
  459. package/dist/patterns/alia-assistant/index.js +1 -1
  460. package/dist/patterns/anamnesis/anamnesis-export-pdf.d.ts.map +1 -1
  461. package/dist/patterns/anamnesis/index.js +1 -1
  462. package/dist/patterns/calendar/index.js +1 -1
  463. package/dist/patterns/forgot-password-form/index.js +1 -1
  464. package/dist/patterns/help-me-write-templates/index.js +2 -2
  465. package/dist/patterns/login-form/index.js +1 -1
  466. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  467. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  468. package/dist/patterns/registration-form/index.js +1 -1
  469. package/dist/patterns/signature-request/index.js +1 -1
  470. package/dist/tokens.css +1 -1
  471. package/package.json +9 -1
  472. package/dist/_chunks/ai-prompt-input-DSGSe4LH.js.map +0 -1
  473. package/dist/_chunks/alert-DjsJMGRE.js.map +0 -1
  474. package/dist/_chunks/anamnesis-summary-rows-BQ_EokKz.js.map +0 -1
  475. package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
  476. package/dist/_chunks/avatar-WZY3eGE7.js.map +0 -1
  477. package/dist/_chunks/booking-tTVxKPQY.js.map +0 -1
  478. package/dist/_chunks/color-picker-BsggJovx.js.map +0 -1
  479. package/dist/_chunks/combobox-U5yfO6o0.js.map +0 -1
  480. package/dist/_chunks/contact-profile-card-C4-OCshj.js.map +0 -1
  481. package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
  482. package/dist/_chunks/dashboard-grid-B2MB7SRS.js.map +0 -1
  483. package/dist/_chunks/header-settings-BSH9Gk0J.js.map +0 -1
  484. package/dist/_chunks/map-view-BuVfJMEa.js.map +0 -1
  485. package/dist/_chunks/multi-select-CMaAQQgb.js.map +0 -1
  486. package/dist/_chunks/operator-hero-3_RG4Dkj.js.map +0 -1
  487. package/dist/_chunks/optical-prescription-CxfMsbxi.js.map +0 -1
  488. package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
  489. package/dist/_chunks/panel-header-BJkaUwnl.js.map +0 -1
  490. package/dist/_chunks/periodontal-risk-chart-CPy7CNFe.js.map +0 -1
  491. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
  492. package/dist/_chunks/practice-profile-hero-Dfc0F60y.js.map +0 -1
  493. package/dist/_chunks/practice-results-BrUDDMXC.js.map +0 -1
  494. package/dist/_chunks/rating-C1Vrmpsi.js.map +0 -1
  495. package/dist/_chunks/reviews-panel-AvsVgtJu.js.map +0 -1
  496. package/dist/_chunks/select-k4gBdS8N.js.map +0 -1
  497. package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
  498. package/dist/_chunks/skeleton-B1KTdJ4N.js.map +0 -1
  499. package/dist/_chunks/theme-toggle-Ctb77x6O.js.map +0 -1
@@ -1,22 +1,23 @@
1
- import { jsx as i, jsxs as l, Fragment as Ve } from "react/jsx-runtime";
2
- import { forwardRef as We, useId as je, useRef as ue, useState as Xe, useCallback as R, useMemo as fe, useImperativeHandle as Ye } from "react";
3
- import { c as He } from "./index-D2ZczOXr.js";
4
- import { useTranslation as Fe } from "react-i18next";
5
- import { u as qe } from "./registry-DvAUVLHh.js";
6
- import { N as se } from "./number-input-CVwI1ltI.js";
7
- import { S as he } from "./select-k4gBdS8N.js";
8
- import { T as Ke } from "./text-area-COMVJ1yE.js";
1
+ import { jsx as s, jsxs as d, Fragment as Xe } from "react/jsx-runtime";
2
+ import { forwardRef as Ye, useId as He, useRef as fe, useState as qe, useCallback as A, useMemo as he, useImperativeHandle as Fe } from "react";
3
+ import { c as Ke } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Ge } from "react-i18next";
5
+ import { u as Ue } from "./registry-DvAUVLHh.js";
6
+ import { N as ae } from "./number-input-CVwI1ltI.js";
7
+ import { S as ye } from "./select-4S-eYZUf.js";
8
+ import { T as Je } from "./text-area-COMVJ1yE.js";
9
9
  import { D as v } from "./description-list-Q8640NHu.js";
10
- const ye = {
10
+ import { a as Qe } from "./format-number-DdzqwMs1.js";
11
+ const be = {
11
12
  enum: ["od", "os"],
12
13
  description: "Eye — `od` (right eye) or `os` (left eye)."
13
- }, ae = {
14
+ }, ne = {
14
15
  enum: ["far", "intermediate", "near"],
15
16
  description: "Distance band — `far` (per lontano), `intermediate`, `near` (per vicino)."
16
- }, Ue = {
17
+ }, Ze = {
17
18
  enum: ["sphere", "cylinder", "axis", "add", "prism", "base"],
18
19
  description: "Refraction column — dioptric `sphere` / `cylinder` / `add` (0.25 steps), `axis` (0–180°), `prism`, or `base` (a direction enum)."
19
- }, Ge = {
20
+ }, et = {
20
21
  type: "object",
21
22
  properties: {
22
23
  sphere: { type: "number" },
@@ -26,7 +27,7 @@ const ye = {
26
27
  prism: { type: "number" },
27
28
  base: { enum: ["up", "down", "in", "out"] }
28
29
  }
29
- }, Je = {
30
+ }, tt = {
30
31
  type: "object",
31
32
  properties: {
32
33
  bands: {
@@ -47,7 +48,7 @@ const ye = {
47
48
  notes: { type: "string", description: "Free-text note — PHI." }
48
49
  },
49
50
  required: ["bands"]
50
- }, Qe = {
51
+ }, rt = {
51
52
  id: "optical-prescription",
52
53
  // pick — focus an eye row (`focus_eye`, transient, not persisted);
53
54
  // edit_inline — `set_cell` edits one refraction cell; set_value — `set_value`
@@ -63,14 +64,14 @@ const ye = {
63
64
  descriptionKey: "ui.agent.opticalPrescription.state.prescription",
64
65
  description: "Current prescription — refraction rows per band/eye plus PD, lens type and axis system. The free-text note is PHI and omitted; read it via get_notes.",
65
66
  read: (t) => {
66
- const s = t.getValue();
67
+ const r = t.getValue();
67
68
  return {
68
- bands: s.bands,
69
- pd: s.pd,
70
- pdRight: s.pdRight,
71
- pdLeft: s.pdLeft,
72
- lensType: s.lensType,
73
- axisSystem: s.axisSystem
69
+ bands: r.bands,
70
+ pd: r.pd,
71
+ pdRight: r.pdRight,
72
+ pdLeft: r.pdLeft,
73
+ lensType: r.lensType,
74
+ axisSystem: r.axisSystem
74
75
  };
75
76
  }
76
77
  },
@@ -87,14 +88,14 @@ const ye = {
87
88
  argsType: "{ eye: Eye; band?: DistanceBand }",
88
89
  argsSchema: {
89
90
  type: "object",
90
- properties: { eye: ye, band: ae },
91
+ properties: { eye: be, band: ne },
91
92
  required: ["eye"]
92
93
  },
93
94
  idempotent: !0,
94
95
  descriptionKey: "ui.agent.opticalPrescription.actions.focusEye",
95
96
  description: "Move focus to an eye's row (first editable cell in interactive mode), optionally within a specific band.",
96
- invoke: (t, s) => {
97
- t.focusEye(s.eye, s.band);
97
+ invoke: (t, r) => {
98
+ t.focusEye(r.eye, r.band);
98
99
  }
99
100
  },
100
101
  get_row: {
@@ -102,15 +103,15 @@ const ye = {
102
103
  argsType: "{ band: DistanceBand; eye: Eye }",
103
104
  argsSchema: {
104
105
  type: "object",
105
- properties: { band: ae, eye: ye },
106
+ properties: { band: ne, eye: be },
106
107
  required: ["band", "eye"]
107
108
  },
108
109
  returns: "RefractionRow | undefined",
109
- returnsSchema: Ge,
110
+ returnsSchema: et,
110
111
  idempotent: !0,
111
112
  descriptionKey: "ui.agent.opticalPrescription.actions.getRow",
112
113
  description: "Read one eye's refraction row at a distance band.",
113
- invoke: (t, s) => t.getRow(s.band, s.eye)
114
+ invoke: (t, r) => t.getRow(r.band, r.eye)
114
115
  },
115
116
  get_notes: {
116
117
  // phi (not read): resolves the free-text clinical note, which is PHI.
@@ -131,9 +132,9 @@ const ye = {
131
132
  argsSchema: {
132
133
  type: "object",
133
134
  properties: {
134
- band: ae,
135
- eye: ye,
136
- field: Ue,
135
+ band: ne,
136
+ eye: be,
137
+ field: Ze,
137
138
  value: {
138
139
  description: "New cell value — a number for the dioptric/axis/prism columns, a base-direction string for `base`, or null to clear."
139
140
  }
@@ -143,8 +144,8 @@ const ye = {
143
144
  idempotent: !0,
144
145
  descriptionKey: "ui.agent.opticalPrescription.actions.setCell",
145
146
  description: "Set (or clear, with null) a single refraction cell — sphere / cylinder / axis / add / prism / base.",
146
- invoke: (t, s) => {
147
- t.setCell(s.band, s.eye, s.field, s.value);
147
+ invoke: (t, r) => {
148
+ t.setCell(r.band, r.eye, r.field, r.value);
148
149
  }
149
150
  },
150
151
  set_value: {
@@ -152,14 +153,14 @@ const ye = {
152
153
  argsType: "{ value: OpticalPrescriptionValue }",
153
154
  argsSchema: {
154
155
  type: "object",
155
- properties: { value: Je },
156
+ properties: { value: tt },
156
157
  required: ["value"]
157
158
  },
158
159
  idempotent: !0,
159
160
  descriptionKey: "ui.agent.opticalPrescription.actions.setValue",
160
161
  description: "Replace the entire prescription value.",
161
- invoke: (t, s) => {
162
- t.setValue(s.value);
162
+ invoke: (t, r) => {
163
+ t.setValue(r.value);
163
164
  }
164
165
  },
165
166
  clear_band: {
@@ -167,14 +168,14 @@ const ye = {
167
168
  argsType: "{ band: DistanceBand }",
168
169
  argsSchema: {
169
170
  type: "object",
170
- properties: { band: ae },
171
+ properties: { band: ne },
171
172
  required: ["band"]
172
173
  },
173
174
  idempotent: !0,
174
175
  descriptionKey: "ui.agent.opticalPrescription.actions.clearBand",
175
176
  description: "Clear every refraction row in a distance band.",
176
- invoke: (t, s) => {
177
- t.clearBand(s.band);
177
+ invoke: (t, r) => {
178
+ t.clearBand(r.band);
178
179
  }
179
180
  }
180
181
  },
@@ -190,115 +191,122 @@ const ye = {
190
191
  description: "Each refraction row carries its eye (`od` / `os`) as `data-eye` and its distance band as `data-band`; each editable cell carries the column key as `data-field`. The root `data-mode` attribute exposes interactive vs display. Standard chart figures carry `data-chart` (`tabo` / `powerCross` / `pd` / `prismBase`) plus `data-eye` on the per-eye ones."
191
192
  }
192
193
  }
193
- }, Z = ["od", "os"], Ze = [
194
+ }, Z = ["od", "os"], it = [
194
195
  "far",
195
196
  "intermediate",
196
197
  "near"
197
- ], et = ["up", "down", "in", "out"], tt = [
198
+ ], st = ["up", "down", "in", "out"], at = [
198
199
  "single-vision",
199
200
  "bifocal",
200
201
  "progressive"
201
- ], rt = ["tabo", "int"], Yt = [
202
+ ], nt = ["tabo", "int"], Gt = [
202
203
  "sphere",
203
204
  "cylinder",
204
205
  "axis",
205
206
  "add",
206
207
  "prism",
207
208
  "base"
208
- ], ne = 0.25, it = -30, st = 30, at = -12, nt = 12, ot = 0, ct = 6, Ne = 0, we = 180, lt = 1, be = 40, xe = 85, dt = 0, pt = 20;
209
- function M(t, s = 2) {
210
- const n = Math.abs(t).toFixed(s);
211
- return t > 0 ? `+${n}` : t < 0 ? `-${n}` : n;
209
+ ], oe = 0.25, ot = -30, ct = 30, lt = -12, dt = 12, pt = 0, mt = 6, we = 0, Re = 180, ut = 1, xe = 40, ve = 85, ft = 0, ht = 20;
210
+ function Ae(t, r, n) {
211
+ return Qe(t, n, {
212
+ minimumFractionDigits: r,
213
+ maximumFractionDigits: r,
214
+ useGrouping: !1
215
+ });
216
+ }
217
+ function k(t, r = 2, n = "en") {
218
+ const o = Ae(Math.abs(t), r, n);
219
+ return t > 0 ? `+${o}` : t < 0 ? `-${o}` : o;
212
220
  }
213
- function mt(t) {
214
- return M(t, 2);
221
+ function yt(t, r = "en") {
222
+ return k(t, 2, r);
215
223
  }
216
- function ut(t) {
217
- return M(t, 2);
224
+ function bt(t, r = "en") {
225
+ return k(t, 2, r);
218
226
  }
219
- function ft(t) {
220
- return `+${Math.abs(t).toFixed(2)}`;
227
+ function xt(t, r = "en") {
228
+ return `+${Ae(Math.abs(t), 2, r)}`;
221
229
  }
222
230
  function W(t) {
223
- return `${Math.min(we, Math.max(Ne, Math.round(t)))}°`;
231
+ return `${Math.min(Re, Math.max(we, Math.round(t)))}°`;
224
232
  }
225
- function Se(t) {
226
- return t.toFixed(2);
233
+ function Ne(t, r = "en") {
234
+ return Ae(t, 2, r);
227
235
  }
228
- function ht(t, s) {
236
+ function vt(t, r, n = "en") {
229
237
  switch (t) {
230
238
  case "sphere":
231
- return mt(s);
239
+ return yt(r, n);
232
240
  case "cylinder":
233
- return ut(s);
241
+ return bt(r, n);
234
242
  case "add":
235
- return ft(s);
243
+ return xt(r, n);
236
244
  case "axis":
237
- return W(s);
245
+ return W(r);
238
246
  case "prism":
239
- return Se(s);
247
+ return Ne(r, n);
240
248
  default:
241
- return String(s);
249
+ return String(r);
242
250
  }
243
251
  }
244
- function Re(t) {
245
- return t >= Ne && t <= we ? t : (t % 180 + 180) % 180;
252
+ function _e(t) {
253
+ return t >= we && t <= Re ? t : (t % 180 + 180) % 180;
246
254
  }
247
- function yt(t) {
255
+ function gt(t) {
248
256
  if (!t || t.sphere === void 0 && t.cylinder === void 0)
249
257
  return;
250
- const s = t.sphere ?? 0, n = t.cylinder ?? 0, p = Re(t.axis ?? 0);
258
+ const r = t.sphere ?? 0, n = t.cylinder ?? 0, o = _e(t.axis ?? 0);
251
259
  return {
252
- primary: { deg: p, power: s },
253
- secondary: { deg: (p + 90) % 180, power: s + n }
260
+ primary: { deg: o, power: r },
261
+ secondary: { deg: (o + 90) % 180, power: r + n }
254
262
  };
255
263
  }
256
- function bt() {
264
+ function Pt() {
257
265
  return { bands: {} };
258
266
  }
259
- function oe(t, s, n) {
260
- var p;
261
- return (p = t.bands[s]) == null ? void 0 : p[n];
267
+ function ce(t, r, n) {
268
+ var o;
269
+ return (o = t.bands[r]) == null ? void 0 : o[n];
262
270
  }
263
- function xt(t, s, n, p, u) {
264
- const y = { ...t.bands }, x = { ...y[s] ?? {} }, f = { ...x[n] ?? {} };
265
- return u == null ? delete f[p] : f[p] = u, Object.keys(f).length === 0 ? delete x[n] : x[n] = f, Object.keys(x).length === 0 ? delete y[s] : y[s] = x, { ...t, bands: y };
271
+ function St(t, r, n, o, u) {
272
+ const y = { ...t.bands }, x = { ...y[r] ?? {} }, f = { ...x[n] ?? {} };
273
+ return u == null ? delete f[o] : f[o] = u, Object.keys(f).length === 0 ? delete x[n] : x[n] = f, Object.keys(x).length === 0 ? delete y[r] : y[r] = x, { ...t, bands: y };
266
274
  }
267
- function vt(t, s) {
268
- if (!t.bands[s]) return t;
275
+ function Nt(t, r) {
276
+ if (!t.bands[r]) return t;
269
277
  const n = { ...t.bands };
270
- return delete n[s], { ...t, bands: n };
278
+ return delete n[r], { ...t, bands: n };
271
279
  }
272
- function Ee(t) {
273
- return Ze.filter((s) => {
274
- const n = t.bands[s];
275
- return n ? Z.some((p) => {
276
- const u = n[p];
280
+ function Le(t) {
281
+ return it.filter((r) => {
282
+ const n = t.bands[r];
283
+ return n ? Z.some((o) => {
284
+ const u = n[o];
277
285
  return u !== void 0 && Object.keys(u).length > 0;
278
286
  }) : !1;
279
287
  });
280
288
  }
281
- const gt = ["tabo", "powerCross", "pd", "prismBase"], j = "ds:[stroke:var(--muted-foreground)] ds:[fill:none]", q = "ds:[fill:var(--muted-foreground)]", ee = "ds:[stroke:var(--foreground)] ds:[fill:none]", ce = "ds:[fill:var(--foreground)]", Me = "ds:[stroke:var(--primary)] ds:[fill:none]", le = "ds:[fill:var(--primary)]", Pt = "ds:m-0 ds:flex ds:flex-col ds:items-center ds:gap-1", St = "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)] ds:text-center";
282
- function _(t, s, n, p) {
283
- const u = p * Math.PI / 180;
284
- return [t + n * Math.cos(u), s - n * Math.sin(u)];
289
+ const wt = ["tabo", "powerCross", "pd", "prismBase"], j = "ds:[stroke:var(--muted-foreground)] ds:[fill:none]", F = "ds:[fill:var(--muted-foreground)]", ee = "ds:[stroke:var(--foreground)] ds:[fill:none]", le = "ds:[fill:var(--foreground)]", Ie = "ds:[stroke:var(--primary)] ds:[fill:none]", de = "ds:[fill:var(--primary)]", Rt = "ds:m-0 ds:flex ds:flex-col ds:items-center ds:gap-1", At = "ds:text-[length:var(--font-size-xs)] ds:text-[var(--muted-foreground)] ds:text-center";
290
+ function C(t, r, n, o) {
291
+ const u = o * Math.PI / 180;
292
+ return [t + n * Math.cos(u), r - n * Math.sin(u)];
285
293
  }
286
- function de({
294
+ function pe({
287
295
  chart: t,
288
- eye: s,
296
+ eye: r,
289
297
  caption: n,
290
- detail: p,
298
+ detail: o,
291
299
  children: u
292
300
  }) {
293
- return /* @__PURE__ */ l("figure", { className: Pt, "data-chart": t, "data-eye": s, children: [
301
+ return /* @__PURE__ */ d("figure", { className: Rt, "data-chart": t, "data-eye": r, children: [
294
302
  u,
295
- /* @__PURE__ */ l("figcaption", { dir: "auto", className: St, children: [
303
+ /* @__PURE__ */ d("figcaption", { dir: "auto", className: At, children: [
296
304
  n,
297
- p !== void 0 && /* @__PURE__ */ i("span", { className: "ds:block ds:text-[var(--foreground)]", children: p })
305
+ o !== void 0 && /* @__PURE__ */ s("span", { className: "ds:block ds:text-[var(--foreground)]", children: o })
298
306
  ] })
299
307
  ] });
300
308
  }
301
- const C = 60, $ = 62, T = 48, Nt = [
309
+ const $ = 60, T = 62, E = 48, _t = [
302
310
  [0, 7],
303
311
  [30, 4],
304
312
  [45, 5],
@@ -308,10 +316,10 @@ const C = 60, $ = 62, T = 48, Nt = [
308
316
  [135, 5],
309
317
  [150, 4],
310
318
  [180, 7]
311
- ], wt = [0, 45, 90, 135, 180];
312
- function Rt({ eye: t, axisDeg: s, ariaLabel: n, caption: p }) {
313
- const u = Re(s), [y, x] = _(C, $, T - 6, u);
314
- return /* @__PURE__ */ i(de, { chart: "tabo", eye: t, caption: p, children: /* @__PURE__ */ l(
319
+ ], Ct = [0, 45, 90, 135, 180];
320
+ function $t({ eye: t, axisDeg: r, ariaLabel: n, caption: o }) {
321
+ const u = _e(r), [y, x] = C($, T, E - 6, u);
322
+ return /* @__PURE__ */ s(pe, { chart: "tabo", eye: t, caption: o, children: /* @__PURE__ */ d(
315
323
  "svg",
316
324
  {
317
325
  role: "img",
@@ -319,127 +327,127 @@ function Rt({ eye: t, axisDeg: s, ariaLabel: n, caption: p }) {
319
327
  viewBox: "-4 0 128 76",
320
328
  className: "ds:w-36",
321
329
  children: [
322
- /* @__PURE__ */ i(
330
+ /* @__PURE__ */ s(
323
331
  "line",
324
332
  {
325
- x1: C - T,
326
- y1: $,
327
- x2: C + T,
328
- y2: $,
333
+ x1: $ - E,
334
+ y1: T,
335
+ x2: $ + E,
336
+ y2: T,
329
337
  strokeWidth: "1",
330
338
  className: j
331
339
  }
332
340
  ),
333
- /* @__PURE__ */ i(
341
+ /* @__PURE__ */ s(
334
342
  "path",
335
343
  {
336
- d: `M ${C - T} ${$} A ${T} ${T} 0 0 1 ${C + T} ${$}`,
344
+ d: `M ${$ - E} ${T} A ${E} ${E} 0 0 1 ${$ + E} ${T}`,
337
345
  strokeWidth: "1",
338
346
  className: j
339
347
  }
340
348
  ),
341
- Nt.map(([f, b]) => {
342
- const [g, k] = _(C, $, T, f), [I, B] = _(C, $, T - b, f);
343
- return /* @__PURE__ */ i(
349
+ _t.map(([f, b]) => {
350
+ const [g, I] = C($, T, E, f), [B, O] = C($, T, E - b, f);
351
+ return /* @__PURE__ */ s(
344
352
  "line",
345
353
  {
346
354
  x1: g,
347
- y1: k,
348
- x2: I,
349
- y2: B,
355
+ y1: I,
356
+ x2: B,
357
+ y2: O,
350
358
  strokeWidth: "1",
351
359
  className: j
352
360
  },
353
361
  f
354
362
  );
355
363
  }),
356
- wt.map((f) => {
357
- const [b, g] = _(C, $, T + 7, f);
358
- return /* @__PURE__ */ i(
364
+ Ct.map((f) => {
365
+ const [b, g] = C($, T, E + 7, f);
366
+ return /* @__PURE__ */ s(
359
367
  "text",
360
368
  {
361
369
  x: b,
362
370
  y: g + 2,
363
371
  fontSize: "7",
364
372
  textAnchor: "middle",
365
- className: q,
373
+ className: F,
366
374
  children: f
367
375
  },
368
376
  f
369
377
  );
370
378
  }),
371
- /* @__PURE__ */ i(
379
+ /* @__PURE__ */ s(
372
380
  "line",
373
381
  {
374
- x1: C,
375
- y1: $,
382
+ x1: $,
383
+ y1: T,
376
384
  x2: y,
377
385
  y2: x,
378
386
  strokeWidth: "2.5",
379
387
  strokeLinecap: "round",
380
- className: Me
388
+ className: Ie
381
389
  }
382
390
  ),
383
- /* @__PURE__ */ i("circle", { cx: C, cy: $, r: "2.5", className: le })
391
+ /* @__PURE__ */ s("circle", { cx: $, cy: T, r: "2.5", className: de })
384
392
  ]
385
393
  }
386
394
  ) });
387
395
  }
388
- const ve = 75, ge = 56, De = 32, At = 44;
389
- function _t({
396
+ const ge = 75, Pe = 56, Me = 32, Tt = 44;
397
+ function Et({
390
398
  eye: t,
391
- primary: s,
399
+ primary: r,
392
400
  secondary: n,
393
- primaryText: p,
401
+ primaryText: o,
394
402
  secondaryText: u,
395
403
  ariaLabel: y,
396
404
  caption: x,
397
405
  detail: f
398
406
  }) {
399
407
  const b = [
400
- { ...s, text: p },
408
+ { ...r, text: o },
401
409
  { ...n, text: u }
402
410
  ];
403
- return /* @__PURE__ */ i(de, { chart: "powerCross", eye: t, caption: x, detail: f, children: /* @__PURE__ */ i(
411
+ return /* @__PURE__ */ s(pe, { chart: "powerCross", eye: t, caption: x, detail: f, children: /* @__PURE__ */ s(
404
412
  "svg",
405
413
  {
406
414
  role: "img",
407
415
  "aria-label": y,
408
416
  viewBox: "0 0 150 104",
409
417
  className: "ds:w-40",
410
- children: b.map(({ deg: g, text: k }) => {
411
- const [I, B] = _(ve, ge, De, g + 180), [K, r] = _(ve, ge, De, g), [X, O] = _(ve, ge, At, g);
412
- return /* @__PURE__ */ l("g", { children: [
413
- /* @__PURE__ */ i(
418
+ children: b.map(({ deg: g, text: I }) => {
419
+ const [B, O] = C(ge, Pe, Me, g + 180), [K, i] = C(ge, Pe, Me, g), [X, P] = C(ge, Pe, Tt, g);
420
+ return /* @__PURE__ */ d("g", { children: [
421
+ /* @__PURE__ */ s(
414
422
  "line",
415
423
  {
416
- x1: I,
417
- y1: B,
424
+ x1: B,
425
+ y1: O,
418
426
  x2: K,
419
- y2: r,
427
+ y2: i,
420
428
  strokeWidth: "1.5",
421
429
  className: ee
422
430
  }
423
431
  ),
424
- /* @__PURE__ */ i(
432
+ /* @__PURE__ */ s(
425
433
  "text",
426
434
  {
427
435
  x: X,
428
- y: O - 4,
436
+ y: P - 4,
429
437
  fontSize: "9",
430
438
  textAnchor: "middle",
431
- className: ce,
432
- children: k
439
+ className: le,
440
+ children: I
433
441
  }
434
442
  ),
435
- /* @__PURE__ */ l(
443
+ /* @__PURE__ */ d(
436
444
  "text",
437
445
  {
438
446
  x: X,
439
- y: O + 5,
447
+ y: P + 5,
440
448
  fontSize: "7",
441
449
  textAnchor: "middle",
442
- className: q,
450
+ className: F,
443
451
  children: [
444
452
  g,
445
453
  "°"
@@ -451,122 +459,122 @@ function _t({
451
459
  }
452
460
  ) });
453
461
  }
454
- const Ct = [
462
+ const Dt = [
455
463
  ["od", 60],
456
464
  ["os", 160]
457
- ], Pe = 24, P = 50;
458
- function $t({
465
+ ], Se = 24, S = 50;
466
+ function Lt({
459
467
  totalText: t,
460
- rightText: s,
468
+ rightText: r,
461
469
  leftText: n,
462
- ariaLabel: p,
470
+ ariaLabel: o,
463
471
  caption: u,
464
472
  detail: y
465
473
  }) {
466
- const x = s !== void 0 && n !== void 0;
467
- return /* @__PURE__ */ i(de, { chart: "pd", caption: u, detail: y, children: /* @__PURE__ */ l(
474
+ const x = r !== void 0 && n !== void 0;
475
+ return /* @__PURE__ */ s(pe, { chart: "pd", caption: u, detail: y, children: /* @__PURE__ */ d(
468
476
  "svg",
469
477
  {
470
478
  role: "img",
471
- "aria-label": p,
479
+ "aria-label": o,
472
480
  viewBox: "0 0 220 64",
473
481
  className: "ds:w-52",
474
482
  children: [
475
- Ct.map(([f, b]) => /* @__PURE__ */ l("g", { children: [
476
- /* @__PURE__ */ i(
483
+ Dt.map(([f, b]) => /* @__PURE__ */ d("g", { children: [
484
+ /* @__PURE__ */ s(
477
485
  "ellipse",
478
486
  {
479
487
  cx: b,
480
- cy: Pe,
488
+ cy: Se,
481
489
  rx: "17",
482
490
  ry: "9",
483
491
  strokeWidth: "1",
484
492
  className: j
485
493
  }
486
494
  ),
487
- /* @__PURE__ */ i("circle", { cx: b, cy: Pe, r: "3.5", className: le }),
488
- /* @__PURE__ */ i(
495
+ /* @__PURE__ */ s("circle", { cx: b, cy: Se, r: "3.5", className: de }),
496
+ /* @__PURE__ */ s(
489
497
  "line",
490
498
  {
491
499
  x1: b,
492
- y1: Pe + 10,
500
+ y1: Se + 10,
493
501
  x2: b,
494
- y2: P + 4,
502
+ y2: S + 4,
495
503
  strokeWidth: "1",
496
504
  strokeDasharray: "2 2",
497
505
  className: j
498
506
  }
499
507
  )
500
508
  ] }, f)),
501
- /* @__PURE__ */ i(
509
+ /* @__PURE__ */ s(
502
510
  "line",
503
511
  {
504
512
  x1: "60",
505
- y1: P,
513
+ y1: S,
506
514
  x2: "160",
507
- y2: P,
515
+ y2: S,
508
516
  strokeWidth: "1",
509
517
  className: ee
510
518
  }
511
519
  ),
512
- /* @__PURE__ */ i(
520
+ /* @__PURE__ */ s(
513
521
  "path",
514
522
  {
515
- d: `M 66 ${P - 3} L 60 ${P} L 66 ${P + 3}`,
523
+ d: `M 66 ${S - 3} L 60 ${S} L 66 ${S + 3}`,
516
524
  strokeWidth: "1",
517
525
  className: ee
518
526
  }
519
527
  ),
520
- /* @__PURE__ */ i(
528
+ /* @__PURE__ */ s(
521
529
  "path",
522
530
  {
523
- d: `M 154 ${P - 3} L 160 ${P} L 154 ${P + 3}`,
531
+ d: `M 154 ${S - 3} L 160 ${S} L 154 ${S + 3}`,
524
532
  strokeWidth: "1",
525
533
  className: ee
526
534
  }
527
535
  ),
528
- x ? /* @__PURE__ */ l(Ve, { children: [
529
- /* @__PURE__ */ i(
536
+ x ? /* @__PURE__ */ d(Xe, { children: [
537
+ /* @__PURE__ */ s(
530
538
  "line",
531
539
  {
532
540
  x1: "110",
533
- y1: P - 4,
541
+ y1: S - 4,
534
542
  x2: "110",
535
- y2: P + 4,
543
+ y2: S + 4,
536
544
  strokeWidth: "1",
537
545
  className: ee
538
546
  }
539
547
  ),
540
- /* @__PURE__ */ i(
548
+ /* @__PURE__ */ s(
541
549
  "text",
542
550
  {
543
551
  x: "85",
544
- y: P - 6,
552
+ y: S - 6,
545
553
  fontSize: "8",
546
554
  textAnchor: "middle",
547
- className: ce,
548
- children: s
555
+ className: le,
556
+ children: r
549
557
  }
550
558
  ),
551
- /* @__PURE__ */ i(
559
+ /* @__PURE__ */ s(
552
560
  "text",
553
561
  {
554
562
  x: "135",
555
- y: P - 6,
563
+ y: S - 6,
556
564
  fontSize: "8",
557
565
  textAnchor: "middle",
558
- className: ce,
566
+ className: le,
559
567
  children: n
560
568
  }
561
569
  )
562
- ] }) : /* @__PURE__ */ i(
570
+ ] }) : /* @__PURE__ */ s(
563
571
  "text",
564
572
  {
565
573
  x: "110",
566
- y: P - 6,
574
+ y: S - 6,
567
575
  fontSize: "8",
568
576
  textAnchor: "middle",
569
- className: ce,
577
+ className: le,
570
578
  children: t
571
579
  }
572
580
  )
@@ -574,9 +582,9 @@ function $t({
574
582
  }
575
583
  ) });
576
584
  }
577
- const S = 60, N = 52, A = 28;
578
- function Tt(t, s) {
579
- switch (s) {
585
+ const N = 60, w = 52, _ = 28;
586
+ function Mt(t, r) {
587
+ switch (r) {
580
588
  case "up":
581
589
  return 90;
582
590
  case "down":
@@ -587,113 +595,113 @@ function Tt(t, s) {
587
595
  return t === "od" ? 180 : 0;
588
596
  }
589
597
  }
590
- function Et({
598
+ function kt({
591
599
  eye: t,
592
- base: s,
600
+ base: r,
593
601
  labels: n,
594
- ariaLabel: p,
602
+ ariaLabel: o,
595
603
  caption: u
596
604
  }) {
597
- const y = Tt(t, s), [x, f] = _(S, N, A - 6, y), [b, g] = _(S, N, A, y), [k, I] = _(S, N, A - 7, y + 8), [B, K] = _(S, N, A - 7, y - 8), r = t === "od" ? n.in : n.out, X = t === "od" ? n.out : n.in;
598
- return /* @__PURE__ */ i(de, { chart: "prismBase", eye: t, caption: u, children: /* @__PURE__ */ l(
605
+ const y = Mt(t, r), [x, f] = C(N, w, _ - 6, y), [b, g] = C(N, w, _, y), [I, B] = C(N, w, _ - 7, y + 8), [O, K] = C(N, w, _ - 7, y - 8), i = t === "od" ? n.in : n.out, X = t === "od" ? n.out : n.in;
606
+ return /* @__PURE__ */ s(pe, { chart: "prismBase", eye: t, caption: u, children: /* @__PURE__ */ d(
599
607
  "svg",
600
608
  {
601
609
  role: "img",
602
- "aria-label": p,
610
+ "aria-label": o,
603
611
  viewBox: "0 0 120 104",
604
612
  className: "ds:w-32",
605
613
  children: [
606
- /* @__PURE__ */ i(
614
+ /* @__PURE__ */ s(
607
615
  "line",
608
616
  {
609
- x1: S - A,
610
- y1: N,
611
- x2: S + A,
612
- y2: N,
617
+ x1: N - _,
618
+ y1: w,
619
+ x2: N + _,
620
+ y2: w,
613
621
  strokeWidth: "1",
614
622
  className: j
615
623
  }
616
624
  ),
617
- /* @__PURE__ */ i(
625
+ /* @__PURE__ */ s(
618
626
  "line",
619
627
  {
620
- x1: S,
621
- y1: N - A,
622
- x2: S,
623
- y2: N + A,
628
+ x1: N,
629
+ y1: w - _,
630
+ x2: N,
631
+ y2: w + _,
624
632
  strokeWidth: "1",
625
633
  className: j
626
634
  }
627
635
  ),
628
- /* @__PURE__ */ i(
636
+ /* @__PURE__ */ s(
629
637
  "text",
630
638
  {
631
- x: S,
632
- y: N - A - 5,
639
+ x: N,
640
+ y: w - _ - 5,
633
641
  fontSize: "7",
634
642
  textAnchor: "middle",
635
- className: q,
643
+ className: F,
636
644
  children: n.up
637
645
  }
638
646
  ),
639
- /* @__PURE__ */ i(
647
+ /* @__PURE__ */ s(
640
648
  "text",
641
649
  {
642
- x: S,
643
- y: N + A + 11,
650
+ x: N,
651
+ y: w + _ + 11,
644
652
  fontSize: "7",
645
653
  textAnchor: "middle",
646
- className: q,
654
+ className: F,
647
655
  children: n.down
648
656
  }
649
657
  ),
650
- /* @__PURE__ */ i(
658
+ /* @__PURE__ */ s(
651
659
  "text",
652
660
  {
653
- x: S + A + 10,
654
- y: N + 2,
661
+ x: N + _ + 10,
662
+ y: w + 2,
655
663
  fontSize: "7",
656
664
  textAnchor: "middle",
657
- className: q,
658
- children: r
665
+ className: F,
666
+ children: i
659
667
  }
660
668
  ),
661
- /* @__PURE__ */ i(
669
+ /* @__PURE__ */ s(
662
670
  "text",
663
671
  {
664
- x: S - A - 10,
665
- y: N + 2,
672
+ x: N - _ - 10,
673
+ y: w + 2,
666
674
  fontSize: "7",
667
675
  textAnchor: "middle",
668
- className: q,
676
+ className: F,
669
677
  children: X
670
678
  }
671
679
  ),
672
- /* @__PURE__ */ i(
680
+ /* @__PURE__ */ s(
673
681
  "line",
674
682
  {
675
- x1: S,
676
- y1: N,
683
+ x1: N,
684
+ y1: w,
677
685
  x2: x,
678
686
  y2: f,
679
687
  strokeWidth: "2.5",
680
688
  strokeLinecap: "round",
681
- className: Me
689
+ className: Ie
682
690
  }
683
691
  ),
684
- /* @__PURE__ */ i(
692
+ /* @__PURE__ */ s(
685
693
  "polygon",
686
694
  {
687
- points: `${b},${g} ${k},${I} ${B},${K}`,
688
- className: le
695
+ points: `${b},${g} ${I},${B} ${O},${K}`,
696
+ className: de
689
697
  }
690
698
  ),
691
- /* @__PURE__ */ i("circle", { cx: S, cy: N, r: "2.5", className: le })
699
+ /* @__PURE__ */ s("circle", { cx: N, cy: w, r: "2.5", className: de })
692
700
  ]
693
701
  }
694
702
  ) });
695
703
  }
696
- const Dt = He("ds:flex ds:flex-col", {
704
+ const It = Ke("ds:flex ds:flex-col", {
697
705
  variants: {
698
706
  density: {
699
707
  comfortable: "ds:gap-4",
@@ -701,157 +709,157 @@ const Dt = He("ds:flex ds:flex-col", {
701
709
  }
702
710
  },
703
711
  defaultVariants: { density: "comfortable" }
704
- }), Le = {
712
+ }), ke = {
705
713
  4: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(4,minmax(0,1fr))]",
706
714
  6: "ds:[grid-template-columns:minmax(2.75rem,auto)_repeat(6,minmax(0,1fr))]"
707
- }, L = "ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]", Lt = "ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]", Mt = We(
715
+ }, M = "ds:text-[length:var(--font-size-xs)] ds:font-[var(--font-weight-medium)] ds:text-[var(--muted-foreground)]", Bt = "ds:text-end ds:tabular-nums ds:text-[length:var(--font-size-sm)] ds:text-[var(--foreground)]", Ot = Ye(
708
716
  ({
709
717
  id: t,
710
- mode: s = "interactive",
718
+ mode: r = "interactive",
711
719
  value: n,
712
- defaultValue: p,
720
+ defaultValue: o,
713
721
  onChange: u,
714
722
  bands: y = ["far", "near"],
715
723
  showPrism: x = !1,
716
724
  metadata: f = !0,
717
725
  charts: b = !0,
718
726
  chartsBand: g,
719
- density: k = "comfortable",
720
- ariaLabel: I,
721
- className: B
727
+ density: I = "comfortable",
728
+ ariaLabel: B,
729
+ className: O
722
730
  }, K) => {
723
- const { t: r } = Fe("ui"), X = je(), O = t ?? X, Ae = ue(null), te = s === "interactive", pe = n !== void 0, [ke, Ie] = Xe(
724
- p ?? bt()
725
- ), Y = pe ? n : ke, E = ue(Y);
726
- E.current = Y;
727
- const z = R(
731
+ const { t: i, i18n: X } = Ge("ui"), P = X.language, Be = He(), te = t ?? Be, Ce = fe(null), re = r === "interactive", me = n !== void 0, [Oe, ze] = qe(
732
+ o ?? Pt()
733
+ ), Y = me ? n : Oe, D = fe(Y);
734
+ D.current = Y;
735
+ const z = A(
728
736
  (e) => {
729
- pe || Ie(e), u == null || u(e);
737
+ me || ze(e), u == null || u(e);
730
738
  },
731
- [pe, u]
732
- ), U = R(
733
- (e, h, a, d) => {
734
- z(xt(E.current, e, h, a, d ?? void 0));
739
+ [me, u]
740
+ ), G = A(
741
+ (e, h, a, p) => {
742
+ z(St(D.current, e, h, a, p ?? void 0));
735
743
  },
736
744
  [z]
737
- ), V = R(
745
+ ), V = A(
738
746
  (e) => {
739
- z({ ...E.current, ...e });
747
+ z({ ...D.current, ...e });
740
748
  },
741
749
  [z]
742
- ), G = y, _e = ue(G);
743
- _e.current = G;
744
- const re = fe(
750
+ ), U = y, $e = fe(U);
751
+ $e.current = U;
752
+ const ie = he(
745
753
  () => x ? ["sphere", "cylinder", "axis", "add", "prism", "base"] : ["sphere", "cylinder", "axis", "add"],
746
754
  [x]
747
- ), Ce = R((e, h) => {
748
- const a = Ae.current;
755
+ ), Te = A((e, h) => {
756
+ const a = Ce.current;
749
757
  if (!a) return;
750
- const d = h ?? _e.current[0];
751
- if (!d) return;
758
+ const p = h ?? $e.current[0];
759
+ if (!p) return;
752
760
  const m = a.querySelector(
753
- `[data-band="${d}"][data-eye="${e}"]`
761
+ `[data-band="${p}"][data-eye="${e}"]`
754
762
  );
755
763
  if (!m) return;
756
764
  (m.querySelector(
757
765
  'input, textarea, button:not([tabindex="-1"])'
758
766
  ) ?? m.querySelector("[tabindex]") ?? m).focus();
759
- }, []), me = fe(
767
+ }, []), ue = he(
760
768
  () => ({
761
- focusEye: Ce,
762
- getValue: () => E.current,
769
+ focusEye: Te,
770
+ getValue: () => D.current,
763
771
  setValue: (e) => z(e),
764
- getRow: (e, h) => oe(E.current, e, h),
765
- setCell: U,
766
- clearBand: (e) => z(vt(E.current, e)),
767
- getBands: () => Ee(E.current)
772
+ getRow: (e, h) => ce(D.current, e, h),
773
+ setCell: G,
774
+ clearBand: (e) => z(Nt(D.current, e)),
775
+ getBands: () => Le(D.current)
768
776
  }),
769
- [Ce, z, U]
777
+ [Te, z, G]
770
778
  );
771
- Ye(K, () => me, [me]), qe(Qe, me, O);
772
- const D = R(
773
- (e) => r(`opticalPrescription.eye.${e}Name`),
774
- [r]
775
- ), ie = R(
776
- (e) => r(`opticalPrescription.column.${e}`),
777
- [r]
778
- ), J = R(
779
- (e) => r(`opticalPrescription.band.${e}`),
780
- [r]
781
- ), $e = R(
779
+ Fe(K, () => ue, [ue]), Ue(rt, ue, te);
780
+ const L = A(
781
+ (e) => i(`opticalPrescription.eye.${e}Name`),
782
+ [i]
783
+ ), se = A(
784
+ (e) => i(`opticalPrescription.column.${e}`),
785
+ [i]
786
+ ), J = A(
787
+ (e) => i(`opticalPrescription.band.${e}`),
788
+ [i]
789
+ ), Ee = A(
782
790
  (e, h, a) => {
783
- const d = oe(E.current, e, h), m = d == null ? void 0 : d[a], w = r("opticalPrescription.cellLabel", {
784
- eye: D(h),
785
- column: ie(a),
791
+ const p = ce(D.current, e, h), m = p == null ? void 0 : p[a], R = i("opticalPrescription.cellLabel", {
792
+ eye: L(h),
793
+ column: se(a),
786
794
  band: J(e)
787
795
  });
788
- return a === "base" ? /* @__PURE__ */ i("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ i(
789
- he,
796
+ return a === "base" ? /* @__PURE__ */ s("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ s(
797
+ ye,
790
798
  {
791
799
  size: "md",
792
800
  clearable: !0,
793
- "aria-label": w,
801
+ "aria-label": R,
794
802
  value: typeof m == "string" ? m : "",
795
- options: et.map((Q) => ({
803
+ options: st.map((Q) => ({
796
804
  value: Q,
797
- label: r(`opticalPrescription.base.${Q}`)
805
+ label: i(`opticalPrescription.base.${Q}`)
798
806
  })),
799
- onValueChange: (Q) => U(e, h, "base", Q === "" ? null : Q)
807
+ onValueChange: (Q) => G(e, h, "base", Q === "" ? null : Q)
800
808
  }
801
- ) }, a) : /* @__PURE__ */ i("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ i(
802
- se,
809
+ ) }, a) : /* @__PURE__ */ s("div", { role: "cell", "data-field": a, className: "ds:min-w-0", children: /* @__PURE__ */ s(
810
+ ae,
803
811
  {
804
812
  size: "md",
805
- "aria-label": w,
813
+ "aria-label": R,
806
814
  value: typeof m == "number" ? m : null,
807
815
  ...a === "axis" ? {
808
816
  mode: "integer",
809
- step: lt,
810
- min: Ne,
811
- max: we
817
+ step: ut,
818
+ min: we,
819
+ max: Re
812
820
  } : a === "add" ? {
813
821
  mode: "decimal",
814
- step: ne,
815
- min: ot,
816
- max: ct
822
+ step: oe,
823
+ min: pt,
824
+ max: mt
817
825
  } : a === "prism" ? {
818
826
  mode: "decimal",
819
- step: ne,
820
- min: dt,
821
- max: pt
827
+ step: oe,
828
+ min: ft,
829
+ max: ht
822
830
  } : a === "cylinder" ? {
823
831
  mode: "decimal",
824
- step: ne,
825
- min: at,
826
- max: nt
832
+ step: oe,
833
+ min: lt,
834
+ max: dt
827
835
  } : {
828
836
  mode: "decimal",
829
- step: ne,
830
- min: it,
831
- max: st
837
+ step: oe,
838
+ min: ot,
839
+ max: ct
832
840
  },
833
- onChange: (F) => U(e, h, a, F)
841
+ onChange: (q) => G(e, h, a, q)
834
842
  }
835
843
  ) }, a);
836
844
  },
837
- [r, D, ie, J, U]
838
- ), Te = R(
845
+ [i, L, se, J, G]
846
+ ), De = A(
839
847
  (e, h, a) => {
840
- const d = oe(E.current, e, h), m = d == null ? void 0 : d[a];
841
- let w;
842
- return m === void 0 ? w = r("opticalPrescription.empty") : a === "base" && typeof m == "string" ? w = r(`opticalPrescription.base.${m}`) : typeof m == "number" ? w = ht(a, m) : w = r("opticalPrescription.empty"), /* @__PURE__ */ i("span", { role: "cell", "data-field": a, className: Lt, children: w }, a);
848
+ const p = ce(D.current, e, h), m = p == null ? void 0 : p[a];
849
+ let R;
850
+ return m === void 0 ? R = i("opticalPrescription.empty") : a === "base" && typeof m == "string" ? R = i(`opticalPrescription.base.${m}`) : typeof m == "number" ? R = vt(a, m, P) : R = i("opticalPrescription.empty"), /* @__PURE__ */ s("span", { role: "cell", "data-field": a, className: Bt, children: R }, a);
843
851
  },
844
- [r]
845
- ), Be = R(
852
+ [i, P]
853
+ ), Ve = A(
846
854
  (e) => {
847
- const h = `${O}-band-${e}`, a = Le[re.length] ?? Le[4];
848
- return /* @__PURE__ */ l(
855
+ const h = `${te}-band-${e}`, a = ke[ie.length] ?? ke[4];
856
+ return /* @__PURE__ */ d(
849
857
  "section",
850
858
  {
851
859
  className: "ds:flex ds:flex-col ds:gap-1",
852
860
  "aria-labelledby": h,
853
861
  children: [
854
- /* @__PURE__ */ i(
862
+ /* @__PURE__ */ s(
855
863
  "p",
856
864
  {
857
865
  id: h,
@@ -859,56 +867,56 @@ const Dt = He("ds:flex ds:flex-col", {
859
867
  children: J(e)
860
868
  }
861
869
  ),
862
- /* @__PURE__ */ l(
870
+ /* @__PURE__ */ d(
863
871
  "div",
864
872
  {
865
873
  role: "table",
866
874
  "aria-label": J(e),
867
875
  className: `ds:grid ds:items-center ds:gap-x-2 ds:gap-y-1 ${a}`,
868
876
  children: [
869
- /* @__PURE__ */ l("div", { role: "row", className: "ds:contents", children: [
870
- /* @__PURE__ */ i(
877
+ /* @__PURE__ */ d("div", { role: "row", className: "ds:contents", children: [
878
+ /* @__PURE__ */ s(
871
879
  "span",
872
880
  {
873
881
  role: "columnheader",
874
- className: `${L} ds:text-start`,
875
- children: r("opticalPrescription.column.eye")
882
+ className: `${M} ds:text-start`,
883
+ children: i("opticalPrescription.column.eye")
876
884
  }
877
885
  ),
878
- re.map((d) => /* @__PURE__ */ i(
886
+ ie.map((p) => /* @__PURE__ */ s(
879
887
  "span",
880
888
  {
881
889
  role: "columnheader",
882
- className: `${L} ds:text-end`,
883
- children: ie(d)
890
+ className: `${M} ds:text-end`,
891
+ children: se(p)
884
892
  },
885
- d
893
+ p
886
894
  ))
887
895
  ] }),
888
- Z.map((d) => /* @__PURE__ */ l(
896
+ Z.map((p) => /* @__PURE__ */ d(
889
897
  "div",
890
898
  {
891
899
  role: "row",
892
- "data-eye": d,
900
+ "data-eye": p,
893
901
  "data-band": e,
894
902
  className: "ds:contents",
895
903
  children: [
896
- /* @__PURE__ */ i(
904
+ /* @__PURE__ */ s(
897
905
  "span",
898
906
  {
899
907
  role: "rowheader",
900
908
  tabIndex: -1,
901
- "aria-label": D(d),
909
+ "aria-label": L(p),
902
910
  className: "ds:text-start ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:tabular-nums ds:text-[var(--foreground)] ds:outline-none ds:rounded-[var(--radius-sm)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
903
- children: r(`opticalPrescription.eye.${d}`)
911
+ children: i(`opticalPrescription.eye.${p}`)
904
912
  }
905
913
  ),
906
- re.map(
907
- (m) => te ? $e(e, d, m) : Te(e, d, m)
914
+ ie.map(
915
+ (m) => re ? Ee(e, p, m) : De(e, p, m)
908
916
  )
909
917
  ]
910
918
  },
911
- d
919
+ p
912
920
  ))
913
921
  ]
914
922
  }
@@ -919,124 +927,124 @@ const Dt = He("ds:flex ds:flex-col", {
919
927
  );
920
928
  },
921
929
  [
922
- O,
923
- re,
924
930
  te,
925
- J,
926
931
  ie,
927
- D,
928
- $e,
929
- Te,
930
- r
932
+ re,
933
+ J,
934
+ se,
935
+ L,
936
+ Ee,
937
+ De,
938
+ i
931
939
  ]
932
- ), H = fe(() => b === !1 ? [] : b === !0 ? gt : b, [b]), Oe = R(() => {
933
- var w;
940
+ ), H = he(() => b === !1 ? [] : b === !0 ? wt : b, [b]), We = A(() => {
941
+ var R;
934
942
  if (H.length === 0) return null;
935
- const e = Y, h = Ee(e), a = g ?? G.find((o) => h.includes(o)), d = (o) => a ? oe(e, a, o) : void 0, m = [];
943
+ const e = Y, h = Le(e), a = g ?? U.find((c) => h.includes(c)), p = (c) => a ? ce(e, a, c) : void 0, m = [];
936
944
  if (H.includes("tabo"))
937
- for (const o of Z) {
938
- const c = (w = d(o)) == null ? void 0 : w.axis;
939
- if (c === void 0) continue;
940
- const F = Re(c);
945
+ for (const c of Z) {
946
+ const l = (R = p(c)) == null ? void 0 : R.axis;
947
+ if (l === void 0) continue;
948
+ const q = _e(l);
941
949
  m.push(
942
- /* @__PURE__ */ i(
943
- Rt,
950
+ /* @__PURE__ */ s(
951
+ $t,
944
952
  {
945
- eye: o,
946
- axisDeg: F,
947
- ariaLabel: r("opticalPrescription.charts.tabo.aria", {
948
- eye: D(o),
949
- axis: W(F)
953
+ eye: c,
954
+ axisDeg: q,
955
+ ariaLabel: i("opticalPrescription.charts.tabo.aria", {
956
+ eye: L(c),
957
+ axis: W(q)
950
958
  }),
951
- caption: r("opticalPrescription.charts.tabo.caption", {
952
- eye: r(`opticalPrescription.eye.${o}`),
953
- axis: W(F)
959
+ caption: i("opticalPrescription.charts.tabo.caption", {
960
+ eye: i(`opticalPrescription.eye.${c}`),
961
+ axis: W(q)
954
962
  })
955
963
  },
956
- `tabo-${o}`
964
+ `tabo-${c}`
957
965
  )
958
966
  );
959
967
  }
960
968
  if (H.includes("powerCross"))
961
- for (const o of Z) {
962
- const c = yt(d(o));
963
- c && m.push(
964
- /* @__PURE__ */ i(
965
- _t,
969
+ for (const c of Z) {
970
+ const l = gt(p(c));
971
+ l && m.push(
972
+ /* @__PURE__ */ s(
973
+ Et,
966
974
  {
967
- eye: o,
968
- primary: c.primary,
969
- secondary: c.secondary,
970
- primaryText: M(c.primary.power, 2),
971
- secondaryText: M(c.secondary.power, 2),
972
- ariaLabel: r("opticalPrescription.charts.powerCross.aria", {
973
- eye: D(o),
974
- primary: M(c.primary.power, 2),
975
- primaryDeg: W(c.primary.deg),
976
- secondary: M(c.secondary.power, 2),
977
- secondaryDeg: W(c.secondary.deg)
975
+ eye: c,
976
+ primary: l.primary,
977
+ secondary: l.secondary,
978
+ primaryText: k(l.primary.power, 2, P),
979
+ secondaryText: k(l.secondary.power, 2, P),
980
+ ariaLabel: i("opticalPrescription.charts.powerCross.aria", {
981
+ eye: L(c),
982
+ primary: k(l.primary.power, 2, P),
983
+ primaryDeg: W(l.primary.deg),
984
+ secondary: k(l.secondary.power, 2, P),
985
+ secondaryDeg: W(l.secondary.deg)
978
986
  }),
979
- caption: r("opticalPrescription.charts.powerCross.caption", {
980
- eye: r(`opticalPrescription.eye.${o}`)
987
+ caption: i("opticalPrescription.charts.powerCross.caption", {
988
+ eye: i(`opticalPrescription.eye.${c}`)
981
989
  }),
982
- detail: `${M(c.primary.power, 2)} @ ${W(c.primary.deg)} · ${M(c.secondary.power, 2)} @ ${W(c.secondary.deg)}`
990
+ detail: `${k(l.primary.power, 2, P)} @ ${W(l.primary.deg)} · ${k(l.secondary.power, 2, P)} @ ${W(l.secondary.deg)}`
983
991
  },
984
- `cross-${o}`
992
+ `cross-${c}`
985
993
  )
986
994
  );
987
995
  }
988
996
  if (H.includes("pd")) {
989
- const o = e.pdRight !== void 0 && e.pdLeft !== void 0;
990
- (o || e.pd !== void 0) && m.push(
991
- /* @__PURE__ */ i(
992
- $t,
997
+ const c = e.pdRight !== void 0 && e.pdLeft !== void 0;
998
+ (c || e.pd !== void 0) && m.push(
999
+ /* @__PURE__ */ s(
1000
+ Lt,
993
1001
  {
994
- totalText: e.pd !== void 0 ? r("opticalPrescription.pd.value", { value: e.pd }) : void 0,
995
- rightText: o ? r("opticalPrescription.pd.value", { value: e.pdRight }) : void 0,
996
- leftText: o ? r("opticalPrescription.pd.value", { value: e.pdLeft }) : void 0,
997
- ariaLabel: o ? r("opticalPrescription.charts.pd.ariaSplit", {
1002
+ totalText: e.pd !== void 0 ? i("opticalPrescription.pd.value", { value: e.pd }) : void 0,
1003
+ rightText: c ? i("opticalPrescription.pd.value", { value: e.pdRight }) : void 0,
1004
+ leftText: c ? i("opticalPrescription.pd.value", { value: e.pdLeft }) : void 0,
1005
+ ariaLabel: c ? i("opticalPrescription.charts.pd.ariaSplit", {
998
1006
  right: e.pdRight,
999
1007
  left: e.pdLeft
1000
- }) : r("opticalPrescription.charts.pd.aria", { value: e.pd }),
1001
- caption: r("opticalPrescription.charts.pd.caption"),
1002
- detail: o ? r("opticalPrescription.pd.monocularValue", {
1008
+ }) : i("opticalPrescription.charts.pd.aria", { value: e.pd }),
1009
+ caption: i("opticalPrescription.charts.pd.caption"),
1010
+ detail: c ? i("opticalPrescription.pd.monocularValue", {
1003
1011
  right: e.pdRight,
1004
1012
  left: e.pdLeft
1005
- }) : r("opticalPrescription.pd.value", { value: e.pd })
1013
+ }) : i("opticalPrescription.pd.value", { value: e.pd })
1006
1014
  },
1007
1015
  "pd"
1008
1016
  )
1009
1017
  );
1010
1018
  }
1011
1019
  if (H.includes("prismBase"))
1012
- for (const o of Z) {
1013
- const c = d(o);
1014
- !c || c.prism === void 0 || c.prism <= 0 || !c.base || m.push(
1015
- /* @__PURE__ */ i(
1016
- Et,
1020
+ for (const c of Z) {
1021
+ const l = p(c);
1022
+ !l || l.prism === void 0 || l.prism <= 0 || !l.base || m.push(
1023
+ /* @__PURE__ */ s(
1024
+ kt,
1017
1025
  {
1018
- eye: o,
1019
- base: c.base,
1026
+ eye: c,
1027
+ base: l.base,
1020
1028
  labels: {
1021
- up: r("opticalPrescription.charts.prism.baseShort.up"),
1022
- down: r("opticalPrescription.charts.prism.baseShort.down"),
1023
- in: r("opticalPrescription.charts.prism.baseShort.in"),
1024
- out: r("opticalPrescription.charts.prism.baseShort.out")
1029
+ up: i("opticalPrescription.charts.prism.baseShort.up"),
1030
+ down: i("opticalPrescription.charts.prism.baseShort.down"),
1031
+ in: i("opticalPrescription.charts.prism.baseShort.in"),
1032
+ out: i("opticalPrescription.charts.prism.baseShort.out")
1025
1033
  },
1026
- ariaLabel: r("opticalPrescription.charts.prism.aria", {
1027
- eye: D(o),
1028
- value: Se(c.prism),
1029
- base: r(`opticalPrescription.base.${c.base}`)
1034
+ ariaLabel: i("opticalPrescription.charts.prism.aria", {
1035
+ eye: L(c),
1036
+ value: Ne(l.prism, P),
1037
+ base: i(`opticalPrescription.base.${l.base}`)
1030
1038
  }),
1031
- caption: r("opticalPrescription.charts.prism.caption", {
1032
- eye: r(`opticalPrescription.eye.${o}`),
1033
- value: Se(c.prism),
1034
- base: r(
1035
- `opticalPrescription.charts.prism.baseShort.${c.base}`
1039
+ caption: i("opticalPrescription.charts.prism.caption", {
1040
+ eye: i(`opticalPrescription.eye.${c}`),
1041
+ value: Ne(l.prism, P),
1042
+ base: i(
1043
+ `opticalPrescription.charts.prism.baseShort.${l.base}`
1036
1044
  )
1037
1045
  })
1038
1046
  },
1039
- `prism-${o}`
1047
+ `prism-${c}`
1040
1048
  )
1041
1049
  );
1042
1050
  }
@@ -1044,118 +1052,126 @@ const Dt = He("ds:flex ds:flex-col", {
1044
1052
  // Examiner-view clinical diagrams (OD drawn to the left of OS, nasal
1045
1053
  // towards the other eye) — physical order like the odontogram, so the
1046
1054
  // strip is pinned LTR and does not mirror in RTL.
1047
- /* @__PURE__ */ i(
1055
+ /* @__PURE__ */ s(
1048
1056
  "div",
1049
1057
  {
1050
1058
  role: "group",
1051
- "aria-label": r("opticalPrescription.charts.label"),
1059
+ "aria-label": i("opticalPrescription.charts.label"),
1052
1060
  dir: "ltr",
1053
1061
  className: "ds:flex ds:flex-wrap ds:items-end ds:gap-4",
1054
1062
  children: m
1055
1063
  }
1056
1064
  )
1057
1065
  );
1058
- }, [H, Y, g, G, D, r]), ze = R(() => {
1066
+ }, [
1067
+ H,
1068
+ Y,
1069
+ g,
1070
+ U,
1071
+ L,
1072
+ i,
1073
+ P
1074
+ ]), je = A(() => {
1059
1075
  if (!f) return null;
1060
1076
  const e = Y;
1061
- return te ? /* @__PURE__ */ l(
1077
+ return re ? /* @__PURE__ */ d(
1062
1078
  "div",
1063
1079
  {
1064
1080
  role: "group",
1065
- "aria-label": r("opticalPrescription.metaLabel"),
1081
+ "aria-label": i("opticalPrescription.metaLabel"),
1066
1082
  className: "ds:grid ds:gap-3 ds:grid-cols-[repeat(auto-fit,minmax(8rem,1fr))]",
1067
1083
  children: [
1068
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1069
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.label") }),
1070
- /* @__PURE__ */ i(
1071
- se,
1084
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1085
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.label") }),
1086
+ /* @__PURE__ */ s(
1087
+ ae,
1072
1088
  {
1073
1089
  size: "md",
1074
1090
  mode: "decimal",
1075
1091
  step: 0.5,
1076
- min: be,
1077
- max: xe,
1078
- "aria-label": r("opticalPrescription.pd.full"),
1092
+ min: xe,
1093
+ max: ve,
1094
+ "aria-label": i("opticalPrescription.pd.full"),
1079
1095
  value: e.pd ?? null,
1080
1096
  onChange: (a) => V({ pd: a ?? void 0 })
1081
1097
  }
1082
1098
  )
1083
1099
  ] }),
1084
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1085
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.right") }),
1086
- /* @__PURE__ */ i(
1087
- se,
1100
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1101
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.right") }),
1102
+ /* @__PURE__ */ s(
1103
+ ae,
1088
1104
  {
1089
1105
  size: "md",
1090
1106
  mode: "decimal",
1091
1107
  step: 0.5,
1092
- min: be / 2,
1093
- max: xe / 2,
1094
- "aria-label": r("opticalPrescription.pd.right"),
1108
+ min: xe / 2,
1109
+ max: ve / 2,
1110
+ "aria-label": i("opticalPrescription.pd.right"),
1095
1111
  value: e.pdRight ?? null,
1096
1112
  onChange: (a) => V({ pdRight: a ?? void 0 })
1097
1113
  }
1098
1114
  )
1099
1115
  ] }),
1100
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1101
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.pd.left") }),
1102
- /* @__PURE__ */ i(
1103
- se,
1116
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1117
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.pd.left") }),
1118
+ /* @__PURE__ */ s(
1119
+ ae,
1104
1120
  {
1105
1121
  size: "md",
1106
1122
  mode: "decimal",
1107
1123
  step: 0.5,
1108
- min: be / 2,
1109
- max: xe / 2,
1110
- "aria-label": r("opticalPrescription.pd.left"),
1124
+ min: xe / 2,
1125
+ max: ve / 2,
1126
+ "aria-label": i("opticalPrescription.pd.left"),
1111
1127
  value: e.pdLeft ?? null,
1112
1128
  onChange: (a) => V({ pdLeft: a ?? void 0 })
1113
1129
  }
1114
1130
  )
1115
1131
  ] }),
1116
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1117
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.lensType.label") }),
1118
- /* @__PURE__ */ i(
1119
- he,
1132
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1133
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.lensType.label") }),
1134
+ /* @__PURE__ */ s(
1135
+ ye,
1120
1136
  {
1121
1137
  size: "md",
1122
1138
  clearable: !0,
1123
- "aria-label": r("opticalPrescription.lensType.label"),
1139
+ "aria-label": i("opticalPrescription.lensType.label"),
1124
1140
  value: e.lensType ?? "",
1125
- options: tt.map((a) => ({
1141
+ options: at.map((a) => ({
1126
1142
  value: a,
1127
- label: r(`opticalPrescription.lensType.${a}`)
1143
+ label: i(`opticalPrescription.lensType.${a}`)
1128
1144
  })),
1129
1145
  onValueChange: (a) => V({ lensType: a === "" ? void 0 : a })
1130
1146
  }
1131
1147
  )
1132
1148
  ] }),
1133
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1134
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.axisSystem.label") }),
1135
- /* @__PURE__ */ i(
1136
- he,
1149
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1", children: [
1150
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.axisSystem.label") }),
1151
+ /* @__PURE__ */ s(
1152
+ ye,
1137
1153
  {
1138
1154
  size: "md",
1139
1155
  clearable: !0,
1140
- "aria-label": r("opticalPrescription.axisSystem.label"),
1156
+ "aria-label": i("opticalPrescription.axisSystem.label"),
1141
1157
  value: e.axisSystem ?? "",
1142
- options: rt.map((a) => ({
1158
+ options: nt.map((a) => ({
1143
1159
  value: a,
1144
- label: r(`opticalPrescription.axisSystem.${a}`)
1160
+ label: i(`opticalPrescription.axisSystem.${a}`)
1145
1161
  })),
1146
1162
  onValueChange: (a) => V({ axisSystem: a === "" ? void 0 : a })
1147
1163
  }
1148
1164
  )
1149
1165
  ] }),
1150
- /* @__PURE__ */ l("div", { className: "ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]", children: [
1151
- /* @__PURE__ */ i("span", { className: L, children: r("opticalPrescription.notes.label") }),
1152
- /* @__PURE__ */ i(
1153
- Ke,
1166
+ /* @__PURE__ */ d("div", { className: "ds:flex ds:flex-col ds:gap-1 ds:[grid-column:1/-1]", children: [
1167
+ /* @__PURE__ */ s("span", { className: M, children: i("opticalPrescription.notes.label") }),
1168
+ /* @__PURE__ */ s(
1169
+ Je,
1154
1170
  {
1155
1171
  size: "md",
1156
1172
  minRows: 2,
1157
- "aria-label": r("opticalPrescription.notes.label"),
1158
- placeholder: r("opticalPrescription.notes.placeholder"),
1173
+ "aria-label": i("opticalPrescription.notes.label"),
1174
+ placeholder: i("opticalPrescription.notes.placeholder"),
1159
1175
  value: e.notes ?? "",
1160
1176
  onChange: (a) => V({ notes: a.target.value || void 0 })
1161
1177
  }
@@ -1163,98 +1179,98 @@ const Dt = He("ds:flex ds:flex-col", {
1163
1179
  ] })
1164
1180
  ]
1165
1181
  }
1166
- ) : e.pd !== void 0 || e.pdRight !== void 0 && e.pdLeft !== void 0 || e.lensType !== void 0 || e.axisSystem !== void 0 || e.notes !== void 0 && e.notes !== "" ? /* @__PURE__ */ l(
1182
+ ) : e.pd !== void 0 || e.pdRight !== void 0 && e.pdLeft !== void 0 || e.lensType !== void 0 || e.axisSystem !== void 0 || e.notes !== void 0 && e.notes !== "" ? /* @__PURE__ */ d(
1167
1183
  v,
1168
1184
  {
1169
1185
  layout: "inline",
1170
1186
  labelWidth: "fixed",
1171
1187
  density: "compact",
1172
- "aria-label": r("opticalPrescription.metaLabel"),
1188
+ "aria-label": i("opticalPrescription.metaLabel"),
1173
1189
  children: [
1174
- e.pd !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
1175
- /* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.pd.label") }),
1176
- /* @__PURE__ */ i(v.Detail, { numeric: !0, children: r("opticalPrescription.pd.value", { value: e.pd }) })
1190
+ e.pd !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
1191
+ /* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.pd.label") }),
1192
+ /* @__PURE__ */ s(v.Detail, { numeric: !0, children: i("opticalPrescription.pd.value", { value: e.pd }) })
1177
1193
  ] }),
1178
- e.pdRight !== void 0 && e.pdLeft !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
1179
- /* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.pd.monocular") }),
1180
- /* @__PURE__ */ i(v.Detail, { numeric: !0, children: r("opticalPrescription.pd.monocularValue", {
1194
+ e.pdRight !== void 0 && e.pdLeft !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
1195
+ /* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.pd.monocular") }),
1196
+ /* @__PURE__ */ s(v.Detail, { numeric: !0, children: i("opticalPrescription.pd.monocularValue", {
1181
1197
  right: e.pdRight,
1182
1198
  left: e.pdLeft
1183
1199
  }) })
1184
1200
  ] }),
1185
- e.lensType !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
1186
- /* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.lensType.label") }),
1187
- /* @__PURE__ */ i(v.Detail, { children: r(`opticalPrescription.lensType.${e.lensType}`) })
1201
+ e.lensType !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
1202
+ /* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.lensType.label") }),
1203
+ /* @__PURE__ */ s(v.Detail, { children: i(`opticalPrescription.lensType.${e.lensType}`) })
1188
1204
  ] }),
1189
- e.axisSystem !== void 0 && /* @__PURE__ */ l(v.Row, { children: [
1190
- /* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.axisSystem.label") }),
1191
- /* @__PURE__ */ i(v.Detail, { children: r(`opticalPrescription.axisSystem.${e.axisSystem}`) })
1205
+ e.axisSystem !== void 0 && /* @__PURE__ */ d(v.Row, { children: [
1206
+ /* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.axisSystem.label") }),
1207
+ /* @__PURE__ */ s(v.Detail, { children: i(`opticalPrescription.axisSystem.${e.axisSystem}`) })
1192
1208
  ] }),
1193
- e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */ l(v.Row, { children: [
1194
- /* @__PURE__ */ i(v.Term, { children: r("opticalPrescription.notes.label") }),
1195
- /* @__PURE__ */ i(v.Detail, { children: e.notes })
1209
+ e.notes !== void 0 && e.notes !== "" && /* @__PURE__ */ d(v.Row, { children: [
1210
+ /* @__PURE__ */ s(v.Term, { children: i("opticalPrescription.notes.label") }),
1211
+ /* @__PURE__ */ s(v.Detail, { children: e.notes })
1196
1212
  ] })
1197
1213
  ]
1198
1214
  }
1199
1215
  ) : null;
1200
- }, [f, Y, te, r, V]);
1201
- return /* @__PURE__ */ l(
1216
+ }, [f, Y, re, i, V]);
1217
+ return /* @__PURE__ */ d(
1202
1218
  "div",
1203
1219
  {
1204
- ref: Ae,
1220
+ ref: Ce,
1205
1221
  "data-component": "optical-prescription",
1206
- "data-component-id": O,
1207
- "data-mode": s,
1222
+ "data-component-id": te,
1223
+ "data-mode": r,
1208
1224
  role: "group",
1209
- "aria-label": I ?? r("opticalPrescription.ariaLabel"),
1210
- className: Dt({ density: k, className: B }),
1225
+ "aria-label": B ?? i("opticalPrescription.ariaLabel"),
1226
+ className: It({ density: I, className: O }),
1211
1227
  children: [
1212
- G.map((e) => Be(e)),
1213
- Oe(),
1214
- ze()
1228
+ U.map((e) => Ve(e)),
1229
+ We(),
1230
+ je()
1215
1231
  ]
1216
1232
  }
1217
1233
  );
1218
1234
  }
1219
1235
  );
1220
- Mt.displayName = "OpticalPrescription";
1236
+ Ot.displayName = "OpticalPrescription";
1221
1237
  export {
1222
- ct as A,
1223
- Qe as B,
1224
- gt as C,
1225
- ne as D,
1238
+ mt as A,
1239
+ rt as B,
1240
+ wt as C,
1241
+ oe as D,
1226
1242
  Z as E,
1227
- xt as F,
1228
- tt as L,
1229
- Mt as O,
1230
- xe as P,
1231
- Yt as R,
1232
- st as S,
1233
- ot as a,
1234
- we as b,
1235
- Ne as c,
1236
- lt as d,
1237
- rt as e,
1238
- nt as f,
1239
- at as g,
1240
- Ze as h,
1241
- be as i,
1242
- et as j,
1243
- pt as k,
1244
- dt as l,
1245
- it as m,
1246
- Ee as n,
1247
- vt as o,
1248
- bt as p,
1249
- ft as q,
1243
+ St as F,
1244
+ at as L,
1245
+ Ot as O,
1246
+ ve as P,
1247
+ Gt as R,
1248
+ ct as S,
1249
+ pt as a,
1250
+ Re as b,
1251
+ we as c,
1252
+ ut as d,
1253
+ nt as e,
1254
+ dt as f,
1255
+ lt as g,
1256
+ it as h,
1257
+ xe as i,
1258
+ st as j,
1259
+ ht as k,
1260
+ ft as l,
1261
+ ot as m,
1262
+ Le as n,
1263
+ Nt as o,
1264
+ Pt as p,
1265
+ xt as q,
1250
1266
  W as r,
1251
- ut as s,
1252
- Se as t,
1253
- ht as u,
1254
- M as v,
1255
- mt as w,
1256
- oe as x,
1257
- yt as y,
1258
- Re as z
1267
+ bt as s,
1268
+ Ne as t,
1269
+ vt as u,
1270
+ k as v,
1271
+ yt as w,
1272
+ ce as x,
1273
+ gt as y,
1274
+ _e as z
1259
1275
  };
1260
- //# sourceMappingURL=optical-prescription-CxfMsbxi.js.map
1276
+ //# sourceMappingURL=optical-prescription-ulXnDbBe.js.map