@alfadocs/ui-kit 0.68.0 → 0.70.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 (440) hide show
  1. package/dist/_chunks/{accordion-9lJSMMsZ.js → accordion-DnIa7OHX.js} +69 -47
  2. package/dist/_chunks/address-autocomplete-BEX9PXty.js +496 -0
  3. package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
  4. package/dist/_chunks/{agenda-card.agent-B_R47-c9.js → agenda-card.agent-mTCrkKSZ.js} +6 -1
  5. package/dist/_chunks/{agenda-tray-T-BumlGZ.js → agenda-tray-CGXRk58j.js} +37 -25
  6. package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js → ai-consent-banner-Be-h9mRI.js} +5 -5
  7. package/dist/_chunks/{ai-prompt-input-BwEACCPm.js → ai-prompt-input-CuhTo9mh.js} +80 -61
  8. package/dist/_chunks/ai-tools-rail-B5NEghsp.js +511 -0
  9. package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
  10. package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js → alia-sidebar-B47qRQb5.js} +5 -5
  11. package/dist/_chunks/{anamnesis-card-N8pIKWuS.js → anamnesis-card-DvYCa16e.js} +3 -3
  12. package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +2445 -0
  13. package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
  14. package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
  15. package/dist/_chunks/appointment-card-C06aZqA7.js +310 -0
  16. package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +386 -0
  17. package/dist/_chunks/appointment-tray-DRRw5ROi.js +193 -0
  18. package/dist/_chunks/{audio-recorder-DjXLP4aF.js → audio-recorder-Cpdk5qpQ.js} +60 -57
  19. package/dist/_chunks/{autocomplete-CcCFlVf-.js → autocomplete-DOeGouCL.js} +157 -132
  20. package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
  21. package/dist/_chunks/bishop-score-DnYWtZa_.js +304 -0
  22. package/dist/_chunks/bmi-calculator-zjeY4E7J.js +434 -0
  23. package/dist/_chunks/{booking-L8-YP8BJ.js → booking-DUBI0oqt.js} +422 -399
  24. package/dist/_chunks/{breadcrumb-OTbaY70e.js → breadcrumb-CchdeG7d.js} +42 -28
  25. package/dist/_chunks/{calculator-dialog-CFk4I91b.js → calculator-dialog-BR5iU0kf.js} +2 -2
  26. package/dist/_chunks/{calendar-oYWOCrnf.js → calendar-CZUjL8SZ.js} +258 -201
  27. package/dist/_chunks/{care-plan-card-BwVUyUBb.js → care-plan-card-C5sTfY9G.js} +13 -9
  28. package/dist/_chunks/{care-plan-entry-card-VzdQHcOL.js → care-plan-entry-card-CXnxGCWA.js} +20 -16
  29. package/dist/_chunks/care-plan-header-BUwqDTtz.js +206 -0
  30. package/dist/_chunks/{carousel.agent-vt21A_el.js → carousel.agent-4v8Emr9E.js} +219 -198
  31. package/dist/_chunks/{chart-Cg3e9EH9.js → chart-CMr3eW62.js} +150 -109
  32. package/dist/_chunks/{chat-container-ogB4OskO.js → chat-container-DWho5hPR.js} +47 -34
  33. package/dist/_chunks/{chat-input-B5zjNEUN.js → chat-input-BcXTetgM.js} +57 -41
  34. package/dist/_chunks/{checkbox-DRcOdmXv.js → checkbox-BuZ1u__2.js} +41 -27
  35. package/dist/_chunks/{checkbox-group-CpUwlHug.js → checkbox-group-PqNmQ-cE.js} +3 -3
  36. package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
  37. package/dist/_chunks/{collapsible-X3oaLPU3.js → collapsible-BrnRiCC6.js} +26 -23
  38. package/dist/_chunks/{color-picker-FXpItIaF.js → color-picker-C_fZl6sA.js} +124 -112
  39. package/dist/_chunks/{combobox-BC-DFx8G.js → combobox-Clum7gJ1.js} +165 -128
  40. package/dist/_chunks/{command-palette-BiPAAno-.js → command-palette-CJzmc5pC.js} +87 -64
  41. package/dist/_chunks/{contact-profile-card-7BMB85T6.js → contact-profile-card-DDPwRFiP.js} +13 -11
  42. package/dist/_chunks/control-room-rail-Y8ryLYsP.js +229 -0
  43. package/dist/_chunks/{copy-field-CCq7j6Zc.js → copy-field-Bjw9u2cV.js} +42 -35
  44. package/dist/_chunks/counter-dRlTNC_y.js +55 -0
  45. package/dist/_chunks/{cycle-calculator-BF0ointe.js → cycle-calculator-CCmPwcBl.js} +4 -4
  46. package/dist/_chunks/{date-picker-oGg5BnXL.js → date-picker-Dl9RKxaV.js} +76 -57
  47. package/dist/_chunks/{date-range-picker-C5BWfH_T.js → date-range-picker-CTUeR6Bj.js} +73 -46
  48. package/dist/_chunks/{date-time-picker-Ze1My59T.js → date-time-picker-BhoogS5Q.js} +64 -40
  49. package/dist/_chunks/{dependent-selector-DpzGtr_J.js → dependent-selector-DUV4thxX.js} +45 -31
  50. package/dist/_chunks/{dialog-DMGnSelc.js → dialog-ZNuboNmy.js} +35 -28
  51. package/dist/_chunks/{document-scanner-D2qehl3-.js → document-scanner-C_AxLooF.js} +13 -5
  52. package/dist/_chunks/{dropdown-menu-DwwPovMZ.js → dropdown-menu-qrxjymfw.js} +94 -93
  53. package/dist/_chunks/{due-date-calculator-DU9AEWNy.js → due-date-calculator-Brdj-euS.js} +6 -6
  54. package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +328 -0
  55. package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
  56. package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-9_62gY7l.js} +38 -20
  57. package/dist/_chunks/entity-summary-BxRjFh_4.js +138 -0
  58. package/dist/_chunks/{fetal-weight-BVSzOhuR.js → fetal-weight-DNCkyeVo.js} +3 -3
  59. package/dist/_chunks/field-value-NXYczdpO.js +415 -0
  60. package/dist/_chunks/{file-upload-BosbPDb1.js → file-upload-DwZcAK8D.js} +119 -100
  61. package/dist/_chunks/{fiscal-code-input-DPtqluVb.js → fiscal-code-input-Cf-8O4Fj.js} +76 -63
  62. package/dist/_chunks/{freemium-paywall-CkWjv3o6.js → freemium-paywall-WYlNO7yT.js} +78 -71
  63. package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js → gestational-age-calculator-CF2ISaYQ.js} +7 -7
  64. package/dist/_chunks/hash-CysBBS_N.js +17 -0
  65. package/dist/_chunks/{hcg-doubling-if4Q8aSX.js → hcg-doubling-C7bmuaU3.js} +4 -4
  66. package/dist/_chunks/{header-settings-CNOqIhoW.js → header-settings-DJqoAl5m.js} +86 -46
  67. package/dist/_chunks/{index.modern-D2LGACWg.js → index.modern-Zta-A4Jm.js} +3 -3
  68. package/dist/_chunks/link-cell-renderer-CTXqtXV-.js +2184 -0
  69. package/dist/_chunks/{list-BOwqwy03.js → list-DgE1xWBM.js} +99 -84
  70. package/dist/_chunks/{locale-picker-C9JmBht3.js → locale-picker-ChYYSX2N.js} +47 -35
  71. package/dist/_chunks/lock-CKOIn0IK.js +15 -0
  72. package/dist/_chunks/{map-view-Tb5VfK9Y.js → map-view-BkOoGoX2.js} +160 -115
  73. package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js → marketplace-app-shell-Skhfp6vK.js} +6 -6
  74. package/dist/_chunks/{message-card.agent-4IeIgrnJ.js → message-card.agent-ZLhx3Bs5.js} +6 -1
  75. package/dist/_chunks/{message-tray-CVyJajVJ.js → message-tray-DwrBLJlf.js} +90 -48
  76. package/dist/_chunks/{multi-select-BcPylvHR.js → multi-select-BdHHDrRN.js} +196 -153
  77. package/dist/_chunks/{navigation-menu-C6lBYVv9.js → navigation-menu-DRUi6sSj.js} +75 -42
  78. package/dist/_chunks/notes-panel-ay8_lPrA.js +158 -0
  79. package/dist/_chunks/{notification-card-BiESdm8q.js → notification-card-D2jiKSJJ.js} +27 -23
  80. package/dist/_chunks/{notification-card.agent-Rqt3ofk9.js → notification-card.agent-DxGBZb8T.js} +5 -1
  81. package/dist/_chunks/{notification-tray-DlgenTEe.js → notification-tray-AEun6DN2.js} +112 -97
  82. package/dist/_chunks/{number-input-Dj5L3pXK.js → number-input-DxphVG_A.js} +36 -27
  83. package/dist/_chunks/{operator-hero-f_KaRhw5.js → operator-hero-CR0Rqh4-.js} +14 -10
  84. package/dist/_chunks/{otp-input-xQ4Ps5VY.js → otp-input-DzBQ-CpE.js} +52 -33
  85. package/dist/_chunks/{pagination-DQOgnxxw.js → pagination-D58kglCr.js} +181 -162
  86. package/dist/_chunks/patient-details-Dlhqb5ig.js +675 -0
  87. package/dist/_chunks/{patient-search-DR9XUYRQ.js → patient-search-Be6cLrHR.js} +70 -61
  88. package/dist/_chunks/{patient-shell-BfgufL_q.js → patient-shell-DV3XEtIB.js} +3 -3
  89. package/dist/_chunks/patient-summary-card-WySCMwwA.js +437 -0
  90. package/dist/_chunks/patient-table-CHxf3Oqk.js +1110 -0
  91. package/dist/_chunks/{payment-form-nXocS_MX.js → payment-form-CxqIXqw7.js} +57 -45
  92. package/dist/_chunks/{payment-request-card-CYE5vhZ0.js → payment-request-card-BcZJwu9z.js} +125 -136
  93. package/dist/_chunks/{pdf-viewer-GsfNqeeT.js → pdf-viewer-QfebdLOd.js} +317 -291
  94. package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js → periodontal-chart-card-hRRJY1NN.js} +3 -3
  95. package/dist/_chunks/{phone-input-DVXhNlIl.js → phone-input-DjU-XmO_.js} +64 -47
  96. package/dist/_chunks/{popover-DTbfAuR0.js → popover-B2qCDhJC.js} +37 -32
  97. package/dist/_chunks/{practice-results-DND2SAt7.js → practice-results-C6qDfxos.js} +280 -244
  98. package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js → pregnancy-dating-CRVWswD-.js} +8 -8
  99. package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js → pregnancy-weight-gain-BUNpTsH-.js} +4 -4
  100. package/dist/_chunks/{privacy-lock-C7JyMf0y.js → privacy-lock-BzMLQu-j.js} +32 -28
  101. package/dist/_chunks/{product-hub-panel-CAXDFeGP.js → product-hub-panel-e6pW220e.js} +45 -27
  102. package/dist/_chunks/{progress-kzIRcdaq.js → progress-DA413-zn.js} +2 -2
  103. package/dist/_chunks/{public-footer.agent-CfXuW1x6.js → public-footer.agent-D0cFbjWl.js} +151 -146
  104. package/dist/_chunks/{public-header.agent-BOhJgZEU.js → public-header.agent-DqkqA-ca.js} +107 -102
  105. package/dist/_chunks/{qr-code-DNXhi6se.js → qr-code-CPkEs5mG.js} +52 -46
  106. package/dist/_chunks/{radio-group-CLjK-SlK.js → radio-group-BPt7pKZW.js} +5 -5
  107. package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +558 -0
  108. package/dist/_chunks/{recaptcha-widget-BCNHsgqt.js → recaptcha-widget-BC-4To9b.js} +9 -2
  109. package/dist/_chunks/registry-DvAUVLHh.js +51 -0
  110. package/dist/_chunks/{resizable-3vzqDlg6.js → resizable-DVGcfOrk.js} +193 -173
  111. package/dist/_chunks/{reviews-panel-DBktKm7i.js → reviews-panel-Dq7LMDcH.js} +87 -68
  112. package/dist/_chunks/{rich-text-editor-VawKN1FI.js → rich-text-editor-DlCqPixb.js} +833 -728
  113. package/dist/_chunks/{search-bar-SY2BcV2N.js → search-bar-C_T3pBJn.js} +105 -78
  114. package/dist/_chunks/{search-input-DbxrnHkW.js → search-input-DQvGxR74.js} +2 -2
  115. package/dist/_chunks/{search-input.agent-CfZvViOd.js → search-input.agent-DRH54coT.js} +19 -4
  116. package/dist/_chunks/{select-CEtRcon5.js → select-DMLG44F5.js} +72 -56
  117. package/dist/_chunks/{session-countdown-LPnhTHjn.js → session-countdown-X1Ki6i0M.js} +3 -3
  118. package/dist/_chunks/{sheet-taJer-Ha.js → sheet-BxsE7eQm.js} +59 -45
  119. package/dist/_chunks/{sidebar-DaB4ulxH.js → sidebar-DY9jGjgt.js} +254 -248
  120. package/dist/_chunks/{sign-document-CdAiHiCh.js → sign-document-By6hMOra.js} +75 -49
  121. package/dist/_chunks/{signature-capture-COi0Uiqu.js → signature-capture-Ct_4Md4e.js} +138 -104
  122. package/dist/_chunks/{slider-BHWzXdjt.js → slider-DN1CWkKB.js} +85 -65
  123. package/dist/_chunks/{sparkline-DGhCSw8M.js → sparkline-iOXYgvJe.js} +75 -53
  124. package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
  125. package/dist/_chunks/{stepper-accordion.agent-C4quJ-MD.js → stepper-accordion.agent-cmEguIdx.js} +7 -1
  126. package/dist/_chunks/{stepper-progress-DDjq5nei.js → stepper-progress-Bv0njx4g.js} +30 -24
  127. package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js → suggestion-chip.agent-Brn3CiFE.js} +9 -8
  128. package/dist/_chunks/{switch-BJ6HD3Mn.js → switch-OILsBLWo.js} +25 -19
  129. package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
  130. package/dist/_chunks/{tabs-BIQ0ew1T.js → tabs-BxcOziCo.js} +67 -58
  131. package/dist/_chunks/{task-card.agent-CUPKYd7w.js → task-card.agent-Bt14CzUd.js} +4 -1
  132. package/dist/_chunks/{task-tray-CAncV-QQ.js → task-tray-qOEQflu4.js} +74 -57
  133. package/dist/_chunks/{text-area-BIx0tZ05.js → text-area-Bt3p7Pt0.js} +41 -34
  134. package/dist/_chunks/{text-input-BaClJL8Y.js → text-input-B-OWQ1Je.js} +15 -8
  135. package/dist/_chunks/{theme-toggle-DETmSu_h.js → theme-toggle-XB6o_lgs.js} +38 -26
  136. package/dist/_chunks/{time-picker-B5umYwfv.js → time-picker-BPlJWm8w.js} +41 -31
  137. package/dist/_chunks/{timeline-DQa5Tyz4.js → timeline-CqA4nKTI.js} +33 -25
  138. package/dist/_chunks/{toast.agent-vuLRRn2a.js → toast.agent-57UzyR9U.js} +62 -45
  139. package/dist/_chunks/tooth-scheme-BhQoPNBD.js +2131 -0
  140. package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
  141. package/dist/_chunks/{transcript-panel-CLHmv83g.js → transcript-panel-3THQX6nJ.js} +47 -33
  142. package/dist/_chunks/unit-converter-YEpD9evj.js +337 -0
  143. package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
  144. package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
  145. package/dist/_chunks/{use-password-requirements-DsgduV1x.js → use-password-requirements-BXvS2MBS.js} +131 -117
  146. package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
  147. package/dist/_chunks/users-MBVtUzwd.js +17 -0
  148. package/dist/_chunks/warning-stack--sTrrBDA.js +268 -0
  149. package/dist/_chunks/{whatsapp-button-DUjlWGKf.js → whatsapp-button-BIy6NaJK.js} +6 -3
  150. package/dist/_chunks/{workflow-map-JAZryZJr.js → workflow-map-Dy8mLCqF.js} +101 -90
  151. package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
  152. package/dist/agent/index.d.ts +4 -4
  153. package/dist/agent/index.js +37 -0
  154. package/dist/agent/registry.d.ts +33 -0
  155. package/dist/agent/types.d.ts +97 -4
  156. package/dist/agent-catalog.json +8081 -518
  157. package/dist/agent-i18n/en.json +1277 -0
  158. package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
  159. package/dist/components/_shared/entity-card/index.d.ts +1 -1
  160. package/dist/components/_shared/field-value.d.ts +21 -0
  161. package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
  162. package/dist/components/_shared/field-visibility.d.ts +36 -0
  163. package/dist/components/_shared/patient-fields.d.ts +119 -0
  164. package/dist/components/accordion/index.js +1 -1
  165. package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts +4 -0
  166. package/dist/components/address-autocomplete/address-autocomplete.d.ts +18 -0
  167. package/dist/components/address-autocomplete/index.d.ts +2 -1
  168. package/dist/components/address-autocomplete/index.js +3 -2
  169. package/dist/components/agenda-card/index.js +2 -2
  170. package/dist/components/agenda-tray/index.js +1 -1
  171. package/dist/components/ai-consent-banner/index.js +1 -1
  172. package/dist/components/ai-prompt-input/index.js +1 -1
  173. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +75 -0
  174. package/dist/components/ai-tools-rail/index.js +1 -1
  175. package/dist/components/alert/alert.d.ts +5 -0
  176. package/dist/components/alert/index.js +1 -1
  177. package/dist/components/anamnesis-card/index.js +1 -1
  178. package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
  179. package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
  180. package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
  181. package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
  182. package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
  183. package/dist/components/anatomy-scheme/index.d.ts +6 -0
  184. package/dist/components/anatomy-scheme/index.js +17 -0
  185. package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
  186. package/dist/components/annotation-marker/index.d.ts +3 -0
  187. package/dist/components/annotation-marker/index.js +7 -0
  188. package/dist/components/appointment-card/appointment-card.d.ts +25 -1
  189. package/dist/components/appointment-card/index.js +6 -5
  190. package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
  191. package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
  192. package/dist/components/appointment-timeline/index.d.ts +4 -0
  193. package/dist/components/appointment-timeline/index.js +6 -0
  194. package/dist/components/audio-recorder/index.js +1 -1
  195. package/dist/components/autocomplete/index.js +1 -1
  196. package/dist/components/badge/badge.d.ts +6 -2
  197. package/dist/components/badge/index.js +1 -1
  198. package/dist/components/bishop-score/bishop-score.agent.d.ts +4 -0
  199. package/dist/components/bishop-score/bishop-score.d.ts +17 -1
  200. package/dist/components/bishop-score/index.js +1 -1
  201. package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts +4 -0
  202. package/dist/components/bmi-calculator/bmi-calculator.d.ts +26 -0
  203. package/dist/components/bmi-calculator/index.js +1 -1
  204. package/dist/components/booking/index.js +1 -1
  205. package/dist/components/breadcrumb/index.js +1 -1
  206. package/dist/components/calculator-dialog/index.js +1 -1
  207. package/dist/components/calendar/index.js +1 -1
  208. package/dist/components/care-plan-card/index.js +1 -1
  209. package/dist/components/care-plan-entry-card/index.js +1 -1
  210. package/dist/components/care-plan-header/care-plan-header.agent.d.ts +4 -0
  211. package/dist/components/care-plan-header/care-plan-header.d.ts +100 -0
  212. package/dist/components/care-plan-header/index.d.ts +4 -0
  213. package/dist/components/care-plan-header/index.js +6 -0
  214. package/dist/components/carousel/index.js +1 -1
  215. package/dist/components/chart/index.js +1 -1
  216. package/dist/components/chat-container/index.js +1 -1
  217. package/dist/components/chat-input/index.js +1 -1
  218. package/dist/components/checkbox/index.js +1 -1
  219. package/dist/components/checkbox-group/index.js +1 -1
  220. package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
  221. package/dist/components/clinical-note-card/index.js +1 -1
  222. package/dist/components/collapsible/index.js +1 -1
  223. package/dist/components/color-picker/index.js +1 -1
  224. package/dist/components/combobox/index.js +1 -1
  225. package/dist/components/command-palette/index.js +1 -1
  226. package/dist/components/contact-profile-card/index.js +1 -1
  227. package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
  228. package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
  229. package/dist/components/control-room-rail/index.d.ts +5 -0
  230. package/dist/components/control-room-rail/index.js +9 -0
  231. package/dist/components/copy-field/index.js +1 -1
  232. package/dist/components/counter/counter.d.ts +22 -0
  233. package/dist/components/counter/index.d.ts +3 -0
  234. package/dist/components/counter/index.js +5 -0
  235. package/dist/components/cycle-calculator/index.js +1 -1
  236. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
  237. package/dist/components/data-table/index.d.ts +1 -1
  238. package/dist/components/data-table/index.js +32 -30
  239. package/dist/components/date-picker/index.js +1 -1
  240. package/dist/components/date-range-picker/index.js +1 -1
  241. package/dist/components/date-time-picker/index.js +1 -1
  242. package/dist/components/dependent-selector/index.js +1 -1
  243. package/dist/components/dialog/index.js +1 -1
  244. package/dist/components/document-scanner/index.js +1 -1
  245. package/dist/components/dropdown-menu/index.js +1 -1
  246. package/dist/components/due-date-calculator/index.js +2 -2
  247. package/dist/components/email-input/index.js +1 -1
  248. package/dist/components/entity-summary/entity-summary.d.ts +43 -0
  249. package/dist/components/entity-summary/index.d.ts +3 -0
  250. package/dist/components/entity-summary/index.js +5 -0
  251. package/dist/components/fetal-weight/index.js +1 -1
  252. package/dist/components/file-upload/index.js +1 -1
  253. package/dist/components/fiscal-code-input/index.js +1 -1
  254. package/dist/components/freemium-paywall/freemium-paywall.d.ts +6 -0
  255. package/dist/components/freemium-paywall/index.js +1 -1
  256. package/dist/components/gestational-age-calculator/index.js +1 -1
  257. package/dist/components/hcg-doubling/index.js +1 -1
  258. package/dist/components/header-settings/index.js +1 -1
  259. package/dist/components/index.d.ts +11 -0
  260. package/dist/components/list/index.js +1 -1
  261. package/dist/components/locale-picker/index.js +1 -1
  262. package/dist/components/map-view/index.js +1 -1
  263. package/dist/components/message-card/index.js +1 -1
  264. package/dist/components/message-tray/index.js +1 -1
  265. package/dist/components/multi-select/index.js +1 -1
  266. package/dist/components/navigation-menu/index.js +1 -1
  267. package/dist/components/notes-panel/index.d.ts +3 -0
  268. package/dist/components/notes-panel/index.js +5 -0
  269. package/dist/components/notes-panel/notes-panel.d.ts +64 -0
  270. package/dist/components/notification-card/index.js +2 -2
  271. package/dist/components/notification-tray/index.js +1 -1
  272. package/dist/components/number-input/index.js +1 -1
  273. package/dist/components/operator-hero/index.js +1 -1
  274. package/dist/components/otp-input/index.js +1 -1
  275. package/dist/components/pagination/index.js +1 -1
  276. package/dist/components/password-input/index.js +1 -1
  277. package/dist/components/patient-details/index.d.ts +5 -0
  278. package/dist/components/patient-details/index.js +6 -0
  279. package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
  280. package/dist/components/patient-details/patient-details.d.ts +96 -0
  281. package/dist/components/patient-search/index.js +1 -1
  282. package/dist/components/patient-summary-card/index.js +1 -1
  283. package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
  284. package/dist/components/patient-table/cell-renderers/balance-badge-cell.d.ts +13 -0
  285. package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts +43 -0
  286. package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts +24 -0
  287. package/dist/components/patient-table/columns.d.ts +131 -0
  288. package/dist/components/patient-table/index.d.ts +20 -0
  289. package/dist/components/patient-table/index.js +12 -0
  290. package/dist/components/patient-table/patient-table.d.ts +172 -0
  291. package/dist/components/patient-table/types.d.ts +222 -0
  292. package/dist/components/patient-table/use-responsive-columns.d.ts +111 -0
  293. package/dist/components/payment-card/index.js +1 -1
  294. package/dist/components/payment-form/index.js +1 -1
  295. package/dist/components/pdf-viewer/index.js +1 -1
  296. package/dist/components/periodontal-chart-card/index.js +1 -1
  297. package/dist/components/phone-input/index.js +1 -1
  298. package/dist/components/popover/index.js +1 -1
  299. package/dist/components/practice-results/index.js +1 -1
  300. package/dist/components/pregnancy-dating/index.js +1 -1
  301. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  302. package/dist/components/privacy-lock/index.js +1 -1
  303. package/dist/components/product-hub-tray/index.js +1 -1
  304. package/dist/components/progress/index.js +1 -1
  305. package/dist/components/public-footer/index.js +1 -1
  306. package/dist/components/public-header/index.js +1 -1
  307. package/dist/components/qr-code/index.js +1 -1
  308. package/dist/components/radio-group/index.js +1 -1
  309. package/dist/components/radiograph-panel/index.d.ts +4 -0
  310. package/dist/components/radiograph-panel/index.js +7 -0
  311. package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
  312. package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
  313. package/dist/components/recaptcha-widget/index.js +1 -1
  314. package/dist/components/resizable/index.js +1 -1
  315. package/dist/components/reviews-panel/index.js +1 -1
  316. package/dist/components/rich-text-editor/index.js +1 -1
  317. package/dist/components/search-bar/index.js +1 -1
  318. package/dist/components/search-input/index.js +2 -2
  319. package/dist/components/select/index.js +1 -1
  320. package/dist/components/session-countdown/index.js +1 -1
  321. package/dist/components/sheet/index.js +1 -1
  322. package/dist/components/sidebar/index.js +2 -2
  323. package/dist/components/sidebar/sidebar.d.ts +7 -0
  324. package/dist/components/sign-document/index.js +1 -1
  325. package/dist/components/signature-capture/index.js +1 -1
  326. package/dist/components/slider/index.js +1 -1
  327. package/dist/components/sparkline/index.js +1 -1
  328. package/dist/components/stepper-accordion/index.js +2 -2
  329. package/dist/components/stepper-progress/index.js +1 -1
  330. package/dist/components/suggestion-chip/index.js +1 -1
  331. package/dist/components/switch/index.js +1 -1
  332. package/dist/components/tab-bar/index.js +1 -1
  333. package/dist/components/tab-bar/tab-bar.d.ts +18 -1
  334. package/dist/components/tabs/index.js +1 -1
  335. package/dist/components/task-card/index.js +1 -1
  336. package/dist/components/task-tray/index.js +1 -1
  337. package/dist/components/text-area/index.js +1 -1
  338. package/dist/components/text-input/index.js +1 -1
  339. package/dist/components/theme-toggle/index.js +1 -1
  340. package/dist/components/time-picker/index.js +1 -1
  341. package/dist/components/timeline/index.js +1 -1
  342. package/dist/components/toast/index.js +1 -1
  343. package/dist/components/tooth-scheme/index.d.ts +2 -2
  344. package/dist/components/tooth-scheme/index.js +30 -23
  345. package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
  346. package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
  347. package/dist/components/tooth-scheme/tooth-scheme.d.ts +75 -11
  348. package/dist/components/transaction-chip/index.js +1 -1
  349. package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
  350. package/dist/components/transcript-panel/index.js +1 -1
  351. package/dist/components/unit-converter/index.js +1 -1
  352. package/dist/components/unit-converter/unit-converter.agent.d.ts +4 -0
  353. package/dist/components/unit-converter/unit-converter.d.ts +27 -0
  354. package/dist/components/warning-stack/index.js +1 -1
  355. package/dist/components/warning-stack/warning-stack.d.ts +14 -2
  356. package/dist/components/whatsapp-button/index.d.ts +1 -1
  357. package/dist/components/whatsapp-button/index.js +3 -2
  358. package/dist/components/whatsapp-button/whatsapp-button.d.ts +3 -0
  359. package/dist/components/workflow/index.js +1 -1
  360. package/dist/hooks/index.d.ts +1 -0
  361. package/dist/hooks/index.js +24 -22
  362. package/dist/hooks/use-clamp-overflow.d.ts +19 -0
  363. package/dist/hooks/use-overflow-collapse.d.ts +46 -0
  364. package/dist/hooks/use-persistent-state.d.ts +7 -1
  365. package/dist/hooks/use-scroll-overflow.d.ts +36 -0
  366. package/dist/i18n/locales/ar.d.ts +356 -0
  367. package/dist/i18n/locales/ar.js +370 -3
  368. package/dist/i18n/locales/de.d.ts +356 -0
  369. package/dist/i18n/locales/de.js +370 -3
  370. package/dist/i18n/locales/el.d.ts +356 -0
  371. package/dist/i18n/locales/el.js +370 -3
  372. package/dist/i18n/locales/en.d.ts +367 -0
  373. package/dist/i18n/locales/en.js +381 -3
  374. package/dist/i18n/locales/es.d.ts +356 -0
  375. package/dist/i18n/locales/es.js +370 -3
  376. package/dist/i18n/locales/fr.d.ts +356 -0
  377. package/dist/i18n/locales/fr.js +370 -3
  378. package/dist/i18n/locales/hi.d.ts +356 -0
  379. package/dist/i18n/locales/hi.js +370 -3
  380. package/dist/i18n/locales/it.d.ts +356 -0
  381. package/dist/i18n/locales/it.js +370 -3
  382. package/dist/i18n/locales/ja.d.ts +356 -0
  383. package/dist/i18n/locales/ja.js +370 -3
  384. package/dist/i18n/locales/nl.d.ts +356 -0
  385. package/dist/i18n/locales/nl.js +370 -3
  386. package/dist/i18n/locales/pl.d.ts +356 -0
  387. package/dist/i18n/locales/pl.js +370 -3
  388. package/dist/i18n/locales/pt.d.ts +356 -0
  389. package/dist/i18n/locales/pt.js +370 -3
  390. package/dist/i18n/locales/ro.d.ts +356 -0
  391. package/dist/i18n/locales/ro.js +370 -3
  392. package/dist/i18n/locales/ru.d.ts +356 -0
  393. package/dist/i18n/locales/ru.js +370 -3
  394. package/dist/i18n/locales/sq.d.ts +356 -0
  395. package/dist/i18n/locales/sq.js +370 -3
  396. package/dist/i18n/locales/sv.d.ts +356 -0
  397. package/dist/i18n/locales/sv.js +370 -3
  398. package/dist/i18n/locales/tr.d.ts +356 -0
  399. package/dist/i18n/locales/tr.js +370 -3
  400. package/dist/i18n/locales/zh.d.ts +356 -0
  401. package/dist/i18n/locales/zh.js +370 -3
  402. package/dist/index.js +740 -676
  403. package/dist/locales/ar.json +359 -3
  404. package/dist/locales/de.json +359 -3
  405. package/dist/locales/el.json +359 -3
  406. package/dist/locales/en.json +359 -3
  407. package/dist/locales/es.json +359 -3
  408. package/dist/locales/fr.json +359 -3
  409. package/dist/locales/hi.json +359 -3
  410. package/dist/locales/it.json +359 -3
  411. package/dist/locales/ja.json +359 -3
  412. package/dist/locales/nl.json +359 -3
  413. package/dist/locales/pl.json +359 -3
  414. package/dist/locales/pt.json +359 -3
  415. package/dist/locales/ro.json +359 -3
  416. package/dist/locales/ru.json +359 -3
  417. package/dist/locales/sq.json +359 -3
  418. package/dist/locales/sv.json +359 -3
  419. package/dist/locales/tr.json +359 -3
  420. package/dist/locales/zh.json +359 -3
  421. package/dist/patterns/alia-assistant/index.js +1 -1
  422. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  423. package/dist/patterns/patient-shell/index.js +1 -1
  424. package/dist/tokens.css +3 -2
  425. package/package.json +50 -1
  426. package/dist/_chunks/address-autocomplete-CT-9AOli.js +0 -358
  427. package/dist/_chunks/ai-tools-rail-CInA_1-E.js +0 -356
  428. package/dist/_chunks/appointment-tray-BMl89NPW.js +0 -419
  429. package/dist/_chunks/bishop-score-CjsB9bM-.js +0 -185
  430. package/dist/_chunks/bmi-calculator-n-823_1V.js +0 -258
  431. package/dist/_chunks/clinical-note-card-gtrxv6zn.js +0 -333
  432. package/dist/_chunks/editable-currency-cell-renderer-DHOspPee.js +0 -2409
  433. package/dist/_chunks/email-input-lQivsFrw.js +0 -396
  434. package/dist/_chunks/patient-summary-card-hEmr4eTW.js +0 -443
  435. package/dist/_chunks/registry-nPAVE19X.js +0 -21
  436. package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
  437. package/dist/_chunks/tooth-scheme-BIx1O2aJ.js +0 -1257
  438. package/dist/_chunks/unit-converter-C1V3ACM9.js +0 -196
  439. package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
  440. package/dist/_chunks/warning-stack-Cv4fr5zo.js +0 -220
