@alfadocs/ui-kit 0.67.1 → 0.69.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.
- package/dist/_chunks/{accordion-9lJSMMsZ.js → accordion-DnIa7OHX.js} +69 -47
- package/dist/_chunks/actions-cell-renderer-DrcaxB0w.js +2061 -0
- package/dist/_chunks/address-autocomplete-BEX9PXty.js +496 -0
- package/dist/_chunks/{agenda-card.agent-B_R47-c9.js → agenda-card.agent-mTCrkKSZ.js} +6 -1
- package/dist/_chunks/{agenda-tray-T-BumlGZ.js → agenda-tray-g0kg7HwB.js} +36 -24
- package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js → ai-consent-banner-CXlsNX1c.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-BwEACCPm.js → ai-prompt-input-CuhTo9mh.js} +80 -61
- package/dist/_chunks/{ai-tools-rail-CInA_1-E.js → ai-tools-rail-BA_sqy1A.js} +87 -70
- package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js → alia-sidebar-B47qRQb5.js} +5 -5
- package/dist/_chunks/{anamnesis-card-N8pIKWuS.js → anamnesis-card-DRmE24OQ.js} +2 -2
- package/dist/_chunks/{appointment-tray-BMl89NPW.js → appointment-tray-CZtvtaH-.js} +32 -20
- package/dist/_chunks/{audio-recorder-DjXLP4aF.js → audio-recorder-DYXXnGug.js} +59 -56
- package/dist/_chunks/{autocomplete-CcCFlVf-.js → autocomplete-DOeGouCL.js} +157 -132
- package/dist/_chunks/bishop-score-PJI3AXzA.js +304 -0
- package/dist/_chunks/bmi-calculator-BZtIJ53x.js +434 -0
- package/dist/_chunks/{booking-L8-YP8BJ.js → booking-C3VqFReX.js} +420 -397
- package/dist/_chunks/{breadcrumb-OTbaY70e.js → breadcrumb-CchdeG7d.js} +42 -28
- package/dist/_chunks/{calculator-dialog-CFk4I91b.js → calculator-dialog-BR5iU0kf.js} +2 -2
- package/dist/_chunks/{calendar-oYWOCrnf.js → calendar-CZUjL8SZ.js} +258 -201
- package/dist/_chunks/{care-plan-card-BwVUyUBb.js → care-plan-card-CvFGXa2z.js} +10 -6
- package/dist/_chunks/{care-plan-entry-card-VzdQHcOL.js → care-plan-entry-card-C3E_gClk.js} +17 -13
- package/dist/_chunks/{carousel.agent-vt21A_el.js → carousel.agent-4v8Emr9E.js} +219 -198
- package/dist/_chunks/{chart-Cg3e9EH9.js → chart-CMr3eW62.js} +150 -109
- package/dist/_chunks/{chat-container-ogB4OskO.js → chat-container-DWho5hPR.js} +47 -34
- package/dist/_chunks/{chat-input-B5zjNEUN.js → chat-input-BcXTetgM.js} +57 -41
- package/dist/_chunks/{checkbox-DRcOdmXv.js → checkbox-BuZ1u__2.js} +41 -27
- package/dist/_chunks/{checkbox-group-CpUwlHug.js → checkbox-group-PqNmQ-cE.js} +3 -3
- package/dist/_chunks/{clinical-note-card-gtrxv6zn.js → clinical-note-card-DqQYf_D4.js} +2 -2
- package/dist/_chunks/{collapsible-X3oaLPU3.js → collapsible-BrnRiCC6.js} +26 -23
- package/dist/_chunks/{color-picker-FXpItIaF.js → color-picker-C_fZl6sA.js} +124 -112
- package/dist/_chunks/{combobox-BC-DFx8G.js → combobox-Clum7gJ1.js} +165 -128
- package/dist/_chunks/{command-palette-BiPAAno-.js → command-palette-CJzmc5pC.js} +87 -64
- package/dist/_chunks/{contact-profile-card-7BMB85T6.js → contact-profile-card-Dramqa9C.js} +13 -11
- package/dist/_chunks/{copy-field-CCq7j6Zc.js → copy-field-Bjw9u2cV.js} +42 -35
- package/dist/_chunks/counter-dRlTNC_y.js +55 -0
- package/dist/_chunks/{cycle-calculator-BF0ointe.js → cycle-calculator-DmRGJNaT.js} +3 -3
- package/dist/_chunks/{date-picker-oGg5BnXL.js → date-picker-Dl9RKxaV.js} +76 -57
- package/dist/_chunks/{date-range-picker-C5BWfH_T.js → date-range-picker-CTUeR6Bj.js} +73 -46
- package/dist/_chunks/{date-time-picker-Ze1My59T.js → date-time-picker-BhoogS5Q.js} +64 -40
- package/dist/_chunks/{dependent-selector-DpzGtr_J.js → dependent-selector-CG_FOHya.js} +44 -30
- package/dist/_chunks/{dialog-DMGnSelc.js → dialog-ZNuboNmy.js} +35 -28
- package/dist/_chunks/{document-scanner-D2qehl3-.js → document-scanner-CTubA0-N.js} +12 -4
- package/dist/_chunks/{dropdown-menu-DwwPovMZ.js → dropdown-menu-qrxjymfw.js} +94 -93
- package/dist/_chunks/{due-date-calculator-DU9AEWNy.js → due-date-calculator-BTmsIQqD.js} +4 -4
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +448 -0
- package/dist/_chunks/{email-input-lQivsFrw.js → email-input-B_Y55f5G.js} +3 -3
- package/dist/_chunks/{fetal-weight-BVSzOhuR.js → fetal-weight-CRz7KE2D.js} +2 -2
- package/dist/_chunks/{file-upload-BosbPDb1.js → file-upload-5ScQd4fE.js} +118 -100
- package/dist/_chunks/{fiscal-code-input-DPtqluVb.js → fiscal-code-input-Cf-8O4Fj.js} +76 -63
- package/dist/_chunks/{freemium-paywall-CkWjv3o6.js → freemium-paywall-DZ2mBS3w.js} +78 -71
- package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js → gestational-age-calculator-BleUdhbI.js} +5 -5
- package/dist/_chunks/{hcg-doubling-if4Q8aSX.js → hcg-doubling-CnjDXX6U.js} +3 -3
- package/dist/_chunks/{header-settings-CNOqIhoW.js → header-settings-DJqoAl5m.js} +86 -46
- package/dist/_chunks/{index.modern-D2LGACWg.js → index.modern-Zta-A4Jm.js} +3 -3
- package/dist/_chunks/{list-BOwqwy03.js → list-DgE1xWBM.js} +99 -84
- package/dist/_chunks/{locale-picker-C9JmBht3.js → locale-picker-ChYYSX2N.js} +47 -35
- package/dist/_chunks/{map-view-Tb5VfK9Y.js → map-view-BkOoGoX2.js} +160 -115
- package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js → marketplace-app-shell-6T9W4Knl.js} +4 -4
- package/dist/_chunks/{message-card.agent-4IeIgrnJ.js → message-card.agent-ZLhx3Bs5.js} +6 -1
- package/dist/_chunks/{message-tray-CVyJajVJ.js → message-tray-DwrBLJlf.js} +90 -48
- package/dist/_chunks/{multi-select-BcPylvHR.js → multi-select-BdHHDrRN.js} +196 -153
- package/dist/_chunks/{navigation-menu-C6lBYVv9.js → navigation-menu-DRUi6sSj.js} +75 -42
- package/dist/_chunks/{notification-card.agent-Rqt3ofk9.js → notification-card.agent-DxGBZb8T.js} +5 -1
- package/dist/_chunks/{notification-tray-DlgenTEe.js → notification-tray-Btb9oQeZ.js} +112 -97
- package/dist/_chunks/{number-input-Dj5L3pXK.js → number-input-DxphVG_A.js} +36 -27
- package/dist/_chunks/{operator-hero-f_KaRhw5.js → operator-hero-CP2Nhupm.js} +12 -8
- package/dist/_chunks/{otp-input-xQ4Ps5VY.js → otp-input-DzBQ-CpE.js} +52 -33
- package/dist/_chunks/{pagination-DQOgnxxw.js → pagination-D58kglCr.js} +181 -162
- package/dist/_chunks/{patient-search-DR9XUYRQ.js → patient-search-CBC_ySF6.js} +69 -60
- package/dist/_chunks/{patient-shell-BfgufL_q.js → patient-shell-DV3XEtIB.js} +3 -3
- package/dist/_chunks/{patient-summary-card-hEmr4eTW.js → patient-summary-card-B836_fDB.js} +95 -103
- package/dist/_chunks/patient-table-CDuosVru.js +889 -0
- package/dist/_chunks/{payment-form-nXocS_MX.js → payment-form-DvjwYVIT.js} +56 -44
- package/dist/_chunks/{payment-request-card-CYE5vhZ0.js → payment-request-card-DioWKBUq.js} +2 -2
- package/dist/_chunks/{pdf-viewer-GsfNqeeT.js → pdf-viewer-D6BPfW2D.js} +205 -157
- package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js → periodontal-chart-card-BuDEMbHE.js} +2 -2
- package/dist/_chunks/{phone-input-DVXhNlIl.js → phone-input-DjU-XmO_.js} +64 -47
- package/dist/_chunks/{popover-DTbfAuR0.js → popover-B2qCDhJC.js} +37 -32
- package/dist/_chunks/{practice-results-DND2SAt7.js → practice-results-KrTHqZua.js} +278 -242
- package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js → pregnancy-dating-DORUAOHB.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js → pregnancy-weight-gain-DVz4rr7-.js} +3 -3
- package/dist/_chunks/{privacy-lock-C7JyMf0y.js → privacy-lock-BzMLQu-j.js} +32 -28
- package/dist/_chunks/{product-hub-panel-CAXDFeGP.js → product-hub-panel-e6pW220e.js} +45 -27
- package/dist/_chunks/{progress-kzIRcdaq.js → progress-DA413-zn.js} +2 -2
- package/dist/_chunks/{public-footer.agent-CfXuW1x6.js → public-footer.agent-D0cFbjWl.js} +151 -146
- package/dist/_chunks/{public-header.agent-BOhJgZEU.js → public-header.agent-DqkqA-ca.js} +107 -102
- package/dist/_chunks/{qr-code-DNXhi6se.js → qr-code-CPkEs5mG.js} +52 -46
- package/dist/_chunks/{radio-group-CLjK-SlK.js → radio-group-BPt7pKZW.js} +5 -5
- package/dist/_chunks/{recaptcha-widget-BCNHsgqt.js → recaptcha-widget-BC-4To9b.js} +9 -2
- package/dist/_chunks/registry-DvAUVLHh.js +51 -0
- package/dist/_chunks/{resizable-3vzqDlg6.js → resizable-DVGcfOrk.js} +193 -173
- package/dist/_chunks/{reviews-panel-DBktKm7i.js → reviews-panel-Dq7LMDcH.js} +87 -68
- package/dist/_chunks/rich-text-editor-BsV7zUdg.js +2142 -0
- package/dist/_chunks/{search-bar-SY2BcV2N.js → search-bar-C_T3pBJn.js} +105 -78
- package/dist/_chunks/{search-input-DbxrnHkW.js → search-input-DQvGxR74.js} +2 -2
- package/dist/_chunks/{search-input.agent-CfZvViOd.js → search-input.agent-DRH54coT.js} +19 -4
- package/dist/_chunks/{select-CEtRcon5.js → select-DMLG44F5.js} +72 -56
- package/dist/_chunks/{session-countdown-LPnhTHjn.js → session-countdown-X1Ki6i0M.js} +3 -3
- package/dist/_chunks/{sheet-taJer-Ha.js → sheet-BxsE7eQm.js} +59 -45
- package/dist/_chunks/{sidebar-DaB4ulxH.js → sidebar-DY9jGjgt.js} +254 -248
- package/dist/_chunks/{sign-document-CdAiHiCh.js → sign-document-B4DeRhTe.js} +75 -49
- package/dist/_chunks/{signature-capture-COi0Uiqu.js → signature-capture-Ct_4Md4e.js} +138 -104
- package/dist/_chunks/{slider-BHWzXdjt.js → slider-DN1CWkKB.js} +85 -65
- package/dist/_chunks/{sparkline-DGhCSw8M.js → sparkline-iOXYgvJe.js} +75 -53
- package/dist/_chunks/{stepper-accordion.agent-C4quJ-MD.js → stepper-accordion.agent-cmEguIdx.js} +7 -1
- package/dist/_chunks/{stepper-progress-DDjq5nei.js → stepper-progress-Bv0njx4g.js} +30 -24
- package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js → suggestion-chip.agent-Brn3CiFE.js} +9 -8
- package/dist/_chunks/{switch-BJ6HD3Mn.js → switch-OILsBLWo.js} +25 -19
- package/dist/_chunks/{tabs-BIQ0ew1T.js → tabs-BxcOziCo.js} +67 -58
- package/dist/_chunks/{task-card.agent-CUPKYd7w.js → task-card.agent-Bt14CzUd.js} +4 -1
- package/dist/_chunks/{task-tray-CAncV-QQ.js → task-tray-qOEQflu4.js} +74 -57
- package/dist/_chunks/{text-area-BIx0tZ05.js → text-area-Bt3p7Pt0.js} +41 -34
- package/dist/_chunks/{text-input-BaClJL8Y.js → text-input-B-OWQ1Je.js} +15 -8
- package/dist/_chunks/{theme-toggle-DETmSu_h.js → theme-toggle-XB6o_lgs.js} +38 -26
- package/dist/_chunks/{time-picker-B5umYwfv.js → time-picker-BPlJWm8w.js} +41 -31
- package/dist/_chunks/{timeline-DQa5Tyz4.js → timeline-CqA4nKTI.js} +33 -25
- package/dist/_chunks/{toast.agent-vuLRRn2a.js → toast.agent-57UzyR9U.js} +62 -45
- package/dist/_chunks/{tooth-scheme-BIx1O2aJ.js → tooth-scheme-yBr53cvv.js} +421 -348
- package/dist/_chunks/{transcript-panel-CLHmv83g.js → transcript-panel-3THQX6nJ.js} +47 -33
- package/dist/_chunks/unit-converter-YEpD9evj.js +337 -0
- package/dist/_chunks/{use-password-requirements-DsgduV1x.js → use-password-requirements-BXvS2MBS.js} +131 -117
- package/dist/_chunks/users-MBVtUzwd.js +17 -0
- package/dist/_chunks/warning-stack-BsgaEbL8.js +283 -0
- package/dist/_chunks/{whatsapp-button-DUjlWGKf.js → whatsapp-button-BIy6NaJK.js} +6 -3
- package/dist/_chunks/{workflow-map-JAZryZJr.js → workflow-map-Bdam9pGp.js} +99 -88
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +36 -0
- package/dist/agent/registry.d.ts +33 -0
- package/dist/agent/types.d.ts +78 -2
- package/dist/agent-catalog.json +6905 -509
- package/dist/agent-i18n/en.json +1175 -0
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts +4 -0
- package/dist/components/address-autocomplete/address-autocomplete.d.ts +18 -0
- package/dist/components/address-autocomplete/index.d.ts +2 -1
- package/dist/components/address-autocomplete/index.js +3 -2
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/bishop-score.agent.d.ts +4 -0
- package/dist/components/bishop-score/bishop-score.d.ts +17 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts +4 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +26 -0
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/counter/counter.d.ts +22 -0
- package/dist/components/counter/index.d.ts +3 -0
- package/dist/components/counter/index.js +5 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +1 -1
- package/dist/components/data-table/filters/date-range-filter.d.ts +1 -1
- package/dist/components/data-table/index.js +31 -30
- package/dist/components/data-table/toolbar.d.ts +4 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +6 -0
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/cell-renderers/balance-badge-cell.d.ts +13 -0
- package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts +43 -0
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +45 -0
- package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts +24 -0
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +26 -0
- package/dist/components/patient-table/columns.d.ts +102 -0
- package/dist/components/patient-table/index.d.ts +24 -0
- package/dist/components/patient-table/index.js +13 -0
- package/dist/components/patient-table/patient-table.d.ts +138 -0
- package/dist/components/patient-table/types.d.ts +172 -0
- package/dist/components/patient-table/use-responsive-columns.d.ts +109 -0
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +15 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +7 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.agent.d.ts +4 -0
- package/dist/components/unit-converter/unit-converter.d.ts +27 -0
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +9 -0
- package/dist/components/whatsapp-button/index.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +3 -2
- package/dist/components/whatsapp-button/whatsapp-button.d.ts +3 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +74 -0
- package/dist/i18n/locales/ar.js +76 -2
- package/dist/i18n/locales/de.d.ts +74 -0
- package/dist/i18n/locales/de.js +76 -2
- package/dist/i18n/locales/el.d.ts +74 -0
- package/dist/i18n/locales/el.js +76 -2
- package/dist/i18n/locales/en.d.ts +92 -0
- package/dist/i18n/locales/en.js +94 -2
- package/dist/i18n/locales/es.d.ts +74 -0
- package/dist/i18n/locales/es.js +76 -2
- package/dist/i18n/locales/fr.d.ts +74 -0
- package/dist/i18n/locales/fr.js +76 -2
- package/dist/i18n/locales/hi.d.ts +74 -0
- package/dist/i18n/locales/hi.js +76 -2
- package/dist/i18n/locales/it.d.ts +74 -0
- package/dist/i18n/locales/it.js +76 -2
- package/dist/i18n/locales/ja.d.ts +74 -0
- package/dist/i18n/locales/ja.js +76 -2
- package/dist/i18n/locales/nl.d.ts +74 -0
- package/dist/i18n/locales/nl.js +76 -2
- package/dist/i18n/locales/pl.d.ts +74 -0
- package/dist/i18n/locales/pl.js +76 -2
- package/dist/i18n/locales/pt.d.ts +74 -0
- package/dist/i18n/locales/pt.js +76 -2
- package/dist/i18n/locales/ro.d.ts +74 -0
- package/dist/i18n/locales/ro.js +76 -2
- package/dist/i18n/locales/ru.d.ts +74 -0
- package/dist/i18n/locales/ru.js +76 -2
- package/dist/i18n/locales/sq.d.ts +74 -0
- package/dist/i18n/locales/sq.js +76 -2
- package/dist/i18n/locales/sv.d.ts +74 -0
- package/dist/i18n/locales/sv.js +76 -2
- package/dist/i18n/locales/tr.d.ts +74 -0
- package/dist/i18n/locales/tr.js +76 -2
- package/dist/i18n/locales/zh.d.ts +74 -0
- package/dist/i18n/locales/zh.js +76 -2
- package/dist/index.js +688 -673
- package/dist/locales/ar.json +76 -2
- package/dist/locales/de.json +76 -2
- package/dist/locales/el.json +76 -2
- package/dist/locales/en.json +76 -2
- package/dist/locales/es.json +76 -2
- package/dist/locales/fr.json +76 -2
- package/dist/locales/hi.json +76 -2
- package/dist/locales/it.json +76 -2
- package/dist/locales/ja.json +76 -2
- package/dist/locales/nl.json +76 -2
- package/dist/locales/pl.json +76 -2
- package/dist/locales/pt.json +76 -2
- package/dist/locales/ro.json +76 -2
- package/dist/locales/ru.json +76 -2
- package/dist/locales/sq.json +76 -2
- package/dist/locales/sv.json +76 -2
- package/dist/locales/tr.json +76 -2
- package/dist/locales/zh.json +76 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +3 -2
- package/package.json +14 -1
- package/dist/_chunks/address-autocomplete-CT-9AOli.js +0 -358
- package/dist/_chunks/bishop-score-CjsB9bM-.js +0 -185
- package/dist/_chunks/bmi-calculator-n-823_1V.js +0 -258
- package/dist/_chunks/editable-currency-cell-renderer-D1ewvJKO.js +0 -2391
- package/dist/_chunks/registry-nPAVE19X.js +0 -21
- package/dist/_chunks/rich-text-editor-DAeCXiQG.js +0 -1973
- package/dist/_chunks/unit-converter-C1V3ACM9.js +0 -196
- package/dist/_chunks/warning-stack-Cv4fr5zo.js +0 -220
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as Ze, useState as
|
|
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";
|
|
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-_mUKLmwA.js";
|
|
6
6
|
import { A as ke } from "./avatar-BNQNhoyL.js";
|
|
7
7
|
import { B as G } from "./button-DD_0Xdmr.js";
|
|
8
|
-
import { D as
|
|
8
|
+
import { D as $ } from "./dropdown-menu-qrxjymfw.js";
|
|
9
9
|
import { E as Je } from "./empty-state-BLy7tigq.js";
|
|
10
|
-
import { M as We } from "./map-view-
|
|
10
|
+
import { M as We } from "./map-view-BkOoGoX2.js";
|
|
11
11
|
import { R as Ce } from "./rating-BRD7O74e.js";
|
|
12
|
-
import { S as
|
|
12
|
+
import { S as I } from "./sheet-BxsE7eQm.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-CqGsX32l.js";
|
|
16
16
|
import { u as et } from "./use-media-query-CcAx5SMM.js";
|
|
17
|
-
import { u as tt } from "./registry-
|
|
17
|
+
import { u as tt } from "./registry-DvAUVLHh.js";
|
|
18
18
|
import { c as nt } from "./createLucideIcon-CrFbzy84.js";
|
|
19
19
|
import { R as at } from "./refresh-cw-CC8jSKMr.js";
|
|
20
|
-
import { C as
|
|
20
|
+
import { C as Se } from "./chevron-down-BX_NP2Yh.js";
|
|
21
21
|
import { M as te } from "./map-pin-B8STOPMJ.js";
|
|
22
|
-
import { L as
|
|
22
|
+
import { L as Ne } from "./languages-DsVf_WzT.js";
|
|
23
23
|
import { S as Pe } from "./shield-check-BjCGH_Sr.js";
|
|
24
24
|
import { H as Me } from "./heart-C0faivFf.js";
|
|
25
25
|
import { C as Ae } from "./calendar-clock-CYkcqdwl.js";
|
|
@@ -41,7 +41,11 @@ const st = [
|
|
|
41
41
|
["path", { d: "M9 3.236v15", key: "1uimfh" }]
|
|
42
42
|
], it = nt("map", st), rt = {
|
|
43
43
|
id: "practice-results",
|
|
44
|
-
|
|
44
|
+
// `scroll` backs scroll_to_result; `pick` backs focus_pin (a non-persisting
|
|
45
|
+
// pin highlight). The active variant is consumer-owned via props, so there is
|
|
46
|
+
// no `view_change` action — variant is read-only state, not an operation; and
|
|
47
|
+
// there is no in-component routing, so no `navigate`.
|
|
48
|
+
capabilities: ["scroll", "pick"],
|
|
45
49
|
state: {
|
|
46
50
|
variant: {
|
|
47
51
|
type: "string",
|
|
@@ -54,8 +58,22 @@ const st = [
|
|
|
54
58
|
scroll_to_result: {
|
|
55
59
|
safety: "read",
|
|
56
60
|
argsType: "{ id: string }",
|
|
61
|
+
argsSchema: {
|
|
62
|
+
type: "object",
|
|
63
|
+
properties: {
|
|
64
|
+
id: {
|
|
65
|
+
type: "string",
|
|
66
|
+
description: "Stable result id (the data-result-id of the card)."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
required: ["id"]
|
|
70
|
+
},
|
|
71
|
+
idempotent: !0,
|
|
57
72
|
descriptionKey: "ui.agent.practiceResults.actions.scrollToResult",
|
|
58
73
|
description: "Scroll the result card with the given id into the visible viewport.",
|
|
74
|
+
examples: [
|
|
75
|
+
{ args: { id: "practice-42" }, note: "Scroll to a specific result." }
|
|
76
|
+
],
|
|
59
77
|
invoke: (e, n) => {
|
|
60
78
|
e.scrollToResult(n.id);
|
|
61
79
|
}
|
|
@@ -63,8 +81,22 @@ const st = [
|
|
|
63
81
|
focus_pin: {
|
|
64
82
|
safety: "read",
|
|
65
83
|
argsType: "{ id: string }",
|
|
84
|
+
argsSchema: {
|
|
85
|
+
type: "object",
|
|
86
|
+
properties: {
|
|
87
|
+
id: {
|
|
88
|
+
type: "string",
|
|
89
|
+
description: "Stable result id whose map pin to highlight."
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
required: ["id"]
|
|
93
|
+
},
|
|
94
|
+
idempotent: !0,
|
|
66
95
|
descriptionKey: "ui.agent.practiceResults.actions.focusPin",
|
|
67
96
|
description: "Highlight the map pin for the given result id (no-op on rich-cards).",
|
|
97
|
+
examples: [
|
|
98
|
+
{ args: { id: "practice-42" }, note: "Highlight the matching pin." }
|
|
99
|
+
],
|
|
68
100
|
invoke: (e, n) => {
|
|
69
101
|
e.focusPin(n.id);
|
|
70
102
|
}
|
|
@@ -80,6 +112,10 @@ const st = [
|
|
|
80
112
|
attr: "data-component-id",
|
|
81
113
|
sourceProp: "id",
|
|
82
114
|
description: "Sourced from the id prop."
|
|
115
|
+
},
|
|
116
|
+
item: {
|
|
117
|
+
attr: "data-result-id",
|
|
118
|
+
description: "Stable result id emitted on each rendered result card. Used by scroll_to_result / focus_pin to address a single result."
|
|
83
119
|
}
|
|
84
120
|
}
|
|
85
121
|
}, lt = 13, ot = [
|
|
@@ -88,11 +124,11 @@ const st = [
|
|
|
88
124
|
"next-available",
|
|
89
125
|
"relevance"
|
|
90
126
|
];
|
|
91
|
-
function
|
|
127
|
+
function _e(e, n, s) {
|
|
92
128
|
const r = `languages.${e}`;
|
|
93
129
|
return s.exists(r) ? n(r) : e.toUpperCase();
|
|
94
130
|
}
|
|
95
|
-
function
|
|
131
|
+
function H(e, n) {
|
|
96
132
|
if (typeof window > "u") return;
|
|
97
133
|
const s = window.track;
|
|
98
134
|
try {
|
|
@@ -104,7 +140,7 @@ function W(e, n, s, r) {
|
|
|
104
140
|
const i = e.findIndex((c) => c.id === n);
|
|
105
141
|
if (i < 0) return;
|
|
106
142
|
const a = e[i];
|
|
107
|
-
a && (
|
|
143
|
+
a && (H("serp_result_clicked", { resultId: n, source: s, position: i }), r(a, s));
|
|
108
144
|
}
|
|
109
145
|
function ct(e, n) {
|
|
110
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;
|
|
@@ -165,7 +201,7 @@ function Re(e) {
|
|
|
165
201
|
if (a)
|
|
166
202
|
return { north: n, south: s, east: r, west: i };
|
|
167
203
|
}
|
|
168
|
-
const
|
|
204
|
+
const pt = Z(
|
|
169
205
|
"ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)] ds:gap-[var(--spacing-md)]",
|
|
170
206
|
{
|
|
171
207
|
variants: {
|
|
@@ -178,7 +214,7 @@ const mt = Z(
|
|
|
178
214
|
defaultVariants: { variant: "split-list-map" }
|
|
179
215
|
}
|
|
180
216
|
);
|
|
181
|
-
function
|
|
217
|
+
function Ie({
|
|
182
218
|
heading: e,
|
|
183
219
|
intro: n,
|
|
184
220
|
totalCount: s,
|
|
@@ -190,7 +226,7 @@ function ze({
|
|
|
190
226
|
count: s,
|
|
191
227
|
place: r
|
|
192
228
|
}) : i("practiceResults.results.summary", { count: s }) : void 0;
|
|
193
|
-
return /* @__PURE__ */
|
|
229
|
+
return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
194
230
|
e ? /* @__PURE__ */ t("h2", { className: "type-title-section ds:m-0 ds:text-[var(--foreground)]", children: e }) : null,
|
|
195
231
|
n ? /* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: n }) : null,
|
|
196
232
|
a ? /* @__PURE__ */ t(
|
|
@@ -225,7 +261,7 @@ const ee = Z(
|
|
|
225
261
|
},
|
|
226
262
|
defaultVariants: { state: "idle" }
|
|
227
263
|
}
|
|
228
|
-
),
|
|
264
|
+
), mt = Z(
|
|
229
265
|
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
230
266
|
{
|
|
231
267
|
variants: {
|
|
@@ -255,7 +291,7 @@ const ee = Z(
|
|
|
255
291
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
256
292
|
].join(" ")
|
|
257
293
|
);
|
|
258
|
-
function
|
|
294
|
+
function ze({
|
|
259
295
|
facets: e,
|
|
260
296
|
value: n,
|
|
261
297
|
onChange: s,
|
|
@@ -266,60 +302,60 @@ function _e({
|
|
|
266
302
|
[a]
|
|
267
303
|
), d = (o, u) => {
|
|
268
304
|
const h = { ...a };
|
|
269
|
-
u.length === 0 ? delete h[o] : h[o] = u, s(h),
|
|
305
|
+
u.length === 0 ? delete h[o] : h[o] = u, s(h), H("serp_filter_changed", { key: o, values: u });
|
|
270
306
|
}, l = (o) => {
|
|
271
307
|
var h;
|
|
272
308
|
const u = (((h = a[o]) == null ? void 0 : h.length) ?? 0) > 0;
|
|
273
309
|
d(o, u ? [] : ["true"]);
|
|
274
310
|
}, g = (o, u) => {
|
|
275
|
-
const h = a[o.key] ?? [],
|
|
311
|
+
const h = a[o.key] ?? [], x = h.includes(u);
|
|
276
312
|
let v;
|
|
277
|
-
o.multi ? v =
|
|
313
|
+
o.multi ? v = x ? h.filter((p) => p !== u) : [...h, u] : v = x ? [] : [u], d(o.key, v);
|
|
278
314
|
};
|
|
279
|
-
return e.length === 0 ? null : /* @__PURE__ */
|
|
315
|
+
return e.length === 0 ? null : /* @__PURE__ */ m(
|
|
280
316
|
"div",
|
|
281
317
|
{
|
|
282
318
|
"data-component": "practice-results-filters",
|
|
283
319
|
role: "group",
|
|
284
320
|
"aria-label": i("practiceResults.filters.label"),
|
|
285
|
-
className:
|
|
321
|
+
className: mt({
|
|
286
322
|
placement: r ? "floating" : "inline"
|
|
287
323
|
}),
|
|
288
324
|
children: [
|
|
289
325
|
e.map((o) => {
|
|
290
|
-
const u = o.options.length === 0, h = a[o.key] ?? [],
|
|
326
|
+
const u = o.options.length === 0, h = a[o.key] ?? [], x = h.length > 0;
|
|
291
327
|
if (u)
|
|
292
328
|
return /* @__PURE__ */ t(
|
|
293
329
|
"button",
|
|
294
330
|
{
|
|
295
331
|
type: "button",
|
|
296
|
-
"aria-pressed":
|
|
332
|
+
"aria-pressed": x,
|
|
297
333
|
"aria-label": o.label,
|
|
298
334
|
onClick: () => l(o.key),
|
|
299
335
|
className: ee({
|
|
300
|
-
state:
|
|
336
|
+
state: x ? "active" : "idle"
|
|
301
337
|
}),
|
|
302
338
|
children: /* @__PURE__ */ t("span", { children: o.label })
|
|
303
339
|
},
|
|
304
340
|
o.key
|
|
305
341
|
);
|
|
306
|
-
const v =
|
|
307
|
-
return /* @__PURE__ */
|
|
308
|
-
/* @__PURE__ */ t(
|
|
342
|
+
const v = x ? ` (${h.length})` : "";
|
|
343
|
+
return /* @__PURE__ */ m($.Root, { children: [
|
|
344
|
+
/* @__PURE__ */ t($.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
|
|
309
345
|
"button",
|
|
310
346
|
{
|
|
311
347
|
type: "button",
|
|
312
348
|
"aria-label": `${o.label}${v}`,
|
|
313
349
|
className: ee({
|
|
314
|
-
state:
|
|
350
|
+
state: x ? "active" : "idle"
|
|
315
351
|
}),
|
|
316
352
|
children: [
|
|
317
|
-
/* @__PURE__ */
|
|
353
|
+
/* @__PURE__ */ m("span", { children: [
|
|
318
354
|
o.label,
|
|
319
355
|
v
|
|
320
356
|
] }),
|
|
321
357
|
/* @__PURE__ */ t(
|
|
322
|
-
|
|
358
|
+
Se,
|
|
323
359
|
{
|
|
324
360
|
"aria-hidden": "true",
|
|
325
361
|
className: "ds:size-3.5 ds:shrink-0"
|
|
@@ -328,16 +364,16 @@ function _e({
|
|
|
328
364
|
]
|
|
329
365
|
}
|
|
330
366
|
) }),
|
|
331
|
-
/* @__PURE__ */ t(
|
|
332
|
-
|
|
367
|
+
/* @__PURE__ */ t($.Content, { sideOffset: 8, align: "start", children: o.options.map((p) => /* @__PURE__ */ t(
|
|
368
|
+
$.CheckboxItem,
|
|
333
369
|
{
|
|
334
|
-
checked: h.includes(
|
|
370
|
+
checked: h.includes(p.value),
|
|
335
371
|
onSelect: (f) => {
|
|
336
|
-
o.multi && f.preventDefault(), g(o,
|
|
372
|
+
o.multi && f.preventDefault(), g(o, p.value);
|
|
337
373
|
},
|
|
338
|
-
children:
|
|
374
|
+
children: p.label
|
|
339
375
|
},
|
|
340
|
-
|
|
376
|
+
p.value
|
|
341
377
|
)) })
|
|
342
378
|
] }, o.key);
|
|
343
379
|
}),
|
|
@@ -346,7 +382,7 @@ function _e({
|
|
|
346
382
|
{
|
|
347
383
|
type: "button",
|
|
348
384
|
onClick: () => {
|
|
349
|
-
s({}),
|
|
385
|
+
s({}), H("serp_filter_changed", { key: "*", values: [] });
|
|
350
386
|
},
|
|
351
387
|
className: ft(),
|
|
352
388
|
children: i("practiceResults.filters.clear")
|
|
@@ -370,32 +406,32 @@ function de({ value: e, onChange: n }) {
|
|
|
370
406
|
return s("practiceResults.sort.relevance");
|
|
371
407
|
}
|
|
372
408
|
};
|
|
373
|
-
return /* @__PURE__ */
|
|
374
|
-
/* @__PURE__ */ t(
|
|
409
|
+
return /* @__PURE__ */ m($.Root, { children: [
|
|
410
|
+
/* @__PURE__ */ t($.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
|
|
375
411
|
"button",
|
|
376
412
|
{
|
|
377
413
|
type: "button",
|
|
378
414
|
"aria-label": `${s("practiceResults.sort.label")}: ${r(e)}`,
|
|
379
415
|
className: ee({ state: "idle" }),
|
|
380
416
|
children: [
|
|
381
|
-
/* @__PURE__ */
|
|
417
|
+
/* @__PURE__ */ m("span", { children: [
|
|
382
418
|
s("practiceResults.sort.label"),
|
|
383
419
|
": ",
|
|
384
420
|
r(e)
|
|
385
421
|
] }),
|
|
386
|
-
/* @__PURE__ */ t(
|
|
422
|
+
/* @__PURE__ */ t(Se, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" })
|
|
387
423
|
]
|
|
388
424
|
}
|
|
389
425
|
) }),
|
|
390
|
-
/* @__PURE__ */ t(
|
|
391
|
-
|
|
426
|
+
/* @__PURE__ */ t($.Content, { sideOffset: 8, align: "end", children: /* @__PURE__ */ t(
|
|
427
|
+
$.RadioGroup,
|
|
392
428
|
{
|
|
393
429
|
value: e,
|
|
394
430
|
onValueChange: (i) => {
|
|
395
431
|
const a = i;
|
|
396
|
-
a !== e && (n(a),
|
|
432
|
+
a !== e && (n(a), H("serp_sort_changed", { sort: a }));
|
|
397
433
|
},
|
|
398
|
-
children: ot.map((i) => /* @__PURE__ */ t(
|
|
434
|
+
children: ot.map((i) => /* @__PURE__ */ t($.RadioItem, { value: i, children: r(i) }, i))
|
|
399
435
|
}
|
|
400
436
|
) })
|
|
401
437
|
] });
|
|
@@ -442,7 +478,7 @@ function gt({
|
|
|
442
478
|
}) {
|
|
443
479
|
const { t: i } = C();
|
|
444
480
|
if (!e)
|
|
445
|
-
return /* @__PURE__ */
|
|
481
|
+
return /* @__PURE__ */ m(
|
|
446
482
|
"div",
|
|
447
483
|
{
|
|
448
484
|
"aria-hidden": r ? void 0 : "true",
|
|
@@ -509,11 +545,11 @@ function vt({
|
|
|
509
545
|
maxLanguageChips: g = 4,
|
|
510
546
|
children: o
|
|
511
547
|
}) {
|
|
512
|
-
var T, P, q, U, O,
|
|
513
|
-
const { t: u, i18n: h } = C(),
|
|
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;
|
|
514
550
|
return (
|
|
515
551
|
// 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.
|
|
516
|
-
/* @__PURE__ */
|
|
552
|
+
/* @__PURE__ */ m(
|
|
517
553
|
"div",
|
|
518
554
|
{
|
|
519
555
|
"data-component": "practice-result-card",
|
|
@@ -527,9 +563,9 @@ function vt({
|
|
|
527
563
|
className: Fe({ density: a }),
|
|
528
564
|
children: [
|
|
529
565
|
/* @__PURE__ */ t(ke, { src: e.imageUrl, name: e.name, size: "lg" }),
|
|
530
|
-
/* @__PURE__ */
|
|
531
|
-
/* @__PURE__ */
|
|
532
|
-
/* @__PURE__ */
|
|
566
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
567
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
568
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
533
569
|
/* @__PURE__ */ t(
|
|
534
570
|
"span",
|
|
535
571
|
{
|
|
@@ -541,44 +577,44 @@ function vt({
|
|
|
541
577
|
v != null ? /* @__PURE__ */ t(Te, { distanceKm: v }) : null
|
|
542
578
|
] }),
|
|
543
579
|
e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
|
|
544
|
-
(
|
|
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: [
|
|
545
581
|
/* @__PURE__ */ t(te, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
546
582
|
e.location.address
|
|
547
583
|
] }) : null
|
|
548
584
|
] }),
|
|
549
|
-
|
|
585
|
+
x && x.count > 0 ? /* @__PURE__ */ t(
|
|
550
586
|
Ce,
|
|
551
587
|
{
|
|
552
|
-
value:
|
|
553
|
-
reviews: { count:
|
|
588
|
+
value: x.value,
|
|
589
|
+
reviews: { count: x.count },
|
|
554
590
|
size: "sm"
|
|
555
591
|
}
|
|
556
592
|
) : null,
|
|
557
|
-
|
|
558
|
-
R.map((
|
|
593
|
+
N ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
594
|
+
R.map((S) => /* @__PURE__ */ t(
|
|
559
595
|
L,
|
|
560
596
|
{
|
|
561
597
|
variant: "neutral",
|
|
562
|
-
leading: /* @__PURE__ */ t(
|
|
563
|
-
children:
|
|
598
|
+
leading: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
|
|
599
|
+
children: _e(S, u, h)
|
|
564
600
|
},
|
|
565
|
-
`lang-${
|
|
601
|
+
`lang-${S}`
|
|
566
602
|
)),
|
|
567
603
|
M > 0 ? /* @__PURE__ */ t(L, { variant: "neutral", children: `+${M}` }) : null,
|
|
568
|
-
A.map((
|
|
604
|
+
A.map((S) => /* @__PURE__ */ t(
|
|
569
605
|
L,
|
|
570
606
|
{
|
|
571
607
|
variant: "info",
|
|
572
608
|
leading: /* @__PURE__ */ t(Pe, { "aria-hidden": "true" }),
|
|
573
|
-
children:
|
|
609
|
+
children: S
|
|
574
610
|
},
|
|
575
|
-
`ins-${
|
|
611
|
+
`ins-${S}`
|
|
576
612
|
)),
|
|
577
|
-
|
|
613
|
+
z > 0 ? /* @__PURE__ */ t(L, { variant: "neutral", children: `+${z}` }) : null,
|
|
578
614
|
y ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }), children: u("practiceResults.fearPatient.label") }) : null
|
|
579
615
|
] }) : null,
|
|
580
|
-
e.nextAvailableSlot && d ? /* @__PURE__ */
|
|
581
|
-
/* @__PURE__ */
|
|
616
|
+
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
|
+
/* @__PURE__ */ m("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
582
618
|
/* @__PURE__ */ t(
|
|
583
619
|
Ae,
|
|
584
620
|
{
|
|
@@ -594,8 +630,8 @@ function vt({
|
|
|
594
630
|
intent: "primary",
|
|
595
631
|
size: "sm",
|
|
596
632
|
asChild: !0,
|
|
597
|
-
onClick: (
|
|
598
|
-
|
|
633
|
+
onClick: (S) => {
|
|
634
|
+
S.stopPropagation();
|
|
599
635
|
},
|
|
600
636
|
children: /* @__PURE__ */ t(
|
|
601
637
|
"a",
|
|
@@ -615,8 +651,8 @@ function vt({
|
|
|
615
651
|
intent: "secondary",
|
|
616
652
|
size: "sm",
|
|
617
653
|
asChild: !0,
|
|
618
|
-
onClick: (
|
|
619
|
-
|
|
654
|
+
onClick: (S) => {
|
|
655
|
+
S.stopPropagation(), r();
|
|
620
656
|
},
|
|
621
657
|
children: /* @__PURE__ */ t("a", { href: e.href, "data-component": "practice-result-open-cta", children: c })
|
|
622
658
|
}
|
|
@@ -627,7 +663,7 @@ function vt({
|
|
|
627
663
|
)
|
|
628
664
|
);
|
|
629
665
|
}
|
|
630
|
-
function
|
|
666
|
+
function bt({
|
|
631
667
|
result: e,
|
|
632
668
|
apiKey: n,
|
|
633
669
|
highlighted: s,
|
|
@@ -636,7 +672,7 @@ function xt({
|
|
|
636
672
|
onHover: a,
|
|
637
673
|
openLabel: c
|
|
638
674
|
}) {
|
|
639
|
-
var
|
|
675
|
+
var p, f, y, N;
|
|
640
676
|
const { t: d, i18n: l } = C(), g = D(() => {
|
|
641
677
|
if (e.nextAvailableSlot)
|
|
642
678
|
try {
|
|
@@ -648,10 +684,10 @@ function xt({
|
|
|
648
684
|
} catch {
|
|
649
685
|
return e.nextAvailableSlot.dateTime;
|
|
650
686
|
}
|
|
651
|
-
}, [e.nextAvailableSlot, l.language]), o = (((
|
|
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;
|
|
652
688
|
return (
|
|
653
689
|
// 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.
|
|
654
|
-
/* @__PURE__ */
|
|
690
|
+
/* @__PURE__ */ m(
|
|
655
691
|
"div",
|
|
656
692
|
{
|
|
657
693
|
"data-component": "practice-result-card",
|
|
@@ -676,11 +712,11 @@ function xt({
|
|
|
676
712
|
address: e.location.address
|
|
677
713
|
}
|
|
678
714
|
) : null,
|
|
679
|
-
/* @__PURE__ */
|
|
680
|
-
/* @__PURE__ */
|
|
715
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
716
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:items-start ds:gap-[var(--spacing-md)]", children: [
|
|
681
717
|
/* @__PURE__ */ t(ke, { src: e.imageUrl, name: e.name, size: "md" }),
|
|
682
|
-
/* @__PURE__ */
|
|
683
|
-
/* @__PURE__ */
|
|
718
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:min-w-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
|
|
719
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
684
720
|
/* @__PURE__ */ t(
|
|
685
721
|
"span",
|
|
686
722
|
{
|
|
@@ -692,7 +728,7 @@ function xt({
|
|
|
692
728
|
v != null ? /* @__PURE__ */ t(Te, { distanceKm: v }) : null
|
|
693
729
|
] }),
|
|
694
730
|
e.subtitle ? /* @__PURE__ */ t("span", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: e.subtitle }) : null,
|
|
695
|
-
(
|
|
731
|
+
(N = e.location) != null && N.address ? /* @__PURE__ */ m("span", { className: "type-meta ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
696
732
|
/* @__PURE__ */ t(
|
|
697
733
|
te,
|
|
698
734
|
{
|
|
@@ -712,13 +748,13 @@ function xt({
|
|
|
712
748
|
}
|
|
713
749
|
) : null
|
|
714
750
|
] }),
|
|
715
|
-
|
|
751
|
+
x ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
716
752
|
o ? (e.languages ?? []).map((R) => /* @__PURE__ */ t(
|
|
717
753
|
L,
|
|
718
754
|
{
|
|
719
755
|
variant: "neutral",
|
|
720
|
-
leading: /* @__PURE__ */ t(
|
|
721
|
-
children:
|
|
756
|
+
leading: /* @__PURE__ */ t(Ne, { "aria-hidden": "true" }),
|
|
757
|
+
children: _e(R, d, l)
|
|
722
758
|
},
|
|
723
759
|
`lang-${R}`
|
|
724
760
|
)) : null,
|
|
@@ -733,8 +769,8 @@ function xt({
|
|
|
733
769
|
)) : null,
|
|
734
770
|
h ? /* @__PURE__ */ t(L, { variant: "info", leading: /* @__PURE__ */ t(Me, { "aria-hidden": "true" }), children: d("practiceResults.fearPatient.label") }) : null
|
|
735
771
|
] }) : null,
|
|
736
|
-
e.nextAvailableSlot && g ? /* @__PURE__ */
|
|
737
|
-
/* @__PURE__ */
|
|
772
|
+
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
|
+
/* @__PURE__ */ m("span", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
738
774
|
/* @__PURE__ */ t(
|
|
739
775
|
Ae,
|
|
740
776
|
{
|
|
@@ -782,7 +818,7 @@ function xt({
|
|
|
782
818
|
)
|
|
783
819
|
);
|
|
784
820
|
}
|
|
785
|
-
function
|
|
821
|
+
function me({
|
|
786
822
|
results: e,
|
|
787
823
|
highlightedId: n,
|
|
788
824
|
onCardHover: s,
|
|
@@ -797,29 +833,29 @@ function pe({
|
|
|
797
833
|
apiKey: u,
|
|
798
834
|
containerRef: h
|
|
799
835
|
}) {
|
|
800
|
-
const { t:
|
|
836
|
+
const { t: x } = C(), v = _(null);
|
|
801
837
|
return J(() => {
|
|
802
838
|
if (!d) return;
|
|
803
|
-
const
|
|
804
|
-
if (!
|
|
839
|
+
const p = v.current;
|
|
840
|
+
if (!p || typeof IntersectionObserver > "u") return;
|
|
805
841
|
const f = new IntersectionObserver(
|
|
806
842
|
(y) => {
|
|
807
|
-
for (const
|
|
808
|
-
|
|
843
|
+
for (const N of y)
|
|
844
|
+
N.isIntersecting && (H("serp_load_more", {
|
|
809
845
|
currentCount: e.length
|
|
810
846
|
}), d());
|
|
811
847
|
},
|
|
812
848
|
{ root: null, rootMargin: "200px" }
|
|
813
849
|
);
|
|
814
|
-
return f.observe(
|
|
850
|
+
return f.observe(p), () => f.disconnect();
|
|
815
851
|
}, [d, e.length]), g ? /* @__PURE__ */ t(
|
|
816
852
|
"div",
|
|
817
853
|
{
|
|
818
854
|
role: "status",
|
|
819
855
|
"aria-live": "polite",
|
|
820
|
-
"aria-label":
|
|
856
|
+
"aria-label": x("practiceResults.loading"),
|
|
821
857
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
822
|
-
children: Array.from({ length: 4 }).map((
|
|
858
|
+
children: Array.from({ length: 4 }).map((p, f) => /* @__PURE__ */ t(
|
|
823
859
|
Xe,
|
|
824
860
|
{
|
|
825
861
|
variant: "rounded",
|
|
@@ -828,38 +864,38 @@ function pe({
|
|
|
828
864
|
`pr-skel-${f}`
|
|
829
865
|
))
|
|
830
866
|
}
|
|
831
|
-
) : /* @__PURE__ */
|
|
867
|
+
) : /* @__PURE__ */ m(
|
|
832
868
|
"div",
|
|
833
869
|
{
|
|
834
870
|
ref: h,
|
|
835
871
|
"data-component": "practice-results-list",
|
|
836
872
|
role: "list",
|
|
837
|
-
"aria-label":
|
|
873
|
+
"aria-label": x("practiceResults.list.label"),
|
|
838
874
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:overflow-y-auto",
|
|
839
875
|
children: [
|
|
840
|
-
e.map((
|
|
841
|
-
|
|
876
|
+
e.map((p) => /* @__PURE__ */ t("div", { role: "listitem", children: o === "rich" ? /* @__PURE__ */ t(
|
|
877
|
+
bt,
|
|
842
878
|
{
|
|
843
|
-
result:
|
|
879
|
+
result: p,
|
|
844
880
|
apiKey: u,
|
|
845
|
-
highlighted: n ===
|
|
846
|
-
onSelect: () => r(
|
|
847
|
-
onOpenClick: () => i(
|
|
848
|
-
onHover: () => s(
|
|
881
|
+
highlighted: n === p.id,
|
|
882
|
+
onSelect: () => r(p.id),
|
|
883
|
+
onOpenClick: () => i(p.id),
|
|
884
|
+
onHover: () => s(p.id),
|
|
849
885
|
openLabel: a
|
|
850
886
|
}
|
|
851
887
|
) : /* @__PURE__ */ t(
|
|
852
888
|
vt,
|
|
853
889
|
{
|
|
854
|
-
result:
|
|
855
|
-
highlighted: n ===
|
|
856
|
-
onSelect: () => r(
|
|
857
|
-
onOpenClick: () => i(
|
|
858
|
-
onHover: () => s(
|
|
890
|
+
result: p,
|
|
891
|
+
highlighted: n === p.id,
|
|
892
|
+
onSelect: () => r(p.id),
|
|
893
|
+
onOpenClick: () => i(p.id),
|
|
894
|
+
onHover: () => s(p.id),
|
|
859
895
|
openLabel: a,
|
|
860
|
-
nextSlotText: c(
|
|
896
|
+
nextSlotText: c(p)
|
|
861
897
|
}
|
|
862
|
-
) },
|
|
898
|
+
) }, p.id)),
|
|
863
899
|
d ? /* @__PURE__ */ t(
|
|
864
900
|
"div",
|
|
865
901
|
{
|
|
@@ -888,7 +924,7 @@ function ue({
|
|
|
888
924
|
onConsentRequest: u,
|
|
889
925
|
mapHandleRef: h
|
|
890
926
|
}) {
|
|
891
|
-
const { t:
|
|
927
|
+
const { t: x } = C(), v = D(
|
|
892
928
|
() => e.filter(
|
|
893
929
|
(f) => !!f.location
|
|
894
930
|
).map((f) => ({
|
|
@@ -900,7 +936,7 @@ function ue({
|
|
|
900
936
|
label: f.name
|
|
901
937
|
})),
|
|
902
938
|
[e]
|
|
903
|
-
),
|
|
939
|
+
), p = D(() => {
|
|
904
940
|
if (n) return n;
|
|
905
941
|
const f = Re(e);
|
|
906
942
|
return f ? {
|
|
@@ -911,7 +947,7 @@ function ue({
|
|
|
911
947
|
return J(() => {
|
|
912
948
|
if (!g) return;
|
|
913
949
|
const f = Re(e);
|
|
914
|
-
f && (g(f),
|
|
950
|
+
f && (g(f), H("serp_map_panned", { bounds: f }));
|
|
915
951
|
}, [e, g]), /* @__PURE__ */ t(
|
|
916
952
|
"div",
|
|
917
953
|
{
|
|
@@ -923,7 +959,7 @@ function ue({
|
|
|
923
959
|
ref: h,
|
|
924
960
|
apiKey: r ?? "",
|
|
925
961
|
mapId: i,
|
|
926
|
-
center:
|
|
962
|
+
center: p,
|
|
927
963
|
zoom: s,
|
|
928
964
|
markers: v,
|
|
929
965
|
selectedMarkerId: a,
|
|
@@ -932,7 +968,7 @@ function ue({
|
|
|
932
968
|
onMarkerClick: (f) => {
|
|
933
969
|
f != null && (d(f), l(f), c(f));
|
|
934
970
|
},
|
|
935
|
-
ariaLabel:
|
|
971
|
+
ariaLabel: x("practiceResults.map.label"),
|
|
936
972
|
size: "fill",
|
|
937
973
|
surface: "bordered",
|
|
938
974
|
className: "ds:size-full"
|
|
@@ -945,9 +981,9 @@ function fe({
|
|
|
945
981
|
variantBodyProps: e
|
|
946
982
|
}) {
|
|
947
983
|
const { facets: n, value: s, onChange: r, heading: i, intro: a, totalCount: c, searchCentre: d } = e;
|
|
948
|
-
return /* @__PURE__ */
|
|
984
|
+
return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
949
985
|
/* @__PURE__ */ t(
|
|
950
|
-
|
|
986
|
+
Ie,
|
|
951
987
|
{
|
|
952
988
|
heading: i,
|
|
953
989
|
intro: a,
|
|
@@ -955,9 +991,9 @@ function fe({
|
|
|
955
991
|
searchCentreLabel: d == null ? void 0 : d.label
|
|
956
992
|
}
|
|
957
993
|
),
|
|
958
|
-
n.length > 0 ? /* @__PURE__ */
|
|
994
|
+
n.length > 0 ? /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
959
995
|
/* @__PURE__ */ t(
|
|
960
|
-
|
|
996
|
+
ze,
|
|
961
997
|
{
|
|
962
998
|
facets: n,
|
|
963
999
|
value: s.facets,
|
|
@@ -993,7 +1029,7 @@ function he() {
|
|
|
993
1029
|
}
|
|
994
1030
|
function ge({ onRetry: e }) {
|
|
995
1031
|
const { t: n } = C();
|
|
996
|
-
return /* @__PURE__ */
|
|
1032
|
+
return /* @__PURE__ */ m(Y, { variant: "error", children: [
|
|
997
1033
|
/* @__PURE__ */ t(Y.Title, { as: "h3", children: n("practiceResults.error.title") }),
|
|
998
1034
|
/* @__PURE__ */ t(Y.Description, { children: n("practiceResults.error.description") }),
|
|
999
1035
|
e ? /* @__PURE__ */ t(Y.Action, { children: /* @__PURE__ */ t(
|
|
@@ -1008,7 +1044,7 @@ function ge({ onRetry: e }) {
|
|
|
1008
1044
|
) }) : null
|
|
1009
1045
|
] });
|
|
1010
1046
|
}
|
|
1011
|
-
function
|
|
1047
|
+
function xt(e) {
|
|
1012
1048
|
const {
|
|
1013
1049
|
results: n,
|
|
1014
1050
|
apiKey: s,
|
|
@@ -1022,18 +1058,18 @@ function bt(e) {
|
|
|
1022
1058
|
errorSlot: o,
|
|
1023
1059
|
error: u,
|
|
1024
1060
|
onRetry: h,
|
|
1025
|
-
highlightedId:
|
|
1061
|
+
highlightedId: x,
|
|
1026
1062
|
onCardHover: v,
|
|
1027
|
-
onPinClick:
|
|
1063
|
+
onPinClick: p,
|
|
1028
1064
|
consentGranted: f,
|
|
1029
1065
|
onConsentRequest: y,
|
|
1030
|
-
onBoundsChange:
|
|
1066
|
+
onBoundsChange: N,
|
|
1031
1067
|
listContainerRef: R
|
|
1032
|
-
} = e, { t: M } = C(), [A,
|
|
1033
|
-
|
|
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(
|
|
1069
|
+
me,
|
|
1034
1070
|
{
|
|
1035
1071
|
results: n,
|
|
1036
|
-
highlightedId:
|
|
1072
|
+
highlightedId: x,
|
|
1037
1073
|
onCardHover: v,
|
|
1038
1074
|
onCardSelect: e.onCardSelect,
|
|
1039
1075
|
onCardOpenClick: e.onCardOpenClick,
|
|
@@ -1046,9 +1082,9 @@ function bt(e) {
|
|
|
1046
1082
|
containerRef: R
|
|
1047
1083
|
}
|
|
1048
1084
|
);
|
|
1049
|
-
return /* @__PURE__ */
|
|
1085
|
+
return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1050
1086
|
/* @__PURE__ */ t(fe, { variantBodyProps: e }),
|
|
1051
|
-
/* @__PURE__ */
|
|
1087
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:lg:grid ds:lg:grid-cols-[55fr_45fr] ds:lg:gap-[var(--spacing-lg)] ds:lg:items-start", children: [
|
|
1052
1088
|
/* @__PURE__ */ t("div", { className: "ds:min-w-0", children: T }),
|
|
1053
1089
|
/* @__PURE__ */ t("div", { className: "ds:hidden ds:lg:block ds:sticky ds:top-[var(--spacing-md)] ds:h-[40rem]", children: /* @__PURE__ */ t(
|
|
1054
1090
|
ue,
|
|
@@ -1058,13 +1094,13 @@ function bt(e) {
|
|
|
1058
1094
|
zoom: i,
|
|
1059
1095
|
apiKey: s,
|
|
1060
1096
|
mapId: r,
|
|
1061
|
-
highlightedId:
|
|
1097
|
+
highlightedId: x,
|
|
1062
1098
|
onPinClick: (P) => {
|
|
1063
|
-
W(n, P, "pin", e.onResultSelect),
|
|
1099
|
+
W(n, P, "pin", e.onResultSelect), p(P);
|
|
1064
1100
|
},
|
|
1065
1101
|
onPinHover: v,
|
|
1066
1102
|
onPinFirstInteract: e.onPinFirstInteract,
|
|
1067
|
-
onBoundsChange:
|
|
1103
|
+
onBoundsChange: N,
|
|
1068
1104
|
consentGranted: f,
|
|
1069
1105
|
onConsentRequest: y,
|
|
1070
1106
|
mapHandleRef: e.mapHandleRef
|
|
@@ -1077,15 +1113,15 @@ function bt(e) {
|
|
|
1077
1113
|
intent: "primary",
|
|
1078
1114
|
size: "md",
|
|
1079
1115
|
startIcon: /* @__PURE__ */ t(it, { "aria-hidden": "true" }),
|
|
1080
|
-
onClick: () =>
|
|
1116
|
+
onClick: () => z(!0),
|
|
1081
1117
|
children: M("practiceResults.viewMap")
|
|
1082
1118
|
}
|
|
1083
1119
|
) }),
|
|
1084
|
-
/* @__PURE__ */ t(
|
|
1085
|
-
/* @__PURE__ */ t(
|
|
1086
|
-
/* @__PURE__ */
|
|
1087
|
-
/* @__PURE__ */ t(
|
|
1088
|
-
/* @__PURE__ */
|
|
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") }) }),
|
|
1122
|
+
/* @__PURE__ */ m(I.Body, { children: [
|
|
1123
|
+
/* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: M("practiceResults.sheet.description") }),
|
|
1124
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1089
1125
|
/* @__PURE__ */ t("div", { className: "ds:h-[20rem]", children: /* @__PURE__ */ t(
|
|
1090
1126
|
ue,
|
|
1091
1127
|
{
|
|
@@ -1094,13 +1130,13 @@ function bt(e) {
|
|
|
1094
1130
|
zoom: i,
|
|
1095
1131
|
apiKey: s,
|
|
1096
1132
|
mapId: r,
|
|
1097
|
-
highlightedId:
|
|
1133
|
+
highlightedId: x,
|
|
1098
1134
|
onPinClick: (P) => {
|
|
1099
|
-
W(n, P, "pin", e.onResultSelect),
|
|
1135
|
+
W(n, P, "pin", e.onResultSelect), p(P);
|
|
1100
1136
|
},
|
|
1101
1137
|
onPinHover: v,
|
|
1102
1138
|
onPinFirstInteract: e.onPinFirstInteract,
|
|
1103
|
-
onBoundsChange:
|
|
1139
|
+
onBoundsChange: N,
|
|
1104
1140
|
consentGranted: f,
|
|
1105
1141
|
onConsentRequest: y,
|
|
1106
1142
|
mapHandleRef: e.mapHandleRef
|
|
@@ -1122,21 +1158,21 @@ const yt = {
|
|
|
1122
1158
|
"full"
|
|
1123
1159
|
];
|
|
1124
1160
|
function Rt({ value: e, onChange: n }) {
|
|
1125
|
-
const { t: s, i18n: r } = C(), i = r.dir() === "rtl", a =
|
|
1161
|
+
const { t: s, i18n: r } = C(), i = r.dir() === "rtl", a = _(
|
|
1126
1162
|
/* @__PURE__ */ new Map()
|
|
1127
|
-
), c =
|
|
1163
|
+
), c = K((l) => {
|
|
1128
1164
|
var g;
|
|
1129
1165
|
(g = a.current.get(l)) == null || g.focus();
|
|
1130
|
-
}, []), d =
|
|
1166
|
+
}, []), d = K(
|
|
1131
1167
|
(l, g) => {
|
|
1132
|
-
const o = V.indexOf(g), u = V.length, h = i ? "ArrowLeft" : "ArrowRight",
|
|
1168
|
+
const o = V.indexOf(g), u = V.length, h = i ? "ArrowLeft" : "ArrowRight", x = i ? "ArrowRight" : "ArrowLeft";
|
|
1133
1169
|
let v = null;
|
|
1134
1170
|
switch (l.key) {
|
|
1135
1171
|
case h:
|
|
1136
1172
|
case "ArrowDown":
|
|
1137
1173
|
v = V[(o + 1) % u];
|
|
1138
1174
|
break;
|
|
1139
|
-
case
|
|
1175
|
+
case x:
|
|
1140
1176
|
case "ArrowUp":
|
|
1141
1177
|
v = V[(o - 1 + u) % u];
|
|
1142
1178
|
break;
|
|
@@ -1199,21 +1235,21 @@ function wt(e) {
|
|
|
1199
1235
|
errorSlot: o,
|
|
1200
1236
|
error: u,
|
|
1201
1237
|
onRetry: h,
|
|
1202
|
-
highlightedId:
|
|
1238
|
+
highlightedId: x,
|
|
1203
1239
|
onCardHover: v,
|
|
1204
|
-
onPinClick:
|
|
1240
|
+
onPinClick: p,
|
|
1205
1241
|
consentGranted: f,
|
|
1206
1242
|
onConsentRequest: y,
|
|
1207
|
-
onBoundsChange:
|
|
1243
|
+
onBoundsChange: N,
|
|
1208
1244
|
listContainerRef: R,
|
|
1209
1245
|
facets: M,
|
|
1210
1246
|
value: A,
|
|
1211
|
-
onChange:
|
|
1212
|
-
} = e, { t: T } = C(), [P, q] =
|
|
1213
|
-
|
|
1247
|
+
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(
|
|
1249
|
+
me,
|
|
1214
1250
|
{
|
|
1215
1251
|
results: n,
|
|
1216
|
-
highlightedId:
|
|
1252
|
+
highlightedId: x,
|
|
1217
1253
|
onCardHover: v,
|
|
1218
1254
|
onCardSelect: e.onCardSelect,
|
|
1219
1255
|
onCardOpenClick: e.onCardOpenClick,
|
|
@@ -1226,7 +1262,7 @@ function wt(e) {
|
|
|
1226
1262
|
apiKey: s,
|
|
1227
1263
|
containerRef: R
|
|
1228
1264
|
}
|
|
1229
|
-
),
|
|
1265
|
+
), S = /* @__PURE__ */ t(
|
|
1230
1266
|
ue,
|
|
1231
1267
|
{
|
|
1232
1268
|
results: n,
|
|
@@ -1234,23 +1270,23 @@ function wt(e) {
|
|
|
1234
1270
|
zoom: i,
|
|
1235
1271
|
apiKey: s,
|
|
1236
1272
|
mapId: r,
|
|
1237
|
-
highlightedId:
|
|
1273
|
+
highlightedId: x,
|
|
1238
1274
|
onPinClick: (w) => {
|
|
1239
|
-
W(n, w, "pin", e.onResultSelect),
|
|
1275
|
+
W(n, w, "pin", e.onResultSelect), p(w);
|
|
1240
1276
|
},
|
|
1241
1277
|
onPinHover: v,
|
|
1242
1278
|
onPinFirstInteract: e.onPinFirstInteract,
|
|
1243
|
-
onBoundsChange:
|
|
1279
|
+
onBoundsChange: N,
|
|
1244
1280
|
consentGranted: f,
|
|
1245
1281
|
onConsentRequest: y,
|
|
1246
1282
|
mapHandleRef: e.mapHandleRef
|
|
1247
1283
|
}
|
|
1248
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(
|
|
1249
|
-
|
|
1285
|
+
ze,
|
|
1250
1286
|
{
|
|
1251
1287
|
facets: M,
|
|
1252
1288
|
value: A.facets,
|
|
1253
|
-
onChange: (w) =>
|
|
1289
|
+
onChange: (w) => z({ ...A, facets: w }),
|
|
1254
1290
|
floating: !0
|
|
1255
1291
|
}
|
|
1256
1292
|
) }) : null;
|
|
@@ -1272,11 +1308,11 @@ function wt(e) {
|
|
|
1272
1308
|
// the map column is `lg:sticky lg:h-[44rem]` (stays visible
|
|
1273
1309
|
// as the patient scrolls cards) and the rail renders at
|
|
1274
1310
|
// natural height. Single page scroll.
|
|
1275
|
-
/* @__PURE__ */
|
|
1311
|
+
/* @__PURE__ */ m(Ge, { children: [
|
|
1276
1312
|
/* @__PURE__ */ t(fe, { variantBodyProps: e }),
|
|
1277
|
-
/* @__PURE__ */
|
|
1278
|
-
/* @__PURE__ */ t("div", { className: "ds:sticky ds:top-[var(--spacing-md)] ds:h-[44rem]", children:
|
|
1279
|
-
/* @__PURE__ */ t("div", { className: "ds:min-w-0", children:
|
|
1313
|
+
/* @__PURE__ */ m("div", { className: "ds:grid ds:grid-cols-[65fr_35fr] ds:gap-[var(--spacing-lg)] ds:items-start", children: [
|
|
1314
|
+
/* @__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 })
|
|
1280
1316
|
] })
|
|
1281
1317
|
] })
|
|
1282
1318
|
) : (
|
|
@@ -1286,9 +1322,9 @@ function wt(e) {
|
|
|
1286
1322
|
// via the snap radiogroup at the top of the sheet body. Filters
|
|
1287
1323
|
// stay floating on mobile — the full-bleed map IS the viewport
|
|
1288
1324
|
// chrome, so floating chips are the only place for them.
|
|
1289
|
-
/* @__PURE__ */
|
|
1325
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1290
1326
|
/* @__PURE__ */ t(
|
|
1291
|
-
|
|
1327
|
+
Ie,
|
|
1292
1328
|
{
|
|
1293
1329
|
heading: e.heading,
|
|
1294
1330
|
intro: e.intro,
|
|
@@ -1296,22 +1332,22 @@ function wt(e) {
|
|
|
1296
1332
|
searchCentreLabel: a == null ? void 0 : a.label
|
|
1297
1333
|
}
|
|
1298
1334
|
),
|
|
1299
|
-
/* @__PURE__ */
|
|
1300
|
-
|
|
1335
|
+
/* @__PURE__ */ m("div", { className: "ds:relative ds:h-[60vh] ds:min-h-[20rem]", children: [
|
|
1336
|
+
S,
|
|
1301
1337
|
ne
|
|
1302
1338
|
] }),
|
|
1303
|
-
/* @__PURE__ */ t(
|
|
1304
|
-
|
|
1339
|
+
/* @__PURE__ */ t(I.Root, { open: !0, children: /* @__PURE__ */ t(
|
|
1340
|
+
I.Content,
|
|
1305
1341
|
{
|
|
1306
1342
|
side: "bottom",
|
|
1307
1343
|
size: U,
|
|
1308
1344
|
onEscapeKeyDown: (w) => w.preventDefault(),
|
|
1309
1345
|
onPointerDownOutside: (w) => w.preventDefault(),
|
|
1310
1346
|
onInteractOutside: (w) => w.preventDefault(),
|
|
1311
|
-
children: /* @__PURE__ */
|
|
1312
|
-
/* @__PURE__ */ t(
|
|
1313
|
-
/* @__PURE__ */
|
|
1314
|
-
/* @__PURE__ */ t(
|
|
1347
|
+
children: /* @__PURE__ */ m(I.Body, { children: [
|
|
1348
|
+
/* @__PURE__ */ t(I.Description, { className: "ds:sr-only", children: T("practiceResults.sheet.descriptionMapFirst") }),
|
|
1349
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
|
|
1350
|
+
/* @__PURE__ */ t(I.Title, { className: "type-title-card ds:m-0 ds:text-[var(--foreground)]", children: T("practiceResults.sheet.title", {
|
|
1315
1351
|
count: e.totalCount ?? n.length
|
|
1316
1352
|
}) }),
|
|
1317
1353
|
/* @__PURE__ */ t(
|
|
@@ -1326,10 +1362,10 @@ function wt(e) {
|
|
|
1326
1362
|
de,
|
|
1327
1363
|
{
|
|
1328
1364
|
value: A.sort ?? "relevance",
|
|
1329
|
-
onChange: (w) =>
|
|
1365
|
+
onChange: (w) => z({ ...A, sort: w })
|
|
1330
1366
|
}
|
|
1331
1367
|
) }),
|
|
1332
|
-
|
|
1368
|
+
B
|
|
1333
1369
|
] })
|
|
1334
1370
|
}
|
|
1335
1371
|
) })
|
|
@@ -1350,8 +1386,8 @@ function kt(e) {
|
|
|
1350
1386
|
highlightedId: o,
|
|
1351
1387
|
onCardHover: u,
|
|
1352
1388
|
listContainerRef: h
|
|
1353
|
-
} = e,
|
|
1354
|
-
|
|
1389
|
+
} = e, x = l ? d ?? /* @__PURE__ */ t(ge, { onRetry: g }) : n.length === 0 && !a ? c ?? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ t(
|
|
1390
|
+
me,
|
|
1355
1391
|
{
|
|
1356
1392
|
results: n,
|
|
1357
1393
|
highlightedId: o,
|
|
@@ -1368,9 +1404,9 @@ function kt(e) {
|
|
|
1368
1404
|
containerRef: h
|
|
1369
1405
|
}
|
|
1370
1406
|
);
|
|
1371
|
-
return /* @__PURE__ */
|
|
1407
|
+
return /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
1372
1408
|
/* @__PURE__ */ t(fe, { variantBodyProps: e }),
|
|
1373
|
-
|
|
1409
|
+
x
|
|
1374
1410
|
] });
|
|
1375
1411
|
}
|
|
1376
1412
|
const Ct = Ze(function({
|
|
@@ -1386,98 +1422,98 @@ const Ct = Ze(function({
|
|
|
1386
1422
|
consentGranted: o,
|
|
1387
1423
|
onConsentRequest: u,
|
|
1388
1424
|
skipConsentGate: h = !1,
|
|
1389
|
-
onLoadMore:
|
|
1425
|
+
onLoadMore: x,
|
|
1390
1426
|
loadingMore: v,
|
|
1391
|
-
value:
|
|
1427
|
+
value: p,
|
|
1392
1428
|
onChange: f,
|
|
1393
1429
|
onResultSelect: y,
|
|
1394
|
-
loading:
|
|
1430
|
+
loading: N,
|
|
1395
1431
|
emptyResultsSlot: R,
|
|
1396
1432
|
errorSlot: M,
|
|
1397
1433
|
error: A,
|
|
1398
|
-
onRetry:
|
|
1434
|
+
onRetry: z,
|
|
1399
1435
|
heading: T,
|
|
1400
1436
|
intro: P,
|
|
1401
1437
|
cardOpenButtonLabel: q,
|
|
1402
1438
|
"aria-label": U,
|
|
1403
1439
|
id: O,
|
|
1404
|
-
className:
|
|
1405
|
-
...
|
|
1440
|
+
className: B,
|
|
1441
|
+
...S
|
|
1406
1442
|
}, ne) {
|
|
1407
|
-
const { t: w, i18n: ve } = C(), [
|
|
1443
|
+
const { t: w, i18n: ve } = C(), [He, Q] = pe(null), X = _(/* @__PURE__ */ new Set()), ae = _(/* @__PURE__ */ new Set()), $e = _(null), se = _(null), ie = D(
|
|
1408
1444
|
() => ({
|
|
1409
1445
|
getVariant: () => n,
|
|
1410
|
-
scrollToResult: (
|
|
1446
|
+
scrollToResult: (b) => {
|
|
1411
1447
|
const F = se.current;
|
|
1412
1448
|
if (!F) return;
|
|
1413
1449
|
const k = F.querySelector(
|
|
1414
|
-
`[data-component="practice-result-card"][data-result-id="${CSS.escape(
|
|
1450
|
+
`[data-component="practice-result-card"][data-result-id="${CSS.escape(b)}"]`
|
|
1415
1451
|
);
|
|
1416
|
-
k && (k.scrollIntoView({ behavior: "smooth", block: "nearest" }), Q(
|
|
1452
|
+
k && (k.scrollIntoView({ behavior: "smooth", block: "nearest" }), Q(b));
|
|
1417
1453
|
},
|
|
1418
|
-
focusPin: (
|
|
1419
|
-
Q(
|
|
1454
|
+
focusPin: (b) => {
|
|
1455
|
+
Q(b);
|
|
1420
1456
|
}
|
|
1421
1457
|
}),
|
|
1422
1458
|
[n]
|
|
1423
1459
|
);
|
|
1424
1460
|
Qe(ne, () => ie, [ie]), tt(rt, ie, O);
|
|
1425
|
-
const Le = q ?? w("practiceResults.card.open"), De =
|
|
1426
|
-
(
|
|
1427
|
-
if (
|
|
1461
|
+
const Le = q ?? w("practiceResults.card.open"), De = K(
|
|
1462
|
+
(b) => {
|
|
1463
|
+
if (b.nextAvailableSlot)
|
|
1428
1464
|
try {
|
|
1429
1465
|
return new Intl.DateTimeFormat(ve.language, {
|
|
1430
1466
|
weekday: "short",
|
|
1431
1467
|
hour: "numeric",
|
|
1432
1468
|
minute: "numeric"
|
|
1433
|
-
}).format(new Date(
|
|
1469
|
+
}).format(new Date(b.nextAvailableSlot.dateTime));
|
|
1434
1470
|
} catch {
|
|
1435
|
-
return
|
|
1471
|
+
return b.nextAvailableSlot.dateTime;
|
|
1436
1472
|
}
|
|
1437
1473
|
},
|
|
1438
1474
|
[ve.language]
|
|
1439
|
-
),
|
|
1475
|
+
), be = _(null);
|
|
1440
1476
|
J(() => {
|
|
1441
|
-
|
|
1477
|
+
be.current !== n && (be.current = n, H("serp_variant_exposed", {
|
|
1442
1478
|
variant: n,
|
|
1443
1479
|
totalCount: r ?? s.length
|
|
1444
1480
|
}), X.current = /* @__PURE__ */ new Set(), ae.current = /* @__PURE__ */ new Set());
|
|
1445
1481
|
}, [n]);
|
|
1446
|
-
const re =
|
|
1447
|
-
const
|
|
1448
|
-
return ut(
|
|
1449
|
-
}, [s,
|
|
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]);
|
|
1450
1486
|
J(() => {
|
|
1451
|
-
const
|
|
1452
|
-
|
|
1453
|
-
appliedFacets:
|
|
1454
|
-
}), re.current = !0) :
|
|
1455
|
-
}, [
|
|
1456
|
-
const E =
|
|
1487
|
+
const b = j.length === 0;
|
|
1488
|
+
b && !re.current ? (H("serp_empty_results", {
|
|
1489
|
+
appliedFacets: p.facets ?? {}
|
|
1490
|
+
}), re.current = !0) : b || (re.current = !1);
|
|
1491
|
+
}, [j.length, p.facets]);
|
|
1492
|
+
const E = _(null), xe = _(null);
|
|
1457
1493
|
J(
|
|
1458
1494
|
() => () => {
|
|
1459
1495
|
E.current && clearTimeout(E.current);
|
|
1460
1496
|
},
|
|
1461
1497
|
[]
|
|
1462
1498
|
);
|
|
1463
|
-
const Oe =
|
|
1464
|
-
Q(
|
|
1465
|
-
X.current.has(
|
|
1499
|
+
const Oe = K((b) => {
|
|
1500
|
+
Q(b), !X.current.has(b) && (xe.current === b && E.current || (E.current && clearTimeout(E.current), xe.current = b, E.current = setTimeout(() => {
|
|
1501
|
+
X.current.has(b) || (X.current.add(b), H("serp_result_hovered_card", { resultId: b })), E.current = null;
|
|
1466
1502
|
}, 500)));
|
|
1467
|
-
}, []),
|
|
1468
|
-
Q(
|
|
1503
|
+
}, []), je = K((b) => {
|
|
1504
|
+
Q(b);
|
|
1469
1505
|
const F = se.current;
|
|
1470
1506
|
if (!F) return;
|
|
1471
1507
|
const k = F.querySelector(
|
|
1472
|
-
`[data-component="practice-result-card"][data-result-id="${CSS.escape(
|
|
1508
|
+
`[data-component="practice-result-card"][data-result-id="${CSS.escape(b)}"]`
|
|
1473
1509
|
);
|
|
1474
1510
|
k == null || k.scrollIntoView({ behavior: "smooth", block: "nearest" });
|
|
1475
|
-
}, []),
|
|
1476
|
-
ae.current.has(
|
|
1477
|
-
}, []), ye =
|
|
1478
|
-
(
|
|
1479
|
-
Q(
|
|
1480
|
-
const F =
|
|
1511
|
+
}, []), Ke = K((b) => {
|
|
1512
|
+
ae.current.has(b) || (ae.current.add(b), H("serp_result_hovered_pin", { resultId: b }));
|
|
1513
|
+
}, []), ye = _(null), Be = K(
|
|
1514
|
+
(b) => {
|
|
1515
|
+
Q(b);
|
|
1516
|
+
const F = j.find((k) => k.id === b);
|
|
1481
1517
|
if (F) {
|
|
1482
1518
|
if (F.location) {
|
|
1483
1519
|
const k = ye.current;
|
|
@@ -1486,29 +1522,29 @@ const Ct = Ze(function({
|
|
|
1486
1522
|
lng: F.location.lng
|
|
1487
1523
|
}), k == null || k.setZoom(16);
|
|
1488
1524
|
}
|
|
1489
|
-
W(
|
|
1525
|
+
W(j, b, "card", y);
|
|
1490
1526
|
}
|
|
1491
1527
|
},
|
|
1492
|
-
[
|
|
1493
|
-
), Ee =
|
|
1494
|
-
(
|
|
1528
|
+
[j, y]
|
|
1529
|
+
), Ee = K(
|
|
1530
|
+
(b) => {
|
|
1495
1531
|
W(
|
|
1496
|
-
|
|
1497
|
-
|
|
1532
|
+
j,
|
|
1533
|
+
b,
|
|
1498
1534
|
"open-button",
|
|
1499
1535
|
y
|
|
1500
1536
|
);
|
|
1501
1537
|
},
|
|
1502
|
-
[
|
|
1503
|
-
), Ve = !!
|
|
1504
|
-
results:
|
|
1538
|
+
[j, y]
|
|
1539
|
+
), Ve = !!N && s.length === 0, ce = {
|
|
1540
|
+
results: j,
|
|
1505
1541
|
totalCount: r,
|
|
1506
1542
|
searchCentre: i,
|
|
1507
1543
|
facets: le,
|
|
1508
|
-
value: { ...
|
|
1544
|
+
value: { ...p, sort: oe },
|
|
1509
1545
|
onChange: f,
|
|
1510
1546
|
onResultSelect: y,
|
|
1511
|
-
onLoadMore:
|
|
1547
|
+
onLoadMore: x,
|
|
1512
1548
|
loadingMore: v,
|
|
1513
1549
|
apiKey: c,
|
|
1514
1550
|
mapId: d,
|
|
@@ -1525,18 +1561,18 @@ const Ct = Ze(function({
|
|
|
1525
1561
|
emptyResultsSlot: R,
|
|
1526
1562
|
errorSlot: M,
|
|
1527
1563
|
error: A,
|
|
1528
|
-
onRetry:
|
|
1564
|
+
onRetry: z,
|
|
1529
1565
|
heading: T,
|
|
1530
1566
|
intro: P,
|
|
1531
|
-
highlightedId:
|
|
1567
|
+
highlightedId: He,
|
|
1532
1568
|
onCardHover: Oe,
|
|
1533
|
-
onPinClick:
|
|
1534
|
-
onPinFirstInteract:
|
|
1535
|
-
onCardSelect:
|
|
1569
|
+
onPinClick: je,
|
|
1570
|
+
onPinFirstInteract: Ke,
|
|
1571
|
+
onCardSelect: Be,
|
|
1536
1572
|
onCardOpenClick: Ee,
|
|
1537
1573
|
openLabel: Le,
|
|
1538
1574
|
formatNextSlot: De,
|
|
1539
|
-
listContainerRef:
|
|
1575
|
+
listContainerRef: $e,
|
|
1540
1576
|
mapHandleRef: ye
|
|
1541
1577
|
}, qe = (() => {
|
|
1542
1578
|
switch (n) {
|
|
@@ -1546,7 +1582,7 @@ const Ct = Ze(function({
|
|
|
1546
1582
|
return /* @__PURE__ */ t(kt, { ...ce });
|
|
1547
1583
|
case "split-list-map":
|
|
1548
1584
|
default:
|
|
1549
|
-
return /* @__PURE__ */ t(
|
|
1585
|
+
return /* @__PURE__ */ t(xt, { ...ce });
|
|
1550
1586
|
}
|
|
1551
1587
|
})(), Ue = U ?? w("practiceResults.regionLabel");
|
|
1552
1588
|
return /* @__PURE__ */ t(
|
|
@@ -1559,8 +1595,8 @@ const Ct = Ze(function({
|
|
|
1559
1595
|
"data-component": "practice-results",
|
|
1560
1596
|
"data-component-id": O,
|
|
1561
1597
|
"data-variant": n,
|
|
1562
|
-
className:
|
|
1563
|
-
...
|
|
1598
|
+
className: pt({ variant: n, className: B }),
|
|
1599
|
+
...S,
|
|
1564
1600
|
children: qe
|
|
1565
1601
|
}
|
|
1566
1602
|
);
|
|
@@ -1570,4 +1606,4 @@ export {
|
|
|
1570
1606
|
Ct as P,
|
|
1571
1607
|
rt as p
|
|
1572
1608
|
};
|
|
1573
|
-
//# sourceMappingURL=practice-results-
|
|
1609
|
+
//# sourceMappingURL=practice-results-KrTHqZua.js.map
|