@alfadocs/ui-kit-debug 1.112.2 → 1.114.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 (336) hide show
  1. package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
  2. package/dist/_chunks/{anamnesis-card-BzuluoD1.js.map → anamnesis-card-Ddnrdfx3.js.map} +1 -1
  3. package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js.map → anamnesis-summary-card-S1H_AARG.js.map} +1 -1
  5. package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
  6. package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js.map → anamnesis-summary-rows-DaS-j8Jd.js.map} +1 -1
  7. package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
  8. package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js.map → antenatal-schedule-timeline-DmlXxevC.js.map} +1 -1
  9. package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
  10. package/dist/_chunks/{bishop-score-CnIft4eV.js.map → bishop-score-QJu-sM1y.js.map} +1 -1
  11. package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
  12. package/dist/_chunks/{bmi-calculator-NMkXc079.js.map → bmi-calculator-Ba4yoR31.js.map} +1 -1
  13. package/dist/_chunks/{calendar-appointment-editor-dialog-FvdoKZ54.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
  14. package/dist/_chunks/{calendar-appointment-editor-dialog-FvdoKZ54.js.map → calendar-appointment-editor-dialog-iyh9QqNw.js.map} +1 -1
  15. package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
  16. package/dist/_chunks/{card-C85_Ndhb.js.map → card-DVO3x8E-.js.map} +1 -1
  17. package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
  18. package/dist/_chunks/{clinical-note-card-BVkxGiGl.js.map → clinical-note-card-Zz5_GEz-.js.map} +1 -1
  19. package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
  20. package/dist/_chunks/{connection-status-CWSU3eiq.js.map → connection-status-DjarASoU.js.map} +1 -1
  21. package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
  22. package/dist/_chunks/{contact-card-CymtNvy3.js.map → contact-card-Cv-Nwvac.js.map} +1 -1
  23. package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
  24. package/dist/_chunks/{contact-profile-card-CAL66GaH.js.map → contact-profile-card-DMXWBBkU.js.map} +1 -1
  25. package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
  26. package/dist/_chunks/{cycle-calculator-ZMDvToIm.js.map → cycle-calculator-Dd-XbKmZ.js.map} +1 -1
  27. package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
  28. package/dist/_chunks/{document-preview-5xs64jME.js.map → document-preview-WvJKHJOP.js.map} +1 -1
  29. package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
  30. package/dist/_chunks/{due-date-calculator-Dr2cDa64.js.map → due-date-calculator-Dl6SyMHO.js.map} +1 -1
  31. package/dist/_chunks/email-input-DxwbREpx.js +156 -0
  32. package/dist/_chunks/email-input-DxwbREpx.js.map +1 -0
  33. package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
  34. package/dist/_chunks/{entity-summary-BbqqYqF1.js.map → entity-summary-DGCBQDt1.js.map} +1 -1
  35. package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
  36. package/dist/_chunks/{face-scheme-e2M2HJGz.js.map → face-scheme-DlcQaQVR.js.map} +1 -1
  37. package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
  38. package/dist/_chunks/{fetal-weight-CkIwJgiH.js.map → fetal-weight-DmZzMRzB.js.map} +1 -1
  39. package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
  40. package/dist/_chunks/{finished-terminal-DXVAfhRr.js.map → finished-terminal-BKTFUk3S.js.map} +1 -1
  41. package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-Bc_UPax6.js} +9 -8
  42. package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js.map → forgot-password-form-Bc_UPax6.js.map} +1 -1
  43. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
  44. package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js.map → gestational-age-calculator-DmzYdW5e.js.map} +1 -1
  45. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
  46. package/dist/_chunks/{hcg-doubling-DdyUt4gz.js.map → hcg-doubling-Tr72PetS.js.map} +1 -1
  47. package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
  48. package/dist/_chunks/{heatmap-BiwC7Gdx.js.map → heatmap-CNxCDl0D.js.map} +1 -1
  49. package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
  50. package/dist/_chunks/isEmail-BfVspSvV.js.map +1 -0
  51. package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
  52. package/dist/_chunks/{kit-extensions-BOsUgWnE.js.map → kit-extensions-DZJRmDI6.js.map} +1 -1
  53. package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-D7orCfJT.js} +48 -47
  54. package/dist/_chunks/{login-dev-card-Cz1Clugq.js.map → login-dev-card-D7orCfJT.js.map} +1 -1
  55. package/dist/_chunks/map-view-Bny79cWa.js +856 -0
  56. package/dist/_chunks/map-view-Bny79cWa.js.map +1 -0
  57. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
  58. package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js.map → marketplace-app-shell-CPNVBVLH.js.map} +1 -1
  59. package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
  60. package/dist/_chunks/motion-is-off-BvAuNV5O.js.map +1 -0
  61. package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
  62. package/dist/_chunks/{notes-panel-Cz621DWV.js.map → notes-panel-DXMTObBv.js.map} +1 -1
  63. package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
  64. package/dist/_chunks/{operator-hero-BELhrv9o.js.map → operator-hero-BWayX73x.js.map} +1 -1
  65. package/dist/_chunks/{patient-details-BwkDIm4D.js → patient-details-DdtXBNjt.js} +3 -3
  66. package/dist/_chunks/{patient-details-BwkDIm4D.js.map → patient-details-DdtXBNjt.js.map} +1 -1
  67. package/dist/_chunks/{patient-field-row-CBba7w9V.js → patient-field-row-D9rb-QJH.js} +2 -2
  68. package/dist/_chunks/{patient-field-row-CBba7w9V.js.map → patient-field-row-D9rb-QJH.js.map} +1 -1
  69. package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
  70. package/dist/_chunks/patient-search-DDRDCjZi.js.map +1 -0
  71. package/dist/_chunks/{patient-summary-card-DtYTo9w_.js → patient-summary-card-CGHz-Bvm.js} +3 -3
  72. package/dist/_chunks/{patient-summary-card-DtYTo9w_.js.map → patient-summary-card-CGHz-Bvm.js.map} +1 -1
  73. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
  74. package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js.map → payment-automation-upsell-D7yaD4u1.js.map} +1 -1
  75. package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
  76. package/dist/_chunks/{payment-request-card-IR83TJax.js.map → payment-request-card-BmV2pLoM.js.map} +1 -1
  77. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
  78. package/dist/_chunks/{periodontal-chart-DqdUEFxK.js.map → periodontal-chart-Bjz7O4wT.js.map} +1 -1
  79. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
  80. package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js.map → periodontal-chart-card-CxEXHl2x.js.map} +1 -1
  81. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
  82. package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js.map → periodontal-diagnosis-xheWfi4g.js.map} +1 -1
  83. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
  84. package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js.map → periodontal-risk-chart-BBPB9wf1.js.map} +1 -1
  85. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
  86. package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js.map → practice-profile-hero-Cw4NZp0A.js.map} +1 -1
  87. package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
  88. package/dist/_chunks/practice-results-BlxfBx-D.js.map +1 -0
  89. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
  90. package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js.map → pregnancy-dating-BvorzHrd.js.map} +1 -1
  91. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
  92. package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js.map → pregnancy-weight-gain-DQoOM8QV.js.map} +1 -1
  93. package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
  94. package/dist/_chunks/{privacy-mask-DbEKI-Jv.js.map → privacy-mask-Dc3kdkCR.js.map} +1 -1
  95. package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
  96. package/dist/_chunks/public-footer-CB7ruuLI.js.map +1 -0
  97. package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
  98. package/dist/_chunks/public-header.agent-Db4wm6_S.js.map +1 -0
  99. package/dist/_chunks/{registration-form-DEyUFysm.js → registration-form-Lw9T7IXr.js} +7 -6
  100. package/dist/_chunks/{registration-form-DEyUFysm.js.map → registration-form-Lw9T7IXr.js.map} +1 -1
  101. package/dist/_chunks/{reserved.agent-W_Zgj564.js → reserved.agent-D2jwJPac.js} +22 -32
  102. package/dist/_chunks/reserved.agent-D2jwJPac.js.map +1 -0
  103. package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-C93SH0Tx.js} +3 -3
  104. package/dist/_chunks/{reset-password-form-B0acanDD.js.map → reset-password-form-C93SH0Tx.js.map} +1 -1
  105. package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
  106. package/dist/_chunks/{reviews-panel-B03auSpQ.js.map → reviews-panel-CfJPEkH7.js.map} +1 -1
  107. package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
  108. package/dist/_chunks/{section-card-D1sV4Voz.js.map → section-card-DFr2wGal.js.map} +1 -1
  109. package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-DfbTjrEK.js} +9 -8
  110. package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js.map → send-registration-link-form-DfbTjrEK.js.map} +1 -1
  111. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
  112. package/dist/_chunks/{signed-out-frame-CPow3aCZ.js.map → signed-out-frame-bh7fn_Px.js.map} +1 -1
  113. package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
  114. package/dist/_chunks/stat-WGLdn5Vn.js.map +1 -0
  115. package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
  116. package/dist/_chunks/{task-card-TSJjuuDe.js.map → task-card-DqVoitRk.js.map} +1 -1
  117. package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
  118. package/dist/_chunks/{task-editor-gqWF1jI6.js.map → task-editor-D--LwVrg.js.map} +1 -1
  119. package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
  120. package/dist/_chunks/{task-tray-DrXfMCuf.js.map → task-tray-C6j8HVMv.js.map} +1 -1
  121. package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
  122. package/dist/_chunks/{tasks-panel-OuIaydK5.js.map → tasks-panel-D6PuF4MQ.js.map} +1 -1
  123. package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
  124. package/dist/_chunks/{timeline-CKUaBZOx.js.map → timeline-AMqE-c2T.js.map} +1 -1
  125. package/dist/_chunks/{use-appointment-details-read-DYyCYI9f.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
  126. package/dist/_chunks/{use-appointment-details-read-DYyCYI9f.js.map → use-appointment-details-read-BK_Gw1GG.js.map} +1 -1
  127. package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
  128. package/dist/_chunks/verify-identity-types-C85EXNzy.js.map +1 -0
  129. package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
  130. package/dist/_chunks/{workflow-map-DWk-rZse.js.map → workflow-map-B4XkcET0.js.map} +1 -1
  131. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
  132. package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js.map → workflow-webhook-action-CtBn5JvO.js.map} +1 -1
  133. package/dist/agent-catalog.json +111 -7
  134. package/dist/agent-i18n/en.json +13 -2
  135. package/dist/components/_shared/motion-is-off.d.ts +7 -0
  136. package/dist/components/_shared/motion-is-off.d.ts.map +1 -0
  137. package/dist/components/anamnesis-card/index.js +1 -1
  138. package/dist/components/anamnesis-summary-card/index.js +1 -1
  139. package/dist/components/appointment-details-panel/index.js +1 -1
  140. package/dist/components/bishop-score/index.js +1 -1
  141. package/dist/components/bmi-calculator/index.js +1 -1
  142. package/dist/components/booking/index.js +1 -1
  143. package/dist/components/booking/step-focus.d.ts +0 -6
  144. package/dist/components/booking/step-focus.d.ts.map +1 -1
  145. package/dist/components/card/card.d.ts.map +1 -1
  146. package/dist/components/card/index.js +1 -1
  147. package/dist/components/clinical-note-card/index.js +1 -1
  148. package/dist/components/connection-status/index.js +1 -1
  149. package/dist/components/contact-card/index.js +1 -1
  150. package/dist/components/contact-profile-card/index.js +1 -1
  151. package/dist/components/cycle-calculator/index.js +1 -1
  152. package/dist/components/document-preview/index.js +1 -1
  153. package/dist/components/due-date-calculator/index.js +2 -2
  154. package/dist/components/email-input/index.js +1 -1
  155. package/dist/components/entity-summary/index.js +1 -1
  156. package/dist/components/face-scheme/index.js +1 -1
  157. package/dist/components/fetal-weight/index.js +1 -1
  158. package/dist/components/finished-terminal/index.js +1 -1
  159. package/dist/components/gestational-age-calculator/index.js +1 -1
  160. package/dist/components/hcg-doubling/index.js +1 -1
  161. package/dist/components/heatmap/index.js +1 -1
  162. package/dist/components/index.d.ts +1 -0
  163. package/dist/components/index.d.ts.map +1 -1
  164. package/dist/components/map-view/index.js +1 -1
  165. package/dist/components/map-view/map-view.d.ts +16 -0
  166. package/dist/components/map-view/map-view.d.ts.map +1 -1
  167. package/dist/components/notes-panel/index.js +1 -1
  168. package/dist/components/operator-hero/index.js +1 -1
  169. package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
  170. package/dist/components/patient-details/index.js +1 -1
  171. package/dist/components/patient-search/index.js +1 -1
  172. package/dist/components/patient-search/patient-search.d.ts +6 -2
  173. package/dist/components/patient-search/patient-search.d.ts.map +1 -1
  174. package/dist/components/patient-summary-card/index.js +1 -1
  175. package/dist/components/payment-card/index.js +1 -1
  176. package/dist/components/periodontal-chart/index.js +1 -1
  177. package/dist/components/periodontal-chart-card/index.js +1 -1
  178. package/dist/components/periodontal-diagnosis/index.js +1 -1
  179. package/dist/components/periodontal-risk-chart/index.js +1 -1
  180. package/dist/components/practice-profile-hero/index.js +1 -1
  181. package/dist/components/practice-results/index.js +1 -1
  182. package/dist/components/practice-results/practice-results.agent.d.ts.map +1 -1
  183. package/dist/components/practice-results/practice-results.d.ts +43 -2
  184. package/dist/components/practice-results/practice-results.d.ts.map +1 -1
  185. package/dist/components/pregnancy-dating/index.js +1 -1
  186. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  187. package/dist/components/public-footer/index.js +1 -1
  188. package/dist/components/public-footer/public-footer.d.ts +23 -0
  189. package/dist/components/public-footer/public-footer.d.ts.map +1 -1
  190. package/dist/components/public-header/index.js +1 -1
  191. package/dist/components/public-header/public-header.d.ts +7 -0
  192. package/dist/components/public-header/public-header.d.ts.map +1 -1
  193. package/dist/components/reviews-panel/index.js +1 -1
  194. package/dist/components/rich-text-editor/index.js +1 -1
  195. package/dist/components/section-card/index.js +1 -1
  196. package/dist/components/stat/index.js +1 -1
  197. package/dist/components/stat/stat.d.ts +7 -0
  198. package/dist/components/stat/stat.d.ts.map +1 -1
  199. package/dist/components/task-card/index.js +1 -1
  200. package/dist/components/task-editor/index.js +1 -1
  201. package/dist/components/task-tray/index.js +1 -1
  202. package/dist/components/tasks-panel/index.js +1 -1
  203. package/dist/components/timeline/index.js +1 -1
  204. package/dist/components/workflow/index.js +1 -1
  205. package/dist/core.css +1 -1
  206. package/dist/host-compat.css +4 -1
  207. package/dist/i18n/locales/ar.d.ts +68 -0
  208. package/dist/i18n/locales/ar.d.ts.map +1 -1
  209. package/dist/i18n/locales/ar.js +70 -2
  210. package/dist/i18n/locales/ar.js.map +1 -1
  211. package/dist/i18n/locales/de.d.ts +68 -0
  212. package/dist/i18n/locales/de.d.ts.map +1 -1
  213. package/dist/i18n/locales/de.js +70 -2
  214. package/dist/i18n/locales/de.js.map +1 -1
  215. package/dist/i18n/locales/el.d.ts +68 -0
  216. package/dist/i18n/locales/el.d.ts.map +1 -1
  217. package/dist/i18n/locales/el.js +70 -2
  218. package/dist/i18n/locales/el.js.map +1 -1
  219. package/dist/i18n/locales/en.d.ts +68 -0
  220. package/dist/i18n/locales/en.d.ts.map +1 -1
  221. package/dist/i18n/locales/en.js +68 -0
  222. package/dist/i18n/locales/en.js.map +1 -1
  223. package/dist/i18n/locales/es.d.ts +68 -0
  224. package/dist/i18n/locales/es.d.ts.map +1 -1
  225. package/dist/i18n/locales/es.js +70 -2
  226. package/dist/i18n/locales/es.js.map +1 -1
  227. package/dist/i18n/locales/fr.d.ts +68 -0
  228. package/dist/i18n/locales/fr.d.ts.map +1 -1
  229. package/dist/i18n/locales/fr.js +70 -2
  230. package/dist/i18n/locales/fr.js.map +1 -1
  231. package/dist/i18n/locales/hi.d.ts +68 -0
  232. package/dist/i18n/locales/hi.d.ts.map +1 -1
  233. package/dist/i18n/locales/hi.js +70 -2
  234. package/dist/i18n/locales/hi.js.map +1 -1
  235. package/dist/i18n/locales/it.d.ts +68 -0
  236. package/dist/i18n/locales/it.d.ts.map +1 -1
  237. package/dist/i18n/locales/it.js +70 -2
  238. package/dist/i18n/locales/it.js.map +1 -1
  239. package/dist/i18n/locales/ja.d.ts +68 -0
  240. package/dist/i18n/locales/ja.d.ts.map +1 -1
  241. package/dist/i18n/locales/ja.js +70 -2
  242. package/dist/i18n/locales/ja.js.map +1 -1
  243. package/dist/i18n/locales/nl.d.ts +68 -0
  244. package/dist/i18n/locales/nl.d.ts.map +1 -1
  245. package/dist/i18n/locales/nl.js +70 -2
  246. package/dist/i18n/locales/nl.js.map +1 -1
  247. package/dist/i18n/locales/pl.d.ts +68 -0
  248. package/dist/i18n/locales/pl.d.ts.map +1 -1
  249. package/dist/i18n/locales/pl.js +70 -2
  250. package/dist/i18n/locales/pl.js.map +1 -1
  251. package/dist/i18n/locales/pt.d.ts +68 -0
  252. package/dist/i18n/locales/pt.d.ts.map +1 -1
  253. package/dist/i18n/locales/pt.js +70 -2
  254. package/dist/i18n/locales/pt.js.map +1 -1
  255. package/dist/i18n/locales/ro.d.ts +68 -0
  256. package/dist/i18n/locales/ro.d.ts.map +1 -1
  257. package/dist/i18n/locales/ro.js +70 -2
  258. package/dist/i18n/locales/ro.js.map +1 -1
  259. package/dist/i18n/locales/ru.d.ts +68 -0
  260. package/dist/i18n/locales/ru.d.ts.map +1 -1
  261. package/dist/i18n/locales/ru.js +70 -2
  262. package/dist/i18n/locales/ru.js.map +1 -1
  263. package/dist/i18n/locales/sq.d.ts +68 -0
  264. package/dist/i18n/locales/sq.d.ts.map +1 -1
  265. package/dist/i18n/locales/sq.js +70 -2
  266. package/dist/i18n/locales/sq.js.map +1 -1
  267. package/dist/i18n/locales/sv.d.ts +68 -0
  268. package/dist/i18n/locales/sv.d.ts.map +1 -1
  269. package/dist/i18n/locales/sv.js +70 -2
  270. package/dist/i18n/locales/sv.js.map +1 -1
  271. package/dist/i18n/locales/tr.d.ts +68 -0
  272. package/dist/i18n/locales/tr.d.ts.map +1 -1
  273. package/dist/i18n/locales/tr.js +70 -2
  274. package/dist/i18n/locales/tr.js.map +1 -1
  275. package/dist/i18n/locales/zh.d.ts +68 -0
  276. package/dist/i18n/locales/zh.d.ts.map +1 -1
  277. package/dist/i18n/locales/zh.js +70 -2
  278. package/dist/i18n/locales/zh.js.map +1 -1
  279. package/dist/index.js +373 -368
  280. package/dist/index.js.map +1 -1
  281. package/dist/locales/ar.json +70 -2
  282. package/dist/locales/de.json +70 -2
  283. package/dist/locales/el.json +70 -2
  284. package/dist/locales/en.json +68 -0
  285. package/dist/locales/es.json +70 -2
  286. package/dist/locales/fr.json +70 -2
  287. package/dist/locales/hi.json +70 -2
  288. package/dist/locales/it.json +70 -2
  289. package/dist/locales/ja.json +70 -2
  290. package/dist/locales/nl.json +70 -2
  291. package/dist/locales/pl.json +70 -2
  292. package/dist/locales/pt.json +70 -2
  293. package/dist/locales/ro.json +70 -2
  294. package/dist/locales/ru.json +70 -2
  295. package/dist/locales/sq.json +70 -2
  296. package/dist/locales/sv.json +70 -2
  297. package/dist/locales/tr.json +70 -2
  298. package/dist/locales/zh.json +70 -2
  299. package/dist/patterns/anamnesis/index.js +1 -1
  300. package/dist/patterns/calendar/index.js +1 -1
  301. package/dist/patterns/forgot-password-form/index.js +1 -1
  302. package/dist/patterns/login-form/index.js +1 -1
  303. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  304. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  305. package/dist/patterns/registration-form/index.js +1 -1
  306. package/dist/patterns/reset-password-form/index.js +1 -1
  307. package/dist/patterns/send-registration-link-form/index.js +1 -1
  308. package/dist/patterns/signed-out-frame/index.js +1 -1
  309. package/dist/patterns/verify-identity/change-email-dialog.d.ts +26 -0
  310. package/dist/patterns/verify-identity/change-email-dialog.d.ts.map +1 -0
  311. package/dist/patterns/verify-identity/index.d.ts +7 -0
  312. package/dist/patterns/verify-identity/index.d.ts.map +1 -0
  313. package/dist/patterns/verify-identity/index.js +8 -0
  314. package/dist/patterns/verify-identity/index.js.map +1 -0
  315. package/dist/patterns/verify-identity/use-countdown.d.ts +12 -0
  316. package/dist/patterns/verify-identity/use-countdown.d.ts.map +1 -0
  317. package/dist/patterns/verify-identity/verify-identity-steps.d.ts +21 -0
  318. package/dist/patterns/verify-identity/verify-identity-steps.d.ts.map +1 -0
  319. package/dist/patterns/verify-identity/verify-identity-types.d.ts +47 -0
  320. package/dist/patterns/verify-identity/verify-identity-types.d.ts.map +1 -0
  321. package/dist/patterns/verify-identity/verify-identity.d.ts +54 -0
  322. package/dist/patterns/verify-identity/verify-identity.d.ts.map +1 -0
  323. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  324. package/dist/tokens.css +1 -1
  325. package/package.json +5 -1
  326. package/dist/_chunks/email-input-BEO3vonE.js +0 -399
  327. package/dist/_chunks/email-input-BEO3vonE.js.map +0 -1
  328. package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
  329. package/dist/_chunks/map-view-Dn7aXZJw.js.map +0 -1
  330. package/dist/_chunks/patient-search-CxuqVUTB.js.map +0 -1
  331. package/dist/_chunks/practice-results-BOpaPaav.js +0 -1923
  332. package/dist/_chunks/practice-results-BOpaPaav.js.map +0 -1
  333. package/dist/_chunks/public-footer-DGjLTtNK.js.map +0 -1
  334. package/dist/_chunks/public-header.agent-_ArDD1Xr.js.map +0 -1
  335. package/dist/_chunks/reserved.agent-W_Zgj564.js.map +0 -1
  336. package/dist/_chunks/stat-BFKZV50y.js.map +0 -1
