@alfadocs/ui-kit 0.11.0 → 0.12.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 (32) hide show
  1. package/dist/_chunks/_commonjsHelpers-C6fGbg64.js +7 -0
  2. package/dist/_chunks/{ai-prompt-input-bAJwYu84.js → ai-prompt-input-noh-N3cf.js} +2 -2
  3. package/dist/_chunks/{contact-card-VJIUqKB2.js → contact-card-DTQUMetD.js} +22 -38
  4. package/dist/_chunks/external-link-C6F25E6k.js +16 -0
  5. package/dist/_chunks/{file-upload-DIecAfC-.js → file-upload-nMh-1jDD.js} +2 -2
  6. package/dist/_chunks/{index-CeY1nNvd.js → index-CFoBa86t.js} +61 -63
  7. package/dist/_chunks/{link-BGpwaFik.js → link-DmM5IevO.js} +16 -26
  8. package/dist/_chunks/map-pin-B8STOPMJ.js +21 -0
  9. package/dist/_chunks/map-view-Dd48BxVB.js +1941 -0
  10. package/dist/_chunks/whatsapp-button-Bj5FIhpC.js +175 -0
  11. package/dist/agent-catalog.json +53 -1
  12. package/dist/components/ai-prompt-input/index.js +1 -1
  13. package/dist/components/contact-card/index.js +1 -1
  14. package/dist/components/file-upload/index.js +1 -1
  15. package/dist/components/index.d.ts +2 -0
  16. package/dist/components/link/index.js +1 -1
  17. package/dist/components/map-view/index.d.ts +3 -0
  18. package/dist/components/map-view/index.js +5 -0
  19. package/dist/components/map-view/map-view.agent.d.ts +4 -0
  20. package/dist/components/map-view/map-view.d.ts +78 -0
  21. package/dist/components/whatsapp-button/index.d.ts +3 -0
  22. package/dist/components/whatsapp-button/index.js +5 -0
  23. package/dist/components/whatsapp-button/whatsapp-button.d.ts +32 -0
  24. package/dist/i18n/config.js +45 -6
  25. package/dist/i18n/resources.d.ts +39 -0
  26. package/dist/index.js +348 -344
  27. package/dist/locales/de.json +13 -0
  28. package/dist/locales/en.json +13 -0
  29. package/dist/locales/it.json +13 -0
  30. package/dist/tokens/google-maps-theme.d.ts +15 -0
  31. package/dist/tokens.css +1 -1
  32. package/package.json +15 -1
@@ -0,0 +1,7 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as g
6
+ };
7
+ //# sourceMappingURL=_commonjsHelpers-C6fGbg64.js.map
@@ -4,7 +4,7 @@ import { c as _e } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as re } from "react-i18next";
5
5
  import { u as Ae } from "./registry-C9nwlNyL.js";
6
6
  import { _ as b } from "./index-4xgbg-sn.js";
7
- import { u as Ce } from "./index-CeY1nNvd.js";
7
+ import { u as Ce } from "./index-CFoBa86t.js";
8
8
  import { I as ne } from "./icon-button-C4CGcYuz.js";
9
9
  import { S as Le } from "./select-i9MwQeQy.js";
10
10
  import { S as Re } from "./send-CySZIRPJ.js";
@@ -473,4 +473,4 @@ export {
473
473
  Qe as A,
474
474
  We as a
475
475
  };
476
- //# sourceMappingURL=ai-prompt-input-bAJwYu84.js.map
476
+ //# sourceMappingURL=ai-prompt-input-noh-N3cf.js.map
@@ -1,37 +1,21 @@
1
1
  import { jsxs as t, jsx as a } from "react/jsx-runtime";
2
- import { forwardRef as r, Fragment as b } from "react";
2
+ import { forwardRef as i, Fragment as b } from "react";
3
3
  import { useTranslation as k } from "react-i18next";
4
4
  import { C as o } from "./card-CWzuTLYE.js";
