@alfadocs/ui-kit 1.5.0 → 1.6.1

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 (268) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BD-jruqA.js → actions-cell-renderer-ALEAGO3j.js} +6 -6
  2. package/dist/_chunks/{agenda-tray-CYR-znfE.js → agenda-tray-BweO8pDo.js} +3 -3
  3. package/dist/_chunks/{ai-consent-banner-DLF6FNXv.js → ai-consent-banner-OggpS5hW.js} +2 -2
  4. package/dist/_chunks/{ai-prompt-input-BgAubYKd.js → ai-prompt-input-DnbfEJnr.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-Bg53-ZOT.js → alia-sidebar-BWcWZivN.js} +7 -7
  6. package/dist/_chunks/{anamnesis-card-BylMLHYj.js → anamnesis-card-NTi4LLzI.js} +2 -2
  7. package/dist/_chunks/{anamnesis-summary-rows-BpYztFUv.js → anamnesis-summary-rows-F-cCmFAn.js} +7 -7
  8. package/dist/_chunks/{appointment-timeline-DT1uFp8z.js → appointment-timeline-CMPvzlGZ.js} +4 -4
  9. package/dist/_chunks/{appointment-tray-DvyVK7um.js → appointment-tray-3c_FLxXJ.js} +3 -3
  10. package/dist/_chunks/{audio-recorder-nVRN4PSK.js → audio-recorder-EWBCNIsd.js} +3 -3
  11. package/dist/_chunks/{bishop-score-BV1JAEMV.js → bishop-score-Cnu0xs-z.js} +2 -2
  12. package/dist/_chunks/{bmi-calculator-CdR-RLFj.js → bmi-calculator-CcH6upht.js} +2 -2
  13. package/dist/_chunks/{booking-CGKof8QU.js → booking-CQMJUFG-.js} +556 -549
  14. package/dist/_chunks/{button-group-Be_In68J.js → button-group-CaxRJsNG.js} +2 -2
  15. package/dist/_chunks/{button-BvNtqHAS.js → button-nJaPh_HC.js} +68 -38
  16. package/dist/_chunks/{care-plan-card-CehAU7F_.js → care-plan-card-DQjVRDxO.js} +2 -2
  17. package/dist/_chunks/{care-plan-entry-card-ChWRMfMw.js → care-plan-entry-card-CMpoeNkb.js} +2 -2
  18. package/dist/_chunks/{care-plan-header-_B0TTWT1.js → care-plan-header-CxYoq23f.js} +2 -2
  19. package/dist/_chunks/{carousel.agent-pjORsMS8.js → carousel.agent-CLxdHEBP.js} +2 -2
  20. package/dist/_chunks/{chart-Y-gso_Uz.js → chart-Bkr1Sh4o.js} +3 -3
  21. package/dist/_chunks/{chat-input-BqI9GXQh.js → chat-input-BsB5Umpj.js} +2 -2
  22. package/dist/_chunks/{chat-message-DHNUbjXA.js → chat-message-DBQu10rs.js} +3 -3
  23. package/dist/_chunks/{code-block-BONe9fJi.js → code-block-BIkpRLkl.js} +2 -2
  24. package/dist/_chunks/{connection-status-NT8hUtYl.js → connection-status-DRZIcMqM.js} +3 -3
  25. package/dist/_chunks/{contact-profile-card-BxHiG8e6.js → contact-profile-card-CE9OJKcl.js} +2 -2
  26. package/dist/_chunks/{control-room-rail-DDyPDBji.js → control-room-rail-IH1eBjrK.js} +3 -3
  27. package/dist/_chunks/{copy-field-B-DoMBH_.js → copy-field-fYKpl6aN.js} +2 -2
  28. package/dist/_chunks/{cycle-calculator-DJZYvNhw.js → cycle-calculator-DzgO1vzP.js} +2 -2
  29. package/dist/_chunks/{dashboard-grid-bd0QW2a8.js → dashboard-grid-BFtdHqfn.js} +2 -2
  30. package/dist/_chunks/{data-table-tabs-C8uDThT3.js → data-table-tabs-C1kRUzat.js} +3 -3
  31. package/dist/_chunks/{description-list-Ck7fKdt5.js → description-list-CjJqR8WK.js} +2 -2
  32. package/dist/_chunks/{document-preview-Aae2yKvY.js → document-preview-oyx9RhCo.js} +2 -2
  33. package/dist/_chunks/{document-scanner-qNZLhH_r.js → document-scanner-C5Vrbu21.js} +2 -2
  34. package/dist/_chunks/{due-date-calculator-ajaQ4ya5.js → due-date-calculator-wK8Tajzz.js} +2 -2
  35. package/dist/_chunks/{editable-currency-cell-renderer-DyMbSyDK.js → editable-currency-cell-renderer-DYdzKpjL.js} +3 -3
  36. package/dist/_chunks/{editor-overlay-DE-gxj9L.js → editor-overlay-DEc5yYwo.js} +2 -2
  37. package/dist/_chunks/{empty-state-Df0tM6Kn.js → empty-state-X0sVPfVo.js} +2 -2
  38. package/dist/_chunks/{entity-summary-DBOI5di6.js → entity-summary-B_vO5Ur4.js} +3 -3
  39. package/dist/_chunks/{face-scheme-D7Pub04e.js → face-scheme-BfDi4YkW.js} +5 -5
  40. package/dist/_chunks/{fetal-weight-jon6GIfQ.js → fetal-weight-Dqy0T1fP.js} +2 -2
  41. package/dist/_chunks/{field-array-BQFX5OYi.js → field-array-BjkXZzSr.js} +3 -3
  42. package/dist/_chunks/{field-value-BbiDRyNh.js → field-value-DG8zaZvo.js} +4 -4
  43. package/dist/_chunks/{file-manager-CML_C6_h.js → file-manager-Cc_upjZX.js} +6 -6
  44. package/dist/_chunks/{finished-terminal-BWNVh7Y8.js → finished-terminal-Br61Ip4e.js} +2 -2
  45. package/dist/_chunks/{fiscal-code-input-Nx1N9r72.js → fiscal-code-input-B_nYMSEM.js} +2 -2
  46. package/dist/_chunks/{freemium-paywall-HG3pFvMp.js → freemium-paywall-DrXzYfv-.js} +2 -2
  47. package/dist/_chunks/{gestational-age-calculator-dEpQDWcb.js → gestational-age-calculator-C_uDAeP_.js} +2 -2
  48. package/dist/_chunks/{hcg-doubling-CC6TLtHd.js → hcg-doubling-BaXkJhT-.js} +2 -2
  49. package/dist/_chunks/{header-CimZS-J9.js → header-DUXRIPyM.js} +2 -2
  50. package/dist/_chunks/{header-settings-C0zHLXJE.js → header-settings-CVC_davE.js} +4 -4
  51. package/dist/_chunks/{icon-button-9c9Gp41m.js → icon-button-DA2CAGHZ.js} +2 -2
  52. package/dist/_chunks/{icon-button-group-DrvuWPGJ.js → icon-button-group-D6SVMteH.js} +2 -2
  53. package/dist/_chunks/{icon-picker-DXV3sDp1.js → icon-picker-ChzpCnZ-.js} +3 -3
  54. package/dist/_chunks/{image-cropper-DWSnyLwW.js → image-cropper-C84NDTB7.js} +2 -2
  55. package/dist/_chunks/{info-tip-C4mPSJbS.js → info-tip-C119cwQl.js} +2 -2
  56. package/dist/_chunks/{insert-result-98J1QEp7.js → insert-result-LCNTskNJ.js} +2 -2
  57. package/dist/_chunks/{key-value-pair-DGkGlgCF.js → key-value-pair-BubG4fUa.js} +2 -2
  58. package/dist/_chunks/{link-cell-renderer-D3IsW_2R.js → link-cell-renderer-DH4JYpKU.js} +2 -2
  59. package/dist/_chunks/{locale-picker-sI0HWgZy.js → locale-picker-BvbVjDQ-.js} +3 -3
  60. package/dist/_chunks/{map-view-iwSDRW3t.js → map-view-CCAlC9IL.js} +2 -2
  61. package/dist/_chunks/{marketplace-app-shell-b5hN-Q0m.js → marketplace-app-shell-Chfdia7m.js} +4 -4
  62. package/dist/_chunks/{message-card-BCJ-Jgs6.js → message-card-D8GB4FdF.js} +3 -3
  63. package/dist/_chunks/{message-tray-DHtm_WaF.js → message-tray-CGIRQjx5.js} +4 -4
  64. package/dist/_chunks/{notes-panel-D6HKLLS-.js → notes-panel-DlnENphf.js} +3 -3
  65. package/dist/_chunks/{notification-card-CcMQn2RX.js → notification-card-CtrzoTUO.js} +3 -3
  66. package/dist/_chunks/{notification-tray-nr7dv-Q8.js → notification-tray-BiRzXHDf.js} +4 -4
  67. package/dist/_chunks/{optical-prescription-DtzEqFQm.js → optical-prescription-Dj3Eh5Ok.js} +2 -2
  68. package/dist/_chunks/{patient-details-rENrE_qY.js → patient-details-qnsqYBGQ.js} +5 -5
  69. package/dist/_chunks/{patient-search-NQemeJlL.js → patient-search-D5ufYoRc.js} +2 -2
  70. package/dist/_chunks/{patient-summary-card-DQJgOOrA.js → patient-summary-card-CBfuDvJ5.js} +3 -3
  71. package/dist/_chunks/{patient-table-BubxfOWL.js → patient-table-DwshfVsQ.js} +3 -3
  72. package/dist/_chunks/{payment-automation-upsell-CnaBPt5e.js → payment-automation-upsell-BBIG7NFL.js} +2 -2
  73. package/dist/_chunks/{payment-request-card-CvhDzDNk.js → payment-request-card-BjjBMdsp.js} +3 -3
  74. package/dist/_chunks/{periodontal-chart-C0nNQKKK.js → periodontal-chart-BatZEFar.js} +2 -2
  75. package/dist/_chunks/{periodontal-chart-card-Bz-ebteE.js → periodontal-chart-card-BBpY_rBc.js} +2 -2
  76. package/dist/_chunks/{popover-Btj6N25H.js → popover-Cqcjx-Ny.js} +2 -2
  77. package/dist/_chunks/practice-profile-hero-Bdd0bFqC.js +187 -0
  78. package/dist/_chunks/{practice-results-DWUZRm2x.js → practice-results-F_Rf7c4H.js} +224 -210
  79. package/dist/_chunks/{pregnancy-dating-DQVpFs_f.js → pregnancy-dating-BVS_9YU2.js} +2 -2
  80. package/dist/_chunks/{pregnancy-weight-gain-hm3QJALe.js → pregnancy-weight-gain-CJwbs9W-.js} +2 -2
  81. package/dist/_chunks/{privacy-lock-SQYFRSuH.js → privacy-lock-CkAUo6Dz.js} +3 -3
  82. package/dist/_chunks/{product-hub-panel-BjnD9pdl.js → product-hub-panel-BScCotGD.js} +3 -3
  83. package/dist/_chunks/{public-header.agent-DseNK2NQ.js → public-header.agent-kth2SdXn.js} +3 -3
  84. package/dist/_chunks/{radiograph-panel.agent-CAXFgCyn.js → radiograph-panel.agent-CiHwgISa.js} +4 -4
  85. package/dist/_chunks/{reviews-panel-Cd3SxJdW.js → reviews-panel-BKHEfqVQ.js} +4 -4
  86. package/dist/_chunks/{rich-text-editor-DGtn_4sb.js → rich-text-editor-DARnq_6N.js} +5 -5
  87. package/dist/_chunks/{session-countdown-q4r5TlCo.js → session-countdown-QMsnRa1x.js} +2 -2
  88. package/dist/_chunks/{sheet-CD99CdXr.js → sheet-BSznOyJs.js} +2 -2
  89. package/dist/_chunks/{sign-in-with-alfadocs-button-_JxVRO5d.js → sign-in-with-alfadocs-button-BLe_quy5.js} +2 -2
  90. package/dist/_chunks/{signature-request-C4UBfVRZ.js → signature-request-DXhpphlp.js} +4 -4
  91. package/dist/_chunks/{slot-grid-P_e9p5t5.js → slot-grid-BuZOKfcd.js} +4 -4
  92. package/dist/_chunks/{streaming-text-BuW7I0Zu.js → streaming-text-CvsjIQ7S.js} +2 -2
  93. package/dist/_chunks/{task-tray-BT288xoM.js → task-tray-CYG6rj2s.js} +3 -3
  94. package/dist/_chunks/{tasks-panel-BBkZuejF.js → tasks-panel-Do5SFp-j.js} +5 -5
  95. package/dist/_chunks/{theme-toggle-Bi-CmV6M.js → theme-toggle-DuMhQNFS.js} +3 -3
  96. package/dist/_chunks/{toast.agent-C44mtGrW.js → toast.agent-D1tdg6DS.js} +2 -2
  97. package/dist/_chunks/{token-insert-menu-D8FgXl33.js → token-insert-menu-9Um0JinI.js} +2 -2
  98. package/dist/_chunks/{tool-rail-BF3F2Ihq.js → tool-rail-CHyUmulN.js} +2 -2
  99. package/dist/_chunks/{tooth-scheme-BPXE1_3N.js → tooth-scheme-WdyVymQ1.js} +3 -3
  100. package/dist/_chunks/{unit-converter-iDxlxKmm.js → unit-converter-BPumXMA6.js} +2 -2
  101. package/dist/_chunks/{warning-stack-nczJf52p.js → warning-stack-DQz0Jyir.js} +3 -3
  102. package/dist/_chunks/{workflow-map-BVofnDYh.js → workflow-map-DE_ribRM.js} +5 -5
  103. package/dist/agent-catalog.json +33 -36
  104. package/dist/agent-i18n/en.json +6 -5
  105. package/dist/components/agenda-tray/index.js +1 -1
  106. package/dist/components/ai-consent-banner/index.js +1 -1
  107. package/dist/components/ai-prompt-input/index.js +1 -1
  108. package/dist/components/anamnesis-card/index.js +1 -1
  109. package/dist/components/appointment-card/index.js +1 -1
  110. package/dist/components/appointment-timeline/index.js +1 -1
  111. package/dist/components/audio-recorder/index.js +1 -1
  112. package/dist/components/bishop-score/index.js +1 -1
  113. package/dist/components/bmi-calculator/index.js +1 -1
  114. package/dist/components/booking/booking-types.d.ts +9 -0
  115. package/dist/components/booking/index.js +1 -1
  116. package/dist/components/button/button.d.ts +10 -0
  117. package/dist/components/button/index.js +2 -2
  118. package/dist/components/button-group/index.js +1 -1
  119. package/dist/components/care-plan-card/index.js +1 -1
  120. package/dist/components/care-plan-entry-card/index.js +1 -1
  121. package/dist/components/care-plan-header/index.js +1 -1
  122. package/dist/components/carousel/index.js +1 -1
  123. package/dist/components/chart/index.js +1 -1
  124. package/dist/components/chat-input/index.js +1 -1
  125. package/dist/components/chat-message/index.js +1 -1
  126. package/dist/components/connection-status/index.js +1 -1
  127. package/dist/components/contact-profile-card/index.js +1 -1
  128. package/dist/components/control-room-rail/index.js +1 -1
  129. package/dist/components/copy-field/index.js +1 -1
  130. package/dist/components/cycle-calculator/index.js +1 -1
  131. package/dist/components/dashboard-grid/index.js +1 -1
  132. package/dist/components/data-table/index.js +3 -3
  133. package/dist/components/data-table-tabs/index.js +1 -1
  134. package/dist/components/description-list/index.js +1 -1
  135. package/dist/components/document-preview/index.js +1 -1
  136. package/dist/components/document-scanner/index.js +1 -1
  137. package/dist/components/due-date-calculator/index.js +1 -1
  138. package/dist/components/editor-overlay/index.js +1 -1
  139. package/dist/components/empty-state/index.js +1 -1
  140. package/dist/components/entity-summary/index.js +1 -1
  141. package/dist/components/face-scheme/index.js +1 -1
  142. package/dist/components/fetal-weight/index.js +1 -1
  143. package/dist/components/field-array/index.js +1 -1
  144. package/dist/components/file-manager/index.js +1 -1
  145. package/dist/components/finished-terminal/index.js +1 -1
  146. package/dist/components/fiscal-code-input/index.js +1 -1
  147. package/dist/components/freemium-paywall/index.js +1 -1
  148. package/dist/components/gestational-age-calculator/index.js +1 -1
  149. package/dist/components/hcg-doubling/index.js +1 -1
  150. package/dist/components/header/index.js +1 -1
  151. package/dist/components/header-settings/index.js +1 -1
  152. package/dist/components/icon-button/index.js +1 -1
  153. package/dist/components/icon-button-group/index.js +1 -1
  154. package/dist/components/icon-picker/index.js +1 -1
  155. package/dist/components/image-cropper/index.js +1 -1
  156. package/dist/components/index.d.ts +1 -0
  157. package/dist/components/info-tip/index.js +1 -1
  158. package/dist/components/key-value-pair/index.js +1 -1
  159. package/dist/components/locale-picker/index.js +1 -1
  160. package/dist/components/map-view/index.js +1 -1
  161. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  162. package/dist/components/message-card/index.js +1 -1
  163. package/dist/components/message-tray/index.js +1 -1
  164. package/dist/components/notes-panel/index.js +1 -1
  165. package/dist/components/notification-card/index.js +1 -1
  166. package/dist/components/notification-tray/index.js +1 -1
  167. package/dist/components/optical-prescription/index.js +1 -1
  168. package/dist/components/patient-details/index.js +1 -1
  169. package/dist/components/patient-search/index.js +1 -1
  170. package/dist/components/patient-summary-card/index.js +1 -1
  171. package/dist/components/patient-table/index.js +1 -1
  172. package/dist/components/payment-card/index.js +1 -1
  173. package/dist/components/periodontal-chart/index.js +1 -1
  174. package/dist/components/periodontal-chart-card/index.js +1 -1
  175. package/dist/components/popover/index.js +1 -1
  176. package/dist/components/practice-profile-hero/index.d.ts +4 -0
  177. package/dist/components/practice-profile-hero/index.js +6 -0
  178. package/dist/components/practice-profile-hero/practice-profile-hero.agent.d.ts +4 -0
  179. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +60 -0
  180. package/dist/components/practice-results/index.js +1 -1
  181. package/dist/components/practice-results/practice-results.d.ts +15 -1
  182. package/dist/components/pregnancy-dating/index.js +1 -1
  183. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  184. package/dist/components/privacy-lock/index.js +1 -1
  185. package/dist/components/product-hub-tray/index.js +1 -1
  186. package/dist/components/public-header/index.js +1 -1
  187. package/dist/components/public-header/public-header.d.ts +1 -1
  188. package/dist/components/radiograph-panel/index.js +1 -1
  189. package/dist/components/reviews-panel/index.js +1 -1
  190. package/dist/components/rich-text-editor/index.js +1 -1
  191. package/dist/components/session-countdown/index.js +1 -1
  192. package/dist/components/sheet/index.js +1 -1
  193. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  194. package/dist/components/slot-grid/index.js +1 -1
  195. package/dist/components/streaming-text/index.js +1 -1
  196. package/dist/components/task-tray/index.js +1 -1
  197. package/dist/components/tasks-panel/index.js +1 -1
  198. package/dist/components/theme-toggle/index.js +1 -1
  199. package/dist/components/toast/index.js +1 -1
  200. package/dist/components/token-insert-menu/index.js +1 -1
  201. package/dist/components/tool-rail/index.js +1 -1
  202. package/dist/components/tooth-scheme/index.js +1 -1
  203. package/dist/components/unit-converter/index.js +1 -1
  204. package/dist/components/warning-stack/index.js +1 -1
  205. package/dist/components/workflow/index.js +1 -1
  206. package/dist/host-compat.css +1 -4
  207. package/dist/i18n/locales/ar.d.ts +1 -0
  208. package/dist/i18n/locales/ar.js +1 -0
  209. package/dist/i18n/locales/de.d.ts +1 -0
  210. package/dist/i18n/locales/de.js +1 -0
  211. package/dist/i18n/locales/el.d.ts +1 -0
  212. package/dist/i18n/locales/el.js +1 -0
  213. package/dist/i18n/locales/en.d.ts +1 -0
  214. package/dist/i18n/locales/en.js +1 -0
  215. package/dist/i18n/locales/es.d.ts +1 -0
  216. package/dist/i18n/locales/es.js +1 -0
  217. package/dist/i18n/locales/fr.d.ts +1 -0
  218. package/dist/i18n/locales/fr.js +1 -0
  219. package/dist/i18n/locales/hi.d.ts +1 -0
  220. package/dist/i18n/locales/hi.js +1 -0
  221. package/dist/i18n/locales/it.d.ts +1 -0
  222. package/dist/i18n/locales/it.js +1 -0
  223. package/dist/i18n/locales/ja.d.ts +1 -0
  224. package/dist/i18n/locales/ja.js +1 -0
  225. package/dist/i18n/locales/nl.d.ts +1 -0
  226. package/dist/i18n/locales/nl.js +1 -0
  227. package/dist/i18n/locales/pl.d.ts +1 -0
  228. package/dist/i18n/locales/pl.js +1 -0
  229. package/dist/i18n/locales/pt.d.ts +1 -0
  230. package/dist/i18n/locales/pt.js +1 -0
  231. package/dist/i18n/locales/ro.d.ts +1 -0
  232. package/dist/i18n/locales/ro.js +1 -0
  233. package/dist/i18n/locales/ru.d.ts +1 -0
  234. package/dist/i18n/locales/ru.js +1 -0
  235. package/dist/i18n/locales/sq.d.ts +1 -0
  236. package/dist/i18n/locales/sq.js +1 -0
  237. package/dist/i18n/locales/sv.d.ts +1 -0
  238. package/dist/i18n/locales/sv.js +1 -0
  239. package/dist/i18n/locales/tr.d.ts +1 -0
  240. package/dist/i18n/locales/tr.js +1 -0
  241. package/dist/i18n/locales/zh.d.ts +1 -0
  242. package/dist/i18n/locales/zh.js +1 -0
  243. package/dist/index.js +409 -406
  244. package/dist/locales/ar.json +1 -0
  245. package/dist/locales/de.json +1 -0
  246. package/dist/locales/el.json +1 -0
  247. package/dist/locales/en.json +1 -0
  248. package/dist/locales/es.json +1 -0
  249. package/dist/locales/fr.json +1 -0
  250. package/dist/locales/hi.json +1 -0
  251. package/dist/locales/it.json +1 -0
  252. package/dist/locales/ja.json +1 -0
  253. package/dist/locales/nl.json +1 -0
  254. package/dist/locales/pl.json +1 -0
  255. package/dist/locales/pt.json +1 -0
  256. package/dist/locales/ro.json +1 -0
  257. package/dist/locales/ru.json +1 -0
  258. package/dist/locales/sq.json +1 -0
  259. package/dist/locales/sv.json +1 -0
  260. package/dist/locales/tr.json +1 -0
  261. package/dist/locales/zh.json +1 -0
  262. package/dist/patterns/alia-assistant/index.js +1 -1
  263. package/dist/patterns/anamnesis/index.js +1 -1
  264. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  265. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  266. package/dist/patterns/signature-request/index.js +1 -1
  267. package/dist/tokens.css +1 -1
  268. package/package.json +5 -1
