@alfadocs/ui-kit 0.30.0 → 0.30.2

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 (52) hide show
  1. package/dist/_chunks/{booking-BYuc_8HV.js → booking-CBaSujVP.js} +803 -729
  2. package/dist/_chunks/{patient-search-BhlxYAI3.js → patient-search-ZpHN-pgJ.js} +566 -510
  3. package/dist/_chunks/{public-footer.agent-CA29gxHJ.js → public-footer.agent-DivkKdG4.js} +188 -167
  4. package/dist/_chunks/{reviews-panel-CFttsfuC.js → reviews-panel-D-zjPKFL.js} +198 -178
  5. package/dist/agent-catalog.json +1 -1
  6. package/dist/components/booking/booking-types.d.ts +38 -0
  7. package/dist/components/booking/details-form.d.ts +7 -0
  8. package/dist/components/booking/index.js +1 -1
  9. package/dist/components/patient-search/index.js +1 -1
  10. package/dist/components/patient-search/patient-search.d.ts +9 -0
  11. package/dist/components/public-footer/index.js +1 -1
  12. package/dist/components/public-footer/public-footer.d.ts +7 -0
  13. package/dist/components/reviews-panel/index.js +1 -1
  14. package/dist/components/reviews-panel/reviews-panel.d.ts +8 -0
  15. package/dist/i18n/config.js +146 -20
  16. package/dist/i18n/locales/ar.d.ts +7 -0
  17. package/dist/i18n/locales/de.d.ts +7 -0
  18. package/dist/i18n/locales/el.d.ts +7 -0
  19. package/dist/i18n/locales/es.d.ts +7 -0
  20. package/dist/i18n/locales/fr.d.ts +7 -0
  21. package/dist/i18n/locales/hi.d.ts +7 -0
  22. package/dist/i18n/locales/ja.d.ts +7 -0
  23. package/dist/i18n/locales/nl.d.ts +7 -0
  24. package/dist/i18n/locales/pl.d.ts +7 -0
  25. package/dist/i18n/locales/pt.d.ts +7 -0
  26. package/dist/i18n/locales/ro.d.ts +7 -0
  27. package/dist/i18n/locales/ru.d.ts +7 -0
  28. package/dist/i18n/locales/sq.d.ts +7 -0
  29. package/dist/i18n/locales/sv.d.ts +7 -0
  30. package/dist/i18n/locales/tr.d.ts +7 -0
  31. package/dist/i18n/locales/zh.d.ts +7 -0
  32. package/dist/i18n/resources.d.ts +14 -0
  33. package/dist/index.js +4 -4
  34. package/dist/locales/ar.json +8 -1
  35. package/dist/locales/de.json +8 -1
  36. package/dist/locales/el.json +8 -1
  37. package/dist/locales/en.json +8 -1
  38. package/dist/locales/es.json +8 -1
  39. package/dist/locales/fr.json +8 -1
  40. package/dist/locales/hi.json +8 -1
  41. package/dist/locales/it.json +8 -1
  42. package/dist/locales/ja.json +8 -1
  43. package/dist/locales/nl.json +8 -1
  44. package/dist/locales/pl.json +8 -1
  45. package/dist/locales/pt.json +8 -1
  46. package/dist/locales/ro.json +8 -1
  47. package/dist/locales/ru.json +8 -1
  48. package/dist/locales/sq.json +8 -1
  49. package/dist/locales/sv.json +8 -1
  50. package/dist/locales/tr.json +8 -1
  51. package/dist/locales/zh.json +8 -1
  52. package/package.json +5 -1
@@ -1,17 +1,17 @@
1
- import { jsx as e, jsxs as i, Fragment as I } from "react/jsx-runtime";
2
- import { forwardRef as S, useMemo as $, useImperativeHandle as j } from "react";
3
- import { c as E } from "./index-D2ZczOXr.js";
4
- import { useTranslation as V } from "react-i18next";
1
+ import { jsx as e, jsxs as i, Fragment as z } from "react/jsx-runtime";
2
+ import { forwardRef as E, useMemo as A, useImperativeHandle as V } from "react";
3
+ import { c as _ } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as H } from "react-i18next";
5
5
  import { L as d } from "./link-DrD_cRUg.js";