@@ -1,19 +1,19 @@
1
1
  import { jsx as t, jsxs as x } from "react/jsx-runtime";
2
- import { forwardRef as Ae, useRef as C, useState as Z, useEffect as H, useLayoutEffect as We, useMemo as ue, useImperativeHandle as Pe, createContext as Qe, useCallback as ee, useId as Se, useContext as Fe } from "react";
3
- import { c as $ } from "./index-D2ZczOXr.js";
4
- import { useTranslation as B } from "react-i18next";
5
- import { A as ke } from "./autocomplete-D10ydpgi.js";
6
- import { B as Ie } from "./button-DohK_Ak_.js";
7
- import { C as te } from "./card-C85_Ndhb.js";
8
- import { S as Ve } from "./slider-pZ95bEm7.js";
2
+ import { forwardRef as Te, useRef as R, useState as J, useEffect as H, useLayoutEffect as Ae, useMemo as ue, useImperativeHandle as We, createContext as Pe, useCallback as Z, useId as _e, useContext as Qe } from "react";
3
+ import { c as ee } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as D } from "react-i18next";
5
+ import { A as Se } from "./autocomplete-D10ydpgi.js";
6
+ import { B as Fe } from "./button-DohK_Ak_.js";
7
+ import { C as te } from "./card-DVO3x8E-.js";
8
+ import { S as Ie } from "./slider-pZ95bEm7.js";
9
9
  import { a as Oe } from "./toast-BNoN8Qjh.js";
