@equal-experts/kuat-react 0.4.2 → 0.6.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.
- package/README.md +80 -120
- package/dist/checkbox-field-Bslh9sHw.js +65 -0
- package/dist/checkbox-field.css +1 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/checkbox.js +10 -0
- package/dist/components/ui/carousel/carousel.d.ts +38 -0
- package/dist/components/ui/carousel/index.d.ts +2 -0
- package/dist/components/ui/checkbox/checkbox-field.d.ts +23 -0
- package/dist/components/ui/checkbox/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox/index.d.ts +4 -0
- package/dist/components/ui/field/field.d.ts +28 -0
- package/dist/components/ui/field/index.d.ts +2 -0
- package/dist/components/ui/input/index.d.ts +2 -0
- package/dist/components/ui/input/input.d.ts +20 -0
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +9 -25
- package/dist/components/ui/radio/index.d.ts +4 -0
- package/dist/components/ui/radio/radio-field.d.ts +25 -0
- package/dist/components/ui/radio/radio.d.ts +7 -0
- package/dist/components/ui/select/constants.d.ts +19 -0
- package/dist/components/ui/select/index.d.ts +3 -0
- package/dist/components/ui/select/select.d.ts +53 -0
- package/dist/components/ui/sonner/index.d.ts +4 -0
- package/dist/components/ui/sonner/sonner-content.d.ts +15 -0
- package/dist/components/ui/sonner/sonner.d.ts +21 -0
- package/dist/components/ui/switch/index.d.ts +4 -0
- package/dist/components/ui/switch/switch-field.d.ts +23 -0
- package/dist/components/ui/switch/switch.d.ts +5 -0
- package/dist/components/ui/textarea/index.d.ts +2 -0
- package/dist/components/ui/textarea/textarea.d.ts +9 -0
- package/dist/components/ui/toggle/constants.d.ts +4 -0
- package/dist/components/ui/toggle/index.d.ts +6 -0
- package/dist/components/ui/toggle/toggle-group.d.ts +11 -0
- package/dist/components/ui/toggle/toggle.d.ts +9 -0
- package/dist/constants-DHz0LWRt.js +49 -0
- package/dist/constants.css +1 -0
- package/dist/field-DRLopwY4.js +141 -0
- package/dist/field.css +1 -0
- package/dist/field.d.ts +3 -0
- package/dist/field.js +17 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +20 -0
- package/dist/index.js +1089 -1020
- package/dist/input-2x92vprz.js +43 -0
- package/dist/input.css +1 -0
- package/dist/input.d.ts +3 -0
- package/dist/input.js +8 -0
- package/dist/radio-field-G8dvdsLE.js +82 -0
- package/dist/radio-field.css +1 -0
- package/dist/radio.d.ts +3 -0
- package/dist/radio.js +11 -0
- package/dist/select-Oz2Zj-L0.js +232 -0
- package/dist/select.css +1 -0
- package/dist/select.d.ts +3 -0
- package/dist/select.js +19 -0
- package/dist/sonner-content-B6xwQO7z.js +107 -0
- package/dist/sonner-content.css +1 -0
- package/dist/sonner.d.ts +1 -0
- package/dist/sonner.js +7 -0
- package/dist/styles.css +1 -1
- package/dist/switch-field-Ce9CiRqk.js +61 -0
- package/dist/switch-field.css +1 -0
- package/dist/switch.d.ts +1 -0
- package/dist/switch.js +7 -0
- package/dist/textarea-DiU8h_H0.js +19 -0
- package/dist/textarea.css +1 -0
- package/dist/textarea.d.ts +3 -0
- package/dist/textarea.js +8 -0
- package/dist/toggle-group.d.ts +3 -0
- package/dist/toggle-group.js +10 -0
- package/dist/toggle.d.ts +3 -0
- package/dist/toggle.js +9 -0
- package/package.json +55 -14
package/dist/index.js
CHANGED
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as v } from "./utils-DLUjLwnh.js";
|
|
2
2
|
import { S as st } from "./button-group-BNfxHMty.js";
|
|
3
|
-
import { d as
|
|
4
|
-
import { jsxs as
|
|
5
|
-
import * as
|
|
6
|
-
import { useRef as We, useState as et, useCallback as
|
|
7
|
-
import { ChevronLeft as
|
|
8
|
-
import { b as
|
|
9
|
-
import { A as
|
|
10
|
-
import { A as
|
|
11
|
-
import { c as
|
|
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
12
|
import * as R from "@radix-ui/react-dropdown-menu";
|
|
13
|
-
import { d as
|
|
14
|
-
|
|
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({
|
|
15
24
|
className: t,
|
|
16
25
|
asChild: n = !1,
|
|
17
26
|
imageSrc: r = null,
|
|
@@ -19,26 +28,26 @@ const On = w.forwardRef(function({
|
|
|
19
28
|
contentText: c = null,
|
|
20
29
|
headerAccessory: o = null,
|
|
21
30
|
customContent: l = null,
|
|
22
|
-
footer:
|
|
23
|
-
badge:
|
|
24
|
-
category:
|
|
25
|
-
title:
|
|
26
|
-
titleHeadingLevel:
|
|
27
|
-
children:
|
|
28
|
-
...
|
|
31
|
+
footer: a = null,
|
|
32
|
+
badge: u,
|
|
33
|
+
category: S,
|
|
34
|
+
title: i,
|
|
35
|
+
titleHeadingLevel: m = 3,
|
|
36
|
+
children: C,
|
|
37
|
+
...p
|
|
29
38
|
}, h) {
|
|
30
|
-
const
|
|
31
|
-
r !== null ? /* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
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 })
|
|
38
47
|
] }),
|
|
39
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ d(b, { className: "content-card__title", children: i })
|
|
40
49
|
] }),
|
|
41
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ d(
|
|
42
51
|
"div",
|
|
43
52
|
{
|
|
44
53
|
"data-slot": "header-accessory",
|
|
@@ -47,76 +56,76 @@ const On = w.forwardRef(function({
|
|
|
47
56
|
}
|
|
48
57
|
)
|
|
49
58
|
] }),
|
|
50
|
-
c != null ? /* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
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 })
|
|
53
62
|
] })
|
|
54
63
|
] });
|
|
55
64
|
if (n) {
|
|
56
|
-
const
|
|
57
|
-
if (!
|
|
65
|
+
const g = _.Children.only(C);
|
|
66
|
+
if (!_.isValidElement(g))
|
|
58
67
|
throw new Error("ContentCard: when `asChild` is true, provide a single React element child.");
|
|
59
|
-
const
|
|
60
|
-
return
|
|
61
|
-
|
|
68
|
+
const N = g;
|
|
69
|
+
return _.cloneElement(
|
|
70
|
+
N,
|
|
62
71
|
{
|
|
63
|
-
...
|
|
72
|
+
...p,
|
|
64
73
|
ref: h,
|
|
65
74
|
"data-slot": "content-card",
|
|
66
|
-
className:
|
|
75
|
+
className: v("content-card", N.props.className, t)
|
|
67
76
|
},
|
|
68
|
-
|
|
77
|
+
f
|
|
69
78
|
);
|
|
70
79
|
}
|
|
71
|
-
return /* @__PURE__ */
|
|
80
|
+
return /* @__PURE__ */ d(
|
|
72
81
|
"div",
|
|
73
82
|
{
|
|
74
83
|
ref: h,
|
|
75
84
|
"data-slot": "content-card",
|
|
76
|
-
className:
|
|
77
|
-
...
|
|
78
|
-
children:
|
|
85
|
+
className: v("content-card", t),
|
|
86
|
+
...p,
|
|
87
|
+
children: f
|
|
79
88
|
}
|
|
80
89
|
);
|
|
81
90
|
});
|
|
82
|
-
function
|
|
83
|
-
return /* @__PURE__ */
|
|
91
|
+
function Te({ className: e, textColor: t = "grey" }) {
|
|
92
|
+
return /* @__PURE__ */ H(
|
|
84
93
|
"svg",
|
|
85
94
|
{
|
|
86
|
-
className:
|
|
95
|
+
className: v("ee-logo", `ee-logo--${t}`, e),
|
|
87
96
|
viewBox: "0 0 500 133",
|
|
88
97
|
fill: "none",
|
|
89
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
90
99
|
"aria-label": "Equal Experts logo",
|
|
91
100
|
children: [
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
/* @__PURE__ */
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
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" })
|
|
99
108
|
] }),
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
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" })
|
|
112
121
|
] })
|
|
113
122
|
] }),
|
|
114
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("clipPath", { id: "ee-logo-clip", children: /* @__PURE__ */ d("rect", { width: "500", height: "133", fill: "white" }) }) })
|
|
115
124
|
]
|
|
116
125
|
}
|
|
117
126
|
);
|
|
118
127
|
}
|
|
119
|
-
const
|
|
128
|
+
const Ot = _.forwardRef(
|
|
120
129
|
({
|
|
121
130
|
className: e,
|
|
122
131
|
variant: t = "default",
|
|
@@ -126,39 +135,39 @@ const At = w.forwardRef(
|
|
|
126
135
|
actions: c,
|
|
127
136
|
mobileMenuTrigger: o,
|
|
128
137
|
mobileMenu: l,
|
|
129
|
-
hideLogo:
|
|
130
|
-
children:
|
|
131
|
-
...
|
|
132
|
-
},
|
|
133
|
-
const
|
|
134
|
-
|
|
138
|
+
hideLogo: a,
|
|
139
|
+
children: u,
|
|
140
|
+
...S
|
|
141
|
+
}, i) => {
|
|
142
|
+
const m = n !== void 0 ? n : !a && /* @__PURE__ */ d(
|
|
143
|
+
Te,
|
|
135
144
|
{
|
|
136
145
|
className: "ee-logo--desktop shrink-0",
|
|
137
146
|
textColor: t === "bold" ? "white" : "grey"
|
|
138
147
|
}
|
|
139
|
-
),
|
|
140
|
-
|
|
148
|
+
), C = n !== void 0 ? n : !a && /* @__PURE__ */ d(
|
|
149
|
+
Te,
|
|
141
150
|
{
|
|
142
151
|
className: "ee-logo--mobile shrink-0",
|
|
143
152
|
textColor: t === "bold" ? "white" : "grey"
|
|
144
153
|
}
|
|
145
154
|
);
|
|
146
|
-
return /* @__PURE__ */
|
|
155
|
+
return /* @__PURE__ */ H(
|
|
147
156
|
"header",
|
|
148
157
|
{
|
|
149
|
-
ref:
|
|
150
|
-
className:
|
|
158
|
+
ref: i,
|
|
159
|
+
className: v(
|
|
151
160
|
"kuat-header",
|
|
152
161
|
`kuat-header--${t}`,
|
|
153
162
|
e
|
|
154
163
|
),
|
|
155
|
-
...
|
|
164
|
+
...S,
|
|
156
165
|
children: [
|
|
157
|
-
/* @__PURE__ */
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */
|
|
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(
|
|
162
171
|
st,
|
|
163
172
|
{
|
|
164
173
|
orientation: "vertical",
|
|
@@ -166,39 +175,39 @@ const At = w.forwardRef(
|
|
|
166
175
|
}
|
|
167
176
|
)
|
|
168
177
|
] }),
|
|
169
|
-
r && /* @__PURE__ */
|
|
178
|
+
r && /* @__PURE__ */ d("h1", { className: "kuat-header__desktop-title", children: r })
|
|
170
179
|
] }),
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
s && /* @__PURE__ */
|
|
173
|
-
c && /* @__PURE__ */
|
|
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 })
|
|
174
183
|
] })
|
|
175
184
|
] }),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
178
|
-
|
|
179
|
-
r && /* @__PURE__ */
|
|
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 })
|
|
180
189
|
] }),
|
|
181
|
-
o && /* @__PURE__ */
|
|
190
|
+
o && /* @__PURE__ */ d("div", { className: "shrink-0", children: o })
|
|
182
191
|
] }),
|
|
183
192
|
l,
|
|
184
|
-
|
|
193
|
+
u
|
|
185
194
|
]
|
|
186
195
|
}
|
|
187
196
|
);
|
|
188
197
|
}
|
|
189
198
|
);
|
|
190
|
-
|
|
191
|
-
function
|
|
199
|
+
Ot.displayName = "KuatHeader";
|
|
200
|
+
function Pn(e) {
|
|
192
201
|
const t = (e == null ? void 0 : e.variant) ?? "default";
|
|
193
|
-
return
|
|
202
|
+
return v("kuat-header", `kuat-header--${t}`);
|
|
194
203
|
}
|
|
195
|
-
function
|
|
204
|
+
function Rt(e) {
|
|
196
205
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
197
206
|
}
|
|
198
207
|
function tt(e) {
|
|
199
|
-
return
|
|
208
|
+
return Rt(e) || Array.isArray(e);
|
|
200
209
|
}
|
|
201
|
-
function
|
|
210
|
+
function Pt() {
|
|
202
211
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
203
212
|
}
|
|
204
213
|
function Re(e, t) {
|
|
@@ -206,14 +215,14 @@ function Re(e, t) {
|
|
|
206
215
|
if (n.length !== r.length) return !1;
|
|
207
216
|
const s = JSON.stringify(Object.keys(e.breakpoints || {})), c = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
208
217
|
return s !== c ? !1 : n.every((o) => {
|
|
209
|
-
const l = e[o],
|
|
210
|
-
return typeof l == "function" ? `${l}` == `${
|
|
218
|
+
const l = e[o], a = t[o];
|
|
219
|
+
return typeof l == "function" ? `${l}` == `${a}` : !tt(l) || !tt(a) ? l === a : Re(l, a);
|
|
211
220
|
});
|
|
212
221
|
}
|
|
213
222
|
function nt(e) {
|
|
214
223
|
return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
|
|
215
224
|
}
|
|
216
|
-
function
|
|
225
|
+
function Bt(e, t) {
|
|
217
226
|
if (e.length !== t.length) return !1;
|
|
218
227
|
const n = nt(e), r = nt(t);
|
|
219
228
|
return n.every((s, c) => {
|
|
@@ -221,46 +230,46 @@ function Dt(e, t) {
|
|
|
221
230
|
return Re(s, o);
|
|
222
231
|
});
|
|
223
232
|
}
|
|
224
|
-
function
|
|
233
|
+
function Pe(e) {
|
|
225
234
|
return typeof e == "number";
|
|
226
235
|
}
|
|
227
|
-
function
|
|
236
|
+
function ke(e) {
|
|
228
237
|
return typeof e == "string";
|
|
229
238
|
}
|
|
230
|
-
function
|
|
239
|
+
function Ee(e) {
|
|
231
240
|
return typeof e == "boolean";
|
|
232
241
|
}
|
|
233
242
|
function rt(e) {
|
|
234
243
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
235
244
|
}
|
|
236
|
-
function
|
|
245
|
+
function M(e) {
|
|
237
246
|
return Math.abs(e);
|
|
238
247
|
}
|
|
239
|
-
function
|
|
248
|
+
function Be(e) {
|
|
240
249
|
return Math.sign(e);
|
|
241
250
|
}
|
|
242
251
|
function pe(e, t) {
|
|
243
|
-
return
|
|
252
|
+
return M(e - t);
|
|
244
253
|
}
|
|
245
|
-
function
|
|
246
|
-
if (e === 0 || t === 0 ||
|
|
247
|
-
const n = pe(
|
|
248
|
-
return
|
|
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);
|
|
249
258
|
}
|
|
250
|
-
function
|
|
259
|
+
function Gt(e) {
|
|
251
260
|
return Math.round(e * 100) / 100;
|
|
252
261
|
}
|
|
253
262
|
function he(e) {
|
|
254
263
|
return ge(e).map(Number);
|
|
255
264
|
}
|
|
256
|
-
function
|
|
257
|
-
return e[
|
|
265
|
+
function K(e) {
|
|
266
|
+
return e[Se(e)];
|
|
258
267
|
}
|
|
259
|
-
function
|
|
268
|
+
function Se(e) {
|
|
260
269
|
return Math.max(0, e.length - 1);
|
|
261
270
|
}
|
|
262
271
|
function Fe(e, t) {
|
|
263
|
-
return t ===
|
|
272
|
+
return t === Se(e);
|
|
264
273
|
}
|
|
265
274
|
function ot(e, t = 0) {
|
|
266
275
|
return Array.from(Array(e), (n, r) => t + r);
|
|
@@ -274,10 +283,10 @@ function ct(e, t) {
|
|
|
274
283
|
n[s] = l ? ct(c, o) : o;
|
|
275
284
|
}), n), {});
|
|
276
285
|
}
|
|
277
|
-
function
|
|
286
|
+
function Ae(e, t) {
|
|
278
287
|
return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
|
|
279
288
|
}
|
|
280
|
-
function
|
|
289
|
+
function Zt(e, t) {
|
|
281
290
|
const n = {
|
|
282
291
|
start: r,
|
|
283
292
|
center: s,
|
|
@@ -286,14 +295,14 @@ function Rt(e, t) {
|
|
|
286
295
|
function r() {
|
|
287
296
|
return 0;
|
|
288
297
|
}
|
|
289
|
-
function s(
|
|
290
|
-
return c(
|
|
298
|
+
function s(a) {
|
|
299
|
+
return c(a) / 2;
|
|
291
300
|
}
|
|
292
|
-
function c(
|
|
293
|
-
return t -
|
|
301
|
+
function c(a) {
|
|
302
|
+
return t - a;
|
|
294
303
|
}
|
|
295
|
-
function o(
|
|
296
|
-
return
|
|
304
|
+
function o(a, u) {
|
|
305
|
+
return ke(e) ? n[e](a) : e(t, a, u);
|
|
297
306
|
}
|
|
298
307
|
return {
|
|
299
308
|
measure: o
|
|
@@ -304,14 +313,14 @@ function be() {
|
|
|
304
313
|
function t(s, c, o, l = {
|
|
305
314
|
passive: !0
|
|
306
315
|
}) {
|
|
307
|
-
let
|
|
316
|
+
let a;
|
|
308
317
|
if ("addEventListener" in s)
|
|
309
|
-
s.addEventListener(c, o, l),
|
|
318
|
+
s.addEventListener(c, o, l), a = () => s.removeEventListener(c, o, l);
|
|
310
319
|
else {
|
|
311
|
-
const
|
|
312
|
-
|
|
320
|
+
const u = s;
|
|
321
|
+
u.addListener(o), a = () => u.removeListener(o);
|
|
313
322
|
}
|
|
314
|
-
return e.push(
|
|
323
|
+
return e.push(a), r;
|
|
315
324
|
}
|
|
316
325
|
function n() {
|
|
317
326
|
e = e.filter((s) => s());
|
|
@@ -322,87 +331,87 @@ function be() {
|
|
|
322
331
|
};
|
|
323
332
|
return r;
|
|
324
333
|
}
|
|
325
|
-
function
|
|
334
|
+
function Kt(e, t, n, r) {
|
|
326
335
|
const s = be(), c = 1e3 / 60;
|
|
327
|
-
let o = null, l = 0,
|
|
328
|
-
function
|
|
336
|
+
let o = null, l = 0, a = 0;
|
|
337
|
+
function u() {
|
|
329
338
|
s.add(e, "visibilitychange", () => {
|
|
330
|
-
e.hidden &&
|
|
339
|
+
e.hidden && p();
|
|
331
340
|
});
|
|
332
341
|
}
|
|
333
|
-
function
|
|
334
|
-
|
|
342
|
+
function S() {
|
|
343
|
+
C(), s.clear();
|
|
335
344
|
}
|
|
336
|
-
function
|
|
337
|
-
if (!
|
|
338
|
-
o || (o =
|
|
339
|
-
const
|
|
340
|
-
for (o =
|
|
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; )
|
|
341
350
|
n(), l -= c;
|
|
342
|
-
const
|
|
343
|
-
r(
|
|
351
|
+
const g = l / c;
|
|
352
|
+
r(g), a && (a = t.requestAnimationFrame(i));
|
|
344
353
|
}
|
|
345
|
-
function
|
|
346
|
-
|
|
354
|
+
function m() {
|
|
355
|
+
a || (a = t.requestAnimationFrame(i));
|
|
347
356
|
}
|
|
348
|
-
function
|
|
349
|
-
t.cancelAnimationFrame(
|
|
357
|
+
function C() {
|
|
358
|
+
t.cancelAnimationFrame(a), o = null, l = 0, a = 0;
|
|
350
359
|
}
|
|
351
|
-
function
|
|
360
|
+
function p() {
|
|
352
361
|
o = null, l = 0;
|
|
353
362
|
}
|
|
354
363
|
return {
|
|
355
|
-
init:
|
|
356
|
-
destroy:
|
|
357
|
-
start:
|
|
358
|
-
stop:
|
|
364
|
+
init: u,
|
|
365
|
+
destroy: S,
|
|
366
|
+
start: m,
|
|
367
|
+
stop: C,
|
|
359
368
|
update: n,
|
|
360
369
|
render: r
|
|
361
370
|
};
|
|
362
371
|
}
|
|
363
|
-
function
|
|
364
|
-
const n = t === "rtl", r = e === "y", s = r ? "y" : "x", c = r ? "x" : "y", o = !r && n ? -1 : 1, l =
|
|
365
|
-
function
|
|
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) {
|
|
366
375
|
const {
|
|
367
376
|
height: h,
|
|
368
|
-
width:
|
|
369
|
-
} =
|
|
370
|
-
return r ? h :
|
|
377
|
+
width: b
|
|
378
|
+
} = p;
|
|
379
|
+
return r ? h : b;
|
|
371
380
|
}
|
|
372
|
-
function
|
|
381
|
+
function S() {
|
|
373
382
|
return r ? "top" : n ? "right" : "left";
|
|
374
383
|
}
|
|
375
|
-
function
|
|
384
|
+
function i() {
|
|
376
385
|
return r ? "bottom" : n ? "left" : "right";
|
|
377
386
|
}
|
|
378
|
-
function
|
|
379
|
-
return
|
|
387
|
+
function m(p) {
|
|
388
|
+
return p * o;
|
|
380
389
|
}
|
|
381
390
|
return {
|
|
382
391
|
scroll: s,
|
|
383
392
|
cross: c,
|
|
384
393
|
startEdge: l,
|
|
385
|
-
endEdge:
|
|
386
|
-
measureSize:
|
|
387
|
-
direction:
|
|
394
|
+
endEdge: a,
|
|
395
|
+
measureSize: u,
|
|
396
|
+
direction: m
|
|
388
397
|
};
|
|
389
398
|
}
|
|
390
399
|
function se(e = 0, t = 0) {
|
|
391
|
-
const n =
|
|
392
|
-
function r(
|
|
393
|
-
return
|
|
400
|
+
const n = M(e - t);
|
|
401
|
+
function r(u) {
|
|
402
|
+
return u < e;
|
|
394
403
|
}
|
|
395
|
-
function s(
|
|
396
|
-
return
|
|
404
|
+
function s(u) {
|
|
405
|
+
return u > t;
|
|
397
406
|
}
|
|
398
|
-
function c(
|
|
399
|
-
return r(
|
|
407
|
+
function c(u) {
|
|
408
|
+
return r(u) || s(u);
|
|
400
409
|
}
|
|
401
|
-
function o(
|
|
402
|
-
return c(
|
|
410
|
+
function o(u) {
|
|
411
|
+
return c(u) ? r(u) ? e : t : u;
|
|
403
412
|
}
|
|
404
|
-
function l(
|
|
405
|
-
return n ?
|
|
413
|
+
function l(u) {
|
|
414
|
+
return n ? u - n * Math.ceil((u - t) / n) : u;
|
|
406
415
|
}
|
|
407
416
|
return {
|
|
408
417
|
length: n,
|
|
@@ -415,94 +424,94 @@ function se(e = 0, t = 0) {
|
|
|
415
424
|
removeOffset: l
|
|
416
425
|
};
|
|
417
426
|
}
|
|
418
|
-
function
|
|
427
|
+
function at(e, t, n) {
|
|
419
428
|
const {
|
|
420
429
|
constrain: r
|
|
421
430
|
} = se(0, e), s = e + 1;
|
|
422
431
|
let c = o(t);
|
|
423
|
-
function o(
|
|
424
|
-
return n ?
|
|
432
|
+
function o(m) {
|
|
433
|
+
return n ? M((s + m) % s) : r(m);
|
|
425
434
|
}
|
|
426
435
|
function l() {
|
|
427
436
|
return c;
|
|
428
437
|
}
|
|
429
|
-
function
|
|
430
|
-
return c = o(
|
|
438
|
+
function a(m) {
|
|
439
|
+
return c = o(m), i;
|
|
431
440
|
}
|
|
432
|
-
function
|
|
433
|
-
return
|
|
441
|
+
function u(m) {
|
|
442
|
+
return S().set(l() + m);
|
|
434
443
|
}
|
|
435
|
-
function
|
|
436
|
-
return
|
|
444
|
+
function S() {
|
|
445
|
+
return at(e, l(), n);
|
|
437
446
|
}
|
|
438
|
-
const
|
|
447
|
+
const i = {
|
|
439
448
|
get: l,
|
|
440
|
-
set:
|
|
441
|
-
add:
|
|
442
|
-
clone:
|
|
449
|
+
set: a,
|
|
450
|
+
add: u,
|
|
451
|
+
clone: S
|
|
443
452
|
};
|
|
444
|
-
return
|
|
453
|
+
return i;
|
|
445
454
|
}
|
|
446
|
-
function
|
|
455
|
+
function jt(e, t, n, r, s, c, o, l, a, u, S, i, m, C, p, h, b, f, g) {
|
|
447
456
|
const {
|
|
448
|
-
cross:
|
|
449
|
-
direction:
|
|
450
|
-
} = e,
|
|
457
|
+
cross: N,
|
|
458
|
+
direction: I
|
|
459
|
+
} = e, T = ["INPUT", "SELECT", "TEXTAREA"], x = {
|
|
451
460
|
passive: !1
|
|
452
|
-
},
|
|
461
|
+
}, E = be(), L = be(), w = se(50, 225).constrain(C.measure(20)), V = {
|
|
453
462
|
mouse: 300,
|
|
454
463
|
touch: 400
|
|
455
|
-
},
|
|
464
|
+
}, k = {
|
|
456
465
|
mouse: 500,
|
|
457
466
|
touch: 600
|
|
458
|
-
}, F =
|
|
459
|
-
let
|
|
460
|
-
function le(
|
|
461
|
-
if (!
|
|
462
|
-
function
|
|
463
|
-
(
|
|
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);
|
|
464
473
|
}
|
|
465
474
|
const O = t;
|
|
466
|
-
|
|
467
|
-
},
|
|
468
|
-
}).add(O, "touchstart",
|
|
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);
|
|
469
478
|
}
|
|
470
479
|
function $() {
|
|
471
|
-
|
|
480
|
+
E.clear(), L.clear();
|
|
472
481
|
}
|
|
473
482
|
function ce() {
|
|
474
|
-
const
|
|
475
|
-
|
|
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);
|
|
476
485
|
}
|
|
477
|
-
function
|
|
478
|
-
const
|
|
479
|
-
return
|
|
486
|
+
function ae(y) {
|
|
487
|
+
const A = y.nodeName || "";
|
|
488
|
+
return T.includes(A);
|
|
480
489
|
}
|
|
481
|
-
function
|
|
482
|
-
return (
|
|
490
|
+
function Q() {
|
|
491
|
+
return (p ? k : V)[Y ? "mouse" : "touch"];
|
|
483
492
|
}
|
|
484
|
-
function ue(
|
|
485
|
-
const O =
|
|
486
|
-
return
|
|
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;
|
|
487
496
|
}
|
|
488
|
-
function de(
|
|
489
|
-
const
|
|
490
|
-
|
|
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")));
|
|
491
500
|
}
|
|
492
|
-
function
|
|
493
|
-
if (!
|
|
494
|
-
const O = c.readPoint(
|
|
495
|
-
if (!ee && !
|
|
496
|
-
return
|
|
497
|
-
const re = c.pointerMove(
|
|
498
|
-
q > h && (
|
|
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();
|
|
499
508
|
}
|
|
500
|
-
function
|
|
501
|
-
const O =
|
|
502
|
-
ee = !1, ne = !1,
|
|
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");
|
|
503
512
|
}
|
|
504
|
-
function
|
|
505
|
-
|
|
513
|
+
function J(y) {
|
|
514
|
+
X && (y.stopPropagation(), y.preventDefault(), X = !1);
|
|
506
515
|
}
|
|
507
516
|
function Z() {
|
|
508
517
|
return ne;
|
|
@@ -513,35 +522,35 @@ function Ft(e, t, n, r, s, c, o, l, i, a, b, p, f, N, m, h, g, d, C) {
|
|
|
513
522
|
pointerDown: Z
|
|
514
523
|
};
|
|
515
524
|
}
|
|
516
|
-
function
|
|
525
|
+
function zt(e, t) {
|
|
517
526
|
let r, s;
|
|
518
|
-
function c(
|
|
519
|
-
return
|
|
527
|
+
function c(i) {
|
|
528
|
+
return i.timeStamp;
|
|
520
529
|
}
|
|
521
|
-
function o(
|
|
522
|
-
const
|
|
523
|
-
return (
|
|
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];
|
|
524
533
|
}
|
|
525
|
-
function l(
|
|
526
|
-
return r =
|
|
534
|
+
function l(i) {
|
|
535
|
+
return r = i, s = i, o(i);
|
|
527
536
|
}
|
|
528
|
-
function i
|
|
529
|
-
const
|
|
530
|
-
return s =
|
|
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;
|
|
531
540
|
}
|
|
532
|
-
function
|
|
541
|
+
function u(i) {
|
|
533
542
|
if (!r || !s) return 0;
|
|
534
|
-
const
|
|
535
|
-
return
|
|
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;
|
|
536
545
|
}
|
|
537
546
|
return {
|
|
538
547
|
pointerDown: l,
|
|
539
|
-
pointerMove:
|
|
540
|
-
pointerUp:
|
|
548
|
+
pointerMove: a,
|
|
549
|
+
pointerUp: u,
|
|
541
550
|
readPoint: o
|
|
542
551
|
};
|
|
543
552
|
}
|
|
544
|
-
function
|
|
553
|
+
function $t() {
|
|
545
554
|
function e(n) {
|
|
546
555
|
const {
|
|
547
556
|
offsetTop: r,
|
|
@@ -562,7 +571,7 @@ function Zt() {
|
|
|
562
571
|
measure: e
|
|
563
572
|
};
|
|
564
573
|
}
|
|
565
|
-
function
|
|
574
|
+
function qt(e) {
|
|
566
575
|
function t(r) {
|
|
567
576
|
return e * (r / 100);
|
|
568
577
|
}
|
|
@@ -570,160 +579,160 @@ function Gt(e) {
|
|
|
570
579
|
measure: t
|
|
571
580
|
};
|
|
572
581
|
}
|
|
573
|
-
function
|
|
582
|
+
function Xt(e, t, n, r, s, c, o) {
|
|
574
583
|
const l = [e].concat(r);
|
|
575
|
-
let
|
|
576
|
-
function
|
|
577
|
-
return s.measureSize(o.measure(
|
|
584
|
+
let a, u, S = [], i = !1;
|
|
585
|
+
function m(b) {
|
|
586
|
+
return s.measureSize(o.measure(b));
|
|
578
587
|
}
|
|
579
|
-
function
|
|
588
|
+
function C(b) {
|
|
580
589
|
if (!c) return;
|
|
581
|
-
|
|
582
|
-
function
|
|
583
|
-
for (const
|
|
584
|
-
if (
|
|
585
|
-
const
|
|
586
|
-
if (
|
|
587
|
-
|
|
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");
|
|
588
597
|
break;
|
|
589
598
|
}
|
|
590
599
|
}
|
|
591
600
|
}
|
|
592
|
-
|
|
593
|
-
(
|
|
601
|
+
a = new ResizeObserver((g) => {
|
|
602
|
+
(Ee(c) || c(b, g)) && f(g);
|
|
594
603
|
}), n.requestAnimationFrame(() => {
|
|
595
|
-
l.forEach((
|
|
604
|
+
l.forEach((g) => a.observe(g));
|
|
596
605
|
});
|
|
597
606
|
}
|
|
598
|
-
function
|
|
599
|
-
|
|
607
|
+
function p() {
|
|
608
|
+
i = !0, a && a.disconnect();
|
|
600
609
|
}
|
|
601
610
|
return {
|
|
602
|
-
init:
|
|
603
|
-
destroy:
|
|
611
|
+
init: C,
|
|
612
|
+
destroy: p
|
|
604
613
|
};
|
|
605
614
|
}
|
|
606
|
-
function
|
|
607
|
-
let o = 0, l = 0,
|
|
608
|
-
function
|
|
609
|
-
const
|
|
610
|
-
let
|
|
611
|
-
return
|
|
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;
|
|
612
621
|
}
|
|
613
|
-
function
|
|
614
|
-
const
|
|
615
|
-
return
|
|
622
|
+
function C() {
|
|
623
|
+
const x = r.get() - t.get();
|
|
624
|
+
return M(x) < 1e-3;
|
|
616
625
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
626
|
+
function p() {
|
|
627
|
+
return a;
|
|
619
628
|
}
|
|
620
629
|
function h() {
|
|
621
630
|
return l;
|
|
622
631
|
}
|
|
623
|
-
function
|
|
632
|
+
function b() {
|
|
624
633
|
return o;
|
|
625
634
|
}
|
|
626
|
-
function
|
|
627
|
-
return
|
|
635
|
+
function f() {
|
|
636
|
+
return N(s);
|
|
628
637
|
}
|
|
629
|
-
function
|
|
630
|
-
return
|
|
638
|
+
function g() {
|
|
639
|
+
return I(c);
|
|
631
640
|
}
|
|
632
|
-
function
|
|
633
|
-
return
|
|
641
|
+
function N(x) {
|
|
642
|
+
return a = x, T;
|
|
634
643
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
644
|
+
function I(x) {
|
|
645
|
+
return u = x, T;
|
|
637
646
|
}
|
|
638
|
-
const
|
|
647
|
+
const T = {
|
|
639
648
|
direction: h,
|
|
640
|
-
duration:
|
|
641
|
-
velocity:
|
|
642
|
-
seek:
|
|
643
|
-
settled:
|
|
644
|
-
useBaseFriction:
|
|
645
|
-
useBaseDuration:
|
|
646
|
-
useFriction:
|
|
647
|
-
useDuration:
|
|
649
|
+
duration: p,
|
|
650
|
+
velocity: b,
|
|
651
|
+
seek: m,
|
|
652
|
+
settled: C,
|
|
653
|
+
useBaseFriction: g,
|
|
654
|
+
useBaseDuration: f,
|
|
655
|
+
useFriction: I,
|
|
656
|
+
useDuration: N
|
|
648
657
|
};
|
|
649
|
-
return
|
|
658
|
+
return T;
|
|
650
659
|
}
|
|
651
|
-
function
|
|
660
|
+
function Qt(e, t, n, r, s) {
|
|
652
661
|
const c = s.measure(10), o = s.measure(50), l = se(0.1, 0.99);
|
|
653
|
-
let
|
|
654
|
-
function
|
|
655
|
-
return !(
|
|
662
|
+
let a = !1;
|
|
663
|
+
function u() {
|
|
664
|
+
return !(a || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
|
|
656
665
|
}
|
|
657
|
-
function
|
|
658
|
-
if (!
|
|
659
|
-
const
|
|
660
|
-
n.subtract(
|
|
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());
|
|
661
670
|
}
|
|
662
|
-
function
|
|
663
|
-
|
|
671
|
+
function i(C) {
|
|
672
|
+
a = !C;
|
|
664
673
|
}
|
|
665
674
|
return {
|
|
666
|
-
shouldConstrain:
|
|
667
|
-
constrain:
|
|
668
|
-
toggleActive:
|
|
675
|
+
shouldConstrain: u,
|
|
676
|
+
constrain: S,
|
|
677
|
+
toggleActive: i
|
|
669
678
|
};
|
|
670
679
|
}
|
|
671
|
-
function
|
|
672
|
-
const c = se(-t + e, 0), o =
|
|
673
|
-
function
|
|
674
|
-
return pe(
|
|
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;
|
|
675
684
|
}
|
|
676
|
-
function
|
|
677
|
-
const
|
|
678
|
-
return se(
|
|
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);
|
|
679
688
|
}
|
|
680
|
-
function
|
|
681
|
-
return n.map((
|
|
689
|
+
function i() {
|
|
690
|
+
return n.map((p, h) => {
|
|
682
691
|
const {
|
|
683
|
-
min:
|
|
684
|
-
max:
|
|
685
|
-
} = c,
|
|
686
|
-
return
|
|
687
|
-
}).map((
|
|
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)));
|
|
688
697
|
}
|
|
689
|
-
function
|
|
698
|
+
function m() {
|
|
690
699
|
if (t <= e + s) return [c.max];
|
|
691
700
|
if (r === "keepSnaps") return o;
|
|
692
701
|
const {
|
|
693
|
-
min:
|
|
702
|
+
min: p,
|
|
694
703
|
max: h
|
|
695
704
|
} = l;
|
|
696
|
-
return o.slice(
|
|
705
|
+
return o.slice(p, h);
|
|
697
706
|
}
|
|
698
707
|
return {
|
|
699
|
-
snapsContained:
|
|
708
|
+
snapsContained: a,
|
|
700
709
|
scrollContainLimit: l
|
|
701
710
|
};
|
|
702
711
|
}
|
|
703
|
-
function
|
|
704
|
-
const r = t[0], s = n ? r - e :
|
|
712
|
+
function Wt(e, t, n) {
|
|
713
|
+
const r = t[0], s = n ? r - e : K(t);
|
|
705
714
|
return {
|
|
706
715
|
limit: se(s, r)
|
|
707
716
|
};
|
|
708
717
|
}
|
|
709
|
-
function
|
|
718
|
+
function en(e, t, n, r) {
|
|
710
719
|
const c = t.min + 0.1, o = t.max + 0.1, {
|
|
711
720
|
reachedMin: l,
|
|
712
|
-
reachedMax:
|
|
721
|
+
reachedMax: a
|
|
713
722
|
} = se(c, o);
|
|
714
|
-
function
|
|
715
|
-
return
|
|
723
|
+
function u(m) {
|
|
724
|
+
return m === 1 ? a(n.get()) : m === -1 ? l(n.get()) : !1;
|
|
716
725
|
}
|
|
717
|
-
function
|
|
718
|
-
if (!
|
|
719
|
-
const
|
|
720
|
-
r.forEach((
|
|
726
|
+
function S(m) {
|
|
727
|
+
if (!u(m)) return;
|
|
728
|
+
const C = e * (m * -1);
|
|
729
|
+
r.forEach((p) => p.add(C));
|
|
721
730
|
}
|
|
722
731
|
return {
|
|
723
|
-
loop:
|
|
732
|
+
loop: S
|
|
724
733
|
};
|
|
725
734
|
}
|
|
726
|
-
function
|
|
735
|
+
function tn(e) {
|
|
727
736
|
const {
|
|
728
737
|
max: t,
|
|
729
738
|
length: n
|
|
@@ -736,152 +745,152 @@ function Jt(e) {
|
|
|
736
745
|
get: r
|
|
737
746
|
};
|
|
738
747
|
}
|
|
739
|
-
function
|
|
748
|
+
function nn(e, t, n, r, s) {
|
|
740
749
|
const {
|
|
741
750
|
startEdge: c,
|
|
742
751
|
endEdge: o
|
|
743
752
|
} = e, {
|
|
744
753
|
groupSlides: l
|
|
745
|
-
} = s,
|
|
746
|
-
function
|
|
747
|
-
return l(r).map((h) =>
|
|
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);
|
|
748
757
|
}
|
|
749
|
-
function
|
|
750
|
-
return r.map((h) => n[c] - h[c]).map((h) => -
|
|
758
|
+
function m() {
|
|
759
|
+
return r.map((h) => n[c] - h[c]).map((h) => -M(h));
|
|
751
760
|
}
|
|
752
|
-
function
|
|
753
|
-
return l(
|
|
761
|
+
function C() {
|
|
762
|
+
return l(u).map((h) => h[0]).map((h, b) => h + a[b]);
|
|
754
763
|
}
|
|
755
764
|
return {
|
|
756
|
-
snaps:
|
|
757
|
-
snapsAligned:
|
|
765
|
+
snaps: u,
|
|
766
|
+
snapsAligned: S
|
|
758
767
|
};
|
|
759
768
|
}
|
|
760
|
-
function
|
|
769
|
+
function rn(e, t, n, r, s, c) {
|
|
761
770
|
const {
|
|
762
771
|
groupSlides: o
|
|
763
772
|
} = s, {
|
|
764
773
|
min: l,
|
|
765
|
-
max:
|
|
766
|
-
} = r,
|
|
767
|
-
function
|
|
768
|
-
const
|
|
769
|
-
return n.length === 1 ? [c] :
|
|
770
|
-
const
|
|
771
|
-
if (
|
|
772
|
-
const
|
|
773
|
-
return ot(
|
|
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);
|
|
774
783
|
}
|
|
775
|
-
if (
|
|
776
|
-
const
|
|
777
|
-
return ot(
|
|
784
|
+
if (g) {
|
|
785
|
+
const N = Se(c) - K(b)[0] + 1;
|
|
786
|
+
return ot(N, K(b)[0]);
|
|
778
787
|
}
|
|
779
|
-
return
|
|
788
|
+
return p;
|
|
780
789
|
});
|
|
781
790
|
}
|
|
782
791
|
return {
|
|
783
|
-
slideRegistry:
|
|
792
|
+
slideRegistry: u
|
|
784
793
|
};
|
|
785
794
|
}
|
|
786
|
-
function
|
|
795
|
+
function on(e, t, n, r, s) {
|
|
787
796
|
const {
|
|
788
797
|
reachedAny: c,
|
|
789
798
|
removeOffset: o,
|
|
790
799
|
constrain: l
|
|
791
800
|
} = r;
|
|
792
|
-
function
|
|
793
|
-
return
|
|
794
|
-
}
|
|
795
|
-
function
|
|
796
|
-
const h = e ? o(
|
|
797
|
-
diff:
|
|
798
|
-
index:
|
|
799
|
-
})).sort((
|
|
800
|
-
index:
|
|
801
|
-
} =
|
|
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];
|
|
802
811
|
return {
|
|
803
|
-
index:
|
|
812
|
+
index: f,
|
|
804
813
|
distance: h
|
|
805
814
|
};
|
|
806
815
|
}
|
|
807
|
-
function
|
|
808
|
-
const
|
|
809
|
-
if (!e) return
|
|
810
|
-
if (!h) return
|
|
811
|
-
const
|
|
812
|
-
return
|
|
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;
|
|
813
822
|
}
|
|
814
|
-
function p
|
|
815
|
-
const
|
|
823
|
+
function i(p, h) {
|
|
824
|
+
const b = t[p] - s.get(), f = S(b, h);
|
|
816
825
|
return {
|
|
817
|
-
index:
|
|
818
|
-
distance:
|
|
826
|
+
index: p,
|
|
827
|
+
distance: f
|
|
819
828
|
};
|
|
820
829
|
}
|
|
821
|
-
function
|
|
822
|
-
const
|
|
823
|
-
index:
|
|
824
|
-
distance:
|
|
825
|
-
} =
|
|
826
|
-
if (!h ||
|
|
827
|
-
index:
|
|
828
|
-
distance:
|
|
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
|
|
829
838
|
};
|
|
830
|
-
const
|
|
839
|
+
const I = t[f] - g, T = p + S(I, 0);
|
|
831
840
|
return {
|
|
832
|
-
index:
|
|
833
|
-
distance:
|
|
841
|
+
index: f,
|
|
842
|
+
distance: T
|
|
834
843
|
};
|
|
835
844
|
}
|
|
836
845
|
return {
|
|
837
|
-
byDistance:
|
|
838
|
-
byIndex:
|
|
839
|
-
shortcut:
|
|
846
|
+
byDistance: m,
|
|
847
|
+
byIndex: i,
|
|
848
|
+
shortcut: S
|
|
840
849
|
};
|
|
841
850
|
}
|
|
842
|
-
function
|
|
843
|
-
function l(
|
|
844
|
-
const
|
|
845
|
-
c.add(
|
|
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"));
|
|
846
855
|
}
|
|
847
|
-
function i
|
|
848
|
-
const
|
|
849
|
-
l(
|
|
856
|
+
function a(i, m) {
|
|
857
|
+
const C = s.byDistance(i, m);
|
|
858
|
+
l(C);
|
|
850
859
|
}
|
|
851
|
-
function
|
|
852
|
-
const
|
|
853
|
-
l(
|
|
860
|
+
function u(i, m) {
|
|
861
|
+
const C = t.clone().set(i), p = s.byIndex(C.get(), m);
|
|
862
|
+
l(p);
|
|
854
863
|
}
|
|
855
864
|
return {
|
|
856
|
-
distance:
|
|
857
|
-
index:
|
|
865
|
+
distance: a,
|
|
866
|
+
index: u
|
|
858
867
|
};
|
|
859
868
|
}
|
|
860
|
-
function
|
|
861
|
-
const
|
|
869
|
+
function cn(e, t, n, r, s, c, o, l) {
|
|
870
|
+
const a = {
|
|
862
871
|
passive: !0,
|
|
863
872
|
capture: !0
|
|
864
873
|
};
|
|
865
|
-
let
|
|
866
|
-
function
|
|
874
|
+
let u = 0;
|
|
875
|
+
function S(C) {
|
|
867
876
|
if (!l) return;
|
|
868
|
-
function
|
|
869
|
-
if ((/* @__PURE__ */ new Date()).getTime() -
|
|
877
|
+
function p(h) {
|
|
878
|
+
if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
|
|
870
879
|
o.emit("slideFocusStart"), e.scrollLeft = 0;
|
|
871
|
-
const
|
|
872
|
-
|
|
880
|
+
const g = n.findIndex((N) => N.includes(h));
|
|
881
|
+
Pe(g) && (s.useDuration(0), r.index(g, 0), o.emit("slideFocus"));
|
|
873
882
|
}
|
|
874
|
-
c.add(document, "keydown",
|
|
875
|
-
c.add(h, "focus", (
|
|
876
|
-
(
|
|
877
|
-
},
|
|
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);
|
|
878
887
|
});
|
|
879
888
|
}
|
|
880
|
-
function
|
|
881
|
-
|
|
889
|
+
function i(C) {
|
|
890
|
+
C.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
|
|
882
891
|
}
|
|
883
892
|
return {
|
|
884
|
-
init:
|
|
893
|
+
init: S
|
|
885
894
|
};
|
|
886
895
|
}
|
|
887
896
|
function me(e) {
|
|
@@ -889,17 +898,17 @@ function me(e) {
|
|
|
889
898
|
function n() {
|
|
890
899
|
return t;
|
|
891
900
|
}
|
|
892
|
-
function r(
|
|
893
|
-
t = o(
|
|
901
|
+
function r(a) {
|
|
902
|
+
t = o(a);
|
|
894
903
|
}
|
|
895
|
-
function s(
|
|
896
|
-
t += o(
|
|
904
|
+
function s(a) {
|
|
905
|
+
t += o(a);
|
|
897
906
|
}
|
|
898
|
-
function c(
|
|
899
|
-
t -= o(
|
|
907
|
+
function c(a) {
|
|
908
|
+
t -= o(a);
|
|
900
909
|
}
|
|
901
|
-
function o(
|
|
902
|
-
return
|
|
910
|
+
function o(a) {
|
|
911
|
+
return Pe(a) ? a : a.get();
|
|
903
912
|
}
|
|
904
913
|
return {
|
|
905
914
|
get: n,
|
|
@@ -908,108 +917,108 @@ function me(e) {
|
|
|
908
917
|
subtract: c
|
|
909
918
|
};
|
|
910
919
|
}
|
|
911
|
-
function
|
|
920
|
+
function it(e, t) {
|
|
912
921
|
const n = e.scroll === "x" ? o : l, r = t.style;
|
|
913
922
|
let s = null, c = !1;
|
|
914
|
-
function o(
|
|
915
|
-
return `translate3d(${
|
|
923
|
+
function o(m) {
|
|
924
|
+
return `translate3d(${m}px,0px,0px)`;
|
|
916
925
|
}
|
|
917
|
-
function l(
|
|
918
|
-
return `translate3d(0px,${
|
|
926
|
+
function l(m) {
|
|
927
|
+
return `translate3d(0px,${m}px,0px)`;
|
|
919
928
|
}
|
|
920
|
-
function
|
|
929
|
+
function a(m) {
|
|
921
930
|
if (c) return;
|
|
922
|
-
const
|
|
923
|
-
|
|
931
|
+
const C = Gt(e.direction(m));
|
|
932
|
+
C !== s && (r.transform = n(C), s = C);
|
|
924
933
|
}
|
|
925
|
-
function
|
|
926
|
-
c = !
|
|
934
|
+
function u(m) {
|
|
935
|
+
c = !m;
|
|
927
936
|
}
|
|
928
|
-
function
|
|
937
|
+
function S() {
|
|
929
938
|
c || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
|
|
930
939
|
}
|
|
931
940
|
return {
|
|
932
|
-
clear:
|
|
933
|
-
to:
|
|
934
|
-
toggleActive:
|
|
941
|
+
clear: S,
|
|
942
|
+
to: a,
|
|
943
|
+
toggleActive: u
|
|
935
944
|
};
|
|
936
945
|
}
|
|
937
|
-
function
|
|
938
|
-
const
|
|
939
|
-
function
|
|
940
|
-
return
|
|
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);
|
|
941
950
|
}
|
|
942
|
-
function
|
|
943
|
-
return
|
|
951
|
+
function p(E, L) {
|
|
952
|
+
return E.reduce((w, V) => C(w, L) > 0 ? w.concat([V]) : w, []);
|
|
944
953
|
}
|
|
945
|
-
function h(
|
|
946
|
-
return c.map((
|
|
947
|
-
start:
|
|
948
|
-
end:
|
|
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
|
|
949
958
|
}));
|
|
950
959
|
}
|
|
951
|
-
function
|
|
952
|
-
const
|
|
953
|
-
return
|
|
954
|
-
const F =
|
|
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];
|
|
955
964
|
return {
|
|
956
|
-
index:
|
|
957
|
-
loopPoint:
|
|
965
|
+
index: k,
|
|
966
|
+
loopPoint: z,
|
|
958
967
|
slideLocation: me(-1),
|
|
959
|
-
translate:
|
|
960
|
-
target: () => l.get() >
|
|
968
|
+
translate: it(e, a[k]),
|
|
969
|
+
target: () => l.get() > z ? F : U
|
|
961
970
|
};
|
|
962
971
|
});
|
|
963
972
|
}
|
|
964
|
-
function
|
|
965
|
-
const
|
|
966
|
-
return
|
|
973
|
+
function f() {
|
|
974
|
+
const E = o[0], L = p(i, E);
|
|
975
|
+
return b(L, n, !1);
|
|
967
976
|
}
|
|
968
|
-
function
|
|
969
|
-
const
|
|
970
|
-
return
|
|
977
|
+
function g() {
|
|
978
|
+
const E = t - o[0] - 1, L = p(S, E);
|
|
979
|
+
return b(L, -n, !0);
|
|
971
980
|
}
|
|
972
|
-
function
|
|
973
|
-
return
|
|
974
|
-
index:
|
|
981
|
+
function N() {
|
|
982
|
+
return m.every(({
|
|
983
|
+
index: E
|
|
975
984
|
}) => {
|
|
976
|
-
const
|
|
977
|
-
return
|
|
985
|
+
const L = S.filter((w) => w !== E);
|
|
986
|
+
return C(L, t) <= 0.1;
|
|
978
987
|
});
|
|
979
988
|
}
|
|
980
|
-
function
|
|
981
|
-
|
|
989
|
+
function I() {
|
|
990
|
+
m.forEach((E) => {
|
|
982
991
|
const {
|
|
983
|
-
target:
|
|
984
|
-
translate:
|
|
985
|
-
slideLocation:
|
|
986
|
-
} =
|
|
987
|
-
|
|
992
|
+
target: L,
|
|
993
|
+
translate: w,
|
|
994
|
+
slideLocation: V
|
|
995
|
+
} = E, k = L();
|
|
996
|
+
k !== V.get() && (w.to(k), V.set(k));
|
|
988
997
|
});
|
|
989
998
|
}
|
|
990
|
-
function
|
|
991
|
-
|
|
999
|
+
function T() {
|
|
1000
|
+
m.forEach((E) => E.translate.clear());
|
|
992
1001
|
}
|
|
993
1002
|
return {
|
|
994
|
-
canLoop:
|
|
995
|
-
clear:
|
|
996
|
-
loop:
|
|
997
|
-
loopPoints:
|
|
1003
|
+
canLoop: N,
|
|
1004
|
+
clear: T,
|
|
1005
|
+
loop: I,
|
|
1006
|
+
loopPoints: m
|
|
998
1007
|
};
|
|
999
1008
|
}
|
|
1000
|
-
function
|
|
1009
|
+
function ln(e, t, n) {
|
|
1001
1010
|
let r, s = !1;
|
|
1002
|
-
function c(
|
|
1011
|
+
function c(a) {
|
|
1003
1012
|
if (!n) return;
|
|
1004
|
-
function
|
|
1005
|
-
for (const
|
|
1006
|
-
if (
|
|
1007
|
-
|
|
1013
|
+
function u(S) {
|
|
1014
|
+
for (const i of S)
|
|
1015
|
+
if (i.type === "childList") {
|
|
1016
|
+
a.reInit(), t.emit("slidesChanged");
|
|
1008
1017
|
break;
|
|
1009
1018
|
}
|
|
1010
1019
|
}
|
|
1011
|
-
r = new MutationObserver((
|
|
1012
|
-
s || (
|
|
1020
|
+
r = new MutationObserver((S) => {
|
|
1021
|
+
s || (Ee(n) || n(a, S)) && u(S);
|
|
1013
1022
|
}), r.observe(e, {
|
|
1014
1023
|
childList: !0
|
|
1015
1024
|
});
|
|
@@ -1022,228 +1031,228 @@ function rn(e, t, n) {
|
|
|
1022
1031
|
destroy: o
|
|
1023
1032
|
};
|
|
1024
1033
|
}
|
|
1025
|
-
function
|
|
1034
|
+
function un(e, t, n, r) {
|
|
1026
1035
|
const s = {};
|
|
1027
|
-
let c = null, o = null, l,
|
|
1028
|
-
function
|
|
1029
|
-
l = new IntersectionObserver((
|
|
1030
|
-
|
|
1031
|
-
const
|
|
1032
|
-
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;
|
|
1033
1042
|
}), c = null, o = null, n.emit("slidesInView"));
|
|
1034
1043
|
}, {
|
|
1035
1044
|
root: e.parentElement,
|
|
1036
1045
|
threshold: r
|
|
1037
|
-
}), t.forEach((
|
|
1046
|
+
}), t.forEach((p) => l.observe(p));
|
|
1038
1047
|
}
|
|
1039
|
-
function
|
|
1040
|
-
l && l.disconnect(),
|
|
1041
|
-
}
|
|
1042
|
-
function p
|
|
1043
|
-
return ge(s).reduce((h,
|
|
1044
|
-
const
|
|
1045
|
-
isIntersecting:
|
|
1046
|
-
} = s[
|
|
1047
|
-
return (
|
|
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;
|
|
1048
1057
|
}, []);
|
|
1049
1058
|
}
|
|
1050
|
-
function
|
|
1051
|
-
if (
|
|
1052
|
-
if (!
|
|
1053
|
-
const h = p
|
|
1054
|
-
return
|
|
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;
|
|
1055
1064
|
}
|
|
1056
1065
|
return {
|
|
1057
|
-
init:
|
|
1058
|
-
destroy:
|
|
1059
|
-
get:
|
|
1066
|
+
init: u,
|
|
1067
|
+
destroy: S,
|
|
1068
|
+
get: m
|
|
1060
1069
|
};
|
|
1061
1070
|
}
|
|
1062
|
-
function
|
|
1071
|
+
function dn(e, t, n, r, s, c) {
|
|
1063
1072
|
const {
|
|
1064
1073
|
measureSize: o,
|
|
1065
1074
|
startEdge: l,
|
|
1066
|
-
endEdge:
|
|
1067
|
-
} = e,
|
|
1068
|
-
function
|
|
1069
|
-
if (!
|
|
1070
|
-
const
|
|
1071
|
-
return
|
|
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]);
|
|
1072
1081
|
}
|
|
1073
1082
|
function h() {
|
|
1074
|
-
if (!
|
|
1075
|
-
const
|
|
1076
|
-
return parseFloat(
|
|
1083
|
+
if (!u) return 0;
|
|
1084
|
+
const g = c.getComputedStyle(K(r));
|
|
1085
|
+
return parseFloat(g.getPropertyValue(`margin-${a}`));
|
|
1077
1086
|
}
|
|
1078
|
-
function
|
|
1079
|
-
return n.map((
|
|
1080
|
-
const
|
|
1081
|
-
return
|
|
1082
|
-
}).map(
|
|
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);
|
|
1083
1092
|
}
|
|
1084
1093
|
return {
|
|
1085
|
-
slideSizes:
|
|
1086
|
-
slideSizesWithGaps:
|
|
1087
|
-
startGap:
|
|
1088
|
-
endGap:
|
|
1094
|
+
slideSizes: m,
|
|
1095
|
+
slideSizesWithGaps: C,
|
|
1096
|
+
startGap: S,
|
|
1097
|
+
endGap: i
|
|
1089
1098
|
};
|
|
1090
1099
|
}
|
|
1091
|
-
function
|
|
1100
|
+
function fn(e, t, n, r, s, c, o, l, a) {
|
|
1092
1101
|
const {
|
|
1093
|
-
startEdge:
|
|
1094
|
-
endEdge:
|
|
1095
|
-
direction:
|
|
1096
|
-
} = e,
|
|
1097
|
-
function
|
|
1098
|
-
return he(
|
|
1099
|
-
}
|
|
1100
|
-
function
|
|
1101
|
-
return
|
|
1102
|
-
const
|
|
1103
|
-
return
|
|
1104
|
-
}, []).map((
|
|
1105
|
-
const
|
|
1106
|
-
return
|
|
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);
|
|
1107
1116
|
}) : [];
|
|
1108
1117
|
}
|
|
1109
|
-
function h(
|
|
1110
|
-
return
|
|
1118
|
+
function h(f) {
|
|
1119
|
+
return m ? C(f, n) : p(f);
|
|
1111
1120
|
}
|
|
1112
1121
|
return {
|
|
1113
1122
|
groupSlides: h
|
|
1114
1123
|
};
|
|
1115
1124
|
}
|
|
1116
|
-
function
|
|
1125
|
+
function mn(e, t, n, r, s, c, o) {
|
|
1117
1126
|
const {
|
|
1118
1127
|
align: l,
|
|
1119
|
-
axis:
|
|
1120
|
-
direction:
|
|
1121
|
-
startIndex:
|
|
1122
|
-
loop:
|
|
1123
|
-
duration:
|
|
1124
|
-
dragFree:
|
|
1125
|
-
dragThreshold:
|
|
1128
|
+
axis: a,
|
|
1129
|
+
direction: u,
|
|
1130
|
+
startIndex: S,
|
|
1131
|
+
loop: i,
|
|
1132
|
+
duration: m,
|
|
1133
|
+
dragFree: C,
|
|
1134
|
+
dragThreshold: p,
|
|
1126
1135
|
inViewThreshold: h,
|
|
1127
|
-
slidesToScroll:
|
|
1128
|
-
skipSnaps:
|
|
1129
|
-
containScroll:
|
|
1130
|
-
watchResize:
|
|
1131
|
-
watchSlides:
|
|
1132
|
-
watchDrag:
|
|
1133
|
-
watchFocus:
|
|
1134
|
-
} = c,
|
|
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, {
|
|
1135
1144
|
slideSizes: ee,
|
|
1136
|
-
slideSizesWithGaps:
|
|
1137
|
-
startGap:
|
|
1145
|
+
slideSizesWithGaps: X,
|
|
1146
|
+
startGap: Y,
|
|
1138
1147
|
endGap: le
|
|
1139
|
-
} =
|
|
1148
|
+
} = dn(k, w, V, n, ne, s), $ = fn(k, F, b, i, w, V, Y, le, E), {
|
|
1140
1149
|
snaps: ce,
|
|
1141
|
-
snapsAligned:
|
|
1142
|
-
} =
|
|
1150
|
+
snapsAligned: ae
|
|
1151
|
+
} = nn(k, j, w, V, $), Q = -K(ce) + K(X), {
|
|
1143
1152
|
snapsContained: ue,
|
|
1144
1153
|
scrollContainLimit: de
|
|
1145
|
-
} =
|
|
1146
|
-
limit:
|
|
1147
|
-
} =
|
|
1148
|
-
dragHandler:
|
|
1149
|
-
scrollBody:
|
|
1150
|
-
scrollBounds:
|
|
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,
|
|
1151
1160
|
options: {
|
|
1152
1161
|
loop: Ne
|
|
1153
1162
|
}
|
|
1154
1163
|
}) => {
|
|
1155
|
-
Ne ||
|
|
1156
|
-
},
|
|
1157
|
-
scrollBody:
|
|
1158
|
-
translate:
|
|
1159
|
-
location:
|
|
1164
|
+
Ne || Ie.constrain(ie.pointerDown()), ve.seek();
|
|
1165
|
+
}, A = ({
|
|
1166
|
+
scrollBody: ie,
|
|
1167
|
+
translate: ve,
|
|
1168
|
+
location: Ie,
|
|
1160
1169
|
offsetLocation: Ne,
|
|
1161
|
-
previousLocation:
|
|
1162
|
-
scrollLooper:
|
|
1163
|
-
slideLooper:
|
|
1164
|
-
dragHandler:
|
|
1165
|
-
animation:
|
|
1170
|
+
previousLocation: Lt,
|
|
1171
|
+
scrollLooper: wt,
|
|
1172
|
+
slideLooper: xt,
|
|
1173
|
+
dragHandler: vt,
|
|
1174
|
+
animation: It,
|
|
1166
1175
|
eventHandler: $e,
|
|
1167
|
-
scrollBounds:
|
|
1176
|
+
scrollBounds: Ht,
|
|
1168
1177
|
options: {
|
|
1169
1178
|
loop: qe
|
|
1170
1179
|
}
|
|
1171
|
-
},
|
|
1172
|
-
const
|
|
1173
|
-
|
|
1174
|
-
const
|
|
1175
|
-
Ne.set(
|
|
1176
|
-
}, O =
|
|
1177
|
-
slideRegistry:
|
|
1178
|
-
} =
|
|
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 = {
|
|
1179
1188
|
ownerDocument: r,
|
|
1180
1189
|
ownerWindow: s,
|
|
1181
1190
|
eventHandler: o,
|
|
1182
|
-
containerRect:
|
|
1183
|
-
slideRects:
|
|
1191
|
+
containerRect: w,
|
|
1192
|
+
slideRects: V,
|
|
1184
1193
|
animation: O,
|
|
1185
|
-
axis:
|
|
1186
|
-
dragHandler:
|
|
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),
|
|
1187
1196
|
eventStore: je,
|
|
1188
|
-
percentOfView:
|
|
1189
|
-
index:
|
|
1197
|
+
percentOfView: U,
|
|
1198
|
+
index: J,
|
|
1190
1199
|
indexPrevious: Z,
|
|
1191
|
-
limit:
|
|
1200
|
+
limit: P,
|
|
1192
1201
|
location: W,
|
|
1193
1202
|
offsetLocation: te,
|
|
1194
1203
|
previousLocation: re,
|
|
1195
1204
|
options: c,
|
|
1196
|
-
resizeHandler:
|
|
1205
|
+
resizeHandler: Xt(t, o, s, n, k, N, L),
|
|
1197
1206
|
scrollBody: fe,
|
|
1198
|
-
scrollBounds:
|
|
1199
|
-
scrollLooper:
|
|
1200
|
-
scrollProgress:
|
|
1201
|
-
scrollSnapList:
|
|
1202
|
-
scrollSnaps:
|
|
1203
|
-
scrollTarget:
|
|
1204
|
-
scrollTo:
|
|
1205
|
-
slideLooper:
|
|
1206
|
-
slideFocus:
|
|
1207
|
-
slidesHandler:
|
|
1208
|
-
slidesInView:
|
|
1209
|
-
slideIndexes:
|
|
1210
|
-
slideRegistry:
|
|
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,
|
|
1211
1220
|
slidesToScroll: $,
|
|
1212
1221
|
target: oe,
|
|
1213
|
-
translate:
|
|
1222
|
+
translate: it(k, t)
|
|
1214
1223
|
};
|
|
1215
|
-
return
|
|
1224
|
+
return xe;
|
|
1216
1225
|
}
|
|
1217
|
-
function
|
|
1226
|
+
function pn() {
|
|
1218
1227
|
let e = {}, t;
|
|
1219
|
-
function n(
|
|
1220
|
-
t =
|
|
1228
|
+
function n(u) {
|
|
1229
|
+
t = u;
|
|
1221
1230
|
}
|
|
1222
|
-
function r(
|
|
1223
|
-
return e[
|
|
1231
|
+
function r(u) {
|
|
1232
|
+
return e[u] || [];
|
|
1224
1233
|
}
|
|
1225
|
-
function s(
|
|
1226
|
-
return r(
|
|
1234
|
+
function s(u) {
|
|
1235
|
+
return r(u).forEach((S) => S(t, u)), a;
|
|
1227
1236
|
}
|
|
1228
|
-
function c(
|
|
1229
|
-
return e[
|
|
1237
|
+
function c(u, S) {
|
|
1238
|
+
return e[u] = r(u).concat([S]), a;
|
|
1230
1239
|
}
|
|
1231
|
-
function o(
|
|
1232
|
-
return e[
|
|
1240
|
+
function o(u, S) {
|
|
1241
|
+
return e[u] = r(u).filter((i) => i !== S), a;
|
|
1233
1242
|
}
|
|
1234
1243
|
function l() {
|
|
1235
1244
|
e = {};
|
|
1236
1245
|
}
|
|
1237
|
-
const
|
|
1246
|
+
const a = {
|
|
1238
1247
|
init: n,
|
|
1239
1248
|
emit: s,
|
|
1240
1249
|
off: o,
|
|
1241
1250
|
on: c,
|
|
1242
1251
|
clear: l
|
|
1243
1252
|
};
|
|
1244
|
-
return
|
|
1253
|
+
return a;
|
|
1245
1254
|
}
|
|
1246
|
-
const
|
|
1255
|
+
const hn = {
|
|
1247
1256
|
align: "center",
|
|
1248
1257
|
axis: "x",
|
|
1249
1258
|
container: null,
|
|
@@ -1265,12 +1274,12 @@ const un = {
|
|
|
1265
1274
|
watchSlides: !0,
|
|
1266
1275
|
watchFocus: !0
|
|
1267
1276
|
};
|
|
1268
|
-
function
|
|
1277
|
+
function gn(e) {
|
|
1269
1278
|
function t(c, o) {
|
|
1270
1279
|
return ct(c, o || {});
|
|
1271
1280
|
}
|
|
1272
1281
|
function n(c) {
|
|
1273
|
-
const o = c.breakpoints || {}, l = ge(o).filter((
|
|
1282
|
+
const o = c.breakpoints || {}, l = ge(o).filter((a) => e.matchMedia(a).matches).map((a) => o[a]).reduce((a, u) => t(a, u), {});
|
|
1274
1283
|
return t(c, l);
|
|
1275
1284
|
}
|
|
1276
1285
|
function r(c) {
|
|
@@ -1282,13 +1291,13 @@ function dn(e) {
|
|
|
1282
1291
|
optionsMediaQueries: r
|
|
1283
1292
|
};
|
|
1284
1293
|
}
|
|
1285
|
-
function
|
|
1294
|
+
function bn(e) {
|
|
1286
1295
|
let t = [];
|
|
1287
1296
|
function n(c, o) {
|
|
1288
1297
|
return t = o.filter(({
|
|
1289
1298
|
options: l
|
|
1290
|
-
}) => e.optionsAtMedia(l).active !== !1), t.forEach((l) => l.init(c, e)), o.reduce((l,
|
|
1291
|
-
[
|
|
1299
|
+
}) => e.optionsAtMedia(l).active !== !1), t.forEach((l) => l.init(c, e)), o.reduce((l, a) => Object.assign(l, {
|
|
1300
|
+
[a.name]: a
|
|
1292
1301
|
}), {});
|
|
1293
1302
|
}
|
|
1294
1303
|
function r() {
|
|
@@ -1300,287 +1309,291 @@ function fn(e) {
|
|
|
1300
1309
|
};
|
|
1301
1310
|
}
|
|
1302
1311
|
function ye(e, t, n) {
|
|
1303
|
-
const r = e.ownerDocument, s = r.defaultView, c =
|
|
1304
|
-
mergeOptions:
|
|
1305
|
-
optionsAtMedia:
|
|
1306
|
-
optionsMediaQueries:
|
|
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
|
|
1307
1316
|
} = c, {
|
|
1308
|
-
on:
|
|
1309
|
-
off:
|
|
1310
|
-
emit:
|
|
1311
|
-
} =
|
|
1312
|
-
let
|
|
1313
|
-
function
|
|
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() {
|
|
1314
1323
|
const {
|
|
1315
|
-
container:
|
|
1316
|
-
slides:
|
|
1317
|
-
} =
|
|
1318
|
-
|
|
1319
|
-
const O =
|
|
1320
|
-
|
|
1321
|
-
}
|
|
1322
|
-
function
|
|
1323
|
-
const
|
|
1324
|
-
if (
|
|
1325
|
-
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, {
|
|
1326
1335
|
loop: !1
|
|
1327
1336
|
});
|
|
1328
|
-
return
|
|
1337
|
+
return w(A);
|
|
1329
1338
|
}
|
|
1330
|
-
return
|
|
1339
|
+
return y;
|
|
1331
1340
|
}
|
|
1332
|
-
function
|
|
1333
|
-
|
|
1334
|
-
options:
|
|
1335
|
-
}) =>
|
|
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)));
|
|
1336
1345
|
}
|
|
1337
|
-
function
|
|
1338
|
-
const
|
|
1339
|
-
F(),
|
|
1340
|
-
startIndex:
|
|
1341
|
-
},
|
|
1346
|
+
function k(D, y) {
|
|
1347
|
+
const A = $();
|
|
1348
|
+
F(), V(u({
|
|
1349
|
+
startIndex: A
|
|
1350
|
+
}, D), y), a.emit("reInit");
|
|
1342
1351
|
}
|
|
1343
1352
|
function F() {
|
|
1344
|
-
|
|
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();
|
|
1345
1354
|
}
|
|
1346
|
-
function
|
|
1347
|
-
|
|
1355
|
+
function U() {
|
|
1356
|
+
b || (b = !0, l.clear(), F(), a.emit("destroy"), a.clear());
|
|
1348
1357
|
}
|
|
1349
|
-
function j(
|
|
1350
|
-
!
|
|
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));
|
|
1351
1360
|
}
|
|
1352
|
-
function
|
|
1353
|
-
const
|
|
1354
|
-
j(
|
|
1361
|
+
function z(D) {
|
|
1362
|
+
const y = f.index.add(1).get();
|
|
1363
|
+
j(y, D, -1);
|
|
1355
1364
|
}
|
|
1356
|
-
function ne(
|
|
1357
|
-
const
|
|
1358
|
-
j(
|
|
1365
|
+
function ne(D) {
|
|
1366
|
+
const y = f.index.add(-1).get();
|
|
1367
|
+
j(y, D, 1);
|
|
1359
1368
|
}
|
|
1360
1369
|
function ee() {
|
|
1361
|
-
return
|
|
1370
|
+
return f.index.add(1).get() !== $();
|
|
1362
1371
|
}
|
|
1363
|
-
function
|
|
1364
|
-
return
|
|
1372
|
+
function X() {
|
|
1373
|
+
return f.index.add(-1).get() !== $();
|
|
1365
1374
|
}
|
|
1366
|
-
function
|
|
1367
|
-
return
|
|
1375
|
+
function Y() {
|
|
1376
|
+
return f.scrollSnapList;
|
|
1368
1377
|
}
|
|
1369
1378
|
function le() {
|
|
1370
|
-
return
|
|
1379
|
+
return f.scrollProgress.get(f.offsetLocation.get());
|
|
1371
1380
|
}
|
|
1372
1381
|
function $() {
|
|
1373
|
-
return
|
|
1382
|
+
return f.index.get();
|
|
1374
1383
|
}
|
|
1375
1384
|
function ce() {
|
|
1376
|
-
return
|
|
1385
|
+
return f.indexPrevious.get();
|
|
1377
1386
|
}
|
|
1378
|
-
function
|
|
1379
|
-
return
|
|
1387
|
+
function ae() {
|
|
1388
|
+
return f.slidesInView.get();
|
|
1380
1389
|
}
|
|
1381
|
-
function
|
|
1382
|
-
return
|
|
1390
|
+
function Q() {
|
|
1391
|
+
return f.slidesInView.get(!1);
|
|
1383
1392
|
}
|
|
1384
1393
|
function ue() {
|
|
1385
|
-
return
|
|
1394
|
+
return T;
|
|
1386
1395
|
}
|
|
1387
1396
|
function de() {
|
|
1388
|
-
return
|
|
1397
|
+
return f;
|
|
1389
1398
|
}
|
|
1390
|
-
function
|
|
1399
|
+
function G() {
|
|
1391
1400
|
return e;
|
|
1392
1401
|
}
|
|
1393
|
-
function
|
|
1394
|
-
return
|
|
1402
|
+
function P() {
|
|
1403
|
+
return x;
|
|
1395
1404
|
}
|
|
1396
|
-
function
|
|
1397
|
-
return
|
|
1405
|
+
function J() {
|
|
1406
|
+
return E;
|
|
1398
1407
|
}
|
|
1399
1408
|
const Z = {
|
|
1400
1409
|
canScrollNext: ee,
|
|
1401
|
-
canScrollPrev:
|
|
1402
|
-
containerNode:
|
|
1410
|
+
canScrollPrev: X,
|
|
1411
|
+
containerNode: P,
|
|
1403
1412
|
internalEngine: de,
|
|
1404
|
-
destroy:
|
|
1405
|
-
off:
|
|
1406
|
-
on:
|
|
1407
|
-
emit:
|
|
1413
|
+
destroy: U,
|
|
1414
|
+
off: C,
|
|
1415
|
+
on: m,
|
|
1416
|
+
emit: p,
|
|
1408
1417
|
plugins: ue,
|
|
1409
1418
|
previousScrollSnap: ce,
|
|
1410
1419
|
reInit: h,
|
|
1411
|
-
rootNode:
|
|
1412
|
-
scrollNext:
|
|
1420
|
+
rootNode: G,
|
|
1421
|
+
scrollNext: z,
|
|
1413
1422
|
scrollPrev: ne,
|
|
1414
1423
|
scrollProgress: le,
|
|
1415
|
-
scrollSnapList:
|
|
1424
|
+
scrollSnapList: Y,
|
|
1416
1425
|
scrollTo: j,
|
|
1417
1426
|
selectedScrollSnap: $,
|
|
1418
|
-
slideNodes:
|
|
1419
|
-
slidesInView:
|
|
1420
|
-
slidesNotInView:
|
|
1427
|
+
slideNodes: J,
|
|
1428
|
+
slidesInView: ae,
|
|
1429
|
+
slidesNotInView: Q
|
|
1421
1430
|
};
|
|
1422
|
-
return
|
|
1431
|
+
return V(t, n), setTimeout(() => a.emit("init"), 0), Z;
|
|
1423
1432
|
}
|
|
1424
1433
|
ye.globalOptions = void 0;
|
|
1425
|
-
function
|
|
1426
|
-
const n = We(e), r = We(t), [s, c] = et(), [o, l] = et(),
|
|
1434
|
+
function Ge(e = {}, t = []) {
|
|
1435
|
+
const n = We(e), r = We(t), [s, c] = et(), [o, l] = et(), a = At(() => {
|
|
1427
1436
|
s && s.reInit(n.current, r.current);
|
|
1428
1437
|
}, [s]);
|
|
1429
|
-
return
|
|
1430
|
-
Re(n.current, e) || (n.current = e,
|
|
1431
|
-
}, [e,
|
|
1432
|
-
|
|
1433
|
-
}, [t,
|
|
1434
|
-
if (
|
|
1435
|
-
ye.globalOptions =
|
|
1436
|
-
const
|
|
1437
|
-
return c(
|
|
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();
|
|
1438
1447
|
} else
|
|
1439
1448
|
c(void 0);
|
|
1440
1449
|
}, [o, c]), [l, s];
|
|
1441
1450
|
}
|
|
1442
|
-
|
|
1443
|
-
const lt =
|
|
1444
|
-
function
|
|
1445
|
-
const e =
|
|
1451
|
+
Ge.globalOptions = void 0;
|
|
1452
|
+
const lt = _.createContext(void 0);
|
|
1453
|
+
function Ce() {
|
|
1454
|
+
const e = _.useContext(lt);
|
|
1446
1455
|
if (!e)
|
|
1447
|
-
throw new Error(
|
|
1448
|
-
"KuatCarousel components must be used within a KuatCarousel."
|
|
1449
|
-
);
|
|
1456
|
+
throw new Error("Carousel components must be used within a Carousel.");
|
|
1450
1457
|
return e;
|
|
1451
1458
|
}
|
|
1452
|
-
const
|
|
1459
|
+
const ut = _.forwardRef(
|
|
1453
1460
|
({
|
|
1454
1461
|
opts: e,
|
|
1455
|
-
|
|
1462
|
+
basis: t = 1,
|
|
1456
1463
|
orientation: n = "horizontal",
|
|
1457
1464
|
plugins: r,
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1465
|
+
setApi: s,
|
|
1466
|
+
events: c,
|
|
1467
|
+
className: o,
|
|
1468
|
+
children: l,
|
|
1469
|
+
...a
|
|
1470
|
+
}, u) => {
|
|
1471
|
+
const [S, i] = Ge(
|
|
1463
1472
|
{
|
|
1464
1473
|
...e,
|
|
1465
1474
|
axis: n === "horizontal" ? "x" : "y"
|
|
1466
1475
|
},
|
|
1467
1476
|
r
|
|
1468
|
-
), [
|
|
1469
|
-
|
|
1470
|
-
}, [
|
|
1471
|
-
|
|
1472
|
-
}, [
|
|
1473
|
-
|
|
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()));
|
|
1474
1483
|
}, []);
|
|
1475
|
-
|
|
1476
|
-
if (
|
|
1477
|
-
return g(
|
|
1478
|
-
|
|
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);
|
|
1479
1488
|
};
|
|
1480
|
-
}, [
|
|
1481
|
-
|
|
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(
|
|
1482
1503
|
() => ({
|
|
1483
|
-
api:
|
|
1484
|
-
|
|
1504
|
+
api: i,
|
|
1505
|
+
basis: t,
|
|
1485
1506
|
orientation: n,
|
|
1486
|
-
scrollPrev:
|
|
1487
|
-
scrollNext:
|
|
1488
|
-
canScrollPrev:
|
|
1489
|
-
canScrollNext:
|
|
1507
|
+
scrollPrev: b,
|
|
1508
|
+
scrollNext: f,
|
|
1509
|
+
canScrollPrev: m,
|
|
1510
|
+
canScrollNext: p
|
|
1490
1511
|
}),
|
|
1491
|
-
[
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
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(
|
|
1502
1525
|
"div",
|
|
1503
1526
|
{
|
|
1504
|
-
ref:
|
|
1505
|
-
className:
|
|
1506
|
-
...
|
|
1507
|
-
children: [
|
|
1508
|
-
/* @__PURE__ */ u("div", { ref: i, className: "kuat-carousel__viewport", children: y }),
|
|
1509
|
-
L
|
|
1510
|
-
]
|
|
1527
|
+
ref: n,
|
|
1528
|
+
className: v("carousel__content", `carousel__content--${r}`, e),
|
|
1529
|
+
...t
|
|
1511
1530
|
}
|
|
1512
|
-
)
|
|
1531
|
+
);
|
|
1513
1532
|
}
|
|
1514
1533
|
);
|
|
1515
|
-
|
|
1516
|
-
const
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
}
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
children: /* @__PURE__ */ u(Oe, { className: "h-4 w-4" })
|
|
1579
|
-
}
|
|
1580
|
-
);
|
|
1581
|
-
});
|
|
1582
|
-
bn.displayName = "KuatCarouselNext";
|
|
1583
|
-
const Bn = ["service", "demo"], Pn = ["light", "dark"], Cn = w.forwardRef(
|
|
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(
|
|
1584
1597
|
({
|
|
1585
1598
|
className: e,
|
|
1586
1599
|
title: t,
|
|
@@ -1589,42 +1602,42 @@ const Bn = ["service", "demo"], Pn = ["light", "dark"], Cn = w.forwardRef(
|
|
|
1589
1602
|
forceDark: s = !1,
|
|
1590
1603
|
...c
|
|
1591
1604
|
}, o) => {
|
|
1592
|
-
const l = s ? "dark" : r,
|
|
1593
|
-
|
|
1605
|
+
const l = s ? "dark" : r, a = /* @__PURE__ */ d(
|
|
1606
|
+
Te,
|
|
1594
1607
|
{
|
|
1595
|
-
className:
|
|
1608
|
+
className: v(
|
|
1596
1609
|
"kuat-logo-lockup__logo",
|
|
1597
1610
|
n === "demo" && "kuat-logo-lockup__logo--demo"
|
|
1598
1611
|
),
|
|
1599
1612
|
textColor: l === "dark" ? "white" : "grey"
|
|
1600
1613
|
}
|
|
1601
1614
|
);
|
|
1602
|
-
return /* @__PURE__ */
|
|
1615
|
+
return /* @__PURE__ */ d(
|
|
1603
1616
|
"div",
|
|
1604
1617
|
{
|
|
1605
1618
|
ref: o,
|
|
1606
|
-
className:
|
|
1619
|
+
className: v(
|
|
1607
1620
|
"kuat-logo-lockup",
|
|
1608
1621
|
`kuat-logo-lockup--${l}`,
|
|
1609
1622
|
`kuat-logo-lockup--${n}`,
|
|
1610
1623
|
e
|
|
1611
1624
|
),
|
|
1612
1625
|
...c,
|
|
1613
|
-
children: n === "service" ? /* @__PURE__ */
|
|
1614
|
-
/* @__PURE__ */
|
|
1615
|
-
/* @__PURE__ */
|
|
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(
|
|
1616
1629
|
st,
|
|
1617
1630
|
{
|
|
1618
1631
|
orientation: "vertical",
|
|
1619
1632
|
className: "kuat-logo-lockup__separator"
|
|
1620
1633
|
}
|
|
1621
1634
|
),
|
|
1622
|
-
/* @__PURE__ */
|
|
1623
|
-
] }) : /* @__PURE__ */
|
|
1624
|
-
/* @__PURE__ */
|
|
1625
|
-
/* @__PURE__ */
|
|
1626
|
-
/* @__PURE__ */
|
|
1627
|
-
/* @__PURE__ */
|
|
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 })
|
|
1628
1641
|
] })
|
|
1629
1642
|
] })
|
|
1630
1643
|
}
|
|
@@ -1632,38 +1645,38 @@ const Bn = ["service", "demo"], Pn = ["light", "dark"], Cn = w.forwardRef(
|
|
|
1632
1645
|
}
|
|
1633
1646
|
);
|
|
1634
1647
|
Cn.displayName = "KuatLogoLockup";
|
|
1635
|
-
function
|
|
1636
|
-
return /* @__PURE__ */
|
|
1648
|
+
function zn({ className: e }) {
|
|
1649
|
+
return /* @__PURE__ */ H(
|
|
1637
1650
|
"svg",
|
|
1638
1651
|
{
|
|
1639
|
-
className:
|
|
1652
|
+
className: v("ee-logo-icon", e),
|
|
1640
1653
|
viewBox: "0 0 143 133",
|
|
1641
1654
|
fill: "none",
|
|
1642
1655
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1643
1656
|
"aria-label": "Equal Experts",
|
|
1644
1657
|
children: [
|
|
1645
|
-
/* @__PURE__ */
|
|
1658
|
+
/* @__PURE__ */ d(
|
|
1646
1659
|
"path",
|
|
1647
1660
|
{
|
|
1648
1661
|
d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
|
|
1649
1662
|
fill: "currentColor"
|
|
1650
1663
|
}
|
|
1651
1664
|
),
|
|
1652
|
-
/* @__PURE__ */
|
|
1665
|
+
/* @__PURE__ */ d(
|
|
1653
1666
|
"path",
|
|
1654
1667
|
{
|
|
1655
1668
|
d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z",
|
|
1656
1669
|
fill: "currentColor"
|
|
1657
1670
|
}
|
|
1658
1671
|
),
|
|
1659
|
-
/* @__PURE__ */
|
|
1672
|
+
/* @__PURE__ */ d(
|
|
1660
1673
|
"path",
|
|
1661
1674
|
{
|
|
1662
1675
|
d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z",
|
|
1663
1676
|
fill: "currentColor"
|
|
1664
1677
|
}
|
|
1665
1678
|
),
|
|
1666
|
-
/* @__PURE__ */
|
|
1679
|
+
/* @__PURE__ */ d(
|
|
1667
1680
|
"path",
|
|
1668
1681
|
{
|
|
1669
1682
|
d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z",
|
|
@@ -1674,89 +1687,89 @@ function Fn({ className: e }) {
|
|
|
1674
1687
|
}
|
|
1675
1688
|
);
|
|
1676
1689
|
}
|
|
1677
|
-
const
|
|
1690
|
+
const ht = _.forwardRef(({ className: e, "aria-label": t = "Breadcrumb", ...n }, r) => /* @__PURE__ */ d(
|
|
1678
1691
|
"nav",
|
|
1679
1692
|
{
|
|
1680
1693
|
ref: r,
|
|
1681
1694
|
"aria-label": t,
|
|
1682
|
-
className:
|
|
1695
|
+
className: v("breadcrumb", e),
|
|
1683
1696
|
...n
|
|
1684
1697
|
}
|
|
1685
1698
|
));
|
|
1686
|
-
|
|
1687
|
-
const
|
|
1688
|
-
|
|
1689
|
-
const
|
|
1690
|
-
|
|
1691
|
-
const
|
|
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) => {
|
|
1692
1705
|
var c;
|
|
1693
1706
|
if (t) {
|
|
1694
1707
|
const o = t.props;
|
|
1695
|
-
return
|
|
1708
|
+
return _.cloneElement(t, {
|
|
1696
1709
|
...r,
|
|
1697
1710
|
ref: s,
|
|
1698
|
-
className:
|
|
1711
|
+
className: v("breadcrumb-link", o == null ? void 0 : o.className, e)
|
|
1699
1712
|
});
|
|
1700
1713
|
}
|
|
1701
|
-
if (n &&
|
|
1702
|
-
const o =
|
|
1703
|
-
return
|
|
1714
|
+
if (n && _.Children.only(r.children)) {
|
|
1715
|
+
const o = _.Children.only(r.children);
|
|
1716
|
+
return _.cloneElement(o, {
|
|
1704
1717
|
ref: s,
|
|
1705
|
-
className:
|
|
1718
|
+
className: v("breadcrumb-link", (c = o.props) == null ? void 0 : c.className, e),
|
|
1706
1719
|
...r
|
|
1707
1720
|
});
|
|
1708
1721
|
}
|
|
1709
|
-
return /* @__PURE__ */
|
|
1722
|
+
return /* @__PURE__ */ d(
|
|
1710
1723
|
"a",
|
|
1711
1724
|
{
|
|
1712
1725
|
ref: s,
|
|
1713
|
-
className:
|
|
1726
|
+
className: v("breadcrumb-link", e),
|
|
1714
1727
|
...r
|
|
1715
1728
|
}
|
|
1716
1729
|
);
|
|
1717
1730
|
});
|
|
1718
|
-
|
|
1719
|
-
const De =
|
|
1731
|
+
bt.displayName = "BreadcrumbLink";
|
|
1732
|
+
const De = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1720
1733
|
"span",
|
|
1721
1734
|
{
|
|
1722
1735
|
ref: n,
|
|
1723
1736
|
role: "link",
|
|
1724
1737
|
"aria-disabled": "true",
|
|
1725
1738
|
"aria-current": "page",
|
|
1726
|
-
className:
|
|
1739
|
+
className: v("breadcrumb-page", e),
|
|
1727
1740
|
...t
|
|
1728
1741
|
}
|
|
1729
1742
|
));
|
|
1730
1743
|
De.displayName = "BreadcrumbPage";
|
|
1731
|
-
const
|
|
1744
|
+
const Me = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1732
1745
|
"span",
|
|
1733
1746
|
{
|
|
1734
1747
|
ref: r,
|
|
1735
1748
|
role: "presentation",
|
|
1736
1749
|
"aria-hidden": "true",
|
|
1737
|
-
className:
|
|
1750
|
+
className: v("breadcrumb-separator", e),
|
|
1738
1751
|
...n,
|
|
1739
|
-
children: t ?? /* @__PURE__ */
|
|
1752
|
+
children: t ?? /* @__PURE__ */ d(Oe, { className: "breadcrumb-separator__icon" })
|
|
1740
1753
|
}
|
|
1741
1754
|
));
|
|
1742
|
-
|
|
1743
|
-
const
|
|
1755
|
+
Me.displayName = "BreadcrumbSeparator";
|
|
1756
|
+
const St = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1744
1757
|
"span",
|
|
1745
1758
|
{
|
|
1746
1759
|
ref: n,
|
|
1747
1760
|
role: "presentation",
|
|
1748
1761
|
"aria-hidden": "true",
|
|
1749
|
-
className:
|
|
1762
|
+
className: v("breadcrumb-ellipsis", e),
|
|
1750
1763
|
...t,
|
|
1751
|
-
children: /* @__PURE__ */
|
|
1764
|
+
children: /* @__PURE__ */ d(Dt, { className: "breadcrumb-ellipsis__icon" })
|
|
1752
1765
|
}
|
|
1753
1766
|
));
|
|
1754
|
-
|
|
1755
|
-
const
|
|
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(
|
|
1756
1769
|
R.SubTrigger,
|
|
1757
1770
|
{
|
|
1758
1771
|
ref: s,
|
|
1759
|
-
className:
|
|
1772
|
+
className: v(
|
|
1760
1773
|
"dropdown-menu-sub-trigger",
|
|
1761
1774
|
t && "dropdown-menu-sub-trigger--inset",
|
|
1762
1775
|
e
|
|
@@ -1764,35 +1777,35 @@ const pt = R.Root, ht = R.Trigger, gt = R.Group, Nn = w.forwardRef(({ className:
|
|
|
1764
1777
|
...r,
|
|
1765
1778
|
children: [
|
|
1766
1779
|
n,
|
|
1767
|
-
/* @__PURE__ */
|
|
1780
|
+
/* @__PURE__ */ d(Oe, { className: "dropdown-menu-sub-trigger__icon" })
|
|
1768
1781
|
]
|
|
1769
1782
|
}
|
|
1770
1783
|
));
|
|
1771
1784
|
Nn.displayName = R.SubTrigger.displayName;
|
|
1772
|
-
const yn =
|
|
1785
|
+
const yn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1773
1786
|
R.SubContent,
|
|
1774
1787
|
{
|
|
1775
1788
|
ref: n,
|
|
1776
|
-
className:
|
|
1789
|
+
className: v("dropdown-menu-content", "dropdown-menu-sub-content", e),
|
|
1777
1790
|
...t
|
|
1778
1791
|
}
|
|
1779
1792
|
));
|
|
1780
1793
|
yn.displayName = R.SubContent.displayName;
|
|
1781
|
-
const Ze =
|
|
1794
|
+
const Ze = _.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ d(R.Portal, { children: /* @__PURE__ */ d(
|
|
1782
1795
|
R.Content,
|
|
1783
1796
|
{
|
|
1784
1797
|
ref: r,
|
|
1785
1798
|
sideOffset: t,
|
|
1786
|
-
className:
|
|
1799
|
+
className: v("dropdown-menu-content", e),
|
|
1787
1800
|
...n
|
|
1788
1801
|
}
|
|
1789
1802
|
) }));
|
|
1790
1803
|
Ze.displayName = R.Content.displayName;
|
|
1791
|
-
const
|
|
1804
|
+
const Ke = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1792
1805
|
R.Item,
|
|
1793
1806
|
{
|
|
1794
1807
|
ref: r,
|
|
1795
|
-
className:
|
|
1808
|
+
className: v(
|
|
1796
1809
|
"dropdown-menu-item",
|
|
1797
1810
|
t && "dropdown-menu-item--inset",
|
|
1798
1811
|
e
|
|
@@ -1800,33 +1813,33 @@ const Ge = w.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
|
|
|
1800
1813
|
...n
|
|
1801
1814
|
}
|
|
1802
1815
|
));
|
|
1803
|
-
|
|
1804
|
-
const
|
|
1816
|
+
Ke.displayName = R.Item.displayName;
|
|
1817
|
+
const _n = _.forwardRef(({ className: e, children: t, checked: n, ...r }, s) => /* @__PURE__ */ d(
|
|
1805
1818
|
R.CheckboxItem,
|
|
1806
1819
|
{
|
|
1807
1820
|
ref: s,
|
|
1808
|
-
className:
|
|
1821
|
+
className: v("dropdown-menu-item", "dropdown-menu-checkbox-item", e),
|
|
1809
1822
|
checked: n,
|
|
1810
1823
|
...r,
|
|
1811
1824
|
children: t
|
|
1812
1825
|
}
|
|
1813
1826
|
));
|
|
1814
|
-
|
|
1815
|
-
const
|
|
1827
|
+
_n.displayName = R.CheckboxItem.displayName;
|
|
1828
|
+
const En = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1816
1829
|
R.RadioItem,
|
|
1817
1830
|
{
|
|
1818
1831
|
ref: r,
|
|
1819
|
-
className:
|
|
1832
|
+
className: v("dropdown-menu-item", "dropdown-menu-radio-item", e),
|
|
1820
1833
|
...n,
|
|
1821
1834
|
children: t
|
|
1822
1835
|
}
|
|
1823
1836
|
));
|
|
1824
|
-
|
|
1825
|
-
const
|
|
1837
|
+
En.displayName = R.RadioItem.displayName;
|
|
1838
|
+
const Ln = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1826
1839
|
R.Label,
|
|
1827
1840
|
{
|
|
1828
1841
|
ref: r,
|
|
1829
|
-
className:
|
|
1842
|
+
className: v(
|
|
1830
1843
|
"dropdown-menu-label",
|
|
1831
1844
|
t && "dropdown-menu-label--inset",
|
|
1832
1845
|
e
|
|
@@ -1834,169 +1847,225 @@ const vn = w.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
|
|
|
1834
1847
|
...n
|
|
1835
1848
|
}
|
|
1836
1849
|
));
|
|
1837
|
-
|
|
1838
|
-
const
|
|
1850
|
+
Ln.displayName = R.Label.displayName;
|
|
1851
|
+
const wn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1839
1852
|
R.Separator,
|
|
1840
1853
|
{
|
|
1841
1854
|
ref: n,
|
|
1842
|
-
className:
|
|
1855
|
+
className: v("dropdown-menu-separator", e),
|
|
1843
1856
|
...t
|
|
1844
1857
|
}
|
|
1845
1858
|
));
|
|
1846
|
-
|
|
1859
|
+
wn.displayName = R.Separator.displayName;
|
|
1847
1860
|
const xn = 640;
|
|
1848
|
-
function
|
|
1849
|
-
const [t, n] =
|
|
1850
|
-
return
|
|
1861
|
+
function vn(e = xn) {
|
|
1862
|
+
const [t, n] = _.useState(!1);
|
|
1863
|
+
return _.useEffect(() => {
|
|
1851
1864
|
if (typeof window > "u" || typeof window.matchMedia != "function")
|
|
1852
1865
|
return;
|
|
1853
1866
|
const r = window.matchMedia(`(max-width: ${e}px)`), s = () => n(r.matches);
|
|
1854
1867
|
return s(), r.addEventListener("change", s), () => r.removeEventListener("change", s);
|
|
1855
1868
|
}, [e]), t;
|
|
1856
1869
|
}
|
|
1857
|
-
const
|
|
1870
|
+
const In = ({ href: e, children: t, className: n }) => /* @__PURE__ */ d("a", { href: e, className: n, children: t });
|
|
1858
1871
|
function Hn(e, t, n, r) {
|
|
1859
|
-
return e.children && e.children.length > 0 ? /* @__PURE__ */
|
|
1860
|
-
/* @__PURE__ */
|
|
1872
|
+
return e.children && e.children.length > 0 ? /* @__PURE__ */ H(Ct, { children: [
|
|
1873
|
+
/* @__PURE__ */ d(Nt, { asChild: !0, children: /* @__PURE__ */ H(
|
|
1861
1874
|
"button",
|
|
1862
1875
|
{
|
|
1863
1876
|
type: "button",
|
|
1864
|
-
className:
|
|
1877
|
+
className: v(
|
|
1865
1878
|
"breadcrumb-dropdown-trigger",
|
|
1866
1879
|
"inline-flex items-center gap-1 font-medium"
|
|
1867
1880
|
),
|
|
1868
1881
|
"aria-haspopup": "menu",
|
|
1869
1882
|
children: [
|
|
1870
1883
|
e.label,
|
|
1871
|
-
/* @__PURE__ */
|
|
1872
|
-
|
|
1884
|
+
/* @__PURE__ */ d(
|
|
1885
|
+
Mt,
|
|
1873
1886
|
{
|
|
1874
1887
|
className: "breadcrumb-dropdown-trigger__icon",
|
|
1875
1888
|
"aria-hidden": !0
|
|
1876
1889
|
}
|
|
1877
1890
|
),
|
|
1878
|
-
/* @__PURE__ */
|
|
1891
|
+
/* @__PURE__ */ d("span", { className: "sr-only", children: "Toggle menu" })
|
|
1879
1892
|
]
|
|
1880
1893
|
}
|
|
1881
1894
|
) }),
|
|
1882
|
-
/* @__PURE__ */
|
|
1883
|
-
] }) : t ? /* @__PURE__ */
|
|
1884
|
-
|
|
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,
|
|
1885
1898
|
{
|
|
1886
|
-
render: /* @__PURE__ */
|
|
1899
|
+
render: /* @__PURE__ */ d(n, { href: e.href, children: e.label })
|
|
1887
1900
|
}
|
|
1888
|
-
) : /* @__PURE__ */
|
|
1901
|
+
) : /* @__PURE__ */ d(De, { children: e.label });
|
|
1889
1902
|
}
|
|
1890
|
-
function
|
|
1903
|
+
function Tn({
|
|
1891
1904
|
items: e,
|
|
1892
|
-
linkComponent: t =
|
|
1905
|
+
linkComponent: t = In,
|
|
1893
1906
|
separator: n,
|
|
1894
1907
|
className: r,
|
|
1895
1908
|
"aria-label": s = "Breadcrumb",
|
|
1896
1909
|
...c
|
|
1897
1910
|
}, o) {
|
|
1898
|
-
const l =
|
|
1911
|
+
const l = vn();
|
|
1899
1912
|
if (!e.length) return null;
|
|
1900
|
-
const
|
|
1901
|
-
(
|
|
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 }))
|
|
1902
1915
|
);
|
|
1903
|
-
return /* @__PURE__ */
|
|
1904
|
-
|
|
1916
|
+
return /* @__PURE__ */ d(
|
|
1917
|
+
ht,
|
|
1905
1918
|
{
|
|
1906
1919
|
ref: o,
|
|
1907
1920
|
"aria-label": s,
|
|
1908
1921
|
className: r,
|
|
1909
1922
|
...c,
|
|
1910
|
-
children: /* @__PURE__ */
|
|
1911
|
-
const
|
|
1912
|
-
return /* @__PURE__ */
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
/* @__PURE__ */
|
|
1916
|
-
/* @__PURE__ */
|
|
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(
|
|
1917
1930
|
"button",
|
|
1918
1931
|
{
|
|
1919
1932
|
type: "button",
|
|
1920
|
-
className:
|
|
1933
|
+
className: v(
|
|
1921
1934
|
"breadcrumb-dropdown-trigger",
|
|
1922
1935
|
"breadcrumb-ellipsis-trigger",
|
|
1923
1936
|
"inline-flex items-center"
|
|
1924
1937
|
),
|
|
1925
1938
|
"aria-haspopup": "menu",
|
|
1926
1939
|
children: [
|
|
1927
|
-
/* @__PURE__ */
|
|
1928
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ d(St, {}),
|
|
1941
|
+
/* @__PURE__ */ d("span", { className: "sr-only", children: "Show more pages" })
|
|
1929
1942
|
]
|
|
1930
1943
|
}
|
|
1931
1944
|
) }),
|
|
1932
|
-
/* @__PURE__ */
|
|
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)) }) })
|
|
1933
1946
|
] }) }),
|
|
1934
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ d(Me, { children: n })
|
|
1935
1948
|
] }),
|
|
1936
|
-
/* @__PURE__ */
|
|
1937
|
-
] },
|
|
1949
|
+
/* @__PURE__ */ d(Ve, { children: Hn(m, b, t) })
|
|
1950
|
+
] }, p);
|
|
1938
1951
|
}) })
|
|
1939
1952
|
}
|
|
1940
1953
|
);
|
|
1941
1954
|
}
|
|
1942
|
-
const
|
|
1943
|
-
|
|
1955
|
+
const kn = _.forwardRef(
|
|
1956
|
+
Tn
|
|
1944
1957
|
);
|
|
1945
|
-
|
|
1958
|
+
kn.displayName = "Breadcrumb";
|
|
1946
1959
|
export {
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
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,
|
|
1974
1987
|
De as BreadcrumbPage,
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
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,
|
|
1994
2029
|
Cn as KuatLogoLockup,
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
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
|
|
2002
2071
|
};
|