@alfadocs/ui-kit 1.45.0 → 1.46.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 (157) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BXBy9c0f.js → actions-cell-renderer-B5m9lwgC.js} +2 -2
  2. package/dist/_chunks/ai-credits-notice-xszqOZTC.js +90 -0
  3. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +17 -0
  4. package/dist/_chunks/{ai-consent-banner-D7I2U-cz.js → ai-permission-notice-D7I2U-cz.js} +1 -1
  5. package/dist/_chunks/ai-sparkle-D23NT8Z_.js +45 -0
  6. package/dist/_chunks/{anamnesis-summary-rows-DQUqwWc1.js → anamnesis-summary-rows-DI-UX5r6.js} +2 -2
  7. package/dist/_chunks/{appointment-card-TgR_2GKS.js → appointment-card-DluZy8Iv.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-abiR0T9e.js → appointment-peek-BsfCpiJs.js} +3 -3
  9. package/dist/_chunks/{appointment-timeline-CCnyUYKz.js → appointment-timeline-Cs5f9viN.js} +3 -3
  10. package/dist/_chunks/{appointment-tray-N0yEI8UF.js → appointment-tray-CLrGGnKR.js} +2 -2
  11. package/dist/_chunks/baby-Dku-Xvg9.js +23 -0
  12. package/dist/_chunks/{balance-badge-cell-o6LldMUA.js → balance-badge-cell-YGrYdrvR.js} +3 -3
  13. package/dist/_chunks/{booking-D43ASl8y.js → booking-B7gA9gFB.js} +279 -296
  14. package/dist/_chunks/button-group-CA1tmu39.js +325 -0
  15. package/dist/_chunks/{calendar-U6N0F99w.js → calendar-OzSeTb4V.js} +2 -2
  16. package/dist/_chunks/{calendar-event-card-DKUnT9Be.js → calendar-event-card-B6N5h1dO.js} +57 -48
  17. package/dist/_chunks/{calendar-workspace-B7KvZ1_D.js → calendar-workspace-BB-BZT7W.js} +3002 -2912
  18. package/dist/_chunks/{chart-PF2krCZC.js → chart-D8ucl8hH.js} +2 -2
  19. package/dist/_chunks/{data-table-CcAx_I1w.js → data-table-DnKOmEVw.js} +2 -2
  20. package/dist/_chunks/{editable-currency-cell-renderer-Psb6XKHR.js → editable-currency-cell-renderer-OUkUv7U4.js} +2 -2
  21. package/dist/_chunks/{face-scheme-Bm6pe7R8.js → face-scheme-mIhwrQXt.js} +3 -3
  22. package/dist/_chunks/{file-manager-BfLQxF5t.js → file-manager-DOcJGIx2.js} +4 -4
  23. package/dist/_chunks/{header-settings-CTe45iDy.js → header-settings-BEfx_-TF.js} +2 -2
  24. package/dist/_chunks/{help-me-write-templates-GUeEn3Ff.js → help-me-write-templates-DHIwa4xR.js} +205 -199
  25. package/dist/_chunks/{hover-card-BMJBVqIf.js → hover-card-nUae8NPJ.js} +67 -62
  26. package/dist/_chunks/{icon-button-group-DkkdIygu.js → icon-button-group-DZKC6KGf.js} +181 -168
  27. package/dist/_chunks/kit-extensions-DuoFF1R3.js +94 -0
  28. package/dist/_chunks/{marketplace-app-shell-DdwPj03y.js → marketplace-app-shell-PB89Dkk_.js} +2 -2
  29. package/dist/_chunks/{notes-panel-Dkk9QPPX.js → notes-panel-CHbDDMx8.js} +83 -73
  30. package/dist/_chunks/{patient-details-C8ImUrVg.js → patient-details-DUj1htsH.js} +2 -2
  31. package/dist/_chunks/{patient-field-row-BRSOKvme.js → patient-field-row-CO0WR7yA.js} +2 -2
  32. package/dist/_chunks/{patient-summary-card-BhmKB2KR.js → patient-summary-card-DNzdYjxE.js} +59 -45
  33. package/dist/_chunks/rich-text-editor-BwDV2XkZ.js +4153 -0
  34. package/dist/_chunks/{tasks-panel-CpcikOeY.js → tasks-panel-DncuBPIZ.js} +2 -2
  35. package/dist/_chunks/{theme-toggle-bI0pgDDv.js → theme-toggle-BP0XRGMM.js} +2 -2
  36. package/dist/_chunks/use-ai-sparkle-Cf4yVTLB.js +76 -0
  37. package/dist/_chunks/{workflow-status-xeaJTzD3.js → workflow-status-CuJAOuKL.js} +43 -42
  38. package/dist/agent-catalog.json +32 -4
  39. package/dist/agent-i18n/en.json +1 -1
  40. package/dist/components/ai-credits-notice/ai-credits-notice.agent.d.ts +3 -0
  41. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +48 -0
  42. package/dist/components/ai-credits-notice/index.d.ts +4 -0
  43. package/dist/components/ai-credits-notice/index.js +7 -0
  44. package/dist/components/{ai-consent-banner/ai-consent-banner.agent.d.ts → ai-permission-notice/ai-permission-notice.agent.d.ts} +2 -2
  45. package/dist/components/{ai-consent-banner/ai-consent-banner.d.ts → ai-permission-notice/ai-permission-notice.d.ts} +1 -1
  46. package/dist/components/ai-permission-notice/index.d.ts +4 -0
  47. package/dist/components/{ai-consent-banner → ai-permission-notice}/index.js +1 -1
  48. package/dist/components/ai-sparkle/ai-sparkle.d.ts +3 -3
  49. package/dist/components/ai-sparkle/index.js +1 -1
  50. package/dist/components/appointment-card/index.js +2 -2
  51. package/dist/components/appointment-peek/index.js +1 -1
  52. package/dist/components/appointment-timeline/index.js +1 -1
  53. package/dist/components/booking/index.js +1 -1
  54. package/dist/components/button-group/index.js +1 -1
  55. package/dist/components/calendar/index.js +1 -1
  56. package/dist/components/calendar-event-card/index.js +1 -1
  57. package/dist/components/chart/index.js +1 -1
  58. package/dist/components/data-table/index.js +3 -3
  59. package/dist/components/face-scheme/index.js +1 -1
  60. package/dist/components/file-manager/index.js +1 -1
  61. package/dist/components/header-settings/index.js +1 -1
  62. package/dist/components/hover-card/hover-card.d.ts +4 -0
  63. package/dist/components/hover-card/index.d.ts +1 -1
  64. package/dist/components/hover-card/index.js +3 -2
  65. package/dist/components/icon-button-group/index.js +1 -1
  66. package/dist/components/index.d.ts +2 -1
  67. package/dist/components/notes-panel/index.js +1 -1
  68. package/dist/components/notes-panel/notes-panel.d.ts +10 -0
  69. package/dist/components/patient-details/index.js +1 -1
  70. package/dist/components/patient-summary-card/index.js +1 -1
  71. package/dist/components/patient-table/index.js +1 -1
  72. package/dist/components/rich-text-editor/editor-extensions.d.ts +54 -0
  73. package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -1
  74. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +4 -0
  75. package/dist/components/rich-text-editor/index.d.ts +2 -0
  76. package/dist/components/rich-text-editor/index.js +6 -4
  77. package/dist/components/rich-text-editor/kit-extensions.d.ts +4 -0
  78. package/dist/components/rich-text-editor/rich-text-editor.d.ts +18 -2
  79. package/dist/components/tasks-panel/index.js +1 -1
  80. package/dist/components/theme-toggle/index.js +1 -1
  81. package/dist/components/workflow-status/index.js +1 -1
  82. package/dist/hooks/index.d.ts +1 -1
  83. package/dist/hooks/index.js +51 -53
  84. package/dist/hooks/use-ai-sparkle.d.ts +7 -25
  85. package/dist/host-compat.css +2 -2
  86. package/dist/i18n/locales/ar.d.ts +31 -0
  87. package/dist/i18n/locales/ar.js +33 -2
  88. package/dist/i18n/locales/de.d.ts +31 -0
  89. package/dist/i18n/locales/de.js +33 -2
  90. package/dist/i18n/locales/el.d.ts +31 -0
  91. package/dist/i18n/locales/el.js +33 -2
  92. package/dist/i18n/locales/en.d.ts +31 -0
  93. package/dist/i18n/locales/en.js +33 -2
  94. package/dist/i18n/locales/es.d.ts +31 -0
  95. package/dist/i18n/locales/es.js +33 -2
  96. package/dist/i18n/locales/fr.d.ts +31 -0
  97. package/dist/i18n/locales/fr.js +33 -2
  98. package/dist/i18n/locales/hi.d.ts +31 -0
  99. package/dist/i18n/locales/hi.js +33 -2
  100. package/dist/i18n/locales/it.d.ts +31 -0
  101. package/dist/i18n/locales/it.js +33 -2
  102. package/dist/i18n/locales/ja.d.ts +31 -0
  103. package/dist/i18n/locales/ja.js +33 -2
  104. package/dist/i18n/locales/nl.d.ts +31 -0
  105. package/dist/i18n/locales/nl.js +33 -2
  106. package/dist/i18n/locales/pl.d.ts +31 -0
  107. package/dist/i18n/locales/pl.js +33 -2
  108. package/dist/i18n/locales/pt.d.ts +31 -0
  109. package/dist/i18n/locales/pt.js +33 -2
  110. package/dist/i18n/locales/ro.d.ts +31 -0
  111. package/dist/i18n/locales/ro.js +33 -2
  112. package/dist/i18n/locales/ru.d.ts +31 -0
  113. package/dist/i18n/locales/ru.js +33 -2
  114. package/dist/i18n/locales/sq.d.ts +31 -0
  115. package/dist/i18n/locales/sq.js +33 -2
  116. package/dist/i18n/locales/sv.d.ts +31 -0
  117. package/dist/i18n/locales/sv.js +33 -2
  118. package/dist/i18n/locales/tr.d.ts +31 -0
  119. package/dist/i18n/locales/tr.js +33 -2
  120. package/dist/i18n/locales/zh.d.ts +31 -0
  121. package/dist/i18n/locales/zh.js +33 -2
  122. package/dist/index.js +646 -639
  123. package/dist/locales/ar.json +33 -2
  124. package/dist/locales/de.json +33 -2
  125. package/dist/locales/el.json +33 -2
  126. package/dist/locales/en.json +33 -2
  127. package/dist/locales/es.json +33 -2
  128. package/dist/locales/fr.json +33 -2
  129. package/dist/locales/hi.json +33 -2
  130. package/dist/locales/it.json +33 -2
  131. package/dist/locales/ja.json +33 -2
  132. package/dist/locales/nl.json +33 -2
  133. package/dist/locales/pl.json +33 -2
  134. package/dist/locales/pt.json +33 -2
  135. package/dist/locales/ro.json +33 -2
  136. package/dist/locales/ru.json +33 -2
  137. package/dist/locales/sq.json +33 -2
  138. package/dist/locales/sv.json +33 -2
  139. package/dist/locales/tr.json +33 -2
  140. package/dist/locales/zh.json +33 -2
  141. package/dist/patterns/anamnesis/index.js +1 -1
  142. package/dist/patterns/calendar/calendar-workspace.d.ts +6 -4
  143. package/dist/patterns/calendar/calendar.data.d.ts +9 -0
  144. package/dist/patterns/calendar/calendar.journey.d.ts +1 -1
  145. package/dist/patterns/calendar/calendar.sheets.d.ts +16 -5
  146. package/dist/patterns/calendar/calendar.types.d.ts +3 -1
  147. package/dist/patterns/calendar/index.js +1 -1
  148. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +11 -2
  149. package/dist/patterns/help-me-write-templates/index.js +1 -1
  150. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  151. package/dist/tokens.css +1 -1
  152. package/package.json +14 -4
  153. package/dist/_chunks/ai-sparkle-DXeP_6a0.js +0 -52
  154. package/dist/_chunks/button-group-R32U7SyV.js +0 -307
  155. package/dist/_chunks/rich-text-editor-BrAvNajV.js +0 -3779
  156. package/dist/_chunks/use-ai-sparkle-CyQSRTCe.js +0 -103
  157. package/dist/components/ai-consent-banner/index.d.ts +0 -4
