@alfadocs/ui-kit 1.132.0 → 1.134.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/dist/_chunks/{agenda-card-B8hV3dZV.js → agenda-card-B9wgX_Ed.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bu46s3dI.js → agenda-tray-CGcS_qoM.js} +2 -2
  3. package/dist/_chunks/appointment-card-DG3m9yN-.js +504 -0
  4. package/dist/_chunks/{appointment-peek-DZa6xyUb.js → appointment-peek-BK0tDs4C.js} +2 -2
  5. package/dist/_chunks/{appointment-timeline-DQePqpyH.js → appointment-timeline-BiI2riRZ.js} +2 -2
  6. package/dist/_chunks/appointment-tray-ClJCtYQj.js +200 -0
  7. package/dist/_chunks/{appointment-workflow-status-DMjuIK90.js → appointment-workflow-status-S-lx81Yz.js} +2 -2
  8. package/dist/_chunks/ban-CiSCCcOE.js +15 -0
  9. package/dist/_chunks/{calendar-BIoOeBTT.js → calendar-CyLtLBNP.js} +2 -2
  10. package/dist/_chunks/calendar-appointment-editor-dialog-BSkIYGlW.js +13773 -0
  11. package/dist/_chunks/{calendar-event-card-BNEzkjm-.js → calendar-event-card-BJifpYZQ.js} +7 -6
  12. package/dist/_chunks/{care-plan-card-DKScH9Ss.js → care-plan-card-CjHq6PLo.js} +6 -6
  13. package/dist/_chunks/{care-plan-entry-card-AG1y3nyW.js → care-plan-entry-card-DY1toF6E.js} +2 -2
  14. package/dist/_chunks/{care-plan-header-Dx5OMkc9.js → care-plan-header-CeFXUDnL.js} +6 -6
  15. package/dist/_chunks/check-in-documents-CEVcgcYZ.js +136 -0
  16. package/dist/_chunks/{clinical-note-card-pPaeWWnu.js → clinical-note-card-D--IwbZa.js} +2 -2
  17. package/dist/_chunks/document-preview-DLVIrOYV.js +385 -0
  18. package/dist/_chunks/{entity-card-fpm-KUKc.js → entity-card-p-LANpYt.js} +18 -17
  19. package/dist/_chunks/{error-page-B0fGNTRB.js → error-page-WLhmWUTq.js} +100 -115
  20. package/dist/_chunks/finished-terminal-unDnXT4j.js +191 -0
  21. package/dist/_chunks/house-DGCypGTo.js +21 -0
  22. package/dist/_chunks/is-safe-url-CEy9CEml.js +8 -0
  23. package/dist/_chunks/keypad-DBH_keVs.js +152 -0
  24. package/dist/_chunks/keypad-button-mOaPQRrH.js +114 -0
  25. package/dist/_chunks/{message-card-BG3_3nN1.js → message-card-Bw_q1qKx.js} +2 -2
  26. package/dist/_chunks/{message-tray-BjZv0Fsk.js → message-tray-pLGgLmoG.js} +2 -2
  27. package/dist/_chunks/{note-attachment-MNTIqdSz.js → note-attachment-JTIy9iXN.js} +2 -2
  28. package/dist/_chunks/{note-timeline-BQeW0VZY.js → note-timeline-BbjHMhkL.js} +2 -2
  29. package/dist/_chunks/{notes-panel-Cm-_pCRJ.js → notes-panel-BAyPOr8N.js} +2 -2
  30. package/dist/_chunks/{operator-hero-CnfWckNQ.js → operator-hero-D4wfVu2l.js} +2 -2
  31. package/dist/_chunks/otp-input-BNOTlxq3.js +342 -0
  32. package/dist/_chunks/patient-account-settings-BkAtIxJW.js +546 -0
  33. package/dist/_chunks/patient-card-DTh3QTyS.js +125 -0
  34. package/dist/_chunks/patient-check-in-resume-xhqjC6gf.js +742 -0
  35. package/dist/_chunks/patient-sign-in-pin-CDBqV254.js +432 -0
  36. package/dist/_chunks/patient-sign-in-steps-C2JSqlok.js +199 -0
  37. package/dist/_chunks/{patient-summary-card-BUcZ-gaL.js → patient-summary-card-Bl2NknPe.js} +2 -2
  38. package/dist/_chunks/{payment-request-card-Dv4WbRBe.js → payment-request-card-CNW00DCx.js} +6 -6
  39. package/dist/_chunks/{pdf-viewer-BnBKdx0y.js → pdf-viewer-TRC5jEm5.js} +472 -425
  40. package/dist/_chunks/pin-entry-BugWQMOS.js +219 -0
  41. package/dist/_chunks/pin-indicator-Cb-n40UI.js +124 -0
  42. package/dist/_chunks/portal-details-CTEsm705.js +478 -0
  43. package/dist/_chunks/portal-documents-D8skew0h.js +902 -0
  44. package/dist/_chunks/portal-parts-BdR29P7z.js +285 -0
  45. package/dist/_chunks/{privacy-mask-DJ1gee4c.js → privacy-mask-C19dJFMk.js} +5 -5
  46. package/dist/_chunks/{product-hub-panel-a8wdVOUt.js → product-hub-panel-K4QbULG7.js} +2 -2
  47. package/dist/_chunks/{registration-form-CwbhtKcy.js → registration-form-DS3RuKHu.js} +2 -2
  48. package/dist/_chunks/{reserved.agent-W8mR179D.js → reserved.agent-DOzOBUW7.js} +2 -2
  49. package/dist/_chunks/session-countdown-DOx1IBUB.js +232 -0
  50. package/dist/_chunks/{sign-document-CQZVzfpk.js → sign-document-DDZbmYHu.js} +2 -2
  51. package/dist/_chunks/{signature-field-DjabvRZm.js → signature-field-BjlY_yXH.js} +39 -34
  52. package/dist/_chunks/{signature-request-4pGq3YBe.js → signature-request-CHsM_iWi.js} +2 -2
  53. package/dist/_chunks/{signature-status-chip-pIoQjvH8.js → signature-status-chip-DS9hHwIt.js} +66 -69
  54. package/dist/_chunks/signing-end-screen-an9P8DOT.js +1041 -0
  55. package/dist/_chunks/sms-code-entry-Dgp4GwlM.js +316 -0
  56. package/dist/_chunks/step-up-dialog-C2JqJmCA.js +132 -0
  57. package/dist/_chunks/{task-editor-BL2hHxNz.js → task-editor-g1AGfxhr.js} +38 -38
  58. package/dist/_chunks/{use-appointment-details-read-_b7FRB1x.js → use-appointment-details-read-Dzc6fEzG.js} +6 -6
  59. package/dist/_chunks/use-zoom-drilldown-Cr1baU5X.js +221 -0
  60. package/dist/_chunks/{user-x-DYszNtIg.js → user-x-BJZg4kaP.js} +8 -19
  61. package/dist/_chunks/{verify-identity-types-CxtrBXsZ.js → verify-identity-types-C6Bam8v6.js} +2 -2
  62. package/dist/agent-catalog.json +723 -364
  63. package/dist/agent-i18n/en.json +75 -18
  64. package/dist/browser-support.js +1 -1
  65. package/dist/components/_shared/is-safe-url.d.ts +3 -1
  66. package/dist/components/agenda-card/index.js +2 -2
  67. package/dist/components/agenda-tray/index.js +1 -1
  68. package/dist/components/appointment-card/appointment-card.d.ts +45 -0
  69. package/dist/components/appointment-card/appointment-tray.d.ts +11 -0
  70. package/dist/components/appointment-card/index.js +3 -3
  71. package/dist/components/appointment-details-panel/index.js +1 -1
  72. package/dist/components/appointment-peek/index.js +1 -1
  73. package/dist/components/appointment-timeline/index.js +1 -1
  74. package/dist/components/booking/index.js +1 -1
  75. package/dist/components/calendar/index.js +1 -1
  76. package/dist/components/calendar-event-card/index.js +1 -1
  77. package/dist/components/care-plan-card/index.js +1 -1
  78. package/dist/components/care-plan-entry-card/index.js +1 -1
  79. package/dist/components/care-plan-header/index.js +1 -1
  80. package/dist/components/clinical-note-card/index.js +1 -1
  81. package/dist/components/document-preview/document-preview.d.ts +61 -7
  82. package/dist/components/document-preview/index.js +1 -1
  83. package/dist/components/finished-terminal/finished-terminal.d.ts +63 -6
  84. package/dist/components/finished-terminal/index.d.ts +1 -1
  85. package/dist/components/finished-terminal/index.js +1 -1
  86. package/dist/components/index.d.ts +12 -0
  87. package/dist/components/keypad/index.d.ts +3 -0
  88. package/dist/components/keypad/index.js +6 -0
  89. package/dist/components/keypad/keypad.d.ts +54 -0
  90. package/dist/components/keypad-button/index.d.ts +3 -0
  91. package/dist/components/keypad-button/index.js +6 -0
  92. package/dist/components/keypad-button/keypad-button.d.ts +33 -0
  93. package/dist/components/message-card/index.js +2 -2
  94. package/dist/components/message-tray/index.js +1 -1
  95. package/dist/components/note-timeline/index.js +1 -1
  96. package/dist/components/notes-panel/index.js +1 -1
  97. package/dist/components/operator-hero/index.js +1 -1
  98. package/dist/components/otp-input/index.js +1 -1
  99. package/dist/components/otp-input/otp-input.d.ts +11 -0
  100. package/dist/components/patient-summary-card/index.js +1 -1
  101. package/dist/components/payment-card/index.js +1 -1
  102. package/dist/components/pdf-viewer/index.js +1 -1
  103. package/dist/components/pdf-viewer/pdf-viewer.d.ts +7 -0
  104. package/dist/components/pin-entry/index.d.ts +3 -0
  105. package/dist/components/pin-entry/index.js +5 -0
  106. package/dist/components/pin-entry/pin-entry.agent.d.ts +4 -0
  107. package/dist/components/pin-entry/pin-entry.d.ts +64 -0
  108. package/dist/components/pin-indicator/index.d.ts +3 -0
  109. package/dist/components/pin-indicator/index.js +9 -0
  110. package/dist/components/pin-indicator/pin-indicator.d.ts +34 -0
  111. package/dist/components/product-hub-tray/index.js +2 -2
  112. package/dist/components/session-countdown/index.js +1 -1
  113. package/dist/components/session-countdown/session-countdown.d.ts +19 -0
  114. package/dist/components/sign-document/index.js +1 -1
  115. package/dist/components/signature-field/index.js +1 -1
  116. package/dist/components/signature-field/signature-field.d.ts +17 -6
  117. package/dist/components/signature-status-chip/index.js +1 -1
  118. package/dist/components/signature-status-chip/signature-status-chip.d.ts +3 -2
  119. package/dist/components/sms-code-entry/index.d.ts +3 -0
  120. package/dist/components/sms-code-entry/index.js +5 -0
  121. package/dist/components/sms-code-entry/sms-code-entry.agent.d.ts +4 -0
  122. package/dist/components/sms-code-entry/sms-code-entry.d.ts +156 -0
  123. package/dist/components/step-up-dialog/index.d.ts +3 -0
  124. package/dist/components/step-up-dialog/index.js +5 -0
  125. package/dist/components/step-up-dialog/step-up-dialog.d.ts +108 -0
  126. package/dist/components/task-editor/index.js +1 -1
  127. package/dist/components/workflow-status/index.js +1 -1
  128. package/dist/core.css +1 -1
  129. package/dist/hooks/index.js +1 -1
  130. package/dist/hooks/use-signing-session.d.ts +7 -2
  131. package/dist/host-compat.css +10 -1
  132. package/dist/i18n/locales/ar.d.ts +514 -1
  133. package/dist/i18n/locales/ar.js +512 -4
  134. package/dist/i18n/locales/de.d.ts +514 -1
  135. package/dist/i18n/locales/de.js +520 -5
  136. package/dist/i18n/locales/el.d.ts +514 -1
  137. package/dist/i18n/locales/el.js +515 -5
  138. package/dist/i18n/locales/en.d.ts +516 -1
  139. package/dist/i18n/locales/en.js +522 -4
  140. package/dist/i18n/locales/es.d.ts +514 -1
  141. package/dist/i18n/locales/es.js +513 -5
  142. package/dist/i18n/locales/fr.d.ts +514 -1
  143. package/dist/i18n/locales/fr.js +513 -5
  144. package/dist/i18n/locales/hi.d.ts +514 -1
  145. package/dist/i18n/locales/hi.js +513 -5
  146. package/dist/i18n/locales/it.d.ts +514 -1
  147. package/dist/i18n/locales/it.js +520 -5
  148. package/dist/i18n/locales/ja.d.ts +514 -1
  149. package/dist/i18n/locales/ja.js +513 -5
  150. package/dist/i18n/locales/nl.d.ts +514 -1
  151. package/dist/i18n/locales/nl.js +520 -5
  152. package/dist/i18n/locales/pl.d.ts +514 -1
  153. package/dist/i18n/locales/pl.js +520 -5
  154. package/dist/i18n/locales/pt.d.ts +514 -1
  155. package/dist/i18n/locales/pt.js +520 -5
  156. package/dist/i18n/locales/ro.d.ts +514 -1
  157. package/dist/i18n/locales/ro.js +520 -5
  158. package/dist/i18n/locales/ru.d.ts +514 -1
  159. package/dist/i18n/locales/ru.js +512 -4
  160. package/dist/i18n/locales/sq.d.ts +514 -1
  161. package/dist/i18n/locales/sq.js +513 -5
  162. package/dist/i18n/locales/sv.d.ts +514 -1
  163. package/dist/i18n/locales/sv.js +513 -5
  164. package/dist/i18n/locales/tr.d.ts +514 -1
  165. package/dist/i18n/locales/tr.js +515 -5
  166. package/dist/i18n/locales/zh.d.ts +514 -1
  167. package/dist/i18n/locales/zh.js +513 -5
  168. package/dist/index.js +1271 -1204
  169. package/dist/locales/ar.json +516 -3
  170. package/dist/locales/de.json +517 -4
  171. package/dist/locales/el.json +517 -4
  172. package/dist/locales/en.json +516 -3
  173. package/dist/locales/es.json +517 -4
  174. package/dist/locales/fr.json +517 -4
  175. package/dist/locales/hi.json +517 -4
  176. package/dist/locales/it.json +517 -4
  177. package/dist/locales/ja.json +517 -4
  178. package/dist/locales/nl.json +517 -4
  179. package/dist/locales/pl.json +517 -4
  180. package/dist/locales/pt.json +517 -4
  181. package/dist/locales/ro.json +517 -4
  182. package/dist/locales/ru.json +516 -3
  183. package/dist/locales/sq.json +517 -4
  184. package/dist/locales/sv.json +517 -4
  185. package/dist/locales/tr.json +517 -4
  186. package/dist/locales/zh.json +517 -4
  187. package/dist/patterns/calendar/calendar.journey.d.ts +4 -0
  188. package/dist/patterns/calendar/calendar.surface.d.ts +15 -1
  189. package/dist/patterns/calendar/calendar.types.d.ts +4 -0
  190. package/dist/patterns/calendar/index.js +1 -1
  191. package/dist/patterns/check-in-documents/check-in-documents.d.ts +61 -0
  192. package/dist/patterns/check-in-documents/check-in-signable-document.d.ts +32 -0
  193. package/dist/patterns/check-in-documents/index.d.ts +4 -0
  194. package/dist/patterns/check-in-documents/index.js +5 -0
  195. package/dist/patterns/error-page/index.js +1 -1
  196. package/dist/patterns/patient-account-settings/index.d.ts +4 -0
  197. package/dist/patterns/patient-account-settings/index.js +5 -0
  198. package/dist/patterns/patient-account-settings/patient-account-settings-panels.d.ts +36 -0
  199. package/dist/patterns/patient-account-settings/patient-account-settings.d.ts +94 -0
  200. package/dist/patterns/patient-account-settings/patient-account-settings.types.d.ts +91 -0
  201. package/dist/patterns/patient-check-in/index.d.ts +20 -0
  202. package/dist/patterns/patient-check-in/index.js +13 -0
  203. package/dist/patterns/patient-check-in/patient-check-in-changed.d.ts +33 -0
  204. package/dist/patterns/patient-check-in/patient-check-in-connection-notice.d.ts +29 -0
  205. package/dist/patterns/patient-check-in/patient-check-in-done.d.ts +25 -0
  206. package/dist/patterns/patient-check-in/patient-check-in-entry.d.ts +29 -0
  207. package/dist/patterns/patient-check-in/patient-check-in-hub-empty.d.ts +23 -0
  208. package/dist/patterns/patient-check-in/patient-check-in-hub.d.ts +61 -0
  209. package/dist/patterns/patient-check-in/patient-check-in-personal-data.d.ts +73 -0
  210. package/dist/patterns/patient-check-in/patient-check-in-privacy.d.ts +9 -0
  211. package/dist/patterns/patient-check-in/patient-check-in-resume.d.ts +29 -0
  212. package/dist/patterns/patient-check-in/patient-check-in-shell.d.ts +60 -0
  213. package/dist/patterns/patient-check-in/patient-check-in-types.d.ts +92 -0
  214. package/dist/patterns/patient-portal/index.d.ts +12 -0
  215. package/dist/patterns/patient-portal/index.js +13 -0
  216. package/dist/patterns/patient-portal/portal-appointments.d.ts +70 -0
  217. package/dist/patterns/patient-portal/portal-details.d.ts +148 -0
  218. package/dist/patterns/patient-portal/portal-documents.d.ts +74 -0
  219. package/dist/patterns/patient-portal/portal-format.d.ts +14 -0
  220. package/dist/patterns/patient-portal/portal-home.d.ts +71 -0
  221. package/dist/patterns/patient-portal/portal-parts.d.ts +107 -0
  222. package/dist/patterns/patient-portal/portal-shell.d.ts +84 -0
  223. package/dist/patterns/patient-portal/portal-types.d.ts +157 -0
  224. package/dist/patterns/patient-sign-in/index.d.ts +7 -0
  225. package/dist/patterns/patient-sign-in/index.js +15 -0
  226. package/dist/patterns/patient-sign-in/patient-card.d.ts +74 -0
  227. package/dist/patterns/patient-sign-in/patient-sign-in-email.d.ts +109 -0
  228. package/dist/patterns/patient-sign-in/patient-sign-in-pin.d.ts +157 -0
  229. package/dist/patterns/patient-sign-in/patient-sign-in-steps.d.ts +143 -0
  230. package/dist/patterns/registration-form/index.js +1 -1
  231. package/dist/patterns/signature-request/index.js +1 -1
  232. package/dist/patterns/signing/index.d.ts +25 -0
  233. package/dist/patterns/signing/index.js +16 -0
  234. package/dist/patterns/signing/multi-field-signer.d.ts +117 -0
  235. package/dist/patterns/signing/signing-awaiting-screen.d.ts +25 -0
  236. package/dist/patterns/signing/signing-chrome.d.ts +30 -0
  237. package/dist/patterns/signing/signing-document-screen.d.ts +87 -0
  238. package/dist/patterns/signing/signing-end-screen.d.ts +27 -0
  239. package/dist/patterns/signing/signing-finished-screen.d.ts +34 -0
  240. package/dist/patterns/signing/signing-footer.d.ts +56 -0
  241. package/dist/patterns/signing/signing-handoff-screen.d.ts +37 -0
  242. package/dist/patterns/signing/signing-message-dialog.d.ts +29 -0
  243. package/dist/patterns/signing/signing-progress-chip.d.ts +27 -0
  244. package/dist/patterns/signing/signing-roster.d.ts +44 -0
  245. package/dist/patterns/signing/signing-staff-id-confirmation.d.ts +49 -0
  246. package/dist/patterns/verify-identity/index.js +1 -1
  247. package/dist/tokens.css +1 -1
  248. package/package.json +49 -1
  249. package/dist/_chunks/appointment-card-OAOur8lH.js +0 -434
  250. package/dist/_chunks/appointment-tray-DSFqO5Rm.js +0 -193
  251. package/dist/_chunks/calendar-appointment-editor-dialog-WW6V1SGh.js +0 -13663
  252. package/dist/_chunks/document-preview-_kQ9QvZV.js +0 -291
  253. package/dist/_chunks/finished-terminal-FR8uc_Ws.js +0 -122
  254. package/dist/_chunks/is-safe-url-DkETxeHz.js +0 -7
  255. package/dist/_chunks/otp-input-gV1446Dw.js +0 -301
  256. package/dist/_chunks/session-countdown-C4tzbJVc.js +0 -223
  257. package/dist/_chunks/use-zoom-drilldown-qCX34w9I.js +0 -210
