@alfadocs/ui-kit 1.96.0 → 1.97.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 (188) hide show
  1. package/dist/_chunks/{address-autocomplete-DR4Xn23Z.js → address-autocomplete-DC-H-MZw.js} +2 -2
  2. package/dist/_chunks/{address-fields-qxQkGwPf.js → address-fields-D5Ije0S2.js} +7 -7
  3. package/dist/_chunks/{agenda-card-BhY342MA.js → agenda-card-bRQ4j6U6.js} +2 -2
  4. package/dist/_chunks/{agenda-tray-BmxBGEci.js → agenda-tray-CzE3E8GU.js} +2 -2
  5. package/dist/_chunks/{alia-sidebar-ovRX_oti.js → alia-sidebar-B5mu44g2.js} +3 -3
  6. package/dist/_chunks/{anamnesis-summary-rows-CdRUXoaA.js → anamnesis-summary-rows-B9HqOGd7.js} +4 -4
  7. package/dist/_chunks/{appointment-card-Csx4544A.js → appointment-card-zPr0brha.js} +3 -3
  8. package/dist/_chunks/{appointment-peek-CcDCWb-F.js → appointment-peek-xFTBany4.js} +3 -3
  9. package/dist/_chunks/{appointment-timeline-DW6FN6u8.js → appointment-timeline-AKkVx9AN.js} +2 -2
  10. package/dist/_chunks/{appointment-tray-CZfXwHWz.js → appointment-tray-B8qQBW65.js} +2 -2
  11. package/dist/_chunks/{aspect-ratio-DeSNzASA.js → aspect-ratio-B-6cyOpm.js} +13 -13
  12. package/dist/_chunks/{autocomplete-BXMcNoa3.js → autocomplete-D10ydpgi.js} +2 -2
  13. package/dist/_chunks/{avatar-a6042Ox2.js → avatar-BoqdWsNe.js} +2 -2
  14. package/dist/_chunks/{balance-badge-cell-DcBmtijD.js → balance-badge-cell-DaZokVZY.js} +3 -3
  15. package/dist/_chunks/{breadcrumb-Bn29NCnf.js → breadcrumb-zxa_PNhF.js} +2 -2
  16. package/dist/_chunks/{calendar-CmiMS4FJ.js → calendar-DVe5eArk.js} +2 -2
  17. package/dist/_chunks/{calendar-appointment-editor-dialog-BOZ5wk96.js → calendar-appointment-editor-dialog-26LEMx0q.js} +12 -12
  18. package/dist/_chunks/{chat-message-LRO_6Ee3.js → chat-message-CkBCAcwn.js} +2 -2
  19. package/dist/_chunks/{city-input-CA59CjnV.js → city-input-DXipzTfZ.js} +3 -3
  20. package/dist/_chunks/{clinical-note-card-CWHFnCmY.js → clinical-note-card--juv_ELr.js} +2 -2
  21. package/dist/_chunks/{combobox-D-gpgEDy.js → combobox-duuDRI1t.js} +2 -2
  22. package/dist/_chunks/{command-palette-B3dVqm9D.js → command-palette-DxQBU4wH.js} +3 -3
  23. package/dist/_chunks/{contact-profile-card-jBf9U4At.js → contact-profile-card-QPUgGu-t.js} +57 -57
  24. package/dist/_chunks/{copy-field-hgVSc51W.js → copy-field-BaYEDJ9f.js} +24 -24
  25. package/dist/_chunks/{country-select-BfmX9y5i.js → country-select-CUuGOAoZ.js} +2 -2
  26. package/dist/_chunks/{data-table-xUDjZS_O.js → data-table-C4UT4L9B.js} +3 -3
  27. package/dist/_chunks/{data-table-tabs-CcgU2lr5.js → data-table-tabs-Db7zToFD.js} +2 -2
  28. package/dist/_chunks/{dependent-selector-CyNi7M_f.js → dependent-selector-DRN0P0Kr.js} +2 -2
  29. package/dist/_chunks/{document-preview-DWIQryMW.js → document-preview-U8H6tnDJ.js} +2 -2
  30. package/dist/_chunks/{document-scanner-BQP0Rqrt.js → document-scanner-Bf3VUp00.js} +24 -24
  31. package/dist/_chunks/{editable-currency-cell-renderer-BEaj2NT_.js → editable-currency-cell-renderer-BUdFMh67.js} +2 -2
  32. package/dist/_chunks/{email-input-C7THAwh2.js → email-input-BEO3vonE.js} +2 -2
  33. package/dist/_chunks/{entity-summary-BJdfIsk_.js → entity-summary-B4p8zP1J.js} +2 -2
  34. package/dist/_chunks/{face-scheme-BmygzbZr.js → face-scheme-DdVLQ5dP.js} +3 -3
  35. package/dist/_chunks/{file-manager-Ba_TcfCj.js → file-manager-B4K2j7jB.js} +4 -4
  36. package/dist/_chunks/{fiscal-code-input-BzWmNDnl.js → fiscal-code-input-BBvU7sAo.js} +2 -2
  37. package/dist/_chunks/{forgot-password-form-BCk4rGIh.js → forgot-password-form-CeTb5p-x.js} +2 -2
  38. package/dist/_chunks/{header-settings-C2D74i4g.js → header-settings-Df9q1uHt.js} +2 -2
  39. package/dist/_chunks/{heatmap-C9tEvqEm.js → heatmap-B2Z1_kDn.js} +2 -2
  40. package/dist/_chunks/{help-me-write-templates-BJSf24xS.js → help-me-write-templates-ra5a__Yy.js} +2 -2
  41. package/dist/_chunks/{iban-input-B9L2QDHh.js → iban-input-DuTwKok5.js} +2 -2
  42. package/dist/_chunks/{icon-picker-DQMG9L6M.js → icon-picker-BmU6gpZT.js} +2 -2
  43. package/dist/_chunks/{input-surface-iBmxVBfr.js → input-surface-BMffm2Vd.js} +4 -4
  44. package/dist/_chunks/{link-cell-renderer-OmvrkUeN.js → link-cell-renderer-DKMgD-2v.js} +4 -4
  45. package/dist/_chunks/{locale-picker-B1NAHW4U.js → locale-picker-C86h8Yt1.js} +2 -2
  46. package/dist/_chunks/{login-dev-card-DcfcFJrm.js → login-dev-card-D5BV5j1i.js} +4 -4
  47. package/dist/_chunks/{map-view--c9bJDRw.js → map-view-V7etHnyF.js} +2 -2
  48. package/dist/_chunks/{marketplace-app-shell-DDZI-uBl.js → marketplace-app-shell-D2qgIuXX.js} +4 -4
  49. package/dist/_chunks/{message-card-B6SduXJv.js → message-card-BzJEITml.js} +2 -2
  50. package/dist/_chunks/{message-tray-18_TrLCy.js → message-tray-DiPgJbOb.js} +2 -2
  51. package/dist/_chunks/{multi-select-i5MFRpXg.js → multi-select-Df3R8lv_.js} +30 -30
  52. package/dist/_chunks/{navigation-menu-DbaSlvdO.js → navigation-menu-1MrpIVkY.js} +3 -3
  53. package/dist/_chunks/{notes-panel-DfjF83IK.js → notes-panel-BbNLYcdv.js} +3 -3
  54. package/dist/_chunks/{operator-hero-N_ziNGFF.js → operator-hero-BcuPTzS_.js} +2 -2
  55. package/dist/_chunks/{pagination-DvKGrsXu.js → pagination-C7N_NiRN.js} +2 -2
  56. package/dist/_chunks/{password-input-BokZ_rnT.js → password-input-SJGHFdOO.js} +2 -2
  57. package/dist/_chunks/{patient-details-DGHkAErB.js → patient-details-DoIOWP6j.js} +3 -3
  58. package/dist/_chunks/{patient-field-row-BVK4y98C.js → patient-field-row--dCDO5oB.js} +9 -9
  59. package/dist/_chunks/{patient-search-CL6dtBIq.js → patient-search-DJy0IZSx.js} +2 -2
  60. package/dist/_chunks/{patient-summary-card-DXz07c2X.js → patient-summary-card-CL04aq8h.js} +3 -3
  61. package/dist/_chunks/{payment-automation-upsell-CZk6f8aK.js → payment-automation-upsell-BPF0c-5D.js} +2 -2
  62. package/dist/_chunks/{pdf-viewer-gAsNUsA8.js → pdf-viewer-DlceXkfW.js} +267 -286
  63. package/dist/_chunks/{phone-input-DJ4BN8tG.js → phone-input-BL8Sj6OG.js} +3 -3
  64. package/dist/_chunks/{postal-code-input-CfZOnIkW.js → postal-code-input-dJdSAVkP.js} +2 -2
  65. package/dist/_chunks/{practice-profile-hero-DKmnB-M0.js → practice-profile-hero-B8vykoci.js} +2 -2
  66. package/dist/_chunks/{practice-results-ZOVlrb43.js → practice-results-U-5kpnJa.js} +3 -3
  67. package/dist/_chunks/{province-select-D64whw0m.js → province-select-cVOlwEc5.js} +2 -2
  68. package/dist/_chunks/{public-footer-BiPiU_lk.js → public-footer-t6gx6sjn.js} +163 -152
  69. package/dist/_chunks/{registration-form-K4j2tdLt.js → registration-form-JzzTomhd.js} +5 -5
  70. package/dist/_chunks/{reserved.agent-TRbKB39d.js → reserved.agent-CB-92Vi9.js} +8 -8
  71. package/dist/_chunks/{reset-password-form-C6XLV7SI.js → reset-password-form-DDdGEoIL.js} +3 -3
  72. package/dist/_chunks/{rich-text-editor-CJfT08It.js → rich-text-editor-F04przIt.js} +2 -2
  73. package/dist/_chunks/{search-bar-mA4bPe3t.js → search-bar-CQ9_V3EJ.js} +2 -2
  74. package/dist/_chunks/{search-input-BAlDd05M.js → search-input-CRAMo1CA.js} +2 -2
  75. package/dist/_chunks/{send-registration-link-form-yLSfcaPk.js → send-registration-link-form-DHCQpA4C.js} +3 -3
  76. package/dist/_chunks/{sidebar-BS24EnYd.js → sidebar-2VsPlNkZ.js} +3 -3
  77. package/dist/_chunks/{sign-document-BiOTs1P4.js → sign-document-B5qZhthO.js} +10 -10
  78. package/dist/_chunks/{signature-capture-Chqh62Pc.js → signature-capture-BJc7kfqi.js} +2 -2
  79. package/dist/_chunks/{signature-field-Y01UB5DA.js → signature-field-DjabvRZm.js} +28 -34
  80. package/dist/_chunks/{signature-request-CLtMgQKi.js → signature-request-CQ0torGq.js} +2 -2
  81. package/dist/_chunks/{signed-out-frame-CRwVTCjY.js → signed-out-frame-BcQE00H1.js} +2 -2
  82. package/dist/_chunks/{stat-Dno2ZihS.js → stat-BFKZV50y.js} +137 -117
  83. package/dist/_chunks/{state-backed-text-input-Cgh4ms3p.js → state-backed-text-input-DVETOhSS.js} +2 -2
  84. package/dist/_chunks/{stepper-accordion-DDTSOUHc.js → stepper-accordion-CYjrmRte.js} +44 -44
  85. package/dist/_chunks/{task-editor-qXfMbHsy.js → task-editor-BiPGFXtB.js} +3 -3
  86. package/dist/_chunks/{text-input-CaG9ApoE.js → text-input-B6iAgCr3.js} +2 -2
  87. package/dist/_chunks/{timeline-B32dylRJ.js → timeline-tn5QQJdS.js} +2 -2
  88. package/dist/_chunks/{transcript-panel-CoHHpcFg.js → transcript-panel-A781Pkzr.js} +2 -2
  89. package/dist/_chunks/{use-appointment-details-read-UXXvBeGZ.js → use-appointment-details-read-BbIoPWO6.js} +5 -5
  90. package/dist/_chunks/{widget-picker-B9HpT2Tb.js → widget-picker-DNYIqRT1.js} +2 -2
  91. package/dist/_chunks/{workflow-map-flsvqQ3L.js → workflow-map-k-dQkpe7.js} +20 -20
  92. package/dist/_chunks/{workflow-status-HQ6ziE46.js → workflow-status-9wb7iWUd.js} +2 -2
  93. package/dist/_chunks/{workflow-webhook-action-BD-6UyOs.js → workflow-webhook-action-B_52rH7O.js} +3 -3
  94. package/dist/agent-catalog.json +1 -1
  95. package/dist/components/_shared/input-surface.d.ts +3 -3
  96. package/dist/components/address-autocomplete/index.js +1 -1
  97. package/dist/components/address-fields/index.js +1 -1
  98. package/dist/components/agenda-card/index.js +1 -1
  99. package/dist/components/agenda-tray/index.js +1 -1
  100. package/dist/components/appointment-card/index.js +2 -2
  101. package/dist/components/appointment-details-panel/index.js +1 -1
  102. package/dist/components/appointment-peek/index.js +1 -1
  103. package/dist/components/appointment-timeline/index.js +1 -1
  104. package/dist/components/aspect-ratio/index.js +1 -1
  105. package/dist/components/autocomplete/index.js +1 -1
  106. package/dist/components/avatar/index.js +1 -1
  107. package/dist/components/booking/index.js +1 -1
  108. package/dist/components/breadcrumb/index.js +1 -1
  109. package/dist/components/calendar/index.js +1 -1
  110. package/dist/components/chat-message/index.js +1 -1
  111. package/dist/components/city-input/index.js +1 -1
  112. package/dist/components/clinical-note-card/index.js +1 -1
  113. package/dist/components/combobox/index.js +1 -1
  114. package/dist/components/command-palette/index.js +1 -1
  115. package/dist/components/contact-profile-card/index.js +1 -1
  116. package/dist/components/copy-field/index.js +1 -1
  117. package/dist/components/country-select/index.js +1 -1
  118. package/dist/components/data-table/index.js +3 -3
  119. package/dist/components/data-table-tabs/index.js +1 -1
  120. package/dist/components/dependent-selector/index.js +1 -1
  121. package/dist/components/document-preview/index.js +1 -1
  122. package/dist/components/document-scanner/index.js +1 -1
  123. package/dist/components/email-input/index.js +1 -1
  124. package/dist/components/entity-summary/index.js +1 -1
  125. package/dist/components/face-scheme/index.js +1 -1
  126. package/dist/components/file-manager/index.js +1 -1
  127. package/dist/components/fiscal-code-input/index.js +1 -1
  128. package/dist/components/header-settings/index.js +1 -1
  129. package/dist/components/heatmap/index.js +1 -1
  130. package/dist/components/iban-input/index.js +1 -1
  131. package/dist/components/icon-picker/index.js +1 -1
  132. package/dist/components/locale-picker/index.js +1 -1
  133. package/dist/components/map-view/index.js +1 -1
  134. package/dist/components/message-card/index.js +1 -1
  135. package/dist/components/message-tray/index.js +1 -1
  136. package/dist/components/multi-select/index.js +1 -1
  137. package/dist/components/navigation-menu/index.js +1 -1
  138. package/dist/components/notes-panel/index.js +1 -1
  139. package/dist/components/operator-hero/index.js +1 -1
  140. package/dist/components/pagination/index.js +1 -1
  141. package/dist/components/password-input/index.js +1 -1
  142. package/dist/components/patient-details/index.js +1 -1
  143. package/dist/components/patient-search/index.js +1 -1
  144. package/dist/components/patient-summary-card/index.js +1 -1
  145. package/dist/components/patient-table/index.js +1 -1
  146. package/dist/components/pdf-viewer/index.js +1 -1
  147. package/dist/components/phone-input/index.js +1 -1
  148. package/dist/components/postal-code-input/index.js +1 -1
  149. package/dist/components/practice-profile-hero/index.js +1 -1
  150. package/dist/components/practice-results/index.js +1 -1
  151. package/dist/components/province-select/index.js +1 -1
  152. package/dist/components/public-footer/index.js +1 -1
  153. package/dist/components/rich-text-editor/index.js +1 -1
  154. package/dist/components/search-bar/index.js +1 -1
  155. package/dist/components/search-input/index.js +1 -1
  156. package/dist/components/sidebar/index.js +1 -1
  157. package/dist/components/sign-document/index.js +1 -1
  158. package/dist/components/signature-capture/index.js +1 -1
  159. package/dist/components/signature-field/index.js +1 -1
  160. package/dist/components/stat/index.js +1 -1
  161. package/dist/components/stat/stat.d.ts +8 -0
  162. package/dist/components/stepper-accordion/index.js +1 -1
  163. package/dist/components/task-editor/index.js +1 -1
  164. package/dist/components/text-input/index.js +1 -1
  165. package/dist/components/timeline/index.js +1 -1
  166. package/dist/components/transcript-panel/index.js +1 -1
  167. package/dist/components/widget-picker/index.js +1 -1
  168. package/dist/components/workflow/index.js +1 -1
  169. package/dist/components/workflow-status/index.js +1 -1
  170. package/dist/core.css +1 -1
  171. package/dist/host-compat.css +13 -1
  172. package/dist/index.js +88 -88
  173. package/dist/patterns/alia-assistant/index.js +1 -1
  174. package/dist/patterns/anamnesis/index.js +1 -1
  175. package/dist/patterns/calendar/index.js +1 -1
  176. package/dist/patterns/forgot-password-form/index.js +1 -1
  177. package/dist/patterns/help-me-write-templates/index.js +1 -1
  178. package/dist/patterns/login-form/index.js +1 -1
  179. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  180. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  181. package/dist/patterns/registration-form/index.js +1 -1
  182. package/dist/patterns/reset-password-form/index.js +1 -1
  183. package/dist/patterns/send-registration-link-form/index.js +1 -1
  184. package/dist/patterns/signature-request/index.js +1 -1
  185. package/dist/patterns/signed-out-frame/index.js +1 -1
  186. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  187. package/dist/tokens.css +1 -1
  188. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
