@equal-experts/kuat-react 0.8.0 → 0.9.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 (60) hide show
  1. package/README.md +120 -7
  2. package/dist/accordion.js +6 -7
  3. package/dist/alert-dialog.js +13 -14
  4. package/dist/badge.js +3 -4
  5. package/dist/button-group.js +6 -7
  6. package/dist/button.js +3 -4
  7. package/dist/carousel-vRCoMeVE.js +1401 -0
  8. package/dist/carousel.d.ts +2 -0
  9. package/dist/carousel.js +9 -0
  10. package/dist/{checkbox-field-Bslh9sHw.js → checkbox-field-7OmstdY0.js} +1 -1
  11. package/dist/checkbox.js +6 -7
  12. package/dist/field.js +11 -12
  13. package/dist/index.d.ts +1 -13
  14. package/dist/index.js +448 -1839
  15. package/dist/input.js +5 -6
  16. package/dist/kuat-carousel-DsHwXGpb.js +16 -0
  17. package/dist/kuat-carousel.d.ts +2 -0
  18. package/dist/kuat-carousel.js +9 -0
  19. package/dist/kuat-radial-progress.js +1 -1
  20. package/dist/{radio-field-G8dvdsLE.js → radio-field-BD77QCpO.js} +1 -1
  21. package/dist/radio.js +6 -7
  22. package/dist/select.js +12 -13
  23. package/dist/sonner.js +1 -1
  24. package/dist/style.css +1 -0
  25. package/dist/style.css.d.ts +2 -0
  26. package/dist/{switch-field-Ce9CiRqk.js → switch-field-xn_CPJH7.js} +1 -1
  27. package/dist/switch.js +1 -1
  28. package/dist/textarea.js +1 -2
  29. package/dist/toggle-group.js +5 -6
  30. package/dist/toggle.js +6 -7
  31. package/package.json +17 -5
  32. package/dist/accordion.css +0 -1
  33. package/dist/alert-dialog.css +0 -1
  34. package/dist/badge.css +0 -1
  35. package/dist/button-group.css +0 -1
  36. package/dist/button.css +0 -1
  37. package/dist/checkbox-field.css +0 -1
  38. package/dist/constants.css +0 -1
  39. package/dist/field.css +0 -1
  40. package/dist/index.css +0 -1
  41. package/dist/input.css +0 -1
  42. package/dist/kuat-radial-progress.css +0 -1
  43. package/dist/radio-field.css +0 -1
  44. package/dist/select.css +0 -1
  45. package/dist/sonner-content.css +0 -1
  46. package/dist/styles.css +0 -1
  47. package/dist/switch-field.css +0 -1
  48. package/dist/textarea.css +0 -1
  49. /package/dist/{accordion-DwQCxX_5.js → accordion-CUlVo4uo.js} +0 -0
  50. /package/dist/{alert-dialog-CT9DCCMH.js → alert-dialog-yHaNWLGX.js} +0 -0
  51. /package/dist/{badge-Yftb6Tdy.js → badge-BZgdEQSD.js} +0 -0
  52. /package/dist/{button-DqdoNQqx.js → button-C0a1gFoV.js} +0 -0
  53. /package/dist/{button-group-BNfxHMty.js → button-group-enIzvVeN.js} +0 -0
  54. /package/dist/{constants-DHz0LWRt.js → constants-Cfitvm6L.js} +0 -0
  55. /package/dist/{field-DRLopwY4.js → field-CpIBifwy.js} +0 -0
  56. /package/dist/{input-2x92vprz.js → input-DmkHok33.js} +0 -0
  57. /package/dist/{kuat-radial-progress-B3nQqPFW.js → kuat-radial-progress-YcpYzHjk.js} +0 -0
  58. /package/dist/{select-Oz2Zj-L0.js → select-CkwcI4vN.js} +0 -0
  59. /package/dist/{sonner-content-B6xwQO7z.js → sonner-content-CXBD6jNn.js} +0 -0
  60. /package/dist/{textarea-DiU8h_H0.js → textarea-B0irOcAM.js} +0 -0
