@equal-experts/kuat-vue 0.5.0 → 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/dist/components/ui/carousel/Carousel.vue.d.ts +52 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +25 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +27 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +16 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +16 -0
- package/dist/components/ui/carousel/context.d.ts +18 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/kuat-carousel/KuatCarousel.vue.d.ts +7 -3
- package/dist/components/ui/kuat-carousel/KuatCarouselItem.vue.d.ts +2 -0
- package/dist/components/ui/sonner/KuatSonner.vue.d.ts +54 -0
- package/dist/components/ui/sonner/KuatSonnerContent.vue.d.ts +53 -0
- package/dist/components/ui/sonner/constants.d.ts +2 -0
- package/dist/components/ui/sonner/index.d.ts +7 -0
- package/dist/components/ui/sonner/toast.d.ts +17 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1298 -1186
- package/dist/sonner.d.ts +1 -0
- package/dist/sonner.js +7 -0
- package/dist/style.css +1 -1
- package/dist/toast-LJYTMaV_.js +113 -0
- package/package.json +7 -2
package/dist/index.js
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { c as
|
|
3
|
-
import { S as
|
|
4
|
-
import { B as
|
|
5
|
-
import { defineComponent as
|
|
6
|
-
import { Primitive as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { ChevronLeft as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { B as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { T as
|
|
14
|
-
import { I as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { F as
|
|
17
|
-
import { _ as
|
|
18
|
-
import { C as
|
|
19
|
-
import { R as
|
|
20
|
-
import { S as
|
|
21
|
-
import { _ as
|
|
22
|
-
import { T as
|
|
23
|
-
import { TOGGLE_GROUP_ORIENTATIONS as
|
|
24
|
-
|
|
2
|
+
import { c as X } from "./utils-DLUjLwnh.js";
|
|
3
|
+
import { S as ve } from "./index-iz_NZI-V.js";
|
|
4
|
+
import { B as vs, a as bs, b as Ss, c as Cs } from "./index-iz_NZI-V.js";
|
|
5
|
+
import { defineComponent as N, computed as O, createBlock as nt, openBlock as C, unref as K, mergeProps as we, withCtx as vt, renderSlot as D, createCommentVNode as G, createElementBlock as k, createElementVNode as y, toDisplayString as z, resolveDynamicComponent as De, createTextVNode as be, normalizeClass as B, createStaticVNode as Oe, useSlots as Me, createVNode as et, isRef as le, shallowRef as ue, onMounted as qt, onBeforeUnmount as Pe, watch as $t, ref as bt, provide as Ne, toRef as de, inject as Pt, normalizeStyle as Be, Fragment as pt, renderList as Zt, withDirectives as fe, vShow as pe, onUnmounted as Fe } from "vue";
|
|
6
|
+
import { Primitive as Re } from "reka-ui";
|
|
7
|
+
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
import { ChevronLeft as Ge, ChevronRight as zt, MoreHorizontal as Ke, ChevronDown as Ze } from "lucide-vue-next";
|
|
9
|
+
import { _ as ks, b as Ls, A as Es, a as xs } from "./AccordionTrigger-BRz5PzEd.js";
|
|
10
|
+
import { _ as As, A as Is, a as Hs, b as Ts, c as Vs, d as ws, e as Ds, f as Os, g as Ms } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js";
|
|
11
|
+
import { B as Ns, b as Bs } from "./index-C3VyxnTa.js";
|
|
12
|
+
import { _ as Rs, b as Gs } from "./index-CBmjn3iX.js";
|
|
13
|
+
import { T as Zs, _ as zs } from "./constants-CpIWAssv.js";
|
|
14
|
+
import { I as js, _ as qs } from "./constants-4SN0MW4f.js";
|
|
15
|
+
import { _ as Qs, a as Ys, b as Js, c as Ws, d as tr } from "./FieldTitle.vue_vue_type_script_setup_true_lang-Bu8UIwRT.js";
|
|
16
|
+
import { F as nr, e as or, _ as sr, a as rr, b as ar, c as cr, d as ir } from "./FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js";
|
|
17
|
+
import { _ as ur, S as dr, k as fr, a as pr, b as mr, c as gr, d as hr, e as _r, f as vr, g as br, h as Sr, i as Cr, j as yr } from "./KuatSelect.vue_vue_type_script_setup_true_lang-DP66U_wg.js";
|
|
18
|
+
import { C as Lr, b as Er, _ as xr, a as $r } from "./constants-BpzIL1jq.js";
|
|
19
|
+
import { R as Ir, c as Hr, b as Tr, _ as Vr, a as wr } from "./constants-D_fYMnOg.js";
|
|
20
|
+
import { S as Or, b as Mr, _ as Pr, a as Nr } from "./constants-Ils7NSfg.js";
|
|
21
|
+
import { _ as Fr } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
|
|
22
|
+
import { T as Gr, a as Kr } from "./constants-CXAkjttx.js";
|
|
23
|
+
import { TOGGLE_GROUP_ORIENTATIONS as zr, ToggleGroup as Ur, ToggleGroupItem as jr } from "./toggle-group.js";
|
|
24
|
+
import { S as Xr, _ as Qr, a as Yr, t as Jr } from "./toast-LJYTMaV_.js";
|
|
25
|
+
const ze = {
|
|
25
26
|
key: 1,
|
|
26
27
|
class: "content-card__media"
|
|
27
|
-
},
|
|
28
|
+
}, Ue = ["src", "alt"], je = { class: "content-card__body" }, qe = { class: "content-card__heading-row" }, Xe = { class: "content-card__heading-left" }, Qe = { class: "content-card__heading-meta" }, Ye = {
|
|
28
29
|
"data-slot": "badge",
|
|
29
30
|
class: "content-card__badge"
|
|
30
|
-
},
|
|
31
|
+
}, Je = { class: "content-card__category" }, We = {
|
|
31
32
|
"data-slot": "header-accessory",
|
|
32
33
|
class: "content-card__header-accessory"
|
|
33
|
-
},
|
|
34
|
+
}, tn = {
|
|
34
35
|
key: 0,
|
|
35
36
|
"data-slot": "content",
|
|
36
37
|
class: "content-card__content"
|
|
37
|
-
},
|
|
38
|
+
}, en = { class: "content-card__content-text" }, nn = {
|
|
38
39
|
"data-slot": "custom-content",
|
|
39
40
|
class: "content-card__custom-content"
|
|
40
|
-
},
|
|
41
|
+
}, on = {
|
|
41
42
|
"data-slot": "footer",
|
|
42
43
|
class: "content-card__footer"
|
|
43
|
-
},
|
|
44
|
+
}, sn = /* @__PURE__ */ N({
|
|
44
45
|
__name: "ContentCard",
|
|
45
46
|
props: {
|
|
46
47
|
class: {},
|
|
@@ -53,103 +54,103 @@ const Ke = {
|
|
|
53
54
|
asChild: { type: Boolean },
|
|
54
55
|
as: { default: "div" }
|
|
55
56
|
},
|
|
56
|
-
setup(
|
|
57
|
-
const
|
|
58
|
-
return (n, a) => (
|
|
59
|
-
as:
|
|
60
|
-
"as-child":
|
|
61
|
-
class:
|
|
57
|
+
setup(e) {
|
|
58
|
+
const t = e, o = O(() => `h${t.titleHeadingLevel}`);
|
|
59
|
+
return (n, a) => (C(), nt(K(Re), we({
|
|
60
|
+
as: e.as,
|
|
61
|
+
"as-child": e.asChild,
|
|
62
|
+
class: K(X)("content-card", t.class),
|
|
62
63
|
"data-slot": "content-card"
|
|
63
64
|
}, n.$attrs), {
|
|
64
|
-
default:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
65
|
+
default: vt(() => [
|
|
66
|
+
e.asChild ? D(n.$slots, "default", { key: 0 }, void 0, !0) : G("", !0),
|
|
67
|
+
t.imageSrc !== null ? (C(), k("div", ze, [
|
|
68
|
+
y("img", {
|
|
68
69
|
class: "content-card__media-img",
|
|
69
|
-
src:
|
|
70
|
-
alt:
|
|
71
|
-
}, null, 8,
|
|
72
|
-
])) :
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
src: t.imageSrc,
|
|
71
|
+
alt: t.imageAlt
|
|
72
|
+
}, null, 8, Ue)
|
|
73
|
+
])) : G("", !0),
|
|
74
|
+
y("div", je, [
|
|
75
|
+
y("div", qe, [
|
|
76
|
+
y("div", Xe, [
|
|
77
|
+
y("div", Qe, [
|
|
78
|
+
y("div", Ye, [
|
|
79
|
+
D(n.$slots, "badge", {}, void 0, !0)
|
|
79
80
|
]),
|
|
80
|
-
|
|
81
|
+
y("p", Je, z(t.category), 1)
|
|
81
82
|
]),
|
|
82
|
-
(
|
|
83
|
-
default:
|
|
84
|
-
|
|
83
|
+
(C(), nt(De(o.value), { class: "content-card__title" }, {
|
|
84
|
+
default: vt(() => [
|
|
85
|
+
be(z(t.title), 1)
|
|
85
86
|
]),
|
|
86
87
|
_: 1
|
|
87
88
|
}))
|
|
88
89
|
]),
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
y("div", We, [
|
|
91
|
+
D(n.$slots, "header-accessory", {}, void 0, !0)
|
|
91
92
|
])
|
|
92
93
|
]),
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
])) :
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
t.contentText != null ? (C(), k("div", tn, [
|
|
95
|
+
y("p", en, z(t.contentText), 1)
|
|
96
|
+
])) : G("", !0),
|
|
97
|
+
y("div", nn, [
|
|
98
|
+
D(n.$slots, "custom-content", {}, void 0, !0)
|
|
98
99
|
]),
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
y("div", on, [
|
|
101
|
+
D(n.$slots, "footer", {}, void 0, !0)
|
|
101
102
|
])
|
|
102
103
|
])
|
|
103
104
|
]),
|
|
104
105
|
_: 3
|
|
105
106
|
}, 16, ["as", "as-child", "class"]));
|
|
106
107
|
}
|
|
107
|
-
}),
|
|
108
|
+
}), Qo = /* @__PURE__ */ St(sn, [["__scopeId", "data-v-fd1d8ade"]]), rn = /* @__PURE__ */ N({
|
|
108
109
|
__name: "EELogo",
|
|
109
110
|
props: {
|
|
110
111
|
class: {},
|
|
111
112
|
textColor: { default: "grey" }
|
|
112
113
|
},
|
|
113
|
-
setup(
|
|
114
|
-
const
|
|
115
|
-
return (
|
|
116
|
-
class:
|
|
114
|
+
setup(e) {
|
|
115
|
+
const t = e;
|
|
116
|
+
return (o, n) => (C(), k("svg", {
|
|
117
|
+
class: B(["ee-logo", `ee-logo--${t.textColor}`, t.class]),
|
|
117
118
|
viewBox: "0 0 500 133",
|
|
118
119
|
fill: "none",
|
|
119
120
|
xmlns: "http://www.w3.org/2000/svg",
|
|
120
121
|
"aria-label": "Equal Experts logo"
|
|
121
122
|
}, [...n[0] || (n[0] = [
|
|
122
|
-
|
|
123
|
+
Oe('<g clip-path="url(#ee-logo-clip-vue)" data-v-361cfd9c><g class="ee-logo__text" data-v-361cfd9c><path d="M220.235 1.45712L219.413 13.0751H197.72V23.2946H216.859V34.844H197.72V45.3862H219.667V57.0237H184.687V1.45712H220.235Z" data-v-361cfd9c></path><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" data-v-361cfd9c></path><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" data-v-361cfd9c></path><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" data-v-361cfd9c></path><path d="M399.139 1.45712V45.3862H421.076V57.0237H386.106V1.45712H399.139Z" data-v-361cfd9c></path></g><path d="M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z" fill="#1795D4" data-v-361cfd9c></path><path d="M102.74 75.3895H40.5969V93.029H102.74V75.3895Z" fill="#1795D4" data-v-361cfd9c></path><path d="M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z" fill="#1795D4" data-v-361cfd9c></path><path d="M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z" fill="#1795D4" data-v-361cfd9c></path><g class="ee-logo__text" data-v-361cfd9c><path d="M220.235 75.2819L219.413 86.9096H197.72V97.1291H216.859V108.679H197.72V119.231H219.667V130.849H184.687V75.2819H220.235Z" data-v-361cfd9c></path><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" data-v-361cfd9c></path><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" data-v-361cfd9c></path><path d="M363.924 75.2819L363.092 86.9096H341.399V97.1291H360.538V108.679H341.399V119.231H363.346V130.849H328.366V75.2819H363.924Z" data-v-361cfd9c></path><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" data-v-361cfd9c></path><path d="M456.957 75.2819L456.135 86.9096H442.857V130.849H429.824V86.9096H416.213V75.2819H456.957Z" data-v-361cfd9c></path><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" data-v-361cfd9c></path></g></g><defs data-v-361cfd9c><clipPath id="ee-logo-clip-vue" data-v-361cfd9c><rect width="500" height="133" fill="white" data-v-361cfd9c></rect></clipPath></defs>', 2)
|
|
123
124
|
])], 2));
|
|
124
125
|
}
|
|
125
|
-
}),
|
|
126
|
+
}), Ot = /* @__PURE__ */ St(rn, [["__scopeId", "data-v-361cfd9c"]]), an = { class: "kuat-header__desktop" }, cn = { class: "kuat-header__desktop-left" }, ln = {
|
|
126
127
|
key: 0,
|
|
127
128
|
class: "kuat-header__logo-wrap"
|
|
128
|
-
},
|
|
129
|
+
}, un = {
|
|
129
130
|
key: 1,
|
|
130
131
|
class: "kuat-header__logo-wrap"
|
|
131
|
-
},
|
|
132
|
+
}, dn = {
|
|
132
133
|
key: 3,
|
|
133
134
|
class: "kuat-header__desktop-title"
|
|
134
|
-
},
|
|
135
|
+
}, fn = { class: "kuat-header__desktop-right" }, pn = {
|
|
135
136
|
key: 0,
|
|
136
137
|
class: "kuat-header__nav"
|
|
137
|
-
},
|
|
138
|
+
}, mn = {
|
|
138
139
|
key: 1,
|
|
139
140
|
class: "kuat-header__actions"
|
|
140
|
-
},
|
|
141
|
+
}, gn = { class: "kuat-header__mobile" }, hn = { class: "kuat-header__mobile-left" }, _n = {
|
|
141
142
|
key: 0,
|
|
142
143
|
class: "kuat-header__logo-wrap"
|
|
143
|
-
},
|
|
144
|
+
}, vn = {
|
|
144
145
|
key: 1,
|
|
145
146
|
class: "kuat-header__logo-wrap"
|
|
146
|
-
},
|
|
147
|
+
}, bn = {
|
|
147
148
|
key: 2,
|
|
148
149
|
class: "kuat-header__mobile-title"
|
|
149
|
-
},
|
|
150
|
+
}, Sn = {
|
|
150
151
|
key: 0,
|
|
151
152
|
class: "kuat-header__mobile-trigger-wrap"
|
|
152
|
-
},
|
|
153
|
+
}, Cn = /* @__PURE__ */ N({
|
|
153
154
|
__name: "KuatHeader",
|
|
154
155
|
props: {
|
|
155
156
|
class: {},
|
|
@@ -157,889 +158,889 @@ const Ke = {
|
|
|
157
158
|
title: {},
|
|
158
159
|
hideLogo: { type: Boolean, default: !1 }
|
|
159
160
|
},
|
|
160
|
-
setup(
|
|
161
|
-
const
|
|
162
|
-
() =>
|
|
161
|
+
setup(e) {
|
|
162
|
+
const t = e, o = Me(), n = O(() => !!o.logo), a = O(
|
|
163
|
+
() => X("kuat-header", `kuat-header--${t.variant}`, t.class)
|
|
163
164
|
);
|
|
164
|
-
return (
|
|
165
|
-
class:
|
|
165
|
+
return (s, r) => (C(), k("header", {
|
|
166
|
+
class: B(a.value)
|
|
166
167
|
}, [
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
n.value ? (
|
|
170
|
-
|
|
171
|
-
variant:
|
|
168
|
+
y("div", an, [
|
|
169
|
+
y("div", cn, [
|
|
170
|
+
n.value ? (C(), k("div", ln, [
|
|
171
|
+
D(s.$slots, "logo", {
|
|
172
|
+
variant: t.variant
|
|
172
173
|
}, void 0, !0)
|
|
173
|
-
])) :
|
|
174
|
-
et(
|
|
174
|
+
])) : t.hideLogo ? G("", !0) : (C(), k("div", un, [
|
|
175
|
+
et(Ot, {
|
|
175
176
|
class: "ee-logo--desktop",
|
|
176
|
-
"text-color":
|
|
177
|
+
"text-color": t.variant === "bold" ? "white" : "grey"
|
|
177
178
|
}, null, 8, ["text-color"])
|
|
178
179
|
])),
|
|
179
|
-
n.value || !
|
|
180
|
+
n.value || !t.hideLogo ? (C(), nt(K(ve), {
|
|
180
181
|
key: 2,
|
|
181
182
|
orientation: "vertical",
|
|
182
183
|
class: "kuat-header__separator"
|
|
183
|
-
})) :
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
})) : G("", !0),
|
|
185
|
+
t.title ? (C(), k("h1", dn, z(t.title), 1)) : G("", !0),
|
|
186
|
+
D(s.$slots, "title", {}, void 0, !0)
|
|
186
187
|
]),
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
])) :
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
])) :
|
|
188
|
+
y("div", fn, [
|
|
189
|
+
s.$slots.navigation ? (C(), k("nav", pn, [
|
|
190
|
+
D(s.$slots, "navigation", {}, void 0, !0)
|
|
191
|
+
])) : G("", !0),
|
|
192
|
+
s.$slots.actions ? (C(), k("div", mn, [
|
|
193
|
+
D(s.$slots, "actions", {}, void 0, !0)
|
|
194
|
+
])) : G("", !0)
|
|
194
195
|
])
|
|
195
196
|
]),
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
n.value ? (
|
|
199
|
-
|
|
200
|
-
variant:
|
|
197
|
+
y("div", gn, [
|
|
198
|
+
y("div", hn, [
|
|
199
|
+
n.value ? (C(), k("div", _n, [
|
|
200
|
+
D(s.$slots, "logo", {
|
|
201
|
+
variant: t.variant
|
|
201
202
|
}, void 0, !0)
|
|
202
|
-
])) :
|
|
203
|
-
et(
|
|
203
|
+
])) : t.hideLogo ? G("", !0) : (C(), k("div", vn, [
|
|
204
|
+
et(Ot, {
|
|
204
205
|
class: "ee-logo--mobile",
|
|
205
|
-
"text-color":
|
|
206
|
+
"text-color": t.variant === "bold" ? "white" : "grey"
|
|
206
207
|
}, null, 8, ["text-color"])
|
|
207
208
|
])),
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
t.title ? (C(), k("p", bn, z(t.title), 1)) : G("", !0),
|
|
210
|
+
D(s.$slots, "title", {}, void 0, !0)
|
|
210
211
|
]),
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
])) :
|
|
212
|
+
s.$slots["mobile-menu-trigger"] ? (C(), k("div", Sn, [
|
|
213
|
+
D(s.$slots, "mobile-menu-trigger", {}, void 0, !0)
|
|
214
|
+
])) : G("", !0)
|
|
214
215
|
]),
|
|
215
|
-
|
|
216
|
-
|
|
216
|
+
D(s.$slots, "mobile-menu", {}, void 0, !0),
|
|
217
|
+
D(s.$slots, "default", {}, void 0, !0)
|
|
217
218
|
], 2));
|
|
218
219
|
}
|
|
219
|
-
}),
|
|
220
|
-
function
|
|
221
|
-
const
|
|
222
|
-
return
|
|
220
|
+
}), Yo = /* @__PURE__ */ St(Cn, [["__scopeId", "data-v-35dfca44"]]);
|
|
221
|
+
function Jo(e) {
|
|
222
|
+
const t = (e == null ? void 0 : e.variant) ?? "default";
|
|
223
|
+
return X("kuat-header", `kuat-header--${t}`);
|
|
223
224
|
}
|
|
224
|
-
function
|
|
225
|
-
return Object.prototype.toString.call(
|
|
225
|
+
function yn(e) {
|
|
226
|
+
return Object.prototype.toString.call(e) === "[object Object]";
|
|
226
227
|
}
|
|
227
|
-
function
|
|
228
|
-
return
|
|
228
|
+
function me(e) {
|
|
229
|
+
return yn(e) || Array.isArray(e);
|
|
229
230
|
}
|
|
230
231
|
function kn() {
|
|
231
232
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
232
233
|
}
|
|
233
|
-
function
|
|
234
|
-
const
|
|
235
|
-
if (
|
|
236
|
-
const a = JSON.stringify(Object.keys(
|
|
237
|
-
return a !==
|
|
238
|
-
const
|
|
239
|
-
return typeof
|
|
234
|
+
function Xt(e, t) {
|
|
235
|
+
const o = Object.keys(e), n = Object.keys(t);
|
|
236
|
+
if (o.length !== n.length) return !1;
|
|
237
|
+
const a = JSON.stringify(Object.keys(e.breakpoints || {})), s = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
238
|
+
return a !== s ? !1 : o.every((r) => {
|
|
239
|
+
const i = e[r], c = t[r];
|
|
240
|
+
return typeof i == "function" ? `${i}` == `${c}` : !me(i) || !me(c) ? i === c : Xt(i, c);
|
|
240
241
|
});
|
|
241
242
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
243
|
+
function ge(e) {
|
|
244
|
+
return e.concat().sort((t, o) => t.name > o.name ? 1 : -1).map((t) => t.options);
|
|
244
245
|
}
|
|
245
|
-
function
|
|
246
|
-
if (
|
|
247
|
-
const
|
|
248
|
-
return
|
|
249
|
-
const r = n[
|
|
250
|
-
return
|
|
246
|
+
function Ln(e, t) {
|
|
247
|
+
if (e.length !== t.length) return !1;
|
|
248
|
+
const o = ge(e), n = ge(t);
|
|
249
|
+
return o.every((a, s) => {
|
|
250
|
+
const r = n[s];
|
|
251
|
+
return Xt(a, r);
|
|
251
252
|
});
|
|
252
253
|
}
|
|
253
|
-
function
|
|
254
|
-
return typeof
|
|
254
|
+
function Qt(e) {
|
|
255
|
+
return typeof e == "number";
|
|
255
256
|
}
|
|
256
|
-
function
|
|
257
|
-
return typeof
|
|
257
|
+
function Ut(e) {
|
|
258
|
+
return typeof e == "string";
|
|
258
259
|
}
|
|
259
|
-
function
|
|
260
|
-
return typeof
|
|
260
|
+
function Nt(e) {
|
|
261
|
+
return typeof e == "boolean";
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
-
return Object.prototype.toString.call(
|
|
263
|
+
function he(e) {
|
|
264
|
+
return Object.prototype.toString.call(e) === "[object Object]";
|
|
264
265
|
}
|
|
265
|
-
function
|
|
266
|
-
return Math.abs(
|
|
266
|
+
function w(e) {
|
|
267
|
+
return Math.abs(e);
|
|
267
268
|
}
|
|
268
|
-
function
|
|
269
|
-
return Math.sign(
|
|
269
|
+
function Yt(e) {
|
|
270
|
+
return Math.sign(e);
|
|
270
271
|
}
|
|
271
|
-
function
|
|
272
|
-
return
|
|
272
|
+
function xt(e, t) {
|
|
273
|
+
return w(e - t);
|
|
273
274
|
}
|
|
274
|
-
function
|
|
275
|
-
if (
|
|
276
|
-
const
|
|
277
|
-
return
|
|
275
|
+
function En(e, t) {
|
|
276
|
+
if (e === 0 || t === 0 || w(e) <= w(t)) return 0;
|
|
277
|
+
const o = xt(w(e), w(t));
|
|
278
|
+
return w(o / e);
|
|
278
279
|
}
|
|
279
|
-
function
|
|
280
|
-
return Math.round(
|
|
280
|
+
function xn(e) {
|
|
281
|
+
return Math.round(e * 100) / 100;
|
|
281
282
|
}
|
|
282
|
-
function
|
|
283
|
-
return
|
|
283
|
+
function At(e) {
|
|
284
|
+
return It(e).map(Number);
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
286
|
+
function q(e) {
|
|
287
|
+
return e[Tt(e)];
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
-
return Math.max(0,
|
|
289
|
+
function Tt(e) {
|
|
290
|
+
return Math.max(0, e.length - 1);
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
-
return
|
|
292
|
+
function Jt(e, t) {
|
|
293
|
+
return t === Tt(e);
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
-
return Array.from(Array(
|
|
295
|
+
function _e(e, t = 0) {
|
|
296
|
+
return Array.from(Array(e), (o, n) => t + n);
|
|
296
297
|
}
|
|
297
|
-
function
|
|
298
|
-
return Object.keys(
|
|
298
|
+
function It(e) {
|
|
299
|
+
return Object.keys(e);
|
|
299
300
|
}
|
|
300
|
-
function
|
|
301
|
-
return [
|
|
302
|
-
const
|
|
303
|
-
|
|
304
|
-
}),
|
|
301
|
+
function Se(e, t) {
|
|
302
|
+
return [e, t].reduce((o, n) => (It(n).forEach((a) => {
|
|
303
|
+
const s = o[a], r = n[a], i = he(s) && he(r);
|
|
304
|
+
o[a] = i ? Se(s, r) : r;
|
|
305
|
+
}), o), {});
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
-
return typeof
|
|
307
|
+
function jt(e, t) {
|
|
308
|
+
return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
|
|
308
309
|
}
|
|
309
|
-
function
|
|
310
|
-
const
|
|
310
|
+
function $n(e, t) {
|
|
311
|
+
const o = {
|
|
311
312
|
start: n,
|
|
312
313
|
center: a,
|
|
313
|
-
end:
|
|
314
|
+
end: s
|
|
314
315
|
};
|
|
315
316
|
function n() {
|
|
316
317
|
return 0;
|
|
317
318
|
}
|
|
318
|
-
function a(
|
|
319
|
-
return
|
|
319
|
+
function a(c) {
|
|
320
|
+
return s(c) / 2;
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
-
return
|
|
322
|
+
function s(c) {
|
|
323
|
+
return t - c;
|
|
323
324
|
}
|
|
324
|
-
function r(
|
|
325
|
-
return
|
|
325
|
+
function r(c, l) {
|
|
326
|
+
return Ut(e) ? o[e](c) : e(t, c, l);
|
|
326
327
|
}
|
|
327
328
|
return {
|
|
328
329
|
measure: r
|
|
329
330
|
};
|
|
330
331
|
}
|
|
331
|
-
function
|
|
332
|
-
let
|
|
333
|
-
function
|
|
332
|
+
function Ht() {
|
|
333
|
+
let e = [];
|
|
334
|
+
function t(a, s, r, i = {
|
|
334
335
|
passive: !0
|
|
335
336
|
}) {
|
|
336
|
-
let
|
|
337
|
+
let c;
|
|
337
338
|
if ("addEventListener" in a)
|
|
338
|
-
a.addEventListener(
|
|
339
|
+
a.addEventListener(s, r, i), c = () => a.removeEventListener(s, r, i);
|
|
339
340
|
else {
|
|
340
341
|
const l = a;
|
|
341
|
-
l.addListener(r),
|
|
342
|
+
l.addListener(r), c = () => l.removeListener(r);
|
|
342
343
|
}
|
|
343
|
-
return
|
|
344
|
+
return e.push(c), n;
|
|
344
345
|
}
|
|
345
|
-
function
|
|
346
|
-
|
|
346
|
+
function o() {
|
|
347
|
+
e = e.filter((a) => a());
|
|
347
348
|
}
|
|
348
349
|
const n = {
|
|
349
|
-
add:
|
|
350
|
-
clear:
|
|
350
|
+
add: t,
|
|
351
|
+
clear: o
|
|
351
352
|
};
|
|
352
353
|
return n;
|
|
353
354
|
}
|
|
354
|
-
function
|
|
355
|
-
const a =
|
|
356
|
-
let r = null,
|
|
355
|
+
function An(e, t, o, n) {
|
|
356
|
+
const a = Ht(), s = 1e3 / 60;
|
|
357
|
+
let r = null, i = 0, c = 0;
|
|
357
358
|
function l() {
|
|
358
|
-
a.add(
|
|
359
|
-
|
|
359
|
+
a.add(e, "visibilitychange", () => {
|
|
360
|
+
e.hidden && p();
|
|
360
361
|
});
|
|
361
362
|
}
|
|
362
|
-
function
|
|
363
|
-
|
|
363
|
+
function d() {
|
|
364
|
+
v(), a.clear();
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
-
if (!
|
|
367
|
-
r || (r = h,
|
|
366
|
+
function m(h) {
|
|
367
|
+
if (!c) return;
|
|
368
|
+
r || (r = h, o(), o());
|
|
368
369
|
const u = h - r;
|
|
369
|
-
for (r = h,
|
|
370
|
-
|
|
371
|
-
const _ =
|
|
372
|
-
n(_),
|
|
370
|
+
for (r = h, i += u; i >= s; )
|
|
371
|
+
o(), i -= s;
|
|
372
|
+
const _ = i / s;
|
|
373
|
+
n(_), c && (c = t.requestAnimationFrame(m));
|
|
373
374
|
}
|
|
374
375
|
function g() {
|
|
375
|
-
|
|
376
|
+
c || (c = t.requestAnimationFrame(m));
|
|
376
377
|
}
|
|
377
|
-
function
|
|
378
|
-
|
|
378
|
+
function v() {
|
|
379
|
+
t.cancelAnimationFrame(c), r = null, i = 0, c = 0;
|
|
379
380
|
}
|
|
380
|
-
function
|
|
381
|
-
r = null,
|
|
381
|
+
function p() {
|
|
382
|
+
r = null, i = 0;
|
|
382
383
|
}
|
|
383
384
|
return {
|
|
384
385
|
init: l,
|
|
385
|
-
destroy:
|
|
386
|
+
destroy: d,
|
|
386
387
|
start: g,
|
|
387
|
-
stop:
|
|
388
|
-
update:
|
|
388
|
+
stop: v,
|
|
389
|
+
update: o,
|
|
389
390
|
render: n
|
|
390
391
|
};
|
|
391
392
|
}
|
|
392
|
-
function
|
|
393
|
-
const
|
|
394
|
-
function l(
|
|
393
|
+
function In(e, t) {
|
|
394
|
+
const o = t === "rtl", n = e === "y", a = n ? "y" : "x", s = n ? "x" : "y", r = !n && o ? -1 : 1, i = d(), c = m();
|
|
395
|
+
function l(p) {
|
|
395
396
|
const {
|
|
396
|
-
height:
|
|
397
|
+
height: f,
|
|
397
398
|
width: h
|
|
398
|
-
} =
|
|
399
|
-
return n ?
|
|
399
|
+
} = p;
|
|
400
|
+
return n ? f : h;
|
|
400
401
|
}
|
|
401
|
-
function
|
|
402
|
-
return n ? "top" :
|
|
402
|
+
function d() {
|
|
403
|
+
return n ? "top" : o ? "right" : "left";
|
|
403
404
|
}
|
|
404
|
-
function
|
|
405
|
-
return n ? "bottom" :
|
|
405
|
+
function m() {
|
|
406
|
+
return n ? "bottom" : o ? "left" : "right";
|
|
406
407
|
}
|
|
407
|
-
function g(
|
|
408
|
-
return
|
|
408
|
+
function g(p) {
|
|
409
|
+
return p * r;
|
|
409
410
|
}
|
|
410
411
|
return {
|
|
411
412
|
scroll: a,
|
|
412
|
-
cross:
|
|
413
|
-
startEdge:
|
|
414
|
-
endEdge:
|
|
413
|
+
cross: s,
|
|
414
|
+
startEdge: i,
|
|
415
|
+
endEdge: c,
|
|
415
416
|
measureSize: l,
|
|
416
417
|
direction: g
|
|
417
418
|
};
|
|
418
419
|
}
|
|
419
|
-
function
|
|
420
|
-
const
|
|
420
|
+
function mt(e = 0, t = 0) {
|
|
421
|
+
const o = w(e - t);
|
|
421
422
|
function n(l) {
|
|
422
|
-
return l <
|
|
423
|
+
return l < e;
|
|
423
424
|
}
|
|
424
425
|
function a(l) {
|
|
425
|
-
return l >
|
|
426
|
+
return l > t;
|
|
426
427
|
}
|
|
427
|
-
function
|
|
428
|
+
function s(l) {
|
|
428
429
|
return n(l) || a(l);
|
|
429
430
|
}
|
|
430
431
|
function r(l) {
|
|
431
|
-
return
|
|
432
|
+
return s(l) ? n(l) ? e : t : l;
|
|
432
433
|
}
|
|
433
|
-
function
|
|
434
|
-
return
|
|
434
|
+
function i(l) {
|
|
435
|
+
return o ? l - o * Math.ceil((l - t) / o) : l;
|
|
435
436
|
}
|
|
436
437
|
return {
|
|
437
|
-
length:
|
|
438
|
-
max:
|
|
439
|
-
min:
|
|
438
|
+
length: o,
|
|
439
|
+
max: t,
|
|
440
|
+
min: e,
|
|
440
441
|
constrain: r,
|
|
441
|
-
reachedAny:
|
|
442
|
+
reachedAny: s,
|
|
442
443
|
reachedMax: a,
|
|
443
444
|
reachedMin: n,
|
|
444
|
-
removeOffset:
|
|
445
|
+
removeOffset: i
|
|
445
446
|
};
|
|
446
447
|
}
|
|
447
|
-
function
|
|
448
|
+
function Ce(e, t, o) {
|
|
448
449
|
const {
|
|
449
450
|
constrain: n
|
|
450
|
-
} =
|
|
451
|
-
let
|
|
451
|
+
} = mt(0, e), a = e + 1;
|
|
452
|
+
let s = r(t);
|
|
452
453
|
function r(g) {
|
|
453
|
-
return
|
|
454
|
+
return o ? w((a + g) % a) : n(g);
|
|
454
455
|
}
|
|
455
|
-
function
|
|
456
|
-
return
|
|
456
|
+
function i() {
|
|
457
|
+
return s;
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
-
return
|
|
459
|
+
function c(g) {
|
|
460
|
+
return s = r(g), m;
|
|
460
461
|
}
|
|
461
462
|
function l(g) {
|
|
462
|
-
return
|
|
463
|
+
return d().set(i() + g);
|
|
463
464
|
}
|
|
464
|
-
function
|
|
465
|
-
return
|
|
465
|
+
function d() {
|
|
466
|
+
return Ce(e, i(), o);
|
|
466
467
|
}
|
|
467
|
-
const
|
|
468
|
-
get:
|
|
469
|
-
set:
|
|
468
|
+
const m = {
|
|
469
|
+
get: i,
|
|
470
|
+
set: c,
|
|
470
471
|
add: l,
|
|
471
|
-
clone:
|
|
472
|
+
clone: d
|
|
472
473
|
};
|
|
473
|
-
return
|
|
474
|
+
return m;
|
|
474
475
|
}
|
|
475
|
-
function
|
|
476
|
+
function Hn(e, t, o, n, a, s, r, i, c, l, d, m, g, v, p, f, h, u, _) {
|
|
476
477
|
const {
|
|
477
|
-
cross:
|
|
478
|
+
cross: b,
|
|
478
479
|
direction: E
|
|
479
|
-
} =
|
|
480
|
+
} = e, T = ["INPUT", "SELECT", "TEXTAREA"], $ = {
|
|
480
481
|
passive: !1
|
|
481
|
-
}, L =
|
|
482
|
+
}, L = Ht(), x = Ht(), A = mt(50, 225).constrain(v.measure(20)), M = {
|
|
482
483
|
mouse: 300,
|
|
483
484
|
touch: 400
|
|
484
|
-
},
|
|
485
|
+
}, I = {
|
|
485
486
|
mouse: 500,
|
|
486
487
|
touch: 600
|
|
487
|
-
},
|
|
488
|
-
let Q = !1, Y = 0, J = 0,
|
|
489
|
-
function
|
|
488
|
+
}, Z = p ? 43 : 25;
|
|
489
|
+
let Q = !1, Y = 0, J = 0, ut = !1, it = !1, ot = !1, st = !1;
|
|
490
|
+
function Ct(S) {
|
|
490
491
|
if (!_) return;
|
|
491
|
-
function
|
|
492
|
-
(
|
|
492
|
+
function H(R) {
|
|
493
|
+
(Nt(_) || _(S, R)) && kt(R);
|
|
493
494
|
}
|
|
494
|
-
const
|
|
495
|
-
L.add(
|
|
496
|
-
},
|
|
497
|
-
}).add(
|
|
495
|
+
const P = t;
|
|
496
|
+
L.add(P, "dragstart", (R) => R.preventDefault(), $).add(P, "touchmove", () => {
|
|
497
|
+
}, $).add(P, "touchend", () => {
|
|
498
|
+
}).add(P, "touchstart", H).add(P, "mousedown", H).add(P, "touchcancel", F).add(P, "contextmenu", F).add(P, "click", at, !0);
|
|
498
499
|
}
|
|
499
500
|
function W() {
|
|
500
501
|
L.clear(), x.clear();
|
|
501
502
|
}
|
|
502
|
-
function
|
|
503
|
-
const
|
|
504
|
-
x.add(
|
|
503
|
+
function gt() {
|
|
504
|
+
const S = st ? o : t;
|
|
505
|
+
x.add(S, "touchmove", U, $).add(S, "touchend", F).add(S, "mousemove", U, $).add(S, "mouseup", F);
|
|
505
506
|
}
|
|
506
|
-
function
|
|
507
|
-
const
|
|
508
|
-
return
|
|
507
|
+
function ht(S) {
|
|
508
|
+
const H = S.nodeName || "";
|
|
509
|
+
return T.includes(H);
|
|
509
510
|
}
|
|
510
|
-
function
|
|
511
|
-
return (
|
|
511
|
+
function rt() {
|
|
512
|
+
return (p ? I : M)[st ? "mouse" : "touch"];
|
|
512
513
|
}
|
|
513
|
-
function
|
|
514
|
-
const
|
|
515
|
-
return
|
|
514
|
+
function yt(S, H) {
|
|
515
|
+
const P = m.add(Yt(S) * -1), R = d.byDistance(S, !p).distance;
|
|
516
|
+
return p || w(S) < A ? R : h && H ? R * 0.5 : d.byIndex(P.get(), 0).distance;
|
|
516
517
|
}
|
|
517
|
-
function kt(
|
|
518
|
-
const
|
|
519
|
-
|
|
518
|
+
function kt(S) {
|
|
519
|
+
const H = jt(S, n);
|
|
520
|
+
st = H, ot = p && H && !S.buttons && Q, Q = xt(a.get(), r.get()) >= 2, !(H && S.button !== 0) && (ht(S.target) || (ut = !0, s.pointerDown(S), l.useFriction(0).useDuration(0), a.set(r), gt(), Y = s.readPoint(S), J = s.readPoint(S, b), g.emit("pointerDown")));
|
|
520
521
|
}
|
|
521
|
-
function
|
|
522
|
-
if (!
|
|
523
|
-
const
|
|
524
|
-
if (!it && !
|
|
525
|
-
return
|
|
526
|
-
const
|
|
527
|
-
tt >
|
|
522
|
+
function U(S) {
|
|
523
|
+
if (!jt(S, n) && S.touches.length >= 2) return F(S);
|
|
524
|
+
const P = s.readPoint(S), R = s.readPoint(S, b), tt = xt(P, Y), ct = xt(R, J);
|
|
525
|
+
if (!it && !st && (!S.cancelable || (it = tt > ct, !it)))
|
|
526
|
+
return F(S);
|
|
527
|
+
const dt = s.pointerMove(S);
|
|
528
|
+
tt > f && (ot = !0), l.useFriction(0.3).useDuration(0.75), i.start(), a.add(E(dt)), S.preventDefault();
|
|
528
529
|
}
|
|
529
|
-
function
|
|
530
|
-
const
|
|
531
|
-
it = !1,
|
|
530
|
+
function F(S) {
|
|
531
|
+
const P = d.byDistance(0, !1).index !== m.get(), R = s.pointerUp(S) * rt(), tt = yt(E(R), P), ct = En(R, tt), dt = Z - 10 * ct, lt = u + ct / 50;
|
|
532
|
+
it = !1, ut = !1, x.clear(), l.useDuration(dt).useFriction(lt), c.distance(tt, !p), st = !1, g.emit("pointerUp");
|
|
532
533
|
}
|
|
533
|
-
function
|
|
534
|
-
|
|
534
|
+
function at(S) {
|
|
535
|
+
ot && (S.stopPropagation(), S.preventDefault(), ot = !1);
|
|
535
536
|
}
|
|
536
|
-
function
|
|
537
|
-
return
|
|
537
|
+
function j() {
|
|
538
|
+
return ut;
|
|
538
539
|
}
|
|
539
540
|
return {
|
|
540
|
-
init:
|
|
541
|
+
init: Ct,
|
|
541
542
|
destroy: W,
|
|
542
|
-
pointerDown:
|
|
543
|
+
pointerDown: j
|
|
543
544
|
};
|
|
544
545
|
}
|
|
545
|
-
function
|
|
546
|
+
function Tn(e, t) {
|
|
546
547
|
let n, a;
|
|
547
|
-
function
|
|
548
|
-
return
|
|
548
|
+
function s(m) {
|
|
549
|
+
return m.timeStamp;
|
|
549
550
|
}
|
|
550
|
-
function r(
|
|
551
|
-
const
|
|
552
|
-
return (
|
|
551
|
+
function r(m, g) {
|
|
552
|
+
const p = `client${(g || e.scroll) === "x" ? "X" : "Y"}`;
|
|
553
|
+
return (jt(m, t) ? m : m.touches[0])[p];
|
|
553
554
|
}
|
|
554
|
-
function
|
|
555
|
-
return n =
|
|
555
|
+
function i(m) {
|
|
556
|
+
return n = m, a = m, r(m);
|
|
556
557
|
}
|
|
557
|
-
function
|
|
558
|
-
const g = r(
|
|
559
|
-
return a =
|
|
558
|
+
function c(m) {
|
|
559
|
+
const g = r(m) - r(a), v = s(m) - s(n) > 170;
|
|
560
|
+
return a = m, v && (n = m), g;
|
|
560
561
|
}
|
|
561
|
-
function l(
|
|
562
|
+
function l(m) {
|
|
562
563
|
if (!n || !a) return 0;
|
|
563
|
-
const g = r(a) - r(n),
|
|
564
|
-
return
|
|
564
|
+
const g = r(a) - r(n), v = s(m) - s(n), p = s(m) - s(a) > 170, f = g / v;
|
|
565
|
+
return v && !p && w(f) > 0.1 ? f : 0;
|
|
565
566
|
}
|
|
566
567
|
return {
|
|
567
|
-
pointerDown:
|
|
568
|
-
pointerMove:
|
|
568
|
+
pointerDown: i,
|
|
569
|
+
pointerMove: c,
|
|
569
570
|
pointerUp: l,
|
|
570
571
|
readPoint: r
|
|
571
572
|
};
|
|
572
573
|
}
|
|
573
574
|
function Vn() {
|
|
574
|
-
function
|
|
575
|
+
function e(o) {
|
|
575
576
|
const {
|
|
576
577
|
offsetTop: n,
|
|
577
578
|
offsetLeft: a,
|
|
578
|
-
offsetWidth:
|
|
579
|
+
offsetWidth: s,
|
|
579
580
|
offsetHeight: r
|
|
580
|
-
} =
|
|
581
|
+
} = o;
|
|
581
582
|
return {
|
|
582
583
|
top: n,
|
|
583
|
-
right: a +
|
|
584
|
+
right: a + s,
|
|
584
585
|
bottom: n + r,
|
|
585
586
|
left: a,
|
|
586
|
-
width:
|
|
587
|
+
width: s,
|
|
587
588
|
height: r
|
|
588
589
|
};
|
|
589
590
|
}
|
|
590
591
|
return {
|
|
591
|
-
measure:
|
|
592
|
+
measure: e
|
|
592
593
|
};
|
|
593
594
|
}
|
|
594
|
-
function
|
|
595
|
-
function
|
|
596
|
-
return
|
|
595
|
+
function wn(e) {
|
|
596
|
+
function t(n) {
|
|
597
|
+
return e * (n / 100);
|
|
597
598
|
}
|
|
598
599
|
return {
|
|
599
|
-
measure:
|
|
600
|
+
measure: t
|
|
600
601
|
};
|
|
601
602
|
}
|
|
602
|
-
function
|
|
603
|
-
const
|
|
604
|
-
let
|
|
603
|
+
function Dn(e, t, o, n, a, s, r) {
|
|
604
|
+
const i = [e].concat(n);
|
|
605
|
+
let c, l, d = [], m = !1;
|
|
605
606
|
function g(h) {
|
|
606
607
|
return a.measureSize(r.measure(h));
|
|
607
608
|
}
|
|
608
|
-
function
|
|
609
|
-
if (!
|
|
610
|
-
l = g(
|
|
609
|
+
function v(h) {
|
|
610
|
+
if (!s) return;
|
|
611
|
+
l = g(e), d = n.map(g);
|
|
611
612
|
function u(_) {
|
|
612
|
-
for (const
|
|
613
|
-
if (
|
|
614
|
-
const E =
|
|
615
|
-
if (
|
|
616
|
-
h.reInit(),
|
|
613
|
+
for (const b of _) {
|
|
614
|
+
if (m) return;
|
|
615
|
+
const E = b.target === e, T = n.indexOf(b.target), $ = E ? l : d[T], L = g(E ? e : n[T]);
|
|
616
|
+
if (w(L - $) >= 0.5) {
|
|
617
|
+
h.reInit(), t.emit("resize");
|
|
617
618
|
break;
|
|
618
619
|
}
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
|
-
|
|
622
|
-
(
|
|
623
|
-
}),
|
|
624
|
-
|
|
622
|
+
c = new ResizeObserver((_) => {
|
|
623
|
+
(Nt(s) || s(h, _)) && u(_);
|
|
624
|
+
}), o.requestAnimationFrame(() => {
|
|
625
|
+
i.forEach((_) => c.observe(_));
|
|
625
626
|
});
|
|
626
627
|
}
|
|
627
|
-
function
|
|
628
|
-
|
|
628
|
+
function p() {
|
|
629
|
+
m = !0, c && c.disconnect();
|
|
629
630
|
}
|
|
630
631
|
return {
|
|
631
|
-
init:
|
|
632
|
-
destroy:
|
|
632
|
+
init: v,
|
|
633
|
+
destroy: p
|
|
633
634
|
};
|
|
634
635
|
}
|
|
635
|
-
function
|
|
636
|
-
let r = 0,
|
|
636
|
+
function On(e, t, o, n, a, s) {
|
|
637
|
+
let r = 0, i = 0, c = a, l = s, d = e.get(), m = 0;
|
|
637
638
|
function g() {
|
|
638
|
-
const
|
|
639
|
+
const $ = n.get() - e.get(), L = !c;
|
|
639
640
|
let x = 0;
|
|
640
|
-
return L ? (r = 0,
|
|
641
|
-
}
|
|
642
|
-
function S() {
|
|
643
|
-
const H = n.get() - e.get();
|
|
644
|
-
return D(H) < 1e-3;
|
|
641
|
+
return L ? (r = 0, o.set(n), e.set(n), x = $) : (o.set(e), r += $ / c, r *= l, d += r, e.add(r), x = d - m), i = Yt(x), m = d, T;
|
|
645
642
|
}
|
|
646
|
-
function
|
|
647
|
-
|
|
643
|
+
function v() {
|
|
644
|
+
const $ = n.get() - t.get();
|
|
645
|
+
return w($) < 1e-3;
|
|
648
646
|
}
|
|
649
|
-
function
|
|
647
|
+
function p() {
|
|
650
648
|
return c;
|
|
651
649
|
}
|
|
650
|
+
function f() {
|
|
651
|
+
return i;
|
|
652
|
+
}
|
|
652
653
|
function h() {
|
|
653
654
|
return r;
|
|
654
655
|
}
|
|
655
656
|
function u() {
|
|
656
|
-
return
|
|
657
|
+
return b(a);
|
|
657
658
|
}
|
|
658
659
|
function _() {
|
|
659
|
-
return E(
|
|
660
|
+
return E(s);
|
|
660
661
|
}
|
|
661
|
-
function
|
|
662
|
-
return
|
|
662
|
+
function b($) {
|
|
663
|
+
return c = $, T;
|
|
663
664
|
}
|
|
664
|
-
function E(
|
|
665
|
-
return l =
|
|
665
|
+
function E($) {
|
|
666
|
+
return l = $, T;
|
|
666
667
|
}
|
|
667
|
-
const
|
|
668
|
-
direction:
|
|
669
|
-
duration:
|
|
668
|
+
const T = {
|
|
669
|
+
direction: f,
|
|
670
|
+
duration: p,
|
|
670
671
|
velocity: h,
|
|
671
672
|
seek: g,
|
|
672
|
-
settled:
|
|
673
|
+
settled: v,
|
|
673
674
|
useBaseFriction: _,
|
|
674
675
|
useBaseDuration: u,
|
|
675
676
|
useFriction: E,
|
|
676
|
-
useDuration:
|
|
677
|
+
useDuration: b
|
|
677
678
|
};
|
|
678
|
-
return
|
|
679
|
+
return T;
|
|
679
680
|
}
|
|
680
|
-
function
|
|
681
|
-
const
|
|
682
|
-
let
|
|
681
|
+
function Mn(e, t, o, n, a) {
|
|
682
|
+
const s = a.measure(10), r = a.measure(50), i = mt(0.1, 0.99);
|
|
683
|
+
let c = !1;
|
|
683
684
|
function l() {
|
|
684
|
-
return !(
|
|
685
|
+
return !(c || !e.reachedAny(o.get()) || !e.reachedAny(t.get()));
|
|
685
686
|
}
|
|
686
|
-
function
|
|
687
|
+
function d(v) {
|
|
687
688
|
if (!l()) return;
|
|
688
|
-
const
|
|
689
|
-
|
|
689
|
+
const p = e.reachedMin(t.get()) ? "min" : "max", f = w(e[p] - t.get()), h = o.get() - t.get(), u = i.constrain(f / r);
|
|
690
|
+
o.subtract(h * u), !v && w(h) < s && (o.set(e.constrain(o.get())), n.useDuration(25).useBaseFriction());
|
|
690
691
|
}
|
|
691
|
-
function
|
|
692
|
-
|
|
692
|
+
function m(v) {
|
|
693
|
+
c = !v;
|
|
693
694
|
}
|
|
694
695
|
return {
|
|
695
696
|
shouldConstrain: l,
|
|
696
|
-
constrain:
|
|
697
|
-
toggleActive:
|
|
697
|
+
constrain: d,
|
|
698
|
+
toggleActive: m
|
|
698
699
|
};
|
|
699
700
|
}
|
|
700
|
-
function
|
|
701
|
-
const
|
|
702
|
-
function l(
|
|
703
|
-
return
|
|
701
|
+
function Pn(e, t, o, n, a) {
|
|
702
|
+
const s = mt(-t + e, 0), r = m(), i = d(), c = g();
|
|
703
|
+
function l(p, f) {
|
|
704
|
+
return xt(p, f) <= 1;
|
|
704
705
|
}
|
|
705
|
-
function
|
|
706
|
-
const
|
|
707
|
-
return
|
|
706
|
+
function d() {
|
|
707
|
+
const p = r[0], f = q(r), h = r.lastIndexOf(p), u = r.indexOf(f) + 1;
|
|
708
|
+
return mt(h, u);
|
|
708
709
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
710
|
+
function m() {
|
|
711
|
+
return o.map((p, f) => {
|
|
711
712
|
const {
|
|
712
713
|
min: h,
|
|
713
714
|
max: u
|
|
714
|
-
} =
|
|
715
|
-
return
|
|
716
|
-
}).map((
|
|
715
|
+
} = s, _ = s.constrain(p), b = !f, E = Jt(o, f);
|
|
716
|
+
return b ? u : E || l(h, _) ? h : l(u, _) ? u : _;
|
|
717
|
+
}).map((p) => parseFloat(p.toFixed(3)));
|
|
717
718
|
}
|
|
718
719
|
function g() {
|
|
719
|
-
if (
|
|
720
|
+
if (t <= e + a) return [s.max];
|
|
720
721
|
if (n === "keepSnaps") return r;
|
|
721
722
|
const {
|
|
722
|
-
min:
|
|
723
|
-
max:
|
|
724
|
-
} =
|
|
725
|
-
return r.slice(
|
|
723
|
+
min: p,
|
|
724
|
+
max: f
|
|
725
|
+
} = i;
|
|
726
|
+
return r.slice(p, f);
|
|
726
727
|
}
|
|
727
728
|
return {
|
|
728
|
-
snapsContained:
|
|
729
|
-
scrollContainLimit:
|
|
729
|
+
snapsContained: c,
|
|
730
|
+
scrollContainLimit: i
|
|
730
731
|
};
|
|
731
732
|
}
|
|
732
|
-
function
|
|
733
|
-
const n =
|
|
733
|
+
function Nn(e, t, o) {
|
|
734
|
+
const n = t[0], a = o ? n - e : q(t);
|
|
734
735
|
return {
|
|
735
|
-
limit:
|
|
736
|
+
limit: mt(a, n)
|
|
736
737
|
};
|
|
737
738
|
}
|
|
738
|
-
function
|
|
739
|
-
const
|
|
740
|
-
reachedMin:
|
|
741
|
-
reachedMax:
|
|
742
|
-
} =
|
|
739
|
+
function Bn(e, t, o, n) {
|
|
740
|
+
const s = t.min + 0.1, r = t.max + 0.1, {
|
|
741
|
+
reachedMin: i,
|
|
742
|
+
reachedMax: c
|
|
743
|
+
} = mt(s, r);
|
|
743
744
|
function l(g) {
|
|
744
|
-
return g === 1 ?
|
|
745
|
+
return g === 1 ? c(o.get()) : g === -1 ? i(o.get()) : !1;
|
|
745
746
|
}
|
|
746
|
-
function
|
|
747
|
+
function d(g) {
|
|
747
748
|
if (!l(g)) return;
|
|
748
|
-
const
|
|
749
|
-
n.forEach((
|
|
749
|
+
const v = e * (g * -1);
|
|
750
|
+
n.forEach((p) => p.add(v));
|
|
750
751
|
}
|
|
751
752
|
return {
|
|
752
|
-
loop:
|
|
753
|
+
loop: d
|
|
753
754
|
};
|
|
754
755
|
}
|
|
755
|
-
function
|
|
756
|
+
function Fn(e) {
|
|
756
757
|
const {
|
|
757
|
-
max:
|
|
758
|
-
length:
|
|
759
|
-
} =
|
|
760
|
-
function n(
|
|
761
|
-
const r =
|
|
762
|
-
return
|
|
758
|
+
max: t,
|
|
759
|
+
length: o
|
|
760
|
+
} = e;
|
|
761
|
+
function n(s) {
|
|
762
|
+
const r = s - t;
|
|
763
|
+
return o ? r / -o : 0;
|
|
763
764
|
}
|
|
764
765
|
return {
|
|
765
766
|
get: n
|
|
766
767
|
};
|
|
767
768
|
}
|
|
768
|
-
function
|
|
769
|
+
function Rn(e, t, o, n, a) {
|
|
769
770
|
const {
|
|
770
|
-
startEdge:
|
|
771
|
+
startEdge: s,
|
|
771
772
|
endEdge: r
|
|
772
|
-
} =
|
|
773
|
-
groupSlides:
|
|
774
|
-
} = a,
|
|
775
|
-
function
|
|
776
|
-
return
|
|
773
|
+
} = e, {
|
|
774
|
+
groupSlides: i
|
|
775
|
+
} = a, c = m().map(t.measure), l = g(), d = v();
|
|
776
|
+
function m() {
|
|
777
|
+
return i(n).map((f) => q(f)[r] - f[0][s]).map(w);
|
|
777
778
|
}
|
|
778
779
|
function g() {
|
|
779
|
-
return n.map((
|
|
780
|
+
return n.map((f) => o[s] - f[s]).map((f) => -w(f));
|
|
780
781
|
}
|
|
781
|
-
function
|
|
782
|
-
return
|
|
782
|
+
function v() {
|
|
783
|
+
return i(l).map((f) => f[0]).map((f, h) => f + c[h]);
|
|
783
784
|
}
|
|
784
785
|
return {
|
|
785
786
|
snaps: l,
|
|
786
|
-
snapsAligned:
|
|
787
|
+
snapsAligned: d
|
|
787
788
|
};
|
|
788
789
|
}
|
|
789
|
-
function
|
|
790
|
+
function Gn(e, t, o, n, a, s) {
|
|
790
791
|
const {
|
|
791
792
|
groupSlides: r
|
|
792
793
|
} = a, {
|
|
793
|
-
min:
|
|
794
|
-
max:
|
|
795
|
-
} = n, l =
|
|
796
|
-
function
|
|
797
|
-
const g = r(
|
|
798
|
-
return
|
|
799
|
-
const u = !
|
|
794
|
+
min: i,
|
|
795
|
+
max: c
|
|
796
|
+
} = n, l = d();
|
|
797
|
+
function d() {
|
|
798
|
+
const g = r(s), v = !e || t === "keepSnaps";
|
|
799
|
+
return o.length === 1 ? [s] : v ? g : g.slice(i, c).map((p, f, h) => {
|
|
800
|
+
const u = !f, _ = Jt(h, f);
|
|
800
801
|
if (u) {
|
|
801
|
-
const
|
|
802
|
-
return
|
|
802
|
+
const b = q(h[0]) + 1;
|
|
803
|
+
return _e(b);
|
|
803
804
|
}
|
|
804
805
|
if (_) {
|
|
805
|
-
const
|
|
806
|
-
return
|
|
806
|
+
const b = Tt(s) - q(h)[0] + 1;
|
|
807
|
+
return _e(b, q(h)[0]);
|
|
807
808
|
}
|
|
808
|
-
return
|
|
809
|
+
return p;
|
|
809
810
|
});
|
|
810
811
|
}
|
|
811
812
|
return {
|
|
812
813
|
slideRegistry: l
|
|
813
814
|
};
|
|
814
815
|
}
|
|
815
|
-
function
|
|
816
|
+
function Kn(e, t, o, n, a) {
|
|
816
817
|
const {
|
|
817
|
-
reachedAny:
|
|
818
|
+
reachedAny: s,
|
|
818
819
|
removeOffset: r,
|
|
819
|
-
constrain:
|
|
820
|
+
constrain: i
|
|
820
821
|
} = n;
|
|
821
|
-
function
|
|
822
|
-
return
|
|
822
|
+
function c(p) {
|
|
823
|
+
return p.concat().sort((f, h) => w(f) - w(h))[0];
|
|
823
824
|
}
|
|
824
|
-
function l(
|
|
825
|
-
const
|
|
826
|
-
diff:
|
|
827
|
-
index:
|
|
828
|
-
})).sort((_,
|
|
825
|
+
function l(p) {
|
|
826
|
+
const f = e ? r(p) : i(p), h = t.map((_, b) => ({
|
|
827
|
+
diff: d(_ - f, 0),
|
|
828
|
+
index: b
|
|
829
|
+
})).sort((_, b) => w(_.diff) - w(b.diff)), {
|
|
829
830
|
index: u
|
|
830
831
|
} = h[0];
|
|
831
832
|
return {
|
|
832
833
|
index: u,
|
|
833
|
-
distance:
|
|
834
|
+
distance: f
|
|
834
835
|
};
|
|
835
836
|
}
|
|
836
|
-
function
|
|
837
|
-
const h = [
|
|
838
|
-
if (!
|
|
839
|
-
if (!
|
|
840
|
-
const u = h.filter((_) =>
|
|
841
|
-
return u.length ?
|
|
837
|
+
function d(p, f) {
|
|
838
|
+
const h = [p, p + o, p - o];
|
|
839
|
+
if (!e) return p;
|
|
840
|
+
if (!f) return c(h);
|
|
841
|
+
const u = h.filter((_) => Yt(_) === f);
|
|
842
|
+
return u.length ? c(u) : q(h) - o;
|
|
842
843
|
}
|
|
843
|
-
function p
|
|
844
|
-
const h =
|
|
844
|
+
function m(p, f) {
|
|
845
|
+
const h = t[p] - a.get(), u = d(h, f);
|
|
845
846
|
return {
|
|
846
|
-
index:
|
|
847
|
+
index: p,
|
|
847
848
|
distance: u
|
|
848
849
|
};
|
|
849
850
|
}
|
|
850
|
-
function g(
|
|
851
|
-
const h = a.get() +
|
|
851
|
+
function g(p, f) {
|
|
852
|
+
const h = a.get() + p, {
|
|
852
853
|
index: u,
|
|
853
854
|
distance: _
|
|
854
|
-
} = l(h),
|
|
855
|
-
if (!
|
|
855
|
+
} = l(h), b = !e && s(h);
|
|
856
|
+
if (!f || b) return {
|
|
856
857
|
index: u,
|
|
857
|
-
distance:
|
|
858
|
+
distance: p
|
|
858
859
|
};
|
|
859
|
-
const E =
|
|
860
|
+
const E = t[u] - _, T = p + d(E, 0);
|
|
860
861
|
return {
|
|
861
862
|
index: u,
|
|
862
|
-
distance:
|
|
863
|
+
distance: T
|
|
863
864
|
};
|
|
864
865
|
}
|
|
865
866
|
return {
|
|
866
867
|
byDistance: g,
|
|
867
|
-
byIndex:
|
|
868
|
-
shortcut:
|
|
868
|
+
byIndex: m,
|
|
869
|
+
shortcut: d
|
|
869
870
|
};
|
|
870
871
|
}
|
|
871
|
-
function
|
|
872
|
-
function
|
|
873
|
-
const g =
|
|
874
|
-
|
|
872
|
+
function Zn(e, t, o, n, a, s, r) {
|
|
873
|
+
function i(m) {
|
|
874
|
+
const g = m.distance, v = m.index !== t.get();
|
|
875
|
+
s.add(g), g && (n.duration() ? e.start() : (e.update(), e.render(1), e.update())), v && (o.set(t.get()), t.set(m.index), r.emit("select"));
|
|
875
876
|
}
|
|
876
|
-
function
|
|
877
|
-
const
|
|
878
|
-
|
|
877
|
+
function c(m, g) {
|
|
878
|
+
const v = a.byDistance(m, g);
|
|
879
|
+
i(v);
|
|
879
880
|
}
|
|
880
|
-
function l(
|
|
881
|
-
const
|
|
882
|
-
|
|
881
|
+
function l(m, g) {
|
|
882
|
+
const v = t.clone().set(m), p = a.byIndex(v.get(), g);
|
|
883
|
+
i(p);
|
|
883
884
|
}
|
|
884
885
|
return {
|
|
885
|
-
distance:
|
|
886
|
+
distance: c,
|
|
886
887
|
index: l
|
|
887
888
|
};
|
|
888
889
|
}
|
|
889
|
-
function
|
|
890
|
-
const
|
|
890
|
+
function zn(e, t, o, n, a, s, r, i) {
|
|
891
|
+
const c = {
|
|
891
892
|
passive: !0,
|
|
892
893
|
capture: !0
|
|
893
894
|
};
|
|
894
895
|
let l = 0;
|
|
895
|
-
function
|
|
896
|
-
if (!
|
|
897
|
-
function
|
|
896
|
+
function d(v) {
|
|
897
|
+
if (!i) return;
|
|
898
|
+
function p(f) {
|
|
898
899
|
if ((/* @__PURE__ */ new Date()).getTime() - l > 10) return;
|
|
899
|
-
r.emit("slideFocusStart"),
|
|
900
|
-
const _ =
|
|
901
|
-
|
|
900
|
+
r.emit("slideFocusStart"), e.scrollLeft = 0;
|
|
901
|
+
const _ = o.findIndex((b) => b.includes(f));
|
|
902
|
+
Qt(_) && (a.useDuration(0), n.index(_, 0), r.emit("slideFocus"));
|
|
902
903
|
}
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
(
|
|
906
|
-
},
|
|
904
|
+
s.add(document, "keydown", m, !1), t.forEach((f, h) => {
|
|
905
|
+
s.add(f, "focus", (u) => {
|
|
906
|
+
(Nt(i) || i(v, u)) && p(h);
|
|
907
|
+
}, c);
|
|
907
908
|
});
|
|
908
909
|
}
|
|
909
|
-
function
|
|
910
|
-
|
|
910
|
+
function m(v) {
|
|
911
|
+
v.code === "Tab" && (l = (/* @__PURE__ */ new Date()).getTime());
|
|
911
912
|
}
|
|
912
913
|
return {
|
|
913
|
-
init:
|
|
914
|
+
init: d
|
|
914
915
|
};
|
|
915
916
|
}
|
|
916
|
-
function
|
|
917
|
-
let
|
|
918
|
-
function
|
|
919
|
-
return
|
|
917
|
+
function Et(e) {
|
|
918
|
+
let t = e;
|
|
919
|
+
function o() {
|
|
920
|
+
return t;
|
|
920
921
|
}
|
|
921
|
-
function n(
|
|
922
|
-
|
|
922
|
+
function n(c) {
|
|
923
|
+
t = r(c);
|
|
923
924
|
}
|
|
924
|
-
function a(
|
|
925
|
-
|
|
925
|
+
function a(c) {
|
|
926
|
+
t += r(c);
|
|
926
927
|
}
|
|
927
|
-
function
|
|
928
|
-
|
|
928
|
+
function s(c) {
|
|
929
|
+
t -= r(c);
|
|
929
930
|
}
|
|
930
|
-
function r(
|
|
931
|
-
return
|
|
931
|
+
function r(c) {
|
|
932
|
+
return Qt(c) ? c : c.get();
|
|
932
933
|
}
|
|
933
934
|
return {
|
|
934
|
-
get:
|
|
935
|
+
get: o,
|
|
935
936
|
set: n,
|
|
936
937
|
add: a,
|
|
937
|
-
subtract:
|
|
938
|
+
subtract: s
|
|
938
939
|
};
|
|
939
940
|
}
|
|
940
|
-
function
|
|
941
|
-
const
|
|
942
|
-
let a = null,
|
|
941
|
+
function ye(e, t) {
|
|
942
|
+
const o = e.scroll === "x" ? r : i, n = t.style;
|
|
943
|
+
let a = null, s = !1;
|
|
943
944
|
function r(g) {
|
|
944
945
|
return `translate3d(${g}px,0px,0px)`;
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
+
function i(g) {
|
|
947
948
|
return `translate3d(0px,${g}px,0px)`;
|
|
948
949
|
}
|
|
949
|
-
function
|
|
950
|
-
if (
|
|
951
|
-
const
|
|
952
|
-
|
|
950
|
+
function c(g) {
|
|
951
|
+
if (s) return;
|
|
952
|
+
const v = xn(e.direction(g));
|
|
953
|
+
v !== a && (n.transform = o(v), a = v);
|
|
953
954
|
}
|
|
954
955
|
function l(g) {
|
|
955
|
-
|
|
956
|
+
s = !g;
|
|
956
957
|
}
|
|
957
|
-
function
|
|
958
|
-
|
|
958
|
+
function d() {
|
|
959
|
+
s || (n.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
|
|
959
960
|
}
|
|
960
961
|
return {
|
|
961
|
-
clear:
|
|
962
|
-
to:
|
|
962
|
+
clear: d,
|
|
963
|
+
to: c,
|
|
963
964
|
toggleActive: l
|
|
964
965
|
};
|
|
965
966
|
}
|
|
966
|
-
function
|
|
967
|
-
const
|
|
968
|
-
function
|
|
969
|
-
return L.reduce((
|
|
970
|
-
}
|
|
971
|
-
function
|
|
972
|
-
return L.reduce((
|
|
973
|
-
}
|
|
974
|
-
function
|
|
975
|
-
return
|
|
976
|
-
start: x - n[
|
|
977
|
-
end: x +
|
|
967
|
+
function Un(e, t, o, n, a, s, r, i, c) {
|
|
968
|
+
const d = At(a), m = At(a).reverse(), g = u().concat(_());
|
|
969
|
+
function v(L, x) {
|
|
970
|
+
return L.reduce((A, M) => A - a[M], x);
|
|
971
|
+
}
|
|
972
|
+
function p(L, x) {
|
|
973
|
+
return L.reduce((A, M) => v(A, x) > 0 ? A.concat([M]) : A, []);
|
|
974
|
+
}
|
|
975
|
+
function f(L) {
|
|
976
|
+
return s.map((x, A) => ({
|
|
977
|
+
start: x - n[A] + 0.5 + L,
|
|
978
|
+
end: x + t - 0.5 + L
|
|
978
979
|
}));
|
|
979
980
|
}
|
|
980
|
-
function h(L, x,
|
|
981
|
-
const
|
|
982
|
-
return L.map((
|
|
983
|
-
const
|
|
981
|
+
function h(L, x, A) {
|
|
982
|
+
const M = f(x);
|
|
983
|
+
return L.map((I) => {
|
|
984
|
+
const Z = A ? 0 : -o, Q = A ? o : 0, Y = A ? "end" : "start", J = M[I][Y];
|
|
984
985
|
return {
|
|
985
|
-
index:
|
|
986
|
+
index: I,
|
|
986
987
|
loopPoint: J,
|
|
987
|
-
slideLocation:
|
|
988
|
-
translate:
|
|
989
|
-
target: () =>
|
|
988
|
+
slideLocation: Et(-1),
|
|
989
|
+
translate: ye(e, c[I]),
|
|
990
|
+
target: () => i.get() > J ? Z : Q
|
|
990
991
|
};
|
|
991
992
|
});
|
|
992
993
|
}
|
|
993
994
|
function u() {
|
|
994
|
-
const L = r[0], x = m
|
|
995
|
-
return h(x,
|
|
995
|
+
const L = r[0], x = p(m, L);
|
|
996
|
+
return h(x, o, !1);
|
|
996
997
|
}
|
|
997
998
|
function _() {
|
|
998
|
-
const L =
|
|
999
|
-
return h(x, -
|
|
999
|
+
const L = t - r[0] - 1, x = p(d, L);
|
|
1000
|
+
return h(x, -o, !0);
|
|
1000
1001
|
}
|
|
1001
|
-
function
|
|
1002
|
+
function b() {
|
|
1002
1003
|
return g.every(({
|
|
1003
1004
|
index: L
|
|
1004
1005
|
}) => {
|
|
1005
|
-
const x =
|
|
1006
|
-
return
|
|
1006
|
+
const x = d.filter((A) => A !== L);
|
|
1007
|
+
return v(x, t) <= 0.1;
|
|
1007
1008
|
});
|
|
1008
1009
|
}
|
|
1009
1010
|
function E() {
|
|
1010
1011
|
g.forEach((L) => {
|
|
1011
1012
|
const {
|
|
1012
1013
|
target: x,
|
|
1013
|
-
translate:
|
|
1014
|
-
slideLocation:
|
|
1015
|
-
} = L,
|
|
1016
|
-
|
|
1014
|
+
translate: A,
|
|
1015
|
+
slideLocation: M
|
|
1016
|
+
} = L, I = x();
|
|
1017
|
+
I !== M.get() && (A.to(I), M.set(I));
|
|
1017
1018
|
});
|
|
1018
1019
|
}
|
|
1019
|
-
function
|
|
1020
|
+
function T() {
|
|
1020
1021
|
g.forEach((L) => L.translate.clear());
|
|
1021
1022
|
}
|
|
1022
1023
|
return {
|
|
1023
|
-
canLoop:
|
|
1024
|
-
clear:
|
|
1024
|
+
canLoop: b,
|
|
1025
|
+
clear: T,
|
|
1025
1026
|
loop: E,
|
|
1026
1027
|
loopPoints: g
|
|
1027
1028
|
};
|
|
1028
1029
|
}
|
|
1029
|
-
function
|
|
1030
|
+
function jn(e, t, o) {
|
|
1030
1031
|
let n, a = !1;
|
|
1031
|
-
function
|
|
1032
|
-
if (!
|
|
1033
|
-
function l(
|
|
1034
|
-
for (const
|
|
1035
|
-
if (
|
|
1036
|
-
|
|
1032
|
+
function s(c) {
|
|
1033
|
+
if (!o) return;
|
|
1034
|
+
function l(d) {
|
|
1035
|
+
for (const m of d)
|
|
1036
|
+
if (m.type === "childList") {
|
|
1037
|
+
c.reInit(), t.emit("slidesChanged");
|
|
1037
1038
|
break;
|
|
1038
1039
|
}
|
|
1039
1040
|
}
|
|
1040
|
-
n = new MutationObserver((
|
|
1041
|
-
a || (
|
|
1042
|
-
}), n.observe(
|
|
1041
|
+
n = new MutationObserver((d) => {
|
|
1042
|
+
a || (Nt(o) || o(c, d)) && l(d);
|
|
1043
|
+
}), n.observe(e, {
|
|
1043
1044
|
childList: !0
|
|
1044
1045
|
});
|
|
1045
1046
|
}
|
|
@@ -1047,232 +1048,232 @@ function Un(t, e, s) {
|
|
|
1047
1048
|
n && n.disconnect(), a = !0;
|
|
1048
1049
|
}
|
|
1049
1050
|
return {
|
|
1050
|
-
init:
|
|
1051
|
+
init: s,
|
|
1051
1052
|
destroy: r
|
|
1052
1053
|
};
|
|
1053
1054
|
}
|
|
1054
|
-
function
|
|
1055
|
+
function qn(e, t, o, n) {
|
|
1055
1056
|
const a = {};
|
|
1056
|
-
let
|
|
1057
|
+
let s = null, r = null, i, c = !1;
|
|
1057
1058
|
function l() {
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
const h =
|
|
1061
|
-
a[h] =
|
|
1062
|
-
}),
|
|
1059
|
+
i = new IntersectionObserver((p) => {
|
|
1060
|
+
c || (p.forEach((f) => {
|
|
1061
|
+
const h = t.indexOf(f.target);
|
|
1062
|
+
a[h] = f;
|
|
1063
|
+
}), s = null, r = null, o.emit("slidesInView"));
|
|
1063
1064
|
}, {
|
|
1064
|
-
root:
|
|
1065
|
+
root: e.parentElement,
|
|
1065
1066
|
threshold: n
|
|
1066
|
-
}),
|
|
1067
|
+
}), t.forEach((p) => i.observe(p));
|
|
1067
1068
|
}
|
|
1068
|
-
function
|
|
1069
|
-
|
|
1069
|
+
function d() {
|
|
1070
|
+
i && i.disconnect(), c = !0;
|
|
1070
1071
|
}
|
|
1071
|
-
function p
|
|
1072
|
-
return
|
|
1072
|
+
function m(p) {
|
|
1073
|
+
return It(a).reduce((f, h) => {
|
|
1073
1074
|
const u = parseInt(h), {
|
|
1074
1075
|
isIntersecting: _
|
|
1075
1076
|
} = a[u];
|
|
1076
|
-
return (
|
|
1077
|
+
return (p && _ || !p && !_) && f.push(u), f;
|
|
1077
1078
|
}, []);
|
|
1078
1079
|
}
|
|
1079
|
-
function g(
|
|
1080
|
-
if (
|
|
1081
|
-
if (!
|
|
1082
|
-
const
|
|
1083
|
-
return
|
|
1080
|
+
function g(p = !0) {
|
|
1081
|
+
if (p && s) return s;
|
|
1082
|
+
if (!p && r) return r;
|
|
1083
|
+
const f = m(p);
|
|
1084
|
+
return p && (s = f), p || (r = f), f;
|
|
1084
1085
|
}
|
|
1085
1086
|
return {
|
|
1086
1087
|
init: l,
|
|
1087
|
-
destroy:
|
|
1088
|
+
destroy: d,
|
|
1088
1089
|
get: g
|
|
1089
1090
|
};
|
|
1090
1091
|
}
|
|
1091
|
-
function
|
|
1092
|
+
function Xn(e, t, o, n, a, s) {
|
|
1092
1093
|
const {
|
|
1093
1094
|
measureSize: r,
|
|
1094
|
-
startEdge:
|
|
1095
|
-
endEdge:
|
|
1096
|
-
} =
|
|
1097
|
-
function
|
|
1095
|
+
startEdge: i,
|
|
1096
|
+
endEdge: c
|
|
1097
|
+
} = e, l = o[0] && a, d = p(), m = f(), g = o.map(r), v = h();
|
|
1098
|
+
function p() {
|
|
1098
1099
|
if (!l) return 0;
|
|
1099
|
-
const _ =
|
|
1100
|
-
return
|
|
1100
|
+
const _ = o[0];
|
|
1101
|
+
return w(t[i] - _[i]);
|
|
1101
1102
|
}
|
|
1102
|
-
function
|
|
1103
|
+
function f() {
|
|
1103
1104
|
if (!l) return 0;
|
|
1104
|
-
const _ =
|
|
1105
|
-
return parseFloat(_.getPropertyValue(`margin-${
|
|
1105
|
+
const _ = s.getComputedStyle(q(n));
|
|
1106
|
+
return parseFloat(_.getPropertyValue(`margin-${c}`));
|
|
1106
1107
|
}
|
|
1107
1108
|
function h() {
|
|
1108
|
-
return
|
|
1109
|
-
const
|
|
1110
|
-
return
|
|
1111
|
-
}).map(
|
|
1109
|
+
return o.map((_, b, E) => {
|
|
1110
|
+
const T = !b, $ = Jt(E, b);
|
|
1111
|
+
return T ? g[b] + d : $ ? g[b] + m : E[b + 1][i] - _[i];
|
|
1112
|
+
}).map(w);
|
|
1112
1113
|
}
|
|
1113
1114
|
return {
|
|
1114
1115
|
slideSizes: g,
|
|
1115
|
-
slideSizesWithGaps:
|
|
1116
|
-
startGap:
|
|
1117
|
-
endGap:
|
|
1116
|
+
slideSizesWithGaps: v,
|
|
1117
|
+
startGap: d,
|
|
1118
|
+
endGap: m
|
|
1118
1119
|
};
|
|
1119
1120
|
}
|
|
1120
|
-
function
|
|
1121
|
+
function Qn(e, t, o, n, a, s, r, i, c) {
|
|
1121
1122
|
const {
|
|
1122
1123
|
startEdge: l,
|
|
1123
|
-
endEdge:
|
|
1124
|
-
direction:
|
|
1125
|
-
} =
|
|
1126
|
-
function
|
|
1127
|
-
return
|
|
1128
|
-
}
|
|
1129
|
-
function
|
|
1130
|
-
return u.length ?
|
|
1131
|
-
const
|
|
1132
|
-
return E &&
|
|
1133
|
-
}, []).map((_,
|
|
1134
|
-
const
|
|
1135
|
-
return u.slice(
|
|
1124
|
+
endEdge: d,
|
|
1125
|
+
direction: m
|
|
1126
|
+
} = e, g = Qt(o);
|
|
1127
|
+
function v(u, _) {
|
|
1128
|
+
return At(u).filter((b) => b % _ === 0).map((b) => u.slice(b, b + _));
|
|
1129
|
+
}
|
|
1130
|
+
function p(u) {
|
|
1131
|
+
return u.length ? At(u).reduce((_, b, E) => {
|
|
1132
|
+
const T = q(_) || 0, $ = T === 0, L = b === Tt(u), x = a[l] - s[T][l], A = a[l] - s[b][d], M = !n && $ ? m(r) : 0, I = !n && L ? m(i) : 0, Z = w(A - I - (x + M));
|
|
1133
|
+
return E && Z > t + c && _.push(b), L && _.push(u.length), _;
|
|
1134
|
+
}, []).map((_, b, E) => {
|
|
1135
|
+
const T = Math.max(E[b - 1] || 0);
|
|
1136
|
+
return u.slice(T, _);
|
|
1136
1137
|
}) : [];
|
|
1137
1138
|
}
|
|
1138
|
-
function
|
|
1139
|
-
return g ?
|
|
1139
|
+
function f(u) {
|
|
1140
|
+
return g ? v(u, o) : p(u);
|
|
1140
1141
|
}
|
|
1141
1142
|
return {
|
|
1142
|
-
groupSlides:
|
|
1143
|
+
groupSlides: f
|
|
1143
1144
|
};
|
|
1144
1145
|
}
|
|
1145
|
-
function
|
|
1146
|
+
function Yn(e, t, o, n, a, s, r) {
|
|
1146
1147
|
const {
|
|
1147
|
-
align:
|
|
1148
|
-
axis:
|
|
1148
|
+
align: i,
|
|
1149
|
+
axis: c,
|
|
1149
1150
|
direction: l,
|
|
1150
|
-
startIndex:
|
|
1151
|
-
loop:
|
|
1151
|
+
startIndex: d,
|
|
1152
|
+
loop: m,
|
|
1152
1153
|
duration: g,
|
|
1153
|
-
dragFree:
|
|
1154
|
-
dragThreshold:
|
|
1155
|
-
inViewThreshold:
|
|
1154
|
+
dragFree: v,
|
|
1155
|
+
dragThreshold: p,
|
|
1156
|
+
inViewThreshold: f,
|
|
1156
1157
|
slidesToScroll: h,
|
|
1157
1158
|
skipSnaps: u,
|
|
1158
1159
|
containScroll: _,
|
|
1159
|
-
watchResize:
|
|
1160
|
+
watchResize: b,
|
|
1160
1161
|
watchSlides: E,
|
|
1161
|
-
watchDrag:
|
|
1162
|
-
watchFocus:
|
|
1163
|
-
} =
|
|
1162
|
+
watchDrag: T,
|
|
1163
|
+
watchFocus: $
|
|
1164
|
+
} = s, L = 2, x = Vn(), A = x.measure(t), M = o.map(x.measure), I = In(c, l), Z = I.measureSize(A), Q = wn(Z), Y = $n(i, Z), J = !m && !!_, ut = m || !!_, {
|
|
1164
1165
|
slideSizes: it,
|
|
1165
|
-
slideSizesWithGaps:
|
|
1166
|
-
startGap:
|
|
1167
|
-
endGap:
|
|
1168
|
-
} =
|
|
1169
|
-
snaps:
|
|
1170
|
-
snapsAligned:
|
|
1171
|
-
} =
|
|
1172
|
-
snapsContained:
|
|
1166
|
+
slideSizesWithGaps: ot,
|
|
1167
|
+
startGap: st,
|
|
1168
|
+
endGap: Ct
|
|
1169
|
+
} = Xn(I, A, M, o, ut, a), W = Qn(I, Z, h, m, A, M, st, Ct, L), {
|
|
1170
|
+
snaps: gt,
|
|
1171
|
+
snapsAligned: ht
|
|
1172
|
+
} = Rn(I, Y, A, M, W), rt = -q(gt) + q(ot), {
|
|
1173
|
+
snapsContained: yt,
|
|
1173
1174
|
scrollContainLimit: kt
|
|
1174
|
-
} =
|
|
1175
|
-
limit:
|
|
1176
|
-
} =
|
|
1177
|
-
dragHandler:
|
|
1178
|
-
scrollBody:
|
|
1179
|
-
scrollBounds:
|
|
1175
|
+
} = Pn(Z, rt, ht, _, L), U = J ? yt : ht, {
|
|
1176
|
+
limit: F
|
|
1177
|
+
} = Nn(rt, U, m), at = Ce(Tt(U), d, m), j = at.clone(), V = At(o), S = ({
|
|
1178
|
+
dragHandler: _t,
|
|
1179
|
+
scrollBody: Gt,
|
|
1180
|
+
scrollBounds: Kt,
|
|
1180
1181
|
options: {
|
|
1181
|
-
loop:
|
|
1182
|
+
loop: wt
|
|
1182
1183
|
}
|
|
1183
1184
|
}) => {
|
|
1184
|
-
|
|
1185
|
-
},
|
|
1186
|
-
scrollBody:
|
|
1187
|
-
translate:
|
|
1188
|
-
location:
|
|
1189
|
-
offsetLocation:
|
|
1190
|
-
previousLocation:
|
|
1191
|
-
scrollLooper:
|
|
1192
|
-
slideLooper:
|
|
1193
|
-
dragHandler:
|
|
1194
|
-
animation:
|
|
1195
|
-
eventHandler:
|
|
1196
|
-
scrollBounds:
|
|
1185
|
+
wt || Kt.constrain(_t.pointerDown()), Gt.seek();
|
|
1186
|
+
}, H = ({
|
|
1187
|
+
scrollBody: _t,
|
|
1188
|
+
translate: Gt,
|
|
1189
|
+
location: Kt,
|
|
1190
|
+
offsetLocation: wt,
|
|
1191
|
+
previousLocation: Ee,
|
|
1192
|
+
scrollLooper: xe,
|
|
1193
|
+
slideLooper: $e,
|
|
1194
|
+
dragHandler: Ae,
|
|
1195
|
+
animation: Ie,
|
|
1196
|
+
eventHandler: oe,
|
|
1197
|
+
scrollBounds: He,
|
|
1197
1198
|
options: {
|
|
1198
|
-
loop:
|
|
1199
|
+
loop: se
|
|
1199
1200
|
}
|
|
1200
|
-
},
|
|
1201
|
-
const
|
|
1202
|
-
|
|
1203
|
-
const Ve =
|
|
1204
|
-
|
|
1205
|
-
},
|
|
1206
|
-
slideRegistry:
|
|
1207
|
-
} =
|
|
1201
|
+
}, re) => {
|
|
1202
|
+
const ae = _t.settled(), Te = !He.shouldConstrain(), ce = se ? ae : ae && Te, ie = ce && !Ae.pointerDown();
|
|
1203
|
+
ie && Ie.stop();
|
|
1204
|
+
const Ve = Kt.get() * re + Ee.get() * (1 - re);
|
|
1205
|
+
wt.set(Ve), se && (xe.loop(_t.direction()), $e.loop()), Gt.to(wt.get()), ie && oe.emit("settle"), ce || oe.emit("scroll");
|
|
1206
|
+
}, P = An(n, a, () => S(Rt), (_t) => H(Rt, _t)), R = 0.68, tt = U[at.get()], ct = Et(tt), dt = Et(tt), lt = Et(tt), ft = Et(tt), Lt = On(ct, lt, dt, ft, g, R), Bt = Kn(m, U, rt, F, ft), Ft = Zn(P, at, j, Lt, Bt, ft, r), te = Fn(F), ee = Ht(), ke = qn(t, o, r, f), {
|
|
1207
|
+
slideRegistry: ne
|
|
1208
|
+
} = Gn(J, _, U, kt, W, V), Le = zn(e, o, ne, Ft, Lt, ee, r, $), Rt = {
|
|
1208
1209
|
ownerDocument: n,
|
|
1209
1210
|
ownerWindow: a,
|
|
1210
1211
|
eventHandler: r,
|
|
1211
|
-
containerRect:
|
|
1212
|
-
slideRects:
|
|
1213
|
-
animation:
|
|
1214
|
-
axis:
|
|
1215
|
-
dragHandler:
|
|
1216
|
-
eventStore:
|
|
1212
|
+
containerRect: A,
|
|
1213
|
+
slideRects: M,
|
|
1214
|
+
animation: P,
|
|
1215
|
+
axis: I,
|
|
1216
|
+
dragHandler: Hn(I, e, n, a, ft, Tn(I, a), ct, P, Ft, Lt, Bt, at, r, Q, v, p, u, R, T),
|
|
1217
|
+
eventStore: ee,
|
|
1217
1218
|
percentOfView: Q,
|
|
1218
|
-
index:
|
|
1219
|
-
indexPrevious:
|
|
1220
|
-
limit:
|
|
1221
|
-
location:
|
|
1222
|
-
offsetLocation:
|
|
1223
|
-
previousLocation:
|
|
1224
|
-
options:
|
|
1225
|
-
resizeHandler:
|
|
1226
|
-
scrollBody:
|
|
1227
|
-
scrollBounds:
|
|
1228
|
-
scrollLooper:
|
|
1229
|
-
scrollProgress:
|
|
1230
|
-
scrollSnapList:
|
|
1231
|
-
scrollSnaps:
|
|
1232
|
-
scrollTarget:
|
|
1233
|
-
scrollTo:
|
|
1234
|
-
slideLooper:
|
|
1235
|
-
slideFocus:
|
|
1236
|
-
slidesHandler:
|
|
1219
|
+
index: at,
|
|
1220
|
+
indexPrevious: j,
|
|
1221
|
+
limit: F,
|
|
1222
|
+
location: ct,
|
|
1223
|
+
offsetLocation: lt,
|
|
1224
|
+
previousLocation: dt,
|
|
1225
|
+
options: s,
|
|
1226
|
+
resizeHandler: Dn(t, r, a, o, I, b, x),
|
|
1227
|
+
scrollBody: Lt,
|
|
1228
|
+
scrollBounds: Mn(F, lt, ft, Lt, Q),
|
|
1229
|
+
scrollLooper: Bn(rt, F, lt, [ct, lt, dt, ft]),
|
|
1230
|
+
scrollProgress: te,
|
|
1231
|
+
scrollSnapList: U.map(te.get),
|
|
1232
|
+
scrollSnaps: U,
|
|
1233
|
+
scrollTarget: Bt,
|
|
1234
|
+
scrollTo: Ft,
|
|
1235
|
+
slideLooper: Un(I, Z, rt, it, ot, gt, U, lt, o),
|
|
1236
|
+
slideFocus: Le,
|
|
1237
|
+
slidesHandler: jn(t, r, E),
|
|
1237
1238
|
slidesInView: ke,
|
|
1238
|
-
slideIndexes:
|
|
1239
|
-
slideRegistry:
|
|
1239
|
+
slideIndexes: V,
|
|
1240
|
+
slideRegistry: ne,
|
|
1240
1241
|
slidesToScroll: W,
|
|
1241
|
-
target:
|
|
1242
|
-
translate:
|
|
1242
|
+
target: ft,
|
|
1243
|
+
translate: ye(I, t)
|
|
1243
1244
|
};
|
|
1244
|
-
return
|
|
1245
|
+
return Rt;
|
|
1245
1246
|
}
|
|
1246
|
-
function
|
|
1247
|
-
let
|
|
1248
|
-
function
|
|
1249
|
-
|
|
1247
|
+
function Jn() {
|
|
1248
|
+
let e = {}, t;
|
|
1249
|
+
function o(l) {
|
|
1250
|
+
t = l;
|
|
1250
1251
|
}
|
|
1251
1252
|
function n(l) {
|
|
1252
|
-
return
|
|
1253
|
+
return e[l] || [];
|
|
1253
1254
|
}
|
|
1254
1255
|
function a(l) {
|
|
1255
|
-
return n(l).forEach((
|
|
1256
|
+
return n(l).forEach((d) => d(t, l)), c;
|
|
1256
1257
|
}
|
|
1257
|
-
function
|
|
1258
|
-
return
|
|
1258
|
+
function s(l, d) {
|
|
1259
|
+
return e[l] = n(l).concat([d]), c;
|
|
1259
1260
|
}
|
|
1260
|
-
function r(l,
|
|
1261
|
-
return
|
|
1261
|
+
function r(l, d) {
|
|
1262
|
+
return e[l] = n(l).filter((m) => m !== d), c;
|
|
1262
1263
|
}
|
|
1263
|
-
function
|
|
1264
|
-
|
|
1264
|
+
function i() {
|
|
1265
|
+
e = {};
|
|
1265
1266
|
}
|
|
1266
|
-
const
|
|
1267
|
-
init:
|
|
1267
|
+
const c = {
|
|
1268
|
+
init: o,
|
|
1268
1269
|
emit: a,
|
|
1269
1270
|
off: r,
|
|
1270
|
-
on:
|
|
1271
|
-
clear:
|
|
1271
|
+
on: s,
|
|
1272
|
+
clear: i
|
|
1272
1273
|
};
|
|
1273
|
-
return
|
|
1274
|
+
return c;
|
|
1274
1275
|
}
|
|
1275
|
-
const
|
|
1276
|
+
const Wn = {
|
|
1276
1277
|
align: "center",
|
|
1277
1278
|
axis: "x",
|
|
1278
1279
|
container: null,
|
|
@@ -1294,338 +1295,440 @@ const Yn = {
|
|
|
1294
1295
|
watchSlides: !0,
|
|
1295
1296
|
watchFocus: !0
|
|
1296
1297
|
};
|
|
1297
|
-
function
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1298
|
+
function to(e) {
|
|
1299
|
+
function t(s, r) {
|
|
1300
|
+
return Se(s, r || {});
|
|
1300
1301
|
}
|
|
1301
|
-
function s
|
|
1302
|
-
const r =
|
|
1303
|
-
return
|
|
1302
|
+
function o(s) {
|
|
1303
|
+
const r = s.breakpoints || {}, i = It(r).filter((c) => e.matchMedia(c).matches).map((c) => r[c]).reduce((c, l) => t(c, l), {});
|
|
1304
|
+
return t(s, i);
|
|
1304
1305
|
}
|
|
1305
|
-
function n(
|
|
1306
|
-
return
|
|
1306
|
+
function n(s) {
|
|
1307
|
+
return s.map((r) => It(r.breakpoints || {})).reduce((r, i) => r.concat(i), []).map(e.matchMedia);
|
|
1307
1308
|
}
|
|
1308
1309
|
return {
|
|
1309
|
-
mergeOptions:
|
|
1310
|
-
optionsAtMedia:
|
|
1310
|
+
mergeOptions: t,
|
|
1311
|
+
optionsAtMedia: o,
|
|
1311
1312
|
optionsMediaQueries: n
|
|
1312
1313
|
};
|
|
1313
1314
|
}
|
|
1314
|
-
function
|
|
1315
|
-
let
|
|
1316
|
-
function s
|
|
1317
|
-
return
|
|
1318
|
-
options:
|
|
1319
|
-
}) =>
|
|
1320
|
-
[
|
|
1315
|
+
function eo(e) {
|
|
1316
|
+
let t = [];
|
|
1317
|
+
function o(s, r) {
|
|
1318
|
+
return t = r.filter(({
|
|
1319
|
+
options: i
|
|
1320
|
+
}) => e.optionsAtMedia(i).active !== !1), t.forEach((i) => i.init(s, e)), r.reduce((i, c) => Object.assign(i, {
|
|
1321
|
+
[c.name]: c
|
|
1321
1322
|
}), {});
|
|
1322
1323
|
}
|
|
1323
1324
|
function n() {
|
|
1324
|
-
|
|
1325
|
+
t = t.filter((s) => s.destroy());
|
|
1325
1326
|
}
|
|
1326
1327
|
return {
|
|
1327
|
-
init:
|
|
1328
|
+
init: o,
|
|
1328
1329
|
destroy: n
|
|
1329
1330
|
};
|
|
1330
1331
|
}
|
|
1331
|
-
function
|
|
1332
|
-
const n =
|
|
1332
|
+
function Mt(e, t, o) {
|
|
1333
|
+
const n = e.ownerDocument, a = n.defaultView, s = to(a), r = eo(s), i = Ht(), c = Jn(), {
|
|
1333
1334
|
mergeOptions: l,
|
|
1334
|
-
optionsAtMedia:
|
|
1335
|
-
optionsMediaQueries:
|
|
1336
|
-
} =
|
|
1335
|
+
optionsAtMedia: d,
|
|
1336
|
+
optionsMediaQueries: m
|
|
1337
|
+
} = s, {
|
|
1337
1338
|
on: g,
|
|
1338
|
-
off:
|
|
1339
|
-
emit:
|
|
1340
|
-
} =
|
|
1341
|
-
let h = !1, u, _ = l(
|
|
1339
|
+
off: v,
|
|
1340
|
+
emit: p
|
|
1341
|
+
} = c, f = I;
|
|
1342
|
+
let h = !1, u, _ = l(Wn, Mt.globalOptions), b = l(_), E = [], T, $, L;
|
|
1342
1343
|
function x() {
|
|
1343
1344
|
const {
|
|
1344
|
-
container:
|
|
1345
|
-
slides:
|
|
1346
|
-
} =
|
|
1347
|
-
|
|
1348
|
-
const
|
|
1349
|
-
L = [].slice.call(
|
|
1350
|
-
}
|
|
1351
|
-
function
|
|
1352
|
-
const
|
|
1353
|
-
if (
|
|
1354
|
-
const
|
|
1345
|
+
container: V,
|
|
1346
|
+
slides: S
|
|
1347
|
+
} = b;
|
|
1348
|
+
$ = (Ut(V) ? e.querySelector(V) : V) || e.children[0];
|
|
1349
|
+
const P = Ut(S) ? $.querySelectorAll(S) : S;
|
|
1350
|
+
L = [].slice.call(P || $.children);
|
|
1351
|
+
}
|
|
1352
|
+
function A(V) {
|
|
1353
|
+
const S = Yn(e, $, L, n, a, V, c);
|
|
1354
|
+
if (V.loop && !S.slideLooper.canLoop()) {
|
|
1355
|
+
const H = Object.assign({}, V, {
|
|
1355
1356
|
loop: !1
|
|
1356
1357
|
});
|
|
1357
|
-
return
|
|
1358
|
+
return A(H);
|
|
1358
1359
|
}
|
|
1359
|
-
return
|
|
1360
|
+
return S;
|
|
1360
1361
|
}
|
|
1361
|
-
function
|
|
1362
|
-
h || (_ = l(_,
|
|
1363
|
-
options:
|
|
1364
|
-
}) =>
|
|
1362
|
+
function M(V, S) {
|
|
1363
|
+
h || (_ = l(_, V), b = d(_), E = S || E, x(), u = A(b), m([_, ...E.map(({
|
|
1364
|
+
options: H
|
|
1365
|
+
}) => H)]).forEach((H) => i.add(H, "change", I)), b.active && (u.translate.to(u.location.get()), u.animation.init(), u.slidesInView.init(), u.slideFocus.init(j), u.eventHandler.init(j), u.resizeHandler.init(j), u.slidesHandler.init(j), u.options.loop && u.slideLooper.loop(), $.offsetParent && L.length && u.dragHandler.init(j), T = r.init(j, E)));
|
|
1365
1366
|
}
|
|
1366
|
-
function V
|
|
1367
|
-
const
|
|
1368
|
-
|
|
1369
|
-
startIndex:
|
|
1370
|
-
},
|
|
1367
|
+
function I(V, S) {
|
|
1368
|
+
const H = W();
|
|
1369
|
+
Z(), M(l({
|
|
1370
|
+
startIndex: H
|
|
1371
|
+
}, V), S), c.emit("reInit");
|
|
1371
1372
|
}
|
|
1372
|
-
function
|
|
1373
|
-
u.dragHandler.destroy(), u.eventStore.clear(), u.translate.clear(), u.slideLooper.clear(), u.resizeHandler.destroy(), u.slidesHandler.destroy(), u.slidesInView.destroy(), u.animation.destroy(), r.destroy(),
|
|
1373
|
+
function Z() {
|
|
1374
|
+
u.dragHandler.destroy(), u.eventStore.clear(), u.translate.clear(), u.slideLooper.clear(), u.resizeHandler.destroy(), u.slidesHandler.destroy(), u.slidesInView.destroy(), u.animation.destroy(), r.destroy(), i.clear();
|
|
1374
1375
|
}
|
|
1375
1376
|
function Q() {
|
|
1376
|
-
h || (h = !0,
|
|
1377
|
+
h || (h = !0, i.clear(), Z(), c.emit("destroy"), c.clear());
|
|
1377
1378
|
}
|
|
1378
|
-
function Y(
|
|
1379
|
-
!
|
|
1379
|
+
function Y(V, S, H) {
|
|
1380
|
+
!b.active || h || (u.scrollBody.useBaseFriction().useDuration(S === !0 ? 0 : b.duration), u.scrollTo.index(V, H || 0));
|
|
1380
1381
|
}
|
|
1381
|
-
function J(
|
|
1382
|
-
const
|
|
1383
|
-
Y(
|
|
1382
|
+
function J(V) {
|
|
1383
|
+
const S = u.index.add(1).get();
|
|
1384
|
+
Y(S, V, -1);
|
|
1384
1385
|
}
|
|
1385
|
-
function
|
|
1386
|
-
const
|
|
1387
|
-
Y(
|
|
1386
|
+
function ut(V) {
|
|
1387
|
+
const S = u.index.add(-1).get();
|
|
1388
|
+
Y(S, V, 1);
|
|
1388
1389
|
}
|
|
1389
1390
|
function it() {
|
|
1390
1391
|
return u.index.add(1).get() !== W();
|
|
1391
1392
|
}
|
|
1392
|
-
function
|
|
1393
|
+
function ot() {
|
|
1393
1394
|
return u.index.add(-1).get() !== W();
|
|
1394
1395
|
}
|
|
1395
|
-
function
|
|
1396
|
+
function st() {
|
|
1396
1397
|
return u.scrollSnapList;
|
|
1397
1398
|
}
|
|
1398
|
-
function
|
|
1399
|
+
function Ct() {
|
|
1399
1400
|
return u.scrollProgress.get(u.offsetLocation.get());
|
|
1400
1401
|
}
|
|
1401
1402
|
function W() {
|
|
1402
1403
|
return u.index.get();
|
|
1403
1404
|
}
|
|
1404
|
-
function
|
|
1405
|
+
function gt() {
|
|
1405
1406
|
return u.indexPrevious.get();
|
|
1406
1407
|
}
|
|
1407
|
-
function
|
|
1408
|
+
function ht() {
|
|
1408
1409
|
return u.slidesInView.get();
|
|
1409
1410
|
}
|
|
1410
|
-
function
|
|
1411
|
+
function rt() {
|
|
1411
1412
|
return u.slidesInView.get(!1);
|
|
1412
1413
|
}
|
|
1413
|
-
function
|
|
1414
|
-
return
|
|
1414
|
+
function yt() {
|
|
1415
|
+
return T;
|
|
1415
1416
|
}
|
|
1416
1417
|
function kt() {
|
|
1417
1418
|
return u;
|
|
1418
1419
|
}
|
|
1419
|
-
function
|
|
1420
|
-
return
|
|
1420
|
+
function U() {
|
|
1421
|
+
return e;
|
|
1421
1422
|
}
|
|
1422
|
-
function
|
|
1423
|
-
return
|
|
1423
|
+
function F() {
|
|
1424
|
+
return $;
|
|
1424
1425
|
}
|
|
1425
|
-
function
|
|
1426
|
+
function at() {
|
|
1426
1427
|
return L;
|
|
1427
1428
|
}
|
|
1428
|
-
const
|
|
1429
|
+
const j = {
|
|
1429
1430
|
canScrollNext: it,
|
|
1430
|
-
canScrollPrev:
|
|
1431
|
-
containerNode:
|
|
1431
|
+
canScrollPrev: ot,
|
|
1432
|
+
containerNode: F,
|
|
1432
1433
|
internalEngine: kt,
|
|
1433
1434
|
destroy: Q,
|
|
1434
|
-
off:
|
|
1435
|
+
off: v,
|
|
1435
1436
|
on: g,
|
|
1436
|
-
emit:
|
|
1437
|
-
plugins:
|
|
1438
|
-
previousScrollSnap:
|
|
1439
|
-
reInit:
|
|
1440
|
-
rootNode:
|
|
1437
|
+
emit: p,
|
|
1438
|
+
plugins: yt,
|
|
1439
|
+
previousScrollSnap: gt,
|
|
1440
|
+
reInit: f,
|
|
1441
|
+
rootNode: U,
|
|
1441
1442
|
scrollNext: J,
|
|
1442
|
-
scrollPrev:
|
|
1443
|
-
scrollProgress:
|
|
1444
|
-
scrollSnapList:
|
|
1443
|
+
scrollPrev: ut,
|
|
1444
|
+
scrollProgress: Ct,
|
|
1445
|
+
scrollSnapList: st,
|
|
1445
1446
|
scrollTo: Y,
|
|
1446
1447
|
selectedScrollSnap: W,
|
|
1447
|
-
slideNodes:
|
|
1448
|
-
slidesInView:
|
|
1449
|
-
slidesNotInView:
|
|
1448
|
+
slideNodes: at,
|
|
1449
|
+
slidesInView: ht,
|
|
1450
|
+
slidesNotInView: rt
|
|
1450
1451
|
};
|
|
1451
|
-
return
|
|
1452
|
+
return M(t, o), setTimeout(() => c.emit("init"), 0), j;
|
|
1452
1453
|
}
|
|
1453
|
-
|
|
1454
|
-
function
|
|
1455
|
-
const
|
|
1456
|
-
let a =
|
|
1457
|
-
const r =
|
|
1458
|
-
function
|
|
1459
|
-
|
|
1460
|
-
}
|
|
1461
|
-
return
|
|
1462
|
-
!kn() || !r.value || (
|
|
1463
|
-
}),
|
|
1464
|
-
|
|
1465
|
-
}),
|
|
1466
|
-
|
|
1467
|
-
}), n &&
|
|
1468
|
-
|
|
1469
|
-
}), [r,
|
|
1454
|
+
Mt.globalOptions = void 0;
|
|
1455
|
+
function Wt(e = {}, t = []) {
|
|
1456
|
+
const o = le(e), n = le(t);
|
|
1457
|
+
let a = o ? e.value : e, s = n ? t.value : t;
|
|
1458
|
+
const r = ue(), i = ue();
|
|
1459
|
+
function c() {
|
|
1460
|
+
i.value && i.value.reInit(a, s);
|
|
1461
|
+
}
|
|
1462
|
+
return qt(() => {
|
|
1463
|
+
!kn() || !r.value || (Mt.globalOptions = Wt.globalOptions, i.value = Mt(r.value, a, s));
|
|
1464
|
+
}), Pe(() => {
|
|
1465
|
+
i.value && i.value.destroy();
|
|
1466
|
+
}), o && $t(e, (l) => {
|
|
1467
|
+
Xt(a, l) || (a = l, c());
|
|
1468
|
+
}), n && $t(t, (l) => {
|
|
1469
|
+
Ln(s, l) || (s = l, c());
|
|
1470
|
+
}), [r, i];
|
|
1470
1471
|
}
|
|
1471
|
-
|
|
1472
|
-
const
|
|
1473
|
-
|
|
1472
|
+
Wt.globalOptions = void 0;
|
|
1473
|
+
const Vt = Symbol("carousel"), no = {
|
|
1474
|
+
key: 0,
|
|
1475
|
+
class: "carousel__controls",
|
|
1476
|
+
"data-slot": "carousel-controls"
|
|
1477
|
+
}, oo = /* @__PURE__ */ N({
|
|
1478
|
+
__name: "Carousel",
|
|
1474
1479
|
props: {
|
|
1475
1480
|
class: {},
|
|
1476
1481
|
opts: {},
|
|
1477
|
-
|
|
1478
|
-
orientation: { default: "horizontal" }
|
|
1482
|
+
basis: { default: 1 },
|
|
1483
|
+
orientation: { default: "horizontal" },
|
|
1484
|
+
plugins: {},
|
|
1485
|
+
setApi: {},
|
|
1486
|
+
events: {}
|
|
1479
1487
|
},
|
|
1480
|
-
setup(
|
|
1481
|
-
const
|
|
1488
|
+
setup(e) {
|
|
1489
|
+
const t = e, [o, n] = Wt(
|
|
1482
1490
|
{
|
|
1483
|
-
...
|
|
1484
|
-
axis:
|
|
1491
|
+
...t.opts,
|
|
1492
|
+
axis: t.orientation === "horizontal" ? "x" : "y"
|
|
1485
1493
|
},
|
|
1486
|
-
|
|
1487
|
-
), a =
|
|
1488
|
-
var
|
|
1489
|
-
(
|
|
1490
|
-
}, c = () => {
|
|
1491
|
-
var f;
|
|
1492
|
-
(f = n.value) == null || f.scrollNext();
|
|
1494
|
+
t.plugins
|
|
1495
|
+
), a = bt(!1), s = bt(!1), r = () => {
|
|
1496
|
+
var d;
|
|
1497
|
+
(d = n.value) == null || d.scrollPrev();
|
|
1493
1498
|
}, i = () => {
|
|
1494
|
-
|
|
1499
|
+
var d;
|
|
1500
|
+
(d = n.value) == null || d.scrollNext();
|
|
1501
|
+
}, c = () => {
|
|
1502
|
+
n.value && (a.value = n.value.canScrollPrev(), s.value = n.value.canScrollNext());
|
|
1495
1503
|
};
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1504
|
+
$t(
|
|
1505
|
+
n,
|
|
1506
|
+
(d, m, g) => {
|
|
1507
|
+
var v;
|
|
1508
|
+
(v = t.setApi) == null || v.call(t, d), d && (c(), d.on("reInit", c).on("select", c), g(() => {
|
|
1509
|
+
d.off("reInit", c).off("select", c);
|
|
1510
|
+
}));
|
|
1511
|
+
},
|
|
1512
|
+
{ immediate: !0 }
|
|
1513
|
+
), $t(
|
|
1514
|
+
n,
|
|
1515
|
+
(d, m, g) => {
|
|
1516
|
+
if (!d || !t.events) return;
|
|
1517
|
+
const v = Object.entries(t.events).flatMap(([p, f]) => {
|
|
1518
|
+
if (!f) return [];
|
|
1519
|
+
const h = () => f(d, p);
|
|
1520
|
+
return d.on(p, h), [[p, h]];
|
|
1521
|
+
});
|
|
1522
|
+
g(() => {
|
|
1523
|
+
v.forEach(([p, f]) => {
|
|
1524
|
+
d.off(p, f);
|
|
1525
|
+
});
|
|
1526
|
+
});
|
|
1527
|
+
},
|
|
1528
|
+
{ immediate: !0 }
|
|
1529
|
+
), Ne(Vt, {
|
|
1502
1530
|
api: n,
|
|
1503
|
-
|
|
1504
|
-
orientation:
|
|
1531
|
+
basis: de(() => t.basis),
|
|
1532
|
+
orientation: de(() => t.orientation),
|
|
1505
1533
|
scrollPrev: r,
|
|
1506
|
-
scrollNext:
|
|
1507
|
-
canScrollPrev:
|
|
1508
|
-
canScrollNext:
|
|
1534
|
+
scrollNext: i,
|
|
1535
|
+
canScrollPrev: a,
|
|
1536
|
+
canScrollNext: s
|
|
1509
1537
|
});
|
|
1510
|
-
const l =
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
return (f, p) => (k(), y("div", {
|
|
1514
|
-
class: X(l.value)
|
|
1538
|
+
const l = O(() => X("carousel", t.class));
|
|
1539
|
+
return (d, m) => (C(), k("div", {
|
|
1540
|
+
class: B(l.value)
|
|
1515
1541
|
}, [
|
|
1516
|
-
C("div",
|
|
1542
|
+
d.$slots.controls ? (C(), k("div", no, [
|
|
1543
|
+
D(d.$slots, "controls")
|
|
1544
|
+
])) : G("", !0),
|
|
1545
|
+
y("div", {
|
|
1517
1546
|
ref_key: "emblaRef",
|
|
1518
|
-
ref:
|
|
1519
|
-
class: "
|
|
1547
|
+
ref: o,
|
|
1548
|
+
class: "carousel__viewport"
|
|
1520
1549
|
}, [
|
|
1521
|
-
|
|
1522
|
-
], 512)
|
|
1523
|
-
P(f.$slots, "controls")
|
|
1550
|
+
D(d.$slots, "content")
|
|
1551
|
+
], 512)
|
|
1524
1552
|
], 2));
|
|
1525
1553
|
}
|
|
1526
|
-
}),
|
|
1527
|
-
__name: "
|
|
1554
|
+
}), so = /* @__PURE__ */ N({
|
|
1555
|
+
__name: "CarouselContent",
|
|
1528
1556
|
props: {
|
|
1529
1557
|
class: {}
|
|
1530
1558
|
},
|
|
1531
|
-
setup(
|
|
1532
|
-
const
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
"kuat-carousel__content",
|
|
1538
|
-
`kuat-carousel__content--${n.value}`,
|
|
1539
|
-
e.class
|
|
1559
|
+
setup(e) {
|
|
1560
|
+
const t = e, o = Pt(Vt), n = O(
|
|
1561
|
+
() => X(
|
|
1562
|
+
"carousel__content",
|
|
1563
|
+
`carousel__content--${(o == null ? void 0 : o.orientation.value) ?? "horizontal"}`,
|
|
1564
|
+
t.class
|
|
1540
1565
|
)
|
|
1541
1566
|
);
|
|
1542
|
-
return (
|
|
1543
|
-
class:
|
|
1567
|
+
return (a, s) => (C(), k("div", {
|
|
1568
|
+
class: B(n.value)
|
|
1544
1569
|
}, [
|
|
1545
|
-
|
|
1570
|
+
D(a.$slots, "default")
|
|
1546
1571
|
], 2));
|
|
1547
1572
|
}
|
|
1548
|
-
}),
|
|
1549
|
-
__name: "
|
|
1573
|
+
}), ro = /* @__PURE__ */ N({
|
|
1574
|
+
__name: "CarouselItem",
|
|
1550
1575
|
props: {
|
|
1551
|
-
class: {}
|
|
1576
|
+
class: {},
|
|
1577
|
+
basis: {}
|
|
1552
1578
|
},
|
|
1553
|
-
setup(
|
|
1554
|
-
const
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
}), o = T(
|
|
1561
|
-
() => q(
|
|
1562
|
-
"kuat-carousel__item",
|
|
1563
|
-
`kuat-carousel__item--${a.value}`,
|
|
1564
|
-
`kuat-carousel__item--basis-${n.value}`,
|
|
1565
|
-
e.class
|
|
1579
|
+
setup(e) {
|
|
1580
|
+
const t = e, o = Pt(Vt), n = O(() => t.basis ?? (o == null ? void 0 : o.basis.value) ?? 1), a = O(
|
|
1581
|
+
() => X(
|
|
1582
|
+
"carousel__item",
|
|
1583
|
+
`carousel__item--${(o == null ? void 0 : o.orientation.value) ?? "horizontal"}`,
|
|
1584
|
+
`carousel__item--basis-${n.value}`,
|
|
1585
|
+
t.class
|
|
1566
1586
|
)
|
|
1567
1587
|
);
|
|
1568
|
-
return (
|
|
1569
|
-
class:
|
|
1588
|
+
return (s, r) => (C(), k("div", {
|
|
1589
|
+
class: B(a.value)
|
|
1570
1590
|
}, [
|
|
1571
|
-
|
|
1591
|
+
D(s.$slots, "default")
|
|
1572
1592
|
], 2));
|
|
1573
1593
|
}
|
|
1574
|
-
}),
|
|
1594
|
+
}), ao = ["disabled"], co = /* @__PURE__ */ N({
|
|
1595
|
+
__name: "CarouselPrevious",
|
|
1596
|
+
props: {
|
|
1597
|
+
class: {}
|
|
1598
|
+
},
|
|
1599
|
+
setup(e) {
|
|
1600
|
+
const t = e, o = Pt(Vt), n = O(() => X("carousel__prev", t.class));
|
|
1601
|
+
return (a, s) => {
|
|
1602
|
+
var r;
|
|
1603
|
+
return C(), k("button", {
|
|
1604
|
+
type: "button",
|
|
1605
|
+
class: B(n.value),
|
|
1606
|
+
disabled: !(((r = K(o)) == null ? void 0 : r.canScrollPrev.value) ?? !1),
|
|
1607
|
+
"aria-label": "Previous slide",
|
|
1608
|
+
onClick: s[0] || (s[0] = (i) => {
|
|
1609
|
+
var c;
|
|
1610
|
+
return (c = K(o)) == null ? void 0 : c.scrollPrev();
|
|
1611
|
+
})
|
|
1612
|
+
}, [
|
|
1613
|
+
et(K(Ge))
|
|
1614
|
+
], 10, ao);
|
|
1615
|
+
};
|
|
1616
|
+
}
|
|
1617
|
+
}), io = ["disabled"], lo = /* @__PURE__ */ N({
|
|
1618
|
+
__name: "CarouselNext",
|
|
1619
|
+
props: {
|
|
1620
|
+
class: {}
|
|
1621
|
+
},
|
|
1622
|
+
setup(e) {
|
|
1623
|
+
const t = e, o = Pt(Vt), n = O(() => X("carousel__next", t.class));
|
|
1624
|
+
return (a, s) => {
|
|
1625
|
+
var r;
|
|
1626
|
+
return C(), k("button", {
|
|
1627
|
+
type: "button",
|
|
1628
|
+
class: B(n.value),
|
|
1629
|
+
disabled: !(((r = K(o)) == null ? void 0 : r.canScrollNext.value) ?? !1),
|
|
1630
|
+
"aria-label": "Next slide",
|
|
1631
|
+
onClick: s[0] || (s[0] = (i) => {
|
|
1632
|
+
var c;
|
|
1633
|
+
return (c = K(o)) == null ? void 0 : c.scrollNext();
|
|
1634
|
+
})
|
|
1635
|
+
}, [
|
|
1636
|
+
et(K(zt))
|
|
1637
|
+
], 10, io);
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
}), Wo = /* @__PURE__ */ N({
|
|
1641
|
+
__name: "KuatCarousel",
|
|
1642
|
+
props: {
|
|
1643
|
+
class: {},
|
|
1644
|
+
opts: {},
|
|
1645
|
+
plugins: {},
|
|
1646
|
+
events: {},
|
|
1647
|
+
setApi: {},
|
|
1648
|
+
slidesPerView: { default: 1 },
|
|
1649
|
+
orientation: { default: "horizontal" }
|
|
1650
|
+
},
|
|
1651
|
+
setup(e) {
|
|
1652
|
+
const t = e;
|
|
1653
|
+
return (o, n) => (C(), nt(oo, {
|
|
1654
|
+
class: B(t.class),
|
|
1655
|
+
opts: t.opts,
|
|
1656
|
+
plugins: t.plugins,
|
|
1657
|
+
events: t.events,
|
|
1658
|
+
"set-api": t.setApi,
|
|
1659
|
+
basis: t.slidesPerView,
|
|
1660
|
+
orientation: t.orientation
|
|
1661
|
+
}, {
|
|
1662
|
+
controls: vt(() => [
|
|
1663
|
+
D(o.$slots, "controls")
|
|
1664
|
+
]),
|
|
1665
|
+
content: vt(() => [
|
|
1666
|
+
D(o.$slots, "content")
|
|
1667
|
+
]),
|
|
1668
|
+
_: 3
|
|
1669
|
+
}, 8, ["class", "opts", "plugins", "events", "set-api", "basis", "orientation"]));
|
|
1670
|
+
}
|
|
1671
|
+
}), ts = /* @__PURE__ */ N({
|
|
1672
|
+
__name: "KuatCarouselContent",
|
|
1673
|
+
props: {
|
|
1674
|
+
class: {}
|
|
1675
|
+
},
|
|
1676
|
+
setup(e) {
|
|
1677
|
+
const t = e;
|
|
1678
|
+
return (o, n) => (C(), nt(so, {
|
|
1679
|
+
class: B(t.class)
|
|
1680
|
+
}, {
|
|
1681
|
+
default: vt(() => [
|
|
1682
|
+
D(o.$slots, "default")
|
|
1683
|
+
]),
|
|
1684
|
+
_: 3
|
|
1685
|
+
}, 8, ["class"]));
|
|
1686
|
+
}
|
|
1687
|
+
}), es = /* @__PURE__ */ N({
|
|
1688
|
+
__name: "KuatCarouselItem",
|
|
1689
|
+
props: {
|
|
1690
|
+
class: {},
|
|
1691
|
+
basis: {}
|
|
1692
|
+
},
|
|
1693
|
+
setup(e) {
|
|
1694
|
+
const t = e;
|
|
1695
|
+
return (o, n) => (C(), nt(ro, {
|
|
1696
|
+
class: B(t.class),
|
|
1697
|
+
basis: t.basis
|
|
1698
|
+
}, {
|
|
1699
|
+
default: vt(() => [
|
|
1700
|
+
D(o.$slots, "default")
|
|
1701
|
+
]),
|
|
1702
|
+
_: 3
|
|
1703
|
+
}, 8, ["class", "basis"]));
|
|
1704
|
+
}
|
|
1705
|
+
}), ns = /* @__PURE__ */ N({
|
|
1575
1706
|
__name: "KuatCarouselPrevious",
|
|
1576
1707
|
props: {
|
|
1577
1708
|
class: {}
|
|
1578
1709
|
},
|
|
1579
|
-
setup(
|
|
1580
|
-
const
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
}
|
|
1584
|
-
() => q("kuat-carousel__prev", e.class)
|
|
1585
|
-
);
|
|
1586
|
-
return (o, r) => (k(), y("button", {
|
|
1587
|
-
type: "button",
|
|
1588
|
-
class: X(a.value),
|
|
1589
|
-
disabled: !n.value,
|
|
1590
|
-
"aria-label": "Previous slide",
|
|
1591
|
-
onClick: r[0] || (r[0] = (c) => {
|
|
1592
|
-
var i;
|
|
1593
|
-
return (i = Z(s)) == null ? void 0 : i.scrollPrev();
|
|
1594
|
-
})
|
|
1595
|
-
}, [
|
|
1596
|
-
et(Z(Fe))
|
|
1597
|
-
], 10, to));
|
|
1710
|
+
setup(e) {
|
|
1711
|
+
const t = e;
|
|
1712
|
+
return (o, n) => (C(), nt(co, {
|
|
1713
|
+
class: B(t.class)
|
|
1714
|
+
}, null, 8, ["class"]));
|
|
1598
1715
|
}
|
|
1599
|
-
}),
|
|
1716
|
+
}), os = /* @__PURE__ */ N({
|
|
1600
1717
|
__name: "KuatCarouselNext",
|
|
1601
1718
|
props: {
|
|
1602
1719
|
class: {}
|
|
1603
1720
|
},
|
|
1604
|
-
setup(
|
|
1605
|
-
const
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
}
|
|
1609
|
-
() => q("kuat-carousel__next", e.class)
|
|
1610
|
-
);
|
|
1611
|
-
return (o, r) => (k(), y("button", {
|
|
1612
|
-
type: "button",
|
|
1613
|
-
class: X(a.value),
|
|
1614
|
-
disabled: !n.value,
|
|
1615
|
-
"aria-label": "Next slide",
|
|
1616
|
-
onClick: r[0] || (r[0] = (c) => {
|
|
1617
|
-
var i;
|
|
1618
|
-
return (i = Z(s)) == null ? void 0 : i.scrollNext();
|
|
1619
|
-
})
|
|
1620
|
-
}, [
|
|
1621
|
-
et(Z(Kt))
|
|
1622
|
-
], 10, eo));
|
|
1721
|
+
setup(e) {
|
|
1722
|
+
const t = e;
|
|
1723
|
+
return (o, n) => (C(), nt(lo, {
|
|
1724
|
+
class: B(t.class)
|
|
1725
|
+
}, null, 8, ["class"]));
|
|
1623
1726
|
}
|
|
1624
|
-
}),
|
|
1727
|
+
}), uo = ["aria-valuenow", "aria-valuetext"], fo = ["viewBox"], po = ["transform"], mo = ["stroke-dashoffset"], go = {
|
|
1625
1728
|
class: "kuat-radial-progress__label",
|
|
1626
1729
|
"aria-hidden": "",
|
|
1627
1730
|
"data-kuat-radial-progress-label": ""
|
|
1628
|
-
},
|
|
1731
|
+
}, Dt = 100, ho = 4, _o = /* @__PURE__ */ N({
|
|
1629
1732
|
__name: "KuatRadialProgress",
|
|
1630
1733
|
props: {
|
|
1631
1734
|
value: {},
|
|
@@ -1634,118 +1737,118 @@ const Uo = /* @__PURE__ */ z({
|
|
|
1634
1737
|
animate: { type: Boolean, default: !1 },
|
|
1635
1738
|
class: {}
|
|
1636
1739
|
},
|
|
1637
|
-
setup(
|
|
1638
|
-
const
|
|
1639
|
-
|
|
1640
|
-
a.animate && (
|
|
1641
|
-
}),
|
|
1642
|
-
(!a.animate || r.value) && (
|
|
1740
|
+
setup(e) {
|
|
1741
|
+
const t = (Dt - ho) / 2, o = 2 * Math.PI * t, n = Dt / 2, a = e, s = O(() => Math.min(100, Math.max(0, a.value))), r = bt(!1), i = bt(a.animate ? 0 : s.value);
|
|
1742
|
+
qt(() => {
|
|
1743
|
+
a.animate && (i.value = s.value, r.value = !0);
|
|
1744
|
+
}), $t(s, (m) => {
|
|
1745
|
+
(!a.animate || r.value) && (i.value = m);
|
|
1643
1746
|
});
|
|
1644
|
-
const
|
|
1645
|
-
() =>
|
|
1646
|
-
), l =
|
|
1747
|
+
const c = O(
|
|
1748
|
+
() => o * (1 - i.value / 100)
|
|
1749
|
+
), l = O(
|
|
1647
1750
|
() => a.animate ? "stroke-dashoffset 0.6s ease-out" : void 0
|
|
1648
|
-
),
|
|
1649
|
-
() =>
|
|
1751
|
+
), d = O(
|
|
1752
|
+
() => X(
|
|
1650
1753
|
"kuat-radial-progress",
|
|
1651
1754
|
`kuat-radial-progress--${a.size}`,
|
|
1652
1755
|
`kuat-radial-progress--${a.color}`,
|
|
1653
1756
|
a.class
|
|
1654
1757
|
)
|
|
1655
1758
|
);
|
|
1656
|
-
return (
|
|
1759
|
+
return (m, g) => (C(), k("div", {
|
|
1657
1760
|
role: "progressbar",
|
|
1658
|
-
"aria-valuenow":
|
|
1761
|
+
"aria-valuenow": s.value,
|
|
1659
1762
|
"aria-valuemin": "0",
|
|
1660
1763
|
"aria-valuemax": "100",
|
|
1661
|
-
"aria-valuetext": `${Math.round(
|
|
1662
|
-
class:
|
|
1764
|
+
"aria-valuetext": `${Math.round(s.value)}%`,
|
|
1765
|
+
class: B(d.value)
|
|
1663
1766
|
}, [
|
|
1664
|
-
(
|
|
1767
|
+
(C(), k("svg", {
|
|
1665
1768
|
class: "kuat-radial-progress__svg",
|
|
1666
|
-
viewBox: `0 0 ${
|
|
1769
|
+
viewBox: `0 0 ${Dt} ${Dt}`,
|
|
1667
1770
|
"aria-hidden": ""
|
|
1668
1771
|
}, [
|
|
1669
|
-
|
|
1772
|
+
y("g", {
|
|
1670
1773
|
transform: `rotate(-90 ${n} ${n})`
|
|
1671
1774
|
}, [
|
|
1672
|
-
|
|
1775
|
+
y("circle", {
|
|
1673
1776
|
"data-kuat-radial-progress-track": "",
|
|
1674
1777
|
cx: n,
|
|
1675
1778
|
cy: n,
|
|
1676
|
-
r:
|
|
1779
|
+
r: t,
|
|
1677
1780
|
fill: "none",
|
|
1678
1781
|
stroke: "var(--kuat-radial-progress-background-bar, var(--muted, #e5e7eb))",
|
|
1679
1782
|
style: { strokeWidth: "var(--kuat-radial-progress-stroke, 4)" }
|
|
1680
1783
|
}),
|
|
1681
|
-
|
|
1784
|
+
y("circle", {
|
|
1682
1785
|
"data-kuat-radial-progress-arc": "",
|
|
1683
1786
|
cx: n,
|
|
1684
1787
|
cy: n,
|
|
1685
|
-
r:
|
|
1788
|
+
r: t,
|
|
1686
1789
|
fill: "none",
|
|
1687
|
-
"stroke-dasharray":
|
|
1688
|
-
"stroke-dashoffset":
|
|
1790
|
+
"stroke-dasharray": o,
|
|
1791
|
+
"stroke-dashoffset": c.value,
|
|
1689
1792
|
"stroke-linecap": "butt",
|
|
1690
|
-
style:
|
|
1793
|
+
style: Be({
|
|
1691
1794
|
strokeWidth: "var(--kuat-radial-progress-stroke, 4)",
|
|
1692
1795
|
...l.value ? { transition: l.value } : {}
|
|
1693
1796
|
})
|
|
1694
|
-
}, null, 12,
|
|
1695
|
-
], 8,
|
|
1696
|
-
], 8,
|
|
1697
|
-
|
|
1698
|
-
], 10,
|
|
1797
|
+
}, null, 12, mo)
|
|
1798
|
+
], 8, po)
|
|
1799
|
+
], 8, fo)),
|
|
1800
|
+
y("span", go, z(Math.round(s.value)) + "% ", 1)
|
|
1801
|
+
], 10, uo));
|
|
1699
1802
|
}
|
|
1700
|
-
}),
|
|
1803
|
+
}), ss = /* @__PURE__ */ St(_o, [["__scopeId", "data-v-3d0283a7"]]), rs = [
|
|
1701
1804
|
"mini",
|
|
1702
1805
|
"small",
|
|
1703
1806
|
"medium",
|
|
1704
1807
|
"large"
|
|
1705
|
-
],
|
|
1808
|
+
], as = [
|
|
1706
1809
|
"default",
|
|
1707
1810
|
"primary",
|
|
1708
1811
|
"ee-blue",
|
|
1709
1812
|
"tech-blue",
|
|
1710
1813
|
"transform-teal",
|
|
1711
1814
|
"equal-ember"
|
|
1712
|
-
],
|
|
1815
|
+
], vo = /* @__PURE__ */ N({
|
|
1713
1816
|
name: "EELogoIcon",
|
|
1714
1817
|
__name: "EELogoIcon",
|
|
1715
1818
|
props: {
|
|
1716
1819
|
class: {}
|
|
1717
1820
|
},
|
|
1718
|
-
setup(
|
|
1719
|
-
const
|
|
1720
|
-
return (
|
|
1721
|
-
class:
|
|
1821
|
+
setup(e) {
|
|
1822
|
+
const t = e;
|
|
1823
|
+
return (o, n) => (C(), k("svg", {
|
|
1824
|
+
class: B(["ee-logo-icon", t.class]),
|
|
1722
1825
|
viewBox: "0 0 143 133",
|
|
1723
1826
|
fill: "none",
|
|
1724
1827
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1725
1828
|
"aria-label": "Equal Experts"
|
|
1726
1829
|
}, [...n[0] || (n[0] = [
|
|
1727
|
-
|
|
1830
|
+
y("path", {
|
|
1728
1831
|
d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
|
|
1729
1832
|
fill: "currentColor"
|
|
1730
1833
|
}, null, -1),
|
|
1731
|
-
|
|
1834
|
+
y("path", {
|
|
1732
1835
|
d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z",
|
|
1733
1836
|
fill: "currentColor"
|
|
1734
1837
|
}, null, -1),
|
|
1735
|
-
|
|
1838
|
+
y("path", {
|
|
1736
1839
|
d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z",
|
|
1737
1840
|
fill: "currentColor"
|
|
1738
1841
|
}, null, -1),
|
|
1739
|
-
|
|
1842
|
+
y("path", {
|
|
1740
1843
|
d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z",
|
|
1741
1844
|
fill: "currentColor"
|
|
1742
1845
|
}, null, -1)
|
|
1743
1846
|
])], 2));
|
|
1744
1847
|
}
|
|
1745
|
-
}),
|
|
1848
|
+
}), bo = /* @__PURE__ */ St(vo, [["__scopeId", "data-v-c97e10d5"]]), So = {
|
|
1746
1849
|
key: 0,
|
|
1747
1850
|
class: "kuat-logo-lockup__service-inner"
|
|
1748
|
-
},
|
|
1851
|
+
}, Co = { class: "kuat-logo-lockup__logo-wrap" }, yo = { class: "kuat-logo-lockup__service-name" }, ko = { class: "kuat-logo-lockup__demo-title" }, Lo = { class: "kuat-logo-lockup__demo-attribution" }, Eo = { class: "kuat-logo-lockup__demo-logo-wrap" }, xo = /* @__PURE__ */ N({
|
|
1749
1852
|
__name: "KuatLogoLockup",
|
|
1750
1853
|
props: {
|
|
1751
1854
|
class: {},
|
|
@@ -1754,46 +1857,46 @@ const Uo = /* @__PURE__ */ z({
|
|
|
1754
1857
|
mode: { default: "light" },
|
|
1755
1858
|
forceDark: { type: Boolean, default: !1 }
|
|
1756
1859
|
},
|
|
1757
|
-
setup(
|
|
1758
|
-
const
|
|
1759
|
-
() =>
|
|
1760
|
-
), n =
|
|
1761
|
-
() =>
|
|
1762
|
-
), a =
|
|
1763
|
-
() =>
|
|
1764
|
-
),
|
|
1765
|
-
() =>
|
|
1860
|
+
setup(e) {
|
|
1861
|
+
const t = e, o = O(
|
|
1862
|
+
() => t.forceDark ? "dark" : t.mode
|
|
1863
|
+
), n = O(
|
|
1864
|
+
() => o.value === "dark" ? "white" : "grey"
|
|
1865
|
+
), a = O(
|
|
1866
|
+
() => t.use === "service" && o.value === "dark"
|
|
1867
|
+
), s = O(
|
|
1868
|
+
() => X(
|
|
1766
1869
|
"kuat-logo-lockup",
|
|
1767
|
-
`kuat-logo-lockup--${
|
|
1768
|
-
`kuat-logo-lockup--${
|
|
1769
|
-
|
|
1870
|
+
`kuat-logo-lockup--${o.value}`,
|
|
1871
|
+
`kuat-logo-lockup--${t.use}`,
|
|
1872
|
+
t.class
|
|
1770
1873
|
)
|
|
1771
1874
|
);
|
|
1772
|
-
return (r,
|
|
1773
|
-
class:
|
|
1875
|
+
return (r, i) => (C(), k("div", {
|
|
1876
|
+
class: B(s.value)
|
|
1774
1877
|
}, [
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
a.value ? (
|
|
1878
|
+
e.use === "service" ? (C(), k("div", So, [
|
|
1879
|
+
y("div", Co, [
|
|
1880
|
+
a.value ? (C(), nt(bo, {
|
|
1778
1881
|
key: 0,
|
|
1779
1882
|
class: "kuat-logo-lockup__logo-icon"
|
|
1780
|
-
})) : (
|
|
1883
|
+
})) : (C(), nt(Ot, {
|
|
1781
1884
|
key: 1,
|
|
1782
1885
|
class: "kuat-logo-lockup__logo",
|
|
1783
1886
|
"text-color": n.value
|
|
1784
1887
|
}, null, 8, ["text-color"]))
|
|
1785
1888
|
]),
|
|
1786
|
-
et(
|
|
1889
|
+
et(K(ve), {
|
|
1787
1890
|
orientation: "vertical",
|
|
1788
1891
|
class: "kuat-logo-lockup__separator"
|
|
1789
1892
|
}),
|
|
1790
|
-
|
|
1791
|
-
])) : (
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
et(
|
|
1893
|
+
y("span", yo, z(e.title), 1)
|
|
1894
|
+
])) : (C(), k(pt, { key: 1 }, [
|
|
1895
|
+
y("h2", ko, z(e.title), 1),
|
|
1896
|
+
y("div", Lo, [
|
|
1897
|
+
i[0] || (i[0] = y("span", { class: "kuat-logo-lockup__demo-by" }, "A demo by", -1)),
|
|
1898
|
+
y("div", Eo, [
|
|
1899
|
+
et(Ot, {
|
|
1797
1900
|
class: "kuat-logo-lockup__logo kuat-logo-lockup__logo--demo",
|
|
1798
1901
|
"text-color": n.value
|
|
1799
1902
|
}, null, 8, ["text-color"])
|
|
@@ -1802,168 +1905,168 @@ const Uo = /* @__PURE__ */ z({
|
|
|
1802
1905
|
], 64))
|
|
1803
1906
|
], 2));
|
|
1804
1907
|
}
|
|
1805
|
-
}),
|
|
1908
|
+
}), cs = /* @__PURE__ */ St(xo, [["__scopeId", "data-v-dce4cc6d"]]), is = ["service", "demo"], ls = ["light", "dark"], us = [
|
|
1806
1909
|
"default",
|
|
1807
1910
|
"secondary",
|
|
1808
1911
|
"destructive",
|
|
1809
1912
|
"outline",
|
|
1810
1913
|
"ghost"
|
|
1811
|
-
],
|
|
1914
|
+
], ds = ["default", "round"], $o = ["aria-label"], Ao = { class: "breadcrumb-list" }, Io = {
|
|
1812
1915
|
key: 0,
|
|
1813
1916
|
role: "presentation",
|
|
1814
1917
|
"aria-hidden": "true",
|
|
1815
1918
|
class: "breadcrumb-separator"
|
|
1816
|
-
},
|
|
1919
|
+
}, Ho = { class: "breadcrumb-item" }, To = ["aria-expanded"], Vo = {
|
|
1817
1920
|
class: "breadcrumb-dropdown-content",
|
|
1818
1921
|
role: "menu"
|
|
1819
|
-
},
|
|
1922
|
+
}, wo = ["href"], Do = {
|
|
1820
1923
|
role: "presentation",
|
|
1821
1924
|
"aria-hidden": "true",
|
|
1822
1925
|
class: "breadcrumb-separator"
|
|
1823
|
-
},
|
|
1926
|
+
}, Oo = { class: "breadcrumb-item" }, Mo = ["aria-expanded", "onClick"], Po = {
|
|
1824
1927
|
class: "breadcrumb-dropdown-content",
|
|
1825
1928
|
role: "menu"
|
|
1826
|
-
},
|
|
1929
|
+
}, No = ["href"], Bo = {
|
|
1827
1930
|
key: 1,
|
|
1828
1931
|
class: "breadcrumb-page",
|
|
1829
1932
|
role: "link",
|
|
1830
1933
|
"aria-disabled": "true",
|
|
1831
1934
|
"aria-current": "page"
|
|
1832
|
-
},
|
|
1935
|
+
}, Fo = ["href"], Ro = {
|
|
1833
1936
|
key: 3,
|
|
1834
1937
|
class: "breadcrumb-page",
|
|
1835
1938
|
"aria-current": "page"
|
|
1836
|
-
},
|
|
1939
|
+
}, Go = 640, fs = /* @__PURE__ */ N({
|
|
1837
1940
|
__name: "Breadcrumb",
|
|
1838
1941
|
props: {
|
|
1839
1942
|
items: {},
|
|
1840
1943
|
ariaLabel: { default: "Breadcrumb" },
|
|
1841
1944
|
class: {}
|
|
1842
1945
|
},
|
|
1843
|
-
setup(
|
|
1844
|
-
const
|
|
1946
|
+
setup(e) {
|
|
1947
|
+
const t = e, o = bt(!1);
|
|
1845
1948
|
let n = null;
|
|
1846
1949
|
function a() {
|
|
1847
|
-
|
|
1848
|
-
typeof window > "u" || typeof window.matchMedia != "function" || (n = window.matchMedia(`(max-width: ${
|
|
1849
|
-
}),
|
|
1850
|
-
n && n.removeEventListener("change",
|
|
1950
|
+
qt(() => {
|
|
1951
|
+
typeof window > "u" || typeof window.matchMedia != "function" || (n = window.matchMedia(`(max-width: ${Go}px)`), o.value = n.matches, n.addEventListener("change", s));
|
|
1952
|
+
}), Fe(() => {
|
|
1953
|
+
n && n.removeEventListener("change", s);
|
|
1851
1954
|
});
|
|
1852
1955
|
}
|
|
1853
|
-
function
|
|
1854
|
-
n && (
|
|
1956
|
+
function s() {
|
|
1957
|
+
n && (o.value = n.matches);
|
|
1855
1958
|
}
|
|
1856
1959
|
a();
|
|
1857
|
-
const r =
|
|
1858
|
-
() => r.value ? [
|
|
1859
|
-
),
|
|
1860
|
-
() => r.value ?
|
|
1861
|
-
), l =
|
|
1862
|
-
() =>
|
|
1863
|
-
(
|
|
1960
|
+
const r = O(() => o.value && t.items.length > 2), i = O(
|
|
1961
|
+
() => r.value ? [t.items[0], t.items[t.items.length - 1]] : t.items
|
|
1962
|
+
), c = O(
|
|
1963
|
+
() => r.value ? t.items.slice(1, -1) : []
|
|
1964
|
+
), l = O(
|
|
1965
|
+
() => c.value.flatMap(
|
|
1966
|
+
(f) => f.href ? [{ label: f.label, href: f.href }] : (f.children ?? []).map((h) => ({ label: h.label, href: h.href }))
|
|
1864
1967
|
)
|
|
1865
|
-
),
|
|
1866
|
-
function
|
|
1867
|
-
|
|
1968
|
+
), d = bt(null);
|
|
1969
|
+
function m(f) {
|
|
1970
|
+
d.value = d.value === f ? null : f;
|
|
1868
1971
|
}
|
|
1869
1972
|
function g() {
|
|
1870
|
-
|
|
1973
|
+
d.value = null;
|
|
1871
1974
|
}
|
|
1872
|
-
function
|
|
1873
|
-
return h && !
|
|
1975
|
+
function v(f, h) {
|
|
1976
|
+
return h && !f.href && (!f.children || f.children.length === 0);
|
|
1874
1977
|
}
|
|
1875
|
-
function
|
|
1876
|
-
return
|
|
1978
|
+
function p(f) {
|
|
1979
|
+
return f.children && f.children.length > 0;
|
|
1877
1980
|
}
|
|
1878
|
-
return (
|
|
1981
|
+
return (f, h) => e.items.length ? (C(), k("nav", {
|
|
1879
1982
|
key: 0,
|
|
1880
|
-
"aria-label":
|
|
1881
|
-
class:
|
|
1983
|
+
"aria-label": e.ariaLabel,
|
|
1984
|
+
class: B(K(X)("breadcrumb", t.class)),
|
|
1882
1985
|
role: "navigation"
|
|
1883
1986
|
}, [
|
|
1884
|
-
|
|
1885
|
-
(
|
|
1886
|
-
key: r.value && _ === 1 ?
|
|
1987
|
+
y("ol", Ao, [
|
|
1988
|
+
(C(!0), k(pt, null, Zt(i.value, (u, _) => (C(), k(pt, {
|
|
1989
|
+
key: r.value && _ === 1 ? e.items.length - 1 : _
|
|
1887
1990
|
}, [
|
|
1888
|
-
_ > 0 ? (
|
|
1889
|
-
et(
|
|
1890
|
-
])) :
|
|
1891
|
-
r.value && _ === 1 && l.value.length > 0 ? (
|
|
1892
|
-
|
|
1893
|
-
|
|
1991
|
+
_ > 0 ? (C(), k("span", Io, [
|
|
1992
|
+
et(K(zt), { class: "breadcrumb-separator__icon" })
|
|
1993
|
+
])) : G("", !0),
|
|
1994
|
+
r.value && _ === 1 && l.value.length > 0 ? (C(), k(pt, { key: 1 }, [
|
|
1995
|
+
y("li", Ho, [
|
|
1996
|
+
y("button", {
|
|
1894
1997
|
type: "button",
|
|
1895
1998
|
class: "breadcrumb-dropdown-trigger breadcrumb-ellipsis-trigger",
|
|
1896
1999
|
"aria-haspopup": "menu",
|
|
1897
|
-
"aria-expanded":
|
|
1898
|
-
onClick: h[0] || (h[0] = (
|
|
2000
|
+
"aria-expanded": d.value === "ellipsis",
|
|
2001
|
+
onClick: h[0] || (h[0] = (b) => m("ellipsis"))
|
|
1899
2002
|
}, [
|
|
1900
|
-
et(
|
|
2003
|
+
et(K(Ke), {
|
|
1901
2004
|
class: "breadcrumb-dropdown-trigger__icon",
|
|
1902
2005
|
"aria-hidden": ""
|
|
1903
2006
|
}),
|
|
1904
|
-
h[1] || (h[1] =
|
|
1905
|
-
], 8,
|
|
1906
|
-
|
|
1907
|
-
(
|
|
2007
|
+
h[1] || (h[1] = y("span", { class: "sr-only" }, "Show more pages", -1))
|
|
2008
|
+
], 8, To),
|
|
2009
|
+
fe(y("div", Vo, [
|
|
2010
|
+
(C(!0), k(pt, null, Zt(l.value, (b, E) => (C(), k("a", {
|
|
1908
2011
|
key: E,
|
|
1909
|
-
href:
|
|
2012
|
+
href: b.href,
|
|
1910
2013
|
class: "breadcrumb-dropdown-item",
|
|
1911
2014
|
role: "menuitem",
|
|
1912
2015
|
onClick: g
|
|
1913
|
-
},
|
|
2016
|
+
}, z(b.label), 9, wo))), 128))
|
|
1914
2017
|
], 512), [
|
|
1915
|
-
[
|
|
2018
|
+
[pe, d.value === "ellipsis"]
|
|
1916
2019
|
])
|
|
1917
2020
|
]),
|
|
1918
|
-
|
|
1919
|
-
et(
|
|
2021
|
+
y("span", Do, [
|
|
2022
|
+
et(K(zt), { class: "breadcrumb-separator__icon" })
|
|
1920
2023
|
])
|
|
1921
|
-
], 64)) :
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
2024
|
+
], 64)) : G("", !0),
|
|
2025
|
+
y("li", Oo, [
|
|
2026
|
+
p(u) ? (C(), k(pt, { key: 0 }, [
|
|
2027
|
+
y("button", {
|
|
1925
2028
|
type: "button",
|
|
1926
2029
|
class: "breadcrumb-dropdown-trigger",
|
|
1927
2030
|
"aria-haspopup": "menu",
|
|
1928
|
-
"aria-expanded":
|
|
1929
|
-
onClick: (
|
|
2031
|
+
"aria-expanded": d.value === `item-${_}`,
|
|
2032
|
+
onClick: (b) => m(`item-${_}`)
|
|
1930
2033
|
}, [
|
|
1931
|
-
|
|
1932
|
-
et(
|
|
2034
|
+
be(z(u.label) + " ", 1),
|
|
2035
|
+
et(K(Ze), {
|
|
1933
2036
|
class: "breadcrumb-dropdown-trigger__icon",
|
|
1934
2037
|
"aria-hidden": ""
|
|
1935
2038
|
}),
|
|
1936
|
-
h[2] || (h[2] =
|
|
1937
|
-
], 8,
|
|
1938
|
-
|
|
1939
|
-
(
|
|
2039
|
+
h[2] || (h[2] = y("span", { class: "sr-only" }, "Toggle menu", -1))
|
|
2040
|
+
], 8, Mo),
|
|
2041
|
+
fe(y("div", Po, [
|
|
2042
|
+
(C(!0), k(pt, null, Zt(u.children, (b, E) => (C(), k("a", {
|
|
1940
2043
|
key: E,
|
|
1941
|
-
href:
|
|
2044
|
+
href: b.href,
|
|
1942
2045
|
class: "breadcrumb-dropdown-item",
|
|
1943
2046
|
role: "menuitem",
|
|
1944
2047
|
onClick: g
|
|
1945
|
-
},
|
|
2048
|
+
}, z(b.label), 9, No))), 128))
|
|
1946
2049
|
], 512), [
|
|
1947
|
-
[
|
|
2050
|
+
[pe, d.value === `item-${_}`]
|
|
1948
2051
|
])
|
|
1949
|
-
], 64)) :
|
|
2052
|
+
], 64)) : v(u, _ === i.value.length - 1) ? (C(), k("span", Bo, z(u.label), 1)) : u.href ? (C(), k("a", {
|
|
1950
2053
|
key: 2,
|
|
1951
2054
|
href: u.href,
|
|
1952
2055
|
class: "breadcrumb-link"
|
|
1953
|
-
},
|
|
2056
|
+
}, z(u.label), 9, Fo)) : (C(), k("span", Ro, z(u.label), 1))
|
|
1954
2057
|
])
|
|
1955
2058
|
], 64))), 128))
|
|
1956
2059
|
])
|
|
1957
|
-
], 10,
|
|
2060
|
+
], 10, $o)) : G("", !0);
|
|
1958
2061
|
}
|
|
1959
|
-
}),
|
|
2062
|
+
}), ps = [
|
|
1960
2063
|
"primary",
|
|
1961
2064
|
"secondary",
|
|
1962
2065
|
"outline",
|
|
1963
2066
|
"ghost",
|
|
1964
2067
|
"ghost-muted",
|
|
1965
2068
|
"destructive"
|
|
1966
|
-
],
|
|
2069
|
+
], ms = ["mini", "small", "default", "large", "icon"], gs = [
|
|
1967
2070
|
"ee-blue",
|
|
1968
2071
|
"tech-blue",
|
|
1969
2072
|
"byte-white",
|
|
@@ -1973,96 +2076,105 @@ const Uo = /* @__PURE__ */ z({
|
|
|
1973
2076
|
"equal-ember"
|
|
1974
2077
|
];
|
|
1975
2078
|
export {
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2079
|
+
ks as Accordion,
|
|
2080
|
+
Ls as AccordionContent,
|
|
2081
|
+
Es as AccordionItem,
|
|
2082
|
+
xs as AccordionTrigger,
|
|
2083
|
+
As as AlertDialog,
|
|
2084
|
+
Is as AlertDialogAction,
|
|
2085
|
+
Hs as AlertDialogCancel,
|
|
2086
|
+
Ts as AlertDialogContent,
|
|
2087
|
+
Vs as AlertDialogDescription,
|
|
2088
|
+
ws as AlertDialogFooter,
|
|
2089
|
+
Ds as AlertDialogHeader,
|
|
2090
|
+
Os as AlertDialogTitle,
|
|
2091
|
+
Ms as AlertDialogTrigger,
|
|
2092
|
+
ds as BADGE_ROUNDNESS,
|
|
2093
|
+
us as BADGE_VARIANTS,
|
|
2094
|
+
gs as BUTTON_COLORS,
|
|
2095
|
+
ms as BUTTON_SIZES,
|
|
2096
|
+
ps as BUTTON_VARIANTS,
|
|
2097
|
+
Ns as Badge,
|
|
2098
|
+
fs as Breadcrumb,
|
|
2099
|
+
Rs as Button,
|
|
2100
|
+
vs as ButtonGroup,
|
|
2101
|
+
bs as ButtonGroupSeparator,
|
|
2102
|
+
Ss as ButtonGroupText,
|
|
2103
|
+
Lr as CHECKBOX_FIELD_APPEARANCES,
|
|
2104
|
+
Er as CHECKBOX_FIELD_LAYOUTS,
|
|
2105
|
+
oo as Carousel,
|
|
2106
|
+
so as CarouselContent,
|
|
2107
|
+
ro as CarouselItem,
|
|
2108
|
+
lo as CarouselNext,
|
|
2109
|
+
co as CarouselPrevious,
|
|
2110
|
+
xr as Checkbox,
|
|
2111
|
+
$r as CheckboxField,
|
|
2112
|
+
Qo as ContentCard,
|
|
2113
|
+
Ot as EELogo,
|
|
2114
|
+
bo as EELogoIcon,
|
|
2115
|
+
nr as FIELD_LEGEND_VARIANTS,
|
|
2116
|
+
or as FIELD_ORIENTATIONS,
|
|
2117
|
+
Qs as Field,
|
|
2118
|
+
Ys as FieldContent,
|
|
2119
|
+
Js as FieldDescription,
|
|
2120
|
+
sr as FieldError,
|
|
2121
|
+
rr as FieldGroup,
|
|
2122
|
+
Ws as FieldLabel,
|
|
2123
|
+
ar as FieldLegend,
|
|
2124
|
+
cr as FieldSeparator,
|
|
2125
|
+
ir as FieldSet,
|
|
2126
|
+
tr as FieldTitle,
|
|
2127
|
+
js as INPUT_SIZES,
|
|
2128
|
+
qs as Input,
|
|
2129
|
+
ls as KUAT_LOGO_LOCKUP_MODE,
|
|
2130
|
+
is as KUAT_LOGO_LOCKUP_USE,
|
|
2131
|
+
as as KUAT_RADIAL_PROGRESS_COLORS,
|
|
2132
|
+
rs as KUAT_RADIAL_PROGRESS_SIZES,
|
|
2133
|
+
Wo as KuatCarousel,
|
|
2134
|
+
ts as KuatCarouselContent,
|
|
2135
|
+
es as KuatCarouselItem,
|
|
2136
|
+
os as KuatCarouselNext,
|
|
2137
|
+
ns as KuatCarouselPrevious,
|
|
2138
|
+
Yo as KuatHeader,
|
|
2139
|
+
cs as KuatLogoLockup,
|
|
2140
|
+
ss as KuatRadialProgress,
|
|
2141
|
+
ur as KuatSelect,
|
|
2142
|
+
Ir as RADIO_FIELD_APPEARANCES,
|
|
2143
|
+
Hr as RADIO_FIELD_LAYOUTS,
|
|
2144
|
+
Tr as RadioField,
|
|
2145
|
+
Vr as RadioGroup,
|
|
2146
|
+
wr as RadioGroupItem,
|
|
2147
|
+
dr as SELECT_LINES,
|
|
2148
|
+
fr as SELECT_SIZES,
|
|
2149
|
+
Xr as SONNER_POSITIONS,
|
|
2150
|
+
Or as SWITCH_FIELD_APPEARANCES,
|
|
2151
|
+
Mr as SWITCH_FIELD_LAYOUTS,
|
|
2152
|
+
pr as Select,
|
|
2153
|
+
mr as SelectContent,
|
|
2154
|
+
gr as SelectGroup,
|
|
2155
|
+
hr as SelectItem,
|
|
2156
|
+
_r as SelectLabel,
|
|
2157
|
+
vr as SelectScrollDownButton,
|
|
2158
|
+
br as SelectScrollUpButton,
|
|
2159
|
+
Sr as SelectSeparator,
|
|
2160
|
+
Cr as SelectTrigger,
|
|
2161
|
+
yr as SelectValue,
|
|
2162
|
+
Qr as Sonner,
|
|
2163
|
+
Yr as SonnerContent,
|
|
2164
|
+
Pr as Switch,
|
|
2165
|
+
Nr as SwitchField,
|
|
2166
|
+
Zs as TEXTAREA_RESIZE,
|
|
2167
|
+
zr as TOGGLE_GROUP_ORIENTATIONS,
|
|
2168
|
+
Gr as TOGGLE_SIZES,
|
|
2169
|
+
Kr as TOGGLE_SKINS,
|
|
2170
|
+
zs as Textarea,
|
|
2171
|
+
Fr as Toggle,
|
|
2172
|
+
Ur as ToggleGroup,
|
|
2173
|
+
jr as ToggleGroupItem,
|
|
2174
|
+
Bs as badgeVariants,
|
|
2175
|
+
Cs as buttonGroupVariants,
|
|
2176
|
+
Gs as buttonVariants,
|
|
2177
|
+
X as cn,
|
|
2178
|
+
Jo as kuatHeaderVariants,
|
|
2179
|
+
Jr as toast
|
|
2068
2180
|
};
|