@@ -1,47 +1,47 @@
1
- import { jsxs as f, jsx as s, Fragment as W } from "react/jsx-runtime";
2
- import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef as se, useEffect as H, useMemo as w, useImperativeHandle as _t } from "react";
1
+ import { jsxs as f, jsx as a, Fragment as W } from "react/jsx-runtime";
2
+ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef as ae, useEffect as H, useMemo as w, useImperativeHandle as _t } from "react";
3
3
  import { c as Pe } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as O, Trans as Pt } from "react-i18next";
5
- import { u as Ot } from "./registry-nPAVE19X.js";
6
- import { A as z } from "./alert-_mUKLmwA.js";
5
+ import { u as Ot } from "./registry-DvAUVLHh.js";
6
+ import { A as z } from "./alert-CHYZ96tR.js";
7
7
  import { B as ie } from "./button-DD_0Xdmr.js";
8
- import { C as Ke } from "./checkbox-DRcOdmXv.js";
9
- import { C as Bt } from "./checkbox-group-CpUwlHug.js";
10
- import { D as Et } from "./date-picker-oGg5BnXL.js";
11
- import { E as Vt } from "./email-input-lQivsFrw.js";
8
+ import { C as Ke } from "./checkbox-BuZ1u__2.js";
9
+ import { C as Bt } from "./checkbox-group-PqNmQ-cE.js";
10
+ import { D as Et } from "./date-picker-Dl9RKxaV.js";
11
+ import { E as Rt } from "./email-input-DJ7EXklP.js";
12
12
  import { F as Z } from "./form-field-BOm9hK35.js";