@@ -0,0 +1,546 @@
1
+ import { jsx as n, jsxs as C, Fragment as it } from "react/jsx-runtime";
2
+ import { useState as M, useRef as I, useEffect as V, useId as $ } from "react";
3
+ import { useTranslation as T } from "react-i18next";
4
+ import { A as z } from "./alert-C4WKViaS.js";
5
+ import { B as D } from "./button-DohK_Ak_.js";
6
+ import { r as at } from "./pin-indicator-Cb-n40UI.js";
7
+ import { P as st } from "./privacy-mask-C19dJFMk.js";
8
+ import { u as ct } from "./use-controllable-state-BiY4xTzM.js";
9
+ import { P as lt, a as ot, b as W, e as dt, c as rt, d as ut } from "./portal-parts-BdR29P7z.js";
10
+ import { E as pt } from "./email-input-DxwbREpx.js";
11
+ import { F as Z } from "./form-field-CyHfOVKF.js";
12
+ import { P as mt } from "./phone-input-BL8Sj6OG.js";
13
+ import { P as tt } from "./pin-entry-BugWQMOS.js";
14
+ import { a as X } from "./format-number-DdzqwMs1.js";
15
+ import { u as _ } from "./patient-card-DTh3QTyS.js";
16
+ import { p as ft } from "./privacy-mask-text-B8YfzB7L.js";
17
+ function q(t) {
18
+ return t ? `${t.rowId}|${t.code}|${t.text ?? ""}` : null;
19
+ }
20
+ function nt(...t) {
21
+ return t.filter(Boolean).join(" ") || void 0;
22
+ }
23
+ function G(t) {
24
+ var d;
25
+ const { t: s } = T("ui");
26
+ if (t) {
27
+ if ((d = t.text) != null && d.trim()) return t.text;
28
+ switch (t.code) {
29
+ case "invalid-value":
30
+ return s("patientAccountSettings.error.invalidValue");
31
+ case "wrong-current-pin":
32
+ return s("patientAccountSettings.error.wrongCurrentPin");
33
+ case "pin-refused":
34
+ return s("patientAccountSettings.error.pinRefused");
35
+ case "pin-mismatch":
36
+ return s("patientAccountSettings.error.pinMismatch");
37
+ }
38
+ }
39
+ }
40
+ function J({
41
+ rowId: t,
42
+ kind: s,
43
+ title: d,
44
+ headingLevel: r,
45
+ step: m,
46
+ stepId: l,
47
+ description: k,
48
+ descriptionId: b,
49
+ alert: c,
50
+ alertId: o,
51
+ saving: i,
52
+ canSubmit: p,
53
+ submitLabel: a,
54
+ submitAction: h,
55
+ onSubmit: S,
56
+ onCancel: A,
57
+ children: f
58
+ }) {
59
+ const { t: g } = T("ui"), P = `h${r}`, e = I(null), u = i && h === "save-change";
60
+ return /* @__PURE__ */ C(
61
+ "form",
62
+ {
63
+ noValidate: !0,
64
+ "data-component": "patient-account-settings-panel",
65
+ "data-row-id": t,
66
+ "data-kind": s,
67
+ className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
68
+ onSubmit: (x) => {
69
+ var y;
70
+ if (x.preventDefault(), !p) return;
71
+ const N = document.activeElement;
72
+ N instanceof HTMLElement && N !== e.current && ((y = e.current) == null || y.focus()), S();
73
+ },
74
+ children: [
75
+ /* @__PURE__ */ C("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
76
+ m ? /* @__PURE__ */ n(
77
+ "p",
78
+ {
79
+ id: l,
80
+ className: "type-meta ds:m-0 ds:text-[color:var(--muted-foreground)]",
81
+ children: m
82
+ }
83
+ ) : null,
84
+ /* @__PURE__ */ n(P, { className: "type-title-card ds:m-0 ds:text-foreground", children: d }),
85
+ k ? /* @__PURE__ */ n(
86
+ "p",
87
+ {
88
+ id: b,
89
+ className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]",
90
+ children: k
91
+ }
92
+ ) : null
93
+ ] }),
94
+ c ? /* @__PURE__ */ n(z, { variant: "error", id: o, children: /* @__PURE__ */ n(z.Description, { children: c }) }) : null,
95
+ f,
96
+ /* @__PURE__ */ C("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-sm)]", children: [
97
+ /* @__PURE__ */ n(
98
+ D,
99
+ {
100
+ ref: e,
101
+ type: "submit",
102
+ intent: "primary",
103
+ className: "ds:min-h-[var(--min-target-size)]",
104
+ "data-action": h,
105
+ disabled: !p,
106
+ loading: u,
107
+ children: u ? g("patientAccountSettings.panel.saving") : a
108
+ }
109
+ ),
110
+ /* @__PURE__ */ n(
111
+ D,
112
+ {
113
+ type: "button",
114
+ intent: "ghost",
115
+ className: "ds:min-h-[var(--min-target-size)]",
116
+ "data-action": "cancel-change",
117
+ disabled: i,
118
+ onClick: A,
119
+ children: g("patientAccountSettings.panel.cancel")
120
+ }
121
+ )
122
+ ] })
123
+ ]
124
+ }
125
+ );
126
+ }
127
+ function gt({
128
+ row: t,
129
+ headingLevel: s,
130
+ saving: d,
131
+ focusOnOpen: r,
132
+ error: m,
133
+ onSubmitChange: l,
134
+ onCancel: k
135
+ }) {
136
+ const { t: b } = T("ui"), [c, o] = M(""), i = I(null), p = G(m);
137
+ return V(() => {
138
+ var a;
139
+ r && ((a = i.current) == null || a.focus());
140
+ }, []), _(q(m), d, () => {
141
+ var a;
142
+ return (a = i.current) == null ? void 0 : a.focus();
143
+ }), /* @__PURE__ */ n(
144
+ J,
145
+ {
146
+ rowId: t.id,
147
+ kind: "email",
148
+ title: b("patientAccountSettings.email.title"),
149
+ headingLevel: s,
150
+ description: b("patientAccountSettings.email.body"),
151
+ saving: d,
152
+ canSubmit: c.trim().length > 0,
153
+ submitLabel: b("patientAccountSettings.panel.save"),
154
+ submitAction: "save-change",
155
+ onSubmit: () => l({ rowId: t.id, kind: "email", email: c }),
156
+ onCancel: k,
157
+ children: /* @__PURE__ */ n(
158
+ Z,
159
+ {
160
+ label: b("patientAccountSettings.email.label"),
161
+ error: m && !d ? p : void 0,
162
+ children: /* @__PURE__ */ n(
163
+ pt,
164
+ {
165
+ ref: i,
166
+ value: c,
167
+ onChange: (a) => o(a.target.value),
168
+ autoComplete: "email",
169
+ disableBuiltInValidation: !0,
170
+ errorMessage: null,
171
+ disabled: d,
172
+ "data-field": "email"
173
+ }
174
+ )
175
+ }
176
+ )
177
+ }
178
+ );
179
+ }
180
+ function bt({
181
+ row: t,
182
+ headingLevel: s,
183
+ pinLength: d,
184
+ saving: r,
185
+ focusOnOpen: m,
186
+ error: l,
187
+ onSubmitChange: k,
188
+ onCancel: b
189
+ }) {
190
+ const { t: c } = T("ui"), [o, i] = M(""), [p, a] = M(""), h = I(null), S = I(null), A = $(), f = $(), g = G(l), P = l !== null && l.code !== "invalid-value", e = P && !r;
191
+ return V(() => {
192
+ var u;
193
+ m && ((u = h.current) == null || u.focus());
194
+ }, []), _(q(l), r, () => {
195
+ var u, x;
196
+ P ? (i(""), (u = h.current) == null || u.focus()) : (x = S.current) == null || x.focus();
197
+ }), /* @__PURE__ */ C(
198
+ J,
199
+ {
200
+ rowId: t.id,
201
+ kind: "mobile",
202
+ title: c("patientAccountSettings.mobile.title"),
203
+ headingLevel: s,
204
+ description: c("patientAccountSettings.mobile.pinBody"),
205
+ descriptionId: f,
206
+ alert: e ? g : void 0,
207
+ alertId: A,
208
+ saving: r,
209
+ canSubmit: o.length === d && p.trim().length > 0,
210
+ submitLabel: c("patientAccountSettings.panel.save"),
211
+ submitAction: "save-change",
212
+ onSubmit: () => k({
213
+ rowId: t.id,
214
+ kind: "mobile",
215
+ currentPin: o,
216
+ mobile: p
217
+ }),
218
+ onCancel: b,
219
+ children: [
220
+ /* @__PURE__ */ n("div", { className: "ds:flex ds:justify-center", children: /* @__PURE__ */ n(
221
+ tt,
222
+ {
223
+ ref: h,
224
+ length: d,
225
+ label: c("patientAccountSettings.pin.currentLabel"),
226
+ value: o,
227
+ onChange: i,
228
+ error: e && o.length === 0,
229
+ disabled: r,
230
+ autoComplete: "current-password",
231
+ "aria-describedby": nt(
232
+ f,
233
+ e ? A : void 0
234
+ )
235
+ }
236
+ ) }),
237
+ /* @__PURE__ */ n(
238
+ Z,
239
+ {
240
+ label: c("patientAccountSettings.mobile.newLabel"),
241
+ error: (l == null ? void 0 : l.code) === "invalid-value" && !r ? g : void 0,
242
+ children: /* @__PURE__ */ n(
243
+ mt,
244
+ {
245
+ ref: S,
246
+ onChange: (u) => a(u),
247
+ disabled: r
248
+ }
249
+ )
250
+ }
251
+ )
252
+ ]
253
+ }
254
+ );
255
+ }
256
+ const U = ["current", "new", "confirm"];
257
+ function Y(t) {
258
+ return t ? t.code === "wrong-current-pin" ? "current" : "new" : "current";
259
+ }
260
+ function ht({
261
+ row: t,
262
+ headingLevel: s,
263
+ pinLength: d,
264
+ saving: r,
265
+ focusOnOpen: m,
266
+ error: l,
267
+ onSubmitChange: k,
268
+ onCancel: b
269
+ }) {
270
+ const { t: c, i18n: o } = T("ui"), [i, p] = M(() => Y(l)), [a, h] = M(""), [S, A] = M(""), [f, g] = M(""), P = I(null), e = $(), u = $(), x = G(l), N = l !== null && !r && i === Y(l), y = I(!0);
271
+ V(() => {
272
+ var L;
273
+ const F = y.current;
274
+ y.current = !1, !(F && !m) && ((L = P.current) == null || L.focus());
275
+ }, [i]), _(q(l), r, () => {
276
+ A(""), g(""), (l == null ? void 0 : l.code) === "wrong-current-pin" ? (h(""), p("current")) : p("new");
277
+ });
278
+ const E = U.indexOf(i), B = i === "confirm", O = i === "current" ? a : i === "new" ? S : f, w = i === "current" ? h : i === "new" ? A : g, H = c(i === "current" ? "patientAccountSettings.pin.currentTitle" : i === "new" ? "patientAccountSettings.pin.newTitle" : "patientAccountSettings.pin.confirmTitle"), K = c(i === "current" ? "patientAccountSettings.pin.currentLabel" : i === "new" ? "patientAccountSettings.pin.newLabel" : "patientAccountSettings.pin.confirmLabel");
279
+ return /* @__PURE__ */ n(
280
+ J,
281
+ {
282
+ rowId: t.id,
283
+ kind: "pin",
284
+ title: H,
285
+ headingLevel: s,
286
+ stepId: u,
287
+ step: c("patientAccountSettings.panel.step", {
288
+ current: X(E + 1, o.language),
289
+ total: X(U.length, o.language)
290
+ }),
291
+ alert: N ? x : void 0,
292
+ alertId: e,
293
+ saving: r,
294
+ canSubmit: O.length === d,
295
+ submitLabel: c(B ? "patientAccountSettings.panel.save" : "patientAccountSettings.panel.continue"),
296
+ submitAction: B ? "save-change" : "continue-change",
297
+ onSubmit: () => {
298
+ B ? k({
299
+ rowId: t.id,
300
+ kind: "pin",
301
+ currentPin: a,
302
+ newPin: S,
303
+ confirmPin: f
304
+ }) : p(U[E + 1] ?? "confirm");
305
+ },
306
+ onCancel: b,
307
+ children: /* @__PURE__ */ n("div", { className: "ds:flex ds:justify-center", children: /* @__PURE__ */ n(
308
+ tt,
309
+ {
310
+ ref: P,
311
+ length: d,
312
+ label: K,
313
+ value: O,
314
+ onChange: w,
315
+ error: N && O.length === 0,
316
+ disabled: r,
317
+ autoComplete: i === "current" ? "current-password" : "new-password",
318
+ "aria-describedby": nt(
319
+ u,
320
+ N ? e : void 0
321
+ )
322
+ },
323
+ i
324
+ ) })
325
+ }
326
+ );
327
+ }
328
+ function St({
329
+ row: t,
330
+ editing: s,
331
+ stepUpOpen: d,
332
+ otherOpen: r,
333
+ privacy: m,
334
+ panelLevel: l,
335
+ pinLength: k,
336
+ saving: b,
337
+ error: c,
338
+ onOpen: o,
339
+ onCancel: i,
340
+ onSubmitChange: p
341
+ }) {
342
+ const { t: a } = T("ui"), h = I(null), S = I(s);
343
+ V(() => {
344
+ var x;
345
+ S.current !== s && (S.current = s, !s && !d && !r && ((x = h.current) == null || x.focus()));
346
+ }, [s, d, r]);
347
+ const A = I(!1);
348
+ s || (A.current = !1);
349
+ const f = t.label ?? (t.kind === "email" ? a("patientAccountSettings.row.email") : t.kind === "mobile" ? a("patientAccountSettings.row.mobile") : t.kind === "pin" ? a("patientAccountSettings.row.pin") : void 0);
350
+ let g;
351
+ t.kind === "pin" ? g = a("patientAccountSettings.row.pinHidden") : t.value && (g = m ? ft() : /* @__PURE__ */ n(
352
+ "bdi",
353
+ {
354
+ dir: t.kind === "mobile" || t.kind === "email" ? "ltr" : void 0,
355
+ children: t.value
356
+ }
357
+ ));
358
+ const P = t.kind !== "readonly" && !m, e = s && !m, u = {
359
+ row: t,
360
+ headingLevel: l,
361
+ pinLength: k,
362
+ saving: b,
363
+ error: c,
364
+ focusOnOpen: A.current,
365
+ onSubmitChange: p,
366
+ onCancel: i
367
+ };
368
+ return /* @__PURE__ */ C(
369
+ "li",
370
+ {
371
+ "data-component": "patient-account-settings-row",
372
+ "data-row-id": t.id,
373
+ "data-kind": t.kind,
374
+ className: "ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)] " + // An open PIN or mobile panel holds a keypad: less padding keeps it
375
+ // inside the row at 320 px, also in the accessible themes.
376
+ (e && t.kind !== "email" ? "ds:p-[var(--spacing-sm)]" : "ds:p-[var(--spacing-md)]"),
377
+ children: [
378
+ /* @__PURE__ */ C("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
379
+ /* @__PURE__ */ C("div", { className: "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
380
+ f ? /* @__PURE__ */ n("span", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: f }) : null,
381
+ g ? /* @__PURE__ */ n("span", { className: "type-body ds:break-words ds:text-foreground", children: g }) : null
382
+ ] }),
383
+ P && !e ? /* @__PURE__ */ n(
384
+ D,
385
+ {
386
+ ref: h,
387
+ type: "button",
388
+ intent: "secondary",
389
+ className: "ds:min-h-[var(--min-target-size)]",
390
+ "data-action": `change-${t.kind}`,
391
+ disabled: t.disabled,
392
+ onClick: () => {
393
+ A.current = !0, o();
394
+ },
395
+ children: t.changeLabel ?? (t.kind === "email" ? a("patientAccountSettings.change.email") : t.kind === "mobile" ? a("patientAccountSettings.change.mobile") : a("patientAccountSettings.change.pin"))
396
+ }
397
+ ) : null
398
+ ] }),
399
+ e && t.kind === "email" ? /* @__PURE__ */ n(gt, { ...u }) : null,
400
+ e && t.kind === "mobile" ? /* @__PURE__ */ n(bt, { ...u }) : null,
401
+ e && t.kind === "pin" ? /* @__PURE__ */ n(ht, { ...u }) : null,
402
+ s && m && t.kind !== "readonly" ? /* @__PURE__ */ C("div", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-sm)]", children: [
403
+ /* @__PURE__ */ n(st, { block: "change-panel" }),
404
+ /* @__PURE__ */ n(
405
+ D,
406
+ {
407
+ type: "button",
408
+ intent: "ghost",
409
+ className: "ds:min-h-[var(--min-target-size)]",
410
+ "data-action": "cancel-change",
411
+ onClick: i,
412
+ children: a("patientAccountSettings.panel.cancel")
413
+ }
414
+ )
415
+ ] }) : null
416
+ ]
417
+ }
418
+ );
419
+ }
420
+ function wt({
421
+ sections: t,
422
+ status: s = "ready",
423
+ errorText: d,
424
+ onRetry: r,
425
+ onSubmitChange: m,
426
+ editingRowId: l,
427
+ defaultEditingRowId: k = null,
428
+ onEditingRowIdChange: b,
429
+ savingRowId: c = null,
430
+ savedRowId: o = null,
431
+ savedText: i,
432
+ rowError: p = null,
433
+ stepUp: a = null,
434
+ pinLength: h,
435
+ privacy: S = !1,
436
+ title: A,
437
+ headingLevel: f = 1,
438
+ focusOnMount: g = !1,
439
+ className: P
440
+ }) {
441
+ const { t: e } = T("ui"), u = at(h), [x, N] = ct({
442
+ value: l,
443
+ defaultValue: k,
444
+ onChange: b
445
+ }), y = x ?? null, E = I(o);
446
+ V(() => {
447
+ E.current !== o && (E.current = o, o !== null && y === o && N(null));
448
+ }, [o, y, N]);
449
+ const B = t.flatMap((v) => v.rows), O = B.length === 0, w = o ? B.find((v) => v.id === o) : void 0, H = {
450
+ email: e("patientAccountSettings.saved.email"),
451
+ mobile: e("patientAccountSettings.saved.mobile"),
452
+ pin: e("patientAccountSettings.saved.pin")
453
+ }, K = {
454
+ email: e("patientAccountSettings.stepUp.subject.email"),
455
+ mobile: e("patientAccountSettings.stepUp.subject.mobile"),
456
+ pin: e("patientAccountSettings.stepUp.subject.pin")
457
+ }, F = w ? i ?? (w.kind !== "readonly" ? H[w.kind] : void 0) : void 0, L = y ? B.find((v) => v.id === y) : void 0, Q = f === 1 ? 2 : 3, et = a ? {
458
+ ...a,
459
+ // `undefined` takes the default; `null` or `false` hides it.
460
+ note: a.note === void 0 ? (L == null ? void 0 : L.kind) === "mobile" ? e("patientAccountSettings.stepUp.currentMobileNote") : void 0 : a.note
461
+ } : null;
462
+ return /* @__PURE__ */ C(
463
+ lt,
464
+ {
465
+ component: "patient-account-settings",
466
+ title: A ?? e("patientAccountSettings.title"),
467
+ description: e("patientAccountSettings.description"),
468
+ headingLevel: f,
469
+ focusOnMount: g,
470
+ privacy: S,
471
+ className: P,
472
+ status: s,
473
+ loadingLabel: e("patientAccountSettings.status.loading"),
474
+ errorLabel: d ?? e("patientAccountSettings.status.errorTitle"),
475
+ message: F,
476
+ children: [
477
+ s === "loading" ? /* @__PURE__ */ n(ot, {}) : s === "error" ? /* @__PURE__ */ n(
478
+ W,
479
+ {
480
+ kind: "error",
481
+ title: e("patientAccountSettings.status.errorTitle"),
482
+ body: d ?? e("patientAccountSettings.status.errorBody"),
483
+ headingLevel: f,
484
+ onRetry: r
485
+ }
486
+ ) : O ? /* @__PURE__ */ n(
487
+ W,
488
+ {
489
+ kind: "empty",
490
+ title: e("patientAccountSettings.status.emptyTitle"),
491
+ body: e("patientAccountSettings.status.emptyBody"),
492
+ headingLevel: f
493
+ }
494
+ ) : /* @__PURE__ */ C(it, { children: [
495
+ F ? (
496
+ // PortalScreen's live region, mounted before the text, says it.
497
+ /* @__PURE__ */ n(z, { variant: "success", announce: "off", children: /* @__PURE__ */ n(z.Description, { children: F }) })
498
+ ) : null,
499
+ t.map((v) => {
500
+ const R = /* @__PURE__ */ n("ul", { className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0", children: v.rows.map((j) => /* @__PURE__ */ n(
501
+ St,
502
+ {
503
+ row: j,
504
+ editing: y === j.id,
505
+ stepUpOpen: a !== null,
506
+ otherOpen: y !== null && y !== j.id,
507
+ privacy: S,
508
+ panelLevel: v.title ? Q + 1 : Q,
509
+ pinLength: u,
510
+ saving: c === j.id,
511
+ error: (p == null ? void 0 : p.rowId) === j.id ? p : null,
512
+ onOpen: () => N(j.id),
513
+ onCancel: () => N(null),
514
+ onSubmitChange: m
515
+ },
516
+ j.id
517
+ )) });
518
+ return v.title ? /* @__PURE__ */ n(
519
+ dt,
520
+ {
521
+ title: v.title,
522
+ headingLevel: f,
523
+ sectionId: v.id,
524
+ children: R
525
+ },
526
+ v.id
527
+ ) : /* @__PURE__ */ n("div", { "data-section-id": v.id, children: R }, v.id);
528
+ }),
529
+ /* @__PURE__ */ n(rt, { children: e("patientSignIn.email.passkeyNote") })
530
+ ] }),
531
+ /* @__PURE__ */ n(
532
+ ut,
533
+ {
534
+ config: et,
535
+ privacy: S,
536
+ defaultSubject: L && L.kind !== "readonly" ? K[L.kind] : void 0
537
+ }
538
+ )
539
+ ]
540
+ }
541
+ );
542
+ }
543
+ export {
544
+ wt as P
545
+ };
546
+ //# sourceMappingURL=patient-account-settings-BkAtIxJW.js.map
@@ -0,0 +1,125 @@
1
+ import { jsx as s, jsxs as u } from "react/jsx-runtime";
2
+ import { useRef as f, useEffect as x, forwardRef as y } from "react";
3
+ import { C as p } from "./card-n6W6LW-N.js";
4
+ import { F as C } from "./finished-terminal-unDnXT4j.js";
5
+ function w({
6
+ component: e,
7
+ title: t,
8
+ description: d,
9
+ eyebrow: n,
10
+ headerAction: r,
11
+ children: a,
12
+ footer: l,
13
+ headingLevel: o = 1,
14
+ focusOnMount: m = !1,
15
+ focusKey: c,
16
+ privacy: b = !1,
17
+ className: h
18
+ }) {
19
+ const v = f(null);
20
+ x(() => {
21
+ var i;
22
+ m && ((i = v.current) == null || i.focus({ preventScroll: !0 }));
23
+ }, []);
24
+ const g = f(c);
25
+ x(() => {
26
+ var i;
27
+ g.current !== c && (g.current = c, (i = v.current) == null || i.focus({ preventScroll: !0 }));
28
+ }, [c]);
29
+ const N = o === 1 ? "h1" : "h2";
30
+ return /* @__PURE__ */ s(
31
+ "div",
32
+ {
33
+ "data-component": e,
34
+ "data-privacy": b ? "masked" : void 0,
35
+ className: h,
36
+ children: /* @__PURE__ */ u(p, { variant: "elevated", className: "ds:w-full", children: [
37
+ /* @__PURE__ */ s(p.Body, { children: /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
38
+ r ? /* @__PURE__ */ s("div", { className: "ds:flex ds:justify-end", children: r }) : null,
39
+ /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
40
+ n ? /* @__PURE__ */ s("p", { className: "type-meta ds:m-0 ds:text-[color:var(--muted-foreground)]", children: n }) : null,
41
+ /* @__PURE__ */ s(
42
+ N,
43
+ {
44
+ ref: v,
45
+ tabIndex: -1,
46
+ className: o === 1 ? "type-title-page ds:m-0 ds:text-foreground ds:outline-none" : "type-title-card ds:m-0 ds:text-foreground ds:outline-none",
47
+ children: t
48
+ }
49
+ ),
50
+ d ? /* @__PURE__ */ s("div", { className: "type-body-sm ds:m-0 ds:text-[color:var(--muted-foreground)]", children: d }) : null
51
+ ] }),
52
+ a
53
+ ] }) }),
54
+ l ? /* @__PURE__ */ s(p.Footer, { children: l }) : null
55
+ ] })
56
+ }
57
+ );
58
+ }
59
+ function E({
60
+ component: e,
61
+ icon: t,
62
+ title: d,
63
+ body: n,
64
+ action: r,
65
+ below: a,
66
+ focusOnMount: l = !1,
67
+ privacy: o = !1,
68
+ className: m
69
+ }) {
70
+ return /* @__PURE__ */ u(
71
+ "div",
72
+ {
73
+ "data-component": e,
74
+ "data-privacy": o ? "masked" : void 0,
75
+ className: ["ds:flex ds:flex-1 ds:flex-col", m].filter(Boolean).join(" "),
76
+ children: [
77
+ /* @__PURE__ */ s(
78
+ C,
79
+ {
80
+ icon: t,
81
+ title: d,
82
+ body: n,
83
+ action: r,
84
+ autoCloseSeconds: r ? void 0 : 0,
85
+ focusOnMount: l
86
+ }
87
+ ),
88
+ a ? /* @__PURE__ */ s("div", { className: "ds:mx-auto ds:w-full ds:max-w-[28rem] ds:ps-[var(--spacing-lg)] ds:pe-[var(--spacing-lg)] ds:pb-[var(--spacing-lg)]", children: a }) : null
89
+ ]
90
+ }
91
+ );
92
+ }
93
+ const T = 'type-body-sm ds:relative ds:inline-flex ds:cursor-pointer ds:items-center ds:rounded-[var(--radius-sm)] ds:border-0 ds:bg-transparent ds:p-0 ds:text-[var(--foreground)] ds:underline ds:underline-offset-4 ds:before:absolute ds:before:inset-x-0 ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:focus-visible:outline-solid ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]', P = y(({ action: e, onClick: t, children: d }, n) => /* @__PURE__ */ s(
94
+ "button",
95
+ {
96
+ ref: n,
97
+ type: "button",
98
+ "data-action": e,
99
+ className: T,
100
+ onClick: t,
101
+ children: d
102
+ }
103
+ ));
104
+ P.displayName = "PatientTextAction";
105
+ function F({ children: e }) {
106
+ return /* @__PURE__ */ s("p", { className: "type-meta ds:m-0 ds:text-[color:var(--muted-foreground)]", children: e });
107
+ }
108
+ function B(e, t, d) {
109
+ const n = f({ error: e, submitting: t }), r = f(d);
110
+ x(() => {
111
+ r.current = d;
112
+ const a = n.current;
113
+ if (n.current = { error: e, submitting: t }, !e) return;
114
+ const l = e !== a.error, o = a.submitting && !t;
115
+ (l || o) && r.current();
116
+ }, [e, t, d]);
117
+ }
118
+ export {
119
+ w as P,
120
+ P as a,
121
+ E as b,
122
+ F as c,
123
+ B as u
124
+ };
125
+ //# sourceMappingURL=patient-card-DTh3QTyS.js.map