- import { jsxs as u, jsx as e, Fragment as z } from "react/jsx-runtime";
1
+ import { jsxs as u, jsx as e, Fragment as T } from "react/jsx-runtime";
2
2
  import { forwardRef as le, useId as ce, useMemo as se } from "react";
3
3
  import { c as de } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as pe } from "react-i18next";
5
5
  import { B as P } from "./badge-BUk4RjTS.js";
6
- import { C as T } from "./card-C85_Ndhb.js";
6
+ import { C as _ } from "./card-C85_Ndhb.js";
7
7
  import { K as fe, a as ue } from "./key-value-pair-BoXOtBL1.js";
8
8
  import { L as d } from "./link-DtCfnLnF.js";
9
9
  import { b as me } from "./format-price-BcFBa-WP.js";
10
10
  import { u as he } from "./registry-DvAUVLHh.js";
11
- import { S as _ } from "./stethoscope-sZXGC43m.js";
12
- import { H as F } from "./heart--qCA4ffe.js";
11
+ import { S as F } from "./stethoscope-sZXGC43m.js";
12
+ import { H } from "./heart--qCA4ffe.js";
13
13
  import { c as ge } from "./createLucideIcon-DhHxpK9K.js";
14
- import { S as H } from "./shield-check-DCJALLVh.js";
15
- import { L as O } from "./languages-CGLX6Qpe.js";
14
+ import { S as O } from "./shield-check-DCJALLVh.js";
15
+ import { L as z } from "./languages-CGLX6Qpe.js";
16
16
  import { G as V } from "./globe-sHBW1JN5.js";