5
- import { L as p } from "./link-BGpwaFik.js";
6
- import { c as L } from "./createLucideIcon-CrFbzy84.js";
7
- /**
8
- * @license lucide-react v1.8.0 - ISC
9
- *
10
- * This source code is licensed under the ISC license.
11
- * See the LICENSE file in the root directory of this source tree.
12
- */
13
- const v = [
14
- [
15
- "path",
16
- {
17
- d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
18
- key: "1r0f0z"
19
- }
20
- ],
21
- ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
22
- ], j = L("map-pin", v);
23
- function O(s) {
5
+ import { L as p } from "./link-DmM5IevO.js";
6
+ import { M as v } from "./map-pin-B8STOPMJ.js";
7
+ function L(s) {
24
8
  return `tel:${s.replace(/\(0\)/g, "").replace(/[^\d+]/g, "")}`;
25
9
  }
26
- const f = r(
27
- ({ title: s, variant: e = "default", className: d, children: n, ...c }, i) => /* @__PURE__ */ t(
10
+ const f = i(
11
+ ({ title: s, variant: e = "default", className: d, children: n, ...r }, c) => /* @__PURE__ */ t(
28
12
  o,
29
13
  {
30
- ref: i,
14
+ ref: c,
31
15
  variant: e,
32
16
  "data-component": "contact-card",
33
17
  className: d,
34
- ...c,
18
+ ...r,
35
19
  children: [
36
20
  s !== void 0 ? /* @__PURE__ */ a(o.Header, { children: /* @__PURE__ */ a("h2", { className: "type-title-card ds:text-foreground", children: s }) }) : null,
37
21
  /* @__PURE__ */ a(
@@ -52,9 +36,9 @@ const f = r(
52
36
  )
53
37
  );
54
38
  f.displayName = "ContactCard";
55
- const u = r(
56
- ({ name: s, lines: e, vatNumber: d, phone: n, nameAs: c = "p", className: i, ...C }, h) => {
57
- const { t: l } = k(), N = c;
39
+ const u = i(
40
+ ({ name: s, lines: e, vatNumber: d, phone: n, nameAs: r = "p", className: c, ...C }, h) => {
41
+ const { t: l } = k(), N = r;
58
42
  return /* @__PURE__ */ t(
59
43
  "address",
60
44
  {
@@ -65,13 +49,13 @@ const u = r(
65
49
  // the kit's type ramp already encodes intent — italic would
66
50
  // double up with a heading-bold name and read as emphasis.
67
51
  "ds:not-italic ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
68
- i
52
+ c
69
53
  ].filter(Boolean).join(" "),
70
54
  ...C,
71
55
  children: [
72
56
  /* @__PURE__ */ t(N, { className: "ds:m-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)] type-label ds:font-semibold ds:text-foreground", children: [
73
57
  /* @__PURE__ */ a(
74
- j,
58
+ v,
75
59
  {
76
60
  "aria-hidden": "true",
77
61
  className: "ds:size-[1.25em] ds:text-primary ds:shrink-0"
@@ -89,7 +73,7 @@ const u = r(
89
73
  ] }) : null,
90
74
  n ? /* @__PURE__ */ t("div", { className: "type-body-sm ds:text-muted-foreground ds:inline-flex ds:items-baseline ds:gap-[var(--spacing-2xs)] ds:flex-wrap", children: [
91
75
  /* @__PURE__ */ a("span", { children: l("contactCard.phoneLabel") }),
92
- /* @__PURE__ */ a(p, { href: O(n), intent: "default", children: /* @__PURE__ */ a("span", { className: "ds:[unicode-bidi:isolate]", children: n }) })
76
+ /* @__PURE__ */ a(p, { href: L(n), intent: "default", children: /* @__PURE__ */ a("span", { className: "ds:[unicode-bidi:isolate]", children: n }) })
93
77
  ] }) : null
94
78
  ]
95
79
  }
@@ -97,7 +81,7 @@ const u = r(
97
81
  }
98
82
  );
99
83
  u.displayName = "ContactCard.Office";
100
- const x = r(
84
+ const g = i(
101
85
  ({ className: s, children: e, ...d }, n) => /* @__PURE__ */ a(
102
86
  "ul",
103
87
  {
@@ -113,9 +97,9 @@ const x = r(
113
97
  }
114
98
  )
115
99
  );
116
- x.displayName = "ContactCard.Links";
117
- const g = r(
118
- ({ href: s, icon: e, external: d, children: n }, c) => /* @__PURE__ */ a("li", { ref: c, className: "ds:m-0", children: /* @__PURE__ */ a(
100
+ g.displayName = "ContactCard.Links";
101
+ const x = i(
102
+ ({ href: s, icon: e, external: d, children: n }, r) => /* @__PURE__ */ a("li", { ref: r, className: "ds:m-0", children: /* @__PURE__ */ a(
119
103
  p,
120
104
  {
121
105
  href: s,
@@ -125,13 +109,13 @@ const g = r(
125
109
  }
126
110
  ) })
127
111
  );
128
- g.displayName = "ContactCard.Link";
112
+ x.displayName = "ContactCard.Link";
129
113
  const M = Object.assign(f, {
130
114
  Office: u,
131
- Links: x,
132
- Link: g
115
+ Links: g,
116
+ Link: x
133
117
  });
134
118
  export {
135
119
  M as C
136
120
  };
137
- //# sourceMappingURL=contact-card-VJIUqKB2.js.map
121
+ //# sourceMappingURL=contact-card-DTQUMetD.js.map
@@ -0,0 +1,16 @@
1
+ import { c as a } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const e = [
9
+ ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
10
+ ["path", { d: "M10 14 21 3", key: "gplh6r" }],
11
+ ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
12
+ ], n = a("external-link", e);
13
+ export {
14
+ n as E
15
+ };
16
+ //# sourceMappingURL=external-link-C6F25E6k.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as Ne, useId as Ue, useState as re, useRef as V, useCallback as y, useMemo as q, useEffect as ze } from "react";
3
- import { u as je } from "./index-CeY1nNvd.js";
3
+ import { u as je } from "./index-CFoBa86t.js";
4
4
  import { c as _ } from "./index-D2ZczOXr.js";
5
5
  import { useTranslation as Me } from "react-i18next";
6
6
  import { u as Ce } from "./form-field-context-B3APVHKx.js";
@@ -822,4 +822,4 @@ export {
822
822
  ss as F,
823
823
  Pe as f
824
824
  };
825
- //# sourceMappingURL=file-upload-DIecAfC-.js.map
825
+ //# sourceMappingURL=file-upload-nMh-1jDD.js.map
@@ -1,8 +1,6 @@
1
1
  import Li, { useMemo as ua, useRef as xa, useReducer as Wi, useEffect as ka, useCallback as N, forwardRef as Yi, useImperativeHandle as Ki, Fragment as Hi } from "react";
2
- function Ei(a) {
3
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
4
- }
5
- var Ea = { exports: {} }, ja = { exports: {} }, T = {};
2
+ import { g as Ei } from "./_commonjsHelpers-C6fGbg64.js";
3
+ var Ea = { exports: {} }, ja = { exports: {} }, O = {};
6
4
  /** @license React v16.13.1
7
5
  * react-is.production.min.js
8
6
  *
@@ -13,7 +11,7 @@ var Ea = { exports: {} }, ja = { exports: {} }, T = {};
13
11
  */
14
12
  var ai;
15
13
  function Gi() {
16
- if (ai) return T;
14
+ if (ai) return O;
17
15
  ai = 1;
18
16
  var a = typeof Symbol == "function" && Symbol.for, i = a ? Symbol.for("react.element") : 60103, e = a ? Symbol.for("react.portal") : 60106, t = a ? Symbol.for("react.fragment") : 60107, o = a ? Symbol.for("react.strict_mode") : 60108, n = a ? Symbol.for("react.profiler") : 60114, d = a ? Symbol.for("react.provider") : 60109, l = a ? Symbol.for("react.context") : 60110, h = a ? Symbol.for("react.async_mode") : 60111, E = a ? Symbol.for("react.concurrent_mode") : 60111, v = a ? Symbol.for("react.forward_ref") : 60112, k = a ? Symbol.for("react.suspense") : 60113, S = a ? Symbol.for("react.suspense_list") : 60120, R = a ? Symbol.for("react.memo") : 60115, W = a ? Symbol.for("react.lazy") : 60116, A = a ? Symbol.for("react.block") : 60121, $ = a ? Symbol.for("react.fundamental") : 60117, B = a ? Symbol.for("react.responder") : 60118, ta = a ? Symbol.for("react.scope") : 60119;
19
17
  function I(s) {
@@ -49,33 +47,33 @@ function Gi() {
49
47
  function q(s) {
50
48
  return I(s) === E;
51
49
  }
52
- return T.AsyncMode = h, T.ConcurrentMode = E, T.ContextConsumer = l, T.ContextProvider = d, T.Element = i, T.ForwardRef = v, T.Fragment = t, T.Lazy = W, T.Memo = R, T.Portal = e, T.Profiler = n, T.StrictMode = o, T.Suspense = k, T.isAsyncMode = function(s) {
50
+ return O.AsyncMode = h, O.ConcurrentMode = E, O.ContextConsumer = l, O.ContextProvider = d, O.Element = i, O.ForwardRef = v, O.Fragment = t, O.Lazy = W, O.Memo = R, O.Portal = e, O.Profiler = n, O.StrictMode = o, O.Suspense = k, O.isAsyncMode = function(s) {
53
51
  return q(s) || I(s) === h;
54
- }, T.isConcurrentMode = q, T.isContextConsumer = function(s) {
52
+ }, O.isConcurrentMode = q, O.isContextConsumer = function(s) {
55
53
  return I(s) === l;
56
- }, T.isContextProvider = function(s) {
54
+ }, O.isContextProvider = function(s) {
57
55
  return I(s) === d;
58
- }, T.isElement = function(s) {
56
+ }, O.isElement = function(s) {
59
57
  return typeof s == "object" && s !== null && s.$$typeof === i;
60
- }, T.isForwardRef = function(s) {
58
+ }, O.isForwardRef = function(s) {
61
59
  return I(s) === v;
62
- }, T.isFragment = function(s) {
60
+ }, O.isFragment = function(s) {
63
61
  return I(s) === t;
64
- }, T.isLazy = function(s) {
62
+ }, O.isLazy = function(s) {
65
63
  return I(s) === W;
66
- }, T.isMemo = function(s) {
64
+ }, O.isMemo = function(s) {
67
65
  return I(s) === R;
68
- }, T.isPortal = function(s) {
66
+ }, O.isPortal = function(s) {
69
67
  return I(s) === e;
70
- }, T.isProfiler = function(s) {
68
+ }, O.isProfiler = function(s) {
71
69
  return I(s) === n;
72
- }, T.isStrictMode = function(s) {
70
+ }, O.isStrictMode = function(s) {
73
71
  return I(s) === o;
74
- }, T.isSuspense = function(s) {
72
+ }, O.isSuspense = function(s) {
75
73
  return I(s) === k;
76
- }, T.isValidElementType = function(s) {
74
+ }, O.isValidElementType = function(s) {
77
75
  return typeof s == "string" || typeof s == "function" || s === t || s === E || s === n || s === o || s === k || s === S || typeof s == "object" && s !== null && (s.$$typeof === W || s.$$typeof === R || s.$$typeof === d || s.$$typeof === l || s.$$typeof === v || s.$$typeof === $ || s.$$typeof === B || s.$$typeof === ta || s.$$typeof === A);
78
- }, T.typeOf = I, T;
76
+ }, O.typeOf = I, O;
79
77
  }
80
78
  var _ = {};
81
79
  /** @license React v16.13.1
@@ -157,7 +155,7 @@ function Bi() {
157
155
  function j(r) {
158
156
  return q(r) === e;
159
157
  }
160
- function O(r) {
158
+ function T(r) {
161
159
  return q(r) === n;
162
160
  }
163
161
  function D(r) {
@@ -166,7 +164,7 @@ function Bi() {
166
164
  function Y(r) {
167
165
  return q(r) === k;
168
166
  }
169
- _.AsyncMode = s, _.ConcurrentMode = J, _.ContextConsumer = V, _.ContextProvider = pa, _.Element = aa, _.ForwardRef = ia, _.Fragment = ra, _.Lazy = ca, _.Memo = na, _.Portal = C, _.Profiler = G, _.StrictMode = U, _.Suspense = X, _.isAsyncMode = M, _.isConcurrentMode = p, _.isContextConsumer = m, _.isContextProvider = g, _.isElement = w, _.isForwardRef = f, _.isFragment = b, _.isLazy = y, _.isMemo = x, _.isPortal = j, _.isProfiler = O, _.isStrictMode = D, _.isSuspense = Y, _.isValidElementType = I, _.typeOf = q;
167
+ _.AsyncMode = s, _.ConcurrentMode = J, _.ContextConsumer = V, _.ContextProvider = pa, _.Element = aa, _.ForwardRef = ia, _.Fragment = ra, _.Lazy = ca, _.Memo = na, _.Portal = C, _.Profiler = G, _.StrictMode = U, _.Suspense = X, _.isAsyncMode = M, _.isConcurrentMode = p, _.isContextConsumer = m, _.isContextProvider = g, _.isElement = w, _.isForwardRef = f, _.isFragment = b, _.isLazy = y, _.isMemo = x, _.isPortal = j, _.isProfiler = T, _.isStrictMode = D, _.isSuspense = Y, _.isValidElementType = I, _.typeOf = q;
170
168
  })()), _;
171
169
  }
172
170
  var ei;
@@ -339,7 +337,7 @@ function Vi() {
339
337
  function $(p) {
340
338
  if (process.env.NODE_ENV !== "production")
341
339
  var m = {}, g = 0;
342
- function w(b, y, x, j, O, D, Y) {
340
+ function w(b, y, x, j, T, D, Y) {
343
341
  if (j = j || S, D = D || x, Y !== e) {
344
342
  if (h) {
345
343
  var r = new Error(
@@ -354,15 +352,15 @@ function Vi() {
354
352
  ), m[K] = !0, g++);
355
353
  }
356
354
  }
357
- return y[x] == null ? b ? y[x] === null ? new A("The " + O + " `" + D + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new A("The " + O + " `" + D + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : p(y, x, j, O, D);
355
+ return y[x] == null ? b ? y[x] === null ? new A("The " + T + " `" + D + "` is marked as required " + ("in `" + j + "`, but its value is `null`.")) : new A("The " + T + " `" + D + "` is marked as required in " + ("`" + j + "`, but its value is `undefined`.")) : null : p(y, x, j, T, D);
358
356
  }
359
357
  var f = w.bind(null, !1);
360
358
  return f.isRequired = w.bind(null, !0), f;
361
359
  }
362
360
  function B(p) {
363
361
  function m(g, w, f, b, y, x) {
364
- var j = g[w], O = U(j);
365
- if (O !== p) {
362
+ var j = g[w], T = U(j);
363
+ if (T !== p) {
366
364
  var D = X(j);
367
365
  return new A(
368
366
  "Invalid " + b + " `" + y + "` of type " + ("`" + D + "` supplied to `" + f + "`, expected ") + ("`" + p + "`."),
@@ -385,8 +383,8 @@ function Vi() {
385
383
  var j = U(x);
386
384
  return new A("Invalid " + b + " `" + y + "` of type " + ("`" + j + "` supplied to `" + f + "`, expected an array."));
387
385
  }
388
- for (var O = 0; O < x.length; O++) {
389
- var D = p(x, O, f, b, y + "[" + O + "]", e);
386
+ for (var T = 0; T < x.length; T++) {
387
+ var D = p(x, T, f, b, y + "[" + T + "]", e);
390
388
  if (D instanceof Error)
391
389
  return D;
392
390
  }
@@ -435,11 +433,11 @@ function Vi() {
435
433
  for (var x = g[w], j = 0; j < p.length; j++)
436
434
  if (W(x, p[j]))
437
435
  return null;
438
- var O = JSON.stringify(p, function(Y, r) {
436
+ var T = JSON.stringify(p, function(Y, r) {
439
437
  var K = X(r);
440
438
  return K === "symbol" ? String(r) : r;
441
439
  });
442
- return new A("Invalid " + b + " `" + y + "` of value `" + String(x) + "` " + ("supplied to `" + f + "`, expected one of " + O + "."));
440
+ return new A("Invalid " + b + " `" + y + "` of value `" + String(x) + "` " + ("supplied to `" + f + "`, expected one of " + T + "."));
443
441
  }
444
442
  return $(m);
445
443
  }
@@ -450,9 +448,9 @@ function Vi() {
450
448
  var x = g[w], j = U(x);
451
449
  if (j !== "object")
452
450
  return new A("Invalid " + b + " `" + y + "` of type " + ("`" + j + "` supplied to `" + f + "`, expected an object."));
453
- for (var O in x)
454
- if (t(x, O)) {
455
- var D = p(x, O, f, b, y + "." + O, e);
451
+ for (var T in x)
452
+ if (t(x, T)) {
453
+ var D = p(x, T, f, b, y + "." + T, e);
456
454
  if (D instanceof Error)
457
455
  return D;
458
456
  }
@@ -471,13 +469,13 @@ function Vi() {
471
469
  ), d;
472
470
  }
473
471
  function w(f, b, y, x, j) {
474
- for (var O = [], D = 0; D < p.length; D++) {
472
+ for (var T = [], D = 0; D < p.length; D++) {
475
473
  var Y = p[D], r = Y(f, b, y, x, j, e);
476
474
  if (r == null)
477
475
  return null;
478
- r.data && t(r.data, "expectedType") && O.push(r.data.expectedType);
476
+ r.data && t(r.data, "expectedType") && T.push(r.data.expectedType);
479
477
  }
480
- var K = O.length > 0 ? ", expected one of type [" + O.join(", ") + "]" : "";
478
+ var K = T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "";
481
479
  return new A("Invalid " + x + " `" + j + "` supplied to " + ("`" + y + "`" + K + "."));
482
480
  }
483
481
  return $(w);
@@ -498,11 +496,11 @@ function Vi() {
498
496
  var x = g[w], j = U(x);
499
497
  if (j !== "object")
500
498
  return new A("Invalid " + b + " `" + y + "` of type `" + j + "` " + ("supplied to `" + f + "`, expected `object`."));
501
- for (var O in p) {
502
- var D = p[O];
499
+ for (var T in p) {
500
+ var D = p[T];
503
501
  if (typeof D != "function")
504
- return ra(f, b, y, O, X(D));
505
- var Y = D(x, O, f, b, y + "." + O, e);
502
+ return ra(f, b, y, T, X(D));
503
+ var Y = D(x, T, f, b, y + "." + T, e);
506
504
  if (Y)
507
505
  return Y;
508
506
  }
@@ -515,8 +513,8 @@ function Vi() {
515
513
  var x = g[w], j = U(x);
516
514
  if (j !== "object")
517
515
  return new A("Invalid " + b + " `" + y + "` of type `" + j + "` " + ("supplied to `" + f + "`, expected `object`."));
518
- var O = i({}, g[w], p);
519
- for (var D in O) {
516
+ var T = i({}, g[w], p);
517
+ for (var D in T) {
520
518
  var Y = p[D];
521
519
  if (t(p, D) && typeof Y != "function")
522
520
  return ra(f, b, y, D, X(Y));
@@ -1929,16 +1927,16 @@ const ie = [
1929
1927
  ];
1930
1928
  function ee(a) {
1931
1929
  return da(this, void 0, void 0, function* () {
1932
- return Oa(a) && te(a.dataTransfer) ? re(a.dataTransfer, a.type) : ne(a) ? oe(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? pe(a) : [];
1930
+ return Ta(a) && te(a.dataTransfer) ? re(a.dataTransfer, a.type) : ne(a) ? oe(a) : Array.isArray(a) && a.every((i) => "getFile" in i && typeof i.getFile == "function") ? pe(a) : [];
1933
1931
  });
1934
1932
  }
1935
1933
  function te(a) {
1936
- return Oa(a);
1934
+ return Ta(a);
1937
1935
  }
1938
1936
  function ne(a) {
1939
- return Oa(a) && Oa(a.target);
1937
+ return Ta(a) && Ta(a.target);
1940
1938
  }
1941
- function Oa(a) {
1939
+ function Ta(a) {
1942
1940
  return typeof a == "object" && a !== null;
1943
1941
  }
1944
1942
  function oe(a) {
@@ -1956,7 +1954,7 @@ function re(a, i) {
1956
1954
  if (i !== "drop")
1957
1955
  return e;
1958
1956
  const t = yield Promise.all(e.map(ce));
1959
- return di(Oi(t));
1957
+ return di(Ti(t));
1960
1958
  }
1961
1959
  return di(Ga(a.files).map((e) => fa(e)));
1962
1960
  });
@@ -1978,12 +1976,12 @@ function ce(a) {
1978
1976
  if (typeof a.webkitGetAsEntry != "function")
1979
1977
  return mi(a);
1980
1978
  const i = a.webkitGetAsEntry();
1981
- return i && i.isDirectory ? Ti(i) : mi(a, i);
1979
+ return i && i.isDirectory ? Oi(i) : mi(a, i);
1982
1980
  }
1983
- function Oi(a) {
1981
+ function Ti(a) {
1984
1982
  return a.reduce((i, e) => [
1985
1983
  ...i,
1986
- ...Array.isArray(e) ? Oi(e) : [e]
1984
+ ...Array.isArray(e) ? Ti(e) : [e]
1987
1985
  ], []);
1988
1986
  }
1989
1987
  function mi(a, i) {
@@ -2006,10 +2004,10 @@ function mi(a, i) {
2006
2004
  }
2007
2005
  function le(a) {
2008
2006
  return da(this, void 0, void 0, function* () {
2009
- return a.isDirectory ? Ti(a) : se(a);
2007
+ return a.isDirectory ? Oi(a) : se(a);
2010
2008
  });
2011
2009
  }
2012
- function Ti(a) {
2010
+ function Oi(a) {
2013
2011
  const i = a.createReader();
2014
2012
  return new Promise((e, t) => {
2015
2013
  const o = [];
@@ -2162,11 +2160,11 @@ var ye = typeof Ka == "function" ? Ka : Ka.default, he = "file-invalid-type", we
2162
2160
  code: Ee,
2163
2161
  message: "Too many files"
2164
2162
  };
2165
- function Oe(a) {
2163
+ function Te(a) {
2166
2164
  return a.type === "" && typeof a.getAsFile == "function";
2167
2165
  }
2168
2166
  function Pi(a, i) {
2169
- var e = a.type === "application/x-moz-file" || ye(a, i) || Oe(a);
2167
+ var e = a.type === "application/x-moz-file" || ye(a, i) || Te(a);
2170
2168
  return [e, e ? null : je(i)];
2171
2169
  }
2172
2170
  function Si(a, i, e) {
@@ -2183,14 +2181,14 @@ function Si(a, i, e) {
2183
2181
  function sa(a) {
2184
2182
  return a != null;
2185
2183
  }
2186
- function Te(a) {
2184
+ function Oe(a) {
2187
2185
  var i = a.files, e = a.accept, t = a.minSize, o = a.maxSize, n = a.multiple, d = a.maxFiles, l = a.validator;
2188
2186
  return !n && i.length > 1 || n && d >= 1 && i.length > d ? !1 : i.every(function(h) {
2189
2187
  var E = Pi(h, e), v = ba(E, 1), k = v[0], S = Si(h, t, o), R = ba(S, 1), W = R[0], A = l ? l(h) : null;
2190
2188
  return k && W && !A;
2191
2189
  });
2192
2190
  }
2193
- function Ta(a) {
2191
+ function Oa(a) {
2194
2192
  return typeof a.isPropagationStopped == "function" ? a.isPropagationStopped() : typeof a.cancelBubble < "u" ? a.cancelBubble : !1;
2195
2193
  }
2196
2194
  function ga(a) {
@@ -2218,7 +2216,7 @@ function Q() {
2218
2216
  for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), d = 1; d < o; d++)
2219
2217
  n[d - 1] = arguments[d];
2220
2218
  return i.some(function(l) {
2221
- return !Ta(t) && l && l.apply(void 0, [t].concat(n)), Ta(t);
2219
+ return !Oa(t) && l && l.apply(void 0, [t].concat(n)), Oa(t);
2222
2220
  });
2223
2221
  };
2224
2222
  }
@@ -2634,8 +2632,8 @@ function Ue() {
2634
2632
  pa ? pa(c) : console.error(c);
2635
2633
  }, [pa]), j = N(function(c) {
2636
2634
  c.preventDefault(), c.persist(), ha(c), f.current = [].concat(hi(f.current), [c.target]), ga(c) && Promise.resolve(o(c)).then(function(u) {
2637
- if (!(Ta(c) && !V)) {
2638
- var F = u.length, L = F > 0 && Te({
2635
+ if (!(Oa(c) && !V)) {
2636
+ var F = u.length, L = F > 0 && Oe({
2639
2637
  files: u,
2640
2638
  accept: ia,
2641
2639
  minSize: d,
@@ -2654,7 +2652,7 @@ function Ue() {
2654
2652
  }).catch(function(u) {
2655
2653
  return x(u);
2656
2654
  });
2657
- }, [o, E, x, V, ia, d, n, l, h, aa]), O = N(function(c) {
2655
+ }, [o, E, x, V, ia, d, n, l, h, aa]), T = N(function(c) {
2658
2656
  c.preventDefault(), c.persist(), ha(c);
2659
2657
  var u = ga(c);
2660
2658
  if (u && c.dataTransfer)
@@ -2701,7 +2699,7 @@ function Ue() {
2701
2699
  }), S && S(F, L, u), L.length > 0 && W && W(L, u), F.length > 0 && R && R(F, u);
2702
2700
  }, [M, l, ia, d, n, h, S, R, W, aa]), r = N(function(c) {
2703
2701
  c.preventDefault(), c.persist(), ha(c), f.current = [], ga(c) && Promise.resolve(o(c)).then(function(u) {
2704
- Ta(c) && !V || Y(u, c);
2702
+ Oa(c) && !V || Y(u, c);
2705
2703
  }).catch(function(u) {
2706
2704
  return x(u);
2707
2705
  }), M({
@@ -2761,7 +2759,7 @@ function Ue() {
2761
2759
  onBlur: Aa(Q(ea, Za)),
2762
2760
  onClick: ma(Q(Pa, Qa)),
2763
2761
  onDragEnter: ya(Q(Sa, j)),
2764
- onDragOver: ya(Q(za, O)),
2762
+ onDragOver: ya(Q(za, T)),
2765
2763
  onDragLeave: ya(Q(wa, D)),
2766
2764
  onDrop: ya(Q(Ra, r)),
2767
2765
  role: typeof L == "string" && L !== "" ? L : "presentation"
@@ -2769,7 +2767,7 @@ function Ue() {
2769
2767
  tabIndex: 0
2770
2768
  } : {}), Ca);
2771
2769
  };
2772
- }, [C, la, va, Za, Qa, j, O, D, r, s, J, t]), qi = N(function(c) {
2770
+ }, [C, la, va, Za, Qa, j, T, D, r, s, J, t]), qi = N(function(c) {
2773
2771
  c.stopPropagation();
2774
2772
  }, []), Mi = ua(function() {
2775
2773
  return function() {
@@ -2850,4 +2848,4 @@ function ki() {
2850
2848
  export {
2851
2849
  Ue as u
2852
2850
  };
2853
- //# sourceMappingURL=index-CeY1nNvd.js.map
2851
+ //# sourceMappingURL=index-CFoBa86t.js.map
@@ -1,19 +1,9 @@
1
- import { jsxs as b, jsx as n } from "react/jsx-runtime";
1
+ import { jsxs as y, jsx as n } from "react/jsx-runtime";
2
2
  import { forwardRef as k } from "react";
3
3
  import { c as w } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as N } from "react-i18next";
5
- import { c as L } from "./createLucideIcon-CrFbzy84.js";
6
- /**
7
- * @license lucide-react v1.8.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */
12
- const _ = [
13
- ["path", { d: "M15 3h6v6", key: "1q9fwt" }],
14
- ["path", { d: "M10 14 21 3", key: "gplh6r" }],
15
- ["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
16
- ], j = L("external-link", _), T = w(
5
+ import { E as L } from "./external-link-C6F25E6k.js";
6
+ const j = w(
17
7
  [
18
8
  "ds:underline-offset-4",
19
9
  "ds:rounded-[var(--radius-xs)]",
@@ -55,24 +45,24 @@ const _ = [
55
45
  hasIcon: "no"
56
46
  }
57
47
  }
58
- ), q = k(
48
+ ), T = k(
59
49
  ({
60
50
  href: l,
61
51
  external: e = !1,
62
52
  disabled: s = !1,
63
53
  startIcon: i,
64
54
  endIcon: a,
65
- intent: t,
55
+ intent: r,
66
56
  weight: c,
67
57
  className: f,
68
58
  children: u,
69
59
  target: m,
70
- rel: r,
60
+ rel: t,
71
61
  onClick: o,
72
62
  ...v
73
63
  }, h) => {
74
- const { t: p } = N(), g = e ? "_blank" : m, x = e ? [r, "noopener", "noreferrer"].filter(Boolean).join(" ") : r, y = p("link.opensInNewTab", "Opens in a new tab");
75
- return /* @__PURE__ */ b(
64
+ const { t: p } = N(), g = e ? "_blank" : m, x = e ? [t, "noopener", "noreferrer"].filter(Boolean).join(" ") : t, b = p("link.opensInNewTab", "Opens in a new tab");
65
+ return /* @__PURE__ */ y(
76
66
  "a",
77
67
  {
78
68
  ref: h,
@@ -89,9 +79,9 @@ const _ = [
89
79
  o == null || o(d);
90
80
  },
91
81
  "data-component": "link",
92
- "data-intent": t ?? "default",
93
- className: T({
94
- intent: t,
82
+ "data-intent": r ?? "default",
83
+ className: j({
84
+ intent: r,
95
85
  weight: c,
96
86
  hasIcon: !!(i || a || e) ? "yes" : "no",
97
87
  className: f
@@ -111,8 +101,8 @@ const _ = [
111
101
  "span",
112
102
  {
113
103
  className: "ds:inline-flex ds:items-center",
114
- "aria-label": y,
115
- children: /* @__PURE__ */ n(j, { "aria-hidden": "true", className: "ds:size-[1em]" })
104
+ "aria-label": b,
105
+ children: /* @__PURE__ */ n(L, { "aria-hidden": "true", className: "ds:size-[1em]" })
116
106
  }
117
107
  ) : a ? /* @__PURE__ */ n(
118
108
  "span",
@@ -127,8 +117,8 @@ const _ = [
127
117
  );
128
118
  }
129
119
  );
130
- q.displayName = "Link";
120
+ T.displayName = "Link";
131
121
  export {
132
- q as L
122
+ T as L
133
123
  };
134
- //# sourceMappingURL=link-BGpwaFik.js.map
124
+ //# sourceMappingURL=link-DmM5IevO.js.map
@@ -0,0 +1,21 @@
1
+ import { c } from "./createLucideIcon-CrFbzy84.js";
2
+ /**
3
+ * @license lucide-react v1.8.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const a = [
9
+ [
10
+ "path",
11
+ {
12
+ d: "M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",
13
+ key: "1r0f0z"
14
+ }
15
+ ],
16
+ ["circle", { cx: "12", cy: "10", r: "3", key: "ilqhr7" }]
17
+ ], o = c("map-pin", a);
18
+ export {
19
+ o as M
20
+ };
21
+ //# sourceMappingURL=map-pin-B8STOPMJ.js.map