10
- import { D as J } from "./dropdown-menu-CqxBthww.js";
10
+ import { D as Y } from "./dropdown-menu-CqxBthww.js";
11
11
  import { u as Be } from "./registry-DvAUVLHh.js";
12
- import { S as Ne } from "./search-QbWPlY5f.js";
13
- import { X as Ce } from "./x-B5YnXwCz.js";
12
+ import { S as ke } from "./search-QbWPlY5f.js";
13
+ import { X as Ne } from "./x-B5YnXwCz.js";
14
14
  import { c as De } from "./createLucideIcon-DhHxpK9K.js";
15
15
  import { M as Ke } from "./map-pin-BaY37-Km.js";
16
- import { S as ze } from "./stethoscope-sZXGC43m.js";
16
+ import { C as Ve } from "./chevron-right-I9AeSxH2.js";
17
17
  import { C as Me } from "./chevron-down-DWE7GSq9.js";
18
18
  /**
19
19
  * @license lucide-react v1.22.0 - ISC
@@ -21,14 +21,14 @@ import { C as Me } from "./chevron-down-DWE7GSq9.js";
21
21
  * This source code is licensed under the ISC license.
22
22
  * See the LICENSE file in the root directory of this source tree.
23
23
  */
24
- const qe = [
24
+ const ze = [
25
25
  ["line", { x1: "2", x2: "5", y1: "12", y2: "12", key: "bvdh0s" }],
26
26
  ["line", { x1: "19", x2: "22", y1: "12", y2: "12", key: "1tbv5k" }],
27
27
  ["line", { x1: "12", x2: "12", y1: "2", y2: "5", key: "11lu5j" }],
28
28
  ["line", { x1: "12", x2: "12", y1: "19", y2: "22", key: "x3vr5v" }],
29
29
  ["circle", { cx: "12", cy: "12", r: "7", key: "fim9np" }],
30
30
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
31
- ], He = De("locate-fixed", qe), $e = {
31
+ ], qe = De("locate-fixed", ze), He = {
32
32
  id: "patient-search",
33
33
  // `filter` is the conceptual capability of this search widget. Building the
34
34
  // actual query (WHO/WHERE/WHEN/facets/geo) is host-delegated: selection is
@@ -81,26 +81,26 @@ const qe = [
81
81
  };
82
82
  function S(e, r) {
83
83
  if (typeof window > "u") return;
84
- const a = window.track;
84
+ const s = window.track;
85
85
  try {
86
- a == null || a(e, r);
86
+ s == null || s(e, r);
87
87
  } catch {
88
88
  }
89
89
  }
90
- const M = [
90
+ const z = [
91
91
  "today",
92
92
  "tomorrow",
93
93
  "this_week",
94
94
  "anytime"
95
- ], U = [1, 5, 10, 25, 50], fe = 5, Re = 200;
96
- function Ue(e) {
97
- let r = 0, a = Number.POSITIVE_INFINITY;
98
- return U.forEach((i, p) => {
99
- const c = Math.abs(i - e);
100
- c < a && (a = c, r = p);
95
+ ], $ = [1, 5, 10, 25, 50], fe = 5, Re = 200;
96
+ function $e(e) {
97
+ let r = 0, s = Number.POSITIVE_INFINITY;
98
+ return $.forEach((o, h) => {
99
+ const d = Math.abs(o - e);
100
+ d < s && (s = d, r = h);
101
101
  }), r;
102
102
  }
103
- const Ge = $(
103
+ const Ue = ee(
104
104
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
105
105
  {
106
106
  variants: {
@@ -113,67 +113,67 @@ const Ge = $(
113
113
  },
114
114
  defaultVariants: { variant: "who-where" }
115
115
  }
116
- ), Ee = Qe(null);
117
- function Le(e) {
118
- const r = Fe(Ee), a = C(!1);
119
- return r ? r[e] : a;
116
+ ), Ce = Pe(null);
117
+ function Ee(e) {
118
+ const r = Qe(Ce), s = R(!1);
119
+ return r ? r[e] : s;
120
120
  }
121
121
  function re({
122
122
  value: e,
123
123
  onChange: r,
124
- loadObjects: a,
125
- onObjectSelect: i,
126
- inputRef: p,
127
- query: c,
128
- onQueryChange: g
124
+ loadObjects: s,
125
+ onObjectSelect: o,
126
+ inputRef: h,
127
+ query: d,
128
+ onQueryChange: p
129
129
  }) {
130
- var f, b, l;
131
- const { t: h } = B("ui"), d = C((f = e.object) == null ? void 0 : f.value);
130
+ var f, b, c;
131
+ const { t: g } = D("ui"), l = R((f = e.object) == null ? void 0 : f.value);
132
132
  H(() => {
133
- var o, y, m;
134
- ((o = e.object) == null ? void 0 : o.value) !== d.current && (d.current = (y = e.object) == null ? void 0 : y.value, g(((m = e.object) == null ? void 0 : m.label) ?? ""));
135
- }, [(b = e.object) == null ? void 0 : b.value, (l = e.object) == null ? void 0 : l.label, g]);
136
- const n = ee(
137
- async (o, { signal: y }) => await a(o, { signal: y }),
138
- [a]
139
- ), u = (o) => {
133
+ var i, y, m;
134
+ ((i = e.object) == null ? void 0 : i.value) !== l.current && (l.current = (y = e.object) == null ? void 0 : y.value, p(((m = e.object) == null ? void 0 : m.label) ?? ""));
135
+ }, [(b = e.object) == null ? void 0 : b.value, (c = e.object) == null ? void 0 : c.label, p]);
136
+ const n = Z(
137
+ async (i, { signal: y }) => await s(i, { signal: y }),
138
+ [s]
139
+ ), u = (i) => {
140
140
  const y = {
141
- value: o.value,
142
- label: o.label,
143
- description: o.description,
144
- __payload: o.__payload
141
+ value: i.value,
142
+ label: i.label,
143
+ description: i.description,
144
+ __payload: i.__payload
145
145
  };
146
- g(y.label), d.current = y.value, r({ ...e, object: y }), S("patient_search_object_selected", {
146
+ p(y.label), l.current = y.value, r({ ...e, object: y }), S("patient_search_object_selected", {
147
147
  value: y.value,
148
148
  type: y.__payload && typeof y.__payload == "object" ? y.__payload.type : void 0
149
- }), i == null || i(y);
150
- }, s = Le("who");
149
+ }), o == null || o(y);
150
+ }, a = Ee("who");
151
151
  return /* @__PURE__ */ t(
152
152
  "div",
153
153
  {
154
154
  "data-component": "patient-search-field",
155
155
  "data-field": "who",
156
156
  onFocus: () => {
157
- s.current || (s.current = !0, S("patient_search_object_focused"));
157
+ a.current || (a.current = !0, S("patient_search_object_focused"));
158
158
  },
159
- onBlur: (o) => {
160
- o.currentTarget && !o.currentTarget.contains(o.relatedTarget) && (s.current = !1);
159
+ onBlur: (i) => {
160
+ i.currentTarget && !i.currentTarget.contains(i.relatedTarget) && (a.current = !1);
161
161
  },
162
162
  children: /* @__PURE__ */ t(
163
- ke,
163
+ Se,
164
164
  {
165
- ref: p,
165
+ ref: h,
166
166
  size: "lg",
167
- value: c,
168
- onChange: (o) => {
169
- g(o), e.object && o !== e.object.label && (d.current = void 0, r({ ...e, object: void 0 }));
167
+ value: d,
168
+ onChange: (i) => {
169
+ p(i), e.object && i !== e.object.label && (l.current = void 0, r({ ...e, object: void 0 }));
170
170
  },
171
171
  onSelect: u,
172
172
  loadOptions: n,
173
173
  debounceMs: Re,
174
- placeholder: h("patientSearch.who.placeholder"),
175
- "aria-label": h("patientSearch.who.label"),
176
- startAdornment: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" })
174
+ placeholder: g("patientSearch.who.placeholder"),
175
+ "aria-label": g("patientSearch.who.label"),
176
+ startAdornment: /* @__PURE__ */ t(ke, { "aria-hidden": "true" })
177
177
  }
178
178
  )
179
179
  }
@@ -191,28 +191,28 @@ const we = [
191
191
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
192
192
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
193
193
  ].join(" ");
194
- function ae({
194
+ function se({
195
195
  value: e,
196
196
  onChange: r,
197
- loadPlaces: a,
198
- onPlaceSelect: i,
199
- allowTypedPlace: p,
200
- inputRef: c,
201
- defaultRadiusKm: g = fe,
202
- reverseGeocode: h,
203
- geoHint: d,
197
+ loadPlaces: s,
198
+ onPlaceSelect: o,
199
+ allowTypedPlace: h,
200
+ inputRef: d,
201
+ defaultRadiusKm: p = fe,
202
+ reverseGeocode: g,
203
+ geoHint: l,
204
204
  query: n,
205
205
  onQueryChange: u
206
206
  }) {
207
- var q, O, D;
208
- const { t: s } = B("ui"), f = C((q = e.place) == null ? void 0 : q.value), b = e.geo ? "granted" : "pristine", [l, o] = Z(b);
207
+ var q, B, K;
208
+ const { t: a } = D("ui"), f = R((q = e.place) == null ? void 0 : q.value), b = e.geo ? "granted" : "pristine", [c, i] = J(b);
209
209
  H(() => {
210
210
  var w, _, T;
211
211
  ((w = e.place) == null ? void 0 : w.value) !== f.current && (f.current = (_ = e.place) == null ? void 0 : _.value, u(((T = e.place) == null ? void 0 : T.label) ?? ""));
212
- }, [(O = e.place) == null ? void 0 : O.value, (D = e.place) == null ? void 0 : D.label, u]);
213
- const y = ee(
214
- async (w, { signal: _ }) => await a(w, { signal: _ }),
215
- [a]
212
+ }, [(B = e.place) == null ? void 0 : B.value, (K = e.place) == null ? void 0 : K.label, u]);
213
+ const y = Z(
214
+ async (w, { signal: _ }) => await s(w, { signal: _ }),
215
+ [s]
216
216
  ), m = (w) => {
217
217
  const _ = {
218
218
  value: w.value,
@@ -220,66 +220,66 @@ function ae({
220
220
  lat: w.lat,
221
221
  lng: w.lng
222
222
  };
223
- u(_.label), f.current = _.value, r({ ...e, place: _, geo: void 0 }), l === "granted" && o("pristine"), S("patient_search_place_selected", { value: _.value }), i == null || i(_);
223
+ u(_.label), f.current = _.value, r({ ...e, place: _, geo: void 0 }), c === "granted" && i("pristine"), S("patient_search_place_selected", { value: _.value }), o == null || o(_);
224
224
  }, j = (w) => {
225
- o("pristine"), Oe(s("patientSearch.geo.denied")), S("patient_search_geo_denied", { reason: w });
226
- }, R = () => {
225
+ i("pristine"), Oe(a("patientSearch.geo.denied")), S("patient_search_geo_denied", { reason: w });
226
+ }, C = () => {
227
227
  if (typeof window > "u" || !(navigator != null && navigator.geolocation)) {
228
228
  j("unsupported");
229
229
  return;
230
230
  }
231
- o("requesting"), S("patient_search_place_focused"), navigator.geolocation.getCurrentPosition(
231
+ i("requesting"), S("patient_search_place_focused"), navigator.geolocation.getCurrentPosition(
232
232
  async (w) => {
233
233
  const { latitude: _, longitude: T } = w.coords;
234
234
  let F;
235
235
  try {
236
- F = await (h == null ? void 0 : h(_, T));
236
+ F = await (g == null ? void 0 : g(_, T));
237
237
  } catch {
238
238
  F = void 0;
239
239
  }
240
- const N = g, G = F ?? s("patientSearch.geo.fallbackLabel"), X = {
240
+ const N = p, U = F ?? a("patientSearch.geo.fallbackLabel"), G = {
241
241
  value: `geo:${_.toFixed(4)},${T.toFixed(4)}`,
242
- label: G,
242
+ label: U,
243
243
  lat: _,
244
244
  lng: T
245
245
  };
246
246
  r({
247
247
  ...e,
248
- place: X,
248
+ place: G,
249
249
  geo: {
250
250
  lat: _,
251
251
  lng: T,
252
252
  radiusKm: N,
253
- label: G
253
+ label: U
254
254
  }
255
- }), o("granted"), S("patient_search_geo_granted", { radiusKm: N });
255
+ }), i("granted"), S("patient_search_geo_granted", { radiusKm: N });
256
256
  },
257
257
  () => j("user"),
258
258
  { enableHighAccuracy: !1, maximumAge: 6e4, timeout: 1e4 }
259
259
  );
260
260
  }, E = () => {
261
- r({ ...e, geo: void 0, place: void 0 }), u(""), f.current = void 0, o("pristine");
262
- }, k = l === "granted" && !!e.geo, W = l === "requesting", P = Le("where"), V = !!h, oe = V ? /* @__PURE__ */ x("span", { className: "ds:absolute ds:end-[var(--spacing-xs)] ds:top-1/2 ds:-translate-y-1/2 ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
261
+ r({ ...e, geo: void 0, place: void 0 }), u(""), f.current = void 0, i("pristine");
262
+ }, k = c === "granted" && !!e.geo, W = c === "requesting", P = Ee("where"), O = !!g, ie = O ? /* @__PURE__ */ x("span", { className: "ds:absolute ds:end-[var(--spacing-xs)] ds:top-1/2 ds:-translate-y-1/2 ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
263
263
  k ? /* @__PURE__ */ t(
264
264
  "button",
265
265
  {
266
266
  type: "button",
267
- "aria-label": s("patientSearch.geo.clear"),
267
+ "aria-label": a("patientSearch.geo.clear"),
268
268
  onClick: E,
269
269
  className: we,
270
- children: /* @__PURE__ */ t(Ce, { "aria-hidden": "true", className: "ds:size-4" })
270
+ children: /* @__PURE__ */ t(Ne, { "aria-hidden": "true", className: "ds:size-4" })
271
271
  }
272
272
  ) : null,
273
273
  /* @__PURE__ */ t(
274
274
  "button",
275
275
  {
276
276
  type: "button",
277
- "aria-label": s("patientSearch.geo.cta"),
277
+ "aria-label": a("patientSearch.geo.cta"),
278
278
  "aria-pressed": k || void 0,
279
279
  disabled: W,
280
- onClick: k ? E : R,
280
+ onClick: k ? E : C,
281
281
  className: we,
282
- children: /* @__PURE__ */ t(He, { "aria-hidden": "true", className: "ds:size-4" })
282
+ children: /* @__PURE__ */ t(qe, { "aria-hidden": "true", className: "ds:size-4" })
283
283
  }
284
284
  )
285
285
  ] }) : null;
@@ -298,24 +298,24 @@ function ae({
298
298
  children: [
299
299
  /* @__PURE__ */ x("div", { className: "ds:relative", children: [
300
300
  /* @__PURE__ */ t(
301
- ke,
301
+ Se,
302
302
  {
303
- ref: c,
303
+ ref: d,
304
304
  size: "lg",
305
305
  value: n,
306
306
  onChange: (w) => {
307
307
  var _, T;
308
- if (u(w), (p || e.place) && w !== ((_ = e.place) == null ? void 0 : _.label)) {
309
- const F = w.trim(), N = p && F ? { value: `text:${F}`, label: F } : void 0;
308
+ if (u(w), (h || e.place) && w !== ((_ = e.place) == null ? void 0 : _.label)) {
309
+ const F = w.trim(), N = h && F ? { value: `text:${F}`, label: F } : void 0;
310
310
  if (f.current = N == null ? void 0 : N.value, (N == null ? void 0 : N.value) === ((T = e.place) == null ? void 0 : T.value) && !e.geo) return;
311
- r({ ...e, place: N, geo: void 0 }), l === "granted" && o("pristine");
311
+ r({ ...e, place: N, geo: void 0 }), c === "granted" && i("pristine");
312
312
  }
313
313
  },
314
314
  onSelect: m,
315
315
  loadOptions: y,
316
316
  debounceMs: Re,
317
- placeholder: s("patientSearch.where.placeholder"),
318
- "aria-label": s("patientSearch.where.label"),
317
+ placeholder: a("patientSearch.where.placeholder"),
318
+ "aria-label": a("patientSearch.where.label"),
319
319
  startAdornment: /* @__PURE__ */ t(Ke, { "aria-hidden": "true" }),
320
320
  endAdornment: (
321
321
  // Decorative spacer — reserves inline-end room so the typed
@@ -333,38 +333,38 @@ function ae({
333
333
  )
334
334
  }
335
335
  ),
336
- oe
336
+ ie
337
337
  ] }),
338
- V && d ? /* @__PURE__ */ t(
338
+ O && l ? /* @__PURE__ */ t(
339
339
  "p",
340
340
  {
341
341
  "data-component": "patient-search-geo-hint",
342
342
  className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]",
343
- children: d
343
+ children: l
344
344
  }
345
345
  ) : null
346
346
  ]
347
347
  }
348
348
  );
349
349
  }
350
- function se({
350
+ function ae({
351
351
  value: e,
352
352
  onChange: r,
353
- defaultRadiusKm: a = fe
353
+ defaultRadiusKm: s = fe
354
354
  }) {
355
- const { t: i } = B("ui"), [p, c] = Z(
355
+ const { t: o } = D("ui"), [h, d] = J(
356
356
  () => {
357
- var d;
358
- return Ue(((d = e.geo) == null ? void 0 : d.radiusKm) ?? a);
357
+ var l;
358
+ return $e(((l = e.geo) == null ? void 0 : l.radiusKm) ?? s);
359
359
  }
360
360
  );
361
361
  if (!e.geo) return null;
362
- const g = (d) => {
363
- const n = U[d] ?? a;
362
+ const p = (l) => {
363
+ const n = $[l] ?? s;
364
364
  r({ ...e, geo: { ...e.geo, radiusKm: n } }), S("patient_search_radius_changed", { radiusKm: n });
365
- }, h = (d) => {
366
- const n = U[Math.round(d)] ?? a;
367
- return i("patientSearch.geo.radiusFormat", { km: n });
365
+ }, g = (l) => {
366
+ const n = $[Math.round(l)] ?? s;
367
+ return o("patientSearch.geo.radiusFormat", { km: n });
368
368
  };
369
369
  return /* @__PURE__ */ x(
370
370
  "div",
@@ -377,32 +377,32 @@ function se({
377
377
  {
378
378
  id: "patient-search-radius-label",
379
379
  className: "type-meta ds:text-[color:var(--muted-foreground)]",
380
- children: i("patientSearch.geo.radius")
380
+ children: o("patientSearch.geo.radius")
381
381
  }
382
382
  ),
383
383
  /* @__PURE__ */ t(
384
- Ve,
384
+ Ie,
385
385
  {
386
- value: [p],
386
+ value: [h],
387
387
  min: 0,
388
- max: U.length - 1,
388
+ max: $.length - 1,
389
389
  step: 1,
390
- marks: U.map((d, n) => ({
390
+ marks: $.map((l, n) => ({
391
391
  value: n,
392
- label: `${d}`
392
+ label: `${l}`
393
393
  })),
394
- formatValue: h,
394
+ formatValue: g,
395
395
  alwaysShowValue: !0,
396
396
  "aria-labelledby": "patient-search-radius-label",
397
- onValueChange: (d) => c(d[0] ?? 0),
398
- onValueCommit: (d) => g(d[0] ?? 0)
397
+ onValueChange: (l) => d(l[0] ?? 0),
398
+ onValueCommit: (l) => p(l[0] ?? 0)
399
399
  }
400
400
  )
401
401
  ]
402
402
  }
403
403
  );
404
404
  }
405
- const Xe = $(
405
+ const Ge = ee(
406
406
  [
407
407
  "ds:inline-flex ds:items-center ds:justify-center",
408
408
  "ds:min-h-[var(--min-target-size)]",
@@ -425,43 +425,43 @@ const Xe = $(
425
425
  defaultVariants: { state: "idle" }
426
426
  }
427
427
  );
428
- function Ye({ value: e, onChange: r }) {
429
- const { t: a, i18n: i } = B("ui"), p = Se(), c = i.dir() === "rtl", g = C(/* @__PURE__ */ new Map()), h = ee((s) => {
428
+ function Xe({ value: e, onChange: r }) {
429
+ const { t: s, i18n: o } = D("ui"), h = _e(), d = o.dir() === "rtl", p = R(/* @__PURE__ */ new Map()), g = Z((a) => {
430
430
  var f;
431
- (f = g.current.get(s)) == null || f.focus();
432
- }, []), d = ee(
433
- (s, f) => {
434
- const b = M.indexOf(f), l = M.length, o = c ? "ArrowLeft" : "ArrowRight", y = c ? "ArrowRight" : "ArrowLeft";
435
- switch (s.key) {
436
- case o:
431
+ (f = p.current.get(a)) == null || f.focus();
432
+ }, []), l = Z(
433
+ (a, f) => {
434
+ const b = z.indexOf(f), c = z.length, i = d ? "ArrowLeft" : "ArrowRight", y = d ? "ArrowRight" : "ArrowLeft";
435
+ switch (a.key) {
436
+ case i:
437
437
  case "ArrowDown": {
438
- s.preventDefault();
439
- const m = M[(b + 1) % l];
440
- r(m), S("patient_search_when_selected", { when: m }), h(m);
438
+ a.preventDefault();
439
+ const m = z[(b + 1) % c];
440
+ r(m), S("patient_search_when_selected", { when: m }), g(m);
441
441
  break;
442
442
  }
443
443
  case y:
444
444
  case "ArrowUp": {
445
- s.preventDefault();
446
- const m = M[(b - 1 + l) % l];
447
- r(m), S("patient_search_when_selected", { when: m }), h(m);
445
+ a.preventDefault();
446
+ const m = z[(b - 1 + c) % c];
447
+ r(m), S("patient_search_when_selected", { when: m }), g(m);
448
448
  break;
449
449
  }
450
450
  case "Home": {
451
- s.preventDefault();
452
- const m = M[0];
453
- r(m), S("patient_search_when_selected", { when: m }), h(m);
451
+ a.preventDefault();
452
+ const m = z[0];
453
+ r(m), S("patient_search_when_selected", { when: m }), g(m);
454
454
  break;
455
455
  }
456
456
  case "End": {
457
- s.preventDefault();
458
- const m = M[l - 1];
459
- r(m), S("patient_search_when_selected", { when: m }), h(m);
457
+ a.preventDefault();
458
+ const m = z[c - 1];
459
+ r(m), S("patient_search_when_selected", { when: m }), g(m);
460
460
  break;
461
461
  }
462
462
  }
463
463
  },
464
- [h, c, r]
464
+ [g, d, r]
465
465
  ), n = e ?? "anytime", u = {
466
466
  today: "patientSearch.when.today",
467
467
  tomorrow: "patientSearch.when.tomorrow",
@@ -472,38 +472,38 @@ function Ye({ value: e, onChange: r }) {
472
472
  "div",
473
473
  {
474
474
  role: "radiogroup",
475
- "aria-label": a("patientSearch.when.label"),
476
- id: p,
475
+ "aria-label": s("patientSearch.when.label"),
476
+ id: h,
477
477
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
478
- children: M.map((s) => {
479
- const f = e === s, b = n === s, l = a(u[s]);
478
+ children: z.map((a) => {
479
+ const f = e === a, b = n === a, c = s(u[a]);
480
480
  return /* @__PURE__ */ t(
481
481
  "button",
482
482
  {
483
483
  type: "button",
484
484
  role: "radio",
485
485
  "aria-checked": f,
486
- "aria-label": l,
486
+ "aria-label": c,
487
487
  tabIndex: b ? 0 : -1,
488
- ref: (o) => {
489
- o ? g.current.set(s, o) : g.current.delete(s);
488
+ ref: (i) => {
489
+ i ? p.current.set(a, i) : p.current.delete(a);
490
490
  },
491
491
  onClick: () => {
492
- r(s), S("patient_search_when_selected", { when: s });
492
+ r(a), S("patient_search_when_selected", { when: a });
493
493
  },
494
- onKeyDown: (o) => d(o, s),
495
- className: Xe({
494
+ onKeyDown: (i) => l(i, a),
495
+ className: Ge({
496
496
  state: f ? "selected" : "idle"
497
497
  }),
498
- children: l
498
+ children: c
499
499
  },
500
- s
500
+ a
501
501
  );
502
502
  })
503
503
  }
504
504
  );
505
505
  }
506
- const xe = $(
506
+ const xe = ee(
507
507
  [
508
508
  "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
509
509
  "ds:min-h-[var(--min-target-size)]",
@@ -533,31 +533,31 @@ const xe = $(
533
533
  defaultVariants: { state: "idle" }
534
534
  }
535
535
  );
536
- function Je({ facets: e, value: r, onChange: a }) {
537
- const { t: i } = B("ui"), p = ue(() => r ?? {}, [r]), c = ue(
538
- () => Object.values(p).some((n) => n && n.length > 0),
539
- [p]
540
- ), g = (n, u) => {
541
- const s = { ...p };
542
- u.length === 0 ? delete s[n] : s[n] = u, a(s), S("patient_search_facet_changed", { key: n, values: u });
543
- }, h = (n) => {
544
- var s;
545
- const u = (((s = p[n]) == null ? void 0 : s.length) ?? 0) > 0;
546
- g(n, u ? [] : ["true"]);
547
- }, d = (n, u) => {
548
- const s = p[n.key] ?? [], f = s.includes(u);
536
+ function Ye({ facets: e, value: r, onChange: s }) {
537
+ const { t: o } = D("ui"), h = ue(() => r ?? {}, [r]), d = ue(
538
+ () => Object.values(h).some((n) => n && n.length > 0),
539
+ [h]
540
+ ), p = (n, u) => {
541
+ const a = { ...h };
542
+ u.length === 0 ? delete a[n] : a[n] = u, s(a), S("patient_search_facet_changed", { key: n, values: u });
543
+ }, g = (n) => {
544
+ var a;
545
+ const u = (((a = h[n]) == null ? void 0 : a.length) ?? 0) > 0;
546
+ p(n, u ? [] : ["true"]);
547
+ }, l = (n, u) => {
548
+ const a = h[n.key] ?? [], f = a.includes(u);
549
549
  let b;
550
- n.multi ? b = f ? s.filter((l) => l !== u) : [...s, u] : b = f ? [] : [u], g(n.key, b);
550
+ n.multi ? b = f ? a.filter((c) => c !== u) : [...a, u] : b = f ? [] : [u], p(n.key, b);
551
551
  };
552
552
  return /* @__PURE__ */ x(
553
553
  "div",
554
554
  {
555
555
  role: "group",
556
- "aria-label": i("patientSearch.facets.label"),
556
+ "aria-label": o("patientSearch.facets.label"),
557
557
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
558
558
  children: [
559
559
  e.map((n) => {
560
- const u = n.options.length === 0, s = p[n.key] ?? [], f = s.length > 0;
560
+ const u = n.options.length === 0, a = h[n.key] ?? [], f = a.length > 0;
561
561
  if (u)
562
562
  return /* @__PURE__ */ t(
563
563
  "button",
@@ -565,7 +565,7 @@ function Je({ facets: e, value: r, onChange: a }) {
565
565
  type: "button",
566
566
  "aria-pressed": f,
567
567
  "aria-label": n.label,
568
- onClick: () => h(n.key),
568
+ onClick: () => g(n.key),
569
569
  className: xe({
570
570
  state: f ? "active" : "idle"
571
571
  }),
@@ -573,9 +573,9 @@ function Je({ facets: e, value: r, onChange: a }) {
573
573
  },
574
574
  n.key
575
575
  );
576
- const b = f ? ` (${s.length})` : "";
577
- return /* @__PURE__ */ x(J.Root, { children: [
578
- /* @__PURE__ */ t(J.Trigger, { asChild: !0, children: /* @__PURE__ */ x(
576
+ const b = f ? ` (${a.length})` : "";
577
+ return /* @__PURE__ */ x(Y.Root, { children: [
578
+ /* @__PURE__ */ t(Y.Trigger, { asChild: !0, children: /* @__PURE__ */ x(
579
579
  "button",
580
580
  {
581
581
  type: "button",
@@ -598,25 +598,25 @@ function Je({ facets: e, value: r, onChange: a }) {
598
598
  ]
599
599
  }
600
600
  ) }),
601
- /* @__PURE__ */ t(J.Content, { sideOffset: 8, align: "start", children: n.options.map((l) => /* @__PURE__ */ t(
602
- J.CheckboxItem,
601
+ /* @__PURE__ */ t(Y.Content, { sideOffset: 8, align: "start", children: n.options.map((c) => /* @__PURE__ */ t(
602
+ Y.CheckboxItem,
603
603
  {
604
- checked: s.includes(l.value),
605
- onSelect: (o) => {
606
- n.multi && o.preventDefault(), d(n, l.value);
604
+ checked: a.includes(c.value),
605
+ onSelect: (i) => {
606
+ n.multi && i.preventDefault(), l(n, c.value);
607
607
  },
608
- children: l.label
608
+ children: c.label
609
609
  },
610
- l.value
610
+ c.value
611
611
  )) })
612
612
  ] }, n.key);
613
613
  }),
614
- c ? /* @__PURE__ */ x(
614
+ d ? /* @__PURE__ */ x(
615
615
  "button",
616
616
  {
617
617
  type: "button",
618
618
  onClick: () => {
619
- a({}), S("patient_search_facet_changed", { key: "*", values: [] });
619
+ s({}), S("patient_search_facet_changed", { key: "*", values: [] });
620
620
  },
621
621
  className: [
622
622
  "ds:ms-[var(--spacing-xs)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
@@ -628,8 +628,8 @@ function Je({ facets: e, value: r, onChange: a }) {
628
628
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
629
629
  ].join(" "),
630
630
  children: [
631
- /* @__PURE__ */ t(Ce, { "aria-hidden": "true", className: "ds:size-3.5" }),
632
- i("patientSearch.facets.clear")
631
+ /* @__PURE__ */ t(Ne, { "aria-hidden": "true", className: "ds:size-3.5" }),
632
+ o("patientSearch.facets.clear")
633
633
  ]
634
634
  }
635
635
  ) : null
@@ -637,58 +637,26 @@ function Je({ facets: e, value: r, onChange: a }) {
637
637
  }
638
638
  );
639
639
  }
640
- const _e = ["violet", "purple", "magenta", "blue"], Ze = $(
640
+ const Je = ee(
641
641
  [
642
- "ds:relative ds:flex ds:h-full ds:flex-col ds:gap-[var(--spacing-sm)]",
643
- "ds:rounded-[var(--radius-lg)] ds:overflow-hidden",
642
+ "ds:flex ds:h-full ds:flex-col ds:gap-[var(--spacing-xs)] ds:text-start",
643
+ "ds:rounded-[var(--radius-lg)]",
644
644
  "ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
645
645
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]",
646
646
  "ds:bg-[var(--card)] ds:text-[var(--card-foreground)]",
647
647
  "ds:border ds:border-[color:var(--card-border)]",
648
648
  "ds:shadow-[var(--shadow-sm)]",
649
- "ds:transition-[transform,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
650
- "ds:motion-safe:hover:-translate-y-0.5",
651
- "ds:hover:shadow-[var(--shadow-md)]",
649
+ "ds:transition-[background-color,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
650
+ "ds:hover:bg-[var(--muted)] ds:hover:shadow-[var(--shadow-md)]",
652
651
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
653
652
  "ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
654
653
  "ds:no-underline"
655
654
  ].join(" ")
656
- ), et = $(
657
- // `inset-x-0` compiles to logical `inset-inline`; the `inset-inline-0`
658
- // spelling is not a Tailwind utility and compiled to nothing.
659
- "ds:absolute ds:inset-x-0 ds:top-0 ds:h-[3px] ds:pointer-events-none",
660
- {
661
- variants: {
662
- accent: {
663
- violet: "ds:bg-[var(--color-violet-500)]",
664
- purple: "ds:bg-[var(--color-purple-500)]",
665
- magenta: "ds:bg-[var(--color-magenta-500)]",
666
- blue: "ds:bg-[var(--color-blue-500)]"
667
- }
668
- },
669
- defaultVariants: { accent: "violet" }
670
- }
671
- ), tt = $(
672
- "ds:inline-flex ds:size-9 ds:items-center ds:justify-center ds:rounded-[var(--radius-md)]",
673
- {
674
- variants: {
675
- accent: {
676
- violet: "ds:bg-[color-mix(in_srgb,var(--color-violet-500)_12%,var(--background))] ds:text-[var(--color-violet-700)]",
677
- purple: "ds:bg-[color-mix(in_srgb,var(--color-purple-500)_12%,var(--background))] ds:text-[var(--color-purple-700)]",
678
- magenta: "ds:bg-[color-mix(in_srgb,var(--color-magenta-500)_12%,var(--background))] ds:text-[var(--color-magenta-700)]",
679
- blue: "ds:bg-[color-mix(in_srgb,var(--color-blue-500)_12%,var(--background))] ds:text-[var(--color-blue-700)]"
680
- }
681
- },
682
- defaultVariants: { accent: "violet" }
683
- }
684
655
  );
685
- function rt(e, r) {
686
- return e && e !== "auto" ? e : _e[r % _e.length];
687
- }
688
- function at({ cards: e, headingLevel: r }) {
689
- const { t: a } = B("ui"), i = `h${r}`, p = Se();
690
- return e.length === 0 ? /* @__PURE__ */ t("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:m-0", children: a("patientSearch.discovery.empty") }) : /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
691
- /* @__PURE__ */ t(i, { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: a("patientSearch.discovery.heading") }),
656
+ function Ze({ cards: e, headingLevel: r }) {
657
+ const { t: s } = D("ui"), o = `h${r}`, h = _e();
658
+ return e.length === 0 ? /* @__PURE__ */ t("p", { className: "type-body-sm ds:text-[color:var(--muted-foreground)] ds:m-0", children: s("patientSearch.discovery.empty") }) : /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
659
+ /* @__PURE__ */ t(o, { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: s("patientSearch.discovery.heading") }),
692
660
  /* @__PURE__ */ t(
693
661
  "ul",
694
662
  {
@@ -697,66 +665,55 @@ function at({ cards: e, headingLevel: r }) {
697
665
  "ds:md:grid-cols-2 ds:lg:grid-cols-3",
698
666
  "ds:m-0 ds:p-0 ds:list-none"
699
667
  ].join(" "),
700
- children: e.map((c, g) => {
701
- const h = rt(c.accent, g), d = c.description ? `${p}-${c.id}-description` : void 0;
668
+ children: e.map((d) => {
669
+ const p = d.description ? `${h}-${d.id}-description` : void 0;
702
670
  return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ x(
703
671
  "a",
704
672
  {
705
- href: c.href,
673
+ href: d.href,
706
674
  "data-component": "patient-search-card",
707
- "data-card-id": c.id,
708
- "aria-label": c.label,
709
- "aria-describedby": d,
675
+ "data-card-id": d.id,
676
+ "aria-label": d.label,
677
+ "aria-describedby": p,
710
678
  onClick: () => S("patient_search_discovery_card_clicked", {
711
- cardId: c.id
679
+ cardId: d.id
712
680
  }),
713
- className: Ze(),
681
+ className: Je(),
714
682
  children: [
715
- /* @__PURE__ */ t(
716
- "span",
717
- {
718
- "aria-hidden": "true",
719
- className: et({ accent: h })
720
- }
721
- ),
722
- /* @__PURE__ */ x("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
683
+ /* @__PURE__ */ x("span", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-sm)]", children: [
684
+ /* @__PURE__ */ t("span", { className: "type-label ds:min-w-0 ds:flex-1 ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: d.label }),
685
+ d.badge ? (
686
+ // The badge sits inside a softly-tinted bubble
687
+ // (15% accent + 85% background). The text colour must
688
+ // contrast with that mix, so use `--foreground`, which
689
+ // does in every theme; `--accent-foreground` does not.
690
+ /* @__PURE__ */ t("span", { className: "type-meta ds:inline-flex ds:shrink-0 ds:items-center ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--foreground)] ds:bg-[color-mix(in_srgb,var(--accent)_15%,var(--background))] ds:text-[color:var(--foreground)] ds:font-[var(--font-weight-semibold)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: d.badge })
691
+ ) : null,
723
692
  /* @__PURE__ */ t(
724
- "span",
693
+ Ve,
725
694
  {
726
- "aria-hidden": "true",
727
- className: tt({ accent: h }),
728
- children: c.icon ?? /* @__PURE__ */ t(ze, { className: "ds:size-4", "aria-hidden": "true" })
695
+ className: "ds:size-5 ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:rtl:-scale-x-100",
696
+ "aria-hidden": "true"
729
697
  }
730
- ),
731
- c.badge ? (
732
- // The badge sits inside a softly-tinted accent bubble
733
- // (15% accent + 85% background). The text colour must
734
- // contrast with that mix, not with the accent's canonical
735
- // foreground — `--accent-foreground` is calibrated against
736
- // the 100% accent surface and fails AA on the 15% tint.
737
- // Use `--foreground` which contrasts with the
738
- // mostly-background mix in both light and dark themes.
739
- /* @__PURE__ */ t("span", { className: "type-meta ds:ms-auto ds:inline-flex ds:items-center ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--foreground)] ds:bg-[color-mix(in_srgb,var(--accent)_15%,var(--background))] ds:text-[color:var(--foreground)] ds:font-[var(--font-weight-semibold)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]", children: c.badge })
740
- ) : null
698
+ )
741
699
  ] }),
742
- /* @__PURE__ */ t("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: c.label }),
743
- c.description ? /* @__PURE__ */ t(
700
+ d.description ? /* @__PURE__ */ t(
744
701
  "span",
745
702
  {
746
- id: d,
703
+ id: p,
747
704
  className: "type-body-sm ds:text-[color:var(--muted-foreground)]",
748
- children: c.description
705
+ children: d.description
749
706
  }
750
707
  ) : null
751
708
  ]
752
709
  }
753
- ) }, c.id);
710
+ ) }, d.id);
754
711
  })
755
712
  }
756
713
  )
757
714
  ] });
758
715
  }
759
- function st(e) {
716
+ function et(e) {
760
717
  if (e.object || e.place || e.geo || e.when && e.when !== "anytime") return !0;
761
718
  if (e.facets) {
762
719
  for (const r of Object.values(e.facets))
@@ -767,21 +724,21 @@ function st(e) {
767
724
  function ne({
768
725
  value: e,
769
726
  variant: r,
770
- submitting: a,
771
- submitLabel: i,
772
- allowEmptySubmit: p,
773
- onSubmit: c
727
+ submitting: s,
728
+ submitLabel: o,
729
+ allowEmptySubmit: h,
730
+ onSubmit: d
774
731
  }) {
775
- const { t: g } = B("ui"), h = !a && !p && !st(e), d = i ?? g("patientSearch.submit.cta");
732
+ const { t: p } = D("ui"), g = !s && !h && !et(e), l = o ?? p("patientSearch.submit.cta");
776
733
  return /* @__PURE__ */ t(
777
- Ie,
734
+ Fe,
778
735
  {
779
736
  type: "button",
780
737
  intent: "primary",
781
738
  size: "lg",
782
- startIcon: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
783
- loading: a,
784
- disabled: h,
739
+ startIcon: /* @__PURE__ */ t(ke, { "aria-hidden": "true" }),
740
+ loading: s,
741
+ disabled: g,
785
742
  onClick: () => {
786
743
  S("patient_search_submitted", {
787
744
  variant: r,
@@ -790,33 +747,33 @@ function ne({
790
747
  hasGeo: !!e.geo,
791
748
  when: e.when,
792
749
  facetKeys: e.facets ? Object.keys(e.facets) : []
793
- }), c(e);
750
+ }), d(e);
794
751
  },
795
- children: d
752
+ children: l
796
753
  }
797
754
  );
798
755
  }
799
- function nt(e) {
756
+ function tt(e) {
800
757
  const {
801
758
  variant: r,
802
- value: a,
803
- onChange: i,
804
- onSubmit: p,
805
- loadObjects: c,
806
- loadPlaces: g,
807
- onObjectSelect: h,
808
- onPlaceSelect: d,
759
+ value: s,
760
+ onChange: o,
761
+ onSubmit: h,
762
+ loadObjects: d,
763
+ loadPlaces: p,
764
+ onObjectSelect: g,
765
+ onPlaceSelect: l,
809
766
  allowTypedPlace: n,
810
767
  submitting: u,
811
- submitLabel: s,
768
+ submitLabel: a,
812
769
  allowEmptySubmit: f,
813
770
  whoRef: b,
814
- whereRef: l,
815
- whoQuery: o,
771
+ whereRef: c,
772
+ whoQuery: i,
816
773
  onWhoQueryChange: y,
817
774
  whereQuery: m,
818
775
  onWhereQueryChange: j,
819
- defaultRadiusKm: R,
776
+ defaultRadiusKm: C,
820
777
  reverseGeocode: E,
821
778
  geoHint: k,
822
779
  cardLabel: W
@@ -826,27 +783,27 @@ function nt(e) {
826
783
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
827
784
  re,
828
785
  {
829
- value: a,
830
- onChange: i,
831
- loadObjects: c,
832
- onObjectSelect: h,
786
+ value: s,
787
+ onChange: o,
788
+ loadObjects: d,
789
+ onObjectSelect: g,
833
790
  inputRef: b,
834
- query: o,
791
+ query: i,
835
792
  onQueryChange: y
836
793
  }
837
794
  ) }),
838
795
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
839
- ae,
796
+ se,
840
797
  {
841
- value: a,
842
- onChange: i,
843
- loadPlaces: g,
844
- onPlaceSelect: d,
798
+ value: s,
799
+ onChange: o,
800
+ loadPlaces: p,
801
+ onPlaceSelect: l,
845
802
  allowTypedPlace: n,
846
- defaultRadiusKm: R,
803
+ defaultRadiusKm: C,
847
804
  reverseGeocode: E,
848
805
  geoHint: k,
849
- inputRef: l,
806
+ inputRef: c,
850
807
  query: m,
851
808
  onQueryChange: j
852
809
  }
@@ -854,46 +811,46 @@ function nt(e) {
854
811
  /* @__PURE__ */ t(
855
812
  ne,
856
813
  {
857
- value: a,
814
+ value: s,
858
815
  variant: r,
859
816
  submitting: u,
860
- submitLabel: s,
817
+ submitLabel: a,
861
818
  allowEmptySubmit: f,
862
- onSubmit: p
819
+ onSubmit: h
863
820
  }
864
821
  )
865
822
  ] }),
866
823
  /* @__PURE__ */ t(
867
- se,
824
+ ae,
868
825
  {
869
- value: a,
870
- onChange: i,
871
- defaultRadiusKm: R
826
+ value: s,
827
+ onChange: o,
828
+ defaultRadiusKm: C
872
829
  }
873
830
  )
874
831
  ] }) });
875
832
  }
876
- function ot(e) {
833
+ function rt(e) {
877
834
  const {
878
835
  variant: r,
879
- value: a,
880
- onChange: i,
881
- onSubmit: p,
882
- loadObjects: c,
883
- loadPlaces: g,
884
- onObjectSelect: h,
885
- onPlaceSelect: d,
836
+ value: s,
837
+ onChange: o,
838
+ onSubmit: h,
839
+ loadObjects: d,
840
+ loadPlaces: p,
841
+ onObjectSelect: g,
842
+ onPlaceSelect: l,
886
843
  allowTypedPlace: n,
887
844
  submitting: u,
888
- submitLabel: s,
845
+ submitLabel: a,
889
846
  allowEmptySubmit: f,
890
847
  whoRef: b,
891
- whereRef: l,
892
- whoQuery: o,
848
+ whereRef: c,
849
+ whoQuery: i,
893
850
  onWhoQueryChange: y,
894
851
  whereQuery: m,
895
852
  onWhereQueryChange: j,
896
- defaultRadiusKm: R,
853
+ defaultRadiusKm: C,
897
854
  reverseGeocode: E,
898
855
  geoHint: k,
899
856
  cardLabel: W
@@ -903,27 +860,27 @@ function ot(e) {
903
860
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
904
861
  re,
905
862
  {
906
- value: a,
907
- onChange: i,
908
- loadObjects: c,
909
- onObjectSelect: h,
863
+ value: s,
864
+ onChange: o,
865
+ loadObjects: d,
866
+ onObjectSelect: g,
910
867
  inputRef: b,
911
- query: o,
868
+ query: i,
912
869
  onQueryChange: y
913
870
  }
914
871
  ) }),
915
872
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
916
- ae,
873
+ se,
917
874
  {
918
- value: a,
919
- onChange: i,
920
- loadPlaces: g,
921
- onPlaceSelect: d,
875
+ value: s,
876
+ onChange: o,
877
+ loadPlaces: p,
878
+ onPlaceSelect: l,
922
879
  allowTypedPlace: n,
923
- defaultRadiusKm: R,
880
+ defaultRadiusKm: C,
924
881
  reverseGeocode: E,
925
882
  geoHint: k,
926
- inputRef: l,
883
+ inputRef: c,
927
884
  query: m,
928
885
  onQueryChange: j
929
886
  }
@@ -931,53 +888,53 @@ function ot(e) {
931
888
  /* @__PURE__ */ t(
932
889
  ne,
933
890
  {
934
- value: a,
891
+ value: s,
935
892
  variant: r,
936
893
  submitting: u,
937
- submitLabel: s,
894
+ submitLabel: a,
938
895
  allowEmptySubmit: f,
939
- onSubmit: p
896
+ onSubmit: h
940
897
  }
941
898
  )
942
899
  ] }),
943
900
  /* @__PURE__ */ t(
944
- se,
901
+ ae,
945
902
  {
946
- value: a,
947
- onChange: i,
948
- defaultRadiusKm: R
903
+ value: s,
904
+ onChange: o,
905
+ defaultRadiusKm: C
949
906
  }
950
907
  ),
951
908
  /* @__PURE__ */ t(
952
- Ye,
909
+ Xe,
953
910
  {
954
- value: a.when,
955
- onChange: (P) => i({ ...a, when: P })
911
+ value: s.when,
912
+ onChange: (P) => o({ ...s, when: P })
956
913
  }
957
914
  )
958
915
  ] }) });
959
916
  }
960
- function it(e) {
917
+ function st(e) {
961
918
  const {
962
919
  variant: r,
963
- value: a,
964
- onChange: i,
965
- onSubmit: p,
966
- loadObjects: c,
967
- loadPlaces: g,
968
- onObjectSelect: h,
969
- onPlaceSelect: d,
920
+ value: s,
921
+ onChange: o,
922
+ onSubmit: h,
923
+ loadObjects: d,
924
+ loadPlaces: p,
925
+ onObjectSelect: g,
926
+ onPlaceSelect: l,
970
927
  allowTypedPlace: n,
971
928
  facets: u,
972
- submitting: s,
929
+ submitting: a,
973
930
  submitLabel: f,
974
931
  allowEmptySubmit: b,
975
- whoRef: l,
976
- whereRef: o,
932
+ whoRef: c,
933
+ whereRef: i,
977
934
  whoQuery: y,
978
935
  onWhoQueryChange: m,
979
936
  whereQuery: j,
980
- onWhereQueryChange: R,
937
+ onWhereQueryChange: C,
981
938
  defaultRadiusKm: E,
982
939
  reverseGeocode: k,
983
940
  geoHint: W,
@@ -988,181 +945,181 @@ function it(e) {
988
945
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
989
946
  re,
990
947
  {
991
- value: a,
992
- onChange: i,
993
- loadObjects: c,
994
- onObjectSelect: h,
995
- inputRef: l,
948
+ value: s,
949
+ onChange: o,
950
+ loadObjects: d,
951
+ onObjectSelect: g,
952
+ inputRef: c,
996
953
  query: y,
997
954
  onQueryChange: m
998
955
  }
999
956
  ) }),
1000
957
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
1001
- ae,
958
+ se,
1002
959
  {
1003
- value: a,
1004
- onChange: i,
1005
- loadPlaces: g,
1006
- onPlaceSelect: d,
960
+ value: s,
961
+ onChange: o,
962
+ loadPlaces: p,
963
+ onPlaceSelect: l,
1007
964
  allowTypedPlace: n,
1008
965
  defaultRadiusKm: E,
1009
966
  reverseGeocode: k,
1010
967
  geoHint: W,
1011
- inputRef: o,
968
+ inputRef: i,
1012
969
  query: j,
1013
- onQueryChange: R
970
+ onQueryChange: C
1014
971
  }
1015
972
  ) }),
1016
973
  /* @__PURE__ */ t(
1017
974
  ne,
1018
975
  {
1019
- value: a,
976
+ value: s,
1020
977
  variant: r,
1021
- submitting: s,
978
+ submitting: a,
1022
979
  submitLabel: f,
1023
980
  allowEmptySubmit: b,
1024
- onSubmit: p
981
+ onSubmit: h
1025
982
  }
1026
983
  )
1027
984
  ] }),
1028
985
  /* @__PURE__ */ t(
1029
- se,
986
+ ae,
1030
987
  {
1031
- value: a,
1032
- onChange: i,
988
+ value: s,
989
+ onChange: o,
1033
990
  defaultRadiusKm: E
1034
991
  }
1035
992
  ),
1036
993
  u && u.length > 0 ? /* @__PURE__ */ t(
1037
- Je,
994
+ Ye,
1038
995
  {
1039
996
  facets: u,
1040
- value: a.facets,
1041
- onChange: (V) => i({ ...a, facets: V })
997
+ value: s.facets,
998
+ onChange: (O) => o({ ...s, facets: O })
1042
999
  }
1043
1000
  ) : null
1044
1001
  ] }) });
1045
1002
  }
1046
- function ct(e) {
1003
+ function at(e) {
1047
1004
  const {
1048
1005
  variant: r,
1049
- value: a,
1050
- onChange: i,
1051
- onSubmit: p,
1052
- loadObjects: c,
1053
- loadPlaces: g,
1054
- onObjectSelect: h,
1055
- onPlaceSelect: d,
1006
+ value: s,
1007
+ onChange: o,
1008
+ onSubmit: h,
1009
+ loadObjects: d,
1010
+ loadPlaces: p,
1011
+ onObjectSelect: g,
1012
+ onPlaceSelect: l,
1056
1013
  allowTypedPlace: n,
1057
1014
  discoveryCards: u,
1058
- discoveryHeadingLevel: s,
1015
+ discoveryHeadingLevel: a,
1059
1016
  submitting: f,
1060
1017
  submitLabel: b,
1061
- allowEmptySubmit: l,
1062
- whoRef: o,
1018
+ allowEmptySubmit: c,
1019
+ whoRef: i,
1063
1020
  whereRef: y,
1064
1021
  whoQuery: m,
1065
1022
  onWhoQueryChange: j,
1066
- whereQuery: R,
1023
+ whereQuery: C,
1067
1024
  onWhereQueryChange: E,
1068
1025
  defaultRadiusKm: k,
1069
1026
  reverseGeocode: W,
1070
1027
  geoHint: P,
1071
- cardLabel: V
1028
+ cardLabel: O
1072
1029
  } = e;
1073
1030
  return /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
1074
- /* @__PURE__ */ x(te, { variant: "elevated", "aria-label": V, children: [
1031
+ /* @__PURE__ */ x(te, { variant: "elevated", "aria-label": O, children: [
1075
1032
  /* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)] ds:md:flex-row ds:md:items-stretch", children: [
1076
1033
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
1077
1034
  re,
1078
1035
  {
1079
- value: a,
1080
- onChange: i,
1081
- loadObjects: c,
1082
- onObjectSelect: h,
1083
- inputRef: o,
1036
+ value: s,
1037
+ onChange: o,
1038
+ loadObjects: d,
1039
+ onObjectSelect: g,
1040
+ inputRef: i,
1084
1041
  query: m,
1085
1042
  onQueryChange: j
1086
1043
  }
1087
1044
  ) }),
1088
1045
  /* @__PURE__ */ t("div", { className: "ds:flex-1 ds:min-w-0", children: /* @__PURE__ */ t(
1089
- ae,
1046
+ se,
1090
1047
  {
1091
- value: a,
1092
- onChange: i,
1093
- loadPlaces: g,
1094
- onPlaceSelect: d,
1048
+ value: s,
1049
+ onChange: o,
1050
+ loadPlaces: p,
1051
+ onPlaceSelect: l,
1095
1052
  allowTypedPlace: n,
1096
1053
  defaultRadiusKm: k,
1097
1054
  reverseGeocode: W,
1098
1055
  geoHint: P,
1099
1056
  inputRef: y,
1100
- query: R,
1057
+ query: C,
1101
1058
  onQueryChange: E
1102
1059
  }
1103
1060
  ) }),
1104
1061
  /* @__PURE__ */ t(
1105
1062
  ne,
1106
1063
  {
1107
- value: a,
1064
+ value: s,
1108
1065
  variant: r,
1109
1066
  submitting: f,
1110
1067
  submitLabel: b,
1111
- allowEmptySubmit: l,
1112
- onSubmit: p
1068
+ allowEmptySubmit: c,
1069
+ onSubmit: h
1113
1070
  }
1114
1071
  )
1115
1072
  ] }),
1116
1073
  /* @__PURE__ */ t(
1117
- se,
1074
+ ae,
1118
1075
  {
1119
- value: a,
1120
- onChange: i,
1076
+ value: s,
1077
+ onChange: o,
1121
1078
  defaultRadiusKm: k
1122
1079
  }
1123
1080
  )
1124
1081
  ] }),
1125
1082
  /* @__PURE__ */ t(
1126
- at,
1083
+ Ze,
1127
1084
  {
1128
1085
  cards: u,
1129
- headingLevel: s
1086
+ headingLevel: a
1130
1087
  }
1131
1088
  )
1132
1089
  ] });
1133
1090
  }
1134
- const dt = Ae(function({
1091
+ const nt = Te(function({
1135
1092
  variant: r,
1136
- loadObjects: a,
1137
- loadPlaces: i,
1138
- onObjectSelect: p,
1139
- onPlaceSelect: c,
1140
- allowTypedPlace: g = !1,
1141
- facets: h,
1142
- defaultRadiusKm: d = fe,
1093
+ loadObjects: s,
1094
+ loadPlaces: o,
1095
+ onObjectSelect: h,
1096
+ onPlaceSelect: d,
1097
+ allowTypedPlace: p = !1,
1098
+ facets: g,
1099
+ defaultRadiusKm: l = fe,
1143
1100
  reverseGeocode: n,
1144
1101
  geoHint: u,
1145
- discoveryCards: s,
1102
+ discoveryCards: a,
1146
1103
  discoveryHeadingLevel: f = 3,
1147
1104
  countryCode: b,
1148
- value: l,
1149
- onChange: o,
1105
+ value: c,
1106
+ onChange: i,
1150
1107
  onSubmit: y,
1151
1108
  submitting: m,
1152
1109
  submitLabel: j,
1153
- allowEmptySubmit: R,
1110
+ allowEmptySubmit: C,
1154
1111
  "aria-label": E,
1155
1112
  id: k,
1156
1113
  className: W,
1157
1114
  ...P
1158
- }, V) {
1115
+ }, O) {
1159
1116
  var ve, be;
1160
- const { t: oe } = B("ui"), q = C(null), O = C(null), D = C(null), [w, _] = Z(((ve = l.object) == null ? void 0 : ve.label) ?? ""), [T, F] = Z(
1161
- ((be = l.place) == null ? void 0 : be.label) ?? ""
1162
- ), N = C(null), G = C(
1117
+ const { t: ie } = D("ui"), q = R(null), B = R(null), K = R(null), [w, _] = J(((ve = c.object) == null ? void 0 : ve.label) ?? ""), [T, F] = J(
1118
+ ((be = c.place) == null ? void 0 : be.label) ?? ""
1119
+ ), N = R(null), U = R(
1163
1120
  { who: { current: !1 }, where: { current: !1 } }
1164
- ), X = (v) => {
1165
- const L = v === O.current ? "who" : v === D.current ? "where" : null;
1121
+ ), G = (v) => {
1122
+ const L = v === B.current ? "who" : v === K.current ? "where" : null;
1166
1123
  if (!L) {
1167
1124
  N.current = null;
1168
1125
  return;
@@ -1173,68 +1130,68 @@ const dt = Ae(function({
1173
1130
  start: Q.selectionStart,
1174
1131
  end: Q.selectionEnd
1175
1132
  };
1176
- }, je = (v, L) => {
1133
+ }, Le = (v, L) => {
1177
1134
  var Q;
1178
1135
  L && ((Q = q.current) != null && Q.contains(L)) || setTimeout(() => {
1179
1136
  v.isConnected && (N.current = null);
1180
1137
  }, 0);
1181
- }, ie = C(null), he = (v, L, Q) => {
1182
- const I = (v === "who" ? O : D).current;
1138
+ }, oe = R(null), he = (v, L, Q) => {
1139
+ const I = (v === "who" ? B : K).current;
1183
1140
  if (!I) return;
1184
1141
  I.focus();
1185
- const K = I.value.length;
1142
+ const V = I.value.length;
1186
1143
  I.setSelectionRange(
1187
- Math.min(L ?? K, K),
1188
- Math.min(Q ?? K, K)
1144
+ Math.min(L ?? V, V),
1145
+ Math.min(Q ?? V, V)
1189
1146
  );
1190
1147
  };
1191
1148
  H(() => {
1192
1149
  const v = q.current;
1193
1150
  if (!v) return;
1194
1151
  const L = (A) => {
1195
- const z = ie.current;
1196
- if (z && performance.now() < z.until && (A.target === O.current && z.field === "where" || A.target === D.current && z.field === "who")) {
1197
- he(z.field, z.start, z.end);
1152
+ const M = oe.current;
1153
+ if (M && performance.now() < M.until && (A.target === B.current && M.field === "where" || A.target === K.current && M.field === "who")) {
1154
+ he(M.field, M.start, M.end);
1198
1155
  return;
1199
1156
  }
1200
- X(A.target);
1201
- }, Q = (A) => X(A.target), I = () => {
1202
- ie.current = null;
1203
- }, K = (A) => je(A.target, A.relatedTarget), ye = ["select", "keyup", "input"];
1204
- return v.addEventListener("focusin", L), ye.forEach((A) => v.addEventListener(A, Q)), v.addEventListener("pointerdown", I), v.addEventListener("keydown", I), v.addEventListener("focusout", K), () => {
1205
- v.removeEventListener("focusin", L), ye.forEach((A) => v.removeEventListener(A, Q)), v.removeEventListener("pointerdown", I), v.removeEventListener("keydown", I), v.removeEventListener("focusout", K);
1157
+ G(A.target);
1158
+ }, Q = (A) => G(A.target), I = () => {
1159
+ oe.current = null;
1160
+ }, V = (A) => Le(A.target, A.relatedTarget), ye = ["select", "keyup", "input"];
1161
+ return v.addEventListener("focusin", L), ye.forEach((A) => v.addEventListener(A, Q)), v.addEventListener("pointerdown", I), v.addEventListener("keydown", I), v.addEventListener("focusout", V), () => {
1162
+ v.removeEventListener("focusin", L), ye.forEach((A) => v.removeEventListener(A, Q)), v.removeEventListener("pointerdown", I), v.removeEventListener("keydown", I), v.removeEventListener("focusout", V);
1206
1163
  };
1207
1164
  }, []);
1208
- const pe = C(r);
1209
- We(() => {
1165
+ const pe = R(r);
1166
+ Ae(() => {
1210
1167
  if (pe.current === r) return;
1211
1168
  pe.current = r;
1212
1169
  const v = N.current;
1213
1170
  if (!v) return;
1214
1171
  const L = document.activeElement;
1215
- L && L !== document.body || (ie.current = { ...v, until: performance.now() + 500 }, he(v.field, v.start, v.end));
1172
+ L && L !== document.body || (oe.current = { ...v, until: performance.now() + 500 }, he(v.field, v.start, v.end));
1216
1173
  }, [r]);
1217
- const ce = C(!1);
1174
+ const de = R(!1);
1218
1175
  H(() => {
1219
- if (!ce.current && r === "who-where-when") {
1220
- if (l.when !== void 0) {
1221
- ce.current = !0;
1176
+ if (!de.current && r === "who-where-when") {
1177
+ if (c.when !== void 0) {
1178
+ de.current = !0;
1222
1179
  return;
1223
1180
  }
1224
- ce.current = !0, o({ ...l, when: "anytime" });
1181
+ de.current = !0, i({ ...c, when: "anytime" });
1225
1182
  }
1226
1183
  }, [r]);
1227
- const de = C(!1);
1184
+ const ce = R(!1);
1228
1185
  H(() => {
1229
- if (!de.current && r === "faceted") {
1230
- if (l.facets !== void 0) {
1231
- de.current = !0;
1186
+ if (!ce.current && r === "faceted") {
1187
+ if (c.facets !== void 0) {
1188
+ ce.current = !0;
1232
1189
  return;
1233
1190
  }
1234
- de.current = !0, o({ ...l, facets: {} });
1191
+ ce.current = !0, i({ ...c, facets: {} });
1235
1192
  }
1236
1193
  }, [r]);
1237
- const me = C(null);
1194
+ const me = R(null);
1238
1195
  H(() => {
1239
1196
  me.current !== r && (me.current = r, S("patient_search_variant_exposed", { variant: r, country: b }));
1240
1197
  }, [r, b]);
@@ -1242,60 +1199,60 @@ const dt = Ae(function({
1242
1199
  () => ({
1243
1200
  getVariant: () => r,
1244
1201
  reset: () => {
1245
- o({});
1202
+ i({});
1246
1203
  },
1247
1204
  focusPrimary: () => {
1248
1205
  requestAnimationFrame(() => {
1249
1206
  var v;
1250
- (v = O.current) == null || v.focus();
1207
+ (v = B.current) == null || v.focus();
1251
1208
  });
1252
1209
  }
1253
1210
  }),
1254
- [r, o]
1211
+ [r, i]
1255
1212
  );
1256
- Pe(V, () => le, [le]), Be($e, le, k);
1257
- const ge = E ?? oe("patientSearch.regionLabel"), Y = {
1213
+ We(O, () => le, [le]), Be(He, le, k);
1214
+ const ge = E ?? ie("patientSearch.regionLabel"), X = {
1258
1215
  variant: r,
1259
- value: l,
1260
- onChange: o,
1216
+ value: c,
1217
+ onChange: i,
1261
1218
  onSubmit: y,
1262
- loadObjects: a,
1263
- loadPlaces: i,
1264
- onObjectSelect: p,
1265
- onPlaceSelect: c,
1266
- allowTypedPlace: g,
1267
- facets: h,
1268
- defaultRadiusKm: d,
1219
+ loadObjects: s,
1220
+ loadPlaces: o,
1221
+ onObjectSelect: h,
1222
+ onPlaceSelect: d,
1223
+ allowTypedPlace: p,
1224
+ facets: g,
1225
+ defaultRadiusKm: l,
1269
1226
  reverseGeocode: n,
1270
1227
  geoHint: u,
1271
- discoveryCards: s ?? [],
1228
+ discoveryCards: a ?? [],
1272
1229
  discoveryHeadingLevel: f,
1273
1230
  submitting: m,
1274
1231
  submitLabel: j,
1275
- allowEmptySubmit: R,
1276
- whoRef: O,
1277
- whereRef: D,
1232
+ allowEmptySubmit: C,
1233
+ whoRef: B,
1234
+ whereRef: K,
1278
1235
  whoQuery: w,
1279
1236
  onWhoQueryChange: _,
1280
1237
  whereQuery: T,
1281
1238
  onWhereQueryChange: F,
1282
1239
  cardLabel: ge
1283
- }, Te = (() => {
1240
+ }, je = (() => {
1284
1241
  switch (r) {
1285
1242
  case "who-where":
1286
- return /* @__PURE__ */ t(nt, { ...Y });
1243
+ return /* @__PURE__ */ t(tt, { ...X });
1287
1244
  case "who-where-when":
1288
- return /* @__PURE__ */ t(ot, { ...Y });
1245
+ return /* @__PURE__ */ t(rt, { ...X });
1289
1246
  case "faceted":
1290
- return /* @__PURE__ */ t(it, { ...Y });
1247
+ return /* @__PURE__ */ t(st, { ...X });
1291
1248
  case "discovery":
1292
- return /* @__PURE__ */ t(ct, { ...Y });
1249
+ return /* @__PURE__ */ t(at, { ...X });
1293
1250
  /* c8 ignore next 2 */
1294
1251
  default:
1295
1252
  return null;
1296
1253
  }
1297
1254
  })();
1298
- return /* @__PURE__ */ t(Ee.Provider, { value: G.current, children: /* @__PURE__ */ t(
1255
+ return /* @__PURE__ */ t(Ce.Provider, { value: U.current, children: /* @__PURE__ */ t(
1299
1256
  "div",
1300
1257
  {
1301
1258
  ref: q,
@@ -1305,15 +1262,15 @@ const dt = Ae(function({
1305
1262
  "data-component": "patient-search",
1306
1263
  "data-component-id": k,
1307
1264
  "data-variant": r,
1308
- className: Ge({ variant: r, className: W }),
1265
+ className: Ue({ variant: r, className: W }),
1309
1266
  ...P,
1310
- children: Te
1267
+ children: je
1311
1268
  }
1312
1269
  ) });
1313
1270
  });
1314
- dt.displayName = "PatientSearch";
1271
+ nt.displayName = "PatientSearch";
1315
1272
  export {
1316
- dt as P,
1317
- $e as p
1273
+ nt as P,
1274
+ He as p
1318
1275
  };
1319
- //# sourceMappingURL=patient-search-CxuqVUTB.js.map
1276
+ //# sourceMappingURL=patient-search-DDRDCjZi.js.map