17
17
  import { M as L } from "./mail-BqXVF2zH.js";
18
18
  import { M as U } from "./message-circle-Bepl9JT5.js";
@@ -38,7 +38,7 @@ const ve = [
38
38
  type: "string",
39
39
  descriptionKey: "ui.agent.contactProfileCard.state.profession",
40
40
  description: "Profession string the card is currently rendering — undefined when the consumer omitted it.",
41
- read: (i) => i.getProfession()
41
+ read: (o) => o.getProfession()
42
42
  }
43
43
  },
44
44
  actions: {},
@@ -70,15 +70,15 @@ const ve = [
70
70
  defaultVariants: { surface: "elevated" }
71
71
  }
72
72
  );
73
- function Ce(i) {
74
- return i.replace(/[^\d+]/g, "");
73
+ function Ce(o) {
74
+ return o.replace(/[^\d+]/g, "");
75
75
  }
76
- function Pe(i, t) {
77
- const a = `https://wa.me/${i}`;
76
+ function Pe(o, t) {
77
+ const a = `https://wa.me/${o}`;
78
78
  return t ? `${a}?text=${encodeURIComponent(t)}` : a;
79
79
  }
80
- function ye(i) {
81
- const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
80
+ function ye(o) {
81
+ const t = o.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
82
82
  try {
83
83
  const { protocol: l } = new URL(a);
84
84
  return l === "http:" || l === "https:" ? a : void 0;
@@ -86,16 +86,16 @@ function ye(i) {
86
86
  return;
87
87
  }
88
88
  }
89
- function ke(i) {
90
- return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
89
+ function ke(o) {
90
+ return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(o.line)}`;
91
91
  }
92
92
  function we() {
93
93
  if (typeof document > "u") return "4945a3";
94
- const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
94
+ const o = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(o);
95
95
  return t ? t[1] : "4945a3";
96
96
  }
97
- function Me({ apiKey: i, center: t, zoom: a, altText: l }) {
98
- const s = we(), m = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(i)}`;
97
+ function Me({ apiKey: o, center: t, zoom: a, altText: l }) {
98
+ const s = we(), m = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(o)}`;
99
99
  return /* @__PURE__ */ e(
100
100
  "img",
101
101
  {
@@ -105,13 +105,13 @@ function Me({ apiKey: i, center: t, zoom: a, altText: l }) {
105
105
  decoding: "async",
106
106
  width: 640,
107
107
  height: 192,
108
- className: "ds:block ds:inline-size-full ds:block-size-[12rem] ds:[object-fit:cover] ds:rounded-[var(--radius-md)]"
108
+ className: "ds:block ds:w-full ds:h-[12rem] ds:[object-fit:cover] ds:rounded-[var(--radius-md)]"
109
109
  }
110
110
  );
111
111
  }
112
112
  const $e = le(
113
113
  ({
114
- heading: i,
114
+ heading: o,
115
115
  description: t,
116
116
  address: a,
117
117
  phone: l,
@@ -141,7 +141,7 @@ const $e = le(
141
141
  className: ee,
142
142
  ...ae
143
143
  }, te) => {
144
- const { t: r, i18n: M } = pe("ui"), $ = ce(), A = M.language ?? "en", N = i ?? r("contactProfileCard.heading"), re = Z ?? N, R = se(() => {
144
+ const { t: r, i18n: M } = pe("ui"), $ = ce(), A = M.language ?? "en", N = o ?? r("contactProfileCard.heading"), re = Z ?? N, R = se(() => {
145
145
  if (b != null)
146
146
  return me(
147
147
  b,
@@ -149,8 +149,8 @@ const $e = le(
149
149
  A,
150
150
  r("common.freeOfCharge")
151
151
  );
152
- }, [b, y, A, r]), o = [];
153
- if (a && o.push({
152
+ }, [b, y, A, r]), n = [];
153
+ if (a && n.push({
154
154
  key: "address",
155
155
  icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
156
156
  label: r("contactProfileCard.label.address"),
@@ -167,7 +167,7 @@ const $e = le(
167
167
  }
168
168
  ) : null
169
169
  ] })
170
- }), l && o.push({
170
+ }), l && n.push({
171
171
  key: "phone",
172
172
  icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
173
173
  label: r("contactProfileCard.label.phone"),
@@ -180,7 +180,7 @@ const $e = le(
180
180
  children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: l })
181
181
  }
182
182
  )
183
- }), s && o.push({
183
+ }), s && n.push({
184
184
  key: "whatsapp",
185
185
  icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
186
186
  label: r("contactProfileCard.label.whatsapp"),
@@ -194,7 +194,7 @@ const $e = le(
194
194
  children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
195
195
  }
196
196
  )
197
- }), h && o.push({
197
+ }), h && n.push({
198
198
  key: "email",
199
199
  icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
200
200
  label: r("contactProfileCard.label.email"),
@@ -208,45 +208,45 @@ const $e = le(
208
208
  }
209
209
  )
210
210
  }), p) {
211
- const n = ye(p);
212
- o.push({
211
+ const i = ye(p);
212
+ n.push({
213
213
  key: "website",
214
214
  icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
215
215
  label: r("contactProfileCard.label.website"),
216
- value: n ? /* @__PURE__ */ e(d, { href: n, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: p }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: p })
216
+ value: i ? /* @__PURE__ */ e(d, { href: i, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: p }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: p })
217
217
  });
218
218
  }
219
219
  if (g && g.length > 0) {
220
- const n = (c) => {
220
+ const i = (c) => {
221
221
  if (f != null && f[c]) return f[c];
222
222
  const I = `languages.${c}`;
223
223
  return M.exists(I) ? r(I) : c.toUpperCase();
224
224
  };
225
- o.push({
225
+ n.push({
226
226
  key: "languages",
227
- icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
227
+ icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
228
228
  label: r("contactProfileCard.label.languages"),
229
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((c) => /* @__PURE__ */ e(P, { variant: "neutral", children: n(c) }, c)) })
229
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((c) => /* @__PURE__ */ e(P, { variant: "neutral", children: i(c) }, c)) })
230
230
  });
231
231
  }
232
- v && v.length > 0 && o.push({
232
+ v && v.length > 0 && n.push({
233
233
  key: "insurances",
234
- icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
234
+ icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
235
235
  label: r("contactProfileCard.label.insurances"),
236
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((n) => /* @__PURE__ */ e(P, { variant: "info", children: n }, n)) })
237
- }), R && o.push({
236
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(P, { variant: "info", children: i }, i)) })
237
+ }), R && n.push({
238
238
  key: "firstVisitPrice",
239
239
  icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
240
240
  label: r("contactProfileCard.label.firstVisitPrice"),
241
241
  value: /* @__PURE__ */ e(P, { variant: "accentSoft", size: "lg", children: R })
242
- }), G && o.push({
242
+ }), G && n.push({
243
243
  key: "expertForAnxiousPatients",
244
- icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
244
+ icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
245
245
  label: r("contactProfileCard.label.expertForAnxiousPatients"),
246
246
  value: r("contactProfileCard.value.yesShort")
247
- }), x && o.push({
247
+ }), x && n.push({
248
248
  key: "profession",
249
- icon: /* @__PURE__ */ e(_, { "aria-hidden": "true" }),
249
+ icon: /* @__PURE__ */ e(F, { "aria-hidden": "true" }),
250
250
  label: r("contactProfileCard.label.profession"),
251
251
  value: x
252
252
  }), he(
@@ -254,7 +254,7 @@ const $e = le(
254
254
  { getProfession: () => x },
255
255
  C
256
256
  );
257
- const ie = !!k && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
257
+ const oe = !!k && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
258
258
  Me,
259
259
  {
260
260
  apiKey: k,
@@ -265,20 +265,20 @@ const $e = le(
265
265
  defaultValue: "Map showing {{address}}"
266
266
  })
267
267
  }
268
- ) : null, oe = X ?? ie, ne = /* @__PURE__ */ u(z, { children: [
268
+ ) : null, ne = X ?? oe, ie = /* @__PURE__ */ u(T, { children: [
269
269
  t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
270
- o.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: o.map((n) => /* @__PURE__ */ e(
270
+ n.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: n.map((i) => /* @__PURE__ */ e(
271
271
  ue,
272
272
  {
273
- icon: n.icon,
274
- label: n.label,
275
- value: n.value
273
+ icon: i.icon,
274
+ label: i.label,
275
+ value: i.value
276
276
  },
277
- n.key
277
+ i.key
278
278
  )) }) : null,
279
- oe,
279
+ ne,
280
280
  Q
281
- ] }), S = /* @__PURE__ */ u(z, { children: [
281
+ ] }), S = /* @__PURE__ */ u(T, { children: [
282
282
  /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
283
283
  J,
284
284
  /* @__PURE__ */ e(
@@ -290,7 +290,7 @@ const $e = le(
290
290
  }
291
291
  )
292
292
  ] }),
293
- ne
293
+ ie
294
294
  ] });
295
295
  return /* @__PURE__ */ e(
296
296
  "div",
@@ -304,7 +304,7 @@ const $e = le(
304
304
  id: C,
305
305
  className: xe({ surface: w, className: ee }),
306
306
  ...ae,
307
- children: w === "elevated" ? /* @__PURE__ */ e(T, { variant: "elevated", children: /* @__PURE__ */ e(T.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S })
307
+ children: w === "elevated" ? /* @__PURE__ */ e(_, { variant: "elevated", children: /* @__PURE__ */ e(_.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: S })
308
308
  }
309
309
  );
310
310
  }
@@ -327,11 +327,11 @@ const De = [
327
327
  whatsapp: U,
328
328
  email: L,
329
329
  website: V,
330
- languages: O,
331
- insurances: H,
330
+ languages: z,
331
+ insurances: O,
332
332
  firstVisitPrice: B,
333
- expertForAnxiousPatients: F,
334
- profession: _
333
+ expertForAnxiousPatients: H,
334
+ profession: F
335
335
  };
336
336
  export {
337
337
  Ye as C,
@@ -339,4 +339,4 @@ export {
339
339
  $e as b,
340
340
  be as c
341
341
  };
342
- //# sourceMappingURL=contact-profile-card-jBf9U4At.js.map
342
+ //# sourceMappingURL=contact-profile-card-QPUgGu-t.js.map
@@ -1,5 +1,5 @@
1
1
  import { jsxs as M, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as P, useRef as v, useState as E, useEffect as H, useCallback as z, useMemo as O } from "react";
2
+ import { forwardRef as P, useRef as g, useState as E, useEffect as H, useCallback as z, useMemo as O } from "react";
3
3
  import { c as u } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as W } from "react-i18next";
5
5
  import { B as _ } from "./button-DohK_Ak_.js";
@@ -60,15 +60,15 @@ async function U(e) {
60
60
  } catch {
61
61
  }
62
62
  if (typeof document > "u") return !1;
63
- const s = document.createElement("textarea");
64
- s.value = e, s.setAttribute("readonly", ""), s.style.position = "absolute", s.style.setProperty("inset-inline-start", "-9999px"), document.body.appendChild(s), s.select();
63
+ const t = document.createElement("textarea");
64
+ t.value = e, t.setAttribute("readonly", ""), t.style.position = "absolute", t.style.setProperty("inset-inline-start", "-9999px"), document.body.appendChild(t), t.select();
65
65
  let i = !1;
66
66
  try {
67
67
  i = document.execCommand("copy");
68
68
  } catch {
69
69
  i = !1;
70
70
  }
71
- return document.body.removeChild(s), i;
71
+ return document.body.removeChild(t), i;
72
72
  }
73
73
  const X = u(
74
74
  [
@@ -85,9 +85,9 @@ const X = u(
85
85
  {
86
86
  variants: {
87
87
  size: {
88
- sm: "ds:h-8 ds:text-[var(--font-size-sm)]",
89
- md: "ds:h-[var(--min-target-size)] ds:text-[var(--font-size-base)]",
90
- lg: "ds:h-12 ds:text-[var(--font-size-lg)]"
88
+ sm: "ds:h-8 ds:text-[length:var(--font-size-sm)]",
89
+ md: "ds:h-[var(--min-target-size)] ds:text-[length:var(--font-size-base)]",
90
+ lg: "ds:h-12 ds:text-[length:var(--font-size-lg)]"
91
91
  },
92
92
  disabled: {
93
93
  true: "ds:opacity-50 ds:cursor-not-allowed",
@@ -111,9 +111,9 @@ const X = u(
111
111
  primary: "ds:text-primary ds:font-medium"
112
112
  },
113
113
  size: {
114
- sm: "ds:text-[var(--font-size-sm)]",
115
- md: "ds:text-[var(--font-size-base)]",
116
- lg: "ds:text-[var(--font-size-lg)]"
114
+ sm: "ds:text-[length:var(--font-size-sm)]",
115
+ md: "ds:text-[length:var(--font-size-base)]",
116
+ lg: "ds:text-[length:var(--font-size-lg)]"
117
117
  },
118
118
  wrap: {
119
119
  true: "ds:[overflow-wrap:anywhere] ds:whitespace-normal",
@@ -168,7 +168,7 @@ const X = u(
168
168
  ), ee = P(
169
169
  ({
170
170
  value: e,
171
- size: s = "md",
171
+ size: t = "md",
172
172
  intent: i = "default",
173
173
  startIcon: a,
174
174
  wrap: F = !1,
@@ -176,25 +176,25 @@ const X = u(
176
176
  copiedLabel: S,
177
177
  copiedDuration: k = 2e3,
178
178
  ariaLabel: I,
179
- onCopy: g,
179
+ onCopy: v,
180
180
  disabled: r = !1,
181
181
  className: V,
182
182
  id: f,
183
183
  ...j
184
184
  }, N) => {
185
- const { t } = W("ui"), d = v(e);
185
+ const { t: s } = W("ui"), d = g(e);
186
186
  d.current = e;
187
- const c = v(g);
188
- c.current = g;
187
+ const c = g(v);
188
+ c.current = v;
189
189
  const { status: l, copy: b } = D({
190
190
  resetAfterMs: k,
191
191
  writer: U
192
- }), n = l === "copied", w = v(!1);
192
+ }), n = l === "copied", w = g(!1);
193
193
  w.current = n;
194
194
  const [A, m] = E("");
195
195
  H(() => {
196
- m(l === "copied" ? t("copyField.copySuccess") : l === "error" ? t("copyField.copyFailed") : "");
197
- }, [l, t]);
196
+ m(l === "copied" ? s("copyField.copySuccess") : l === "error" ? s("copyField.copyFailed") : "");
197
+ }, [l, s]);
198
198
  const p = z(async () => {
199
199
  var C;
200
200
  if (r) return !1;
@@ -211,18 +211,18 @@ const X = u(
211
211
  [p]
212
212
  );
213
213
  q(Q, B, f);
214
- const L = I ?? t("copyField.valueLabel"), y = T ?? t("copyField.copy"), h = S ?? t("copyField.copied"), K = n ? typeof h == "string" ? h : t("copyField.copied") : typeof y == "string" ? y : t("copyField.copy");
214
+ const L = I ?? s("copyField.valueLabel"), y = T ?? s("copyField.copy"), h = S ?? s("copyField.copied"), K = n ? typeof h == "string" ? h : s("copyField.copied") : typeof y == "string" ? y : s("copyField.copy");
215
215
  return /* @__PURE__ */ M(
216
216
  "div",
217
217
  {
218
218
  ref: N,
219
- className: X({ size: s, disabled: r, className: V }),
219
+ className: X({ size: t, disabled: r, className: V }),
220
220
  "data-component": "copy-field",
221
221
  "data-component-id": f,
222
222
  "data-copied": n ? "true" : void 0,
223
223
  ...j,
224
224
  children: [
225
- a ? /* @__PURE__ */ o("span", { "aria-hidden": "true", className: Z({ size: s }), children: a }) : null,
225
+ a ? /* @__PURE__ */ o("span", { "aria-hidden": "true", className: Z({ size: t }), children: a }) : null,
226
226
  /* @__PURE__ */ o(
227
227
  "input",
228
228
  {
@@ -234,7 +234,7 @@ const X = u(
234
234
  "aria-label": L,
235
235
  className: Y({
236
236
  intent: i,
237
- size: s,
237
+ size: t,
238
238
  wrap: F,
239
239
  hasStartIcon: !!a
240
240
  })
@@ -245,7 +245,7 @@ const X = u(
245
245
  {
246
246
  type: "button",
247
247
  intent: "ghost",
248
- size: s,
248
+ size: t,
249
249
  onClick: R,
250
250
  disabled: r,
251
251
  "aria-label": K,
@@ -265,4 +265,4 @@ export {
265
265
  ee as C,
266
266
  Q as c
267
267
  };
268
- //# sourceMappingURL=copy-field-hgVSc51W.js.map
268
+ //# sourceMappingURL=copy-field-BaYEDJ9f.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as C } from "react/jsx-runtime";
2
2
  import { forwardRef as ea, useMemo as g, useCallback as z, useRef as ra, useEffect as ia } from "react";
3
3
  import { useTranslation as ca } from "react-i18next";
4
- import { C as ta } from "./combobox-D-gpgEDy.js";
4
+ import { C as ta } from "./combobox-duuDRI1t.js";
5
5
  import { h as sa, a as oa } from "./flag-DVBE6DnB.js";
6
6
  import { n as L } from "./normalize-diacritics-BNGbFNlJ.js";
7
7
  import { u as na } from "./use-controllable-state-BiY4xTzM.js";
@@ -732,4 +732,4 @@ export {
732
732
  la as c,
733
733
  pa as r
734
734
  };
735
- //# sourceMappingURL=country-select-BfmX9y5i.js.map
735
+ //# sourceMappingURL=country-select-CUuGOAoZ.js.map
@@ -11,7 +11,7 @@ import { B as de } from "./button-DohK_Ak_.js";
11
11
  import { I as ie } from "./icon-button-S8_weU3g.js";
12
12
  import { P as he } from "./popover-CN5IsOeS.js";
13
13
  import { C as Ut } from "./checkbox-a7Sh-dXb.js";
14
- import { T as Kt } from "./text-input-CaG9ApoE.js";
14
+ import { T as Kt } from "./text-input-B6iAgCr3.js";
15
15
  import { T as We } from "./tag-DOZGz0fT.js";
16
16
  import { D as ye } from "./dropdown-menu-CqxBthww.js";
17
17
  import { X as $e } from "./x-B5YnXwCz.js";
@@ -24,7 +24,7 @@ import { F as Ue } from "./file-text-5yv6r2ls.js";
24
24
  import { D as we } from "./download-CfYKJO_j.js";
25
25
  import { F as Zt } from "./file-spreadsheet-DmwyfV4O.js";
26
26
  import Jt from "i18next";
27
- import { S as Ke } from "./state-backed-text-input-Cgh4ms3p.js";
27
+ import { S as Ke } from "./state-backed-text-input-DVETOhSS.js";
28
28
  import { S as ea } from "./select-BBDRYxJl.js";
29
29
  import { u as ta } from "./registry-DvAUVLHh.js";
30
30
  import { u as aa } from "./use-prefers-reduced-motion-BMwIQRjB.js";
@@ -1991,4 +1991,4 @@ export {
1991
1991
  Rr as h,
1992
1992
  B as i
1993
1993
  };
1994
- //# sourceMappingURL=data-table-xUDjZS_O.js.map
1994
+ //# sourceMappingURL=data-table-C4UT4L9B.js.map
@@ -5,7 +5,7 @@ import { a as ne, c as ke } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Ae } from "react-i18next";
6
6
  import { I as le } from "./icon-button-S8_weU3g.js";
7
7
  import { P as ue } from "./popover-CN5IsOeS.js";
8
- import { T as ze } from "./text-input-CaG9ApoE.js";
8
+ import { T as ze } from "./text-input-B6iAgCr3.js";
9
9
  import { u as Ke } from "./use-direction-Dp8h70PP.js";
10
10
  import { u as Me } from "./registry-DvAUVLHh.js";
11
11
  import { u as Ie } from "./use-controllable-state-BiY4xTzM.js";
@@ -725,4 +725,4 @@ export {
725
725
  $e as b,
726
726
  Le as d
727
727
  };
728
- //# sourceMappingURL=data-table-tabs-CcgU2lr5.js.map
728
+ //# sourceMappingURL=data-table-tabs-Db7zToFD.js.map
@@ -3,7 +3,7 @@ import { forwardRef as me, useId as pe, useRef as f, useEffect as E, useMemo as
3
3
  import * as O from "@radix-ui/react-radio-group";
4
4
  import { c as F } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as fe } from "react-i18next";
6
- import { A as ge } from "./avatar-a6042Ox2.js";
6
+ import { A as ge } from "./avatar-BoqdWsNe.js";
7
7
  import { B as ve } from "./badge-BUk4RjTS.js";
8
8
  import { T as be } from "./tooltip-uEBdD1-5.js";
9
9
  import { c as he } from "./compose-refs-C0k0tdqF.js";
@@ -340,4 +340,4 @@ export {
340
340
  Ie as D,
341
341
  Ne as d
342
342
  };
343
- //# sourceMappingURL=dependent-selector-CyNi7M_f.js.map
343
+ //# sourceMappingURL=dependent-selector-DRN0P0Kr.js.map
@@ -6,7 +6,7 @@ import { B as b } from "./badge-BUk4RjTS.js";
6
6
  import { C as B } from "./card-C85_Ndhb.js";
7
7
  import { E as G } from "./empty-state-DwJ5YNzz.js";
8
8
  import { P as Y } from "./panel-header-CbtlTe85.js";
9
- import { P as J } from "./pdf-viewer-gAsNUsA8.js";
9
+ import { P as J } from "./pdf-viewer-DlceXkfW.js";
10
10
  import { T as O, b as Q, c as X, a as Z } from "./tabs-DYHgRVSJ.js";
11
11
  import { u as ee } from "./registry-DvAUVLHh.js";
12
12
  import { F as ie } from "./file-image-cDgE-BTy.js";
@@ -288,4 +288,4 @@ export {
288
288
  ue as D,
289
289
  de as d
290
290
  };
291
- //# sourceMappingURL=document-preview-DWIQryMW.js.map
291
+ //# sourceMappingURL=document-preview-U8H6tnDJ.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsxs as p, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as z, useCallback as h, useMemo as Te, useImperativeHandle as We } from "react";
3
- import { c as k } from "./index-D2ZczOXr.js";
2
+ import { forwardRef as Fe, useId as Me, useRef as m, useState as W, useEffect as k, useCallback as h, useMemo as Te, useImperativeHandle as We } from "react";
3
+ import { c as z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as Ye } from "react-i18next";
5
5
  import { B as K } from "./button-DohK_Ak_.js";
6
6
  import { A as ae } from "./alert-9kEwDza3.js";
@@ -78,7 +78,7 @@ const Qe = {
78
78
  description: "Sourced from the id prop."
79
79
  }
80
80
  }
81
- }, er = k(
81
+ }, er = z(
82
82
  [
83
83
  "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
84
84
  "ds:rounded-[var(--radius-md)] ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)]",
@@ -97,9 +97,9 @@ const Qe = {
97
97
  },
98
98
  defaultVariants: { size: "md" }
99
99
  }
100
- ), ye = k(
100
+ ), ye = z(
101
101
  [
102
- "ds:relative ds:block ds:inline-size-full ds:overflow-hidden",
102
+ "ds:relative ds:block ds:w-full ds:overflow-hidden",
103
103
  "ds:rounded-[var(--radius-sm)]",
104
104
  "ds:bg-[var(--muted)]"
105
105
  ].join(" "),
@@ -116,13 +116,13 @@ const Qe = {
116
116
  },
117
117
  defaultVariants: { frame: "tessera-sanitaria" }
118
118
  }
119
- ), we = k(
119
+ ), we = z(
120
120
  [
121
121
  "ds:absolute ds:inset-0 ds:block",
122
- "ds:inline-size-full ds:block-size-full",
122
+ "ds:w-full ds:h-full",
123
123
  "ds:object-cover"
124
124
  ].join(" ")
125
- ), rr = k(
125
+ ), rr = z(
126
126
  [
127
127
  "ds:pointer-events-none ds:absolute",
128
128
  "ds:inset-[12%]",
@@ -130,18 +130,18 @@ const Qe = {
130
130
  "ds:border-2 ds:border-[color:var(--background)]",
131
131
  "ds:shadow-[0_0_0_100vmax_color-mix(in_srgb,var(--foreground)_45%,transparent)]"
132
132
  ].join(" ")
133
- ), Y = k(
133
+ ), Y = z(
134
134
  [
135
135
  "ds:pointer-events-none ds:absolute ds:size-6",
136
136
  "ds:border-[color:var(--background)]"
137
137
  ].join(" ")
138
- ), Se = k(
138
+ ), Se = z(
139
139
  [
140
140
  // Phone: actions stack full-width; sm+: a wrapping row.
141
141
  "ds:flex ds:flex-col ds:items-stretch ds:gap-[var(--spacing-sm)]",
142
142
  "ds:sm:flex-row ds:sm:flex-wrap ds:sm:items-center"
143
143
  ].join(" ")
144
- ), tr = k(
144
+ ), tr = z(
145
145
  ["type-body-sm ds:text-center", "ds:text-[var(--muted-foreground)]"].join(
146
146
  " "
147
147
  )
@@ -175,7 +175,7 @@ const ir = {
175
175
  cie: "documentScanner.hint.cie",
176
176
  "id-card": "documentScanner.hint.idCard",
177
177
  generic: "documentScanner.hint.generic"
178
- }, ze = {
178
+ }, ke = {
179
179
  "permission-denied": "documentScanner.error.permissionDenied",
180
180
  "no-camera": "documentScanner.error.noCamera",
181
181
  "not-readable": "documentScanner.error.notReadable",
@@ -193,7 +193,7 @@ const ir = {
193
193
  onError: X,
194
194
  documentType: Z = "tessera-sanitaria",
195
195
  captureMode: P = "auto",
196
- accept: ke = {
196
+ accept: ze = {
197
197
  "image/jpeg": [".jpg", ".jpeg"],
198
198
  "image/png": [".png"],
199
199
  "image/webp": [".webp"]
@@ -216,7 +216,7 @@ const ir = {
216
216
  ), [S, q] = W(
217
217
  null
218
218
  ), [Ee, de] = W(!1), [le, G] = W(!1), I = m(null), Ue = m(null), R = m(null), ue = m(!1), me = m(null), Ie = m(null), pe = m(null), fe = m(null), H = m(X), O = m(C), x = m(U);
219
- z(() => {
219
+ k(() => {
220
220
  H.current = X, O.current = C, x.current = U;
221
221
  }, [X, C, U]);
222
222
  const V = o !== void 0, A = P === "upload-only", w = h(() => {
@@ -264,7 +264,7 @@ const ir = {
264
264
  const e = I.current;
265
265
  e && e.readyState >= 2 && de(!0);
266
266
  }, []);
267
- z(() => {
267
+ k(() => {
268
268
  if (t !== "streaming") return;
269
269
  D();
270
270
  const e = window.setInterval(D, 100), r = window.setTimeout(
@@ -394,25 +394,25 @@ const ir = {
394
394
  }
395
395
  j.current = !1, ee.current = !0, N(null), q(null), G(!1), v("idle"), (r = x.current) == null || r.call(x);
396
396
  }, [V, N]);
397
- z(() => {
397
+ k(() => {
398
398
  var e, r, i;
399
399
  t === "captured" && !j.current ? (e = me.current) == null || e.focus() : t === "error" ? (r = fe.current) == null || r.focus() : t === "idle" && ee.current && (ee.current = !1, (i = pe.current) == null || i.focus());
400
- }, [t]), z(() => {
400
+ }, [t]), k(() => {
401
401
  if (t !== "streaming") return;
402
402
  const e = (r) => {
403
403
  r.key === "Escape" && (w(), v("idle"));
404
404
  };
405
405
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
406
- }, [t, w]), z(() => {
406
+ }, [t, w]), k(() => {
407
407
  const e = () => {
408
408
  document.visibilityState === "hidden" && R.current && (w(), v("idle"));
409
409
  };
410
410
  return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
411
- }, [w]), z(() => () => {
411
+ }, [w]), k(() => () => {
412
412
  ue.current = !0;
413
413
  const e = R.current;
414
414
  e && e.getTracks().forEach((r) => r.stop()), R.current = null;
415
- }, []), z(() => {
415
+ }, []), k(() => {
416
416
  V && (o != null ? v("captured") : t === "captured" && v("idle"));
417
417
  }, [o, V]);
418
418
  const te = Te(
@@ -439,13 +439,13 @@ const ir = {
439
439
  case "captured":
440
440
  return s("documentScanner.state.captured");
441
441
  case "error":
442
- return S ? s(ze[S], { maxSizeMb: ge }) : s("documentScanner.error.captureFailed");
442
+ return S ? s(ke[S], { maxSizeMb: ge }) : s("documentScanner.error.captureFailed");
443
443
  }
444
444
  })(), Ke = !A && S !== "file-invalid-type" && S !== "file-too-large" && S !== "insecure-context", ve = !g && (P === "auto" || P === "upload-only" || t === "error"), ne = /* @__PURE__ */ a(
445
445
  Xe,
446
446
  {
447
447
  variant: "button",
448
- accept: ke,
448
+ accept: ze,
449
449
  maxSize: se,
450
450
  multiple: !1,
451
451
  maxFiles: 1,
@@ -603,7 +603,7 @@ const ir = {
603
603
  ) : null,
604
604
  t === "streaming" ? /* @__PURE__ */ a("p", { id: ce, className: tr(), children: Be }) : null,
605
605
  t === "error" && S ? /* @__PURE__ */ p(ae, { variant: "error", live: "assertive", children: [
606
- /* @__PURE__ */ a(ae.Description, { children: s(ze[S], { maxSizeMb: ge }) }),
606
+ /* @__PURE__ */ a(ae.Description, { children: s(ke[S], { maxSizeMb: ge }) }),
607
607
  /* @__PURE__ */ p(ae.Action, { children: [
608
608
  Ke ? /* @__PURE__ */ a(
609
609
  K,
@@ -677,4 +677,4 @@ export {
677
677
  or as D,
678
678
  Qe as d
679
679
  };
680
- //# sourceMappingURL=document-scanner-BQP0Rqrt.js.map
680
+ //# sourceMappingURL=document-scanner-Bf3VUp00.js.map