@@ -1,15 +1,15 @@
1
1
  import { jsx as t, jsxs as m, Fragment as Ge } from "react/jsx-runtime";
2
- import { forwardRef as Ze, useState as pe, useRef as _, useMemo as D, useImperativeHandle as Qe, useCallback as K, useEffect as J } from "react";
2
+ import { forwardRef as Ze, useState as pe, useRef as _, useMemo as D, useImperativeHandle as Qe, useCallback as B, useEffect as J } from "react";
3
3
  import { c as Z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as C } from "react-i18next";
5
5
  import { A as Y } from "./alert-CiJT540z.js";
6
6
  import { A as ke } from "./avatar-BNQNhoyL.js";
7
- import { B as G } from "./button-BvNtqHAS.js";
7
+ import { B as G } from "./button-nJaPh_HC.js";
8
8
  import { D as $ } from "./dropdown-menu-DU-Hrf33.js";
9
- import { E as Je } from "./empty-state-Df0tM6Kn.js";
10
- import { M as We } from "./map-view-iwSDRW3t.js";
9
+ import { E as Je } from "./empty-state-X0sVPfVo.js";
10
+ import { M as We } from "./map-view-CCAlC9IL.js";
11
11
  import { R as Ce } from "./rating-BYbUowdK.js";
12
- import { S as I } from "./sheet-CD99CdXr.js";
12
+ import { S as I } from "./sheet-BSznOyJs.js";
13
13
  import { S as Xe } from "./skeleton-CZbwyJAA.js";