@@ -1,9 +1,9 @@
1
1
  import { jsxs as g, jsx as s, Fragment as te } from "react/jsx-runtime";
2
- import { forwardRef as Ot, useId as lt, useState as Z, useCallback as X, useRef as U, useEffect as Y, useMemo as M, useImperativeHandle as os } from "react";
2
+ import { forwardRef as _t, useId as lt, useState as W, useCallback as Z, useRef as J, useEffect as U, useMemo as D, useImperativeHandle as os } from "react";
3
3
  import { c as Ye } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as V, Trans as ds } from "react-i18next";
5
5
  import { u as ls } from "./registry-DvAUVLHh.js";
6
- import { A as Q } from "./alert-CiQ5Pa3Q.js";
6
+ import { A as X } from "./alert-CiQ5Pa3Q.js";
7
7
  import { B as be } from "./button-CaUe1uyd.js";
8
8
  import { C as ze } from "./checkbox-CZkipDn7.js";
9
9
  import { C as cs } from "./checkbox-group-DomUzpkF.js";
@@ -31,21 +31,22 @@ import { w as Lt, c as Ie, a as it, i as ks, s as Te, l as Ss, x as je } from ".
31
31
  import { s as xs } from "./subDays-HPvBuvq3.js";
32
32
  import { C as Is } from "./chevron-left-B8cOyH-V.js";
33
33
  import { C as Ns } from "./chevron-right-I9AeSxH2.js";
34
- import { c as J } from "./createLucideIcon-DhHxpK9K.js";
34
+ import { c as Q } from "./createLucideIcon-DhHxpK9K.js";
35
35
  import { M as ws, S as Cs } from "./sun-Bj9Mr553.js";
36
- import { S as Ms } from "./stethoscope-sZXGC43m.js";
37
- import { H as Ds } from "./heart-pulse-BCppJyN2.js";
36
+ import { S as Ds } from "./stethoscope-sZXGC43m.js";
37
+ import { H as Ms } from "./heart-pulse-BCppJyN2.js";
38
38
  import { E as As } from "./eye-BjhN2nYf.js";
39
- import { S as Ts } from "./scan-line-CNseIHQ0.js";
39
+ import { B as Ts } from "./baby-Dku-Xvg9.js";
40
+ import { S as Os } from "./scan-line-CNseIHQ0.js";
40
41
  import { A as _s } from "./astroid-BN4f5VXU.js";
41
- import { C as Os } from "./clipboard-check-BeAGxDVT.js";
42
+ import { C as Bs } from "./clipboard-check-BeAGxDVT.js";
42
43
  /**
43
44
  * @license lucide-react v1.22.0 - ISC
44
45
  *
45
46
  * This source code is licensed under the ISC license.
46
47
  * See the LICENSE file in the root directory of this source tree.
47
48
  */