13
- import { P as Lt } from "./phone-input-DVXhNlIl.js";
14
- import { T as Rt } from "./text-area-BIx0tZ05.js";
15
- import { T as Ce } from "./text-input-BaClJL8Y.js";
13
+ import { P as Vt } from "./phone-input-DjU-XmO_.js";
14
+ import { T as Lt } from "./text-area-Bt3p7Pt0.js";
15
+ import { T as Ce } from "./text-input-B-OWQ1Je.js";
16
16
  import { S as Ft } from "./spinner-hbwuKwMf.js";
17
17
  import { I as tt } from "./icon-button-LqoiKcUN.js";
18
- import { S as Oe } from "./select-CEtRcon5.js";
19
- import { C as Ge } from "./combobox-BC-DFx8G.js";
20
- import { M as Ue } from "./multi-select-BcPylvHR.js";
18
+ import { S as Oe } from "./select-DMLG44F5.js";
19
+ import { C as Ge } from "./combobox-Clum7gJ1.js";
20
+ import { M as Ue } from "./multi-select-BdHHDrRN.js";
21
21
  import { S as _e } from "./skeleton-CZbwyJAA.js";
22
22
  import { E as dt } from "./empty-state-BLy7tigq.js";
23
- import { S as $t } from "./stepper-accordion-Dki6r9ZE.js";
24
- import { S as zt } from "./stepper-progress-DDjq5nei.js";
23
+ import { S as $t } from "./stepper-accordion-DC-H-8v4.js";
24
+ import { S as zt } from "./stepper-progress-Bv0njx4g.js";
25
25
  import { p as F, S as Kt } from "./slot-grid-FsqumOaS.js";
26
- import { s as le, i as at } from "./isSameDay-DUEiAT0G.js";
26
+ import { s as le, i as st } from "./isSameDay-DUEiAT0G.js";
27
27
  import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as Me } from "./date-picker-variants-DAcSLTua.js";
28
28
  import { s as Ht } from "./subDays-BcYv1Lxi.js";
29
29
  import { C as Gt } from "./chevron-left-CX1jqD2M.js";
30
30
  import { C as Ut } from "./chevron-right-BrpYejk0.js";
31
- import { c as L } from "./createLucideIcon-CrFbzy84.js";
31
+ import { c as V } from "./createLucideIcon-CrFbzy84.js";
32
32
  import { M as Yt, S as Jt } from "./sun-BuXE0xUS.js";
33
33
  import { S as Zt } from "./stethoscope-DT5qCW8Y.js";
34
34
  import { H as Wt } from "./heart-pulse-CvuyFKHB.js";
35
35
  import { E as Xt } from "./eye-LHlSU38h.js";
36
36
  import { S as Qt } from "./scan-line-lGioFwLC.js";
37
- import { S as ea } from "./sparkles-CuYXqQLg.js";
37
+ import { S as es } from "./sparkles-CuYXqQLg.js";
38
38
  /**
39
39
  * @license lucide-react v1.8.0 - ISC
40
40
  *
41
41
  * This source code is licensed under the ISC license.
42
42
  * See the LICENSE file in the root directory of this source tree.
43
43
  */