6
6
  import { S as f } from "./separator-CYU_bGFn.js";
7
- import { L as _ } from "./logo-_Z-jLq80.js";
8
- import { A as H, b as P, c as R, a as D } from "./accordion-CNcodXuO.js";
9
- const z = "https://www.alfadocs.com", A = {
7
+ import { L as P } from "./logo-_Z-jLq80.js";
8
+ import { A as R, b as D, c as G, a as U } from "./accordion-CNcodXuO.js";
9
+ const L = "https://www.alfadocs.com", C = {
10
10
  privacy: "/privacy-prenotazione-online",
11
11
  terms: "/it/condizioni-di-utilizzo",
12
12
  contacts: "/it/contattaci"
13
- }, G = {
14
- it: A,
13
+ }, O = {
14
+ it: C,
15
15
  en: {
16
16
  privacy: "/en/privacy",
17
17
  terms: "/en/terms-of-use",
@@ -32,45 +32,45 @@ const z = "https://www.alfadocs.com", A = {
32
32
  terms: "/es/condiciones-uso",
33
33
  contacts: "/es/contacto"
34
34
  }
35
- }, U = "https://";
36
- function O(a) {
37
- return !a || !a.startsWith(U) ? z : a.replace(/\/+$/, "");
35
+ }, Y = "https://";
36
+ function B(t) {
37
+ return !t || !t.startsWith(Y) ? L : t.replace(/\/+$/, "");
38
38
  }
39
- function N(a, t, s) {
40
- var m, p;
41
- const n = (m = s == null ? void 0 : s[t]) == null ? void 0 : m[a];
39
+ function k(t, s, a) {
40
+ var m, u;
41
+ const n = (m = a == null ? void 0 : a[s]) == null ? void 0 : m[t];
42
42
  if (n) return n;
43
- const r = (p = G[a]) == null ? void 0 : p[t];
44
- return r || A[t];
43
+ const r = (u = O[t]) == null ? void 0 : u[s];
44
+ return r || C[s];
45
45
  }
46
- function Y(a, t, s) {
47
- const n = O(t), r = (a || "it").split("-")[0];
46
+ function K(t, s, a) {
47
+ const n = B(s), r = (t || "it").split("-")[0];
48
48
  return {
49
- privacy: `${n}${N(r, "privacy", s)}`,
50
- terms: `${n}${N(r, "terms", s)}`,
51
- contacts: `${n}${N(r, "contacts", s)}`
49
+ privacy: `${n}${k(r, "privacy", a)}`,
50
+ terms: `${n}${k(r, "terms", a)}`,
51
+ contacts: `${n}${k(r, "contacts", a)}`
52
52
  };
53
53
  }
54
- const B = [
54
+ const W = [
55
55
  "linkedin",
56
56
  "youtube",
57
57
  "instagram",
58
58
  "facebook"
59
- ], K = {
59
+ ], X = {
60
60
  linkedin: "https://www.linkedin.com/company/alfadocs",
61
61
  youtube: "https://www.youtube.com/@alfadocs",
62
62
  instagram: "https://www.instagram.com/alfadocs",
63
63
  facebook: "https://www.facebook.com/alfadocs"
64
- }, x = {
64
+ }, b = {
65
65
  viewBox: "0 0 24 24",
66
66
  fill: "currentColor",
67
67
  xmlns: "http://www.w3.org/2000/svg"
68
- }, W = (a) => /* @__PURE__ */ e("svg", { ...x, ...a, children: /* @__PURE__ */ e("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) }), X = (a) => /* @__PURE__ */ e("svg", { ...x, ...a, children: /* @__PURE__ */ e("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) }), q = (a) => /* @__PURE__ */ e("svg", { ...x, ...a, children: /* @__PURE__ */ e("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z" }) }), J = (a) => /* @__PURE__ */ e("svg", { ...x, ...a, children: /* @__PURE__ */ e("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) }), Q = {
69
- linkedin: W,
70
- youtube: X,
71
- instagram: q,
72
- facebook: J
73
- }, Z = "AlfaDocs GmbH", ee = "P.IVA DE301955405", ae = E(
68
+ }, q = (t) => /* @__PURE__ */ e("svg", { ...b, ...t, children: /* @__PURE__ */ e("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.063 2.063 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) }), J = (t) => /* @__PURE__ */ e("svg", { ...b, ...t, children: /* @__PURE__ */ e("path", { d: "M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" }) }), Q = (t) => /* @__PURE__ */ e("svg", { ...b, ...t, children: /* @__PURE__ */ e("path", { d: "M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 1 0 0 12.324 6.162 6.162 0 0 0 0-12.324zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm6.406-11.845a1.44 1.44 0 1 0 0 2.881 1.44 1.44 0 0 0 0-2.881z" }) }), Z = (t) => /* @__PURE__ */ e("svg", { ...b, ...t, children: /* @__PURE__ */ e("path", { d: "M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z" }) }), ee = {
69
+ linkedin: q,
70
+ youtube: J,
71
+ instagram: Q,
72
+ facebook: Z
73
+ }, te = "AlfaDocs GmbH", se = "P.IVA DE301955405", ae = _(
74
74
  [
75
75
  "ds:w-full",
76
76
  "ds:text-[color:var(--muted-foreground)]",
@@ -99,13 +99,13 @@ const B = [
99
99
  },
100
100
  defaultVariants: { variant: "compact" }
101
101
  }
102
- ), te = /^(https?:\/\/|mailto:|tel:|\/(?!\/))/i;
103
- function k(a) {
104
- return te.test(a) ? a : "#";
102
+ ), ne = /^(https?:\/\/|mailto:|tel:|\/(?!\/))/i;
103
+ function I(t) {
104
+ return ne.test(t) ? t : "#";
105
105
  }
106
- function L({
107
- copyright: a,
108
- align: t = "center"
106
+ function F({
107
+ copyright: t,
108
+ align: s = "center"
109
109
  }) {
110
110
  return /* @__PURE__ */ e(
111
111
  "p",
@@ -113,83 +113,86 @@ function L({
113
113
  className: [
114
114
  "ds:m-0 ds:text-[color:var(--muted-foreground)]",
115
115
  "ds:text-[length:var(--font-size-sm)]",
116
- t === "center" ? "ds:text-center" : "ds:text-start"
116
+ s === "center" ? "ds:text-center" : "ds:text-start"
117
117
  ].join(" "),
118
- children: a
118
+ children: t
119
119
  }
120
120
  );
121
121
  }
122
- const se = S(
122
+ const re = E(
123
123
  function({
124
- variant: t,
125
- marketingBaseUrl: s,
124
+ variant: s,
125
+ marketingBaseUrl: a,
126
126
  legalUrlOverrides: n,
127
127
  linkGroups: r,
128
128
  socials: m,
129
- logoSlot: p,
129
+ logoSlot: u,
130
130
  extraNavSlot: h,
131
131
  trustBadgesSlot: v,
132
- id: g,
133
- "aria-label": b
132
+ showTagline: g = !0,
133
+ id: x,
134
+ "aria-label": y
134
135
  }, c) {
135
- const { t: o, i18n: l } = V("ui"), u = $(
136
- () => Y(l.language, s, n),
137
- [l.language, s, n]
136
+ const { t: o, i18n: l } = H("ui"), p = A(
137
+ () => K(l.language, a, n),
138
+ [l.language, a, n]
138
139
  );
139
- j(
140
+ V(
140
141
  c,
141
142
  () => ({
142
- getVariant: () => t,
143
- getLegalUrls: () => u
143
+ getVariant: () => s,
144
+ getLegalUrls: () => p
144
145
  }),
145
- [t, u]
146
+ [s, p]
146
147
  );
147
- const C = (/* @__PURE__ */ new Date()).getFullYear(), y = o("footer.copyright", {
148
- year: C,
149
- entity: Z,
150
- vat: ee
151
- }), F = b ?? o("footer.nav.label"), w = {
148
+ const T = (/* @__PURE__ */ new Date()).getFullYear(), w = o("footer.copyright", {
149
+ year: T,
150
+ entity: te,
151
+ vat: se
152
+ }), $ = g ? o("footer.tagline") : void 0, M = y ?? o("footer.nav.label"), N = {
152
153
  privacy: o("footer.nav.privacy"),
153
154
  terms: o("footer.nav.terms"),
154
155
  contacts: o("footer.nav.contacts")
155
- }, T = $(() => m !== void 0 ? m : B.map((M) => ({ network: M })), [m]);
156
+ }, S = A(() => m !== void 0 ? m : W.map((j) => ({ network: j })), [m]);
156
157
  return /* @__PURE__ */ i(
157
158
  "footer",
158
159
  {
159
- id: g,
160
+ id: x,
160
161
  role: "contentinfo",
161
- "aria-label": F,
162
+ "aria-label": M,
162
163
  "data-component": "public-footer",
163
- "data-variant": t,
164
- className: ae({ variant: t }),
164
+ "data-variant": s,
165
+ className: ae({ variant: s }),
165
166
  children: [
166
- t === "minimal" && /* @__PURE__ */ e(
167
- ne,
167
+ s === "minimal" && /* @__PURE__ */ e(
168
+ ce,
168
169
  {
169
- legalUrls: u,
170
- labels: w,
171
- copyright: y,
170
+ legalUrls: p,
171
+ labels: N,
172
+ copyright: w,
172
173
  trustBadgesSlot: v
173
174
  }
174
175
  ),
175
- t === "compact" && /* @__PURE__ */ e(
176
- re,
176
+ s === "compact" && /* @__PURE__ */ e(
177
+ ie,
177
178
  {
178
- legalUrls: u,
179
- labels: w,
180
- copyright: y,
179
+ legalUrls: p,
180
+ labels: N,
181
+ copyright: w,
182
+ tagline: $,
181
183
  extraNavSlot: h
182
184
  }
183
185
  ),
184
- t === "full" && /* @__PURE__ */ e(
185
- ie,
186
+ s === "full" && /* @__PURE__ */ e(
187
+ le,
186
188
  {
187
- legalUrls: u,
188
- labels: w,
189
- copyright: y,
189
+ legalUrls: p,
190
+ labels: N,
191
+ copyright: w,
192
+ tagline: $,
190
193
  linkGroups: r,
191
- socials: T,
192
- logoSlot: p,
194
+ socials: S,
195
+ logoSlot: u,
193
196
  extraNavSlot: h,
194
197
  trustBadgesSlot: v,
195
198
  t: o
@@ -200,10 +203,10 @@ const se = S(
200
203
  );
201
204
  }
202
205
  );
203
- function ne({
204
- legalUrls: a,
205
- labels: t,
206
- copyright: s,
206
+ function ce({
207
+ legalUrls: t,
208
+ labels: s,
209
+ copyright: a,
207
210
  trustBadgesSlot: n
208
211
  }) {
209
212
  return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
@@ -218,122 +221,132 @@ function ne({
218
221
  /* @__PURE__ */ e(
219
222
  d,
220
223
  {
221
- href: a.privacy,
224
+ href: t.privacy,
222
225
  external: !0,
223
226
  externalIcon: !1,
224
227
  intent: "subtle",
225
- children: t.privacy
228
+ children: s.privacy
226
229
  }
227
230
  ),
228
231
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
229
232
  /* @__PURE__ */ e(
230
233
  d,
231
234
  {
232
- href: a.terms,
235
+ href: t.terms,
233
236
  external: !0,
234
237
  externalIcon: !1,
235
238
  intent: "subtle",
236
- children: t.terms
239
+ children: s.terms
237
240
  }
238
241
  ),
239
242
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
240
- /* @__PURE__ */ e("span", { children: s })
243
+ /* @__PURE__ */ e("span", { children: a })
241
244
  ] });
242
245
  }
243
- function re({
244
- legalUrls: a,
245
- labels: t,
246
- copyright: s,
247
- extraNavSlot: n
246
+ function ie({
247
+ legalUrls: t,
248
+ labels: s,
249
+ copyright: a,
250
+ tagline: n,
251
+ extraNavSlot: r
248
252
  }) {
249
253
  return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)]", children: [
250
254
  /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-sm)]", children: [
251
255
  /* @__PURE__ */ e(
252
256
  d,
253
257
  {
254
- href: a.privacy,
258
+ href: t.privacy,
255
259
  external: !0,
256
260
  externalIcon: !1,
257
261
  intent: "subtle",
258
- children: t.privacy
262
+ children: s.privacy
259
263
  }
260
264
  ),
261
265
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
262
266
  /* @__PURE__ */ e(
263
267
  d,
264
268
  {
265
- href: a.terms,
269
+ href: t.terms,
266
270
  external: !0,
267
271
  externalIcon: !1,
268
272
  intent: "subtle",
269
- children: t.terms
273
+ children: s.terms
270
274
  }
271
275
  ),
272
276
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
273
277
  /* @__PURE__ */ e(
274
278
  d,
275
279
  {
276
- href: a.contacts,
280
+ href: t.contacts,
277
281
  external: !0,
278
282
  externalIcon: !1,
279
283
  intent: "subtle",
280
- children: t.contacts
284
+ children: s.contacts
281
285
  }
282
286
  ),
283
- n && /* @__PURE__ */ i(I, { children: [
287
+ r && /* @__PURE__ */ i(z, { children: [
284
288
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
285
- /* @__PURE__ */ e("span", { "data-slot": "extra-nav", children: n })
289
+ /* @__PURE__ */ e("span", { "data-slot": "extra-nav", children: r })
286
290
  ] })
287
291
  ] }),
288
- /* @__PURE__ */ e(L, { copyright: s })
292
+ /* @__PURE__ */ e(F, { copyright: a }),
293
+ n ? /* @__PURE__ */ e(
294
+ "p",
295
+ {
296
+ "data-slot": "tagline",
297
+ className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
298
+ children: n
299
+ }
300
+ ) : null
289
301
  ] });
290
302
  }
291
- function ce(a, t) {
303
+ function oe(t, s) {
292
304
  return {
293
305
  key: "legal",
294
306
  links: [
295
- { href: a.privacy, label: t.privacy, external: !0 },
296
- { href: a.terms, label: t.terms, external: !0 },
297
- { href: a.contacts, label: t.contacts, external: !0 }
307
+ { href: t.privacy, label: s.privacy, external: !0 },
308
+ { href: t.terms, label: s.terms, external: !0 },
309
+ { href: t.contacts, label: s.contacts, external: !0 }
298
310
  ]
299
311
  };
300
312
  }
301
- function ie({
302
- legalUrls: a,
303
- labels: t,
304
- copyright: s,
305
- linkGroups: n,
306
- socials: r,
307
- logoSlot: m,
308
- extraNavSlot: p,
309
- trustBadgesSlot: h,
310
- t: v
313
+ function le({
314
+ legalUrls: t,
315
+ labels: s,
316
+ copyright: a,
317
+ tagline: n,
318
+ linkGroups: r,
319
+ socials: m,
320
+ logoSlot: u,
321
+ extraNavSlot: h,
322
+ trustBadgesSlot: v,
323
+ t: g
311
324
  }) {
312
- const g = [
313
- ...n ?? [],
314
- ce(a, t)
315
- ], b = /* @__PURE__ */ i(
325
+ const x = [
326
+ ...r ?? [],
327
+ oe(t, s)
328
+ ], y = /* @__PURE__ */ i(
316
329
  "div",
317
330
  {
318
331
  "data-slot": "brand",
319
332
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
320
333
  children: [
321
- /* @__PURE__ */ e("div", { className: "ds:inline-flex", children: m ?? /* @__PURE__ */ e(_, { variant: "wordmark", tone: "auto", "aria-label": "AlfaDocs" }) }),
322
- r.length > 0 && /* @__PURE__ */ e(
334
+ /* @__PURE__ */ e("div", { className: "ds:inline-flex", children: u ?? /* @__PURE__ */ e(P, { variant: "wordmark", tone: "auto", "aria-label": "AlfaDocs" }) }),
335
+ m.length > 0 && /* @__PURE__ */ e(
323
336
  "ul",
324
337
  {
325
338
  "data-slot": "socials",
326
339
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
327
- children: r.map((c) => {
328
- const o = Q[c.network], l = c.href ?? K[c.network], u = v(`footer.social.aria.${c.network}`);
340
+ children: m.map((c) => {
341
+ const o = ee[c.network], l = c.href ?? X[c.network], p = g(`footer.social.aria.${c.network}`);
329
342
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
330
343
  d,
331
344
  {
332
- href: k(l),
345
+ href: I(l),
333
346
  external: !0,
334
347
  externalIcon: !1,
335
348
  intent: "subtle",
336
- "aria-label": u,
349
+ "aria-label": p,
337
350
  className: "ds:inline-flex ds:items-center ds:justify-center ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)]",
338
351
  children: /* @__PURE__ */ e(
339
352
  o,
@@ -353,29 +366,29 @@ function ie({
353
366
  );
354
367
  return /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)]", children: [
355
368
  /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xl)] ds:lg:flex-row ds:lg:items-start ds:lg:gap-[var(--spacing-xl)]", children: [
356
- /* @__PURE__ */ e("div", { className: "ds:lg:w-[15rem] ds:lg:shrink-0", children: b }),
369
+ /* @__PURE__ */ e("div", { className: "ds:lg:w-[15rem] ds:lg:shrink-0", children: y }),
357
370
  /* @__PURE__ */ i("div", { className: "ds:flex-1 ds:min-w-0", children: [
358
371
  /* @__PURE__ */ e(
359
372
  "div",
360
373
  {
361
374
  className: "ds:hidden ds:md:grid ds:md:grid-cols-2 ds:lg:grid-cols-4 ds:gap-[var(--spacing-lg)]",
362
375
  "data-slot": "link-columns-grid",
363
- "data-columns": g.length,
364
- children: /* @__PURE__ */ e(oe, { columns: g, t: v })
376
+ "data-columns": x.length,
377
+ children: /* @__PURE__ */ e(de, { columns: x, t: g })
365
378
  }
366
379
  ),
367
- /* @__PURE__ */ e("div", { className: "ds:md:hidden", "data-slot": "link-columns-accordion", children: /* @__PURE__ */ e(H, { type: "multiple", children: g.map((c, o) => /* @__PURE__ */ i(
368
- P,
380
+ /* @__PURE__ */ e("div", { className: "ds:md:hidden", "data-slot": "link-columns-accordion", children: /* @__PURE__ */ e(R, { type: "multiple", children: x.map((c, o) => /* @__PURE__ */ i(
381
+ D,
369
382
  {
370
383
  value: `${o}-${c.key}`,
371
384
  children: [
372
- /* @__PURE__ */ e(R, { children: v(`footer.group.${c.key}`, {
385
+ /* @__PURE__ */ e(G, { children: g(`footer.group.${c.key}`, {
373
386
  defaultValue: c.key
374
387
  }) }),
375
- /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: c.links.map((l) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
388
+ /* @__PURE__ */ e(U, { children: /* @__PURE__ */ e("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: c.links.map((l) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
376
389
  d,
377
390
  {
378
- href: k(l.href),
391
+ href: I(l.href),
379
392
  external: l.external,
380
393
  externalIcon: !1,
381
394
  intent: "subtle",
@@ -390,7 +403,7 @@ function ie({
390
403
  ] }),
391
404
  /* @__PURE__ */ e(f, { orientation: "horizontal" }),
392
405
  /* @__PURE__ */ i("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:sm:flex-row ds:sm:items-center ds:sm:justify-between", children: [
393
- /* @__PURE__ */ e(L, { copyright: s, align: "start" }),
406
+ /* @__PURE__ */ e(F, { copyright: a, align: "start" }),
394
407
  /* @__PURE__ */ i(
395
408
  "div",
396
409
  {
@@ -400,95 +413,103 @@ function ie({
400
413
  /* @__PURE__ */ e(
401
414
  d,
402
415
  {
403
- href: a.privacy,
416
+ href: t.privacy,
404
417
  external: !0,
405
418
  externalIcon: !1,
406
419
  intent: "subtle",
407
- children: t.privacy
420
+ children: s.privacy
408
421
  }
409
422
  ),
410
423
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
411
424
  /* @__PURE__ */ e(
412
425
  d,
413
426
  {
414
- href: a.terms,
427
+ href: t.terms,
415
428
  external: !0,
416
429
  externalIcon: !1,
417
430
  intent: "subtle",
418
- children: t.terms
431
+ children: s.terms
419
432
  }
420
433
  ),
421
- (h || p) && /* @__PURE__ */ i(I, { children: [
434
+ (v || h) && /* @__PURE__ */ i(z, { children: [
422
435
  /* @__PURE__ */ e(f, { orientation: "vertical", className: "ds:h-4" }),
423
- h && /* @__PURE__ */ e(
436
+ v && /* @__PURE__ */ e(
424
437
  "span",
425
438
  {
426
439
  "data-slot": "trust-badges",
427
440
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
428
- children: h
441
+ children: v
429
442
  }
430
443
  ),
431
- p && /* @__PURE__ */ e(
444
+ h && /* @__PURE__ */ e(
432
445
  "span",
433
446
  {
434
447
  "data-slot": "extra-nav",
435
448
  className: "ds:inline-flex ds:items-center",
436
- children: p
449
+ children: h
437
450
  }
438
451
  )
439
452
  ] })
440
453
  ]
441
454
  }
442
455
  )
443
- ] })
456
+ ] }),
457
+ n ? /* @__PURE__ */ e(
458
+ "p",
459
+ {
460
+ "data-slot": "tagline",
461
+ className: "ds:m-0 ds:text-center ds:text-[color:var(--muted-foreground)] ds:text-[length:var(--font-size-xs)] ds:italic",
462
+ children: n
463
+ }
464
+ ) : null
444
465
  ] });
445
466
  }
446
- function oe({
447
- columns: a,
448
- t
467
+ function de({
468
+ columns: t,
469
+ t: s
449
470
  }) {
450
- return /* @__PURE__ */ e(I, { children: a.map((s, n) => /* @__PURE__ */ i(
471
+ return /* @__PURE__ */ e(z, { children: t.map((a, n) => /* @__PURE__ */ i(
451
472
  "section",
452
473
  {
453
- "aria-labelledby": `public-footer-group-${n}-${s.key}`,
474
+ "aria-labelledby": `public-footer-group-${n}-${a.key}`,
454
475
  children: [
455
476
  /* @__PURE__ */ e(
456
477
  "h3",
457
478
  {
458
- id: `public-footer-group-${n}-${s.key}`,
479
+ id: `public-footer-group-${n}-${a.key}`,
459
480
  className: "ds:m-0 ds:mb-[var(--spacing-sm)] ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium",
460
- children: t(`footer.group.${s.key}`, { defaultValue: s.key })
481
+ children: s(`footer.group.${a.key}`, { defaultValue: a.key })
461
482
  }
462
483
  ),
463
- /* @__PURE__ */ e("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: s.links.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
484
+ /* @__PURE__ */ e("ul", { className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: a.links.map((r) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
464
485
  d,
465
486
  {
466
- href: k(r.href),
487
+ href: I(r.href),
467
488
  external: r.external,
468
489
  externalIcon: !1,
469
490
  intent: "subtle",
470
491
  children: r.label
471
492
  }
472
- ) }, `${s.key}-${r.href}-${r.label}`)) })
493
+ ) }, `${a.key}-${r.href}-${r.label}`)) })
473
494
  ]
474
495
  },
475
- `${n}-${s.key}`
496
+ `${n}-${a.key}`
476
497
  )) });
477
498
  }
478
- se.displayName = "PublicFooter";
479
- const ge = {
499
+ re.displayName = "PublicFooter";
500
+ const be = {
480
501
  id: "public-footer",
481
502
  capabilities: ["navigate"],
482
503
  state: {
483
504
  variant: {
484
505
  type: "string",
485
506
  description: "Active variant — one of `minimal`, `compact`, `full`.",
486
- read: (a) => a.getVariant()
507
+ read: (t) => t.getVariant()
487
508
  },
488
509
  legalUrls: {
489
510
  type: "object",
490
511
  description: "Resolved legal URLs for the active locale + marketingBaseUrl + overrides: `{ privacy, terms, contacts }`.",
491
- read: (a) => a.getLegalUrls()
512
+ read: (t) => t.getLegalUrls()
492
513
  }
493
514
  },
494
515
  actions: {},
@@ -506,11 +527,11 @@ const ge = {
506
527
  }
507
528
  };
508
529
  export {
509
- z as D,
510
- se as P,
511
- B as S,
512
- K as a,
513
- Y as c,
514
- ge as p
530
+ L as D,
531
+ re as P,
532
+ W as S,
533
+ X as a,
534
+ K as c,
535
+ be as p
515
536
  };
516
- //# sourceMappingURL=public-footer.agent-CA29gxHJ.js.map
537
+ //# sourceMappingURL=public-footer.agent-DivkKdG4.js.map