48
- const Bs = [
49
+ const Ps = [
49
50
  [
50
51
  "path",
51
52
  {
@@ -53,32 +54,14 @@ const Bs = [
53
54
  key: "169zse"
54
55
  }
55
56
  ]
56
- ], Ps = J("activity", Bs);
57
+ ], Ls = Q("activity", Ps);
57
58
  /**
58
59
  * @license lucide-react v1.22.0 - ISC
59
60
  *
60
61
  * This source code is licensed under the ISC license.
61
62
  * See the LICENSE file in the root directory of this source tree.
62
63
  */
63
- const Ls = [
64
- ["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
65
- ["path", { d: "M15 12h.01", key: "1k8ypt" }],
66
- [
67
- "path",
68
- {
69
- d: "M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",
70
- key: "11xh7x"
71
- }
72
- ],
73
- ["path", { d: "M9 12h.01", key: "157uk2" }]
74
- ], Rs = J("baby", Ls);
75
- /**
76
- * @license lucide-react v1.22.0 - ISC
77
- *
78
- * This source code is licensed under the ISC license.
79
- * See the LICENSE file in the root directory of this source tree.
80
- */
81
- const Es = [
64
+ const Rs = [
82
65
  [
83
66
  "path",
84
67
  {
@@ -86,14 +69,14 @@ const Es = [
86
69
  key: "w610uw"
87
70
  }
88
71
  ]
89
- ], Vs = J("bone", Es);
72
+ ], Es = Q("bone", Rs);
90
73
  /**
91
74
  * @license lucide-react v1.22.0 - ISC
92
75
  *
93
76
  * This source code is licensed under the ISC license.
94
77
  * See the LICENSE file in the root directory of this source tree.
95
78
  */
96
- const Fs = [
79
+ const Vs = [
97
80
  ["path", { d: "M12 18V5", key: "adv99a" }],
98
81
  ["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
99
82
  ["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
@@ -102,14 +85,14 @@ const Fs = [
102
85
  ["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
103
86
  ["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
104
87
  ["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
105
- ], $s = J("brain", Fs);
88
+ ], Fs = Q("brain", Vs);
106
89
  /**
107
90
  * @license lucide-react v1.22.0 - ISC
108
91
  *
109
92
  * This source code is licensed under the ISC license.
110
93
  * See the LICENSE file in the root directory of this source tree.
111
94
  */
112
- const zs = [
95
+ const $s = [
113
96
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
114
97
  ["path", { d: "M16 2v4", key: "4m81vk" }],
115
98
  ["path", { d: "M3 10h18", key: "8toen8" }],
@@ -118,76 +101,76 @@ const zs = [
118
101
  ["path", { d: "M13 18H7", key: "bb0bb7" }],
119
102
  ["path", { d: "M7 14h.01", key: "1qa3f1" }],
120
103
  ["path", { d: "M17 18h.01", key: "1bdyru" }]
121
- ], Ks = J("calendar-range", zs);
104
+ ], zs = Q("calendar-range", $s);
122
105
  /**
123
106
  * @license lucide-react v1.22.0 - ISC
124
107
  *
125
108
  * This source code is licensed under the ISC license.
126
109
  * See the LICENSE file in the root directory of this source tree.
127
110
  */
128
- const js = [
111
+ const Ks = [
129
112
  ["path", { d: "M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0", key: "1dfaln" }],
130
113
  ["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
131
- ], qs = J("ear", js);
114
+ ], js = Q("ear", Ks);
132
115
  /**
133
116
  * @license lucide-react v1.22.0 - ISC
134
117
  *
135
118
  * This source code is licensed under the ISC license.
136
119
  * See the LICENSE file in the root directory of this source tree.
137
120
  */
138
- const Gs = [
121
+ const qs = [
139
122
  ["path", { d: "M6 18h8", key: "1borvv" }],
140
123
  ["path", { d: "M3 22h18", key: "8prr45" }],
141
124
  ["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
142
125
  ["path", { d: "M9 14h2", key: "197e7h" }],
143
126
  ["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
144
127
  ["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
145
- ], Hs = J("microscope", Gs);
128
+ ], Gs = Q("microscope", qs);
146
129
  /**
147
130
  * @license lucide-react v1.22.0 - ISC
148
131
  *
149
132
  * This source code is licensed under the ISC license.
150
133
  * See the LICENSE file in the root directory of this source tree.
151
134
  */
152
- const Js = [
135
+ const Hs = [
153
136
  [
154
137
  "path",
155
138
  { d: "m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z", key: "wa1lgi" }
156
139
  ],
157
140
  ["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
158
- ], Us = J("pill", Js);
141
+ ], Js = Q("pill", Hs);
159
142
  /**
160
143
  * @license lucide-react v1.22.0 - ISC
161
144
  *
162
145
  * This source code is licensed under the ISC license.
163
146
  * See the LICENSE file in the root directory of this source tree.
164
147
  */
165
- const Ys = [
148
+ const Us = [
166
149
  ["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
167
150
  ["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
168
151
  ["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
169
152
  ["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
170
153
  ["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
171
- ], Ws = J("scissors", Ys);
154
+ ], Ys = Q("scissors", Us);
172
155
  /**
173
156
  * @license lucide-react v1.22.0 - ISC
174
157
  *
175
158
  * This source code is licensed under the ISC license.
176
159
  * See the LICENSE file in the root directory of this source tree.
177
160
  */
178
- const Zs = [
161
+ const Ws = [
179
162
  ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
180
163
  ["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
181
164
  ["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
182
165
  ["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
183
- ], Xs = J("smile", Zs);
166
+ ], Zs = Q("smile", Ws);
184
167
  /**
185
168
  * @license lucide-react v1.22.0 - ISC
186
169
  *
187
170
  * This source code is licensed under the ISC license.
188
171
  * See the LICENSE file in the root directory of this source tree.
189
172
  */
190
- const Qs = [
173
+ const Xs = [
191
174
  ["path", { d: "M12 10V2", key: "16sf7g" }],
192
175
  ["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
193
176
  ["path", { d: "M2 18h2", key: "j10viu" }],
@@ -196,25 +179,25 @@ const Qs = [
196
179
  ["path", { d: "M22 22H2", key: "19qnx5" }],
197
180
  ["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
198
181
  ["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
199
- ], ea = J("sunset", Qs);
182
+ ], Qs = Q("sunset", Xs);
200
183
  /**
201
184
  * @license lucide-react v1.22.0 - ISC
202
185
  *
203
186
  * This source code is licensed under the ISC license.
204
187
  * See the LICENSE file in the root directory of this source tree.
205
188
  */
206
- const ta = [
189
+ const ea = [
207
190
  ["path", { d: "m18 2 4 4", key: "22kx64" }],
208
191
  ["path", { d: "m17 7 3-3", key: "1w1zoj" }],
209
192
  ["path", { d: "M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5", key: "1exhtz" }],
210
193
  ["path", { d: "m9 11 4 4", key: "rovt3i" }],
211
194
  ["path", { d: "m5 19-3 3", key: "59f2uf" }],
212
195
  ["path", { d: "m14 4 6 6", key: "yqp9t2" }]
213
- ], Ct = J("syringe", ta);
214
- function sa(e, t, a) {
196
+ ], Ct = Q("syringe", ea);
197
+ function ta(e, t, a) {
215
198
  return Lt(e, -1, a);
216
199
  }
217
- const aa = {
200
+ const sa = {
218
201
  id: "booking",
219
202
  // `view_change` removed (0.69): the layout `variant` is a fixed prop — the
220
203
  // handle exposes only `getVariant` (state), no action mutates it. The flow's
@@ -290,8 +273,8 @@ const aa = {
290
273
  "email",
291
274
  "whatsapp",
292
275
  "sms"
293
- ], H = "all", na = "de";
294
- function ia(e) {
276
+ ], H = "all", aa = "de";
277
+ function na(e) {
295
278
  const t = e.lockedOperatorId;
296
279
  return [...t ? e.operatorsByService ? e.specialties.filter(
297
280
  (n) => e.services.some(
@@ -308,7 +291,7 @@ function ia(e) {
308
291
  return r - d;
309
292
  });
310
293
  }
311
- function ra(e) {
294
+ function ia(e) {
312
295
  let t = e.services;
313
296
  if (e.lockedOperatorId && (t = t.filter(
314
297
  (n) => {
@@ -323,7 +306,7 @@ function ra(e) {
323
306
  }
324
307
  return t;
325
308
  }
326
- function oa(e) {
309
+ function ra(e) {
327
310
  const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties, a = pe(e.value);
328
311
  if ((!t || e.operatorsByService) && a.length > 0)
329
312
  return e.operators.filter(
@@ -344,8 +327,8 @@ function oa(e) {
344
327
  }
345
328
  return [];
346
329
  }
347
- function da(e, t) {
348
- const a = e.country === na, n = !a || e.value.insuranceType !== void 0, r = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && n, d = ne(e.value).length > 0, m = !r || d, l = pe(e.value).length > 0, u = !m || l, c = t.operators, k = !!e.allowOperatorSelection && u && l && !e.lockedOperatorId && c.length > 1, f = u && l, N = (!f || e.value.date !== void 0) && e.value.date !== void 0, D = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, I = l && c.length === 0;
330
+ function oa(e, t) {
331
+ const a = e.country === aa, n = !a || e.value.insuranceType !== void 0, r = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && n, d = ne(e.value).length > 0, m = !r || d, l = pe(e.value).length > 0, u = !m || l, c = t.operators, k = !!e.allowOperatorSelection && u && l && !e.lockedOperatorId && c.length > 1, f = u && l, N = (!f || e.value.date !== void 0) && e.value.date !== void 0, M = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, I = l && c.length === 0;
349
332
  return {
350
333
  insurance: a,
351
334
  specialty: r,
@@ -353,11 +336,11 @@ function da(e, t) {
353
336
  operator: k,
354
337
  date: f,
355
338
  slot: N,
356
- details: D,
339
+ details: M,
357
340
  onboardingIncomplete: I
358
341
  };
359
342
  }
360
- function la(e, t) {
343
+ function da(e, t) {
361
344
  const a = [];
362
345
  t.insurance && a.push(1), t.specialty && a.push(2), a.push(3), t.operator && a.push(4), a.push(5), a.push(6), a.push(7);
363
346
  const n = {
@@ -376,12 +359,12 @@ function la(e, t) {
376
359
  visibleSteps: a
377
360
  };
378
361
  }
379
- function ca(e) {
362
+ function la(e) {
380
363
  const t = {
381
- specialties: ia(e),
382
- services: ra(e),
383
- operators: oa(e)
384
- }, a = da(e, t), { currentStep: n, visibleSteps: i } = la(e, a);
364
+ specialties: na(e),
365
+ services: ia(e),
366
+ operators: ra(e)
367
+ }, a = oa(e, t), { currentStep: n, visibleSteps: i } = da(e, a);
385
368
  let r;
386
369
  if (e.value.date && e.value.slotKey) {
387
370
  const u = e.availableSlots[e.value.date];
@@ -511,7 +494,7 @@ function jt(e, t) {
511
494
  slotKey: t
512
495
  };
513
496
  }
514
- function ua(e, t) {
497
+ function ca(e, t) {
515
498
  let a = e;
516
499
  if (t.lockedOperatorId && a.operatorId !== t.lockedOperatorId && (a = { ...a, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && a.specialtyId === void 0 && a.specialtyIds === void 0 && (a = { ...a, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
517
500
  const i = ne(a), r = i.length > 0 ? t.services.filter(
@@ -525,7 +508,7 @@ function dt(e) {
525
508
  if (e.operatorId && e.operatorId !== H)
526
509
  return e.operatorId;
527
510
  }
528
- function pa(e) {
511
+ function ua(e) {
529
512
  if (!e) return !1;
530
513
  const t = e.trim();
531
514
  return /^\+?\d[\d\s\-()]{6,}$/.test(t);
@@ -534,7 +517,7 @@ function qt(e) {
534
517
  const t = e && e.length > 0 ? e : ["email"], a = new Set(t);
535
518
  return ot.filter((n) => a.has(n));
536
519
  }
537
- function ma(e, t, a) {
520
+ function pa(e, t, a) {
538
521
  const n = qt(e), i = new Set(n);
539
522
  if (a)
540
523
  return ot.filter(
@@ -542,12 +525,12 @@ function ma(e, t, a) {
542
525
  );
543
526
  const r = [];
544
527
  i.has("email") && r.push("email");
545
- const d = pa(t), p = i.has("whatsapp");
528
+ const d = ua(t), p = i.has("whatsapp");
546
529
  p && d && r.push("whatsapp"), !p && i.has("sms") && r.push("sms");
547
530
  const m = new Set(r);
548
531
  return ot.filter((l) => m.has(l));
549
532
  }
550
- const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 300, qe = { state: "idle" }, pt = Ot(
533
+ const Dt = 500, ma = /^[A-Z0-9]{16}$/, fa = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Mt = 300, qe = { state: "idle" }, pt = _t(
551
534
  ({
552
535
  value: e,
553
536
  onChange: t,
@@ -566,31 +549,31 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
566
549
  submitting: v = !1,
567
550
  summarySlot: N,
568
551
  defaultPhoneCountry: w,
569
- confirmationChannels: D,
552
+ confirmationChannels: M,
570
553
  defaultConfirmationChannels: I,
571
554
  submitError: b
572
555
  }, x) => {
573
556
  var Le, K;
574
- const { t: y } = V(), O = lt(), [S, o] = Z(qe), [A, F] = Z(qe), [P, ie] = Z({}), z = X(
575
- (h) => ie((_) => ({ ..._, [h]: !0 })),
557
+ const { t: y } = V(), _ = lt(), [S, o] = W(qe), [A, F] = W(qe), [P, ie] = W({}), z = Z(
558
+ (h) => ie((O) => ({ ...O, [h]: !0 })),
576
559
  []
577
- ), $ = U(null), re = U(
560
+ ), $ = J(null), re = J(
578
561
  null
579
562
  );
580
- Y(
563
+ U(
581
564
  () => () => {
582
565
  $.current && clearTimeout($.current), re.current && clearTimeout(re.current);
583
566
  },
584
567
  []
585
568
  );
586
- const R = X(
569
+ const R = Z(
587
570
  (h) => t({ ...e, ...h }),
588
571
  [e, t]
589
- ), me = M(
590
- () => qt(D),
591
- [D]
592
- ), se = me.length >= 2, we = U(!1);
593
- Y(() => {
572
+ ), me = D(
573
+ () => qt(M),
574
+ [M]
575
+ ), se = me.length >= 2, we = J(!1);
576
+ U(() => {
594
577
  if (!se) {
595
578
  e.confirmationChannels !== void 0 && R({ confirmationChannels: void 0 });
596
579
  return;
@@ -599,7 +582,7 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
599
582
  we.current = !0;
600
583
  return;
601
584
  }
602
- const h = ma(
585
+ const h = pa(
603
586
  me,
604
587
  e.mobilePhone,
605
588
  I
@@ -611,17 +594,17 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
611
594
  e.mobilePhone,
612
595
  I
613
596
  ]);
614
- const fe = M(
597
+ const fe = D(
615
598
  () => e.confirmationChannels ?? [],
616
599
  [e.confirmationChannels]
617
- ), _e = se && fe.length === 0;
618
- Y(() => {
600
+ ), Oe = se && fe.length === 0;
601
+ U(() => {
619
602
  const h = e.codiceFiscale;
620
603
  if (!n || !k || !h) {
621
604
  o(qe);
622
605
  return;
623
606
  }
624
- if (!fa.test(h)) {
607
+ if (!ma.test(h)) {
625
608
  o({
626
609
  state: "invalid",
627
610
  hint: y("booking.details.codiceFiscale.invalidFormat")
@@ -630,8 +613,8 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
630
613
  }
631
614
  o({ state: "pending" }), $.current && clearTimeout($.current), $.current = setTimeout(() => {
632
615
  k(h).then(
633
- (_) => o(
634
- _.valid ? { state: "valid" } : { state: "invalid", hint: _.hint }
616
+ (O) => o(
617
+ O.valid ? { state: "valid" } : { state: "invalid", hint: O.hint }
635
618
  )
636
619
  ).catch(
637
620
  () => o({
@@ -639,10 +622,10 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
639
622
  hint: y("booking.details.codiceFiscale.unavailable")
640
623
  })
641
624
  );
642
- }, Dt);
625
+ }, Mt);
643
626
  }, [n, k, e.codiceFiscale, y]);
644
627
  const oe = r && d === "public";
645
- Y(() => {
628
+ U(() => {
646
629
  const h = e.insuranceNumber;
647
630
  if (!oe || !f || !h) {
648
631
  F(qe);
@@ -650,8 +633,8 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
650
633
  }
651
634
  F({ state: "pending" }), re.current && clearTimeout(re.current), re.current = setTimeout(() => {
652
635
  f(h).then(
653
- (_) => F(
654
- _.valid ? { state: "valid" } : { state: "invalid", hint: _.hint }
636
+ (O) => F(
637
+ O.valid ? { state: "valid" } : { state: "invalid", hint: O.hint }
655
638
  )
656
639
  ).catch(
657
640
  () => F({
@@ -659,17 +642,17 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
659
642
  hint: y("booking.details.insuranceNumber.unavailable")
660
643
  })
661
644
  );
662
- }, Dt);
645
+ }, Mt);
663
646
  }, [oe, f, e.insuranceNumber, y]);
664
- const ye = M(
665
- () => !!(e.email && ga.test(e.email)),
647
+ const ye = D(
648
+ () => !!(e.email && fa.test(e.email)),
666
649
  [e.email]
667
- ), Ce = M(
650
+ ), Ce = D(
668
651
  () => !!(e.mobilePhone && e.mobilePhone.length >= 6),
669
652
  [e.mobilePhone]
670
- ), Oe = M(() => {
671
- var h, _;
672
- return !(!((h = e.firstName) != null && h.trim()) || !((_ = e.lastName) != null && _.trim()) || !ye || !Ce || n && S.state !== "valid" || i && !e.dateOfBirth || oe && A.state !== "valid");
653
+ ), _e = D(() => {
654
+ var h, O;
655
+ return !(!((h = e.firstName) != null && h.trim()) || !((O = e.lastName) != null && O.trim()) || !ye || !Ce || n && S.state !== "valid" || i && !e.dateOfBirth || oe && A.state !== "valid");
673
656
  }, [
674
657
  e.firstName,
675
658
  e.lastName,
@@ -681,7 +664,7 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
681
664
  e.dateOfBirth,
682
665
  oe,
683
666
  A.state
684
- ]), ke = c != null && c.trim() ? c : void 0, Be = ke !== void 0, ge = !Be || !!e.criticalInformationAccepted, Qe = !!(e.privacyConsent && e.termsConsent && ge), Me = !se || fe.length > 0, Pe = Oe && Qe && Me && !v, et = (h) => {
667
+ ]), ke = c != null && c.trim() ? c : void 0, Be = ke !== void 0, ge = !Be || !!e.criticalInformationAccepted, Qe = !!(e.privacyConsent && e.termsConsent && ge), De = !se || fe.length > 0, Pe = _e && Qe && De && !v, et = (h) => {
685
668
  if (h.preventDefault(), ie({
686
669
  firstName: !0,
687
670
  lastName: !0,
@@ -691,7 +674,7 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
691
674
  dateOfBirth: !0,
692
675
  insuranceNumber: !0
693
676
  }), !Pe) return;
694
- const _ = {
677
+ const O = {
695
678
  firstName: e.firstName.trim(),
696
679
  lastName: e.lastName.trim(),
697
680
  email: e.email.trim(),
@@ -711,9 +694,9 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
711
694
  // config.
712
695
  confirmationChannels: se ? fe : void 0
713
696
  };
714
- a(_);
715
- }, de = (h, _) => {
716
- const ae = _ && /^https?:\/\//i.test(_) ? _ : void 0;
697
+ a(O);
698
+ }, de = (h, O) => {
699
+ const ae = O && /^https?:\/\//i.test(O) ? O : void 0;
717
700
  return ae ? /* @__PURE__ */ s(
718
701
  ds,
719
702
  {
@@ -744,7 +727,7 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
744
727
  "form",
745
728
  {
746
729
  ref: x,
747
- id: O,
730
+ id: _,
748
731
  noValidate: !0,
749
732
  onSubmit: et,
750
733
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
@@ -885,13 +868,13 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
885
868
  {
886
869
  label: y("booking.details.note.label"),
887
870
  description: y("booking.details.note.helper", {
888
- max: Mt
871
+ max: Dt
889
872
  }),
890
873
  children: /* @__PURE__ */ s(
891
874
  fs,
892
875
  {
893
876
  value: e.note ?? "",
894
- maxLength: Mt,
877
+ maxLength: Dt,
895
878
  rows: 3,
896
879
  onChange: (h) => R({ note: h.target.value })
897
880
  }
@@ -911,13 +894,13 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
911
894
  {
912
895
  "data-component": "booking-critical-information",
913
896
  role: "group",
914
- "aria-labelledby": `${O}-critical-information-heading`,
897
+ "aria-labelledby": `${_}-critical-information-heading`,
915
898
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)] ds:bg-[var(--muted)] ds:p-[var(--spacing-sm)]",
916
899
  children: [
917
900
  /* @__PURE__ */ s(
918
901
  "h3",
919
902
  {
920
- id: `${O}-critical-information-heading`,
903
+ id: `${_}-critical-information-heading`,
921
904
  className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0",
922
905
  children: y("booking.details.criticalInformation.heading")
923
906
  }
@@ -1008,12 +991,12 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
1008
991
  value: h,
1009
992
  label: y(`booking.confirmation.channel.${h}`)
1010
993
  })),
1011
- error: _e ? y("booking.confirmation.atLeastOne") : void 0
994
+ error: Oe ? y("booking.confirmation.atLeastOne") : void 0
1012
995
  }
1013
996
  )
1014
997
  }
1015
998
  ) : null,
1016
- b ? /* @__PURE__ */ s(Q, { variant: "error", children: /* @__PURE__ */ s(Q.Description, { children: b }) }) : null,
999
+ b ? /* @__PURE__ */ s(X, { variant: "error", children: /* @__PURE__ */ s(X.Description, { children: b }) }) : null,
1017
1000
  /* @__PURE__ */ s(
1018
1001
  be,
1019
1002
  {
@@ -1031,7 +1014,7 @@ const Mt = 500, fa = /^[A-Z0-9]{16}$/, ga = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, Dt = 3
1031
1014
  }
1032
1015
  );
1033
1016
  pt.displayName = "BookingDetailsForm";
1034
- const ha = Ye(
1017
+ const ga = Ye(
1035
1018
  "ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
1036
1019
  {
1037
1020
  variants: {
@@ -1059,34 +1042,34 @@ const ha = Ye(
1059
1042
  },
1060
1043
  defaultVariants: { variant: "inline-list", surface: "flat" }
1061
1044
  }
1062
- ), va = [
1045
+ ), ha = [
1063
1046
  [
1064
1047
  /\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
1065
1048
  Ct
1066
1049
  ],
1067
- [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Ds],
1068
- [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Xs],
1050
+ [/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Ms],
1051
+ [/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, Zs],
1069
1052
  [/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, As],
1070
- [/\b(otorin|udito|orecchi|hearing|ear)/i, qs],
1071
- [/\b(neuro|brain|cervello)/i, $s],
1072
- [/\b(pediatr|child|bambin)/i, Rs],
1073
- [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, Vs],
1074
- [/\b(lab|analis|test|sang|esami)/i, Hs],
1075
- [/\b(farmaco|pharm|pillol|refill)/i, Us],
1076
- [/\b(chirurg|surg|intervent|operat)/i, Ws],
1077
- [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Ts],
1053
+ [/\b(otorin|udito|orecchi|hearing|ear)/i, js],
1054
+ [/\b(neuro|brain|cervello)/i, Fs],
1055
+ [/\b(pediatr|child|bambin)/i, Ts],
1056
+ [/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, Es],
1057
+ [/\b(lab|analis|test|sang|esami)/i, Gs],
1058
+ [/\b(farmaco|pharm|pillol|refill)/i, Js],
1059
+ [/\b(chirurg|surg|intervent|operat)/i, Ys],
1060
+ [/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Os],
1078
1061
  [/\b(vacc|inject|inie|punto)/i, Ct],
1079
1062
  [/\b(derma|skin|pelle)/i, _s],
1080
- [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, Os],
1081
- [/\b(general|medicin|family|control|check[-\s]?up)/i, Ps]
1063
+ [/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, Bs],
1064
+ [/\b(general|medicin|family|control|check[-\s]?up)/i, Ls]
1082
1065
  ];
1083
- function ba(e) {
1084
- for (const [t, a] of va)
1066
+ function va(e) {
1067
+ for (const [t, a] of ha)
1085
1068
  if (t.test(e)) return a;
1086
1069
  return null;
1087
1070
  }
1088
- function ya(e) {
1089
- const t = ba(e.label) ?? Ms;
1071
+ function ba(e) {
1072
+ const t = va(e.label) ?? Ds;
1090
1073
  return /* @__PURE__ */ s(t, { "aria-hidden": "true", className: "ds:size-5" });
1091
1074
  }
1092
1075
  function Gt(e) {
@@ -1096,7 +1079,7 @@ function Gt(e) {
1096
1079
  function ve(e) {
1097
1080
  return He(e, "yyyy-MM-dd");
1098
1081
  }
1099
- const ka = [
1082
+ const ya = [
1100
1083
  "ds:relative ds:flex ds:items-center ds:justify-center",
1101
1084
  "ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
1102
1085
  "ds:rounded-[var(--radius-sm)]",
@@ -1106,7 +1089,7 @@ const ka = [
1106
1089
  "ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
1107
1090
  "ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
1108
1091
  "ds:forced-colors:focus-visible:outline-[CanvasText]"
1109
- ].join(" "), Sa = Ye(ka, {
1092
+ ].join(" "), ka = Ye(ya, {
1110
1093
  variants: {
1111
1094
  state: {
1112
1095
  available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
@@ -1117,29 +1100,29 @@ const ka = [
1117
1100
  },
1118
1101
  defaultVariants: { state: "unavailable" }
1119
1102
  });
1120
- function xa({
1103
+ function Sa({
1121
1104
  availableDates: e,
1122
1105
  selectedDate: t,
1123
1106
  onSelectDate: a,
1124
1107
  locale: n,
1125
1108
  loading: i
1126
1109
  }) {
1127
- const { t: r } = V(), d = M(() => t ? Te(G(t)) : e.length > 0 ? Te(G(e[0])) : Te(/* @__PURE__ */ new Date()), [t, e]), [p, m] = Z(d), [l, u] = Z(null), c = M(() => {
1128
- const I = Te(p), b = Ss(p), x = I.getDay(), y = b.getDate(), O = [];
1110
+ const { t: r } = V(), d = D(() => t ? Te(G(t)) : e.length > 0 ? Te(G(e[0])) : Te(/* @__PURE__ */ new Date()), [t, e]), [p, m] = W(d), [l, u] = W(null), c = D(() => {
1111
+ const I = Te(p), b = Ss(p), x = I.getDay(), y = b.getDate(), _ = [];
1129
1112
  for (let S = x; S > 0; S -= 1) {
1130
1113
  const o = new Date(I);
1131
- o.setDate(I.getDate() - S), O.push(o);
1114
+ o.setDate(I.getDate() - S), _.push(o);
1132
1115
  }
1133
1116
  for (let S = 0; S < y; S += 1) {
1134
1117
  const o = new Date(I);
1135
- o.setDate(I.getDate() + S), O.push(o);
1118
+ o.setDate(I.getDate() + S), _.push(o);
1136
1119
  }
1137
- for (; O.length < 42; ) {
1138
- const S = O[O.length - 1], o = new Date(S);
1139
- o.setDate(S.getDate() + 1), O.push(o);
1120
+ for (; _.length < 42; ) {
1121
+ const S = _[_.length - 1], o = new Date(S);
1122
+ o.setDate(S.getDate() + 1), _.push(o);
1140
1123
  }
1141
- return O;
1142
- }, [p]), k = M(() => {
1124
+ return _;
1125
+ }, [p]), k = D(() => {
1143
1126
  try {
1144
1127
  return new Intl.DateTimeFormat(n, {
1145
1128
  month: "long",
@@ -1148,7 +1131,7 @@ function xa({
1148
1131
  } catch {
1149
1132
  return He(p, "MMMM yyyy");
1150
1133
  }
1151
- }, [p, n]), f = M(() => {
1134
+ }, [p, n]), f = D(() => {
1152
1135
  const I = new Date(2024, 0, 7);
1153
1136
  return Array.from({ length: 7 }, (b, x) => {
1154
1137
  const y = new Date(I);
@@ -1159,17 +1142,17 @@ function xa({
1159
1142
  return He(y, "EEE");
1160
1143
  }
1161
1144
  });
1162
- }, [n]), v = M(() => new Set(e), [e]), N = X(
1145
+ }, [n]), v = D(() => new Set(e), [e]), N = Z(
1163
1146
  (I) => v.has(ve(I)),
1164
1147
  [v]
1165
- ), w = M(() => {
1148
+ ), w = D(() => {
1166
1149
  if (l) return l;
1167
1150
  if (t) return G(t);
1168
1151
  const I = c.find(
1169
1152
  (b) => je(b, p) && N(b)
1170
1153
  );
1171
1154
  return I || (c.find((b) => je(b, p)) ?? null);
1172
- }, [l, t, c, p, N]), D = X(
1155
+ }, [l, t, c, p, N]), M = Z(
1173
1156
  (I, b) => {
1174
1157
  let x = null;
1175
1158
  switch (I.key) {
@@ -1226,7 +1209,7 @@ function xa({
1226
1209
  intent: "ghost",
1227
1210
  flipIconInRtl: !0,
1228
1211
  onClick: () => {
1229
- m((I) => sa(I)), u(null);
1212
+ m((I) => ta(I)), u(null);
1230
1213
  }
1231
1214
  }
1232
1215
  ),
@@ -1281,7 +1264,7 @@ function xa({
1281
1264
  role: "row",
1282
1265
  className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
1283
1266
  children: c.slice(b * 7, b * 7 + 7).map((x, y) => {
1284
- const O = b * 7 + y, S = je(x, p), o = S && N(x), A = t ? wt(x, G(t)) : !1, F = S ? A ? "selected" : o ? "available" : "unavailable" : "outside", P = w ? wt(w, x) : !1, ie = (() => {
1267
+ const _ = b * 7 + y, S = je(x, p), o = S && N(x), A = t ? wt(x, G(t)) : !1, F = S ? A ? "selected" : o ? "available" : "unavailable" : "outside", P = w ? wt(w, x) : !1, ie = (() => {
1285
1268
  try {
1286
1269
  return new Intl.DateTimeFormat(n, {
1287
1270
  dateStyle: "full"
@@ -1303,11 +1286,11 @@ function xa({
1303
1286
  onClick: () => {
1304
1287
  o && a(ve(x));
1305
1288
  },
1306
- onKeyDown: (z) => D(z, x),
1307
- className: Sa({ state: F }),
1289
+ onKeyDown: (z) => M(z, x),
1290
+ className: ka({ state: F }),
1308
1291
  children: /* @__PURE__ */ s("span", { "aria-hidden": "true", children: x.getDate() })
1309
1292
  },
1310
- `mg-cell-${O}`
1293
+ `mg-cell-${_}`
1311
1294
  );
1312
1295
  })
1313
1296
  },
@@ -1318,7 +1301,7 @@ function xa({
1318
1301
  )
1319
1302
  ] });
1320
1303
  }
1321
- const Ia = Ye(
1304
+ const xa = Ye(
1322
1305
  [
1323
1306
  "ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
1324
1307
  "ds:min-h-[var(--min-target-size)]",
@@ -1344,21 +1327,21 @@ const Ia = Ye(
1344
1327
  defaultVariants: { state: "idle" }
1345
1328
  }
1346
1329
  );
1347
- function Na({
1330
+ function Ia({
1348
1331
  services: e,
1349
1332
  selectedServiceId: t,
1350
1333
  onSelect: a
1351
1334
  }) {
1352
- const { t: n } = V(), i = lt(), [r, d] = Z(() => {
1335
+ const { t: n } = V(), i = lt(), [r, d] = W(() => {
1353
1336
  if (t) {
1354
1337
  const u = e.findIndex((c) => c.id === t);
1355
1338
  if (u >= 0) return u;
1356
1339
  }
1357
1340
  return 0;
1358
- }), p = U(/* @__PURE__ */ new Map()), m = X((u) => {
1341
+ }), p = J(/* @__PURE__ */ new Map()), m = Z((u) => {
1359
1342
  var c;
1360
1343
  (c = p.current.get(u)) == null || c.focus();
1361
- }, []), l = X(
1344
+ }, []), l = Z(
1362
1345
  (u, c, k) => {
1363
1346
  const f = e.length;
1364
1347
  if (f !== 0)
@@ -1410,12 +1393,12 @@ function Na({
1410
1393
  }) : n("booking.serviceCardLabel", {
1411
1394
  label: u.label,
1412
1395
  duration: u.durationMin
1413
- }), w = ya(u);
1396
+ }), w = ba(u);
1414
1397
  return /* @__PURE__ */ g(
1415
1398
  "button",
1416
1399
  {
1417
- ref: (D) => {
1418
- D ? p.current.set(c, D) : p.current.delete(c);
1400
+ ref: (M) => {
1401
+ M ? p.current.set(c, M) : p.current.delete(c);
1419
1402
  },
1420
1403
  type: "button",
1421
1404
  role: "radio",
@@ -1424,8 +1407,8 @@ function Na({
1424
1407
  tabIndex: f ? 0 : -1,
1425
1408
  onClick: () => a(u.id),
1426
1409
  onFocus: () => d(c),
1427
- onKeyDown: (D) => l(D, c, u.id),
1428
- className: Ia({
1410
+ onKeyDown: (M) => l(M, c, u.id),
1411
+ className: xa({
1429
1412
  state: k ? "selected" : "idle"
1430
1413
  }),
1431
1414
  children: [
@@ -1459,7 +1442,7 @@ function Na({
1459
1442
  }
1460
1443
  );
1461
1444
  }
1462
- const wa = Ye(
1445
+ const Na = Ye(
1463
1446
  [
1464
1447
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
1465
1448
  "ds:min-h-[var(--min-target-size)]",
@@ -1485,13 +1468,13 @@ const wa = Ye(
1485
1468
  defaultVariants: { state: "idle" }
1486
1469
  }
1487
1470
  );
1488
- function Ca(e) {
1471
+ function wa(e) {
1489
1472
  const [t] = e.split(":").map((n) => parseInt(n, 10)), a = Number.isFinite(t) ? t : 0;
1490
1473
  return a < 12 ? "morning" : a < 17 ? "afternoon" : "evening";
1491
1474
  }
1492
- const Ma = {
1475
+ const Ca = {
1493
1476
  morning: Cs,
1494
- afternoon: ea,
1477
+ afternoon: Qs,
1495
1478
  evening: ws
1496
1479
  };
1497
1480
  function Da({
@@ -1502,7 +1485,7 @@ function Da({
1502
1485
  loading: i,
1503
1486
  locale: r
1504
1487
  }) {
1505
- const { t: d } = V(), p = M(() => {
1488
+ const { t: d } = V(), p = D(() => {
1506
1489
  try {
1507
1490
  return new Intl.DateTimeFormat(r, {
1508
1491
  weekday: "long",
@@ -1512,14 +1495,14 @@ function Da({
1512
1495
  } catch {
1513
1496
  return e;
1514
1497
  }
1515
- }, [e, r]), m = M(() => {
1498
+ }, [e, r]), m = D(() => {
1516
1499
  const c = {
1517
1500
  morning: [],
1518
1501
  afternoon: [],
1519
1502
  evening: []
1520
1503
  };
1521
1504
  for (const k of t)
1522
- c[Ca(k.time)].push(k);
1505
+ c[wa(k.time)].push(k);
1523
1506
  return c;
1524
1507
  }, [t]), l = t.filter((c) => c.available).length, u = ["morning", "afternoon", "evening"];
1525
1508
  return i ? /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
@@ -1536,7 +1519,7 @@ function Da({
1536
1519
  /* @__PURE__ */ g("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
1537
1520
  /* @__PURE__ */ g("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
1538
1521
  /* @__PURE__ */ s(
1539
- Ks,
1522
+ zs,
1540
1523
  {
1541
1524
  "aria-hidden": "true",
1542
1525
  className: "ds:size-4 ds:text-[color:var(--accent)]"
@@ -1549,7 +1532,7 @@ function Da({
1549
1532
  u.map((c) => {
1550
1533
  const k = m[c];
1551
1534
  if (k.length === 0) return null;
1552
- const f = Ma[c];
1535
+ const f = Ca[c];
1553
1536
  return /* @__PURE__ */ g(
1554
1537
  "div",
1555
1538
  {
@@ -1578,7 +1561,7 @@ function Da({
1578
1561
  time: v.time
1579
1562
  }),
1580
1563
  onClick: () => v.available && n(v),
1581
- className: wa({ state: w }),
1564
+ className: Na({ state: w }),
1582
1565
  children: v.time
1583
1566
  },
1584
1567
  v.key
@@ -1594,7 +1577,7 @@ function Da({
1594
1577
  ] });
1595
1578
  }
1596
1579
  const Ge = 4;
1597
- function Aa({
1580
+ function Ma({
1598
1581
  availableDates: e,
1599
1582
  availableSlots: t,
1600
1583
  value: a,
@@ -1606,7 +1589,7 @@ function Aa({
1606
1589
  locale: m,
1607
1590
  agentIdBase: l
1608
1591
  }) {
1609
- const u = M(() => xe(/* @__PURE__ */ new Date()), []), [c, k] = Z(() => {
1592
+ const u = D(() => xe(/* @__PURE__ */ new Date()), []), [c, k] = W(() => {
1610
1593
  if (a.date) {
1611
1594
  const o = xe(G(a.date));
1612
1595
  if (!Ie(u, o)) return o;
@@ -1616,10 +1599,10 @@ function Aa({
1616
1599
  if (Ie(o, u)) return o;
1617
1600
  }
1618
1601
  return u;
1619
- }), f = M(
1602
+ }), f = D(
1620
1603
  () => it(c, Ge - 1),
1621
1604
  [c]
1622
- ), v = M(() => Array.from({ length: Ge }, (o, A) => {
1605
+ ), v = D(() => Array.from({ length: Ge }, (o, A) => {
1623
1606
  const F = it(c, A), P = ve(F), z = (t[P] ?? []).map(($) => ({
1624
1607
  id: $.key,
1625
1608
  // SlotGrid formats `start` as a time via Intl.DateTimeFormat —
@@ -1629,25 +1612,25 @@ function Aa({
1629
1612
  available: $.available
1630
1613
  }));
1631
1614
  return { date: P, slots: z };
1632
- }), [c, t]), N = Ie(c, u), w = !0, D = X(() => {
1615
+ }), [c, t]), N = Ie(c, u), w = !0, M = Z(() => {
1633
1616
  k((o) => {
1634
1617
  const A = xs(o, Ge);
1635
1618
  return Ie(u, A) ? u : A;
1636
1619
  });
1637
- }, [u]), I = X(() => {
1620
+ }, [u]), I = Z(() => {
1638
1621
  k((o) => it(o, Ge));
1639
1622
  }, []);
1640
- Y(() => {
1623
+ U(() => {
1641
1624
  if (e.length === 0) return;
1642
1625
  const o = xe(G(e[0]));
1643
1626
  !Ie(o, u) || e.some((F) => {
1644
1627
  const P = xe(G(F));
1645
1628
  return !Ie(P, f) && !ks(P, c);
1646
1629
  }) || k(o);
1647
- }, [e]), Y(() => {
1630
+ }, [e]), U(() => {
1648
1631
  r == null || r(ve(c), ve(f));
1649
1632
  }, [c, f, r]);
1650
- const b = X(
1633
+ const b = Z(
1651
1634
  (o, A) => {
1652
1635
  const F = typeof A.date == "string" ? A.date : ve(A.date);
1653
1636
  n({
@@ -1655,13 +1638,13 @@ function Aa({
1655
1638
  }), i == null || i(F);
1656
1639
  },
1657
1640
  [n, i, a]
1658
- ), x = d || p ? "loading" : "default", y = v.some((o) => o.slots.length > 0), O = e[0];
1641
+ ), x = d || p ? "loading" : "default", y = v.some((o) => o.slots.length > 0), _ = e[0];
1659
1642
  return /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1660
- !y && !!O ? /* @__PURE__ */ s(
1643
+ !y && !!_ ? /* @__PURE__ */ s(
1661
1644
  mt,
1662
1645
  {
1663
- nextAvailableDate: O,
1664
- onJump: () => k(xe(G(O))),
1646
+ nextAvailableDate: _,
1647
+ onJump: () => k(xe(G(_))),
1665
1648
  locale: m
1666
1649
  }
1667
1650
  ) : null,
@@ -1677,7 +1660,7 @@ function Aa({
1677
1660
  hasPrevious: N,
1678
1661
  hasNext: w,
1679
1662
  onSlotSelect: b,
1680
- onPreviousDays: D,
1663
+ onPreviousDays: M,
1681
1664
  onNextDays: I
1682
1665
  }
1683
1666
  )
@@ -1697,7 +1680,7 @@ function Ht(e) {
1697
1680
  agentIdBase: u
1698
1681
  } = e;
1699
1682
  return l === "four-day-grid" ? /* @__PURE__ */ s(
1700
- Aa,
1683
+ Ma,
1701
1684
  {
1702
1685
  availableDates: t.availableDates,
1703
1686
  availableSlots: t.availableSlots,
@@ -1711,7 +1694,7 @@ function Ht(e) {
1711
1694
  agentIdBase: u
1712
1695
  }
1713
1696
  ) : /* @__PURE__ */ s(
1714
- xa,
1697
+ Sa,
1715
1698
  {
1716
1699
  availableDates: t.availableDates,
1717
1700
  selectedDate: a.date,
@@ -1873,7 +1856,7 @@ function Wt({
1873
1856
  ] }) : /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
1874
1857
  u,
1875
1858
  /* @__PURE__ */ s(
1876
- Na,
1859
+ Ia,
1877
1860
  {
1878
1861
  services: e,
1879
1862
  selectedServiceId: t,
@@ -1946,9 +1929,9 @@ function Xt({
1946
1929
  customSlot: e
1947
1930
  }) {
1948
1931
  const { t } = V();
1949
- return e ? /* @__PURE__ */ s(te, { children: e }) : /* @__PURE__ */ g(Q, { variant: "warning", children: [
1950
- /* @__PURE__ */ s(Q.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1951
- /* @__PURE__ */ s(Q.Description, { children: t("booking.onboardingIncomplete.description") })
1932
+ return e ? /* @__PURE__ */ s(te, { children: e }) : /* @__PURE__ */ g(X, { variant: "warning", children: [
1933
+ /* @__PURE__ */ s(X.Title, { as: "h4", children: t("booking.onboardingIncomplete.title") }),
1934
+ /* @__PURE__ */ s(X.Description, { children: t("booking.onboardingIncomplete.description") })
1952
1935
  ] });
1953
1936
  }
1954
1937
  function mt({
@@ -1956,7 +1939,7 @@ function mt({
1956
1939
  onJump: t,
1957
1940
  locale: a
1958
1941
  }) {
1959
- const { t: n } = V(), i = M(() => {
1942
+ const { t: n } = V(), i = D(() => {
1960
1943
  try {
1961
1944
  return new Intl.DateTimeFormat(a, { dateStyle: "long" }).format(
1962
1945
  G(e)
@@ -1965,12 +1948,12 @@ function mt({
1965
1948
  return e;
1966
1949
  }
1967
1950
  }, [e, a]);
1968
- return /* @__PURE__ */ g(Q, { variant: "info", children: [
1969
- /* @__PURE__ */ s(Q.Description, { children: n("booking.nextAvailable.description", { date: i }) }),
1970
- /* @__PURE__ */ s(Q.Action, { children: /* @__PURE__ */ s(be, { intent: "secondary", size: "sm", onClick: t, children: n("booking.nextAvailable.cta") }) })
1951
+ return /* @__PURE__ */ g(X, { variant: "info", children: [
1952
+ /* @__PURE__ */ s(X.Description, { children: n("booking.nextAvailable.description", { date: i }) }),
1953
+ /* @__PURE__ */ s(X.Action, { children: /* @__PURE__ */ s(be, { intent: "secondary", size: "sm", onClick: t, children: n("booking.nextAvailable.cta") }) })
1971
1954
  ] });
1972
1955
  }
1973
- function Ta({
1956
+ function Aa({
1974
1957
  snapshot: e,
1975
1958
  operators: t,
1976
1959
  specialties: a,
@@ -1982,10 +1965,10 @@ function Ta({
1982
1965
  onModify: m
1983
1966
  }) {
1984
1967
  const { t: l } = V(), c = (e.details.confirmationChannels ?? ["email"]).map(
1985
- (D) => l(`booking.confirmation.channel.${D}`)
1968
+ (M) => l(`booking.confirmation.channel.${M}`)
1986
1969
  ), k = r === "demo" ? l("booking.success.descriptionDemo") : c.length > 1 ? l("booking.success.descriptionMultiple", {
1987
1970
  channels: c.join(" · ")
1988
- }) : l("booking.success.descriptionSingle", { channel: c[0] }), f = M(() => {
1971
+ }) : l("booking.success.descriptionSingle", { channel: c[0] }), f = D(() => {
1989
1972
  if (e.date)
1990
1973
  try {
1991
1974
  return new Intl.DateTimeFormat(i, {
@@ -1996,7 +1979,7 @@ function Ta({
1996
1979
  } catch {
1997
1980
  return e.date;
1998
1981
  }
1999
- }, [e.date, i]), v = M(() => {
1982
+ }, [e.date, i]), v = D(() => {
2000
1983
  const I = (e.operatorIds && e.operatorIds.length > 0 ? e.operatorIds : e.operatorId ? [e.operatorId] : []).filter((b) => b !== H).map((b) => {
2001
1984
  var x;
2002
1985
  return (x = t.find((y) => y.id === b)) == null ? void 0 : x.name;
@@ -2010,16 +1993,16 @@ function Ta({
2010
1993
  } catch {
2011
1994
  return I.join(", ");
2012
1995
  }
2013
- }, [e.operatorIds, e.operatorId, t, i]), N = e.specialtyId ? a.find((D) => D.id === e.specialtyId) : void 0, w = e.serviceId ? n.find((D) => D.id === e.serviceId) : void 0;
1996
+ }, [e.operatorIds, e.operatorId, t, i]), N = e.specialtyId ? a.find((M) => M.id === e.specialtyId) : void 0, w = e.serviceId ? n.find((M) => M.id === e.serviceId) : void 0;
2014
1997
  return /* @__PURE__ */ g(
2015
1998
  "div",
2016
1999
  {
2017
2000
  "data-component": "booking-success",
2018
2001
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
2019
2002
  children: [
2020
- /* @__PURE__ */ g(Q, { variant: "success", children: [
2021
- /* @__PURE__ */ s(Q.Title, { as: "h3", children: l("booking.success.heading") }),
2022
- /* @__PURE__ */ s(Q.Description, { children: k })
2003
+ /* @__PURE__ */ g(X, { variant: "success", children: [
2004
+ /* @__PURE__ */ s(X.Title, { as: "h3", children: l("booking.success.heading") }),
2005
+ /* @__PURE__ */ s(X.Description, { children: k })
2023
2006
  ] }),
2024
2007
  /* @__PURE__ */ s("div", { className: "ds:rounded-[var(--radius-md)] ds:bg-[var(--secondary)] ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ g("dl", { className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:gap-x-[var(--spacing-md)] ds:gap-y-[var(--spacing-xs)] ds:m-0", children: [
2025
2008
  N ? /* @__PURE__ */ g(te, { children: [
@@ -2060,7 +2043,7 @@ function Qt({ customSlot: e }) {
2060
2043
  }
2061
2044
  );
2062
2045
  }
2063
- const es = "data-booking-step-active", _a = `[${es}]`, At = [
2046
+ const es = "data-booking-step-active", Ta = `[${es}]`, At = [
2064
2047
  "ds:focus-visible:outline-[length:var(--focus-ring-width)]",
2065
2048
  "ds:focus-visible:outline-solid",
2066
2049
  "ds:focus-visible:outline-[var(--ring)]",
@@ -2107,13 +2090,13 @@ function Oa(e) {
2107
2090
  servicePickerStyle: v,
2108
2091
  operatorPickerStyle: N,
2109
2092
  submitting: w,
2110
- locale: D,
2093
+ locale: M,
2111
2094
  detailsProps: I,
2112
2095
  agentIdBase: b,
2113
2096
  activeStep: x
2114
- } = e, { t: y } = V(), O = Ne(x, k), S = (o, A) => ({
2097
+ } = e, { t: y } = V(), _ = Ne(x, k), S = (o, A) => ({
2115
2098
  step: o,
2116
- active: o === O,
2099
+ active: o === _,
2117
2100
  className: A
2118
2101
  });
2119
2102
  return /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
@@ -2169,7 +2152,7 @@ function Oa(e) {
2169
2152
  {
2170
2153
  nextAvailableDate: a.nextAvailableDate,
2171
2154
  onJump: () => i(Ze(n, a.nextAvailableDate)),
2172
- locale: D
2155
+ locale: M
2173
2156
  }
2174
2157
  ) : Ht({
2175
2158
  inputs: a,
@@ -2179,7 +2162,7 @@ function Oa(e) {
2179
2162
  onWindowChange: c,
2180
2163
  loadingDates: m,
2181
2164
  loadingSlots: l,
2182
- locale: D,
2165
+ locale: M,
2183
2166
  datePickerStyle: k,
2184
2167
  agentIdBase: b
2185
2168
  })
@@ -2197,7 +2180,7 @@ function Oa(e) {
2197
2180
  value: n,
2198
2181
  onChange: i,
2199
2182
  loadingSlots: l,
2200
- locale: D,
2183
+ locale: M,
2201
2184
  datePickerStyle: k
2202
2185
  })
2203
2186
  ]
@@ -2216,7 +2199,7 @@ function Oa(e) {
2216
2199
  ) }) : null
2217
2200
  ] });
2218
2201
  }
2219
- function W(e, t, a = {}) {
2202
+ function Y(e, t, a = {}) {
2220
2203
  const {
2221
2204
  cascade: n,
2222
2205
  inputs: i,
@@ -2232,12 +2215,12 @@ function W(e, t, a = {}) {
2232
2215
  datePickerStyle: v,
2233
2216
  specialtyPickerStyle: N,
2234
2217
  servicePickerStyle: w,
2235
- operatorPickerStyle: D,
2218
+ operatorPickerStyle: M,
2236
2219
  submitting: I,
2237
2220
  locale: b,
2238
2221
  detailsProps: x,
2239
2222
  policy: y,
2240
- agentIdBase: O
2223
+ agentIdBase: _
2241
2224
  } = t;
2242
2225
  switch (e) {
2243
2226
  case 1:
@@ -2282,7 +2265,7 @@ function W(e, t, a = {}) {
2282
2265
  valueIds: r.operatorIds,
2283
2266
  onChange: (S) => d(zt(r, S)),
2284
2267
  onChangeIds: (S) => d(Kt(r, S)),
2285
- pickerStyle: D
2268
+ pickerStyle: M
2286
2269
  }
2287
2270
  );
2288
2271
  case 5:
@@ -2303,7 +2286,7 @@ function W(e, t, a = {}) {
2303
2286
  loadingSlots: c,
2304
2287
  locale: b,
2305
2288
  datePickerStyle: v,
2306
- agentIdBase: O
2289
+ agentIdBase: _
2307
2290
  });
2308
2291
  case 6:
2309
2292
  return Jt({
@@ -2333,7 +2316,7 @@ function W(e, t, a = {}) {
2333
2316
  }
2334
2317
  function Xe() {
2335
2318
  const { t: e } = V();
2336
- return M(
2319
+ return D(
2337
2320
  () => ({
2338
2321
  1: e("booking.insurance.heading"),
2339
2322
  2: e("booking.specialty.heading"),
@@ -2349,16 +2332,16 @@ function Xe() {
2349
2332
  function Ne(e, t) {
2350
2333
  return t === "four-day-grid" && e === 6 ? 5 : e;
2351
2334
  }
2352
- function Ba(e) {
2353
- const { cascade: t, value: a, activeStep: n, setActiveStep: i, datePickerStyle: r } = e, d = Xe(), { t: p } = V(), m = p("booking.operator.all"), l = M(
2335
+ function _a(e) {
2336
+ const { cascade: t, value: a, activeStep: n, setActiveStep: i, datePickerStyle: r } = e, d = Xe(), { t: p } = V(), m = p("booking.operator.all"), l = D(
2354
2337
  () => ft(t.visibleSteps, r),
2355
2338
  [t.visibleSteps, r]
2356
- ), u = Ne(n, r), c = Math.max(0, l.indexOf(u)), k = M(
2339
+ ), u = Ne(n, r), c = Math.max(0, l.indexOf(u)), k = D(
2357
2340
  () => l.map((f) => ({
2358
2341
  label: d[f],
2359
2342
  summary: ts(f, a, t, m),
2360
- status: Pa(f, a, t),
2361
- content: /* @__PURE__ */ s(E, { step: f, active: f === u, children: W(f, e, { compactService: !0 }) })
2343
+ status: Ba(f, a, t),
2344
+ content: /* @__PURE__ */ s(E, { step: f, active: f === u, children: Y(f, e, { compactService: !0 }) })
2362
2345
  })),
2363
2346
  [
2364
2347
  l,
@@ -2382,7 +2365,7 @@ function Ba(e) {
2382
2365
  }
2383
2366
  );
2384
2367
  }
2385
- function Pa(e, t, a) {
2368
+ function Ba(e, t, a) {
2386
2369
  return ue(e, t) && e < a.currentStep ? "completed" : e <= a.currentStep ? "unlocked" : void 0;
2387
2370
  }
2388
2371
  function ue(e, t) {
@@ -2444,7 +2427,7 @@ function ts(e, t, a, n) {
2444
2427
  return;
2445
2428
  }
2446
2429
  }
2447
- function La(e) {
2430
+ function Pa(e) {
2448
2431
  const { cascade: t, value: a, activeStep: n, setActiveStep: i } = e, { t: r } = V(), d = Xe(), p = r("booking.operator.all"), m = `${lt()}-filter`, l = Ne(n, e.datePickerStyle), u = t.visibleSteps.filter(
2449
2432
  (f) => f === 1 || f === 2 || f === 3 || f === 4
2450
2433
  ), c = u.some(
@@ -2501,7 +2484,7 @@ function La(e) {
2501
2484
  step: k,
2502
2485
  active: k === l,
2503
2486
  id: m,
2504
- children: W(k, e, { compactService: !0 })
2487
+ children: Y(k, e, { compactService: !0 })
2505
2488
  }
2506
2489
  ) : null,
2507
2490
  !c && t.gates.date ? (
@@ -2509,14 +2492,14 @@ function La(e) {
2509
2492
  // historic 2-col date|slot split collapses to a single column
2510
2493
  // so the picker spans the full width instead of orphaning an
2511
2494
  // empty right cell.
2512
- e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ s(E, { step: 5, active: l === 5, children: W(5, e) }) : /* @__PURE__ */ g("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2495
+ e.datePickerStyle === "four-day-grid" ? /* @__PURE__ */ s(E, { step: 5, active: l === 5, children: Y(5, e) }) : /* @__PURE__ */ g("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2", children: [
2513
2496
  /* @__PURE__ */ s(
2514
2497
  E,
2515
2498
  {
2516
2499
  step: 5,
2517
2500
  active: l === 5,
2518
2501
  className: "ds:min-w-0",
2519
- children: W(5, e)
2502
+ children: Y(5, e)
2520
2503
  }
2521
2504
  ),
2522
2505
  a.date ? /* @__PURE__ */ s(
@@ -2525,15 +2508,15 @@ function La(e) {
2525
2508
  step: 6,
2526
2509
  active: l === 6,
2527
2510
  className: "ds:min-w-0",
2528
- children: W(6, e)
2511
+ children: Y(6, e)
2529
2512
  }
2530
2513
  ) : /* @__PURE__ */ s("div", { className: "ds:min-w-0" })
2531
2514
  ] })
2532
2515
  ) : null,
2533
- t.gates.details ? /* @__PURE__ */ s(E, { step: 7, active: l === 7, children: W(7, e) }) : null
2516
+ t.gates.details ? /* @__PURE__ */ s(E, { step: 7, active: l === 7, children: Y(7, e) }) : null
2534
2517
  ] });
2535
2518
  }
2536
- function Ra(e) {
2519
+ function La(e) {
2537
2520
  const { cascade: t, datePickerStyle: a, activeStep: n } = e, i = Ne(n, a), r = t.visibleSteps.filter(
2538
2521
  (p) => p === 1 || p === 2 || p === 3 || p === 4
2539
2522
  );
@@ -2543,28 +2526,28 @@ function Ra(e) {
2543
2526
  {
2544
2527
  className: a === "four-day-grid" ? "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]" : "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:md:grid-cols-2",
2545
2528
  children: [
2546
- /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: r.map((p) => /* @__PURE__ */ s(E, { step: p, active: p === i, children: W(p, e, { compactService: !0 }) }, `fbf-${p}`)) }),
2529
+ /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: r.map((p) => /* @__PURE__ */ s(E, { step: p, active: p === i, children: Y(p, e, { compactService: !0 }) }, `fbf-${p}`)) }),
2547
2530
  /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2548
- t.gates.date ? /* @__PURE__ */ s(E, { step: 5, active: i === 5, children: W(5, e) }) : null,
2549
- t.gates.slot && e.value.date && a === "month-calendar" ? /* @__PURE__ */ s(E, { step: 6, active: i === 6, children: W(6, e) }) : null
2531
+ t.gates.date ? /* @__PURE__ */ s(E, { step: 5, active: i === 5, children: Y(5, e) }) : null,
2532
+ t.gates.slot && e.value.date && a === "month-calendar" ? /* @__PURE__ */ s(E, { step: 6, active: i === 6, children: Y(6, e) }) : null
2550
2533
  ] })
2551
2534
  ]
2552
2535
  }
2553
2536
  ),
2554
- t.gates.details ? /* @__PURE__ */ s(E, { step: 7, active: i === 7, children: W(7, e) }) : null
2537
+ t.gates.details ? /* @__PURE__ */ s(E, { step: 7, active: i === 7, children: Y(7, e) }) : null
2555
2538
  ] });
2556
2539
  }
2557
- function Ea(e) {
2558
- const { cascade: t, value: a, activeStep: n, setActiveStep: i, datePickerStyle: r } = e, { t: d } = V(), p = Xe(), m = M(
2540
+ function Ra(e) {
2541
+ const { cascade: t, value: a, activeStep: n, setActiveStep: i, datePickerStyle: r } = e, { t: d } = V(), p = Xe(), m = D(
2559
2542
  () => ft(t.visibleSteps, r),
2560
2543
  [t.visibleSteps, r]
2561
- ), l = Ne(n, r), u = Math.max(0, m.indexOf(l)), c = m.length, k = M(
2544
+ ), l = Ne(n, r), u = Math.max(0, m.indexOf(l)), c = m.length, k = D(
2562
2545
  () => m.map((w) => ({ label: p[w] })),
2563
2546
  [m, p]
2564
2547
  ), f = u > 0, v = l === 5 && r === "four-day-grid", N = u < c - 1 && ue(l, a) && (!v || ue(6, a));
2565
2548
  return /* @__PURE__ */ g("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
2566
2549
  /* @__PURE__ */ s(vs, { activeStep: u, steps: k }),
2567
- /* @__PURE__ */ s(E, { step: l, active: !0, children: W(l, e, { compactService: !0 }) }),
2550
+ /* @__PURE__ */ s(E, { step: l, active: !0, children: Y(l, e, { compactService: !0 }) }),
2568
2551
  /* @__PURE__ */ g("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
2569
2552
  /* @__PURE__ */ s(
2570
2553
  be,
@@ -2595,11 +2578,11 @@ function Ea(e) {
2595
2578
  ] })
2596
2579
  ] });
2597
2580
  }
2598
- const Va = [], Fa = [];
2599
- function _t() {
2581
+ const Ea = [], Va = [];
2582
+ function Ot() {
2600
2583
  return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
2601
2584
  }
2602
- const $a = Ot(
2585
+ const Fa = _t(
2603
2586
  ({
2604
2587
  variant: e = "inline-list",
2605
2588
  country: t,
@@ -2621,12 +2604,12 @@ const $a = Ot(
2621
2604
  requireDateOfBirth: v,
2622
2605
  requireInsuranceNumber: N,
2623
2606
  showNote: w,
2624
- showReturningPatientFlag: D,
2607
+ showReturningPatientFlag: M,
2625
2608
  privacyPolicyUrl: I,
2626
2609
  termsUrl: b,
2627
2610
  validateCodiceFiscale: x,
2628
2611
  validateInsuranceNumber: y,
2629
- confirmationChannels: O,
2612
+ confirmationChannels: _,
2630
2613
  defaultConfirmationChannels: S,
2631
2614
  value: o,
2632
2615
  onChange: A,
@@ -2641,25 +2624,25 @@ const $a = Ot(
2641
2624
  loadingDates: se,
2642
2625
  loadingSlots: we,
2643
2626
  submitting: fe,
2644
- submitError: _e,
2627
+ submitError: Oe,
2645
2628
  mode: oe = "live",
2646
2629
  showModifyOnSuccess: ye = !0,
2647
2630
  surface: Ce = "flat",
2648
- emptyServicesSlot: Oe,
2631
+ emptyServicesSlot: _e,
2649
2632
  onboardingIncompleteSlot: ke,
2650
2633
  "aria-label": Be,
2651
2634
  id: ge,
2652
2635
  className: Qe,
2653
- onFocus: Me,
2636
+ onFocus: De,
2654
2637
  ...Pe
2655
2638
  }, et) => {
2656
- const { t: de, i18n: Le } = V(), K = e ?? "inline-list", h = Le.language ?? "en", _ = p ?? Va, ae = l ?? Fa;
2657
- Y(() => {
2658
- const C = ua(o, {
2639
+ const { t: de, i18n: Le } = V(), K = e ?? "inline-list", h = Le.language ?? "en", O = p ?? Ea, ae = l ?? Va;
2640
+ U(() => {
2641
+ const C = ca(o, {
2659
2642
  useSpecialties: a,
2660
2643
  lockedOperatorId: i,
2661
2644
  autoSelectSingleService: d,
2662
- specialties: _,
2645
+ specialties: O,
2663
2646
  services: m
2664
2647
  });
2665
2648
  (C.specialtyId !== o.specialtyId || C.operatorId !== o.operatorId || C.serviceId !== o.serviceId) && A(C);
@@ -2667,17 +2650,17 @@ const $a = Ot(
2667
2650
  i,
2668
2651
  a,
2669
2652
  d,
2670
- _,
2653
+ O,
2671
2654
  m
2672
2655
  ]);
2673
- const T = M(
2674
- () => ca({
2656
+ const T = D(
2657
+ () => la({
2675
2658
  country: t,
2676
2659
  useSpecialties: a,
2677
2660
  allowOperatorSelection: n,
2678
2661
  lockedOperatorId: i,
2679
2662
  operatorsByService: r,
2680
- specialties: _,
2663
+ specialties: O,
2681
2664
  services: m,
2682
2665
  operators: ae,
2683
2666
  availableSlots: c,
@@ -2690,14 +2673,14 @@ const $a = Ot(
2690
2673
  i,
2691
2674
  r,
2692
2675
  d,
2693
- _,
2676
+ O,
2694
2677
  m,
2695
2678
  ae,
2696
2679
  u,
2697
2680
  c,
2698
2681
  o
2699
2682
  ]
2700
- ), Re = M(
2683
+ ), Re = D(
2701
2684
  () => [
2702
2685
  JSON.stringify(o.insuranceType),
2703
2686
  JSON.stringify(ne(o)),
@@ -2707,7 +2690,7 @@ const $a = Ot(
2707
2690
  JSON.stringify(o.slotKey)
2708
2691
  ],
2709
2692
  [o]
2710
- ), Ee = K === "progress", gt = X(
2693
+ ), Ee = K === "progress", gt = Z(
2711
2694
  (C) => {
2712
2695
  if (!Ee) return T.currentStep;
2713
2696
  const L = T.visibleSteps.find(
@@ -2716,10 +2699,10 @@ const $a = Ot(
2716
2699
  return L === void 0 ? T.currentStep : Math.min(L, T.currentStep);
2717
2700
  },
2718
2701
  [Ee, T.visibleSteps, T.currentStep, o]
2719
- ), [ee, he] = Z(
2702
+ ), [ee, he] = W(
2720
2703
  T.currentStep
2721
- ), ht = U(Re), vt = U(T.visibleSteps);
2722
- Y(() => {
2704
+ ), ht = J(Re), vt = J(T.visibleSteps);
2705
+ U(() => {
2723
2706
  const C = ht.current, L = vt.current;
2724
2707
  ht.current = Re, vt.current = T.visibleSteps;
2725
2708
  const B = Re.findIndex(
@@ -2746,11 +2729,11 @@ const $a = Ot(
2746
2729
  ee,
2747
2730
  o
2748
2731
  ]);
2749
- const Se = U(null), tt = M(
2732
+ const Se = J(null), tt = D(
2750
2733
  () => ft(T.visibleSteps, $),
2751
2734
  [T.visibleSteps, $]
2752
- ), bt = Xe(), [ss, as] = Z(""), yt = U(null), Ve = U(null);
2753
- Y(() => {
2735
+ ), bt = Xe(), [ss, as] = W(""), yt = J(null), Ve = J(null);
2736
+ U(() => {
2754
2737
  const C = Ne(ee, $);
2755
2738
  if (Ve.current === null) {
2756
2739
  Ve.current = C;
@@ -2772,18 +2755,18 @@ const $a = Ot(
2772
2755
  if (!j) return;
2773
2756
  const q = document.activeElement;
2774
2757
  if (!(q === null || q === document.body || !j.contains(q))) return;
2775
- const $e = j.querySelector(_a) ?? j;
2758
+ const $e = j.querySelector(Ta) ?? j;
2776
2759
  if ($e.focus({ preventScroll: !0 }), typeof $e.scrollIntoView == "function")
2777
2760
  try {
2778
2761
  $e.scrollIntoView({
2779
- behavior: _t() ? "auto" : "smooth",
2762
+ behavior: Ot() ? "auto" : "smooth",
2780
2763
  block: "nearest"
2781
2764
  });
2782
2765
  } catch {
2783
2766
  $e.scrollIntoView();
2784
2767
  }
2785
2768
  }, [ee, $, tt, bt, de]);
2786
- const [le, De] = Z("idle"), [st, at] = Z(null), kt = X(
2769
+ const [le, Me] = W("idle"), [st, at] = W(null), kt = Z(
2787
2770
  async (C) => {
2788
2771
  if (!T.selectedSlot) return;
2789
2772
  const L = {
@@ -2795,7 +2778,7 @@ const $a = Ot(
2795
2778
  },
2796
2779
  details: C
2797
2780
  };
2798
- De("submitting");
2781
+ Me("submitting");
2799
2782
  try {
2800
2783
  await F(L), at({
2801
2784
  slot: T.selectedSlot,
@@ -2808,31 +2791,31 @@ const $a = Ot(
2808
2791
  (B) => B !== H
2809
2792
  ),
2810
2793
  date: o.date
2811
- }), De("success");
2794
+ }), Me("success");
2812
2795
  } catch {
2813
- throw De("error"), new Error("Booking submission failed");
2796
+ throw Me("error"), new Error("Booking submission failed");
2814
2797
  }
2815
2798
  },
2816
2799
  [T.selectedSlot, F, o]
2817
2800
  );
2818
2801
  os(et, () => Se.current, []);
2819
- const Ae = le === "success" ? 8 : T.currentStep, St = U(null);
2820
- Y(() => {
2802
+ const Ae = le === "success" ? 8 : T.currentStep, St = J(null);
2803
+ U(() => {
2821
2804
  if (Ae !== St.current && (St.current = Ae, P == null || P(Ae), Ae === 8 && Se.current))
2822
2805
  try {
2823
2806
  Se.current.scrollIntoView({
2824
- behavior: _t() ? "auto" : "smooth",
2807
+ behavior: Ot() ? "auto" : "smooth",
2825
2808
  block: "start"
2826
2809
  });
2827
2810
  } catch {
2828
2811
  Se.current.scrollIntoView();
2829
2812
  }
2830
2813
  }, [Ae, P]);
2831
- const Fe = U({ activeStep: ee, cascade: T, submitState: le });
2832
- Y(() => {
2814
+ const Fe = J({ activeStep: ee, cascade: T, submitState: le });
2815
+ U(() => {
2833
2816
  Fe.current = { activeStep: ee, cascade: T, submitState: le };
2834
2817
  }, [ee, T, le]);
2835
- const nt = M(
2818
+ const nt = D(
2836
2819
  () => ({
2837
2820
  getVariant: () => K,
2838
2821
  getCurrentStep: () => {
@@ -2840,7 +2823,7 @@ const $a = Ot(
2840
2823
  return C.submitState === "success" ? 8 : C.activeStep;
2841
2824
  },
2842
2825
  reset: () => {
2843
- A({}), at(null), De("idle"), he(1);
2826
+ A({}), at(null), Me("idle"), he(1);
2844
2827
  },
2845
2828
  goToStep: (C) => {
2846
2829
  const L = Fe.current, B = L.cascade.visibleSteps.includes(C), j = L.cascade.currentStep, q = !B || C > j ? j : C;
@@ -2849,33 +2832,33 @@ const $a = Ot(
2849
2832
  }),
2850
2833
  [K, A]
2851
2834
  );
2852
- ls(aa, nt, ge);
2853
- const ns = Be ?? de("booking.regionLabel"), is = M(() => le !== "success" || !st ? null : /* @__PURE__ */ s(
2854
- Ta,
2835
+ ls(sa, nt, ge);
2836
+ const ns = Be ?? de("booking.regionLabel"), is = D(() => le !== "success" || !st ? null : /* @__PURE__ */ s(
2837
+ Aa,
2855
2838
  {
2856
2839
  snapshot: st,
2857
2840
  operators: ae,
2858
- specialties: _,
2841
+ specialties: O,
2859
2842
  services: m,
2860
2843
  locale: h,
2861
2844
  mode: oe,
2862
2845
  showModify: ye,
2863
2846
  onReset: () => nt.reset(),
2864
2847
  onModify: () => {
2865
- at(null), De("idle"), he(7);
2848
+ at(null), Me("idle"), he(7);
2866
2849
  }
2867
2850
  }
2868
2851
  ), [
2869
2852
  le,
2870
2853
  st,
2871
2854
  ae,
2872
- _,
2855
+ O,
2873
2856
  m,
2874
2857
  h,
2875
2858
  oe,
2876
2859
  ye,
2877
2860
  nt
2878
- ]), xt = M(() => {
2861
+ ]), xt = D(() => {
2879
2862
  const C = new Set(pe(o)), L = m.filter((B) => C.has(B.id)).map((B) => {
2880
2863
  var j;
2881
2864
  return {
@@ -2887,12 +2870,12 @@ const $a = Ot(
2887
2870
  return L.length === 1 ? L[0].text : L.map((B) => `${B.label}: ${B.text}`).join(`
2888
2871
 
2889
2872
  `);
2890
- }, [m, o]), rs = M(() => {
2873
+ }, [m, o]), rs = D(() => {
2891
2874
  if (le === "success") return null;
2892
- const C = K === "accordion" ? Ba : K === "calendar" ? La : K === "flexible" ? Ra : K === "progress" ? Ea : Oa, L = {
2875
+ const C = K === "accordion" ? _a : K === "calendar" ? Pa : K === "flexible" ? La : K === "progress" ? Ra : Oa, L = {
2893
2876
  cascade: T,
2894
2877
  inputs: {
2895
- specialties: _,
2878
+ specialties: O,
2896
2879
  services: m,
2897
2880
  operators: ae,
2898
2881
  availableDates: u,
@@ -2909,17 +2892,17 @@ const $a = Ot(
2909
2892
  requireInsuranceNumber: N,
2910
2893
  insuranceType: o.insuranceType,
2911
2894
  showNote: w,
2912
- showReturningPatientFlag: D,
2895
+ showReturningPatientFlag: M,
2913
2896
  privacyPolicyUrl: I,
2914
2897
  termsUrl: b,
2915
2898
  criticalInformationToAccept: xt,
2916
2899
  validateCodiceFiscale: x,
2917
2900
  validateInsuranceNumber: y,
2918
- confirmationChannels: O,
2901
+ confirmationChannels: _,
2919
2902
  defaultConfirmationChannels: S,
2920
- submitError: _e
2903
+ submitError: Oe
2921
2904
  },
2922
- emptyServicesSlot: Oe,
2905
+ emptyServicesSlot: _e,
2923
2906
  onboardingIncompleteSlot: ke,
2924
2907
  loadingDates: se,
2925
2908
  loadingSlots: we,
@@ -2940,7 +2923,7 @@ const $a = Ot(
2940
2923
  le,
2941
2924
  K,
2942
2925
  T,
2943
- _,
2926
+ O,
2944
2927
  m,
2945
2928
  ae,
2946
2929
  u,
@@ -2954,17 +2937,17 @@ const $a = Ot(
2954
2937
  f,
2955
2938
  v,
2956
2939
  N,
2957
- _e,
2940
+ Oe,
2958
2941
  w,
2959
- D,
2942
+ M,
2960
2943
  I,
2961
2944
  b,
2962
2945
  xt,
2963
2946
  x,
2964
2947
  y,
2965
- O,
2948
+ _,
2966
2949
  S,
2967
- Oe,
2950
+ _e,
2968
2951
  ke,
2969
2952
  se,
2970
2953
  we,
@@ -2989,14 +2972,14 @@ const $a = Ot(
2989
2972
  "data-component": "booking",
2990
2973
  "data-component-id": ge,
2991
2974
  "data-variant": K,
2992
- className: ha({
2975
+ className: ga({
2993
2976
  variant: K,
2994
2977
  surface: Ce,
2995
2978
  className: Qe
2996
2979
  }),
2997
2980
  tabIndex: -1,
2998
2981
  onFocus: (C) => {
2999
- yt.current = C.target, Me == null || Me(C);
2982
+ yt.current = C.target, De == null || De(C);
3000
2983
  },
3001
2984
  ...Pe,
3002
2985
  children: [
@@ -3024,11 +3007,11 @@ const $a = Ot(
3024
3007
  );
3025
3008
  }
3026
3009
  );
3027
- $a.displayName = "Booking";
3010
+ Fa.displayName = "Booking";
3028
3011
  export {
3029
- $a as B,
3012
+ Fa as B,
3030
3013
  ot as C,
3031
3014
  H as O,
3032
- aa as b
3015
+ sa as b
3033
3016
  };
3034
- //# sourceMappingURL=booking-D43ASl8y.js.map
3017
+ //# sourceMappingURL=booking-B7gA9gFB.js.map