44
- const ta = [
44
+ const ts = [
45
45
  [
46
46
  "path",
47
47
  {
@@ -49,14 +49,14 @@ const ta = [
49
49
  key: "169zse"
50
50
  }
51
51
  ]
52
- ], aa = L("activity", ta);
52
+ ], ss = V("activity", ts);
53
53
  /**
54
54
  * @license lucide-react v1.8.0 - ISC
55
55
  *
56
56
  * This source code is licensed under the ISC license.
57
57
  * See the LICENSE file in the root directory of this source tree.
58
58
  */
59
- const sa = [
59
+ const as = [
60
60
  ["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
61
61
  ["path", { d: "M15 12h.01", key: "1k8ypt" }],
62
62
  [
@@ -67,14 +67,14 @@ const sa = [
67
67
  }
68
68
  ],
69
69
  ["path", { d: "M9 12h.01", key: "157uk2" }]
70
- ], ia = L("baby", sa);
70
+ ], is = V("baby", as);
71
71
  /**
72
72
  * @license lucide-react v1.8.0 - ISC
73
73
  *
74
74
  * This source code is licensed under the ISC license.
75
75
  * See the LICENSE file in the root directory of this source tree.
76
76
  */
77
- const na = [
77
+ const ns = [
78
78
  [
79
79
  "path",
80
80
  {
@@ -82,14 +82,14 @@ const na = [
82
82
  key: "w610uw"
83
83
  }
84
84
  ]
85
- ], oa = L("bone", na);
85
+ ], os = V("bone", ns);
86
86
  /**
87
87
  * @license lucide-react v1.8.0 - ISC
88
88
  *
89
89
  * This source code is licensed under the ISC license.
90
90
  * See the LICENSE file in the root directory of this source tree.
91
91
  */
92
- const ra = [
92
+ const rs = [
93
93
  ["path", { d: "M12 18V5", key: "adv99a" }],
94
94
  ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
95
95
  ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
@@ -98,14 +98,14 @@ const ra = [
98
98
  ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
99
99
  ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
100
100
  ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
101
- ], da = L("brain", ra);
101
+ ], ds = V("brain", rs);
102
102
  /**
103
103
  * @license lucide-react v1.8.0 - ISC
104
104
  *
105
105
  * This source code is licensed under the ISC license.
106
106
  * See the LICENSE file in the root directory of this source tree.
107
107
  */
108
- const la = [
108
+ const ls = [
109
109
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
110
110
  ["path", { d: "M16 2v4", key: "4m81vk" }],
111
111
  ["path", { d: "M3 10h18", key: "8toen8" }],
@@ -114,14 +114,14 @@ const la = [
114
114
  ["path", { d: "M13 18H7", key: "bb0bb7" }],
115
115
  ["path", { d: "M7 14h.01", key: "1qa3f1" }],
116
116
  ["path", { d: "M17 18h.01", key: "1bdyru" }]
117
- ], ca = L("calendar-range", la);
117
+ ], cs = V("calendar-range", ls);
118
118
  /**
119
119
  * @license lucide-react v1.8.0 - ISC
120
120
  *
121
121
  * This source code is licensed under the ISC license.
122
122
  * See the LICENSE file in the root directory of this source tree.
123
123
  */
124
- const ua = [
124
+ const us = [
125
125
  ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
126
126
  [
127
127
  "path",
@@ -131,76 +131,76 @@ const ua = [
131
131
  }
132
132
  ],
133
133
  ["path", { d: "m9 14 2 2 4-4", key: "df797q" }]
134
- ], pa = L("clipboard-check", ua);
134
+ ], ps = V("clipboard-check", us);
135
135
  /**
136
136
  * @license lucide-react v1.8.0 - ISC
137
137
  *
138
138
  * This source code is licensed under the ISC license.
139
139
  * See the LICENSE file in the root directory of this source tree.
140
140
  */
141
- const ma = [
141
+ const ms = [
142
142
  ["path", { d: "M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0", key: "1dfaln" }],
143
143
  ["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
144
- ], ga = L("ear", ma);
144
+ ], gs = V("ear", ms);
145
145
  /**
146
146
  * @license lucide-react v1.8.0 - ISC
147
147
  *
148
148
  * This source code is licensed under the ISC license.
149
149
  * See the LICENSE file in the root directory of this source tree.
150
150
  */
151
- const fa = [
151
+ const fs = [
152
152
  ["path", { d: "M6 18h8", key: "1borvv" }],
153
153
  ["path", { d: "M3 22h18", key: "8prr45" }],
154
154
  ["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
155
155
  ["path", { d: "M9 14h2", key: "197e7h" }],
156
156
  ["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
157
157
  ["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
158
- ], ha = L("microscope", fa);
158
+ ], hs = V("microscope", fs);
159
159
  /**
160
160
  * @license lucide-react v1.8.0 - ISC
161
161
  *
162
162
  * This source code is licensed under the ISC license.
163
163
  * See the LICENSE file in the root directory of this source tree.
164
164
  */
165
- const va = [
165
+ const vs = [
166
166
  [
167
167
  "path",
168
168
  { d: "m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z", key: "wa1lgi" }
169
169
  ],
170
170
  ["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
171
- ], ba = L("pill", va);
171
+ ], bs = V("pill", vs);
172
172
  /**
173
173
  * @license lucide-react v1.8.0 - ISC
174
174
  *
175
175
  * This source code is licensed under the ISC license.
176
176
  * See the LICENSE file in the root directory of this source tree.
177
177
  */
178
- const ya = [
178
+ const ys = [
179
179
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
180
180
  ["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
181
181
  ["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
182
182
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
183
183
  ["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
184
- ], ka = L("scissors", ya);
184
+ ], ks = V("scissors", ys);
185
185
  /**
186
186
  * @license lucide-react v1.8.0 - ISC
187
187
  *
188
188
  * This source code is licensed under the ISC license.
189
189
  * See the LICENSE file in the root directory of this source tree.
190
190
  */
191
- const xa = [
191
+ const xs = [
192
192
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
193
193
  ["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
194
194
  ["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
195
195
  ["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
196
- ], Sa = L("smile", xa);
196
+ ], Ss = V("smile", xs);
197
197
  /**
198
198
  * @license lucide-react v1.8.0 - ISC
199
199
  *
200
200
  * This source code is licensed under the ISC license.
201
201
  * See the LICENSE file in the root directory of this source tree.
202
202
  */
203
- const Ia = [
203
+ const Is = [
204
204
  ["path", { d: "M12 10V2", key: "16sf7g" }],
205
205
  ["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
206
206
  ["path", { d: "M2 18h2", key: "j10viu" }],
@@ -209,27 +209,30 @@ const Ia = [
209
209
  ["path", { d: "M22 22H2", key: "19qnx5" }],
210
210
  ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
211
211
  ["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
212
- ], Na = L("sunset", Ia);
212
+ ], Ns = V("sunset", Is);
213
213
  /**
214
214
  * @license lucide-react v1.8.0 - ISC
215
215
  *
216
216
  * This source code is licensed under the ISC license.
217
217
  * See the LICENSE file in the root directory of this source tree.
218
218
  */
219
- const wa = [
219
+ const ws = [
220
220
  ["path", { d: "m18 2 4 4", key: "22kx64" }],
221
221
  ["path", { d: "m17 7 3-3", key: "1w1zoj" }],
222
222
  ["path", { d: "M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5", key: "1exhtz" }],
223
223
  ["path", { d: "m9 11 4 4", key: "rovt3i" }],
224
224
  ["path", { d: "m5 19-3 3", key: "59f2uf" }],
225
225
  ["path", { d: "m14 4 6 6", key: "yqp9t2" }]
226
- ], st = L("syringe", wa);
227
- function Ca(e, t, a) {
228
- return lt(e, -1, a);
226
+ ], at = V("syringe", ws);
227
+ function Cs(e, t, s) {
228
+ return lt(e, -1, s);
229
229
  }
230
- const Ma = {
230
+ const Ms = {
231
231
  id: "booking",
232
- capabilities: ["navigate", "view_change"],
232
+ // `view_change` removed (0.69): the layout `variant` is a fixed prop — the
233
+ // handle exposes only `getVariant` (state), no action mutates it. The flow's
234
+ // only navigation is step-to-step (`goto_step` → `navigate`).
235
+ capabilities: ["navigate"],
233
236
  state: {
234
237
  variant: {
235
238
  type: "string",
@@ -240,9 +243,13 @@ const Ma = {
240
243
  },
241
244
  actions: {
242
245
  reset: {
243
- safety: "write",
246
+ // destructive: clears the whole in-progress booking value (patient
247
+ // identity, contact, slot choice) — irreversibly loses user input.
248
+ safety: "destructive",
249
+ idempotent: !0,
244
250
  descriptionKey: "ui.agent.booking.actions.reset",
245
251
  description: "Clear the booking value back to an empty state. Use to abandon an in-progress flow.",
252
+ errors: ["Resetting after submit has no effect — the flow is on step 8."],
246
253
  invoke: (e) => {
247
254
  e.reset();
248
255
  }
@@ -250,8 +257,24 @@ const Ma = {
250
257
  goto_step: {
251
258
  safety: "read",
252
259
  argsType: "{ step: 1 | 2 | 3 | 4 | 5 | 6 | 7 }",
260
+ argsSchema: {
261
+ type: "object",
262
+ properties: {
263
+ step: {
264
+ type: "integer",
265
+ enum: [1, 2, 3, 4, 5, 6, 7],
266
+ description: "Target step (1-7)."
267
+ }
268
+ },
269
+ required: ["step"]
270
+ },
271
+ idempotent: !0,
253
272
  descriptionKey: "ui.agent.booking.actions.gotoStep",
254
273
  description: "Jump to the given step. Implementations may clamp to the first incomplete step if the requested one is not reachable yet.",
274
+ errors: [
275
+ "Requested step is not yet reachable — clamped to the first incomplete step."
276
+ ],
277
+ examples: [{ args: { step: 1 }, note: "Return to the first step." }],
255
278
  invoke: (e, t) => {
256
279
  e.goToStep(t.step);
257
280
  }
@@ -273,19 +296,19 @@ const Ma = {
273
296
  "email",
274
297
  "whatsapp",
275
298
  "sms"
276
- ], X = "all", Da = "de";
277
- function Aa(e) {
299
+ ], X = "all", Ds = "de";
300
+ function As(e) {
278
301
  return [...e.lockedOperatorId ? e.specialties.filter(
279
- (a) => {
302
+ (s) => {
280
303
  var i;
281
- return (i = a.operatorIds) == null ? void 0 : i.includes(e.lockedOperatorId);
304
+ return (i = s.operatorIds) == null ? void 0 : i.includes(e.lockedOperatorId);
282
305
  }
283
- ) : e.specialties].sort((a, i) => {
284
- const n = a.sequenceNumber ?? Number.POSITIVE_INFINITY, o = i.sequenceNumber ?? Number.POSITIVE_INFINITY;
306
+ ) : e.specialties].sort((s, i) => {
307
+ const n = s.sequenceNumber ?? Number.POSITIVE_INFINITY, o = i.sequenceNumber ?? Number.POSITIVE_INFINITY;
285
308
  return n - o;
286
309
  });
287
310
  }
288
- function Ta(e) {
311
+ function Ts(e) {
289
312
  let t = e.services;
290
313
  if (e.lockedOperatorId && (t = t.filter(
291
314
  (i) => {
@@ -300,34 +323,34 @@ function Ta(e) {
300
323
  }
301
324
  return t;
302
325
  }
303
- function _a(e) {
326
+ function _s(e) {
304
327
  const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties;
305
328
  if (t) {
306
- const a = ue(e.value);
307
- if (a.length > 0)
329
+ const s = ue(e.value);
330
+ if (s.length > 0)
308
331
  return e.operators.filter(
309
332
  (i) => {
310
333
  var n;
311
- return (n = i.specialtyIds) == null ? void 0 : n.some((o) => a.includes(o));
334
+ return (n = i.specialtyIds) == null ? void 0 : n.some((o) => s.includes(o));
312
335
  }
313
336
  );
314
337
  }
315
338
  if (!t) {
316
- const a = Be(e.value);
317
- if (a.length > 0)
339
+ const s = Be(e.value);
340
+ if (s.length > 0)
318
341
  return e.operators.filter(
319
342
  (i) => {
320
343
  var n;
321
- return (n = i.appointmentBookingReasonIds) == null ? void 0 : n.some((o) => a.includes(o));
344
+ return (n = i.appointmentBookingReasonIds) == null ? void 0 : n.some((o) => s.includes(o));
322
345
  }
323
346
  );
324
347
  }
325
348
  return [];
326
349
  }
327
- function Pa(e, t) {
328
- const a = e.country === Da, i = !a || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, D = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && m.length === 0;
350
+ function Ps(e, t) {
351
+ const s = e.country === Ds, i = !s || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, D = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && m.length === 0;
329
352
  return {
330
- insurance: a,
353
+ insurance: s,
331
354
  specialty: o,
332
355
  service: p,
333
356
  operator: k,
@@ -337,9 +360,9 @@ function Pa(e, t) {
337
360
  onboardingIncomplete: y
338
361
  };
339
362
  }
340
- function Oa(e, t) {
341
- const a = [];
342
- t.insurance && a.push(1), t.specialty && a.push(2), a.push(3), t.operator && a.push(4), a.push(5), a.push(6), a.push(7);
363
+ function Os(e, t) {
364
+ const s = [];
365
+ t.insurance && s.push(1), t.specialty && s.push(2), s.push(3), t.operator && s.push(4), s.push(5), s.push(6), s.push(7);
343
366
  const i = {
344
367
  1: e.value.insuranceType !== void 0,
345
368
  // 0.34.0: array-or-single — satisfied when EITHER form is present.
@@ -352,24 +375,24 @@ function Oa(e, t) {
352
375
  // details fulfilment is owned by the form's own validation
353
376
  };
354
377
  return {
355
- currentStep: a.find((o) => !i[o]) ?? 7,
356
- visibleSteps: a
378
+ currentStep: s.find((o) => !i[o]) ?? 7,
379
+ visibleSteps: s
357
380
  };
358
381
  }
359
- function Ba(e) {
382
+ function Bs(e) {
360
383
  const t = {
361
- specialties: Aa(e),
362
- services: Ta(e),
363
- operators: _a(e)
364
- }, a = Pa(e, t), { currentStep: i, visibleSteps: n } = Oa(e, a);
384
+ specialties: As(e),
385
+ services: Ts(e),
386
+ operators: _s(e)
387
+ }, s = Ps(e, t), { currentStep: i, visibleSteps: n } = Os(e, s);
365
388
  let o;
366
389
  if (e.value.date && e.value.slotKey) {
367
390
  const c = e.availableSlots[e.value.date];
368
391
  c && (o = c.find((m) => m.key === e.value.slotKey));
369
392
  }
370
- const l = Be(e.value), u = l.length > 0 ? e.services.find((c) => c.id === l[0]) : void 0, p = ue(e.value).length > 0, r = l.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!a.insurance || e.value.insuranceType !== void 0) && (!a.specialty || p);
393
+ const l = Be(e.value), u = l.length > 0 ? e.services.find((c) => c.id === l[0]) : void 0, p = ue(e.value).length > 0, r = l.length > 0 && e.value.date !== void 0 && e.value.slotKey !== void 0 && (!s.insurance || e.value.insuranceType !== void 0) && (!s.specialty || p);
371
394
  return {
372
- gates: a,
395
+ gates: s,
373
396
  filtered: t,
374
397
  currentStep: i,
375
398
  totalSteps: n.length,
@@ -435,12 +458,12 @@ function mt(e, t) {
435
458
  };
436
459
  }
437
460
  function gt(e, t) {
438
- const a = !!t && t.length > 0;
461
+ const s = !!t && t.length > 0;
439
462
  return {
440
463
  ...e,
441
464
  serviceId: void 0,
442
465
  serviceIds: t,
443
- operatorId: a ? X : void 0,
466
+ operatorId: s ? X : void 0,
444
467
  operatorIds: void 0,
445
468
  date: void 0,
446
469
  slotKey: void 0,
@@ -488,47 +511,47 @@ function vt(e, t) {
488
511
  slotKey: t
489
512
  };
490
513
  }
491
- function Ea(e, t) {
492
- let a = e;
493
- if (t.lockedOperatorId && a.operatorId !== t.lockedOperatorId && (a = { ...a, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && a.specialtyId === void 0 && a.specialtyIds === void 0 && (a = { ...a, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
494
- const n = ue(a), o = n.length > 0 ? t.services.filter(
514
+ function Es(e, t) {
515
+ let s = e;
516
+ if (t.lockedOperatorId && s.operatorId !== t.lockedOperatorId && (s = { ...s, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && s.specialtyId === void 0 && s.specialtyIds === void 0 && (s = { ...s, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
517
+ const n = ue(s), o = n.length > 0 ? t.services.filter(
495
518
  (l) => l.specialtyId && n.includes(l.specialtyId)
496
519
  ) : t.services;
497
- o.length === 1 && a.serviceId === void 0 && a.serviceIds === void 0 && (a = { ...a, serviceId: o[0].id }, a.operatorId === void 0 && a.operatorIds === void 0 && (a = { ...a, operatorId: X }));
520
+ o.length === 1 && s.serviceId === void 0 && s.serviceIds === void 0 && (s = { ...s, serviceId: o[0].id }, s.operatorId === void 0 && s.operatorIds === void 0 && (s = { ...s, operatorId: X }));
498
521
  }
499
- return a;
522
+ return s;
500
523
  }
501
524
  function He(e) {
502
525
  if (e.operatorId && e.operatorId !== X)
503
526
  return e.operatorId;
504
527
  }
505
- function Va(e) {
528
+ function Rs(e) {
506
529
  if (!e) return !1;
507
530
  const t = e.trim();
508
531
  return /^\+?\d[\d\s\-()]{6,}$/.test(t);
509
532
  }
510
533
  function bt(e) {
511
- const t = e && e.length > 0 ? e : ["email"], a = new Set(t);
512
- return qe.filter((i) => a.has(i));
534
+ const t = e && e.length > 0 ? e : ["email"], s = new Set(t);
535
+ return qe.filter((i) => s.has(i));
513
536
  }
514
- function La(e, t, a) {
537
+ function Vs(e, t, s) {
515
538
  const i = bt(e), n = new Set(i);
516
- if (a)
539
+ if (s)
517
540
  return qe.filter(
518
- (r) => a.includes(r) && n.has(r)
541
+ (r) => s.includes(r) && n.has(r)
519
542
  );
520
543
  const o = [];
521
544
  n.has("email") && o.push("email");
522
- const l = Va(t), u = n.has("whatsapp");
545
+ const l = Rs(t), u = n.has("whatsapp");
523
546
  u && l && o.push("whatsapp"), !u && n.has("sms") && o.push("sms");
524
547
  const p = new Set(o);
525
548
  return qe.filter((r) => p.has(r));
526
549
  }
527
- const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, De = { state: "idle" }, Ye = ot(
550
+ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, De = { state: "idle" }, Ye = ot(
528
551
  ({
529
552
  value: e,
530
553
  onChange: t,
531
- onSubmit: a,
554
+ onSubmit: s,
532
555
  requireCodiceFiscale: i = !1,
533
556
  requireDateOfBirth: n = !1,
534
557
  requireInsuranceNumber: o = !1,
@@ -550,7 +573,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
550
573
  const { t: d } = O(), T = rt(), [x, g] = K(De), [S, _] = K(De), [A, G] = K({}), B = j(
551
574
  (h) => G((C) => ({ ...C, [h]: !0 })),
552
575
  []
553
- ), E = se(null), U = se(
576
+ ), E = ae(null), U = ae(
554
577
  null
555
578
  );
556
579
  H(
@@ -565,7 +588,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
565
588
  ), Q = w(
566
589
  () => bt(M),
567
590
  [M]
568
- ), q = Q.length >= 2, pe = se(!1);
591
+ ), q = Q.length >= 2, pe = ae(!1);
569
592
  H(() => {
570
593
  if (!q) {
571
594
  e.confirmationChannels !== void 0 && P({ confirmationChannels: void 0 });
@@ -575,7 +598,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
575
598
  pe.current = !0;
576
599
  return;
577
600
  }
578
- const h = La(
601
+ const h = Vs(
579
602
  Q,
580
603
  e.mobilePhone,
581
604
  D
@@ -597,7 +620,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
597
620
  g(De);
598
621
  return;
599
622
  }
600
- if (!Ra.test(h)) {
623
+ if (!Ls.test(h)) {
601
624
  g({
602
625
  state: "invalid",
603
626
  hint: d("booking.details.codiceFiscale.invalidFormat")
@@ -638,7 +661,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
638
661
  }, nt);
639
662
  }, [Y, k, e.insuranceNumber, d]);
640
663
  const ne = w(
641
- () => !!(e.email && Fa.test(e.email)),
664
+ () => !!(e.email && Fs.test(e.email)),
642
665
  [e.email]
643
666
  ), me = w(
644
667
  () => !!(e.mobilePhone && e.mobilePhone.length >= 6),
@@ -657,7 +680,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
657
680
  e.dateOfBirth,
658
681
  Y,
659
682
  S.state
660
- ]), Ie = !!(e.privacyConsent && e.termsConsent), Ve = !q || ee.length > 0, oe = Se && Ie && Ve && !I, Le = (h) => {
683
+ ]), Ie = !!(e.privacyConsent && e.termsConsent), Re = !q || ee.length > 0, oe = Se && Ie && Re && !I, Ve = (h) => {
661
684
  if (h.preventDefault(), G({
662
685
  firstName: !0,
663
686
  lastName: !0,
@@ -684,10 +707,10 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
684
707
  // config.
685
708
  confirmationChannels: q ? ee : void 0
686
709
  };
687
- a(C);
710
+ s(C);
688
711
  }, Ne = (h, C) => {
689
712
  const te = C && /^https?:\/\//i.test(C) ? C : void 0;
690
- return te ? /* @__PURE__ */ s(
713
+ return te ? /* @__PURE__ */ a(
691
714
  Pt,
692
715
  {
693
716
  i18nKey: h,
@@ -699,7 +722,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
699
722
  // label.
700
723
  policyLink: (
701
724
  // eslint-disable-next-line jsx-a11y/anchor-has-content
702
- /* @__PURE__ */ s(
725
+ /* @__PURE__ */ a(
703
726
  "a",
704
727
  {
705
728
  href: te,
@@ -719,18 +742,18 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
719
742
  ref: b,
720
743
  id: T,
721
744
  noValidate: !0,
722
- onSubmit: Le,
745
+ onSubmit: Ve,
723
746
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
724
747
  children: [
725
748
  v,
726
749
  /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
727
- /* @__PURE__ */ s(
750
+ /* @__PURE__ */ a(
728
751
  Z,
729
752
  {
730
753
  label: d("booking.details.firstName.label"),
731
754
  required: !0,
732
755
  error: A.firstName && !((we = e.firstName) != null && we.trim()) ? d("booking.details.firstName.required") : void 0,
733
- children: /* @__PURE__ */ s(
756
+ children: /* @__PURE__ */ a(
734
757
  Ce,
735
758
  {
736
759
  autoComplete: "given-name",
@@ -741,13 +764,13 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
741
764
  )
742
765
  }
743
766
  ),
744
- /* @__PURE__ */ s(
767
+ /* @__PURE__ */ a(
745
768
  Z,
746
769
  {
747
770
  label: d("booking.details.lastName.label"),
748
771
  required: !0,
749
772
  error: A.lastName && !((re = e.lastName) != null && re.trim()) ? d("booking.details.lastName.required") : void 0,
750
- children: /* @__PURE__ */ s(
773
+ children: /* @__PURE__ */ a(
751
774
  Ce,
752
775
  {
753
776
  autoComplete: "family-name",
@@ -760,14 +783,14 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
760
783
  )
761
784
  ] }),
762
785
  /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
763
- /* @__PURE__ */ s(
786
+ /* @__PURE__ */ a(
764
787
  Z,
765
788
  {
766
789
  label: d("booking.details.email.label"),
767
790
  required: !0,
768
791
  error: A.email && !ne ? d("booking.details.email.invalid") : void 0,
769
- children: /* @__PURE__ */ s(
770
- Vt,
792
+ children: /* @__PURE__ */ a(
793
+ Rt,
771
794
  {
772
795
  value: e.email ?? "",
773
796
  onChange: (h) => P({ email: h.target.value }),
@@ -776,14 +799,14 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
776
799
  )
777
800
  }
778
801
  ),
779
- /* @__PURE__ */ s(
802
+ /* @__PURE__ */ a(
780
803
  Z,
781
804
  {
782
805
  label: d("booking.details.mobilePhone.label"),
783
806
  required: !0,
784
807
  error: A.mobilePhone && !me ? d("booking.details.mobilePhone.invalid") : void 0,
785
- children: /* @__PURE__ */ s(
786
- Lt,
808
+ children: /* @__PURE__ */ a(
809
+ Vt,
787
810
  {
788
811
  value: e.mobilePhone ?? "",
789
812
  defaultCountry: N == null ? void 0 : N.toUpperCase(),
@@ -796,14 +819,14 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
796
819
  )
797
820
  ] }),
798
821
  i || n ? /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-sm)] ds:sm:grid-cols-2", children: [
799
- i ? /* @__PURE__ */ s(
822
+ i ? /* @__PURE__ */ a(
800
823
  Z,
801
824
  {
802
825
  label: d("booking.details.codiceFiscale.label"),
803
826
  required: !0,
804
827
  description: x.state === "pending" ? d("booking.details.codiceFiscale.checking") : d("booking.details.codiceFiscale.helper"),
805
828
  error: A.codiceFiscale && x.state === "invalid" ? x.hint ?? d("booking.details.codiceFiscale.invalid") : void 0,
806
- children: /* @__PURE__ */ s(
829
+ children: /* @__PURE__ */ a(
807
830
  Ce,
808
831
  {
809
832
  value: e.codiceFiscale ?? "",
@@ -816,13 +839,13 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
816
839
  )
817
840
  }
818
841
  ) : null,
819
- n ? /* @__PURE__ */ s(
842
+ n ? /* @__PURE__ */ a(
820
843
  Z,
821
844
  {
822
845
  label: d("booking.details.dateOfBirth.label"),
823
846
  required: !0,
824
847
  error: A.dateOfBirth && !e.dateOfBirth ? d("booking.details.dateOfBirth.required") : void 0,
825
- children: /* @__PURE__ */ s(
848
+ children: /* @__PURE__ */ a(
826
849
  Et,
827
850
  {
828
851
  value: e.dateOfBirth ? new Date(e.dateOfBirth) : void 0,
@@ -836,14 +859,14 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
836
859
  }
837
860
  ) : null
838
861
  ] }) : null,
839
- Y ? /* @__PURE__ */ s(
862
+ Y ? /* @__PURE__ */ a(
840
863
  Z,
841
864
  {
842
865
  label: d("booking.details.insuranceNumber.label"),
843
866
  required: !0,
844
867
  description: S.state === "pending" ? d("booking.details.insuranceNumber.checking") : void 0,
845
868
  error: A.insuranceNumber && S.state === "invalid" ? S.hint ?? d("booking.details.insuranceNumber.invalid") : void 0,
846
- children: /* @__PURE__ */ s(
869
+ children: /* @__PURE__ */ a(
847
870
  Ce,
848
871
  {
849
872
  value: e.insuranceNumber ?? "",
@@ -853,15 +876,15 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
853
876
  )
854
877
  }
855
878
  ) : null,
856
- u ? /* @__PURE__ */ s(
879
+ u ? /* @__PURE__ */ a(
857
880
  Z,
858
881
  {
859
882
  label: d("booking.details.note.label"),
860
883
  description: d("booking.details.note.helper", {
861
884
  max: it
862
885
  }),
863
- children: /* @__PURE__ */ s(
864
- Rt,
886
+ children: /* @__PURE__ */ a(
887
+ Lt,
865
888
  {
866
889
  value: e.note ?? "",
867
890
  maxLength: it,
@@ -871,7 +894,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
871
894
  )
872
895
  }
873
896
  ) : null,
874
- p ? /* @__PURE__ */ s(
897
+ p ? /* @__PURE__ */ a(
875
898
  Ke,
876
899
  {
877
900
  checked: !!e.returningPatient,
@@ -880,7 +903,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
880
903
  }
881
904
  ) : null,
882
905
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
883
- /* @__PURE__ */ s(
906
+ /* @__PURE__ */ a(
884
907
  Ke,
885
908
  {
886
909
  checked: !!e.privacyConsent,
@@ -890,7 +913,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
890
913
  "booking.details.consent.privacy.label",
891
914
  r
892
915
  ),
893
- /* @__PURE__ */ s(
916
+ /* @__PURE__ */ a(
894
917
  "span",
895
918
  {
896
919
  "aria-hidden": "true",
@@ -901,7 +924,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
901
924
  ] })
902
925
  }
903
926
  ),
904
- /* @__PURE__ */ s(
927
+ /* @__PURE__ */ a(
905
928
  Ke,
906
929
  {
907
930
  checked: !!e.termsConsent,
@@ -911,7 +934,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
911
934
  "booking.details.consent.terms.label",
912
935
  c
913
936
  ),
914
- /* @__PURE__ */ s(
937
+ /* @__PURE__ */ a(
915
938
  "span",
916
939
  {
917
940
  "aria-hidden": "true",
@@ -923,12 +946,12 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
923
946
  }
924
947
  )
925
948
  ] }),
926
- q ? /* @__PURE__ */ s(
949
+ q ? /* @__PURE__ */ a(
927
950
  "div",
928
951
  {
929
952
  "data-component": "booking-confirmation-channels",
930
953
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
931
- children: /* @__PURE__ */ s(
954
+ children: /* @__PURE__ */ a(
932
955
  Bt,
933
956
  {
934
957
  label: d("booking.confirmation.heading"),
@@ -947,15 +970,15 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
947
970
  )
948
971
  }
949
972
  ) : null,
950
- y ? /* @__PURE__ */ s(z, { variant: "error", children: /* @__PURE__ */ s(z.Description, { children: y }) }) : null,
951
- /* @__PURE__ */ s(
973
+ y ? /* @__PURE__ */ a(z, { variant: "error", children: /* @__PURE__ */ a(z.Description, { children: y }) }) : null,
974
+ /* @__PURE__ */ a(
952
975
  ie,
953
976
  {
954
977
  intent: "primary",
955
978
  size: "md",
956
979
  type: "submit",
957
980
  disabled: !oe,
958
- startIcon: I ? /* @__PURE__ */ s(Ft, { variant: "pulse", size: "sm" }) : void 0,
981
+ startIcon: I ? /* @__PURE__ */ a(Ft, { variant: "pulse", size: "sm" }) : void 0,
959
982
  children: d("booking.details.submit")
960
983
  }
961
984
  )
@@ -965,7 +988,7 @@ const it = 500, Ra = /^[A-Z0-9]{16}$/, Fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
965
988
  }
966
989
  );
967
990
  Ye.displayName = "BookingDetailsForm";
968
- const $a = Pe(
991
+ const $s = Pe(
969
992
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
970
993
  {
971
994
  variants: {
@@ -993,40 +1016,40 @@ const $a = Pe(
993
1016
  },
994
1017
  defaultVariants: { variant: "inline-list", surface: "flat" }
995
1018
  }
996
- ), za = [
1019
+ ), zs = [
997
1020
  [
998
1021
  /\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
999
- st
1022
+ at
1000
1023
  ],
1001
1024
  [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Wt],
1002
- [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Sa],
1025
+ [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Ss],
1003
1026
  [/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Xt],
1004
- [/\b(otorin|udito|orecchi|hearing|ear)/i, ga],
1005
- [/\b(neuro|brain|cervello)/i, da],
1006
- [/\b(pediatr|child|bambin)/i, ia],
1007
- [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, oa],
1008
- [/\b(lab|analis|test|sang|esami)/i, ha],
1009
- [/\b(farmaco|pharm|pillol|refill)/i, ba],
1010
- [/\b(chirurg|surg|intervent|operat)/i, ka],
1027
+ [/\b(otorin|udito|orecchi|hearing|ear)/i, gs],
1028
+ [/\b(neuro|brain|cervello)/i, ds],
1029
+ [/\b(pediatr|child|bambin)/i, is],
1030
+ [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, os],
1031
+ [/\b(lab|analis|test|sang|esami)/i, hs],
1032
+ [/\b(farmaco|pharm|pillol|refill)/i, bs],
1033
+ [/\b(chirurg|surg|intervent|operat)/i, ks],
1011
1034
  [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Qt],
1012
- [/\b(vacc|inject|inie|punto)/i, st],
1013
- [/\b(derma|skin|pelle)/i, ea],
1014
- [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, pa],
1015
- [/\b(general|medicin|family|control|check[-\s]?up)/i, aa]
1035
+ [/\b(vacc|inject|inie|punto)/i, at],
1036
+ [/\b(derma|skin|pelle)/i, es],
1037
+ [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ps],
1038
+ [/\b(general|medicin|family|control|check[-\s]?up)/i, ss]
1016
1039
  ];
1017
- function Ka(e) {
1018
- for (const [t, a] of za)
1019
- if (t.test(e)) return a;
1040
+ function Ks(e) {
1041
+ for (const [t, s] of zs)
1042
+ if (t.test(e)) return s;
1020
1043
  return null;
1021
1044
  }
1022
- function ja(e) {
1023
- const t = Ka(e.label) ?? Zt;
1024
- return /* @__PURE__ */ s(t, { "aria-hidden": "true", className: "ds:size-5" });
1045
+ function js(e) {
1046
+ const t = Ks(e.label) ?? Zt;
1047
+ return /* @__PURE__ */ a(t, { "aria-hidden": "true", className: "ds:size-5" });
1025
1048
  }
1026
- function ae(e) {
1049
+ function se(e) {
1027
1050
  return Te(e, "yyyy-MM-dd");
1028
1051
  }
1029
- const qa = [
1052
+ const qs = [
1030
1053
  "ds:relative ds:flex ds:items-center ds:justify-center",
1031
1054
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
1032
1055
  "ds:rounded-[var(--radius-sm)]",
@@ -1036,7 +1059,7 @@ const qa = [
1036
1059
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1037
1060
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1038
1061
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
1039
- ].join(" "), Ha = Pe(qa, {
1062
+ ].join(" "), Hs = Pe(qs, {
1040
1063
  variants: {
1041
1064
  state: {
1042
1065
  available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
@@ -1047,10 +1070,10 @@ const qa = [
1047
1070
  },
1048
1071
  defaultVariants: { state: "unavailable" }
1049
1072
  });
1050
- function Ga({
1073
+ function Gs({
1051
1074
  availableDates: e,
1052
1075
  selectedDate: t,
1053
- onSelectDate: a,
1076
+ onSelectDate: s,
1054
1077
  locale: i,
1055
1078
  loading: n
1056
1079
  }) {
@@ -1090,7 +1113,7 @@ function Ga({
1090
1113
  }
1091
1114
  });
1092
1115
  }, [i]), v = w(() => new Set(e), [e]), N = j(
1093
- (y) => v.has(ae(y)),
1116
+ (y) => v.has(se(y)),
1094
1117
  [v]
1095
1118
  ), M = w(() => {
1096
1119
  if (r) return r;
@@ -1123,7 +1146,7 @@ function Ga({
1123
1146
  break;
1124
1147
  case "Enter":
1125
1148
  case " ": {
1126
- y.preventDefault(), N(b) && a(ae(b));
1149
+ y.preventDefault(), N(b) && s(se(b));
1127
1150
  return;
1128
1151
  }
1129
1152
  default:
@@ -1131,7 +1154,7 @@ function Ga({
1131
1154
  }
1132
1155
  d && (y.preventDefault(), Me(d, u) || p(ye(d)), c(d));
1133
1156
  },
1134
- [N, a, u]
1157
+ [N, s, u]
1135
1158
  );
1136
1159
  return n ? /* @__PURE__ */ f(
1137
1160
  "div",
@@ -1141,26 +1164,26 @@ function Ga({
1141
1164
  "aria-label": o("common.loading"),
1142
1165
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
1143
1166
  children: [
1144
- /* @__PURE__ */ s(_e, { variant: "text", width: "40%" }),
1145
- /* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (y, b) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1167
+ /* @__PURE__ */ a(_e, { variant: "text", width: "40%" }),
1168
+ /* @__PURE__ */ a("div", { className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]", children: Array.from({ length: 42 }, (y, b) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "2.5rem" }, `mg-skel-${b}`)) })
1146
1169
  ]
1147
1170
  }
1148
1171
  ) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1149
1172
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1150
- /* @__PURE__ */ s(
1173
+ /* @__PURE__ */ a(
1151
1174
  tt,
1152
1175
  {
1153
- icon: /* @__PURE__ */ s(Gt, {}),
1176
+ icon: /* @__PURE__ */ a(Gt, {}),
1154
1177
  "aria-label": o("booking.previousMonth"),
1155
1178
  size: "sm",
1156
1179
  intent: "ghost",
1157
1180
  flipIconInRtl: !0,
1158
1181
  onClick: () => {
1159
- p((y) => Ca(y)), c(null);
1182
+ p((y) => Cs(y)), c(null);
1160
1183
  }
1161
1184
  }
1162
1185
  ),
1163
- /* @__PURE__ */ s(
1186
+ /* @__PURE__ */ a(
1164
1187
  "span",
1165
1188
  {
1166
1189
  className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]",
@@ -1168,10 +1191,10 @@ function Ga({
1168
1191
  children: k
1169
1192
  }
1170
1193
  ),
1171
- /* @__PURE__ */ s(
1194
+ /* @__PURE__ */ a(
1172
1195
  tt,
1173
1196
  {
1174
- icon: /* @__PURE__ */ s(Ut, {}),
1197
+ icon: /* @__PURE__ */ a(Ut, {}),
1175
1198
  "aria-label": o("booking.nextMonth"),
1176
1199
  size: "sm",
1177
1200
  intent: "ghost",
@@ -1189,12 +1212,12 @@ function Ga({
1189
1212
  "aria-label": o("booking.monthGridLabel"),
1190
1213
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
1191
1214
  children: [
1192
- /* @__PURE__ */ s(
1215
+ /* @__PURE__ */ a(
1193
1216
  "div",
1194
1217
  {
1195
1218
  role: "row",
1196
1219
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1197
- children: I.map((y, b) => /* @__PURE__ */ s(
1220
+ children: I.map((y, b) => /* @__PURE__ */ a(
1198
1221
  "div",
1199
1222
  {
1200
1223
  role: "columnheader",
@@ -1205,13 +1228,13 @@ function Ga({
1205
1228
  ))
1206
1229
  }
1207
1230
  ),
1208
- Array.from({ length: 6 }, (y, b) => /* @__PURE__ */ s(
1231
+ Array.from({ length: 6 }, (y, b) => /* @__PURE__ */ a(
1209
1232
  "div",
1210
1233
  {
1211
1234
  role: "row",
1212
1235
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1213
1236
  children: m.slice(b * 7, b * 7 + 7).map((d, T) => {
1214
- const x = b * 7 + T, g = Me(d, u), S = g && N(d), _ = t ? at(d, F(t)) : !1, A = g ? _ ? "selected" : S ? "available" : "unavailable" : "outside", G = M ? at(M, d) : !1, B = (() => {
1237
+ const x = b * 7 + T, g = Me(d, u), S = g && N(d), _ = t ? st(d, F(t)) : !1, A = g ? _ ? "selected" : S ? "available" : "unavailable" : "outside", G = M ? st(M, d) : !1, B = (() => {
1215
1238
  try {
1216
1239
  return new Intl.DateTimeFormat(i, {
1217
1240
  dateStyle: "full"
@@ -1220,7 +1243,7 @@ function Ga({
1220
1243
  return Te(d, "PPP");
1221
1244
  }
1222
1245
  })();
1223
- return /* @__PURE__ */ s(
1246
+ return /* @__PURE__ */ a(
1224
1247
  "button",
1225
1248
  {
1226
1249
  type: "button",
@@ -1231,11 +1254,11 @@ function Ga({
1231
1254
  tabIndex: G ? 0 : -1,
1232
1255
  disabled: !S,
1233
1256
  onClick: () => {
1234
- S && a(ae(d));
1257
+ S && s(se(d));
1235
1258
  },
1236
1259
  onKeyDown: (E) => D(E, d),
1237
- className: Ha({ state: A }),
1238
- children: /* @__PURE__ */ s("span", { "aria-hidden": "true", children: d.getDate() })
1260
+ className: Hs({ state: A }),
1261
+ children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: d.getDate() })
1239
1262
  },
1240
1263
  `mg-cell-${x}`
1241
1264
  );
@@ -1248,7 +1271,7 @@ function Ga({
1248
1271
  )
1249
1272
  ] });
1250
1273
  }
1251
- const Ua = Pe(
1274
+ const Us = Pe(
1252
1275
  [
1253
1276
  "ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
1254
1277
  "ds:min-h-[var(--min-target-size)]",
@@ -1274,10 +1297,10 @@ const Ua = Pe(
1274
1297
  defaultVariants: { state: "idle" }
1275
1298
  }
1276
1299
  );
1277
- function Ya({
1300
+ function Ys({
1278
1301
  services: e,
1279
1302
  selectedServiceId: t,
1280
- onSelect: a
1303
+ onSelect: s
1281
1304
  }) {
1282
1305
  const { t: i } = O(), n = rt(), [o, l] = K(() => {
1283
1306
  if (t) {
@@ -1285,7 +1308,7 @@ function Ya({
1285
1308
  if (c >= 0) return c;
1286
1309
  }
1287
1310
  return 0;
1288
- }), u = se(/* @__PURE__ */ new Map()), p = j((c) => {
1311
+ }), u = ae(/* @__PURE__ */ new Map()), p = j((c) => {
1289
1312
  var m;
1290
1313
  (m = u.current.get(c)) == null || m.focus();
1291
1314
  }, []), r = j(
@@ -1319,14 +1342,14 @@ function Ya({
1319
1342
  }
1320
1343
  case "Enter":
1321
1344
  case " ": {
1322
- c.preventDefault(), a(k);
1345
+ c.preventDefault(), s(k);
1323
1346
  break;
1324
1347
  }
1325
1348
  }
1326
1349
  },
1327
- [e.length, p, a]
1350
+ [e.length, p, s]
1328
1351
  );
1329
- return e.length === 0 ? null : /* @__PURE__ */ s(
1352
+ return e.length === 0 ? null : /* @__PURE__ */ a(
1330
1353
  "div",
1331
1354
  {
1332
1355
  role: "radiogroup",
@@ -1337,7 +1360,7 @@ function Ya({
1337
1360
  const k = t === c.id, I = o === m, v = i("booking.serviceCardLabel", {
1338
1361
  label: c.label,
1339
1362
  duration: c.durationMin
1340
- }), N = ja(c);
1363
+ }), N = js(c);
1341
1364
  return /* @__PURE__ */ f(
1342
1365
  "button",
1343
1366
  {
@@ -1349,14 +1372,14 @@ function Ya({
1349
1372
  "aria-checked": k,
1350
1373
  "aria-label": v,
1351
1374
  tabIndex: I ? 0 : -1,
1352
- onClick: () => a(c.id),
1375
+ onClick: () => s(c.id),
1353
1376
  onFocus: () => l(m),
1354
1377
  onKeyDown: (M) => r(M, m, c.id),
1355
- className: Ua({
1378
+ className: Us({
1356
1379
  state: k ? "selected" : "idle"
1357
1380
  }),
1358
1381
  children: [
1359
- /* @__PURE__ */ s(
1382
+ /* @__PURE__ */ a(
1360
1383
  "span",
1361
1384
  {
1362
1385
  "aria-hidden": "true",
@@ -1365,8 +1388,8 @@ function Ya({
1365
1388
  }
1366
1389
  ),
1367
1390
  /* @__PURE__ */ f("span", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
1368
- /* @__PURE__ */ s("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: c.label }),
1369
- /* @__PURE__ */ s("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: i("booking.serviceSummary", { minutes: c.durationMin }) })
1391
+ /* @__PURE__ */ a("span", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)]", children: c.label }),
1392
+ /* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: i("booking.serviceSummary", { minutes: c.durationMin }) })
1370
1393
  ] })
1371
1394
  ]
1372
1395
  },
@@ -1376,7 +1399,7 @@ function Ya({
1376
1399
  }
1377
1400
  );
1378
1401
  }
1379
- const Ja = Pe(
1402
+ const Js = Pe(
1380
1403
  [
1381
1404
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
1382
1405
  "ds:min-h-[var(--min-target-size)]",
@@ -1402,19 +1425,19 @@ const Ja = Pe(
1402
1425
  defaultVariants: { state: "idle" }
1403
1426
  }
1404
1427
  );
1405
- function Za(e) {
1406
- const [t] = e.split(":").map((i) => parseInt(i, 10)), a = Number.isFinite(t) ? t : 0;
1407
- return a < 12 ? "morning" : a < 17 ? "afternoon" : "evening";
1428
+ function Zs(e) {
1429
+ const [t] = e.split(":").map((i) => parseInt(i, 10)), s = Number.isFinite(t) ? t : 0;
1430
+ return s < 12 ? "morning" : s < 17 ? "afternoon" : "evening";
1408
1431
  }
1409
- const Wa = {
1432
+ const Ws = {
1410
1433
  morning: Jt,
1411
- afternoon: Na,
1434
+ afternoon: Ns,
1412
1435
  evening: Yt
1413
1436
  };
1414
- function Xa({
1437
+ function Xs({
1415
1438
  date: e,
1416
1439
  slots: t,
1417
- selectedSlotKey: a,
1440
+ selectedSlotKey: s,
1418
1441
  onSelect: i,
1419
1442
  loading: n,
1420
1443
  locale: o
@@ -1436,55 +1459,55 @@ function Xa({
1436
1459
  evening: []
1437
1460
  };
1438
1461
  for (const k of t)
1439
- m[Za(k.time)].push(k);
1462
+ m[Zs(k.time)].push(k);
1440
1463
  return m;
1441
1464
  }, [t]), r = t.filter((m) => m.available).length, c = ["morning", "afternoon", "evening"];
1442
1465
  return n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1443
- /* @__PURE__ */ s(_e, { variant: "text", width: "60%" }),
1444
- [0, 1].map((m) => /* @__PURE__ */ s(
1466
+ /* @__PURE__ */ a(_e, { variant: "text", width: "60%" }),
1467
+ [0, 1].map((m) => /* @__PURE__ */ a(
1445
1468
  "div",
1446
1469
  {
1447
1470
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)]",
1448
- children: [0, 1, 2].map((k) => /* @__PURE__ */ s(_e, { variant: "rounded", height: "44px" }, k))
1471
+ children: [0, 1, 2].map((k) => /* @__PURE__ */ a(_e, { variant: "rounded", height: "44px" }, k))
1449
1472
  },
1450
1473
  m
1451
1474
  ))
1452
- ] }) : r === 0 ? /* @__PURE__ */ s(dt, { variant: "no-results", title: l("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1475
+ ] }) : r === 0 ? /* @__PURE__ */ a(dt, { variant: "no-results", title: l("booking.noSlotsForDate") }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1453
1476
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1454
1477
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1455
- /* @__PURE__ */ s(
1456
- ca,
1478
+ /* @__PURE__ */ a(
1479
+ cs,
1457
1480
  {
1458
1481
  "aria-hidden": "true",
1459
1482
  className: "ds:size-4 ds:text-[color:var(--accent)]"
1460
1483
  }
1461
1484
  ),
1462
- /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u })
1485
+ /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u })
1463
1486
  ] }),
1464
- /* @__PURE__ */ s("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: l("booking.slotsAvailable", { count: r }) })
1487
+ /* @__PURE__ */ a("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: l("booking.slotsAvailable", { count: r }) })
1465
1488
  ] }),
1466
1489
  c.map((m) => {
1467
1490
  const k = p[m];
1468
1491
  if (k.length === 0) return null;
1469
- const I = Wa[m];
1492
+ const I = Ws[m];
1470
1493
  return /* @__PURE__ */ f(
1471
1494
  "div",
1472
1495
  {
1473
1496
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
1474
1497
  children: [
1475
1498
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: [
1476
- /* @__PURE__ */ s(I, { "aria-hidden": "true", className: "ds:size-3.5" }),
1477
- /* @__PURE__ */ s("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: l(`booking.timeOfDay.${m}`) })
1499
+ /* @__PURE__ */ a(I, { "aria-hidden": "true", className: "ds:size-3.5" }),
1500
+ /* @__PURE__ */ a("span", { className: "type-meta ds:font-[var(--font-weight-semibold)] ds:uppercase", children: l(`booking.timeOfDay.${m}`) })
1478
1501
  ] }),
1479
- /* @__PURE__ */ s(
1502
+ /* @__PURE__ */ a(
1480
1503
  "div",
1481
1504
  {
1482
1505
  role: "group",
1483
1506
  "aria-label": l(`booking.timeOfDay.${m}`),
1484
1507
  className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
1485
1508
  children: k.map((v) => {
1486
- const N = v.key === a, M = v.available ? N ? "selected" : "idle" : "unavailable";
1487
- return /* @__PURE__ */ s(
1509
+ const N = v.key === s, M = v.available ? N ? "selected" : "idle" : "unavailable";
1510
+ return /* @__PURE__ */ a(
1488
1511
  "button",
1489
1512
  {
1490
1513
  type: "button",
@@ -1495,7 +1518,7 @@ function Xa({
1495
1518
  time: v.time
1496
1519
  }),
1497
1520
  onClick: () => v.available && i(v),
1498
- className: Ja({ state: M }),
1521
+ className: Js({ state: M }),
1499
1522
  children: v.time
1500
1523
  },
1501
1524
  v.key
@@ -1511,10 +1534,10 @@ function Xa({
1511
1534
  ] });
1512
1535
  }
1513
1536
  const Ae = 4;
1514
- function Qa({
1537
+ function Qs({
1515
1538
  availableDates: e,
1516
1539
  availableSlots: t,
1517
- value: a,
1540
+ value: s,
1518
1541
  onChange: i,
1519
1542
  onDateSelect: n,
1520
1543
  onWindowChange: o,
@@ -1523,8 +1546,8 @@ function Qa({
1523
1546
  locale: p
1524
1547
  }) {
1525
1548
  const r = w(() => le(/* @__PURE__ */ new Date()), []), [c, m] = K(() => {
1526
- if (a.date) {
1527
- const g = le(F(a.date));
1549
+ if (s.date) {
1550
+ const g = le(F(s.date));
1528
1551
  if (!ce(r, g)) return g;
1529
1552
  }
1530
1553
  if (e.length > 0) {
@@ -1536,7 +1559,7 @@ function Qa({
1536
1559
  () => je(c, Ae - 1),
1537
1560
  [c]
1538
1561
  ), I = w(() => Array.from({ length: Ae }, (g, S) => {
1539
- const _ = je(c, S), A = ae(_), B = (t[A] ?? []).map((E) => ({
1562
+ const _ = je(c, S), A = se(_), B = (t[A] ?? []).map((E) => ({
1540
1563
  id: E.key,
1541
1564
  // SlotGrid formats `start` as a time via Intl.DateTimeFormat —
1542
1565
  // compose a full ISO from the column's date + the slot's HH:mm
@@ -1561,19 +1584,19 @@ function Qa({
1561
1584
  return !ce(A, k) && !jt(A, c);
1562
1585
  }) || m(g);
1563
1586
  }, [e]), H(() => {
1564
- o == null || o(ae(c), ae(k));
1587
+ o == null || o(se(c), se(k));
1565
1588
  }, [c, k, o]);
1566
1589
  const y = j(
1567
1590
  (g, S) => {
1568
- const _ = typeof S.date == "string" ? S.date : ae(S.date);
1591
+ const _ = typeof S.date == "string" ? S.date : se(S.date);
1569
1592
  i({
1570
- ...vt(Ee(a, _), g.id)
1593
+ ...vt(Ee(s, _), g.id)
1571
1594
  }), n == null || n(_);
1572
1595
  },
1573
- [i, n, a]
1596
+ [i, n, s]
1574
1597
  ), b = l || u ? "loading" : "default", d = I.some((g) => g.slots.length > 0), T = e[0];
1575
1598
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1576
- !d && !!T ? /* @__PURE__ */ s(
1599
+ !d && !!T ? /* @__PURE__ */ a(
1577
1600
  Je,
1578
1601
  {
1579
1602
  nextAvailableDate: T,
@@ -1581,12 +1604,12 @@ function Qa({
1581
1604
  locale: p
1582
1605
  }
1583
1606
  ) : null,
1584
- /* @__PURE__ */ s(
1607
+ /* @__PURE__ */ a(
1585
1608
  Kt,
1586
1609
  {
1587
1610
  days: I,
1588
1611
  state: b,
1589
- selectedSlotId: a.slotKey,
1612
+ selectedSlotId: s.slotKey,
1590
1613
  maxInitialSlotsPerDay: 6,
1591
1614
  locale: p,
1592
1615
  hasPrevious: v,
@@ -1601,7 +1624,7 @@ function Qa({
1601
1624
  function yt(e) {
1602
1625
  const {
1603
1626
  inputs: t,
1604
- value: a,
1627
+ value: s,
1605
1628
  onChange: i,
1606
1629
  onDateSelect: n,
1607
1630
  onWindowChange: o,
@@ -1610,12 +1633,12 @@ function yt(e) {
1610
1633
  locale: p,
1611
1634
  datePickerStyle: r
1612
1635
  } = e;
1613
- return r === "four-day-grid" ? /* @__PURE__ */ s(
1614
- Qa,
1636
+ return r === "four-day-grid" ? /* @__PURE__ */ a(
1637
+ Qs,
1615
1638
  {
1616
1639
  availableDates: t.availableDates,
1617
1640
  availableSlots: t.availableSlots,
1618
- value: a,
1641
+ value: s,
1619
1642
  onChange: i,
1620
1643
  onDateSelect: n,
1621
1644
  onWindowChange: o,
@@ -1623,13 +1646,13 @@ function yt(e) {
1623
1646
  loadingSlots: u,
1624
1647
  locale: p
1625
1648
  }
1626
- ) : /* @__PURE__ */ s(
1627
- Ga,
1649
+ ) : /* @__PURE__ */ a(
1650
+ Gs,
1628
1651
  {
1629
1652
  availableDates: t.availableDates,
1630
- selectedDate: a.date,
1653
+ selectedDate: s.date,
1631
1654
  onSelectDate: (c) => {
1632
- i(Ee(a, c)), n == null || n(c);
1655
+ i(Ee(s, c)), n == null || n(c);
1633
1656
  },
1634
1657
  locale: p,
1635
1658
  loading: l ?? u
@@ -1637,27 +1660,27 @@ function yt(e) {
1637
1660
  );
1638
1661
  }
1639
1662
  function kt(e) {
1640
- const { inputs: t, value: a, onChange: i, loadingSlots: n, locale: o, datePickerStyle: l } = e;
1641
- return l === "four-day-grid" || !a.date ? null : /* @__PURE__ */ s(
1642
- Xa,
1663
+ const { inputs: t, value: s, onChange: i, loadingSlots: n, locale: o, datePickerStyle: l } = e;
1664
+ return l === "four-day-grid" || !s.date ? null : /* @__PURE__ */ a(
1665
+ Xs,
1643
1666
  {
1644
- date: a.date,
1645
- slots: t.availableSlots[a.date] ?? [],
1646
- selectedSlotKey: a.slotKey,
1647
- onSelect: (u) => i(vt(a, u.key)),
1667
+ date: s.date,
1668
+ slots: t.availableSlots[s.date] ?? [],
1669
+ selectedSlotKey: s.slotKey,
1670
+ onSelect: (u) => i(vt(s, u.key)),
1648
1671
  loading: n,
1649
1672
  locale: o
1650
1673
  }
1651
1674
  );
1652
1675
  }
1653
1676
  function xt({ value: e, onChange: t }) {
1654
- const { t: a } = O(), i = [
1655
- { value: "private", label: a("booking.insurance.private") },
1656
- { value: "public", label: a("booking.insurance.public") }
1677
+ const { t: s } = O(), i = [
1678
+ { value: "private", label: s("booking.insurance.private") },
1679
+ { value: "public", label: s("booking.insurance.public") }
1657
1680
  ];
1658
1681
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1659
- /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: a("booking.insurance.heading") }),
1660
- /* @__PURE__ */ s(
1682
+ /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: s("booking.insurance.heading") }),
1683
+ /* @__PURE__ */ a(
1661
1684
  Oe,
1662
1685
  {
1663
1686
  options: i,
@@ -1665,8 +1688,8 @@ function xt({ value: e, onChange: t }) {
1665
1688
  onValueChange: (n) => {
1666
1689
  (n === "private" || n === "public") && t(n);
1667
1690
  },
1668
- placeholder: a("booking.insurance.placeholder"),
1669
- "aria-label": a("booking.insurance.heading")
1691
+ placeholder: s("booking.insurance.placeholder"),
1692
+ "aria-label": s("booking.insurance.heading")
1670
1693
  }
1671
1694
  )
1672
1695
  ] });
@@ -1674,7 +1697,7 @@ function xt({ value: e, onChange: t }) {
1674
1697
  function St({
1675
1698
  specialties: e,
1676
1699
  value: t,
1677
- valueIds: a,
1700
+ valueIds: s,
1678
1701
  onChange: i,
1679
1702
  onChangeIds: n,
1680
1703
  pickerStyle: o = "select"
@@ -1682,14 +1705,14 @@ function St({
1682
1705
  const { t: l } = O(), u = e.map((r) => ({
1683
1706
  value: r.id,
1684
1707
  label: r.label
1685
- })), p = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.specialty.heading") });
1708
+ })), p = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.specialty.heading") });
1686
1709
  return o === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1687
1710
  p,
1688
- /* @__PURE__ */ s(
1711
+ /* @__PURE__ */ a(
1689
1712
  Ue,
1690
1713
  {
1691
1714
  options: u,
1692
- value: a ?? [],
1715
+ value: s ?? [],
1693
1716
  onChange: n,
1694
1717
  placeholder: l("booking.specialty.placeholder"),
1695
1718
  "aria-label": l("booking.specialty.heading"),
@@ -1698,7 +1721,7 @@ function St({
1698
1721
  )
1699
1722
  ] }) : o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1700
1723
  p,
1701
- /* @__PURE__ */ s(
1724
+ /* @__PURE__ */ a(
1702
1725
  Ge,
1703
1726
  {
1704
1727
  options: u,
@@ -1711,7 +1734,7 @@ function St({
1711
1734
  )
1712
1735
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1713
1736
  p,
1714
- /* @__PURE__ */ s(
1737
+ /* @__PURE__ */ a(
1715
1738
  Oe,
1716
1739
  {
1717
1740
  options: u,
@@ -1726,7 +1749,7 @@ function St({
1726
1749
  function It({
1727
1750
  services: e,
1728
1751
  value: t,
1729
- valueIds: a,
1752
+ valueIds: s,
1730
1753
  onChange: i,
1731
1754
  onChangeIds: n,
1732
1755
  pickerStyle: o,
@@ -1737,14 +1760,14 @@ function It({
1737
1760
  label: `${m.label} · ${u("booking.serviceSummary", {
1738
1761
  minutes: m.durationMin
1739
1762
  })}`
1740
- })), c = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u("booking.service.heading") });
1763
+ })), c = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: u("booking.service.heading") });
1741
1764
  return p === "multi-select" && n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1742
1765
  c,
1743
- /* @__PURE__ */ s(
1766
+ /* @__PURE__ */ a(
1744
1767
  Ue,
1745
1768
  {
1746
1769
  options: r,
1747
- value: a ?? [],
1770
+ value: s ?? [],
1748
1771
  onChange: n,
1749
1772
  placeholder: u("booking.service.placeholder"),
1750
1773
  "aria-label": u("booking.service.heading"),
@@ -1753,7 +1776,7 @@ function It({
1753
1776
  )
1754
1777
  ] }) : p === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1755
1778
  c,
1756
- /* @__PURE__ */ s(
1779
+ /* @__PURE__ */ a(
1757
1780
  Ge,
1758
1781
  {
1759
1782
  options: r,
@@ -1766,7 +1789,7 @@ function It({
1766
1789
  )
1767
1790
  ] }) : p === "select" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1768
1791
  c,
1769
- /* @__PURE__ */ s(
1792
+ /* @__PURE__ */ a(
1770
1793
  Oe,
1771
1794
  {
1772
1795
  options: r,
@@ -1778,8 +1801,8 @@ function It({
1778
1801
  )
1779
1802
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1780
1803
  c,
1781
- /* @__PURE__ */ s(
1782
- Ya,
1804
+ /* @__PURE__ */ a(
1805
+ Ys,
1783
1806
  {
1784
1807
  services: e,
1785
1808
  selectedServiceId: t,
@@ -1791,12 +1814,12 @@ function It({
1791
1814
  function Nt({
1792
1815
  operators: e,
1793
1816
  value: t,
1794
- valueIds: a,
1817
+ valueIds: s,
1795
1818
  onChange: i,
1796
1819
  onChangeIds: n,
1797
1820
  pickerStyle: o = "select"
1798
1821
  }) {
1799
- const { t: l } = O(), u = /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.operator.heading") });
1822
+ const { t: l } = O(), u = /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: l("booking.operator.heading") });
1800
1823
  if (o === "multi-select" && n) {
1801
1824
  const r = e.map((c) => ({
1802
1825
  value: c.id,
@@ -1804,11 +1827,11 @@ function Nt({
1804
1827
  }));
1805
1828
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1806
1829
  u,
1807
- /* @__PURE__ */ s(
1830
+ /* @__PURE__ */ a(
1808
1831
  Ue,
1809
1832
  {
1810
1833
  options: r,
1811
- value: a ?? [],
1834
+ value: s ?? [],
1812
1835
  onChange: n,
1813
1836
  placeholder: l("booking.operator.placeholder"),
1814
1837
  "aria-label": l("booking.operator.heading"),
@@ -1823,7 +1846,7 @@ function Nt({
1823
1846
  ];
1824
1847
  return o === "combobox" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1825
1848
  u,
1826
- /* @__PURE__ */ s(
1849
+ /* @__PURE__ */ a(
1827
1850
  Ge,
1828
1851
  {
1829
1852
  options: p,
@@ -1836,7 +1859,7 @@ function Nt({
1836
1859
  )
1837
1860
  ] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1838
1861
  u,
1839
- /* @__PURE__ */ s(
1862
+ /* @__PURE__ */ a(
1840
1863
  Oe,
1841
1864
  {
1842
1865
  options: p,
@@ -1852,34 +1875,34 @@ function wt({
1852
1875
  customSlot: e
1853
1876
  }) {
1854
1877
  const { t } = O();
1855
- return e ? /* @__PURE__ */ s(W, { children: e }) : /* @__PURE__ */ f(z, { variant: "warning", children: [
1856
- /* @__PURE__ */ s(z.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1857
- /* @__PURE__ */ s(z.Description, { children: t("booking.onboardingIncomplete.description") })
1878
+ return e ? /* @__PURE__ */ a(W, { children: e }) : /* @__PURE__ */ f(z, { variant: "warning", children: [
1879
+ /* @__PURE__ */ a(z.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1880
+ /* @__PURE__ */ a(z.Description, { children: t("booking.onboardingIncomplete.description") })
1858
1881
  ] });
1859
1882
  }
1860
1883
  function Je({
1861
1884
  nextAvailableDate: e,
1862
1885
  onJump: t,
1863
- locale: a
1886
+ locale: s
1864
1887
  }) {
1865
1888
  const { t: i } = O(), n = w(() => {
1866
1889
  try {
1867
- return new Intl.DateTimeFormat(a, { dateStyle: "long" }).format(
1890
+ return new Intl.DateTimeFormat(s, { dateStyle: "long" }).format(
1868
1891
  F(e)
1869
1892
  );
1870
1893
  } catch {
1871
1894
  return e;
1872
1895
  }
1873
- }, [e, a]);
1896
+ }, [e, s]);
1874
1897
  return /* @__PURE__ */ f(z, { variant: "info", children: [
1875
- /* @__PURE__ */ s(z.Description, { children: i("booking.nextAvailable.description", { date: n }) }),
1876
- /* @__PURE__ */ s(z.Action, { children: /* @__PURE__ */ s(ie, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
1898
+ /* @__PURE__ */ a(z.Description, { children: i("booking.nextAvailable.description", { date: n }) }),
1899
+ /* @__PURE__ */ a(z.Action, { children: /* @__PURE__ */ a(ie, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
1877
1900
  ] });
1878
1901
  }
1879
- function es({
1902
+ function ea({
1880
1903
  snapshot: e,
1881
1904
  operators: t,
1882
- specialties: a,
1905
+ specialties: s,
1883
1906
  services: i,
1884
1907
  locale: n,
1885
1908
  mode: o,
@@ -1902,7 +1925,7 @@ function es({
1902
1925
  } catch {
1903
1926
  return e.date;
1904
1927
  }
1905
- }, [e.date, n]), v = e.operatorId ? t.find((D) => D.id === e.operatorId) : void 0, N = e.specialtyId ? a.find((D) => D.id === e.specialtyId) : void 0, M = e.serviceId ? i.find((D) => D.id === e.serviceId) : void 0;
1928
+ }, [e.date, n]), v = e.operatorId ? t.find((D) => D.id === e.operatorId) : void 0, N = e.specialtyId ? s.find((D) => D.id === e.specialtyId) : void 0, M = e.serviceId ? i.find((D) => D.id === e.serviceId) : void 0;
1906
1929
  return /* @__PURE__ */ f(
1907
1930
  "div",
1908
1931
  {
@@ -1910,32 +1933,32 @@ function es({
1910
1933
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
1911
1934
  children: [
1912
1935
  /* @__PURE__ */ f(z, { variant: "success", children: [
1913
- /* @__PURE__ */ s(z.Title, { as: "h3", children: r("booking.success.heading") }),
1914
- /* @__PURE__ */ s(z.Description, { children: k })
1936
+ /* @__PURE__ */ a(z.Title, { as: "h3", children: r("booking.success.heading") }),
1937
+ /* @__PURE__ */ a(z.Description, { children: k })
1915
1938
  ] }),
1916
- /* @__PURE__ */ s("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ f("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
1939
+ /* @__PURE__ */ a("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ f("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
1917
1940
  N ? /* @__PURE__ */ f(W, { children: [
1918
- /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summarySpecialty") }),
1919
- /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: N.label })
1941
+ /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summarySpecialty") }),
1942
+ /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: N.label })
1920
1943
  ] }) : null,
1921
1944
  M ? /* @__PURE__ */ f(W, { children: [
1922
- /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryService") }),
1923
- /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: M.label })
1945
+ /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryService") }),
1946
+ /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: M.label })
1924
1947
  ] }) : null,
1925
1948
  I ? /* @__PURE__ */ f(W, { children: [
1926
- /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryDate") }),
1927
- /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: I })
1949
+ /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryDate") }),
1950
+ /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: I })
1928
1951
  ] }) : null,
1929
- /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryTime") }),
1930
- /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: e.slot.time }),
1952
+ /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryTime") }),
1953
+ /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: e.slot.time }),
1931
1954
  v ? /* @__PURE__ */ f(W, { children: [
1932
- /* @__PURE__ */ s("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryProvider") }),
1933
- /* @__PURE__ */ s("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: v.name })
1955
+ /* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryProvider") }),
1956
+ /* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: v.name })
1934
1957
  ] }) : null
1935
1958
  ] }) }),
1936
1959
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]", children: [
1937
- /* @__PURE__ */ s(ie, { intent: "secondary", size: "md", onClick: u, children: r("booking.success.bookAnother") }),
1938
- l ? /* @__PURE__ */ s(ie, { intent: "ghost", size: "md", onClick: p, children: r("booking.success.modifyBooking") }) : null
1960
+ /* @__PURE__ */ a(ie, { intent: "secondary", size: "md", onClick: u, children: r("booking.success.bookAnother") }),
1961
+ l ? /* @__PURE__ */ a(ie, { intent: "ghost", size: "md", onClick: p, children: r("booking.success.modifyBooking") }) : null
1939
1962
  ] })
1940
1963
  ]
1941
1964
  }
@@ -1943,7 +1966,7 @@ function es({
1943
1966
  }
1944
1967
  function Ct({ customSlot: e }) {
1945
1968
  const { t } = O();
1946
- return e ? /* @__PURE__ */ s(W, { children: e }) : /* @__PURE__ */ s(
1969
+ return e ? /* @__PURE__ */ a(W, { children: e }) : /* @__PURE__ */ a(
1947
1970
  dt,
1948
1971
  {
1949
1972
  variant: "no-results",
@@ -1952,10 +1975,10 @@ function Ct({ customSlot: e }) {
1952
1975
  }
1953
1976
  );
1954
1977
  }
1955
- function ts(e) {
1978
+ function ta(e) {
1956
1979
  const {
1957
1980
  cascade: t,
1958
- inputs: a,
1981
+ inputs: s,
1959
1982
  value: i,
1960
1983
  onChange: n,
1961
1984
  onSubmit: o,
@@ -1974,14 +1997,14 @@ function ts(e) {
1974
1997
  detailsProps: y
1975
1998
  } = e, { t: b } = O();
1976
1999
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1977
- t.gates.insurance ? /* @__PURE__ */ s(
2000
+ t.gates.insurance ? /* @__PURE__ */ a(
1978
2001
  xt,
1979
2002
  {
1980
2003
  value: i.insuranceType,
1981
2004
  onChange: (d) => n(ct(i, d))
1982
2005
  }
1983
2006
  ) : null,
1984
- t.gates.specialty ? /* @__PURE__ */ s(
2007
+ t.gates.specialty ? /* @__PURE__ */ a(
1985
2008
  St,
1986
2009
  {
1987
2010
  specialties: t.filtered.specialties,
@@ -1992,7 +2015,7 @@ function ts(e) {
1992
2015
  pickerStyle: I
1993
2016
  }
1994
2017
  ) : null,
1995
- t.gates.service ? t.filtered.services.length === 0 ? /* @__PURE__ */ s(Ct, { customSlot: l }) : /* @__PURE__ */ s(
2018
+ t.gates.service ? t.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: l }) : /* @__PURE__ */ a(
1996
2019
  It,
1997
2020
  {
1998
2021
  services: t.filtered.services,
@@ -2003,8 +2026,8 @@ function ts(e) {
2003
2026
  pickerStyle: v
2004
2027
  }
2005
2028
  ) : null,
2006
- t.gates.onboardingIncomplete ? /* @__PURE__ */ s(wt, { customSlot: u }) : null,
2007
- t.gates.operator ? /* @__PURE__ */ s(
2029
+ t.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: u }) : null,
2030
+ t.gates.operator ? /* @__PURE__ */ a(
2008
2031
  Nt,
2009
2032
  {
2010
2033
  operators: t.filtered.operators,
@@ -2016,16 +2039,16 @@ function ts(e) {
2016
2039
  }
2017
2040
  ) : null,
2018
2041
  t.gates.date ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
2019
- /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.date.heading") }),
2020
- a.availableDates.length === 0 && a.nextAvailableDate ? /* @__PURE__ */ s(
2042
+ /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.date.heading") }),
2043
+ s.availableDates.length === 0 && s.nextAvailableDate ? /* @__PURE__ */ a(
2021
2044
  Je,
2022
2045
  {
2023
- nextAvailableDate: a.nextAvailableDate,
2024
- onJump: () => n(Ee(i, a.nextAvailableDate)),
2046
+ nextAvailableDate: s.nextAvailableDate,
2047
+ onJump: () => n(Ee(i, s.nextAvailableDate)),
2025
2048
  locale: D
2026
2049
  }
2027
2050
  ) : yt({
2028
- inputs: a,
2051
+ inputs: s,
2029
2052
  value: i,
2030
2053
  onChange: n,
2031
2054
  onDateSelect: c,
@@ -2037,9 +2060,9 @@ function ts(e) {
2037
2060
  })
2038
2061
  ] }) : null,
2039
2062
  t.gates.slot && i.date && k === "month-calendar" ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
2040
- /* @__PURE__ */ s("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.slot.heading") }),
2063
+ /* @__PURE__ */ a("h3", { className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0", children: b("booking.slot.heading") }),
2041
2064
  kt({
2042
- inputs: a,
2065
+ inputs: s,
2043
2066
  value: i,
2044
2067
  onChange: n,
2045
2068
  loadingSlots: r,
@@ -2047,7 +2070,7 @@ function ts(e) {
2047
2070
  datePickerStyle: k
2048
2071
  })
2049
2072
  ] }) : null,
2050
- t.gates.details && t.selectedSlot ? /* @__PURE__ */ s(
2073
+ t.gates.details && t.selectedSlot ? /* @__PURE__ */ a(
2051
2074
  Ye,
2052
2075
  {
2053
2076
  ...y,
@@ -2060,7 +2083,7 @@ function ts(e) {
2060
2083
  ) : null
2061
2084
  ] });
2062
2085
  }
2063
- function $(e, t, a = {}) {
2086
+ function $(e, t, s = {}) {
2064
2087
  const {
2065
2088
  cascade: i,
2066
2089
  inputs: n,
@@ -2084,7 +2107,7 @@ function $(e, t, a = {}) {
2084
2107
  } = t;
2085
2108
  switch (e) {
2086
2109
  case 1:
2087
- return /* @__PURE__ */ s(
2110
+ return /* @__PURE__ */ a(
2088
2111
  xt,
2089
2112
  {
2090
2113
  value: o.insuranceType,
@@ -2092,7 +2115,7 @@ function $(e, t, a = {}) {
2092
2115
  }
2093
2116
  );
2094
2117
  case 2:
2095
- return /* @__PURE__ */ s(
2118
+ return /* @__PURE__ */ a(
2096
2119
  St,
2097
2120
  {
2098
2121
  specialties: i.filtered.specialties,
@@ -2104,7 +2127,7 @@ function $(e, t, a = {}) {
2104
2127
  }
2105
2128
  );
2106
2129
  case 3:
2107
- return i.filtered.services.length === 0 ? /* @__PURE__ */ s(Ct, { customSlot: p }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ s(wt, { customSlot: r }) : /* @__PURE__ */ s(
2130
+ return i.filtered.services.length === 0 ? /* @__PURE__ */ a(Ct, { customSlot: p }) : i.gates.onboardingIncomplete ? /* @__PURE__ */ a(wt, { customSlot: r }) : /* @__PURE__ */ a(
2108
2131
  It,
2109
2132
  {
2110
2133
  services: i.filtered.services,
@@ -2113,11 +2136,11 @@ function $(e, t, a = {}) {
2113
2136
  onChange: (x) => l(mt(o, x)),
2114
2137
  onChangeIds: (x) => l(gt(o, x)),
2115
2138
  pickerStyle: M,
2116
- compact: a.compactService
2139
+ compact: s.compactService
2117
2140
  }
2118
2141
  );
2119
2142
  case 4:
2120
- return /* @__PURE__ */ s(
2143
+ return /* @__PURE__ */ a(
2121
2144
  Nt,
2122
2145
  {
2123
2146
  operators: i.filtered.operators,
@@ -2129,7 +2152,7 @@ function $(e, t, a = {}) {
2129
2152
  }
2130
2153
  );
2131
2154
  case 5:
2132
- return n.availableDates.length === 0 && n.nextAvailableDate ? /* @__PURE__ */ s(
2155
+ return n.availableDates.length === 0 && n.nextAvailableDate ? /* @__PURE__ */ a(
2133
2156
  Je,
2134
2157
  {
2135
2158
  nextAvailableDate: n.nextAvailableDate,
@@ -2157,7 +2180,7 @@ function $(e, t, a = {}) {
2157
2180
  datePickerStyle: v
2158
2181
  });
2159
2182
  case 7:
2160
- return i.selectedSlot ? /* @__PURE__ */ s(
2183
+ return i.selectedSlot ? /* @__PURE__ */ a(
2161
2184
  Ye,
2162
2185
  {
2163
2186
  ...d,
@@ -2188,20 +2211,20 @@ function Ze() {
2188
2211
  [e]
2189
2212
  );
2190
2213
  }
2191
- function as(e) {
2192
- const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, l = Ze(), u = w(
2214
+ function sa(e) {
2215
+ const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, l = Ze(), u = w(
2193
2216
  () => o === "four-day-grid" ? t.visibleSteps.filter((c) => c !== 6) : t.visibleSteps,
2194
2217
  [t.visibleSteps, o]
2195
2218
  ), p = w(
2196
2219
  () => u.map((c) => ({
2197
2220
  label: l[c],
2198
- summary: Mt(c, a, t),
2199
- status: ke(c, a) && c < t.currentStep ? "completed" : void 0,
2221
+ summary: Mt(c, s, t),
2222
+ status: ke(c, s) && c < t.currentStep ? "completed" : void 0,
2200
2223
  content: $(c, e, { compactService: !0 })
2201
2224
  })),
2202
- [u, a, l, t, e]
2225
+ [u, s, l, t, e]
2203
2226
  ), r = Math.max(0, t.visibleSteps.indexOf(i));
2204
- return /* @__PURE__ */ s(
2227
+ return /* @__PURE__ */ a(
2205
2228
  $t,
2206
2229
  {
2207
2230
  activeStep: r,
@@ -2231,20 +2254,20 @@ function ke(e, t) {
2231
2254
  return !1;
2232
2255
  }
2233
2256
  }
2234
- function Mt(e, t, a) {
2257
+ function Mt(e, t, s) {
2235
2258
  var i;
2236
2259
  if (ke(e, t))
2237
2260
  switch (e) {
2238
2261
  case 1:
2239
2262
  return t.insuranceType;
2240
2263
  case 2: {
2241
- const n = a.filtered.specialties.find(
2264
+ const n = s.filtered.specialties.find(
2242
2265
  (o) => o.id === t.specialtyId
2243
2266
  );
2244
2267
  return n == null ? void 0 : n.label;
2245
2268
  }
2246
2269
  case 3: {
2247
- const n = a.filtered.services.find(
2270
+ const n = s.filtered.services.find(
2248
2271
  (o) => o.id === t.serviceId
2249
2272
  );
2250
2273
  return n == null ? void 0 : n.label;
@@ -2252,32 +2275,32 @@ function Mt(e, t, a) {
2252
2275
  case 4: {
2253
2276
  const n = He(t);
2254
2277
  if (!n) return;
2255
- const o = a.filtered.operators.find((l) => l.id === n);
2278
+ const o = s.filtered.operators.find((l) => l.id === n);
2256
2279
  return o == null ? void 0 : o.name;
2257
2280
  }
2258
2281
  case 5:
2259
2282
  return t.date;
2260
2283
  case 6:
2261
- return (i = a.selectedSlot) == null ? void 0 : i.time;
2284
+ return (i = s.selectedSlot) == null ? void 0 : i.time;
2262
2285
  case 7:
2263
2286
  return;
2264
2287
  }
2265
2288
  }
2266
- function ss(e) {
2267
- const { cascade: t, value: a, setActiveStep: i } = e, { t: n } = O(), o = Ze(), l = t.visibleSteps.filter(
2289
+ function aa(e) {
2290
+ const { cascade: t, value: s, setActiveStep: i } = e, { t: n } = O(), o = Ze(), l = t.visibleSteps.filter(
2268
2291
  (p) => p === 1 || p === 2 || p === 3 || p === 4
2269
2292
  ), u = l.some(
2270
- (p) => !ke(p, a)
2293
+ (p) => !ke(p, s)
2271
2294
  );
2272
2295
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2273
- u ? l.filter((p) => !ke(p, a)).slice(0, 1).map((p) => /* @__PURE__ */ s("div", { children: $(p, e, { compactService: !0 }) }, `csf-${p}`)) : /* @__PURE__ */ s(
2296
+ u ? l.filter((p) => !ke(p, s)).slice(0, 1).map((p) => /* @__PURE__ */ a("div", { children: $(p, e, { compactService: !0 }) }, `csf-${p}`)) : /* @__PURE__ */ a(
2274
2297
  "div",
2275
2298
  {
2276
2299
  role: "group",
2277
2300
  "aria-label": n("booking.regionLabel"),
2278
2301
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
2279
2302
  children: l.map((p) => {
2280
- const r = Mt(p, a, t);
2303
+ const r = Mt(p, s, t);
2281
2304
  return r ? /* @__PURE__ */ f(
2282
2305
  ie,
2283
2306
  {
@@ -2300,25 +2323,25 @@ function ss(e) {
2300
2323
  // historic 2-col date|slot split collapses to a single column
2301
2324
  // so the picker spans the full width instead of orphaning an
2302
2325
  // empty right cell.
2303
- e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ s("div", { children: $(5, e) }) : /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2304
- /* @__PURE__ */ s("div", { className: "ds:min-w-0", children: $(5, e) }),
2305
- /* @__PURE__ */ s("div", { className: "ds:min-w-0", children: a.date ? $(6, e) : null })
2326
+ e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ a("div", { children: $(5, e) }) : /* @__PURE__ */ f("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2327
+ /* @__PURE__ */ a("div", { className: "ds:min-w-0", children: $(5, e) }),
2328
+ /* @__PURE__ */ a("div", { className: "ds:min-w-0", children: s.date ? $(6, e) : null })
2306
2329
  ] })
2307
2330
  ) : null,
2308
- t.gates.details ? /* @__PURE__ */ s("div", { children: $(7, e) }) : null
2331
+ t.gates.details ? /* @__PURE__ */ a("div", { children: $(7, e) }) : null
2309
2332
  ] });
2310
2333
  }
2311
- function is(e) {
2312
- const { cascade: t, datePickerStyle: a } = e, i = t.visibleSteps.filter(
2334
+ function ia(e) {
2335
+ const { cascade: t, datePickerStyle: s } = e, i = t.visibleSteps.filter(
2313
2336
  (o) => o === 1 || o === 2 || o === 3 || o === 4
2314
2337
  );
2315
2338
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2316
2339
  /* @__PURE__ */ f(
2317
2340
  "div",
2318
2341
  {
2319
- className: a === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
2342
+ className: s === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
2320
2343
  children: [
2321
- /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: i.map((o) => /* @__PURE__ */ s("div", { children: $(o, e, { compactService: !0 }) }, `fbf-${o}`)) }),
2344
+ /* @__PURE__ */ a("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: i.map((o) => /* @__PURE__ */ a("div", { children: $(o, e, { compactService: !0 }) }, `fbf-${o}`)) }),
2322
2345
  /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2323
2346
  t.gates.date ? $(5, e) : null,
2324
2347
  t.gates.slot && e.value.date ? $(6, e) : null
@@ -2329,19 +2352,19 @@ function is(e) {
2329
2352
  t.gates.details ? $(7, e) : null
2330
2353
  ] });
2331
2354
  }
2332
- function ns(e) {
2333
- const { cascade: t, value: a, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), p = w(
2355
+ function na(e) {
2356
+ const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), p = w(
2334
2357
  () => o === "four-day-grid" ? t.visibleSteps.filter((v) => v !== 6) : t.visibleSteps,
2335
2358
  [t.visibleSteps, o]
2336
2359
  ), r = Math.max(0, p.indexOf(i)), c = p.length, m = w(
2337
2360
  () => p.map((v) => ({ label: u[v] })),
2338
2361
  [p, u]
2339
- ), k = r > 0, I = r < c - 1 && ke(i, a);
2362
+ ), k = r > 0, I = r < c - 1 && ke(i, s);
2340
2363
  return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2341
- /* @__PURE__ */ s(zt, { activeStep: r, steps: m }),
2342
- /* @__PURE__ */ s("div", { children: $(i, e, { compactService: !0 }) }),
2364
+ /* @__PURE__ */ a(zt, { activeStep: r, steps: m }),
2365
+ /* @__PURE__ */ a("div", { children: $(i, e, { compactService: !0 }) }),
2343
2366
  /* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
2344
- /* @__PURE__ */ s(
2367
+ /* @__PURE__ */ a(
2345
2368
  ie,
2346
2369
  {
2347
2370
  intent: "ghost",
@@ -2354,7 +2377,7 @@ function ns(e) {
2354
2377
  children: l("booking.actions.back")
2355
2378
  }
2356
2379
  ),
2357
- i < 7 ? /* @__PURE__ */ s(
2380
+ i < 7 ? /* @__PURE__ */ a(
2358
2381
  ie,
2359
2382
  {
2360
2383
  intent: "primary",
@@ -2370,14 +2393,14 @@ function ns(e) {
2370
2393
  ] })
2371
2394
  ] });
2372
2395
  }
2373
- const os = [], rs = [], ds = ot(
2396
+ const oa = [], ra = [], da = ot(
2374
2397
  ({
2375
2398
  variant: e = "inline-list",
2376
2399
  country: t,
2377
2400
  // No default — the cascade engine treats `undefined` as "auto-on
2378
2401
  // when `specialties` has items" so consumers who pass specialty
2379
2402
  // data without the explicit flag still get the step.
2380
- useSpecialties: a,
2403
+ useSpecialties: s,
2381
2404
  allowOperatorSelection: i = !1,
2382
2405
  lockedOperatorId: n,
2383
2406
  autoSelectSingleService: o = !1,
@@ -2417,32 +2440,32 @@ const os = [], rs = [], ds = ot(
2417
2440
  surface: me = "flat",
2418
2441
  emptyServicesSlot: Se,
2419
2442
  onboardingIncompleteSlot: Ie,
2420
- "aria-label": Ve,
2443
+ "aria-label": Re,
2421
2444
  id: oe,
2422
- className: Le,
2445
+ className: Ve,
2423
2446
  ...Ne
2424
2447
  }, we) => {
2425
- const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? os, de = p ?? rs;
2448
+ const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? oa, de = p ?? ra;
2426
2449
  H(() => {
2427
- const R = Ea(g, {
2428
- useSpecialties: a,
2450
+ const L = Es(g, {
2451
+ useSpecialties: s,
2429
2452
  lockedOperatorId: n,
2430
2453
  autoSelectSingleService: o,
2431
2454
  specialties: J,
2432
2455
  services: u
2433
2456
  });
2434
- (R.specialtyId !== g.specialtyId || R.operatorId !== g.operatorId || R.serviceId !== g.serviceId) && S(R);
2457
+ (L.specialtyId !== g.specialtyId || L.operatorId !== g.operatorId || L.serviceId !== g.serviceId) && S(L);
2435
2458
  }, [
2436
2459
  n,
2437
- a,
2460
+ s,
2438
2461
  o,
2439
2462
  J,
2440
2463
  u
2441
2464
  ]);
2442
- const V = w(
2443
- () => Ba({
2465
+ const R = w(
2466
+ () => Bs({
2444
2467
  country: t,
2445
- useSpecialties: a,
2468
+ useSpecialties: s,
2446
2469
  allowOperatorSelection: i,
2447
2470
  lockedOperatorId: n,
2448
2471
  specialties: J,
@@ -2453,7 +2476,7 @@ const os = [], rs = [], ds = ot(
2453
2476
  }),
2454
2477
  [
2455
2478
  t,
2456
- a,
2479
+ s,
2457
2480
  i,
2458
2481
  n,
2459
2482
  o,
@@ -2465,28 +2488,28 @@ const os = [], rs = [], ds = ot(
2465
2488
  g
2466
2489
  ]
2467
2490
  ), [We, ge] = K(
2468
- V.currentStep
2469
- ), Xe = se(V.currentStep);
2491
+ R.currentStep
2492
+ ), Xe = ae(R.currentStep);
2470
2493
  H(() => {
2471
- V.currentStep > Xe.current && ge(V.currentStep), Xe.current = V.currentStep;
2472
- }, [V.currentStep]);
2473
- const [fe, he] = K("idle"), [Re, Fe] = K(null), Qe = j(
2474
- async (R) => {
2475
- if (!V.selectedSlot) return;
2494
+ R.currentStep > Xe.current && ge(R.currentStep), Xe.current = R.currentStep;
2495
+ }, [R.currentStep]);
2496
+ const [fe, he] = K("idle"), [Le, Fe] = K(null), Qe = j(
2497
+ async (L) => {
2498
+ if (!R.selectedSlot) return;
2476
2499
  const ze = {
2477
- slot: V.selectedSlot,
2500
+ slot: R.selectedSlot,
2478
2501
  value: {
2479
2502
  ...g,
2480
- details: R,
2503
+ details: L,
2481
2504
  operatorId: He(g) ?? g.operatorId
2482
2505
  },
2483
- details: R
2506
+ details: L
2484
2507
  };
2485
2508
  he("submitting");
2486
2509
  try {
2487
2510
  await _(ze), Fe({
2488
- slot: V.selectedSlot,
2489
- details: R,
2511
+ slot: R.selectedSlot,
2512
+ details: L,
2490
2513
  specialtyId: g.specialtyId,
2491
2514
  serviceId: g.serviceId,
2492
2515
  insuranceType: g.insuranceType,
@@ -2497,10 +2520,10 @@ const os = [], rs = [], ds = ot(
2497
2520
  throw he("error"), new Error("Booking submission failed");
2498
2521
  }
2499
2522
  },
2500
- [V.selectedSlot, _, g]
2501
- ), ve = se(null);
2523
+ [R.selectedSlot, _, g]
2524
+ ), ve = ae(null);
2502
2525
  _t(we, () => ve.current, []);
2503
- const be = fe === "success" ? 8 : V.currentStep, et = se(null);
2526
+ const be = fe === "success" ? 8 : R.currentStep, et = ae(null);
2504
2527
  H(() => {
2505
2528
  if (be !== et.current && (et.current = be, A == null || A(be), be === 8 && ve.current))
2506
2529
  try {
@@ -2518,17 +2541,17 @@ const os = [], rs = [], ds = ot(
2518
2541
  reset: () => {
2519
2542
  S({}), Fe(null), he("idle"), ge(1);
2520
2543
  },
2521
- goToStep: (R) => {
2522
- ge(R);
2544
+ goToStep: (L) => {
2545
+ ge(L);
2523
2546
  }
2524
2547
  }),
2525
2548
  [C, S]
2526
2549
  );
2527
- Ot(Ma, $e, oe);
2528
- const Dt = Ve ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Re ? null : /* @__PURE__ */ s(
2529
- es,
2550
+ Ot(Ms, $e, oe);
2551
+ const Dt = Re ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Le ? null : /* @__PURE__ */ a(
2552
+ ea,
2530
2553
  {
2531
- snapshot: Re,
2554
+ snapshot: Le,
2532
2555
  operators: de,
2533
2556
  specialties: J,
2534
2557
  services: u,
@@ -2542,7 +2565,7 @@ const os = [], rs = [], ds = ot(
2542
2565
  }
2543
2566
  ), [
2544
2567
  fe,
2545
- Re,
2568
+ Le,
2546
2569
  de,
2547
2570
  J,
2548
2571
  u,
@@ -2552,8 +2575,8 @@ const os = [], rs = [], ds = ot(
2552
2575
  $e
2553
2576
  ]), Tt = w(() => {
2554
2577
  if (fe === "success") return null;
2555
- const R = C === "accordion" ? as : C === "calendar" ? ss : C === "flexible" ? is : C === "progress" ? ns : ts, ze = {
2556
- cascade: V,
2578
+ const L = C === "accordion" ? sa : C === "calendar" ? aa : C === "flexible" ? ia : C === "progress" ? na : ta, ze = {
2579
+ cascade: R,
2557
2580
  inputs: {
2558
2581
  specialties: J,
2559
2582
  services: u,
@@ -2596,11 +2619,11 @@ const os = [], rs = [], ds = ot(
2596
2619
  activeStep: We,
2597
2620
  setActiveStep: ge
2598
2621
  };
2599
- return /* @__PURE__ */ s(R, { ...ze });
2622
+ return /* @__PURE__ */ a(L, { ...ze });
2600
2623
  }, [
2601
2624
  fe,
2602
2625
  C,
2603
- V,
2626
+ R,
2604
2627
  J,
2605
2628
  u,
2606
2629
  de,
@@ -2648,10 +2671,10 @@ const os = [], rs = [], ds = ot(
2648
2671
  "data-component": "booking",
2649
2672
  "data-component-id": oe,
2650
2673
  "data-variant": C,
2651
- className: $a({
2674
+ className: $s({
2652
2675
  variant: C,
2653
2676
  surface: me,
2654
- className: Le
2677
+ className: Ve
2655
2678
  }),
2656
2679
  ...Ne,
2657
2680
  children: [
@@ -2667,8 +2690,8 @@ const os = [], rs = [], ds = ot(
2667
2690
  "ds:pt-[var(--spacing-md)] ds:pb-[var(--spacing-md)]"
2668
2691
  ].join(" "),
2669
2692
  children: [
2670
- /* @__PURE__ */ s("h2", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: re("booking.regionLabel") }),
2671
- /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: re("booking.headingSubtitle") })
2693
+ /* @__PURE__ */ a("h2", { className: "type-title-card ds:text-[var(--foreground)] ds:m-0", children: re("booking.regionLabel") }),
2694
+ /* @__PURE__ */ a("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: re("booking.headingSubtitle") })
2672
2695
  ]
2673
2696
  }
2674
2697
  ),
@@ -2678,11 +2701,11 @@ const os = [], rs = [], ds = ot(
2678
2701
  );
2679
2702
  }
2680
2703
  );
2681
- ds.displayName = "Booking";
2704
+ da.displayName = "Booking";
2682
2705
  export {
2683
- ds as B,
2706
+ da as B,
2684
2707
  qe as C,
2685
2708
  X as O,
2686
- Ma as b
2709
+ Ms as b
2687
2710
  };
2688
- //# sourceMappingURL=booking-L8-YP8BJ.js.map
2711
+ //# sourceMappingURL=booking-DUBI0oqt.js.map