14
14
  import { S as Ye } from "./spinner-hbwuKwMf.js";
15
15
  import { B as L } from "./badge-sTusUqZD.js";
@@ -21,8 +21,8 @@ import { C as Se } from "./chevron-down-DWE7GSq9.js";
21
21
  import { M as te } from "./map-pin-BaY37-Km.js";
22
22
  import { L as Ne } from "./languages-CGLX6Qpe.js";
23
23
  import { S as Pe } from "./shield-check-DCJALLVh.js";
24
- import { H as Me } from "./heart--qCA4ffe.js";
25
- import { C as Ae } from "./calendar-clock-hbObjfGY.js";
24
+ import { H as Ae } from "./heart--qCA4ffe.js";
25
+ import { C as Me } from "./calendar-clock-hbObjfGY.js";
26
26
  /**
27
27
  * @license lucide-react v1.22.0 - ISC
28
28
  *
@@ -118,7 +118,7 @@ const st = [
118
118
  description: "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result."
119
119
  }
120
120
  }
121
- }, lt = 13, ot = [
121
+ }, ot = 13, lt = [
122
122
  "distance",
123
123
  "rating",
124
124
  "next-available",
@@ -143,40 +143,51 @@ function W(e, n, s, r) {
143
143
  a && (H("serp_result_clicked", { resultId: n, source: s, position: i }), r(a, s));
144
144
  }
145
145
  function ct(e, n) {
146
- const r = (n.lat - e.lat) * Math.PI / 180, i = (n.lng - e.lng) * Math.PI / 180, a = e.lat * Math.PI / 180, c = n.lat * Math.PI / 180, d = Math.sin(r / 2), l = Math.sin(i / 2), g = d * d + Math.cos(a) * Math.cos(c) * l * l;
146
+ const r = (n.lat - e.lat) * Math.PI / 180, i = (n.lng - e.lng) * Math.PI / 180, a = e.lat * Math.PI / 180, c = n.lat * Math.PI / 180, d = Math.sin(r / 2), o = Math.sin(i / 2), g = d * d + Math.cos(a) * Math.cos(c) * o * o;
147
147
  return 2 * 6371 * Math.asin(Math.min(1, Math.sqrt(g)));
148
148
  }
149
149
  function dt(e, n, s) {
150
+ var i;
151
+ const r = [];
152
+ for (const a of e) {
153
+ const c = a.field ?? a.key, d = (((i = s == null ? void 0 : s[a.key]) == null ? void 0 : i.length) ?? 0) > 0, o = a.type === "boolean" || a.type !== "options" && a.options.length === 0 && (d || n.some(
154
+ (g) => typeof g[c] == "boolean"
155
+ ));
156
+ !o && a.options.length === 0 || r.push({ ...a, boolean: o, booleanField: c });
157
+ }
158
+ return r;
159
+ }
160
+ function ut(e, n, s) {
150
161
  return !n || Object.keys(n).length === 0 ? e : e.filter((r) => {
151
162
  for (const i of s) {
152
163
  const a = n[i.key];
153
164
  if (!a || a.length === 0) continue;
154
- if (i.options.length === 0) {
155
- if (r[i.key] !== !0) return !1;
165
+ if (i.boolean) {
166
+ if (r[i.booleanField] !== !0) return !1;
156
167
  continue;
157
168
  }
158
169
  const c = i.key === "insurance" ? r.insurances : i.key === "language" ? r.languages : r[i.key];
159
- if (!Array.isArray(c) || !(i.multi ? a.some((l) => c.includes(l)) : c.includes(a[0]))) return !1;
170
+ if (!Array.isArray(c) || !(i.multi ? a.some((o) => c.includes(o)) : c.includes(a[0]))) return !1;
160
171
  }
161
172
  return !0;
162
173
  });
163
174
  }
164
- function ut(e, n, s) {
175
+ function pt(e, n, s) {
165
176
  const r = e.map((a) => {
166
177
  const c = a.location ? a.location.distanceKm ?? (s ? ct(s, a.location) : void 0) : void 0;
167
178
  return { result: a, distanceKm: c };
168
179
  }), i = (a, c) => {
169
- var d, l, g, o;
180
+ var d, o, g, l;
170
181
  switch (n) {
171
182
  case "distance":
172
183
  return a.distanceKm == null && c.distanceKm == null ? 0 : a.distanceKm == null ? 1 : c.distanceKm == null ? -1 : a.distanceKm - c.distanceKm;
173
184
  case "rating": {
174
- const u = ((d = a.result.rating) == null ? void 0 : d.value) ?? -1;
175
- return (((l = c.result.rating) == null ? void 0 : l.value) ?? -1) - u;
185
+ const p = ((d = a.result.rating) == null ? void 0 : d.value) ?? -1;
186
+ return (((o = c.result.rating) == null ? void 0 : o.value) ?? -1) - p;
176
187
  }
177
188
  case "next-available": {
178
- const u = ((g = a.result.nextAvailableSlot) == null ? void 0 : g.dateTime) ?? "", h = ((o = c.result.nextAvailableSlot) == null ? void 0 : o.dateTime) ?? "";
179
- return !u && !h ? 0 : u ? h ? u.localeCompare(h) : -1 : 1;
189
+ const p = ((g = a.result.nextAvailableSlot) == null ? void 0 : g.dateTime) ?? "", h = ((l = c.result.nextAvailableSlot) == null ? void 0 : l.dateTime) ?? "";
190
+ return !p && !h ? 0 : p ? h ? p.localeCompare(h) : -1 : 1;
180
191
  }
181
192
  case "relevance":
182
193
  default:
@@ -195,13 +206,13 @@ function Re(e) {
195
206
  for (const c of e) {
196
207
  if (!c.location) continue;
197
208
  a = !0;
198
- const { lat: d, lng: l } = c.location;
199
- d > n && (n = d), d < s && (s = d), l > r && (r = l), l < i && (i = l);
209
+ const { lat: d, lng: o } = c.location;
210
+ d > n && (n = d), d < s && (s = d), o > r && (r = o), o < i && (i = o);
200
211
  }
201
212
  if (a)
202
213
  return { north: n, south: s, east: r, west: i };
203
214
  }
204
- const pt = Z(
215
+ const mt = Z(
205
216
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)] ds:gap-[var(--spacing-md)]",
206
217
  {
207
218
  variants: {
@@ -261,7 +272,7 @@ const ee = Z(
261
272
  },
262
273
  defaultVariants: { state: "idle" }
263
274
  }
264
- ), mt = Z(
275
+ ), ft = Z(
265
276
  "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
266
277
  {
267
278
  variants: {
@@ -280,7 +291,7 @@ const ee = Z(
280
291
  },
281
292
  defaultVariants: { placement: "inline" }
282
293
  }
283
- ), ft = Z(
294
+ ), ht = Z(
284
295
  [
285
296
  "ds:ms-[var(--spacing-xs)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
286
297
  "ds:min-h-[var(--min-target-size)] ds:ps-[var(--spacing-xs)] ds:pe-[var(--spacing-xs)]",
@@ -298,19 +309,19 @@ function ze({
298
309
  floating: r
299
310
  }) {
300
311
  const { t: i } = C(), a = D(() => n ?? {}, [n]), c = D(
301
- () => Object.values(a).some((o) => o && o.length > 0),
312
+ () => Object.values(a).some((l) => l && l.length > 0),
302
313
  [a]
303
- ), d = (o, u) => {
314
+ ), d = (l, p) => {
304
315
  const h = { ...a };
305
- u.length === 0 ? delete h[o] : h[o] = u, s(h), H("serp_filter_changed", { key: o, values: u });
306
- }, l = (o) => {
316
+ p.length === 0 ? delete h[l] : h[l] = p, s(h), H("serp_filter_changed", { key: l, values: p });
317
+ }, o = (l) => {
307
318
  var h;
308
- const u = (((h = a[o]) == null ? void 0 : h.length) ?? 0) > 0;
309
- d(o, u ? [] : ["true"]);
310
- }, g = (o, u) => {
311
- const h = a[o.key] ?? [], x = h.includes(u);
319
+ const p = (((h = a[l]) == null ? void 0 : h.length) ?? 0) > 0;
320
+ d(l, p ? [] : ["true"]);
321
+ }, g = (l, p) => {
322
+ const h = a[l.key] ?? [], x = h.includes(p);
312
323
  let v;
313
- o.multi ? v = x ? h.filter((p) => p !== u) : [...h, u] : v = x ? [] : [u], d(o.key, v);
324
+ l.multi ? v = x ? h.filter((u) => u !== p) : [...h, p] : v = x ? [] : [p], d(l.key, v);
314
325
  };
315
326
  return e.length === 0 ? null : /* @__PURE__ */ m(
316
327
  "div",
@@ -318,26 +329,26 @@ function ze({
318
329
  "data-component": "practice-results-filters",
319
330
  role: "group",
320
331
  "aria-label": i("practiceResults.filters.label"),
321
- className: mt({
332
+ className: ft({
322
333
  placement: r ? "floating" : "inline"
323
334
  }),
324
335
  children: [
325
- e.map((o) => {
326
- const u = o.options.length === 0, h = a[o.key] ?? [], x = h.length > 0;
327
- if (u)
336
+ e.map((l) => {
337
+ const p = l.boolean, h = a[l.key] ?? [], x = h.length > 0;
338
+ if (p)
328
339
  return /* @__PURE__ */ t(
329
340
  "button",
330
341
  {
331
342
  type: "button",
332
343
  "aria-pressed": x,
333
- "aria-label": o.label,
334
- onClick: () => l(o.key),
344
+ "aria-label": l.label,
345
+ onClick: () => o(l.key),
335
346
  className: ee({
336
347
  state: x ? "active" : "idle"
337
348
  }),
338
- children: /* @__PURE__ */ t("span", { children: o.label })
349
+ children: /* @__PURE__ */ t("span", { children: l.label })
339
350
  },
340
- o.key
351
+ l.key
341
352
  );
342
353
  const v = x ? ` (${h.length})` : "";
343
354
  return /* @__PURE__ */ m($.Root, { children: [
@@ -345,13 +356,13 @@ function ze({
345
356
  "button",
346
357
  {
347
358
  type: "button",
348
- "aria-label": `${o.label}${v}`,
359
+ "aria-label": `${l.label}${v}`,
349
360
  className: ee({
350
361
  state: x ? "active" : "idle"
351
362
  }),
352
363
  children: [
353
364
  /* @__PURE__ */ m("span", { children: [
354
- o.label,
365
+ l.label,
355
366
  v
356
367
  ] }),
357
368
  /* @__PURE__ */ t(
@@ -364,18 +375,18 @@ function ze({
364
375
  ]
365
376
  }
366
377
  ) }),
367
- /* @__PURE__ */ t($.Content, { sideOffset: 8, align: "start", children: o.options.map((p) => /* @__PURE__ */ t(
378
+ /* @__PURE__ */ t($.Content, { sideOffset: 8, align: "start", children: l.options.map((u) => /* @__PURE__ */ t(
368
379
  $.CheckboxItem,
369
380
  {
370
- checked: h.includes(p.value),
381
+ checked: h.includes(u.value),
371
382
  onSelect: (f) => {
372
- o.multi && f.preventDefault(), g(o, p.value);
383
+ l.multi && f.preventDefault(), g(l, u.value);
373
384
  },
374
- children: p.label
385
+ children: u.label
375
386
  },
376
- p.value
387
+ u.value
377
388
  )) })
378
- ] }, o.key);
389
+ ] }, l.key);
379
390
  }),
380
391
  c ? /* @__PURE__ */ t(
381
392
  "button",
@@ -384,7 +395,7 @@ function ze({
384
395
  onClick: () => {
385
396
  s({}), H("serp_filter_changed", { key: "*", values: [] });
386
397
  },
387
- className: ft(),
398
+ className: ht(),
388
399
  children: i("practiceResults.filters.clear")
389
400
  }
390
401
  ) : null
@@ -431,7 +442,7 @@ function de({ value: e, onChange: n }) {
431
442
  const a = i;
432
443
  a !== e && (n(a), H("serp_sort_changed", { sort: a }));
433
444
  },
434
- children: ot.map((i) => /* @__PURE__ */ t($.RadioItem, { value: i, children: r(i) }, i))
445
+ children: lt.map((i) => /* @__PURE__ */ t($.RadioItem, { value: i, children: r(i) }, i))
435
446
  }
436
447
  ) })
437
448
  ] });
@@ -465,12 +476,12 @@ const we = Z(
465
476
  defaultVariants: { state: "placeholder" }
466
477
  }
467
478
  );
468
- function ht() {
479
+ function gt() {
469
480
  if (typeof document > "u") return "4945a3";
470
481
  const e = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), n = /^#?([0-9a-fA-F]{6})$/.exec(e);
471
482
  return n ? n[1] : "4945a3";
472
483
  }
473
- function gt({
484
+ function vt({
474
485
  apiKey: e,
475
486
  center: n,
476
487
  zoom: s = 14,
@@ -489,7 +500,7 @@ function gt({
489
500
  ]
490
501
  }
491
502
  );
492
- const a = ht(), c = `https://maps.googleapis.com/maps/api/staticmap?center=${n.lat},${n.lng}&zoom=${s}&size=240x160&scale=2&markers=color:0x${a}%7C${n.lat},${n.lng}&key=${encodeURIComponent(e)}`;
503
+ const a = gt(), c = `https://maps.googleapis.com/maps/api/staticmap?center=${n.lat},${n.lng}&zoom=${s}&size=240x160&scale=2&markers=color:0x${a}%7C${n.lat},${n.lng}&key=${encodeURIComponent(e)}`;
493
504
  return /* @__PURE__ */ t(
494
505
  "img",
495
506
  {
@@ -532,7 +543,7 @@ const Fe = Z(
532
543
  defaultVariants: { density: "compact" }
533
544
  }
534
545
  );
535
- function vt({
546
+ function bt({
536
547
  result: e,
537
548
  highlighted: n,
538
549
  onSelect: s,
@@ -541,12 +552,12 @@ function vt({
541
552
  density: a = "compact",
542
553
  openLabel: c,
543
554
  nextSlotText: d,
544
- maxInsuranceChips: l = 3,
555
+ maxInsuranceChips: o = 3,
545
556
  maxLanguageChips: g = 4,
546
- children: o
557
+ children: l
547
558
  }) {
548
- var T, P, q, U, O, B;
549
- const { t: u, i18n: h } = C(), x = e.rating, v = (T = e.location) == null ? void 0 : T.distanceKm, p = (((P = e.languages) == null ? void 0 : P.length) ?? 0) > 0, f = (((q = e.insurances) == null ? void 0 : q.length) ?? 0) > 0, y = e.specializedInFearPatients, N = p || f || y, R = (e.languages ?? []).slice(0, g), M = (((U = e.languages) == null ? void 0 : U.length) ?? 0) - R.length, A = (e.insurances ?? []).slice(0, l), z = (((O = e.insurances) == null ? void 0 : O.length) ?? 0) - A.length;
559
+ var T, P, q, U, O, K;
560
+ const { t: p, i18n: h } = C(), x = e.rating, v = (T = e.location) == null ? void 0 : T.distanceKm, u = (((P = e.languages) == null ? void 0 : P.length) ?? 0) > 0, f = (((q = e.insurances) == null ? void 0 : q.length) ?? 0) > 0, y = e.specializedInFearPatients, N = u || f || y, R = (e.languages ?? []).slice(0, g), A = (((U = e.languages) == null ? void 0 : U.length) ?? 0) - R.length, M = (e.insurances ?? []).slice(0, o), z = (((O = e.insurances) == null ? void 0 : O.length) ?? 0) - M.length;
550
561
  return (
551
562
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events -- card is role="group" by design (axe nested-interactive); click handler is mouse-only sync.
552
563
  /* @__PURE__ */ m(
@@ -577,7 +588,7 @@ function vt({
577
588
  v != null ? /* @__PURE__ */ t(Te, { distanceKm: v }) : null
578
589
  ] }),
579
590
  e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
580
- (B = e.location) != null && B.address ? /* @__PURE__ */ m("span", { className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
591
+ (K = e.location) != null && K.address ? /* @__PURE__ */ m("span", { className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
581
592
  /* @__PURE__ */ t(te, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
582
593
  e.location.address
583
594
  ] }) : null
@@ -596,12 +607,12 @@ function vt({
596
607
  {
597
608
  variant: "neutral",
598
609
  leading: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
599
- children: _e(S, u, h)
610
+ children: _e(S, p, h)
600
611
  },
601
612
  `lang-${S}`
602
613
  )),
603
- M > 0 ? /* @__PURE__ */ t(L, { variant: "neutral", children: `+${M}` }) : null,
604
- A.map((S) => /* @__PURE__ */ t(
614
+ A > 0 ? /* @__PURE__ */ t(L, { variant: "neutral", children: `+${A}` }) : null,
615
+ M.map((S) => /* @__PURE__ */ t(
605
616
  L,
606
617
  {
607
618
  variant: "info",
@@ -611,18 +622,18 @@ function vt({
611
622
  `ins-${S}`
612
623
  )),
613
624
  z > 0 ? /* @__PURE__ */ t(L, { variant: "neutral", children: `+${z}` }) : null,
614
- y ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }), children: u("practiceResults.fearPatient.label") }) : null
625
+ y ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" }), children: p("practiceResults.fearPatient.label") }) : null
615
626
  ] }) : null,
616
627
  e.nextAvailableSlot && d ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
617
628
  /* @__PURE__ */ m("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
618
629
  /* @__PURE__ */ t(
619
- Ae,
630
+ Me,
620
631
  {
621
632
  "aria-hidden": "true",
622
633
  className: "ds:size-4 ds:text-[var(--primary)]"
623
634
  }
624
635
  ),
625
- u("practiceResults.nextSlot.summary", { time: d })
636
+ p("practiceResults.nextSlot.summary", { time: d })
626
637
  ] }),
627
638
  /* @__PURE__ */ t(
628
639
  G,
@@ -638,13 +649,13 @@ function vt({
638
649
  {
639
650
  href: e.nextAvailableSlot.bookingHref,
640
651
  "data-component": "practice-result-next-slot-cta",
641
- children: u("practiceResults.nextSlot.cta", { time: d })
652
+ children: p("practiceResults.nextSlot.cta", { time: d })
642
653
  }
643
654
  )
644
655
  }
645
656
  )
646
657
  ] }) : null,
647
- o,
658
+ l,
648
659
  /* @__PURE__ */ t("div", { className: "ds:mt-[var(--spacing-xs)] ds:flex ds:justify-end", children: /* @__PURE__ */ t(
649
660
  G,
650
661
  {
@@ -663,7 +674,7 @@ function vt({
663
674
  )
664
675
  );
665
676
  }
666
- function bt({
677
+ function xt({
667
678
  result: e,
668
679
  apiKey: n,
669
680
  highlighted: s,
@@ -672,11 +683,11 @@ function bt({
672
683
  onHover: a,
673
684
  openLabel: c
674
685
  }) {
675
- var p, f, y, N;
676
- const { t: d, i18n: l } = C(), g = D(() => {
686
+ var u, f, y, N;
687
+ const { t: d, i18n: o } = C(), g = D(() => {
677
688
  if (e.nextAvailableSlot)
678
689
  try {
679
- return new Intl.DateTimeFormat(l.language, {
690
+ return new Intl.DateTimeFormat(o.language, {
680
691
  weekday: "short",
681
692
  hour: "numeric",
682
693
  minute: "numeric"
@@ -684,7 +695,7 @@ function bt({
684
695
  } catch {
685
696
  return e.nextAvailableSlot.dateTime;
686
697
  }
687
- }, [e.nextAvailableSlot, l.language]), o = (((p = e.languages) == null ? void 0 : p.length) ?? 0) > 0, u = (((f = e.insurances) == null ? void 0 : f.length) ?? 0) > 0, h = e.specializedInFearPatients, x = o || u || h, v = (y = e.location) == null ? void 0 : y.distanceKm;
698
+ }, [e.nextAvailableSlot, o.language]), l = (((u = e.languages) == null ? void 0 : u.length) ?? 0) > 0, p = (((f = e.insurances) == null ? void 0 : f.length) ?? 0) > 0, h = e.specializedInFearPatients, x = l || p || h, v = (y = e.location) == null ? void 0 : y.distanceKm;
688
699
  return (
689
700
  // eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions, jsx-a11y/click-events-have-key-events -- card is role="group" by design (axe nested-interactive); click handler is mouse-only sync.
690
701
  /* @__PURE__ */ m(
@@ -702,7 +713,7 @@ function bt({
702
713
  className: Fe({ density: "rich" }),
703
714
  children: [
704
715
  e.location ? /* @__PURE__ */ t(
705
- gt,
716
+ vt,
706
717
  {
707
718
  apiKey: n,
708
719
  center: {
@@ -749,16 +760,16 @@ function bt({
749
760
  ) : null
750
761
  ] }),
751
762
  x ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
752
- o ? (e.languages ?? []).map((R) => /* @__PURE__ */ t(
763
+ l ? (e.languages ?? []).map((R) => /* @__PURE__ */ t(
753
764
  L,
754
765
  {
755
766
  variant: "neutral",
756
767
  leading: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
757
- children: _e(R, d, l)
768
+ children: _e(R, d, o)
758
769
  },
759
770
  `lang-${R}`
760
771
  )) : null,
761
- u ? (e.insurances ?? []).map((R) => /* @__PURE__ */ t(
772
+ p ? (e.insurances ?? []).map((R) => /* @__PURE__ */ t(
762
773
  L,
763
774
  {
764
775
  variant: "info",
@@ -767,12 +778,12 @@ function bt({
767
778
  },
768
779
  `ins-${R}`
769
780
  )) : null,
770
- h ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }), children: d("practiceResults.fearPatient.label") }) : null
781
+ h ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Ae, { "aria-hidden": "true" }), children: d("practiceResults.fearPatient.label") }) : null
771
782
  ] }) : null,
772
783
  e.nextAvailableSlot && g ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
773
784
  /* @__PURE__ */ m("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
774
785
  /* @__PURE__ */ t(
775
- Ae,
786
+ Me,
776
787
  {
777
788
  "aria-hidden": "true",
778
789
  className: "ds:size-4 ds:text-[var(--primary)]"
@@ -827,17 +838,17 @@ function me({
827
838
  openLabel: a,
828
839
  formatNextSlot: c,
829
840
  onLoadMore: d,
830
- loadingMore: l,
841
+ loadingMore: o,
831
842
  loadingSkeletons: g,
832
- density: o = "compact",
833
- apiKey: u,
843
+ density: l = "compact",
844
+ apiKey: p,
834
845
  containerRef: h
835
846
  }) {
836
847
  const { t: x } = C(), v = _(null);
837
848
  return J(() => {
838
849
  if (!d) return;
839
- const p = v.current;
840
- if (!p || typeof IntersectionObserver > "u") return;
850
+ const u = v.current;
851
+ if (!u || typeof IntersectionObserver > "u") return;
841
852
  const f = new IntersectionObserver(
842
853
  (y) => {
843
854
  for (const N of y)
@@ -847,7 +858,7 @@ function me({
847
858
  },
848
859
  { root: null, rootMargin: "200px" }
849
860
  );
850
- return f.observe(p), () => f.disconnect();
861
+ return f.observe(u), () => f.disconnect();
851
862
  }, [d, e.length]), g ? /* @__PURE__ */ t(
852
863
  "div",
853
864
  {
@@ -855,11 +866,11 @@ function me({
855
866
  "aria-live": "polite",
856
867
  "aria-label": x("practiceResults.loading"),
857
868
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
858
- children: Array.from({ length: 4 }).map((p, f) => /* @__PURE__ */ t(
869
+ children: Array.from({ length: 4 }).map((u, f) => /* @__PURE__ */ t(
859
870
  Xe,
860
871
  {
861
872
  variant: "rounded",
862
- height: o === "rich" ? "11rem" : "7rem"
873
+ height: l === "rich" ? "11rem" : "7rem"
863
874
  },
864
875
  `pr-skel-${f}`
865
876
  ))
@@ -873,36 +884,36 @@ function me({
873
884
  "aria-label": x("practiceResults.list.label"),
874
885
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:overflow-y-auto",
875
886
  children: [
876
- e.map((p) => /* @__PURE__ */ t("div", { role: "listitem", children: o === "rich" ? /* @__PURE__ */ t(
877
- bt,
887
+ e.map((u) => /* @__PURE__ */ t("div", { role: "listitem", children: l === "rich" ? /* @__PURE__ */ t(
888
+ xt,
878
889
  {
879
- result: p,
880
- apiKey: u,
881
- highlighted: n === p.id,
882
- onSelect: () => r(p.id),
883
- onOpenClick: () => i(p.id),
884
- onHover: () => s(p.id),
890
+ result: u,
891
+ apiKey: p,
892
+ highlighted: n === u.id,
893
+ onSelect: () => r(u.id),
894
+ onOpenClick: () => i(u.id),
895
+ onHover: () => s(u.id),
885
896
  openLabel: a
886
897
  }
887
898
  ) : /* @__PURE__ */ t(
888
- vt,
899
+ bt,
889
900
  {
890
- result: p,
891
- highlighted: n === p.id,
892
- onSelect: () => r(p.id),
893
- onOpenClick: () => i(p.id),
894
- onHover: () => s(p.id),
901
+ result: u,
902
+ highlighted: n === u.id,
903
+ onSelect: () => r(u.id),
904
+ onOpenClick: () => i(u.id),
905
+ onHover: () => s(u.id),
895
906
  openLabel: a,
896
- nextSlotText: c(p)
907
+ nextSlotText: c(u)
897
908
  }
898
- ) }, p.id)),
909
+ ) }, u.id)),
899
910
  d ? /* @__PURE__ */ t(
900
911
  "div",
901
912
  {
902
913
  ref: v,
903
914
  "aria-hidden": "true",
904
915
  className: "ds:flex ds:items-center ds:justify-center ds:py-[var(--spacing-md)]",
905
- children: l ? /* @__PURE__ */ t(Ye, { size: "md", variant: "pulse" }) : /* @__PURE__ */ t("span", { className: "ds:size-1" })
916
+ children: o ? /* @__PURE__ */ t(Ye, { size: "md", variant: "pulse" }) : /* @__PURE__ */ t("span", { className: "ds:size-1" })
906
917
  }
907
918
  ) : null
908
919
  ]
@@ -918,10 +929,10 @@ function ue({
918
929
  highlightedId: a,
919
930
  onPinClick: c,
920
931
  onPinHover: d,
921
- onPinFirstInteract: l,
932
+ onPinFirstInteract: o,
922
933
  onBoundsChange: g,
923
- consentGranted: o,
924
- onConsentRequest: u,
934
+ consentGranted: l,
935
+ onConsentRequest: p,
925
936
  mapHandleRef: h
926
937
  }) {
927
938
  const { t: x } = C(), v = D(
@@ -936,7 +947,7 @@ function ue({
936
947
  label: f.name
937
948
  })),
938
949
  [e]
939
- ), p = D(() => {
950
+ ), u = D(() => {
940
951
  if (n) return n;
941
952
  const f = Re(e);
942
953
  return f ? {
@@ -959,14 +970,14 @@ function ue({
959
970
  ref: h,
960
971
  apiKey: r ?? "",
961
972
  mapId: i,
962
- center: p,
973
+ center: u,
963
974
  zoom: s,
964
975
  markers: v,
965
976
  selectedMarkerId: a,
966
- consentGranted: !!o,
967
- onConsentRequest: u,
977
+ consentGranted: !!l,
978
+ onConsentRequest: p,
968
979
  onMarkerClick: (f) => {
969
- f != null && (d(f), l(f), c(f));
980
+ f != null && (d(f), o(f), c(f));
970
981
  },
971
982
  ariaLabel: x("practiceResults.map.label"),
972
983
  size: "fill",
@@ -997,21 +1008,21 @@ function fe({
997
1008
  {
998
1009
  facets: n,
999
1010
  value: s.facets,
1000
- onChange: (l) => r({ ...s, facets: l })
1011
+ onChange: (o) => r({ ...s, facets: o })
1001
1012
  }
1002
1013
  ),
1003
1014
  /* @__PURE__ */ t(
1004
1015
  de,
1005
1016
  {
1006
1017
  value: s.sort ?? "relevance",
1007
- onChange: (l) => r({ ...s, sort: l })
1018
+ onChange: (o) => r({ ...s, sort: o })
1008
1019
  }
1009
1020
  )
1010
1021
  ] }) : /* @__PURE__ */ t("div", { className: "ds:flex ds:justify-end", children: /* @__PURE__ */ t(
1011
1022
  de,
1012
1023
  {
1013
1024
  value: s.sort ?? "relevance",
1014
- onChange: (l) => r({ ...s, sort: l })
1025
+ onChange: (o) => r({ ...s, sort: o })
1015
1026
  }
1016
1027
  ) })
1017
1028
  ] });
@@ -1044,7 +1055,7 @@ function ge({ onRetry: e }) {
1044
1055
  ) }) : null
1045
1056
  ] });
1046
1057
  }
1047
- function xt(e) {
1058
+ function yt(e) {
1048
1059
  const {
1049
1060
  results: n,
1050
1061
  apiKey: s,
@@ -1053,19 +1064,19 @@ function xt(e) {
1053
1064
  searchCentre: a,
1054
1065
  onLoadMore: c,
1055
1066
  loadingMore: d,
1056
- loadingSkeletons: l,
1067
+ loadingSkeletons: o,
1057
1068
  emptyResultsSlot: g,
1058
- errorSlot: o,
1059
- error: u,
1069
+ errorSlot: l,
1070
+ error: p,
1060
1071
  onRetry: h,
1061
1072
  highlightedId: x,
1062
1073
  onCardHover: v,
1063
- onPinClick: p,
1074
+ onPinClick: u,
1064
1075
  consentGranted: f,
1065
1076
  onConsentRequest: y,
1066
1077
  onBoundsChange: N,
1067
1078
  listContainerRef: R
1068
- } = e, { t: M } = C(), [A, z] = pe(!1), T = u ? o ?? /* @__PURE__ */ t(ge, { onRetry: h }) : n.length === 0 && !l ? g ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1079
+ } = e, { t: A } = C(), [M, z] = pe(!1), T = p ? l ?? /* @__PURE__ */ t(ge, { onRetry: h }) : n.length === 0 && !o ? g ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1069
1080
  me,
1070
1081
  {
1071
1082
  results: n,
@@ -1077,7 +1088,7 @@ function xt(e) {
1077
1088
  formatNextSlot: e.formatNextSlot,
1078
1089
  onLoadMore: c,
1079
1090
  loadingMore: d,
1080
- loadingSkeletons: l,
1091
+ loadingSkeletons: o,
1081
1092
  density: "compact",
1082
1093
  containerRef: R
1083
1094
  }
@@ -1096,7 +1107,7 @@ function xt(e) {
1096
1107
  mapId: r,
1097
1108
  highlightedId: x,
1098
1109
  onPinClick: (P) => {
1099
- W(n, P, "pin", e.onResultSelect), p(P);
1110
+ W(n, P, "pin", e.onResultSelect), u(P);
1100
1111
  },
1101
1112
  onPinHover: v,
1102
1113
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1114,13 +1125,13 @@ function xt(e) {
1114
1125
  size: "md",
1115
1126
  startIcon: /* @__PURE__ */ t(it, { "aria-hidden": "true" }),
1116
1127
  onClick: () => z(!0),
1117
- children: M("practiceResults.viewMap")
1128
+ children: A("practiceResults.viewMap")
1118
1129
  }
1119
1130
  ) }),
1120
- /* @__PURE__ */ t(I.Root, { open: A, onOpenChange: z, children: /* @__PURE__ */ m(I.Content, { side: "bottom", size: "lg", children: [
1121
- /* @__PURE__ */ t(I.Header, { children: /* @__PURE__ */ t(I.Title, { children: M("practiceResults.map.label") }) }),
1131
+ /* @__PURE__ */ t(I.Root, { open: M, onOpenChange: z, children: /* @__PURE__ */ m(I.Content, { side: "bottom", size: "lg", children: [
1132
+ /* @__PURE__ */ t(I.Header, { children: /* @__PURE__ */ t(I.Title, { children: A("practiceResults.map.label") }) }),
1122
1133
  /* @__PURE__ */ m(I.Body, { children: [
1123
- /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: M("practiceResults.sheet.description") }),
1134
+ /* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: A("practiceResults.sheet.description") }),
1124
1135
  /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
1125
1136
  /* @__PURE__ */ t("div", { className: "ds:h-[20rem]", children: /* @__PURE__ */ t(
1126
1137
  ue,
@@ -1132,7 +1143,7 @@ function xt(e) {
1132
1143
  mapId: r,
1133
1144
  highlightedId: x,
1134
1145
  onPinClick: (P) => {
1135
- W(n, P, "pin", e.onResultSelect), p(P);
1146
+ W(n, P, "pin", e.onResultSelect), u(P);
1136
1147
  },
1137
1148
  onPinHover: v,
1138
1149
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1148,7 +1159,7 @@ function xt(e) {
1148
1159
  ] }) })
1149
1160
  ] });
1150
1161
  }
1151
- const yt = {
1162
+ const Rt = {
1152
1163
  peek: "sm",
1153
1164
  half: "md",
1154
1165
  full: "lg"
@@ -1157,35 +1168,35 @@ const yt = {
1157
1168
  "half",
1158
1169
  "full"
1159
1170
  ];
1160
- function Rt({ value: e, onChange: n }) {
1171
+ function wt({ value: e, onChange: n }) {
1161
1172
  const { t: s, i18n: r } = C(), i = r.dir() === "rtl", a = _(
1162
1173
  /* @__PURE__ */ new Map()
1163
- ), c = K((l) => {
1174
+ ), c = B((o) => {
1164
1175
  var g;
1165
- (g = a.current.get(l)) == null || g.focus();
1166
- }, []), d = K(
1167
- (l, g) => {
1168
- const o = V.indexOf(g), u = V.length, h = i ? "ArrowLeft" : "ArrowRight", x = i ? "ArrowRight" : "ArrowLeft";
1176
+ (g = a.current.get(o)) == null || g.focus();
1177
+ }, []), d = B(
1178
+ (o, g) => {
1179
+ const l = V.indexOf(g), p = V.length, h = i ? "ArrowLeft" : "ArrowRight", x = i ? "ArrowRight" : "ArrowLeft";
1169
1180
  let v = null;
1170
- switch (l.key) {
1181
+ switch (o.key) {
1171
1182
  case h:
1172
1183
  case "ArrowDown":
1173
- v = V[(o + 1) % u];
1184
+ v = V[(l + 1) % p];
1174
1185
  break;
1175
1186
  case x:
1176
1187
  case "ArrowUp":
1177
- v = V[(o - 1 + u) % u];
1188
+ v = V[(l - 1 + p) % p];
1178
1189
  break;
1179
1190
  case "Home":
1180
1191
  v = V[0];
1181
1192
  break;
1182
1193
  case "End":
1183
- v = V[u - 1];
1194
+ v = V[p - 1];
1184
1195
  break;
1185
1196
  default:
1186
1197
  return;
1187
1198
  }
1188
- l.preventDefault(), v && v !== g && n(v), v && c(v);
1199
+ o.preventDefault(), v && v !== g && n(v), v && c(v);
1189
1200
  },
1190
1201
  [c, i, n]
1191
1202
  );
@@ -1195,33 +1206,33 @@ function Rt({ value: e, onChange: n }) {
1195
1206
  role: "radiogroup",
1196
1207
  "aria-label": s("practiceResults.sheet.snap.label"),
1197
1208
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
1198
- children: V.map((l) => {
1199
- const g = e === l;
1209
+ children: V.map((o) => {
1210
+ const g = e === o;
1200
1211
  return /* @__PURE__ */ t(
1201
1212
  "button",
1202
1213
  {
1203
- ref: (o) => {
1204
- o ? a.current.set(l, o) : a.current.delete(l);
1214
+ ref: (l) => {
1215
+ l ? a.current.set(o, l) : a.current.delete(o);
1205
1216
  },
1206
1217
  type: "button",
1207
1218
  role: "radio",
1208
1219
  "aria-checked": g,
1209
- "aria-label": s(`practiceResults.sheet.snap.${l}`),
1220
+ "aria-label": s(`practiceResults.sheet.snap.${o}`),
1210
1221
  tabIndex: g ? 0 : -1,
1211
- onClick: () => n(l),
1212
- onKeyDown: (o) => d(o, l),
1222
+ onClick: () => n(o),
1223
+ onKeyDown: (l) => d(l, o),
1213
1224
  className: ee({
1214
1225
  state: g ? "active" : "idle"
1215
1226
  }),
1216
- children: s(`practiceResults.sheet.snap.${l}`)
1227
+ children: s(`practiceResults.sheet.snap.${o}`)
1217
1228
  },
1218
- l
1229
+ o
1219
1230
  );
1220
1231
  })
1221
1232
  }
1222
1233
  );
1223
1234
  }
1224
- function wt(e) {
1235
+ function kt(e) {
1225
1236
  const {
1226
1237
  results: n,
1227
1238
  apiKey: s,
@@ -1230,22 +1241,22 @@ function wt(e) {
1230
1241
  searchCentre: a,
1231
1242
  onLoadMore: c,
1232
1243
  loadingMore: d,
1233
- loadingSkeletons: l,
1244
+ loadingSkeletons: o,
1234
1245
  emptyResultsSlot: g,
1235
- errorSlot: o,
1236
- error: u,
1246
+ errorSlot: l,
1247
+ error: p,
1237
1248
  onRetry: h,
1238
1249
  highlightedId: x,
1239
1250
  onCardHover: v,
1240
- onPinClick: p,
1251
+ onPinClick: u,
1241
1252
  consentGranted: f,
1242
1253
  onConsentRequest: y,
1243
1254
  onBoundsChange: N,
1244
1255
  listContainerRef: R,
1245
- facets: M,
1246
- value: A,
1256
+ facets: A,
1257
+ value: M,
1247
1258
  onChange: z
1248
- } = e, { t: T } = C(), [P, q] = pe("half"), U = yt[P], O = et("(min-width: 1024px)"), B = u ? o ?? /* @__PURE__ */ t(ge, { onRetry: h }) : n.length === 0 && !l ? g ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1259
+ } = e, { t: T } = C(), [P, q] = pe("half"), U = Rt[P], O = et("(min-width: 1024px)"), K = p ? l ?? /* @__PURE__ */ t(ge, { onRetry: h }) : n.length === 0 && !o ? g ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1249
1260
  me,
1250
1261
  {
1251
1262
  results: n,
@@ -1257,7 +1268,7 @@ function wt(e) {
1257
1268
  formatNextSlot: e.formatNextSlot,
1258
1269
  onLoadMore: c,
1259
1270
  loadingMore: d,
1260
- loadingSkeletons: l,
1271
+ loadingSkeletons: o,
1261
1272
  density: "compact",
1262
1273
  apiKey: s,
1263
1274
  containerRef: R
@@ -1272,7 +1283,7 @@ function wt(e) {
1272
1283
  mapId: r,
1273
1284
  highlightedId: x,
1274
1285
  onPinClick: (w) => {
1275
- W(n, w, "pin", e.onResultSelect), p(w);
1286
+ W(n, w, "pin", e.onResultSelect), u(w);
1276
1287
  },
1277
1288
  onPinHover: v,
1278
1289
  onPinFirstInteract: e.onPinFirstInteract,
@@ -1281,12 +1292,12 @@ function wt(e) {
1281
1292
  onConsentRequest: y,
1282
1293
  mapHandleRef: e.mapHandleRef
1283
1294
  }
1284
- ), ne = M.length > 0 ? /* @__PURE__ */ t("div", { className: "ds:absolute ds:start-[var(--spacing-md)] ds:top-[var(--spacing-md)] ds:max-w-[calc(100%-var(--spacing-lg))]", children: /* @__PURE__ */ t(
1295
+ ), ne = A.length > 0 ? /* @__PURE__ */ t("div", { className: "ds:absolute ds:start-[var(--spacing-md)] ds:top-[var(--spacing-md)] ds:max-w-[calc(100%-var(--spacing-lg))]", children: /* @__PURE__ */ t(
1285
1296
  ze,
1286
1297
  {
1287
- facets: M,
1288
- value: A.facets,
1289
- onChange: (w) => z({ ...A, facets: w }),
1298
+ facets: A,
1299
+ value: M.facets,
1300
+ onChange: (w) => z({ ...M, facets: w }),
1290
1301
  floating: !0
1291
1302
  }
1292
1303
  ) }) : null;
@@ -1312,7 +1323,7 @@ function wt(e) {
1312
1323
  /* @__PURE__ */ t(fe, { variantBodyProps: e }),
1313
1324
  /* @__PURE__ */ m("div", { className: "ds:grid ds:grid-cols-[65fr_35fr] ds:gap-[var(--spacing-lg)] ds:items-start", children: [
1314
1325
  /* @__PURE__ */ t("div", { className: "ds:sticky ds:top-[var(--spacing-md)] ds:h-[44rem]", children: S }),
1315
- /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: B })
1326
+ /* @__PURE__ */ t("div", { className: "ds:min-w-0", children: K })
1316
1327
  ] })
1317
1328
  ] })
1318
1329
  ) : (
@@ -1351,7 +1362,7 @@ function wt(e) {
1351
1362
  count: e.totalCount ?? n.length
1352
1363
  }) }),
1353
1364
  /* @__PURE__ */ t(
1354
- Rt,
1365
+ wt,
1355
1366
  {
1356
1367
  value: P,
1357
1368
  onChange: q
@@ -1361,18 +1372,18 @@ function wt(e) {
1361
1372
  /* @__PURE__ */ t("div", { className: "ds:pb-[var(--spacing-sm)]", children: /* @__PURE__ */ t(
1362
1373
  de,
1363
1374
  {
1364
- value: A.sort ?? "relevance",
1365
- onChange: (w) => z({ ...A, sort: w })
1375
+ value: M.sort ?? "relevance",
1376
+ onChange: (w) => z({ ...M, sort: w })
1366
1377
  }
1367
1378
  ) }),
1368
- B
1379
+ K
1369
1380
  ] })
1370
1381
  }
1371
1382
  ) })
1372
1383
  ] })
1373
1384
  ) });
1374
1385
  }
1375
- function kt(e) {
1386
+ function Ct(e) {
1376
1387
  const {
1377
1388
  results: n,
1378
1389
  apiKey: s,
@@ -1381,17 +1392,17 @@ function kt(e) {
1381
1392
  loadingSkeletons: a,
1382
1393
  emptyResultsSlot: c,
1383
1394
  errorSlot: d,
1384
- error: l,
1395
+ error: o,
1385
1396
  onRetry: g,
1386
- highlightedId: o,
1387
- onCardHover: u,
1397
+ highlightedId: l,
1398
+ onCardHover: p,
1388
1399
  listContainerRef: h
1389
- } = e, x = l ? d ?? /* @__PURE__ */ t(ge, { onRetry: g }) : n.length === 0 && !a ? c ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1400
+ } = e, x = o ? d ?? /* @__PURE__ */ t(ge, { onRetry: g }) : n.length === 0 && !a ? c ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
1390
1401
  me,
1391
1402
  {
1392
1403
  results: n,
1393
- highlightedId: o,
1394
- onCardHover: u,
1404
+ highlightedId: l,
1405
+ onCardHover: p,
1395
1406
  onCardSelect: e.onCardSelect,
1396
1407
  onCardOpenClick: e.onCardOpenClick,
1397
1408
  openLabel: e.openLabel,
@@ -1409,7 +1420,7 @@ function kt(e) {
1409
1420
  x
1410
1421
  ] });
1411
1422
  }
1412
- const Ct = Ze(function({
1423
+ const St = Ze(function({
1413
1424
  variant: n = "split-list-map",
1414
1425
  results: s,
1415
1426
  totalCount: r,
@@ -1417,27 +1428,27 @@ const Ct = Ze(function({
1417
1428
  facets: a,
1418
1429
  googleMapsApiKey: c,
1419
1430
  mapId: d,
1420
- defaultZoom: l = lt,
1431
+ defaultZoom: o = ot,
1421
1432
  onBoundsChange: g,
1422
- consentGranted: o,
1423
- onConsentRequest: u,
1433
+ consentGranted: l,
1434
+ onConsentRequest: p,
1424
1435
  skipConsentGate: h = !1,
1425
1436
  onLoadMore: x,
1426
1437
  loadingMore: v,
1427
- value: p,
1438
+ value: u,
1428
1439
  onChange: f,
1429
1440
  onResultSelect: y,
1430
1441
  loading: N,
1431
1442
  emptyResultsSlot: R,
1432
- errorSlot: M,
1433
- error: A,
1443
+ errorSlot: A,
1444
+ error: M,
1434
1445
  onRetry: z,
1435
1446
  heading: T,
1436
1447
  intro: P,
1437
1448
  cardOpenButtonLabel: q,
1438
1449
  "aria-label": U,
1439
1450
  id: O,
1440
- className: B,
1451
+ className: K,
1441
1452
  ...S
1442
1453
  }, ne) {
1443
1454
  const { t: w, i18n: ve } = C(), [He, Q] = pe(null), X = _(/* @__PURE__ */ new Set()), ae = _(/* @__PURE__ */ new Set()), $e = _(null), se = _(null), ie = D(
@@ -1458,7 +1469,7 @@ const Ct = Ze(function({
1458
1469
  [n]
1459
1470
  );
1460
1471
  Qe(ne, () => ie, [ie]), tt(rt, ie, O);
1461
- const Le = q ?? w("practiceResults.card.open"), De = K(
1472
+ const Le = q ?? w("practiceResults.card.open"), De = B(
1462
1473
  (b) => {
1463
1474
  if (b.nextAvailableSlot)
1464
1475
  try {
@@ -1479,16 +1490,19 @@ const Ct = Ze(function({
1479
1490
  totalCount: r ?? s.length
1480
1491
  }), X.current = /* @__PURE__ */ new Set(), ae.current = /* @__PURE__ */ new Set());
1481
1492
  }, [n]);
1482
- const re = _(!1), le = D(() => a ?? [], [a]), oe = p.sort ?? (i ? "distance" : "relevance"), j = D(() => {
1483
- const b = dt(s, p.facets, le);
1484
- return ut(b, oe, i);
1485
- }, [s, p.facets, le, oe, i]);
1493
+ const re = _(!1), oe = D(
1494
+ () => dt(a ?? [], s, u.facets),
1495
+ [a, s, u.facets]
1496
+ ), le = u.sort ?? (i ? "distance" : "relevance"), j = D(() => {
1497
+ const b = ut(s, u.facets, oe);
1498
+ return pt(b, le, i);
1499
+ }, [s, u.facets, oe, le, i]);
1486
1500
  J(() => {
1487
1501
  const b = j.length === 0;
1488
1502
  b && !re.current ? (H("serp_empty_results", {
1489
- appliedFacets: p.facets ?? {}
1503
+ appliedFacets: u.facets ?? {}
1490
1504
  }), re.current = !0) : b || (re.current = !1);
1491
- }, [j.length, p.facets]);
1505
+ }, [j.length, u.facets]);
1492
1506
  const E = _(null), xe = _(null);
1493
1507
  J(
1494
1508
  () => () => {
@@ -1496,11 +1510,11 @@ const Ct = Ze(function({
1496
1510
  },
1497
1511
  []
1498
1512
  );
1499
- const Oe = K((b) => {
1513
+ const Oe = B((b) => {
1500
1514
  Q(b), !X.current.has(b) && (xe.current === b && E.current || (E.current && clearTimeout(E.current), xe.current = b, E.current = setTimeout(() => {
1501
1515
  X.current.has(b) || (X.current.add(b), H("serp_result_hovered_card", { resultId: b })), E.current = null;
1502
1516
  }, 500)));
1503
- }, []), je = K((b) => {
1517
+ }, []), je = B((b) => {
1504
1518
  Q(b);
1505
1519
  const F = se.current;
1506
1520
  if (!F) return;
@@ -1508,9 +1522,9 @@ const Ct = Ze(function({
1508
1522
  `[data-component="practice-result-card"][data-result-id="${CSS.escape(b)}"]`
1509
1523
  );
1510
1524
  k == null || k.scrollIntoView({ behavior: "smooth", block: "nearest" });
1511
- }, []), Ke = K((b) => {
1525
+ }, []), Be = B((b) => {
1512
1526
  ae.current.has(b) || (ae.current.add(b), H("serp_result_hovered_pin", { resultId: b }));
1513
- }, []), ye = _(null), Be = K(
1527
+ }, []), ye = _(null), Ke = B(
1514
1528
  (b) => {
1515
1529
  Q(b);
1516
1530
  const F = j.find((k) => k.id === b);
@@ -1526,7 +1540,7 @@ const Ct = Ze(function({
1526
1540
  }
1527
1541
  },
1528
1542
  [j, y]
1529
- ), Ee = K(
1543
+ ), Ee = B(
1530
1544
  (b) => {
1531
1545
  W(
1532
1546
  j,
@@ -1540,35 +1554,35 @@ const Ct = Ze(function({
1540
1554
  results: j,
1541
1555
  totalCount: r,
1542
1556
  searchCentre: i,
1543
- facets: le,
1544
- value: { ...p, sort: oe },
1557
+ facets: oe,
1558
+ value: { ...u, sort: le },
1545
1559
  onChange: f,
1546
1560
  onResultSelect: y,
1547
1561
  onLoadMore: x,
1548
1562
  loadingMore: v,
1549
1563
  apiKey: c,
1550
1564
  mapId: d,
1551
- zoom: l,
1565
+ zoom: o,
1552
1566
  // 0.31.4: when `skipConsentGate` is true the kit synthesises
1553
1567
  // `consentGranted=true` for every internal MapView; the consumer's
1554
1568
  // CMP at the page level is responsible for whether the Google Maps
1555
1569
  // loader script is present at all. `onConsentRequest` is dropped
1556
1570
  // because no placeholder renders — nothing to fire it from.
1557
- consentGranted: h ? !0 : o,
1558
- onConsentRequest: h ? void 0 : u,
1571
+ consentGranted: h ? !0 : l,
1572
+ onConsentRequest: h ? void 0 : p,
1559
1573
  onBoundsChange: g,
1560
1574
  loadingSkeletons: Ve,
1561
1575
  emptyResultsSlot: R,
1562
- errorSlot: M,
1563
- error: A,
1576
+ errorSlot: A,
1577
+ error: M,
1564
1578
  onRetry: z,
1565
1579
  heading: T,
1566
1580
  intro: P,
1567
1581
  highlightedId: He,
1568
1582
  onCardHover: Oe,
1569
1583
  onPinClick: je,
1570
- onPinFirstInteract: Ke,
1571
- onCardSelect: Be,
1584
+ onPinFirstInteract: Be,
1585
+ onCardSelect: Ke,
1572
1586
  onCardOpenClick: Ee,
1573
1587
  openLabel: Le,
1574
1588
  formatNextSlot: De,
@@ -1577,12 +1591,12 @@ const Ct = Ze(function({
1577
1591
  }, qe = (() => {
1578
1592
  switch (n) {
1579
1593
  case "map-first":
1580
- return /* @__PURE__ */ t(wt, { ...ce });
1581
- case "rich-cards":
1582
1594
  return /* @__PURE__ */ t(kt, { ...ce });
1595
+ case "rich-cards":
1596
+ return /* @__PURE__ */ t(Ct, { ...ce });
1583
1597
  case "split-list-map":
1584
1598
  default:
1585
- return /* @__PURE__ */ t(xt, { ...ce });
1599
+ return /* @__PURE__ */ t(yt, { ...ce });
1586
1600
  }
1587
1601
  })(), Ue = U ?? w("practiceResults.regionLabel");
1588
1602
  return /* @__PURE__ */ t(
@@ -1595,15 +1609,15 @@ const Ct = Ze(function({
1595
1609
  "data-component": "practice-results",
1596
1610
  "data-component-id": O,
1597
1611
  "data-variant": n,
1598
- className: pt({ variant: n, className: B }),
1612
+ className: mt({ variant: n, className: K }),
1599
1613
  ...S,
1600
1614
  children: qe
1601
1615
  }
1602
1616
  );
1603
1617
  });
1604
- Ct.displayName = "PracticeResults";
1618
+ St.displayName = "PracticeResults";
1605
1619
  export {
1606
- Ct as P,
1620
+ St as P,
1607
1621
  rt as p
1608
1622
  };
1609
- //# sourceMappingURL=practice-results-DWUZRm2x.js.map
1623
+ //# sourceMappingURL=practice-results-F_Rf7c4H.js.map