package/dist/index.js CHANGED
@@ -1,1682 +1,291 @@
1
- import { c as v } from "./utils-DLUjLwnh.js";
2
- import { S as st } from "./button-group-BNfxHMty.js";
3
- import { d as Xn, B as Yn, a as Qn, b as Jn, c as Wn } from "./button-group-BNfxHMty.js";
4
- import { jsxs as H, jsx as d, Fragment as _e } from "react/jsx-runtime";
5
- import * as _ from "react";
6
- import { useRef as We, useState as et, useCallback as At, useEffect as He } from "react";
7
- import { ChevronLeft as Vt, ChevronRight as Oe, MoreHorizontal as Dt, ChevronDown as Mt } from "lucide-react";
8
- import { b as tr, a as nr, K as rr } from "./kuat-radial-progress-B3nQqPFW.js";
9
- import { A as sr, c as cr, a as ar, b as ir } from "./accordion-DwQCxX_5.js";
10
- import { A as ur, i as dr, j as fr, d as mr, h as pr, f as hr, e as gr, b as br, a as Sr, g as Cr, c as Nr } from "./alert-dialog-CT9DCCMH.js";
11
- import { c as _r, a as Er, B as Lr, b as wr } from "./badge-Yftb6Tdy.js";
12
- import * as R from "@radix-ui/react-dropdown-menu";
13
- import { d as vr, c as Ir, a as Hr, B as Tr, b as kr } from "./button-DqdoNQqx.js";
14
- import { a as Vr, T as Dr } from "./textarea-DiU8h_H0.js";
15
- import { a as Or, I as Rr } from "./input-2x92vprz.js";
16
- import { j as Br, F as Fr, a as Gr, b as Zr, c as Kr, d as Ur, e as jr, f as zr, g as $r, h as qr, i as Xr } from "./field-DRLopwY4.js";
17
- import { K as Qr, j as Jr, k as Wr, S as eo, a as to, b as no, c as ro, d as oo, e as so, f as co, g as ao, h as io, i as lo } from "./select-Oz2Zj-L0.js";
18
- import { b as fo, c as mo, C as po, a as ho } from "./checkbox-field-Bslh9sHw.js";
19
- import { c as bo, d as So, b as Co, R as No, a as yo } from "./radio-field-G8dvdsLE.js";
20
- import { b as Eo, c as Lo, S as wo, a as xo } from "./switch-field-Ce9CiRqk.js";
21
- import { a as Io, b as Ho, T as To, c as ko, d as Ao } from "./constants-DHz0LWRt.js";
22
- import { a as Do, S as Mo, b as Oo, t as Ro } from "./sonner-content-B6xwQO7z.js";
23
- const Rn = _.forwardRef(function({
24
- className: t,
25
- asChild: n = !1,
26
- imageSrc: r = null,
27
- imageAlt: s = "",
28
- contentText: c = null,
29
- headerAccessory: o = null,
30
- customContent: l = null,
31
- footer: a = null,
32
- badge: u,
33
- category: S,
34
- title: i,
1
+ import { c as s } from "./utils-DLUjLwnh.js";
2
+ import { S as T } from "./button-group-enIzvVeN.js";
3
+ import { d as pe, B as Ce, a as ge, b as fe, c as be } from "./button-group-enIzvVeN.js";
4
+ import { jsxs as n, jsx as e, Fragment as w } from "react/jsx-runtime";
5
+ import * as t from "react";
6
+ import { C as _e, a as He, b as we, d as Se, c as Le, u as Ve } from "./carousel-vRCoMeVE.js";
7
+ import { K as Ee, a as Re, b as Ae, d as Ie, c as ve, u as Te } from "./kuat-carousel-DsHwXGpb.js";
8
+ import { b as ye, a as xe, K as Me } from "./kuat-radial-progress-YcpYzHjk.js";
9
+ import { A as Oe, c as Ze, a as Ke, b as Fe } from "./accordion-CUlVo4uo.js";
10
+ import { A as Ge, i as Ue, j as $e, d as je, h as Xe, f as Ye, e as qe, b as We, a as ze, g as Je, c as Qe } from "./alert-dialog-yHaNWLGX.js";
11
+ import { c as aa, a as ra, B as la, b as oa } from "./badge-BZgdEQSD.js";
12
+ import { ChevronRight as D, MoreHorizontal as F, ChevronDown as P } from "lucide-react";
13
+ import * as c from "@radix-ui/react-dropdown-menu";
14
+ import { d as na, c as sa, a as da, B as ca, b as ia } from "./button-C0a1gFoV.js";
15
+ import { a as ma, T as ha } from "./textarea-B0irOcAM.js";
16
+ import { a as Ca, I as ga } from "./input-DmkHok33.js";
17
+ import { j as ba, F as Na, a as _a, b as Ha, c as wa, d as Sa, e as La, f as Va, g as ka, h as Ea, i as Ra } from "./field-CpIBifwy.js";
18
+ import { K as Ia, j as va, k as Ta, S as Da, a as ya, b as xa, c as Ma, d as Ba, e as Oa, f as Za, g as Ka, h as Fa, i as Pa } from "./select-CkwcI4vN.js";
19
+ import { b as Ua, c as $a, C as ja, a as Xa } from "./checkbox-field-7OmstdY0.js";
20
+ import { c as qa, d as Wa, b as za, R as Ja, a as Qa } from "./radio-field-BD77QCpO.js";
21
+ import { b as ar, c as rr, S as lr, a as or } from "./switch-field-xn_CPJH7.js";
22
+ import { a as nr, b as sr, T as dr, c as cr, d as ir } from "./constants-Cfitvm6L.js";
23
+ import { a as mr, S as hr, b as pr, t as Cr } from "./sonner-content-CXBD6jNn.js";
24
+ const se = t.forwardRef(function({
25
+ className: r,
26
+ asChild: l = !1,
27
+ imageSrc: o = null,
28
+ imageAlt: d = "",
29
+ contentText: u = null,
30
+ headerAccessory: i = null,
31
+ customContent: C = null,
32
+ footer: p = null,
33
+ badge: g,
34
+ category: N,
35
+ title: f,
35
36
  titleHeadingLevel: m = 3,
36
- children: C,
37
- ...p
38
- }, h) {
39
- const b = `h${m}`, f = /* @__PURE__ */ H(_e, { children: [
40
- r !== null ? /* @__PURE__ */ d("div", { className: "content-card__media", children: /* @__PURE__ */ d("img", { className: "content-card__media-img", alt: s, src: r }) }) : null,
41
- /* @__PURE__ */ H("div", { className: "content-card__body", children: [
42
- /* @__PURE__ */ H("div", { className: "content-card__heading-row", children: [
43
- /* @__PURE__ */ H("div", { className: "content-card__heading-left", children: [
44
- /* @__PURE__ */ H("div", { className: "content-card__heading-meta", children: [
45
- /* @__PURE__ */ d("div", { "data-slot": "badge", className: "content-card__badge", children: u }),
46
- /* @__PURE__ */ d("p", { className: "content-card__category", children: S })
37
+ children: h,
38
+ ..._
39
+ }, S) {
40
+ const L = `h${m}`, b = /* @__PURE__ */ n(w, { children: [
41
+ o !== null ? /* @__PURE__ */ e("div", { className: "content-card__media", children: /* @__PURE__ */ e("img", { className: "content-card__media-img", alt: d, src: o }) }) : null,
42
+ /* @__PURE__ */ n("div", { className: "content-card__body", children: [
43
+ /* @__PURE__ */ n("div", { className: "content-card__heading-row", children: [
44
+ /* @__PURE__ */ n("div", { className: "content-card__heading-left", children: [
45
+ /* @__PURE__ */ n("div", { className: "content-card__heading-meta", children: [
46
+ /* @__PURE__ */ e("div", { "data-slot": "badge", className: "content-card__badge", children: g }),
47
+ /* @__PURE__ */ e("p", { className: "content-card__category", children: N })
47
48
  ] }),
48
- /* @__PURE__ */ d(b, { className: "content-card__title", children: i })
49
+ /* @__PURE__ */ e(L, { className: "content-card__title", children: f })
49
50
  ] }),
50
- /* @__PURE__ */ d(
51
+ /* @__PURE__ */ e(
51
52
  "div",
52
53
  {
53
54
  "data-slot": "header-accessory",
54
55
  className: "content-card__header-accessory",
55
- children: o ?? null
56
+ children: i ?? null
56
57
  }
57
58
  )
58
59
  ] }),
59
- c != null ? /* @__PURE__ */ d("div", { "data-slot": "content", className: "content-card__content", children: /* @__PURE__ */ d("p", { className: "content-card__content-text", children: c }) }) : null,
60
- /* @__PURE__ */ d("div", { "data-slot": "custom-content", className: "content-card__custom-content", children: l ?? null }),
61
- /* @__PURE__ */ d("div", { "data-slot": "footer", className: "content-card__footer", children: a ?? null })
60
+ u != null ? /* @__PURE__ */ e("div", { "data-slot": "content", className: "content-card__content", children: /* @__PURE__ */ e("p", { className: "content-card__content-text", children: u }) }) : null,
61
+ /* @__PURE__ */ e("div", { "data-slot": "custom-content", className: "content-card__custom-content", children: C ?? null }),
62
+ /* @__PURE__ */ e("div", { "data-slot": "footer", className: "content-card__footer", children: p ?? null })
62
63
  ] })
63
64
  ] });
64
- if (n) {
65
- const g = _.Children.only(C);
66
- if (!_.isValidElement(g))
65
+ if (l) {
66
+ const H = t.Children.only(h);
67
+ if (!t.isValidElement(H))
67
68
  throw new Error("ContentCard: when `asChild` is true, provide a single React element child.");
68
- const N = g;
69
- return _.cloneElement(
70
- N,
69
+ const v = H;
70
+ return t.cloneElement(
71
+ v,
71
72
  {
72
- ...p,
73
- ref: h,
73
+ ..._,
74
+ ref: S,
74
75
  "data-slot": "content-card",
75
- className: v("content-card", N.props.className, t)
76
+ className: s("content-card", v.props.className, r)
76
77
  },
77
- f
78
+ b
78
79
  );
79
80
  }
80
- return /* @__PURE__ */ d(
81
+ return /* @__PURE__ */ e(
81
82
  "div",
82
83
  {
83
- ref: h,
84
+ ref: S,
84
85
  "data-slot": "content-card",
85
- className: v("content-card", t),
86
- ...p,
87
- children: f
86
+ className: s("content-card", r),
87
+ ..._,
88
+ children: b
88
89
  }
89
90
  );
90
91
  });
91
- function Te({ className: e, textColor: t = "grey" }) {
92
- return /* @__PURE__ */ H(
92
+ function V({ className: a, textColor: r = "grey" }) {
93
+ return /* @__PURE__ */ n(
93
94
  "svg",
94
95
  {
95
- className: v("ee-logo", `ee-logo--${t}`, e),
96
+ className: s("ee-logo", `ee-logo--${r}`, a),
96
97
  viewBox: "0 0 500 133",
97
98
  fill: "none",
98
99
  xmlns: "http://www.w3.org/2000/svg",
99
100
  "aria-label": "Equal Experts logo",
100
101
  children: [
101
- /* @__PURE__ */ H("g", { clipPath: "url(#ee-logo-clip)", children: [
102
- /* @__PURE__ */ H("g", { className: "ee-logo__text", fill: "currentColor", children: [
103
- /* @__PURE__ */ d("path", { d: "M220.235 1.45712L219.413 13.0751H197.72V23.2946H216.859V34.844H197.72V45.3862H219.667V57.0237H184.687V1.45712H220.235Z" }),
104
- /* @__PURE__ */ d("path", { d: "M227.495 29.0742C227.495 11.6766 233.601 0.136902 250.675 0.136902C267.75 0.136902 273.855 11.6766 273.855 29.0742V29.3382C273.855 41.4549 270.92 50.6084 263.454 55.2243L271.869 65.0037L260.568 70.7736L252.446 58.256C251.872 58.3312 251.293 58.3606 250.714 58.344C233.64 58.344 227.534 46.7945 227.534 29.3187L227.495 29.0742ZM241.194 29.2307C241.194 40.6921 243.669 46.55 250.685 46.55C257.701 46.55 260.254 40.6823 260.254 29.2307C260.254 17.779 257.691 11.9211 250.685 11.9211C243.679 11.9211 241.194 17.8572 241.194 29.2307Z" }),
105
- /* @__PURE__ */ d("path", { d: "M295.871 1.36911V35.2059C295.871 42.7947 297.436 46.5891 304.119 46.5891C310.802 46.5891 312.368 42.7947 312.368 35.2059V1.36911H325.401V35.8318C325.401 50.5009 320.284 58.3244 304.119 58.3244C287.955 58.3244 282.847 50.5009 282.847 35.8318V1.36911H295.871Z" }),
106
- /* @__PURE__ */ d("path", { d: "M361.282 1.45712C365.734 13.0751 373.493 37.0737 378.894 57.014H365.656L363.258 46.462H346.38L343.982 57.014H330.724C335.651 38.2094 341.53 19.6666 348.337 1.45712H361.282ZM354.599 16.7032C352.544 22.8838 350.89 28.9079 349.315 34.844H360.294C358.562 28.9079 356.996 22.8838 355.01 16.7032H354.599Z" }),
107
- /* @__PURE__ */ d("path", { d: "M399.139 1.45712V45.3862H421.076V57.0237H386.106V1.45712H399.139Z" })
102
+ /* @__PURE__ */ n("g", { clipPath: "url(#ee-logo-clip)", children: [
103
+ /* @__PURE__ */ n("g", { className: "ee-logo__text", fill: "currentColor", children: [
104
+ /* @__PURE__ */ e("path", { d: "M220.235 1.45712L219.413 13.0751H197.72V23.2946H216.859V34.844H197.72V45.3862H219.667V57.0237H184.687V1.45712H220.235Z" }),
105
+ /* @__PURE__ */ e("path", { d: "M227.495 29.0742C227.495 11.6766 233.601 0.136902 250.675 0.136902C267.75 0.136902 273.855 11.6766 273.855 29.0742V29.3382C273.855 41.4549 270.92 50.6084 263.454 55.2243L271.869 65.0037L260.568 70.7736L252.446 58.256C251.872 58.3312 251.293 58.3606 250.714 58.344C233.64 58.344 227.534 46.7945 227.534 29.3187L227.495 29.0742ZM241.194 29.2307C241.194 40.6921 243.669 46.55 250.685 46.55C257.701 46.55 260.254 40.6823 260.254 29.2307C260.254 17.779 257.691 11.9211 250.685 11.9211C243.679 11.9211 241.194 17.8572 241.194 29.2307Z" }),
106
+ /* @__PURE__ */ e("path", { d: "M295.871 1.36911V35.2059C295.871 42.7947 297.436 46.5891 304.119 46.5891C310.802 46.5891 312.368 42.7947 312.368 35.2059V1.36911H325.401V35.8318C325.401 50.5009 320.284 58.3244 304.119 58.3244C287.955 58.3244 282.847 50.5009 282.847 35.8318V1.36911H295.871Z" }),
107
+ /* @__PURE__ */ e("path", { d: "M361.282 1.45712C365.734 13.0751 373.493 37.0737 378.894 57.014H365.656L363.258 46.462H346.38L343.982 57.014H330.724C335.651 38.2094 341.53 19.6666 348.337 1.45712H361.282ZM354.599 16.7032C352.544 22.8838 350.89 28.9079 349.315 34.844H360.294C358.562 28.9079 356.996 22.8838 355.01 16.7032H354.599Z" }),
108
+ /* @__PURE__ */ e("path", { d: "M399.139 1.45712V45.3862H421.076V57.0237H386.106V1.45712H399.139Z" })
108
109
  ] }),
109
- /* @__PURE__ */ d("path", { d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z", fill: "#1795D4" }),
110
- /* @__PURE__ */ d("path", { d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z", fill: "#1795D4" }),
111
- /* @__PURE__ */ d("path", { d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z", fill: "#1795D4" }),
112
- /* @__PURE__ */ d("path", { d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z", fill: "#1795D4" }),
113
- /* @__PURE__ */ H("g", { className: "ee-logo__text", fill: "currentColor", children: [
114
- /* @__PURE__ */ d("path", { d: "M220.235 75.2819L219.413 86.9096H197.72V97.1291H216.859V108.679H197.72V119.231H219.667V130.849H184.687V75.2819H220.235Z" }),
115
- /* @__PURE__ */ d("path", { d: "M240.773 75.3015C243.17 80.1912 246.712 87.0368 249.677 92.2101H249.931C252.984 87.2519 256.614 80.1716 258.924 75.3015H273.601C269.687 83.2228 263.63 93.6868 258.014 102.928L274.765 130.868H259.168L250.088 113.969H249.853L240.616 130.868H225.264L241.683 102.821C236.487 94.0193 229.941 82.1275 226.174 75.2819L240.773 75.3015Z" }),
116
- /* @__PURE__ */ d("path", { d: "M296.204 75.3015C301.096 75.3015 305.939 75.634 309.648 76.8759C315.842 79.0959 319.873 85.1982 319.873 93.7748C319.873 106.39 311.879 112.649 298.425 112.649H294.804V130.849H281.8V75.3015H296.204ZM294.804 101.021H297.358C302.965 101.021 306.164 100.366 306.164 93.7748C306.164 91.3006 305.254 89.1589 303.767 88.1614C302.28 87.1639 300.313 86.9292 297.505 86.9292H294.785L294.804 101.021Z" }),
117
- /* @__PURE__ */ d("path", { d: "M363.924 75.2819L363.092 86.9096H341.399V97.1291H360.538V108.679H341.399V119.231H363.346V130.849H328.366V75.2819H363.924Z" }),
118
- /* @__PURE__ */ d("path", { d: "M387.593 75.3015C392.485 75.3015 397.329 75.634 401.037 76.8759C407.221 79.0959 411.262 85.1884 411.262 93.7748C411.262 101.442 408.327 106.801 402.935 109.764L412.994 130.868H399.472L391.468 112.571C390.558 112.649 389.325 112.649 388.17 112.649H386.213V130.849H373.151V75.3015H387.593ZM386.194 101.276H388.748C394.354 101.276 397.554 100.366 397.554 93.7748C397.554 91.3006 396.644 88.9926 395.166 87.9951C393.689 86.9976 391.859 86.7629 388.885 86.7629H386.174L386.194 101.276Z" }),
119
- /* @__PURE__ */ d("path", { d: "M456.957 75.2819L456.135 86.9096H442.857V130.849H429.824V86.9096H416.213V75.2819H456.957Z" }),
120
- /* @__PURE__ */ d("path", { d: "M495.978 89.1393C492.031 87.0587 487.652 85.93 483.19 85.8437C481.553 85.7535 479.918 86.0343 478.405 86.6651C477.672 86.9348 477.045 87.4311 476.613 88.0819C476.182 88.7326 475.97 89.5039 476.008 90.2835C476.008 93.2174 478.943 94.9874 483.024 96.6401L487.642 98.4493C495.89 101.755 499.765 106.204 499.765 114.282C499.765 127.142 490.362 132.169 479.061 132.169C473.816 132.084 468.616 131.197 463.64 129.538L464.217 117.001C468.488 119.008 473.113 120.154 477.828 120.375C483.767 120.375 486.076 118.888 486.076 115.485C486.076 112.277 483.933 110.869 479.227 108.972L474.609 107.163C467.926 104.522 462.319 99.8282 462.319 90.5965C462.319 81.3647 469.002 73.9715 482.524 73.9715C487.385 74.0422 492.192 74.9931 496.712 76.7782L495.978 89.1393Z" })
110
+ /* @__PURE__ */ e("path", { d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z", fill: "#1795D4" }),
111
+ /* @__PURE__ */ e("path", { d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z", fill: "#1795D4" }),
112
+ /* @__PURE__ */ e("path", { d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z", fill: "#1795D4" }),
113
+ /* @__PURE__ */ e("path", { d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z", fill: "#1795D4" }),
114
+ /* @__PURE__ */ n("g", { className: "ee-logo__text", fill: "currentColor", children: [
115
+ /* @__PURE__ */ e("path", { d: "M220.235 75.2819L219.413 86.9096H197.72V97.1291H216.859V108.679H197.72V119.231H219.667V130.849H184.687V75.2819H220.235Z" }),
116
+ /* @__PURE__ */ e("path", { d: "M240.773 75.3015C243.17 80.1912 246.712 87.0368 249.677 92.2101H249.931C252.984 87.2519 256.614 80.1716 258.924 75.3015H273.601C269.687 83.2228 263.63 93.6868 258.014 102.928L274.765 130.868H259.168L250.088 113.969H249.853L240.616 130.868H225.264L241.683 102.821C236.487 94.0193 229.941 82.1275 226.174 75.2819L240.773 75.3015Z" }),
117
+ /* @__PURE__ */ e("path", { d: "M296.204 75.3015C301.096 75.3015 305.939 75.634 309.648 76.8759C315.842 79.0959 319.873 85.1982 319.873 93.7748C319.873 106.39 311.879 112.649 298.425 112.649H294.804V130.849H281.8V75.3015H296.204ZM294.804 101.021H297.358C302.965 101.021 306.164 100.366 306.164 93.7748C306.164 91.3006 305.254 89.1589 303.767 88.1614C302.28 87.1639 300.313 86.9292 297.505 86.9292H294.785L294.804 101.021Z" }),
118
+ /* @__PURE__ */ e("path", { d: "M363.924 75.2819L363.092 86.9096H341.399V97.1291H360.538V108.679H341.399V119.231H363.346V130.849H328.366V75.2819H363.924Z" }),
119
+ /* @__PURE__ */ e("path", { d: "M387.593 75.3015C392.485 75.3015 397.329 75.634 401.037 76.8759C407.221 79.0959 411.262 85.1884 411.262 93.7748C411.262 101.442 408.327 106.801 402.935 109.764L412.994 130.868H399.472L391.468 112.571C390.558 112.649 389.325 112.649 388.17 112.649H386.213V130.849H373.151V75.3015H387.593ZM386.194 101.276H388.748C394.354 101.276 397.554 100.366 397.554 93.7748C397.554 91.3006 396.644 88.9926 395.166 87.9951C393.689 86.9976 391.859 86.7629 388.885 86.7629H386.174L386.194 101.276Z" }),
120
+ /* @__PURE__ */ e("path", { d: "M456.957 75.2819L456.135 86.9096H442.857V130.849H429.824V86.9096H416.213V75.2819H456.957Z" }),
121
+ /* @__PURE__ */ e("path", { d: "M495.978 89.1393C492.031 87.0587 487.652 85.93 483.19 85.8437C481.553 85.7535 479.918 86.0343 478.405 86.6651C477.672 86.9348 477.045 87.4311 476.613 88.0819C476.182 88.7326 475.97 89.5039 476.008 90.2835C476.008 93.2174 478.943 94.9874 483.024 96.6401L487.642 98.4493C495.89 101.755 499.765 106.204 499.765 114.282C499.765 127.142 490.362 132.169 479.061 132.169C473.816 132.084 468.616 131.197 463.64 129.538L464.217 117.001C468.488 119.008 473.113 120.154 477.828 120.375C483.767 120.375 486.076 118.888 486.076 115.485C486.076 112.277 483.933 110.869 479.227 108.972L474.609 107.163C467.926 104.522 462.319 99.8282 462.319 90.5965C462.319 81.3647 469.002 73.9715 482.524 73.9715C487.385 74.0422 492.192 74.9931 496.712 76.7782L495.978 89.1393Z" })
121
122
  ] })
122
123
  ] }),
123
- /* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("clipPath", { id: "ee-logo-clip", children: /* @__PURE__ */ d("rect", { width: "500", height: "133", fill: "white" }) }) })
124
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "ee-logo-clip", children: /* @__PURE__ */ e("rect", { width: "500", height: "133", fill: "white" }) }) })
124
125
  ]
125
126
  }
126
127
  );
127
128
  }
128
- const Ot = _.forwardRef(
129
+ const G = t.forwardRef(
129
130
  ({
130
- className: e,
131
- variant: t = "default",
132
- logo: n,
133
- title: r,
134
- navigation: s,
135
- actions: c,
136
- mobileMenuTrigger: o,
137
- mobileMenu: l,
138
- hideLogo: a,
139
- children: u,
140
- ...S
141
- }, i) => {
142
- const m = n !== void 0 ? n : !a && /* @__PURE__ */ d(
143
- Te,
131
+ className: a,
132
+ variant: r = "default",
133
+ logo: l,
134
+ title: o,
135
+ navigation: d,
136
+ actions: u,
137
+ mobileMenuTrigger: i,
138
+ mobileMenu: C,
139
+ hideLogo: p,
140
+ children: g,
141
+ ...N
142
+ }, f) => {
143
+ const m = l !== void 0 ? l : !p && /* @__PURE__ */ e(
144
+ V,
144
145
  {
145
146
  className: "ee-logo--desktop shrink-0",
146
- textColor: t === "bold" ? "white" : "grey"
147
+ textColor: r === "bold" ? "white" : "grey"
147
148
  }
148
- ), C = n !== void 0 ? n : !a && /* @__PURE__ */ d(
149
- Te,
149
+ ), h = l !== void 0 ? l : !p && /* @__PURE__ */ e(
150
+ V,
150
151
  {
151
152
  className: "ee-logo--mobile shrink-0",
152
- textColor: t === "bold" ? "white" : "grey"
153
+ textColor: r === "bold" ? "white" : "grey"
153
154
  }
154
155
  );
155
- return /* @__PURE__ */ H(
156
+ return /* @__PURE__ */ n(
156
157
  "header",
157
158
  {
158
- ref: i,
159
- className: v(
159
+ ref: f,
160
+ className: s(
160
161
  "kuat-header",
161
- `kuat-header--${t}`,
162
- e
162
+ `kuat-header--${r}`,
163
+ a
163
164
  ),
164
- ...S,
165
+ ...N,
165
166
  children: [
166
- /* @__PURE__ */ H("div", { className: "kuat-header__desktop", children: [
167
- /* @__PURE__ */ H("div", { className: "kuat-header__desktop-left", children: [
168
- m && /* @__PURE__ */ H(_e, { children: [
169
- /* @__PURE__ */ d("div", { className: "shrink-0", children: m }),
170
- /* @__PURE__ */ d(
171
- st,
167
+ /* @__PURE__ */ n("div", { className: "kuat-header__desktop", children: [
168
+ /* @__PURE__ */ n("div", { className: "kuat-header__desktop-left", children: [
169
+ m && /* @__PURE__ */ n(w, { children: [
170
+ /* @__PURE__ */ e("div", { className: "shrink-0", children: m }),
171
+ /* @__PURE__ */ e(
172
+ T,
172
173
  {
173
174
  orientation: "vertical",
174
175
  className: "kuat-header__separator"
175
176
  }
176
177
  )
177
178
  ] }),
178
- r && /* @__PURE__ */ d("h1", { className: "kuat-header__desktop-title", children: r })
179
+ o && /* @__PURE__ */ e("h1", { className: "kuat-header__desktop-title", children: o })
179
180
  ] }),
180
- /* @__PURE__ */ H("div", { className: "kuat-header__desktop-right", children: [
181
- s && /* @__PURE__ */ d("nav", { className: "flex items-center", children: s }),
182
- c && /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: c })
181
+ /* @__PURE__ */ n("div", { className: "kuat-header__desktop-right", children: [
182
+ d && /* @__PURE__ */ e("nav", { className: "flex items-center", children: d }),
183
+ u && /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: u })
183
184
  ] })
184
185
  ] }),
185
- /* @__PURE__ */ H("div", { className: "kuat-header__mobile", children: [
186
- /* @__PURE__ */ H("div", { className: "kuat-header__mobile-left", children: [
187
- C && /* @__PURE__ */ d("div", { className: "shrink-0", children: C }),
188
- r && /* @__PURE__ */ d("p", { className: "kuat-header__mobile-title", children: r })
186
+ /* @__PURE__ */ n("div", { className: "kuat-header__mobile", children: [
187
+ /* @__PURE__ */ n("div", { className: "kuat-header__mobile-left", children: [
188
+ h && /* @__PURE__ */ e("div", { className: "shrink-0", children: h }),
189
+ o && /* @__PURE__ */ e("p", { className: "kuat-header__mobile-title", children: o })
189
190
  ] }),
190
- o && /* @__PURE__ */ d("div", { className: "shrink-0", children: o })
191
+ i && /* @__PURE__ */ e("div", { className: "shrink-0", children: i })
191
192
  ] }),
192
- l,
193
- u
193
+ C,
194
+ g
194
195
  ]
195
196
  }
196
197
  );
197
198
  }
198
199
  );
199
- Ot.displayName = "KuatHeader";
200
- function Pn(e) {
201
- const t = (e == null ? void 0 : e.variant) ?? "default";
202
- return v("kuat-header", `kuat-header--${t}`);
203
- }
204
- function Rt(e) {
205
- return Object.prototype.toString.call(e) === "[object Object]";
206
- }
207
- function tt(e) {
208
- return Rt(e) || Array.isArray(e);
209
- }
210
- function Pt() {
211
- return !!(typeof window < "u" && window.document && window.document.createElement);
212
- }
213
- function Re(e, t) {
214
- const n = Object.keys(e), r = Object.keys(t);
215
- if (n.length !== r.length) return !1;
216
- const s = JSON.stringify(Object.keys(e.breakpoints || {})), c = JSON.stringify(Object.keys(t.breakpoints || {}));
217
- return s !== c ? !1 : n.every((o) => {
218
- const l = e[o], a = t[o];
219
- return typeof l == "function" ? `${l}` == `${a}` : !tt(l) || !tt(a) ? l === a : Re(l, a);
220
- });
221
- }
222
- function nt(e) {
223
- return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
224
- }
225
- function Bt(e, t) {
226
- if (e.length !== t.length) return !1;
227
- const n = nt(e), r = nt(t);
228
- return n.every((s, c) => {
229
- const o = r[c];
230
- return Re(s, o);
231
- });
232
- }
233
- function Pe(e) {
234
- return typeof e == "number";
235
- }
236
- function ke(e) {
237
- return typeof e == "string";
238
- }
239
- function Ee(e) {
240
- return typeof e == "boolean";
241
- }
242
- function rt(e) {
243
- return Object.prototype.toString.call(e) === "[object Object]";
244
- }
245
- function M(e) {
246
- return Math.abs(e);
247
- }
248
- function Be(e) {
249
- return Math.sign(e);
250
- }
251
- function pe(e, t) {
252
- return M(e - t);
253
- }
254
- function Ft(e, t) {
255
- if (e === 0 || t === 0 || M(e) <= M(t)) return 0;
256
- const n = pe(M(e), M(t));
257
- return M(n / e);
258
- }
259
- function Gt(e) {
260
- return Math.round(e * 100) / 100;
261
- }
262
- function he(e) {
263
- return ge(e).map(Number);
264
- }
265
- function K(e) {
266
- return e[Se(e)];
267
- }
268
- function Se(e) {
269
- return Math.max(0, e.length - 1);
270
- }
271
- function Fe(e, t) {
272
- return t === Se(e);
273
- }
274
- function ot(e, t = 0) {
275
- return Array.from(Array(e), (n, r) => t + r);
276
- }
277
- function ge(e) {
278
- return Object.keys(e);
279
- }
280
- function ct(e, t) {
281
- return [e, t].reduce((n, r) => (ge(r).forEach((s) => {
282
- const c = n[s], o = r[s], l = rt(c) && rt(o);
283
- n[s] = l ? ct(c, o) : o;
284
- }), n), {});
285
- }
286
- function Ae(e, t) {
287
- return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
288
- }
289
- function Zt(e, t) {
290
- const n = {
291
- start: r,
292
- center: s,
293
- end: c
294
- };
295
- function r() {
296
- return 0;
297
- }
298
- function s(a) {
299
- return c(a) / 2;
300
- }
301
- function c(a) {
302
- return t - a;
303
- }
304
- function o(a, u) {
305
- return ke(e) ? n[e](a) : e(t, a, u);
306
- }
307
- return {
308
- measure: o
309
- };
310
- }
311
- function be() {
312
- let e = [];
313
- function t(s, c, o, l = {
314
- passive: !0
315
- }) {
316
- let a;
317
- if ("addEventListener" in s)
318
- s.addEventListener(c, o, l), a = () => s.removeEventListener(c, o, l);
319
- else {
320
- const u = s;
321
- u.addListener(o), a = () => u.removeListener(o);
322
- }
323
- return e.push(a), r;
324
- }
325
- function n() {
326
- e = e.filter((s) => s());
327
- }
328
- const r = {
329
- add: t,
330
- clear: n
331
- };
332
- return r;
333
- }
334
- function Kt(e, t, n, r) {
335
- const s = be(), c = 1e3 / 60;
336
- let o = null, l = 0, a = 0;
337
- function u() {
338
- s.add(e, "visibilitychange", () => {
339
- e.hidden && p();
340
- });
341
- }
342
- function S() {
343
- C(), s.clear();
344
- }
345
- function i(b) {
346
- if (!a) return;
347
- o || (o = b, n(), n());
348
- const f = b - o;
349
- for (o = b, l += f; l >= c; )
350
- n(), l -= c;
351
- const g = l / c;
352
- r(g), a && (a = t.requestAnimationFrame(i));
353
- }
354
- function m() {
355
- a || (a = t.requestAnimationFrame(i));
356
- }
357
- function C() {
358
- t.cancelAnimationFrame(a), o = null, l = 0, a = 0;
359
- }
360
- function p() {
361
- o = null, l = 0;
362
- }
363
- return {
364
- init: u,
365
- destroy: S,
366
- start: m,
367
- stop: C,
368
- update: n,
369
- render: r
370
- };
371
- }
372
- function Ut(e, t) {
373
- const n = t === "rtl", r = e === "y", s = r ? "y" : "x", c = r ? "x" : "y", o = !r && n ? -1 : 1, l = S(), a = i();
374
- function u(p) {
375
- const {
376
- height: h,
377
- width: b
378
- } = p;
379
- return r ? h : b;
380
- }
381
- function S() {
382
- return r ? "top" : n ? "right" : "left";
383
- }
384
- function i() {
385
- return r ? "bottom" : n ? "left" : "right";
386
- }
387
- function m(p) {
388
- return p * o;
389
- }
390
- return {
391
- scroll: s,
392
- cross: c,
393
- startEdge: l,
394
- endEdge: a,
395
- measureSize: u,
396
- direction: m
397
- };
398
- }
399
- function se(e = 0, t = 0) {
400
- const n = M(e - t);
401
- function r(u) {
402
- return u < e;
403
- }
404
- function s(u) {
405
- return u > t;
406
- }
407
- function c(u) {
408
- return r(u) || s(u);
409
- }
410
- function o(u) {
411
- return c(u) ? r(u) ? e : t : u;
412
- }
413
- function l(u) {
414
- return n ? u - n * Math.ceil((u - t) / n) : u;
415
- }
416
- return {
417
- length: n,
418
- max: t,
419
- min: e,
420
- constrain: o,
421
- reachedAny: c,
422
- reachedMax: s,
423
- reachedMin: r,
424
- removeOffset: l
425
- };
426
- }
427
- function at(e, t, n) {
428
- const {
429
- constrain: r
430
- } = se(0, e), s = e + 1;
431
- let c = o(t);
432
- function o(m) {
433
- return n ? M((s + m) % s) : r(m);
434
- }
435
- function l() {
436
- return c;
437
- }
438
- function a(m) {
439
- return c = o(m), i;
440
- }
441
- function u(m) {
442
- return S().set(l() + m);
443
- }
444
- function S() {
445
- return at(e, l(), n);
446
- }
447
- const i = {
448
- get: l,
449
- set: a,
450
- add: u,
451
- clone: S
452
- };
453
- return i;
454
- }
455
- function jt(e, t, n, r, s, c, o, l, a, u, S, i, m, C, p, h, b, f, g) {
456
- const {
457
- cross: N,
458
- direction: I
459
- } = e, T = ["INPUT", "SELECT", "TEXTAREA"], x = {
460
- passive: !1
461
- }, E = be(), L = be(), w = se(50, 225).constrain(C.measure(20)), V = {
462
- mouse: 300,
463
- touch: 400
464
- }, k = {
465
- mouse: 500,
466
- touch: 600
467
- }, F = p ? 43 : 25;
468
- let U = !1, j = 0, z = 0, ne = !1, ee = !1, X = !1, Y = !1;
469
- function le(y) {
470
- if (!g) return;
471
- function A(B) {
472
- (Ee(g) || g(y, B)) && de(B);
473
- }
474
- const O = t;
475
- E.add(O, "dragstart", (B) => B.preventDefault(), x).add(O, "touchmove", () => {
476
- }, x).add(O, "touchend", () => {
477
- }).add(O, "touchstart", A).add(O, "mousedown", A).add(O, "touchcancel", P).add(O, "contextmenu", P).add(O, "click", J, !0);
478
- }
479
- function $() {
480
- E.clear(), L.clear();
481
- }
482
- function ce() {
483
- const y = Y ? n : t;
484
- L.add(y, "touchmove", G, x).add(y, "touchend", P).add(y, "mousemove", G, x).add(y, "mouseup", P);
485
- }
486
- function ae(y) {
487
- const A = y.nodeName || "";
488
- return T.includes(A);
489
- }
490
- function Q() {
491
- return (p ? k : V)[Y ? "mouse" : "touch"];
492
- }
493
- function ue(y, A) {
494
- const O = i.add(Be(y) * -1), B = S.byDistance(y, !p).distance;
495
- return p || M(y) < w ? B : b && A ? B * 0.5 : S.byIndex(O.get(), 0).distance;
496
- }
497
- function de(y) {
498
- const A = Ae(y, r);
499
- Y = A, X = p && A && !y.buttons && U, U = pe(s.get(), o.get()) >= 2, !(A && y.button !== 0) && (ae(y.target) || (ne = !0, c.pointerDown(y), u.useFriction(0).useDuration(0), s.set(o), ce(), j = c.readPoint(y), z = c.readPoint(y, N), m.emit("pointerDown")));
500
- }
501
- function G(y) {
502
- if (!Ae(y, r) && y.touches.length >= 2) return P(y);
503
- const O = c.readPoint(y), B = c.readPoint(y, N), q = pe(O, j), W = pe(B, z);
504
- if (!ee && !Y && (!y.cancelable || (ee = q > W, !ee)))
505
- return P(y);
506
- const re = c.pointerMove(y);
507
- q > h && (X = !0), u.useFriction(0.3).useDuration(0.75), l.start(), s.add(I(re)), y.preventDefault();
508
- }
509
- function P(y) {
510
- const O = S.byDistance(0, !1).index !== i.get(), B = c.pointerUp(y) * Q(), q = ue(I(B), O), W = Ft(B, q), re = F - 10 * W, te = f + W / 50;
511
- ee = !1, ne = !1, L.clear(), u.useDuration(re).useFriction(te), a.distance(q, !p), Y = !1, m.emit("pointerUp");
512
- }
513
- function J(y) {
514
- X && (y.stopPropagation(), y.preventDefault(), X = !1);
515
- }
516
- function Z() {
517
- return ne;
518
- }
519
- return {
520
- init: le,
521
- destroy: $,
522
- pointerDown: Z
523
- };
524
- }
525
- function zt(e, t) {
526
- let r, s;
527
- function c(i) {
528
- return i.timeStamp;
529
- }
530
- function o(i, m) {
531
- const p = `client${(m || e.scroll) === "x" ? "X" : "Y"}`;
532
- return (Ae(i, t) ? i : i.touches[0])[p];
533
- }
534
- function l(i) {
535
- return r = i, s = i, o(i);
536
- }
537
- function a(i) {
538
- const m = o(i) - o(s), C = c(i) - c(r) > 170;
539
- return s = i, C && (r = i), m;
540
- }
541
- function u(i) {
542
- if (!r || !s) return 0;
543
- const m = o(s) - o(r), C = c(i) - c(r), p = c(i) - c(s) > 170, h = m / C;
544
- return C && !p && M(h) > 0.1 ? h : 0;
545
- }
546
- return {
547
- pointerDown: l,
548
- pointerMove: a,
549
- pointerUp: u,
550
- readPoint: o
551
- };
552
- }
553
- function $t() {
554
- function e(n) {
555
- const {
556
- offsetTop: r,
557
- offsetLeft: s,
558
- offsetWidth: c,
559
- offsetHeight: o
560
- } = n;
561
- return {
562
- top: r,
563
- right: s + c,
564
- bottom: r + o,
565
- left: s,
566
- width: c,
567
- height: o
568
- };
569
- }
570
- return {
571
- measure: e
572
- };
573
- }
574
- function qt(e) {
575
- function t(r) {
576
- return e * (r / 100);
577
- }
578
- return {
579
- measure: t
580
- };
581
- }
582
- function Xt(e, t, n, r, s, c, o) {
583
- const l = [e].concat(r);
584
- let a, u, S = [], i = !1;
585
- function m(b) {
586
- return s.measureSize(o.measure(b));
587
- }
588
- function C(b) {
589
- if (!c) return;
590
- u = m(e), S = r.map(m);
591
- function f(g) {
592
- for (const N of g) {
593
- if (i) return;
594
- const I = N.target === e, T = r.indexOf(N.target), x = I ? u : S[T], E = m(I ? e : r[T]);
595
- if (M(E - x) >= 0.5) {
596
- b.reInit(), t.emit("resize");
597
- break;
598
- }
599
- }
600
- }
601
- a = new ResizeObserver((g) => {
602
- (Ee(c) || c(b, g)) && f(g);
603
- }), n.requestAnimationFrame(() => {
604
- l.forEach((g) => a.observe(g));
605
- });
606
- }
607
- function p() {
608
- i = !0, a && a.disconnect();
609
- }
610
- return {
611
- init: C,
612
- destroy: p
613
- };
614
- }
615
- function Yt(e, t, n, r, s, c) {
616
- let o = 0, l = 0, a = s, u = c, S = e.get(), i = 0;
617
- function m() {
618
- const x = r.get() - e.get(), E = !a;
619
- let L = 0;
620
- return E ? (o = 0, n.set(r), e.set(r), L = x) : (n.set(e), o += x / a, o *= u, S += o, e.add(o), L = S - i), l = Be(L), i = S, T;
621
- }
622
- function C() {
623
- const x = r.get() - t.get();
624
- return M(x) < 1e-3;
625
- }
626
- function p() {
627
- return a;
628
- }
629
- function h() {
630
- return l;
631
- }
632
- function b() {
633
- return o;
634
- }
635
- function f() {
636
- return N(s);
637
- }
638
- function g() {
639
- return I(c);
640
- }
641
- function N(x) {
642
- return a = x, T;
643
- }
644
- function I(x) {
645
- return u = x, T;
646
- }
647
- const T = {
648
- direction: h,
649
- duration: p,
650
- velocity: b,
651
- seek: m,
652
- settled: C,
653
- useBaseFriction: g,
654
- useBaseDuration: f,
655
- useFriction: I,
656
- useDuration: N
657
- };
658
- return T;
659
- }
660
- function Qt(e, t, n, r, s) {
661
- const c = s.measure(10), o = s.measure(50), l = se(0.1, 0.99);
662
- let a = !1;
663
- function u() {
664
- return !(a || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
665
- }
666
- function S(C) {
667
- if (!u()) return;
668
- const p = e.reachedMin(t.get()) ? "min" : "max", h = M(e[p] - t.get()), b = n.get() - t.get(), f = l.constrain(h / o);
669
- n.subtract(b * f), !C && M(b) < c && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
670
- }
671
- function i(C) {
672
- a = !C;
673
- }
674
- return {
675
- shouldConstrain: u,
676
- constrain: S,
677
- toggleActive: i
678
- };
679
- }
680
- function Jt(e, t, n, r, s) {
681
- const c = se(-t + e, 0), o = i(), l = S(), a = m();
682
- function u(p, h) {
683
- return pe(p, h) <= 1;
684
- }
685
- function S() {
686
- const p = o[0], h = K(o), b = o.lastIndexOf(p), f = o.indexOf(h) + 1;
687
- return se(b, f);
688
- }
689
- function i() {
690
- return n.map((p, h) => {
691
- const {
692
- min: b,
693
- max: f
694
- } = c, g = c.constrain(p), N = !h, I = Fe(n, h);
695
- return N ? f : I || u(b, g) ? b : u(f, g) ? f : g;
696
- }).map((p) => parseFloat(p.toFixed(3)));
697
- }
698
- function m() {
699
- if (t <= e + s) return [c.max];
700
- if (r === "keepSnaps") return o;
701
- const {
702
- min: p,
703
- max: h
704
- } = l;
705
- return o.slice(p, h);
706
- }
707
- return {
708
- snapsContained: a,
709
- scrollContainLimit: l
710
- };
711
- }
712
- function Wt(e, t, n) {
713
- const r = t[0], s = n ? r - e : K(t);
714
- return {
715
- limit: se(s, r)
716
- };
717
- }
718
- function en(e, t, n, r) {
719
- const c = t.min + 0.1, o = t.max + 0.1, {
720
- reachedMin: l,
721
- reachedMax: a
722
- } = se(c, o);
723
- function u(m) {
724
- return m === 1 ? a(n.get()) : m === -1 ? l(n.get()) : !1;
725
- }
726
- function S(m) {
727
- if (!u(m)) return;
728
- const C = e * (m * -1);
729
- r.forEach((p) => p.add(C));
730
- }
731
- return {
732
- loop: S
733
- };
734
- }
735
- function tn(e) {
736
- const {
737
- max: t,
738
- length: n
739
- } = e;
740
- function r(c) {
741
- const o = c - t;
742
- return n ? o / -n : 0;
743
- }
744
- return {
745
- get: r
746
- };
747
- }
748
- function nn(e, t, n, r, s) {
749
- const {
750
- startEdge: c,
751
- endEdge: o
752
- } = e, {
753
- groupSlides: l
754
- } = s, a = i().map(t.measure), u = m(), S = C();
755
- function i() {
756
- return l(r).map((h) => K(h)[o] - h[0][c]).map(M);
757
- }
758
- function m() {
759
- return r.map((h) => n[c] - h[c]).map((h) => -M(h));
760
- }
761
- function C() {
762
- return l(u).map((h) => h[0]).map((h, b) => h + a[b]);
763
- }
764
- return {
765
- snaps: u,
766
- snapsAligned: S
767
- };
768
- }
769
- function rn(e, t, n, r, s, c) {
770
- const {
771
- groupSlides: o
772
- } = s, {
773
- min: l,
774
- max: a
775
- } = r, u = S();
776
- function S() {
777
- const m = o(c), C = !e || t === "keepSnaps";
778
- return n.length === 1 ? [c] : C ? m : m.slice(l, a).map((p, h, b) => {
779
- const f = !h, g = Fe(b, h);
780
- if (f) {
781
- const N = K(b[0]) + 1;
782
- return ot(N);
783
- }
784
- if (g) {
785
- const N = Se(c) - K(b)[0] + 1;
786
- return ot(N, K(b)[0]);
787
- }
788
- return p;
789
- });
790
- }
791
- return {
792
- slideRegistry: u
793
- };
794
- }
795
- function on(e, t, n, r, s) {
796
- const {
797
- reachedAny: c,
798
- removeOffset: o,
799
- constrain: l
800
- } = r;
801
- function a(p) {
802
- return p.concat().sort((h, b) => M(h) - M(b))[0];
803
- }
804
- function u(p) {
805
- const h = e ? o(p) : l(p), b = t.map((g, N) => ({
806
- diff: S(g - h, 0),
807
- index: N
808
- })).sort((g, N) => M(g.diff) - M(N.diff)), {
809
- index: f
810
- } = b[0];
811
- return {
812
- index: f,
813
- distance: h
814
- };
815
- }
816
- function S(p, h) {
817
- const b = [p, p + n, p - n];
818
- if (!e) return p;
819
- if (!h) return a(b);
820
- const f = b.filter((g) => Be(g) === h);
821
- return f.length ? a(f) : K(b) - n;
822
- }
823
- function i(p, h) {
824
- const b = t[p] - s.get(), f = S(b, h);
825
- return {
826
- index: p,
827
- distance: f
828
- };
829
- }
830
- function m(p, h) {
831
- const b = s.get() + p, {
832
- index: f,
833
- distance: g
834
- } = u(b), N = !e && c(b);
835
- if (!h || N) return {
836
- index: f,
837
- distance: p
838
- };
839
- const I = t[f] - g, T = p + S(I, 0);
840
- return {
841
- index: f,
842
- distance: T
843
- };
844
- }
845
- return {
846
- byDistance: m,
847
- byIndex: i,
848
- shortcut: S
849
- };
850
- }
851
- function sn(e, t, n, r, s, c, o) {
852
- function l(i) {
853
- const m = i.distance, C = i.index !== t.get();
854
- c.add(m), m && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), C && (n.set(t.get()), t.set(i.index), o.emit("select"));
855
- }
856
- function a(i, m) {
857
- const C = s.byDistance(i, m);
858
- l(C);
859
- }
860
- function u(i, m) {
861
- const C = t.clone().set(i), p = s.byIndex(C.get(), m);
862
- l(p);
863
- }
864
- return {
865
- distance: a,
866
- index: u
867
- };
200
+ G.displayName = "KuatHeader";
201
+ function de(a) {
202
+ const r = (a == null ? void 0 : a.variant) ?? "default";
203
+ return s("kuat-header", `kuat-header--${r}`);
868
204
  }
869
- function cn(e, t, n, r, s, c, o, l) {
870
- const a = {
871
- passive: !0,
872
- capture: !0
873
- };
874
- let u = 0;
875
- function S(C) {
876
- if (!l) return;
877
- function p(h) {
878
- if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
879
- o.emit("slideFocusStart"), e.scrollLeft = 0;
880
- const g = n.findIndex((N) => N.includes(h));
881
- Pe(g) && (s.useDuration(0), r.index(g, 0), o.emit("slideFocus"));
882
- }
883
- c.add(document, "keydown", i, !1), t.forEach((h, b) => {
884
- c.add(h, "focus", (f) => {
885
- (Ee(l) || l(C, f)) && p(b);
886
- }, a);
887
- });
888
- }
889
- function i(C) {
890
- C.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
891
- }
892
- return {
893
- init: S
894
- };
895
- }
896
- function me(e) {
897
- let t = e;
898
- function n() {
899
- return t;
900
- }
901
- function r(a) {
902
- t = o(a);
903
- }
904
- function s(a) {
905
- t += o(a);
906
- }
907
- function c(a) {
908
- t -= o(a);
909
- }
910
- function o(a) {
911
- return Pe(a) ? a : a.get();
912
- }
913
- return {
914
- get: n,
915
- set: r,
916
- add: s,
917
- subtract: c
918
- };
919
- }
920
- function it(e, t) {
921
- const n = e.scroll === "x" ? o : l, r = t.style;
922
- let s = null, c = !1;
923
- function o(m) {
924
- return `translate3d(${m}px,0px,0px)`;
925
- }
926
- function l(m) {
927
- return `translate3d(0px,${m}px,0px)`;
928
- }
929
- function a(m) {
930
- if (c) return;
931
- const C = Gt(e.direction(m));
932
- C !== s && (r.transform = n(C), s = C);
933
- }
934
- function u(m) {
935
- c = !m;
936
- }
937
- function S() {
938
- c || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
939
- }
940
- return {
941
- clear: S,
942
- to: a,
943
- toggleActive: u
944
- };
945
- }
946
- function an(e, t, n, r, s, c, o, l, a) {
947
- const S = he(s), i = he(s).reverse(), m = f().concat(g());
948
- function C(E, L) {
949
- return E.reduce((w, V) => w - s[V], L);
950
- }
951
- function p(E, L) {
952
- return E.reduce((w, V) => C(w, L) > 0 ? w.concat([V]) : w, []);
953
- }
954
- function h(E) {
955
- return c.map((L, w) => ({
956
- start: L - r[w] + 0.5 + E,
957
- end: L + t - 0.5 + E
958
- }));
959
- }
960
- function b(E, L, w) {
961
- const V = h(L);
962
- return E.map((k) => {
963
- const F = w ? 0 : -n, U = w ? n : 0, j = w ? "end" : "start", z = V[k][j];
964
- return {
965
- index: k,
966
- loopPoint: z,
967
- slideLocation: me(-1),
968
- translate: it(e, a[k]),
969
- target: () => l.get() > z ? F : U
970
- };
971
- });
972
- }
973
- function f() {
974
- const E = o[0], L = p(i, E);
975
- return b(L, n, !1);
976
- }
977
- function g() {
978
- const E = t - o[0] - 1, L = p(S, E);
979
- return b(L, -n, !0);
980
- }
981
- function N() {
982
- return m.every(({
983
- index: E
984
- }) => {
985
- const L = S.filter((w) => w !== E);
986
- return C(L, t) <= 0.1;
987
- });
988
- }
989
- function I() {
990
- m.forEach((E) => {
991
- const {
992
- target: L,
993
- translate: w,
994
- slideLocation: V
995
- } = E, k = L();
996
- k !== V.get() && (w.to(k), V.set(k));
997
- });
998
- }
999
- function T() {
1000
- m.forEach((E) => E.translate.clear());
1001
- }
1002
- return {
1003
- canLoop: N,
1004
- clear: T,
1005
- loop: I,
1006
- loopPoints: m
1007
- };
1008
- }
1009
- function ln(e, t, n) {
1010
- let r, s = !1;
1011
- function c(a) {
1012
- if (!n) return;
1013
- function u(S) {
1014
- for (const i of S)
1015
- if (i.type === "childList") {
1016
- a.reInit(), t.emit("slidesChanged");
1017
- break;
1018
- }
1019
- }
1020
- r = new MutationObserver((S) => {
1021
- s || (Ee(n) || n(a, S)) && u(S);
1022
- }), r.observe(e, {
1023
- childList: !0
1024
- });
1025
- }
1026
- function o() {
1027
- r && r.disconnect(), s = !0;
1028
- }
1029
- return {
1030
- init: c,
1031
- destroy: o
1032
- };
1033
- }
1034
- function un(e, t, n, r) {
1035
- const s = {};
1036
- let c = null, o = null, l, a = !1;
1037
- function u() {
1038
- l = new IntersectionObserver((p) => {
1039
- a || (p.forEach((h) => {
1040
- const b = t.indexOf(h.target);
1041
- s[b] = h;
1042
- }), c = null, o = null, n.emit("slidesInView"));
1043
- }, {
1044
- root: e.parentElement,
1045
- threshold: r
1046
- }), t.forEach((p) => l.observe(p));
1047
- }
1048
- function S() {
1049
- l && l.disconnect(), a = !0;
1050
- }
1051
- function i(p) {
1052
- return ge(s).reduce((h, b) => {
1053
- const f = parseInt(b), {
1054
- isIntersecting: g
1055
- } = s[f];
1056
- return (p && g || !p && !g) && h.push(f), h;
1057
- }, []);
1058
- }
1059
- function m(p = !0) {
1060
- if (p && c) return c;
1061
- if (!p && o) return o;
1062
- const h = i(p);
1063
- return p && (c = h), p || (o = h), h;
1064
- }
1065
- return {
1066
- init: u,
1067
- destroy: S,
1068
- get: m
1069
- };
1070
- }
1071
- function dn(e, t, n, r, s, c) {
1072
- const {
1073
- measureSize: o,
1074
- startEdge: l,
1075
- endEdge: a
1076
- } = e, u = n[0] && s, S = p(), i = h(), m = n.map(o), C = b();
1077
- function p() {
1078
- if (!u) return 0;
1079
- const g = n[0];
1080
- return M(t[l] - g[l]);
1081
- }
1082
- function h() {
1083
- if (!u) return 0;
1084
- const g = c.getComputedStyle(K(r));
1085
- return parseFloat(g.getPropertyValue(`margin-${a}`));
1086
- }
1087
- function b() {
1088
- return n.map((g, N, I) => {
1089
- const T = !N, x = Fe(I, N);
1090
- return T ? m[N] + S : x ? m[N] + i : I[N + 1][l] - g[l];
1091
- }).map(M);
1092
- }
1093
- return {
1094
- slideSizes: m,
1095
- slideSizesWithGaps: C,
1096
- startGap: S,
1097
- endGap: i
1098
- };
1099
- }
1100
- function fn(e, t, n, r, s, c, o, l, a) {
1101
- const {
1102
- startEdge: u,
1103
- endEdge: S,
1104
- direction: i
1105
- } = e, m = Pe(n);
1106
- function C(f, g) {
1107
- return he(f).filter((N) => N % g === 0).map((N) => f.slice(N, N + g));
1108
- }
1109
- function p(f) {
1110
- return f.length ? he(f).reduce((g, N, I) => {
1111
- const T = K(g) || 0, x = T === 0, E = N === Se(f), L = s[u] - c[T][u], w = s[u] - c[N][S], V = !r && x ? i(o) : 0, k = !r && E ? i(l) : 0, F = M(w - k - (L + V));
1112
- return I && F > t + a && g.push(N), E && g.push(f.length), g;
1113
- }, []).map((g, N, I) => {
1114
- const T = Math.max(I[N - 1] || 0);
1115
- return f.slice(T, g);
1116
- }) : [];
1117
- }
1118
- function h(f) {
1119
- return m ? C(f, n) : p(f);
1120
- }
1121
- return {
1122
- groupSlides: h
1123
- };
1124
- }
1125
- function mn(e, t, n, r, s, c, o) {
1126
- const {
1127
- align: l,
1128
- axis: a,
1129
- direction: u,
1130
- startIndex: S,
1131
- loop: i,
1132
- duration: m,
1133
- dragFree: C,
1134
- dragThreshold: p,
1135
- inViewThreshold: h,
1136
- slidesToScroll: b,
1137
- skipSnaps: f,
1138
- containScroll: g,
1139
- watchResize: N,
1140
- watchSlides: I,
1141
- watchDrag: T,
1142
- watchFocus: x
1143
- } = c, E = 2, L = $t(), w = L.measure(t), V = n.map(L.measure), k = Ut(a, u), F = k.measureSize(w), U = qt(F), j = Zt(l, F), z = !i && !!g, ne = i || !!g, {
1144
- slideSizes: ee,
1145
- slideSizesWithGaps: X,
1146
- startGap: Y,
1147
- endGap: le
1148
- } = dn(k, w, V, n, ne, s), $ = fn(k, F, b, i, w, V, Y, le, E), {
1149
- snaps: ce,
1150
- snapsAligned: ae
1151
- } = nn(k, j, w, V, $), Q = -K(ce) + K(X), {
1152
- snapsContained: ue,
1153
- scrollContainLimit: de
1154
- } = Jt(F, Q, ae, g, E), G = z ? ue : ae, {
1155
- limit: P
1156
- } = Wt(Q, G, i), J = at(Se(G), S, i), Z = J.clone(), D = he(n), y = ({
1157
- dragHandler: ie,
1158
- scrollBody: ve,
1159
- scrollBounds: Ie,
1160
- options: {
1161
- loop: Ne
1162
- }
1163
- }) => {
1164
- Ne || Ie.constrain(ie.pointerDown()), ve.seek();
1165
- }, A = ({
1166
- scrollBody: ie,
1167
- translate: ve,
1168
- location: Ie,
1169
- offsetLocation: Ne,
1170
- previousLocation: Lt,
1171
- scrollLooper: wt,
1172
- slideLooper: xt,
1173
- dragHandler: vt,
1174
- animation: It,
1175
- eventHandler: $e,
1176
- scrollBounds: Ht,
1177
- options: {
1178
- loop: qe
1179
- }
1180
- }, Xe) => {
1181
- const Ye = ie.settled(), Tt = !Ht.shouldConstrain(), Qe = qe ? Ye : Ye && Tt, Je = Qe && !vt.pointerDown();
1182
- Je && It.stop();
1183
- const kt = Ie.get() * Xe + Lt.get() * (1 - Xe);
1184
- Ne.set(kt), qe && (wt.loop(ie.direction()), xt.loop()), ve.to(Ne.get()), Je && $e.emit("settle"), Qe || $e.emit("scroll");
1185
- }, O = Kt(r, s, () => y(xe), (ie) => A(xe, ie)), B = 0.68, q = G[J.get()], W = me(q), re = me(q), te = me(q), oe = me(q), fe = Yt(W, te, re, oe, m, B), Le = on(i, G, Q, P, oe), we = sn(O, J, Z, fe, Le, oe, o), Ue = tn(P), je = be(), _t = un(t, n, o, h), {
1186
- slideRegistry: ze
1187
- } = rn(z, g, G, de, $, D), Et = cn(e, n, ze, we, fe, je, o, x), xe = {
1188
- ownerDocument: r,
1189
- ownerWindow: s,
1190
- eventHandler: o,
1191
- containerRect: w,
1192
- slideRects: V,
1193
- animation: O,
1194
- axis: k,
1195
- dragHandler: jt(k, e, r, s, oe, zt(k, s), W, O, we, fe, Le, J, o, U, C, p, f, B, T),
1196
- eventStore: je,
1197
- percentOfView: U,
1198
- index: J,
1199
- indexPrevious: Z,
1200
- limit: P,
1201
- location: W,
1202
- offsetLocation: te,
1203
- previousLocation: re,
1204
- options: c,
1205
- resizeHandler: Xt(t, o, s, n, k, N, L),
1206
- scrollBody: fe,
1207
- scrollBounds: Qt(P, te, oe, fe, U),
1208
- scrollLooper: en(Q, P, te, [W, te, re, oe]),
1209
- scrollProgress: Ue,
1210
- scrollSnapList: G.map(Ue.get),
1211
- scrollSnaps: G,
1212
- scrollTarget: Le,
1213
- scrollTo: we,
1214
- slideLooper: an(k, F, Q, ee, X, ce, G, te, n),
1215
- slideFocus: Et,
1216
- slidesHandler: ln(t, o, I),
1217
- slidesInView: _t,
1218
- slideIndexes: D,
1219
- slideRegistry: ze,
1220
- slidesToScroll: $,
1221
- target: oe,
1222
- translate: it(k, t)
1223
- };
1224
- return xe;
1225
- }
1226
- function pn() {
1227
- let e = {}, t;
1228
- function n(u) {
1229
- t = u;
1230
- }
1231
- function r(u) {
1232
- return e[u] || [];
1233
- }
1234
- function s(u) {
1235
- return r(u).forEach((S) => S(t, u)), a;
1236
- }
1237
- function c(u, S) {
1238
- return e[u] = r(u).concat([S]), a;
1239
- }
1240
- function o(u, S) {
1241
- return e[u] = r(u).filter((i) => i !== S), a;
1242
- }
1243
- function l() {
1244
- e = {};
1245
- }
1246
- const a = {
1247
- init: n,
1248
- emit: s,
1249
- off: o,
1250
- on: c,
1251
- clear: l
1252
- };
1253
- return a;
1254
- }
1255
- const hn = {
1256
- align: "center",
1257
- axis: "x",
1258
- container: null,
1259
- slides: null,
1260
- containScroll: "trimSnaps",
1261
- direction: "ltr",
1262
- slidesToScroll: 1,
1263
- inViewThreshold: 0,
1264
- breakpoints: {},
1265
- dragFree: !1,
1266
- dragThreshold: 10,
1267
- loop: !1,
1268
- skipSnaps: !1,
1269
- duration: 25,
1270
- startIndex: 0,
1271
- active: !0,
1272
- watchDrag: !0,
1273
- watchResize: !0,
1274
- watchSlides: !0,
1275
- watchFocus: !0
1276
- };
1277
- function gn(e) {
1278
- function t(c, o) {
1279
- return ct(c, o || {});
1280
- }
1281
- function n(c) {
1282
- const o = c.breakpoints || {}, l = ge(o).filter((a) => e.matchMedia(a).matches).map((a) => o[a]).reduce((a, u) => t(a, u), {});
1283
- return t(c, l);
1284
- }
1285
- function r(c) {
1286
- return c.map((o) => ge(o.breakpoints || {})).reduce((o, l) => o.concat(l), []).map(e.matchMedia);
1287
- }
1288
- return {
1289
- mergeOptions: t,
1290
- optionsAtMedia: n,
1291
- optionsMediaQueries: r
1292
- };
1293
- }
1294
- function bn(e) {
1295
- let t = [];
1296
- function n(c, o) {
1297
- return t = o.filter(({
1298
- options: l
1299
- }) => e.optionsAtMedia(l).active !== !1), t.forEach((l) => l.init(c, e)), o.reduce((l, a) => Object.assign(l, {
1300
- [a.name]: a
1301
- }), {});
1302
- }
1303
- function r() {
1304
- t = t.filter((c) => c.destroy());
1305
- }
1306
- return {
1307
- init: n,
1308
- destroy: r
1309
- };
1310
- }
1311
- function ye(e, t, n) {
1312
- const r = e.ownerDocument, s = r.defaultView, c = gn(s), o = bn(c), l = be(), a = pn(), {
1313
- mergeOptions: u,
1314
- optionsAtMedia: S,
1315
- optionsMediaQueries: i
1316
- } = c, {
1317
- on: m,
1318
- off: C,
1319
- emit: p
1320
- } = a, h = k;
1321
- let b = !1, f, g = u(hn, ye.globalOptions), N = u(g), I = [], T, x, E;
1322
- function L() {
1323
- const {
1324
- container: D,
1325
- slides: y
1326
- } = N;
1327
- x = (ke(D) ? e.querySelector(D) : D) || e.children[0];
1328
- const O = ke(y) ? x.querySelectorAll(y) : y;
1329
- E = [].slice.call(O || x.children);
1330
- }
1331
- function w(D) {
1332
- const y = mn(e, x, E, r, s, D, a);
1333
- if (D.loop && !y.slideLooper.canLoop()) {
1334
- const A = Object.assign({}, D, {
1335
- loop: !1
1336
- });
1337
- return w(A);
1338
- }
1339
- return y;
1340
- }
1341
- function V(D, y) {
1342
- b || (g = u(g, D), N = S(g), I = y || I, L(), f = w(N), i([g, ...I.map(({
1343
- options: A
1344
- }) => A)]).forEach((A) => l.add(A, "change", k)), N.active && (f.translate.to(f.location.get()), f.animation.init(), f.slidesInView.init(), f.slideFocus.init(Z), f.eventHandler.init(Z), f.resizeHandler.init(Z), f.slidesHandler.init(Z), f.options.loop && f.slideLooper.loop(), x.offsetParent && E.length && f.dragHandler.init(Z), T = o.init(Z, I)));
1345
- }
1346
- function k(D, y) {
1347
- const A = $();
1348
- F(), V(u({
1349
- startIndex: A
1350
- }, D), y), a.emit("reInit");
1351
- }
1352
- function F() {
1353
- f.dragHandler.destroy(), f.eventStore.clear(), f.translate.clear(), f.slideLooper.clear(), f.resizeHandler.destroy(), f.slidesHandler.destroy(), f.slidesInView.destroy(), f.animation.destroy(), o.destroy(), l.clear();
1354
- }
1355
- function U() {
1356
- b || (b = !0, l.clear(), F(), a.emit("destroy"), a.clear());
1357
- }
1358
- function j(D, y, A) {
1359
- !N.active || b || (f.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : N.duration), f.scrollTo.index(D, A || 0));
1360
- }
1361
- function z(D) {
1362
- const y = f.index.add(1).get();
1363
- j(y, D, -1);
1364
- }
1365
- function ne(D) {
1366
- const y = f.index.add(-1).get();
1367
- j(y, D, 1);
1368
- }
1369
- function ee() {
1370
- return f.index.add(1).get() !== $();
1371
- }
1372
- function X() {
1373
- return f.index.add(-1).get() !== $();
1374
- }
1375
- function Y() {
1376
- return f.scrollSnapList;
1377
- }
1378
- function le() {
1379
- return f.scrollProgress.get(f.offsetLocation.get());
1380
- }
1381
- function $() {
1382
- return f.index.get();
1383
- }
1384
- function ce() {
1385
- return f.indexPrevious.get();
1386
- }
1387
- function ae() {
1388
- return f.slidesInView.get();
1389
- }
1390
- function Q() {
1391
- return f.slidesInView.get(!1);
1392
- }
1393
- function ue() {
1394
- return T;
1395
- }
1396
- function de() {
1397
- return f;
1398
- }
1399
- function G() {
1400
- return e;
1401
- }
1402
- function P() {
1403
- return x;
1404
- }
1405
- function J() {
1406
- return E;
1407
- }
1408
- const Z = {
1409
- canScrollNext: ee,
1410
- canScrollPrev: X,
1411
- containerNode: P,
1412
- internalEngine: de,
1413
- destroy: U,
1414
- off: C,
1415
- on: m,
1416
- emit: p,
1417
- plugins: ue,
1418
- previousScrollSnap: ce,
1419
- reInit: h,
1420
- rootNode: G,
1421
- scrollNext: z,
1422
- scrollPrev: ne,
1423
- scrollProgress: le,
1424
- scrollSnapList: Y,
1425
- scrollTo: j,
1426
- selectedScrollSnap: $,
1427
- slideNodes: J,
1428
- slidesInView: ae,
1429
- slidesNotInView: Q
1430
- };
1431
- return V(t, n), setTimeout(() => a.emit("init"), 0), Z;
1432
- }
1433
- ye.globalOptions = void 0;
1434
- function Ge(e = {}, t = []) {
1435
- const n = We(e), r = We(t), [s, c] = et(), [o, l] = et(), a = At(() => {
1436
- s && s.reInit(n.current, r.current);
1437
- }, [s]);
1438
- return He(() => {
1439
- Re(n.current, e) || (n.current = e, a());
1440
- }, [e, a]), He(() => {
1441
- Bt(r.current, t) || (r.current = t, a());
1442
- }, [t, a]), He(() => {
1443
- if (Pt() && o) {
1444
- ye.globalOptions = Ge.globalOptions;
1445
- const u = ye(o, n.current, r.current);
1446
- return c(u), () => u.destroy();
1447
- } else
1448
- c(void 0);
1449
- }, [o, c]), [l, s];
1450
- }
1451
- Ge.globalOptions = void 0;
1452
- const lt = _.createContext(void 0);
1453
- function Ce() {
1454
- const e = _.useContext(lt);
1455
- if (!e)
1456
- throw new Error("Carousel components must be used within a Carousel.");
1457
- return e;
1458
- }
1459
- const ut = _.forwardRef(
205
+ const ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
1460
206
  ({
1461
- opts: e,
1462
- basis: t = 1,
1463
- orientation: n = "horizontal",
1464
- plugins: r,
1465
- setApi: s,
1466
- events: c,
1467
- className: o,
1468
- children: l,
1469
- ...a
1470
- }, u) => {
1471
- const [S, i] = Ge(
1472
- {
1473
- ...e,
1474
- axis: n === "horizontal" ? "x" : "y"
1475
- },
1476
- r
1477
- ), [m, C] = _.useState(!1), [p, h] = _.useState(!1), b = _.useCallback(() => {
1478
- i == null || i.scrollPrev();
1479
- }, [i]), f = _.useCallback(() => {
1480
- i == null || i.scrollNext();
1481
- }, [i]), g = _.useCallback((E) => {
1482
- E && (C(E.canScrollPrev()), h(E.canScrollNext()));
1483
- }, []);
1484
- _.useEffect(() => {
1485
- if (i)
1486
- return s == null || s(i), g(i), i.on("reInit", g).on("select", g), () => {
1487
- i.off("reInit", g).off("select", g);
1488
- };
1489
- }, [i, g, s]), _.useEffect(() => {
1490
- if (!i || !c) return;
1491
- const E = Object.entries(c).flatMap(([L, w]) => {
1492
- if (!w) return [];
1493
- const V = () => w(i, L);
1494
- return i.on(L, V), [[L, V]];
1495
- });
1496
- return () => {
1497
- E.forEach(([L, w]) => {
1498
- i.off(L, w);
1499
- });
1500
- };
1501
- }, [i, c]);
1502
- const N = _.useMemo(
1503
- () => ({
1504
- api: i,
1505
- basis: t,
1506
- orientation: n,
1507
- scrollPrev: b,
1508
- scrollNext: f,
1509
- canScrollPrev: m,
1510
- canScrollNext: p
1511
- }),
1512
- [i, t, n, b, f, m, p]
1513
- ), I = _.Children.toArray(l), [T, ...x] = I;
1514
- return /* @__PURE__ */ d(lt.Provider, { value: N, children: /* @__PURE__ */ H("div", { ref: u, className: v("carousel", o), ...a, children: [
1515
- x.length > 0 ? /* @__PURE__ */ d("div", { className: "carousel__controls", "data-slot": "carousel-controls", children: x }) : null,
1516
- /* @__PURE__ */ d("div", { ref: S, className: "carousel__viewport", children: T })
1517
- ] }) });
1518
- }
1519
- );
1520
- ut.displayName = "Carousel";
1521
- const dt = _.forwardRef(
1522
- ({ className: e, ...t }, n) => {
1523
- const { orientation: r } = Ce();
1524
- return /* @__PURE__ */ d(
1525
- "div",
1526
- {
1527
- ref: n,
1528
- className: v("carousel__content", `carousel__content--${r}`, e),
1529
- ...t
1530
- }
1531
- );
1532
- }
1533
- );
1534
- dt.displayName = "CarouselContent";
1535
- const ft = _.forwardRef(
1536
- ({ basis: e, className: t, ...n }, r) => {
1537
- const { basis: s, orientation: c } = Ce(), o = e ?? s;
1538
- return /* @__PURE__ */ d(
1539
- "div",
1540
- {
1541
- ref: r,
1542
- className: v(
1543
- "carousel__item",
1544
- `carousel__item--${c}`,
1545
- `carousel__item--basis-${o}`,
1546
- t
1547
- ),
1548
- ...n
1549
- }
1550
- );
1551
- }
1552
- );
1553
- ft.displayName = "CarouselItem";
1554
- const mt = _.forwardRef(
1555
- ({ className: e, ...t }, n) => {
1556
- const { scrollPrev: r, canScrollPrev: s } = Ce();
1557
- return /* @__PURE__ */ d(
1558
- "button",
1559
- {
1560
- ref: n,
1561
- type: "button",
1562
- className: v("carousel__prev", e),
1563
- disabled: !s,
1564
- onClick: r,
1565
- "aria-label": "Previous slide",
1566
- ...t,
1567
- children: /* @__PURE__ */ d(Vt, {})
1568
- }
1569
- );
1570
- }
1571
- );
1572
- mt.displayName = "CarouselPrevious";
1573
- const pt = _.forwardRef(
1574
- ({ className: e, ...t }, n) => {
1575
- const { scrollNext: r, canScrollNext: s } = Ce();
1576
- return /* @__PURE__ */ d(
1577
- "button",
1578
- {
1579
- ref: n,
1580
- type: "button",
1581
- className: v("carousel__next", e),
1582
- disabled: !s,
1583
- onClick: r,
1584
- "aria-label": "Next slide",
1585
- ...t,
1586
- children: /* @__PURE__ */ d(Oe, {})
1587
- }
1588
- );
1589
- }
1590
- );
1591
- pt.displayName = "CarouselNext";
1592
- const Sn = _.forwardRef(
1593
- ({ slidesPerView: e = 1, ...t }, n) => /* @__PURE__ */ d(ut, { ref: n, basis: e, ...t })
1594
- );
1595
- Sn.displayName = "KuatCarousel";
1596
- const Bn = dt, Fn = ft, Gn = mt, Zn = pt, Kn = Ce, Un = ["service", "demo"], jn = ["light", "dark"], Cn = _.forwardRef(
1597
- ({
1598
- className: e,
1599
- title: t,
1600
- use: n = "service",
1601
- mode: r = "light",
1602
- forceDark: s = !1,
1603
- ...c
1604
- }, o) => {
1605
- const l = s ? "dark" : r, a = /* @__PURE__ */ d(
1606
- Te,
207
+ className: a,
208
+ title: r,
209
+ use: l = "service",
210
+ mode: o = "light",
211
+ forceDark: d = !1,
212
+ ...u
213
+ }, i) => {
214
+ const C = d ? "dark" : o, p = /* @__PURE__ */ e(
215
+ V,
1607
216
  {
1608
- className: v(
217
+ className: s(
1609
218
  "kuat-logo-lockup__logo",
1610
- n === "demo" && "kuat-logo-lockup__logo--demo"
219
+ l === "demo" && "kuat-logo-lockup__logo--demo"
1611
220
  ),
1612
- textColor: l === "dark" ? "white" : "grey"
221
+ textColor: C === "dark" ? "white" : "grey"
1613
222
  }
1614
223
  );
1615
- return /* @__PURE__ */ d(
224
+ return /* @__PURE__ */ e(
1616
225
  "div",
1617
226
  {
1618
- ref: o,
1619
- className: v(
227
+ ref: i,
228
+ className: s(
1620
229
  "kuat-logo-lockup",
230
+ `kuat-logo-lockup--${C}`,
1621
231
  `kuat-logo-lockup--${l}`,
1622
- `kuat-logo-lockup--${n}`,
1623
- e
232
+ a
1624
233
  ),
1625
- ...c,
1626
- children: n === "service" ? /* @__PURE__ */ H("div", { className: "kuat-logo-lockup__service-inner", children: [
1627
- /* @__PURE__ */ d("div", { className: "kuat-logo-lockup__logo-wrap", children: a }),
1628
- /* @__PURE__ */ d(
1629
- st,
234
+ ...u,
235
+ children: l === "service" ? /* @__PURE__ */ n("div", { className: "kuat-logo-lockup__service-inner", children: [
236
+ /* @__PURE__ */ e("div", { className: "kuat-logo-lockup__logo-wrap", children: p }),
237
+ /* @__PURE__ */ e(
238
+ T,
1630
239
  {
1631
240
  orientation: "vertical",
1632
241
  className: "kuat-logo-lockup__separator"
1633
242
  }
1634
243
  ),
1635
- /* @__PURE__ */ d("span", { className: "kuat-logo-lockup__service-name", children: t })
1636
- ] }) : /* @__PURE__ */ H(_e, { children: [
1637
- /* @__PURE__ */ d("h2", { className: "kuat-logo-lockup__demo-title", children: t }),
1638
- /* @__PURE__ */ H("div", { className: "kuat-logo-lockup__demo-attribution", children: [
1639
- /* @__PURE__ */ d("span", { className: "kuat-logo-lockup__demo-by", children: "A demo by" }),
1640
- /* @__PURE__ */ d("div", { className: "kuat-logo-lockup__demo-logo-wrap", children: a })
244
+ /* @__PURE__ */ e("span", { className: "kuat-logo-lockup__service-name", children: r })
245
+ ] }) : /* @__PURE__ */ n(w, { children: [
246
+ /* @__PURE__ */ e("h2", { className: "kuat-logo-lockup__demo-title", children: r }),
247
+ /* @__PURE__ */ n("div", { className: "kuat-logo-lockup__demo-attribution", children: [
248
+ /* @__PURE__ */ e("span", { className: "kuat-logo-lockup__demo-by", children: "A demo by" }),
249
+ /* @__PURE__ */ e("div", { className: "kuat-logo-lockup__demo-logo-wrap", children: p })
1641
250
  ] })
1642
251
  ] })
1643
252
  }
1644
253
  );
1645
254
  }
1646
255
  );
1647
- Cn.displayName = "KuatLogoLockup";
1648
- function zn({ className: e }) {
1649
- return /* @__PURE__ */ H(
256
+ U.displayName = "KuatLogoLockup";
257
+ function ue({ className: a }) {
258
+ return /* @__PURE__ */ n(
1650
259
  "svg",
1651
260
  {
1652
- className: v("ee-logo-icon", e),
261
+ className: s("ee-logo-icon", a),
1653
262
  viewBox: "0 0 143 133",
1654
263
  fill: "none",
1655
264
  xmlns: "http://www.w3.org/2000/svg",
1656
265
  "aria-label": "Equal Experts",
1657
266
  children: [
1658
- /* @__PURE__ */ d(
267
+ /* @__PURE__ */ e(
1659
268
  "path",
1660
269
  {
1661
270
  d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
1662
271
  fill: "currentColor"
1663
272
  }
1664
273
  ),
1665
- /* @__PURE__ */ d(
274
+ /* @__PURE__ */ e(
1666
275
  "path",
1667
276
  {
1668
277
  d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z",
1669
278
  fill: "currentColor"
1670
279
  }
1671
280
  ),
1672
- /* @__PURE__ */ d(
281
+ /* @__PURE__ */ e(
1673
282
  "path",
1674
283
  {
1675
284
  d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z",
1676
285
  fill: "currentColor"
1677
286
  }
1678
287
  ),
1679
- /* @__PURE__ */ d(
288
+ /* @__PURE__ */ e(
1680
289
  "path",
1681
290
  {
1682
291
  d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z",
@@ -1687,385 +296,385 @@ function zn({ className: e }) {
1687
296
  }
1688
297
  );
1689
298
  }
1690
- const ht = _.forwardRef(({ className: e, "aria-label": t = "Breadcrumb", ...n }, r) => /* @__PURE__ */ d(
299
+ const y = t.forwardRef(({ className: a, "aria-label": r = "Breadcrumb", ...l }, o) => /* @__PURE__ */ e(
1691
300
  "nav",
1692
301
  {
1693
- ref: r,
1694
- "aria-label": t,
1695
- className: v("breadcrumb", e),
1696
- ...n
302
+ ref: o,
303
+ "aria-label": r,
304
+ className: s("breadcrumb", a),
305
+ ...l
1697
306
  }
1698
307
  ));
1699
- ht.displayName = "BreadcrumbRoot";
1700
- const gt = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d("ol", { ref: n, className: v("breadcrumb-list", e), ...t }));
1701
- gt.displayName = "BreadcrumbList";
1702
- const Ve = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d("li", { ref: n, className: v("breadcrumb-item", e), ...t }));
1703
- Ve.displayName = "BreadcrumbItem";
1704
- const bt = _.forwardRef(({ className: e, render: t, asChild: n = !1, ...r }, s) => {
1705
- var c;
1706
- if (t) {
1707
- const o = t.props;
1708
- return _.cloneElement(t, {
1709
- ...r,
1710
- ref: s,
1711
- className: v("breadcrumb-link", o == null ? void 0 : o.className, e)
308
+ y.displayName = "BreadcrumbRoot";
309
+ const x = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("ol", { ref: l, className: s("breadcrumb-list", a), ...r }));
310
+ x.displayName = "BreadcrumbList";
311
+ const k = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("li", { ref: l, className: s("breadcrumb-item", a), ...r }));
312
+ k.displayName = "BreadcrumbItem";
313
+ const M = t.forwardRef(({ className: a, render: r, asChild: l = !1, ...o }, d) => {
314
+ var u;
315
+ if (r) {
316
+ const i = r.props;
317
+ return t.cloneElement(r, {
318
+ ...o,
319
+ ref: d,
320
+ className: s("breadcrumb-link", i == null ? void 0 : i.className, a)
1712
321
  });
1713
322
  }
1714
- if (n && _.Children.only(r.children)) {
1715
- const o = _.Children.only(r.children);
1716
- return _.cloneElement(o, {
1717
- ref: s,
1718
- className: v("breadcrumb-link", (c = o.props) == null ? void 0 : c.className, e),
1719
- ...r
323
+ if (l && t.Children.only(o.children)) {
324
+ const i = t.Children.only(o.children);
325
+ return t.cloneElement(i, {
326
+ ref: d,
327
+ className: s("breadcrumb-link", (u = i.props) == null ? void 0 : u.className, a),
328
+ ...o
1720
329
  });
1721
330
  }
1722
- return /* @__PURE__ */ d(
331
+ return /* @__PURE__ */ e(
1723
332
  "a",
1724
333
  {
1725
- ref: s,
1726
- className: v("breadcrumb-link", e),
1727
- ...r
334
+ ref: d,
335
+ className: s("breadcrumb-link", a),
336
+ ...o
1728
337
  }
1729
338
  );
1730
339
  });
1731
- bt.displayName = "BreadcrumbLink";
1732
- const De = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
340
+ M.displayName = "BreadcrumbLink";
341
+ const E = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
1733
342
  "span",
1734
343
  {
1735
- ref: n,
344
+ ref: l,
1736
345
  role: "link",
1737
346
  "aria-disabled": "true",
1738
347
  "aria-current": "page",
1739
- className: v("breadcrumb-page", e),
1740
- ...t
348
+ className: s("breadcrumb-page", a),
349
+ ...r
1741
350
  }
1742
351
  ));
1743
- De.displayName = "BreadcrumbPage";
1744
- const Me = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
352
+ E.displayName = "BreadcrumbPage";
353
+ const R = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
1745
354
  "span",
1746
355
  {
1747
- ref: r,
356
+ ref: o,
1748
357
  role: "presentation",
1749
358
  "aria-hidden": "true",
1750
- className: v("breadcrumb-separator", e),
1751
- ...n,
1752
- children: t ?? /* @__PURE__ */ d(Oe, { className: "breadcrumb-separator__icon" })
359
+ className: s("breadcrumb-separator", a),
360
+ ...l,
361
+ children: r ?? /* @__PURE__ */ e(D, { className: "breadcrumb-separator__icon" })
1753
362
  }
1754
363
  ));
1755
- Me.displayName = "BreadcrumbSeparator";
1756
- const St = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
364
+ R.displayName = "BreadcrumbSeparator";
365
+ const B = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
1757
366
  "span",
1758
367
  {
1759
- ref: n,
368
+ ref: l,
1760
369
  role: "presentation",
1761
370
  "aria-hidden": "true",
1762
- className: v("breadcrumb-ellipsis", e),
1763
- ...t,
1764
- children: /* @__PURE__ */ d(Dt, { className: "breadcrumb-ellipsis__icon" })
371
+ className: s("breadcrumb-ellipsis", a),
372
+ ...r,
373
+ children: /* @__PURE__ */ e(F, { className: "breadcrumb-ellipsis__icon" })
1765
374
  }
1766
375
  ));
1767
- St.displayName = "BreadcrumbEllipsis";
1768
- const Ct = R.Root, Nt = R.Trigger, yt = R.Group, Nn = _.forwardRef(({ className: e, inset: t, children: n, ...r }, s) => /* @__PURE__ */ H(
1769
- R.SubTrigger,
376
+ B.displayName = "BreadcrumbEllipsis";
377
+ const O = c.Root, Z = c.Trigger, K = c.Group, $ = t.forwardRef(({ className: a, inset: r, children: l, ...o }, d) => /* @__PURE__ */ n(
378
+ c.SubTrigger,
1770
379
  {
1771
- ref: s,
1772
- className: v(
380
+ ref: d,
381
+ className: s(
1773
382
  "dropdown-menu-sub-trigger",
1774
- t && "dropdown-menu-sub-trigger--inset",
1775
- e
383
+ r && "dropdown-menu-sub-trigger--inset",
384
+ a
1776
385
  ),
1777
- ...r,
386
+ ...o,
1778
387
  children: [
1779
- n,
1780
- /* @__PURE__ */ d(Oe, { className: "dropdown-menu-sub-trigger__icon" })
388
+ l,
389
+ /* @__PURE__ */ e(D, { className: "dropdown-menu-sub-trigger__icon" })
1781
390
  ]
1782
391
  }
1783
392
  ));
1784
- Nn.displayName = R.SubTrigger.displayName;
1785
- const yn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
1786
- R.SubContent,
393
+ $.displayName = c.SubTrigger.displayName;
394
+ const j = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
395
+ c.SubContent,
1787
396
  {
1788
- ref: n,
1789
- className: v("dropdown-menu-content", "dropdown-menu-sub-content", e),
1790
- ...t
397
+ ref: l,
398
+ className: s("dropdown-menu-content", "dropdown-menu-sub-content", a),
399
+ ...r
1791
400
  }
1792
401
  ));
1793
- yn.displayName = R.SubContent.displayName;
1794
- const Ze = _.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ d(R.Portal, { children: /* @__PURE__ */ d(
1795
- R.Content,
402
+ j.displayName = c.SubContent.displayName;
403
+ const A = t.forwardRef(({ className: a, sideOffset: r = 4, ...l }, o) => /* @__PURE__ */ e(c.Portal, { children: /* @__PURE__ */ e(
404
+ c.Content,
1796
405
  {
1797
- ref: r,
1798
- sideOffset: t,
1799
- className: v("dropdown-menu-content", e),
1800
- ...n
406
+ ref: o,
407
+ sideOffset: r,
408
+ className: s("dropdown-menu-content", a),
409
+ ...l
1801
410
  }
1802
411
  ) }));
1803
- Ze.displayName = R.Content.displayName;
1804
- const Ke = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
1805
- R.Item,
412
+ A.displayName = c.Content.displayName;
413
+ const I = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */ e(
414
+ c.Item,
1806
415
  {
1807
- ref: r,
1808
- className: v(
416
+ ref: o,
417
+ className: s(
1809
418
  "dropdown-menu-item",
1810
- t && "dropdown-menu-item--inset",
1811
- e
419
+ r && "dropdown-menu-item--inset",
420
+ a
1812
421
  ),
1813
- ...n
422
+ ...l
1814
423
  }
1815
424
  ));
1816
- Ke.displayName = R.Item.displayName;
1817
- const _n = _.forwardRef(({ className: e, children: t, checked: n, ...r }, s) => /* @__PURE__ */ d(
1818
- R.CheckboxItem,
425
+ I.displayName = c.Item.displayName;
426
+ const X = t.forwardRef(({ className: a, children: r, checked: l, ...o }, d) => /* @__PURE__ */ e(
427
+ c.CheckboxItem,
1819
428
  {
1820
- ref: s,
1821
- className: v("dropdown-menu-item", "dropdown-menu-checkbox-item", e),
1822
- checked: n,
1823
- ...r,
1824
- children: t
429
+ ref: d,
430
+ className: s("dropdown-menu-item", "dropdown-menu-checkbox-item", a),
431
+ checked: l,
432
+ ...o,
433
+ children: r
1825
434
  }
1826
435
  ));
1827
- _n.displayName = R.CheckboxItem.displayName;
1828
- const En = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
1829
- R.RadioItem,
436
+ X.displayName = c.CheckboxItem.displayName;
437
+ const Y = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
438
+ c.RadioItem,
1830
439
  {
1831
- ref: r,
1832
- className: v("dropdown-menu-item", "dropdown-menu-radio-item", e),
1833
- ...n,
1834
- children: t
440
+ ref: o,
441
+ className: s("dropdown-menu-item", "dropdown-menu-radio-item", a),
442
+ ...l,
443
+ children: r
1835
444
  }
1836
445
  ));
1837
- En.displayName = R.RadioItem.displayName;
1838
- const Ln = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
1839
- R.Label,
446
+ Y.displayName = c.RadioItem.displayName;
447
+ const q = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */ e(
448
+ c.Label,
1840
449
  {
1841
- ref: r,
1842
- className: v(
450
+ ref: o,
451
+ className: s(
1843
452
  "dropdown-menu-label",
1844
- t && "dropdown-menu-label--inset",
1845
- e
453
+ r && "dropdown-menu-label--inset",
454
+ a
1846
455
  ),
1847
- ...n
456
+ ...l
1848
457
  }
1849
458
  ));
1850
- Ln.displayName = R.Label.displayName;
1851
- const wn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
1852
- R.Separator,
459
+ q.displayName = c.Label.displayName;
460
+ const W = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
461
+ c.Separator,
1853
462
  {
1854
- ref: n,
1855
- className: v("dropdown-menu-separator", e),
1856
- ...t
463
+ ref: l,
464
+ className: s("dropdown-menu-separator", a),
465
+ ...r
1857
466
  }
1858
467
  ));
1859
- wn.displayName = R.Separator.displayName;
1860
- const xn = 640;
1861
- function vn(e = xn) {
1862
- const [t, n] = _.useState(!1);
1863
- return _.useEffect(() => {
468
+ W.displayName = c.Separator.displayName;
469
+ const z = 640;
470
+ function J(a = z) {
471
+ const [r, l] = t.useState(!1);
472
+ return t.useEffect(() => {
1864
473
  if (typeof window > "u" || typeof window.matchMedia != "function")
1865
474
  return;
1866
- const r = window.matchMedia(`(max-width: ${e}px)`), s = () => n(r.matches);
1867
- return s(), r.addEventListener("change", s), () => r.removeEventListener("change", s);
1868
- }, [e]), t;
1869
- }
1870
- const In = ({ href: e, children: t, className: n }) => /* @__PURE__ */ d("a", { href: e, className: n, children: t });
1871
- function Hn(e, t, n, r) {
1872
- return e.children && e.children.length > 0 ? /* @__PURE__ */ H(Ct, { children: [
1873
- /* @__PURE__ */ d(Nt, { asChild: !0, children: /* @__PURE__ */ H(
475
+ const o = window.matchMedia(`(max-width: ${a}px)`), d = () => l(o.matches);
476
+ return d(), o.addEventListener("change", d), () => o.removeEventListener("change", d);
477
+ }, [a]), r;
478
+ }
479
+ const Q = ({ href: a, children: r, className: l }) => /* @__PURE__ */ e("a", { href: a, className: l, children: r });
480
+ function ee(a, r, l, o) {
481
+ return a.children && a.children.length > 0 ? /* @__PURE__ */ n(O, { children: [
482
+ /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ n(
1874
483
  "button",
1875
484
  {
1876
485
  type: "button",
1877
- className: v(
486
+ className: s(
1878
487
  "breadcrumb-dropdown-trigger",
1879
488
  "inline-flex items-center gap-1 font-medium"
1880
489
  ),
1881
490
  "aria-haspopup": "menu",
1882
491
  children: [
1883
- e.label,
1884
- /* @__PURE__ */ d(
1885
- Mt,
492
+ a.label,
493
+ /* @__PURE__ */ e(
494
+ P,
1886
495
  {
1887
496
  className: "breadcrumb-dropdown-trigger__icon",
1888
497
  "aria-hidden": !0
1889
498
  }
1890
499
  ),
1891
- /* @__PURE__ */ d("span", { className: "sr-only", children: "Toggle menu" })
500
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Toggle menu" })
1892
501
  ]
1893
502
  }
1894
503
  ) }),
1895
- /* @__PURE__ */ d(Ze, { align: "start", children: /* @__PURE__ */ d(yt, { children: e.children.map((c, o) => /* @__PURE__ */ d(Ke, { asChild: !0, children: /* @__PURE__ */ d("a", { href: c.href, children: c.label }) }, o)) }) })
1896
- ] }) : t ? /* @__PURE__ */ d(De, { children: e.label }) : e.href ? /* @__PURE__ */ d(
1897
- bt,
504
+ /* @__PURE__ */ e(A, { align: "start", children: /* @__PURE__ */ e(K, { children: a.children.map((u, i) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: u.href, children: u.label }) }, i)) }) })
505
+ ] }) : r ? /* @__PURE__ */ e(E, { children: a.label }) : a.href ? /* @__PURE__ */ e(
506
+ M,
1898
507
  {
1899
- render: /* @__PURE__ */ d(n, { href: e.href, children: e.label })
508
+ render: /* @__PURE__ */ e(l, { href: a.href, children: a.label })
1900
509
  }
1901
- ) : /* @__PURE__ */ d(De, { children: e.label });
1902
- }
1903
- function Tn({
1904
- items: e,
1905
- linkComponent: t = In,
1906
- separator: n,
1907
- className: r,
1908
- "aria-label": s = "Breadcrumb",
1909
- ...c
1910
- }, o) {
1911
- const l = vn();
1912
- if (!e.length) return null;
1913
- const a = l && e.length > 2, u = a ? [e[0], e[e.length - 1]] : e, i = (a ? e.slice(1, -1) : []).flatMap(
1914
- (m) => m.href ? [{ label: m.label, href: m.href }] : (m.children ?? []).map((C) => ({ label: C.label, href: C.href }))
510
+ ) : /* @__PURE__ */ e(E, { children: a.label });
511
+ }
512
+ function ae({
513
+ items: a,
514
+ linkComponent: r = Q,
515
+ separator: l,
516
+ className: o,
517
+ "aria-label": d = "Breadcrumb",
518
+ ...u
519
+ }, i) {
520
+ const C = J();
521
+ if (!a.length) return null;
522
+ const p = C && a.length > 2, g = p ? [a[0], a[a.length - 1]] : a, f = (p ? a.slice(1, -1) : []).flatMap(
523
+ (m) => m.href ? [{ label: m.label, href: m.href }] : (m.children ?? []).map((h) => ({ label: h.label, href: h.href }))
1915
524
  );
1916
- return /* @__PURE__ */ d(
1917
- ht,
525
+ return /* @__PURE__ */ e(
526
+ y,
1918
527
  {
1919
- ref: o,
1920
- "aria-label": s,
1921
- className: r,
1922
- ...c,
1923
- children: /* @__PURE__ */ d(gt, { children: u.map((m, C) => {
1924
- const p = a ? C === 0 ? 0 : e.length - 1 : C, b = C === u.length - 1 && !m.href && !m.children;
1925
- return /* @__PURE__ */ H(_.Fragment, { children: [
1926
- C > 0 && /* @__PURE__ */ d(Me, { children: n }),
1927
- a && C === 1 && i.length > 0 && /* @__PURE__ */ H(_e, { children: [
1928
- /* @__PURE__ */ d(Ve, { children: /* @__PURE__ */ H(Ct, { children: [
1929
- /* @__PURE__ */ d(Nt, { asChild: !0, children: /* @__PURE__ */ H(
528
+ ref: i,
529
+ "aria-label": d,
530
+ className: o,
531
+ ...u,
532
+ children: /* @__PURE__ */ e(x, { children: g.map((m, h) => {
533
+ const _ = p ? h === 0 ? 0 : a.length - 1 : h, L = h === g.length - 1 && !m.href && !m.children;
534
+ return /* @__PURE__ */ n(t.Fragment, { children: [
535
+ h > 0 && /* @__PURE__ */ e(R, { children: l }),
536
+ p && h === 1 && f.length > 0 && /* @__PURE__ */ n(w, { children: [
537
+ /* @__PURE__ */ e(k, { children: /* @__PURE__ */ n(O, { children: [
538
+ /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ n(
1930
539
  "button",
1931
540
  {
1932
541
  type: "button",
1933
- className: v(
542
+ className: s(
1934
543
  "breadcrumb-dropdown-trigger",
1935
544
  "breadcrumb-ellipsis-trigger",
1936
545
  "inline-flex items-center"
1937
546
  ),
1938
547
  "aria-haspopup": "menu",
1939
548
  children: [
1940
- /* @__PURE__ */ d(St, {}),
1941
- /* @__PURE__ */ d("span", { className: "sr-only", children: "Show more pages" })
549
+ /* @__PURE__ */ e(B, {}),
550
+ /* @__PURE__ */ e("span", { className: "sr-only", children: "Show more pages" })
1942
551
  ]
1943
552
  }
1944
553
  ) }),
1945
- /* @__PURE__ */ d(Ze, { align: "start", children: /* @__PURE__ */ d(yt, { children: i.map((f, g) => /* @__PURE__ */ d(Ke, { asChild: !0, children: /* @__PURE__ */ d("a", { href: f.href, children: f.label }) }, g)) }) })
554
+ /* @__PURE__ */ e(A, { align: "start", children: /* @__PURE__ */ e(K, { children: f.map((b, H) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: b.href, children: b.label }) }, H)) }) })
1946
555
  ] }) }),
1947
- /* @__PURE__ */ d(Me, { children: n })
556
+ /* @__PURE__ */ e(R, { children: l })
1948
557
  ] }),
1949
- /* @__PURE__ */ d(Ve, { children: Hn(m, b, t) })
1950
- ] }, p);
558
+ /* @__PURE__ */ e(k, { children: ee(m, L, r) })
559
+ ] }, _);
1951
560
  }) })
1952
561
  }
1953
562
  );
1954
563
  }
1955
- const kn = _.forwardRef(
1956
- Tn
564
+ const re = t.forwardRef(
565
+ ae
1957
566
  );
1958
- kn.displayName = "Breadcrumb";
567
+ re.displayName = "Breadcrumb";
1959
568
  export {
1960
- sr as Accordion,
1961
- cr as AccordionContent,
1962
- ar as AccordionItem,
1963
- ir as AccordionTrigger,
1964
- ur as AlertDialog,
1965
- dr as AlertDialogAction,
1966
- fr as AlertDialogCancel,
1967
- mr as AlertDialogContent,
1968
- pr as AlertDialogDescription,
1969
- hr as AlertDialogFooter,
1970
- gr as AlertDialogHeader,
1971
- br as AlertDialogOverlay,
1972
- Sr as AlertDialogPortal,
1973
- Cr as AlertDialogTitle,
1974
- Nr as AlertDialogTrigger,
1975
- _r as BADGE_ROUNDNESS,
1976
- Er as BADGE_VARIANTS,
1977
- vr as BUTTON_COLORS,
1978
- Xn as BUTTON_GROUP_ORIENTATIONS,
1979
- Ir as BUTTON_SIZES,
1980
- Hr as BUTTON_VARIANTS,
1981
- Lr as Badge,
1982
- kn as Breadcrumb,
1983
- St as BreadcrumbEllipsis,
1984
- Ve as BreadcrumbItem,
1985
- bt as BreadcrumbLink,
1986
- gt as BreadcrumbList,
1987
- De as BreadcrumbPage,
1988
- ht as BreadcrumbRoot,
1989
- Me as BreadcrumbSeparator,
1990
- Tr as Button,
1991
- Yn as ButtonGroup,
1992
- Qn as ButtonGroupSeparator,
1993
- Jn as ButtonGroupText,
1994
- fo as CHECKBOX_FIELD_APPEARANCES,
1995
- mo as CHECKBOX_FIELD_LAYOUTS,
1996
- ut as Carousel,
1997
- dt as CarouselContent,
1998
- ft as CarouselItem,
1999
- pt as CarouselNext,
2000
- mt as CarouselPrevious,
2001
- po as Checkbox,
2002
- ho as CheckboxField,
2003
- Rn as ContentCard,
2004
- Te as EELogo,
2005
- zn as EELogoIcon,
2006
- Br as FIELD_ORIENTATIONS,
2007
- Fr as Field,
2008
- Gr as FieldContent,
2009
- Zr as FieldDescription,
2010
- Kr as FieldError,
2011
- Ur as FieldGroup,
2012
- jr as FieldLabel,
2013
- zr as FieldLegend,
2014
- $r as FieldSeparator,
2015
- qr as FieldSet,
2016
- Xr as FieldTitle,
2017
- Or as INPUT_SIZES,
2018
- Rr as Input,
2019
- jn as KUAT_LOGO_LOCKUP_MODE,
2020
- Un as KUAT_LOGO_LOCKUP_USE,
2021
- tr as KUAT_RADIAL_PROGRESS_COLORS,
2022
- nr as KUAT_RADIAL_PROGRESS_SIZES,
2023
- Sn as KuatCarousel,
2024
- Bn as KuatCarouselContent,
2025
- Fn as KuatCarouselItem,
2026
- Zn as KuatCarouselNext,
2027
- Gn as KuatCarouselPrevious,
2028
- Ot as KuatHeader,
2029
- Cn as KuatLogoLockup,
2030
- rr as KuatRadialProgress,
2031
- Qr as KuatSelect,
2032
- bo as RADIO_FIELD_APPEARANCES,
2033
- So as RADIO_FIELD_LAYOUTS,
2034
- Co as RadioField,
2035
- No as RadioGroup,
2036
- yo as RadioGroupItem,
2037
- Jr as SELECT_LINES,
2038
- Wr as SELECT_SIZES,
2039
- Do as SONNER_POSITIONS,
2040
- Eo as SWITCH_FIELD_APPEARANCES,
2041
- Lo as SWITCH_FIELD_LAYOUTS,
2042
- eo as Select,
2043
- to as SelectContent,
2044
- no as SelectGroup,
2045
- ro as SelectItem,
2046
- oo as SelectLabel,
2047
- so as SelectScrollDownButton,
2048
- co as SelectScrollUpButton,
2049
- ao as SelectSeparator,
2050
- io as SelectTrigger,
2051
- lo as SelectValue,
2052
- Mo as Sonner,
2053
- Oo as SonnerContent,
2054
- wo as Switch,
2055
- xo as SwitchField,
2056
- Vr as TEXTAREA_RESIZE,
2057
- Io as TOGGLE_SIZES,
2058
- Ho as TOGGLE_SKINS,
2059
- Dr as Textarea,
2060
- To as Toggle,
2061
- ko as ToggleGroup,
2062
- Ao as ToggleGroupItem,
2063
- wr as badgeVariants,
2064
- Wn as buttonGroupVariants,
2065
- kr as buttonVariants,
2066
- v as cn,
2067
- Pn as kuatHeaderVariants,
2068
- Ro as toast,
2069
- Ce as useCarousel,
2070
- Kn as useKuatCarousel
569
+ Oe as Accordion,
570
+ Ze as AccordionContent,
571
+ Ke as AccordionItem,
572
+ Fe as AccordionTrigger,
573
+ Ge as AlertDialog,
574
+ Ue as AlertDialogAction,
575
+ $e as AlertDialogCancel,
576
+ je as AlertDialogContent,
577
+ Xe as AlertDialogDescription,
578
+ Ye as AlertDialogFooter,
579
+ qe as AlertDialogHeader,
580
+ We as AlertDialogOverlay,
581
+ ze as AlertDialogPortal,
582
+ Je as AlertDialogTitle,
583
+ Qe as AlertDialogTrigger,
584
+ aa as BADGE_ROUNDNESS,
585
+ ra as BADGE_VARIANTS,
586
+ na as BUTTON_COLORS,
587
+ pe as BUTTON_GROUP_ORIENTATIONS,
588
+ sa as BUTTON_SIZES,
589
+ da as BUTTON_VARIANTS,
590
+ la as Badge,
591
+ re as Breadcrumb,
592
+ B as BreadcrumbEllipsis,
593
+ k as BreadcrumbItem,
594
+ M as BreadcrumbLink,
595
+ x as BreadcrumbList,
596
+ E as BreadcrumbPage,
597
+ y as BreadcrumbRoot,
598
+ R as BreadcrumbSeparator,
599
+ ca as Button,
600
+ Ce as ButtonGroup,
601
+ ge as ButtonGroupSeparator,
602
+ fe as ButtonGroupText,
603
+ Ua as CHECKBOX_FIELD_APPEARANCES,
604
+ $a as CHECKBOX_FIELD_LAYOUTS,
605
+ _e as Carousel,
606
+ He as CarouselContent,
607
+ we as CarouselItem,
608
+ Se as CarouselNext,
609
+ Le as CarouselPrevious,
610
+ ja as Checkbox,
611
+ Xa as CheckboxField,
612
+ se as ContentCard,
613
+ V as EELogo,
614
+ ue as EELogoIcon,
615
+ ba as FIELD_ORIENTATIONS,
616
+ Na as Field,
617
+ _a as FieldContent,
618
+ Ha as FieldDescription,
619
+ wa as FieldError,
620
+ Sa as FieldGroup,
621
+ La as FieldLabel,
622
+ Va as FieldLegend,
623
+ ka as FieldSeparator,
624
+ Ea as FieldSet,
625
+ Ra as FieldTitle,
626
+ Ca as INPUT_SIZES,
627
+ ga as Input,
628
+ ie as KUAT_LOGO_LOCKUP_MODE,
629
+ ce as KUAT_LOGO_LOCKUP_USE,
630
+ ye as KUAT_RADIAL_PROGRESS_COLORS,
631
+ xe as KUAT_RADIAL_PROGRESS_SIZES,
632
+ Ee as KuatCarousel,
633
+ Re as KuatCarouselContent,
634
+ Ae as KuatCarouselItem,
635
+ Ie as KuatCarouselNext,
636
+ ve as KuatCarouselPrevious,
637
+ G as KuatHeader,
638
+ U as KuatLogoLockup,
639
+ Me as KuatRadialProgress,
640
+ Ia as KuatSelect,
641
+ qa as RADIO_FIELD_APPEARANCES,
642
+ Wa as RADIO_FIELD_LAYOUTS,
643
+ za as RadioField,
644
+ Ja as RadioGroup,
645
+ Qa as RadioGroupItem,
646
+ va as SELECT_LINES,
647
+ Ta as SELECT_SIZES,
648
+ mr as SONNER_POSITIONS,
649
+ ar as SWITCH_FIELD_APPEARANCES,
650
+ rr as SWITCH_FIELD_LAYOUTS,
651
+ Da as Select,
652
+ ya as SelectContent,
653
+ xa as SelectGroup,
654
+ Ma as SelectItem,
655
+ Ba as SelectLabel,
656
+ Oa as SelectScrollDownButton,
657
+ Za as SelectScrollUpButton,
658
+ Ka as SelectSeparator,
659
+ Fa as SelectTrigger,
660
+ Pa as SelectValue,
661
+ hr as Sonner,
662
+ pr as SonnerContent,
663
+ lr as Switch,
664
+ or as SwitchField,
665
+ ma as TEXTAREA_RESIZE,
666
+ nr as TOGGLE_SIZES,
667
+ sr as TOGGLE_SKINS,
668
+ ha as Textarea,
669
+ dr as Toggle,
670
+ cr as ToggleGroup,
671
+ ir as ToggleGroupItem,
672
+ oa as badgeVariants,
673
+ be as buttonGroupVariants,
674
+ ia as buttonVariants,
675
+ s as cn,
676
+ de as kuatHeaderVariants,
677
+ Cr as toast,
678
+ Ve as useCarousel,
679
+ Te as useKuatCarousel
2071
680
  };