@equal-experts/kuat-vue 0.9.1 → 0.10.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/index.js CHANGED
@@ -1,50 +1,53 @@
1
- /* empty css */
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 = {
1
+ import { c as V } from "./utils-DLUjLwnh.js";
2
+ import { S as G } from "./index-iz_NZI-V.js";
3
+ import { B as Dt, a as Ot, b as Mt, c as Rt } from "./index-iz_NZI-V.js";
4
+ import { defineComponent as $, computed as c, createBlock as A, openBlock as a, unref as k, mergeProps as z, withCtx as B, renderSlot as u, createCommentVNode as _, createElementBlock as s, createElementVNode as t, toDisplayString as h, resolveDynamicComponent as q, createTextVNode as P, normalizeClass as L, createStaticVNode as X, useSlots as Y, createVNode as b, ref as T, onMounted as K, watch as j, normalizeStyle as Q, Fragment as S, renderList as R, withDirectives as N, vShow as Z, onUnmounted as J } from "vue";
5
+ import { Primitive as ee } from "reka-ui";
6
+ import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ import { _ as Nt, a as Zt, b as Ft, d as Gt, c as Pt } from "./CarouselNext.vue_vue_type_script_setup_true_lang-Ccl5Fhm_.js";
8
+ import { _ as Ut, a as Wt, b as zt, d as qt, c as Xt } from "./KuatCarouselNext.vue_vue_type_script_setup_true_lang-DZzbUdio.js";
9
+ import { _ as jt, b as Qt, A as Jt, a as ea } from "./AccordionTrigger-BRz5PzEd.js";
10
+ import { _ as aa, A as oa, a as sa, b as ra, c as la, d as ca, e as na, f as da, g as ia } from "./AlertDialogTrigger.vue_vue_type_script_setup_true_lang-CK1Um8CY.js";
11
+ import { B as _a, b as ha } from "./index-C3VyxnTa.js";
12
+ import { ChevronRight as F, MoreHorizontal as te, ChevronDown as ae } from "lucide-vue-next";
13
+ import { _ as va, b as ma } from "./index-CBmjn3iX.js";
14
+ import { T as fa, _ as ka } from "./constants-CpIWAssv.js";
15
+ import { I as ba, _ as Ha } from "./constants-4SN0MW4f.js";
16
+ import { _ as $a, a as Va, b as La, c as Ea, d as wa } from "./FieldTitle.vue_vue_type_script_setup_true_lang-Bu8UIwRT.js";
17
+ import { F as Aa, e as xa, _ as Ta, a as Ia, b as Da, c as Oa, d as Ma } from "./FieldSet.vue_vue_type_script_setup_true_lang-D9i4ciy0.js";
18
+ import { _ as Ba, S as Na, k as Za, a as Fa, b as Ga, c as Pa, d as Ka, e as Ua, f as Wa, g as za, h as qa, i as Xa, j as Ya } from "./KuatSelect.vue_vue_type_script_setup_true_lang-DP66U_wg.js";
19
+ import { C as Qa, b as Ja, _ as eo, a as to } from "./constants-BpzIL1jq.js";
20
+ import { R as oo, c as so, b as ro, _ as lo, a as co } from "./constants-D_fYMnOg.js";
21
+ import { S as io, b as uo, _ as _o, a as ho } from "./constants-Ils7NSfg.js";
22
+ import { _ as vo } from "./Toggle.vue_vue_type_script_setup_true_lang-CZM1GrLQ.js";
23
+ import { T as go, a as fo } from "./constants-CXAkjttx.js";
24
+ import { TOGGLE_GROUP_ORIENTATIONS as Co, ToggleGroup as bo, ToggleGroupItem as Ho } from "./toggle-group.js";
25
+ import { S as $o, _ as Vo, a as Lo, t as Eo } from "./toast-LJYTMaV_.js";
26
+ const oe = {
26
27
  key: 1,
27
28
  class: "content-card__media"
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 = {
29
+ }, se = ["src", "alt"], re = { class: "content-card__body" }, le = { class: "content-card__heading-row" }, ce = { class: "content-card__heading-left" }, ne = { class: "content-card__heading-meta" }, de = {
29
30
  "data-slot": "badge",
30
31
  class: "content-card__badge"
31
- }, Je = { class: "content-card__category" }, We = {
32
+ }, ie = { class: "content-card__category" }, ue = {
32
33
  "data-slot": "header-accessory",
33
34
  class: "content-card__header-accessory"
34
- }, tn = {
35
+ }, _e = {
35
36
  key: 0,
36
37
  "data-slot": "content",
37
38
  class: "content-card__content"
38
- }, en = { class: "content-card__content-text" }, nn = {
39
+ }, he = { class: "content-card__content-text" }, pe = {
39
40
  "data-slot": "custom-content",
40
41
  class: "content-card__custom-content"
41
- }, on = {
42
+ }, ve = {
42
43
  "data-slot": "footer",
43
44
  class: "content-card__footer"
44
- }, sn = /* @__PURE__ */ N({
45
+ }, me = /* @__PURE__ */ $({
45
46
  __name: "ContentCard",
46
47
  props: {
47
48
  class: {},
49
+ width: { default: "default" },
50
+ maxWidth: { default: "373px" },
48
51
  imageSrc: { default: null },
49
52
  imageAlt: { default: "" },
50
53
  category: {},
@@ -54,103 +57,104 @@ const ze = {
54
57
  asChild: { type: Boolean },
55
58
  as: { default: "div" }
56
59
  },
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),
60
+ setup(l) {
61
+ const e = l, n = c(() => `h${e.titleHeadingLevel}`), r = c(() => e.width === "fluid" ? "content-card--width-fluid" : e.width === "custom" ? "content-card--width-custom" : "content-card--width-default"), d = c(() => e.width !== "custom" ? void 0 : { "--content-card-max-width": typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth });
62
+ return (o, v) => (a(), A(k(ee), z({
63
+ as: l.as,
64
+ "as-child": l.asChild,
65
+ class: k(V)("content-card", r.value, e.class),
66
+ style: d.value,
63
67
  "data-slot": "content-card"
64
- }, n.$attrs), {
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
+ }, o.$attrs), {
69
+ default: B(() => [
70
+ l.asChild ? u(o.$slots, "default", { key: 0 }, void 0, !0) : _("", !0),
71
+ e.imageSrc !== null ? (a(), s("div", oe, [
72
+ t("img", {
69
73
  class: "content-card__media-img",
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)
74
+ src: e.imageSrc,
75
+ alt: e.imageAlt
76
+ }, null, 8, se)
77
+ ])) : _("", !0),
78
+ t("div", re, [
79
+ t("div", le, [
80
+ t("div", ce, [
81
+ t("div", ne, [
82
+ t("div", de, [
83
+ u(o.$slots, "badge", {}, void 0, !0)
80
84
  ]),
81
- y("p", Je, z(t.category), 1)
85
+ t("p", ie, h(e.category), 1)
82
86
  ]),
83
- (C(), nt(De(o.value), { class: "content-card__title" }, {
84
- default: vt(() => [
85
- be(z(t.title), 1)
87
+ (a(), A(q(n.value), { class: "content-card__title" }, {
88
+ default: B(() => [
89
+ P(h(e.title), 1)
86
90
  ]),
87
91
  _: 1
88
92
  }))
89
93
  ]),
90
- y("div", We, [
91
- D(n.$slots, "header-accessory", {}, void 0, !0)
94
+ t("div", ue, [
95
+ u(o.$slots, "header-accessory", {}, void 0, !0)
92
96
  ])
93
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
+ e.contentText != null ? (a(), s("div", _e, [
99
+ t("p", he, h(e.contentText), 1)
100
+ ])) : _("", !0),
101
+ t("div", pe, [
102
+ u(o.$slots, "custom-content", {}, void 0, !0)
99
103
  ]),
100
- y("div", on, [
101
- D(n.$slots, "footer", {}, void 0, !0)
104
+ t("div", ve, [
105
+ u(o.$slots, "footer", {}, void 0, !0)
102
106
  ])
103
107
  ])
104
108
  ]),
105
109
  _: 3
106
- }, 16, ["as", "as-child", "class"]));
110
+ }, 16, ["as", "as-child", "class", "style"]));
107
111
  }
108
- }), Qo = /* @__PURE__ */ St(sn, [["__scopeId", "data-v-fd1d8ade"]]), rn = /* @__PURE__ */ N({
112
+ }), gt = /* @__PURE__ */ E(me, [["__scopeId", "data-v-76d8d14e"]]), ge = /* @__PURE__ */ $({
109
113
  __name: "EELogo",
110
114
  props: {
111
115
  class: {},
112
116
  textColor: { default: "grey" }
113
117
  },
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]),
118
+ setup(l) {
119
+ const e = l;
120
+ return (n, r) => (a(), s("svg", {
121
+ class: L(["ee-logo", `ee-logo--${e.textColor}`, e.class]),
118
122
  viewBox: "0 0 500 133",
119
123
  fill: "none",
120
124
  xmlns: "http://www.w3.org/2000/svg",
121
125
  "aria-label": "Equal Experts logo"
122
- }, [...n[0] || (n[0] = [
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)
126
+ }, [...r[0] || (r[0] = [
127
+ X('<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)
124
128
  ])], 2));
125
129
  }
126
- }), Ot = /* @__PURE__ */ St(rn, [["__scopeId", "data-v-361cfd9c"]]), an = { class: "kuat-header__desktop" }, cn = { class: "kuat-header__desktop-left" }, ln = {
130
+ }), I = /* @__PURE__ */ E(ge, [["__scopeId", "data-v-361cfd9c"]]), fe = { class: "kuat-header__desktop" }, ke = { class: "kuat-header__desktop-left" }, Ce = {
127
131
  key: 0,
128
132
  class: "kuat-header__logo-wrap"
129
- }, un = {
133
+ }, be = {
130
134
  key: 1,
131
135
  class: "kuat-header__logo-wrap"
132
- }, dn = {
136
+ }, He = {
133
137
  key: 3,
134
138
  class: "kuat-header__desktop-title"
135
- }, fn = { class: "kuat-header__desktop-right" }, pn = {
139
+ }, Se = { class: "kuat-header__desktop-right" }, $e = {
136
140
  key: 0,
137
141
  class: "kuat-header__nav"
138
- }, mn = {
142
+ }, Ve = {
139
143
  key: 1,
140
144
  class: "kuat-header__actions"
141
- }, gn = { class: "kuat-header__mobile" }, hn = { class: "kuat-header__mobile-left" }, _n = {
145
+ }, Le = { class: "kuat-header__mobile" }, Ee = { class: "kuat-header__mobile-left" }, we = {
142
146
  key: 0,
143
147
  class: "kuat-header__logo-wrap"
144
- }, vn = {
148
+ }, ye = {
145
149
  key: 1,
146
150
  class: "kuat-header__logo-wrap"
147
- }, bn = {
151
+ }, Ae = {
148
152
  key: 2,
149
153
  class: "kuat-header__mobile-title"
150
- }, Sn = {
154
+ }, xe = {
151
155
  key: 0,
152
156
  class: "kuat-header__mobile-trigger-wrap"
153
- }, Cn = /* @__PURE__ */ N({
157
+ }, Te = /* @__PURE__ */ $({
154
158
  __name: "KuatHeader",
155
159
  props: {
156
160
  class: {},
@@ -158,1577 +162,75 @@ const ze = {
158
162
  title: {},
159
163
  hideLogo: { type: Boolean, default: !1 }
160
164
  },
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)
165
+ setup(l) {
166
+ const e = l, n = Y(), r = c(() => !!n.logo), d = c(
167
+ () => V("kuat-header", `kuat-header--${e.variant}`, e.class)
164
168
  );
165
- return (s, r) => (C(), k("header", {
166
- class: B(a.value)
169
+ return (o, v) => (a(), s("header", {
170
+ class: L(d.value)
167
171
  }, [
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
+ t("div", fe, [
173
+ t("div", ke, [
174
+ r.value ? (a(), s("div", Ce, [
175
+ u(o.$slots, "logo", {
176
+ variant: e.variant
173
177
  }, void 0, !0)
174
- ])) : t.hideLogo ? G("", !0) : (C(), k("div", un, [
175
- et(Ot, {
178
+ ])) : e.hideLogo ? _("", !0) : (a(), s("div", be, [
179
+ b(I, {
176
180
  class: "ee-logo--desktop",
177
- "text-color": t.variant === "bold" ? "white" : "grey"
181
+ "text-color": e.variant === "bold" ? "white" : "grey"
178
182
  }, null, 8, ["text-color"])
179
183
  ])),
180
- n.value || !t.hideLogo ? (C(), nt(K(ve), {
184
+ r.value || !e.hideLogo ? (a(), A(k(G), {
181
185
  key: 2,
182
186
  orientation: "vertical",
183
187
  class: "kuat-header__separator"
184
- })) : G("", !0),
185
- t.title ? (C(), k("h1", dn, z(t.title), 1)) : G("", !0),
186
- D(s.$slots, "title", {}, void 0, !0)
188
+ })) : _("", !0),
189
+ e.title ? (a(), s("h1", He, h(e.title), 1)) : _("", !0),
190
+ u(o.$slots, "title", {}, void 0, !0)
187
191
  ]),
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)
192
+ t("div", Se, [
193
+ o.$slots.navigation ? (a(), s("nav", $e, [
194
+ u(o.$slots, "navigation", {}, void 0, !0)
195
+ ])) : _("", !0),
196
+ o.$slots.actions ? (a(), s("div", Ve, [
197
+ u(o.$slots, "actions", {}, void 0, !0)
198
+ ])) : _("", !0)
195
199
  ])
196
200
  ]),
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
+ t("div", Le, [
202
+ t("div", Ee, [
203
+ r.value ? (a(), s("div", we, [
204
+ u(o.$slots, "logo", {
205
+ variant: e.variant
202
206
  }, void 0, !0)
203
- ])) : t.hideLogo ? G("", !0) : (C(), k("div", vn, [
204
- et(Ot, {
207
+ ])) : e.hideLogo ? _("", !0) : (a(), s("div", ye, [
208
+ b(I, {
205
209
  class: "ee-logo--mobile",
206
- "text-color": t.variant === "bold" ? "white" : "grey"
210
+ "text-color": e.variant === "bold" ? "white" : "grey"
207
211
  }, null, 8, ["text-color"])
208
212
  ])),
209
- t.title ? (C(), k("p", bn, z(t.title), 1)) : G("", !0),
210
- D(s.$slots, "title", {}, void 0, !0)
213
+ e.title ? (a(), s("p", Ae, h(e.title), 1)) : _("", !0),
214
+ u(o.$slots, "title", {}, void 0, !0)
211
215
  ]),
212
- s.$slots["mobile-menu-trigger"] ? (C(), k("div", Sn, [
213
- D(s.$slots, "mobile-menu-trigger", {}, void 0, !0)
214
- ])) : G("", !0)
216
+ o.$slots["mobile-menu-trigger"] ? (a(), s("div", xe, [
217
+ u(o.$slots, "mobile-menu-trigger", {}, void 0, !0)
218
+ ])) : _("", !0)
215
219
  ]),
216
- D(s.$slots, "mobile-menu", {}, void 0, !0),
217
- D(s.$slots, "default", {}, void 0, !0)
220
+ u(o.$slots, "mobile-menu", {}, void 0, !0),
221
+ u(o.$slots, "default", {}, void 0, !0)
218
222
  ], 2));
219
223
  }
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}`);
224
+ }), ft = /* @__PURE__ */ E(Te, [["__scopeId", "data-v-35dfca44"]]);
225
+ function kt(l) {
226
+ const e = (l == null ? void 0 : l.variant) ?? "default";
227
+ return V("kuat-header", `kuat-header--${e}`);
224
228
  }
225
- function yn(e) {
226
- return Object.prototype.toString.call(e) === "[object Object]";
227
- }
228
- function me(e) {
229
- return yn(e) || Array.isArray(e);
230
- }
231
- function kn() {
232
- return !!(typeof window < "u" && window.document && window.document.createElement);
233
- }
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);
241
- });
242
- }
243
- function ge(e) {
244
- return e.concat().sort((t, o) => t.name > o.name ? 1 : -1).map((t) => t.options);
245
- }
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);
252
- });
253
- }
254
- function Qt(e) {
255
- return typeof e == "number";
256
- }
257
- function Ut(e) {
258
- return typeof e == "string";
259
- }
260
- function Nt(e) {
261
- return typeof e == "boolean";
262
- }
263
- function he(e) {
264
- return Object.prototype.toString.call(e) === "[object Object]";
265
- }
266
- function w(e) {
267
- return Math.abs(e);
268
- }
269
- function Yt(e) {
270
- return Math.sign(e);
271
- }
272
- function xt(e, t) {
273
- return w(e - t);
274
- }
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);
279
- }
280
- function xn(e) {
281
- return Math.round(e * 100) / 100;
282
- }
283
- function At(e) {
284
- return It(e).map(Number);
285
- }
286
- function q(e) {
287
- return e[Tt(e)];
288
- }
289
- function Tt(e) {
290
- return Math.max(0, e.length - 1);
291
- }
292
- function Jt(e, t) {
293
- return t === Tt(e);
294
- }
295
- function _e(e, t = 0) {
296
- return Array.from(Array(e), (o, n) => t + n);
297
- }
298
- function It(e) {
299
- return Object.keys(e);
300
- }
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), {});
306
- }
307
- function jt(e, t) {
308
- return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
309
- }
310
- function $n(e, t) {
311
- const o = {
312
- start: n,
313
- center: a,
314
- end: s
315
- };
316
- function n() {
317
- return 0;
318
- }
319
- function a(c) {
320
- return s(c) / 2;
321
- }
322
- function s(c) {
323
- return t - c;
324
- }
325
- function r(c, l) {
326
- return Ut(e) ? o[e](c) : e(t, c, l);
327
- }
328
- return {
329
- measure: r
330
- };
331
- }
332
- function Ht() {
333
- let e = [];
334
- function t(a, s, r, i = {
335
- passive: !0
336
- }) {
337
- let c;
338
- if ("addEventListener" in a)
339
- a.addEventListener(s, r, i), c = () => a.removeEventListener(s, r, i);
340
- else {
341
- const l = a;
342
- l.addListener(r), c = () => l.removeListener(r);
343
- }
344
- return e.push(c), n;
345
- }
346
- function o() {
347
- e = e.filter((a) => a());
348
- }
349
- const n = {
350
- add: t,
351
- clear: o
352
- };
353
- return n;
354
- }
355
- function An(e, t, o, n) {
356
- const a = Ht(), s = 1e3 / 60;
357
- let r = null, i = 0, c = 0;
358
- function l() {
359
- a.add(e, "visibilitychange", () => {
360
- e.hidden && p();
361
- });
362
- }
363
- function d() {
364
- v(), a.clear();
365
- }
366
- function m(h) {
367
- if (!c) return;
368
- r || (r = h, o(), o());
369
- const u = h - r;
370
- for (r = h, i += u; i >= s; )
371
- o(), i -= s;
372
- const _ = i / s;
373
- n(_), c && (c = t.requestAnimationFrame(m));
374
- }
375
- function g() {
376
- c || (c = t.requestAnimationFrame(m));
377
- }
378
- function v() {
379
- t.cancelAnimationFrame(c), r = null, i = 0, c = 0;
380
- }
381
- function p() {
382
- r = null, i = 0;
383
- }
384
- return {
385
- init: l,
386
- destroy: d,
387
- start: g,
388
- stop: v,
389
- update: o,
390
- render: n
391
- };
392
- }
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) {
396
- const {
397
- height: f,
398
- width: h
399
- } = p;
400
- return n ? f : h;
401
- }
402
- function d() {
403
- return n ? "top" : o ? "right" : "left";
404
- }
405
- function m() {
406
- return n ? "bottom" : o ? "left" : "right";
407
- }
408
- function g(p) {
409
- return p * r;
410
- }
411
- return {
412
- scroll: a,
413
- cross: s,
414
- startEdge: i,
415
- endEdge: c,
416
- measureSize: l,
417
- direction: g
418
- };
419
- }
420
- function mt(e = 0, t = 0) {
421
- const o = w(e - t);
422
- function n(l) {
423
- return l < e;
424
- }
425
- function a(l) {
426
- return l > t;
427
- }
428
- function s(l) {
429
- return n(l) || a(l);
430
- }
431
- function r(l) {
432
- return s(l) ? n(l) ? e : t : l;
433
- }
434
- function i(l) {
435
- return o ? l - o * Math.ceil((l - t) / o) : l;
436
- }
437
- return {
438
- length: o,
439
- max: t,
440
- min: e,
441
- constrain: r,
442
- reachedAny: s,
443
- reachedMax: a,
444
- reachedMin: n,
445
- removeOffset: i
446
- };
447
- }
448
- function Ce(e, t, o) {
449
- const {
450
- constrain: n
451
- } = mt(0, e), a = e + 1;
452
- let s = r(t);
453
- function r(g) {
454
- return o ? w((a + g) % a) : n(g);
455
- }
456
- function i() {
457
- return s;
458
- }
459
- function c(g) {
460
- return s = r(g), m;
461
- }
462
- function l(g) {
463
- return d().set(i() + g);
464
- }
465
- function d() {
466
- return Ce(e, i(), o);
467
- }
468
- const m = {
469
- get: i,
470
- set: c,
471
- add: l,
472
- clone: d
473
- };
474
- return m;
475
- }
476
- function Hn(e, t, o, n, a, s, r, i, c, l, d, m, g, v, p, f, h, u, _) {
477
- const {
478
- cross: b,
479
- direction: E
480
- } = e, T = ["INPUT", "SELECT", "TEXTAREA"], $ = {
481
- passive: !1
482
- }, L = Ht(), x = Ht(), A = mt(50, 225).constrain(v.measure(20)), M = {
483
- mouse: 300,
484
- touch: 400
485
- }, I = {
486
- mouse: 500,
487
- touch: 600
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) {
491
- if (!_) return;
492
- function H(R) {
493
- (Nt(_) || _(S, R)) && kt(R);
494
- }
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);
499
- }
500
- function W() {
501
- L.clear(), x.clear();
502
- }
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);
506
- }
507
- function ht(S) {
508
- const H = S.nodeName || "";
509
- return T.includes(H);
510
- }
511
- function rt() {
512
- return (p ? I : M)[st ? "mouse" : "touch"];
513
- }
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;
517
- }
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")));
521
- }
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();
529
- }
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");
533
- }
534
- function at(S) {
535
- ot && (S.stopPropagation(), S.preventDefault(), ot = !1);
536
- }
537
- function j() {
538
- return ut;
539
- }
540
- return {
541
- init: Ct,
542
- destroy: W,
543
- pointerDown: j
544
- };
545
- }
546
- function Tn(e, t) {
547
- let n, a;
548
- function s(m) {
549
- return m.timeStamp;
550
- }
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];
554
- }
555
- function i(m) {
556
- return n = m, a = m, r(m);
557
- }
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;
561
- }
562
- function l(m) {
563
- if (!n || !a) return 0;
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;
566
- }
567
- return {
568
- pointerDown: i,
569
- pointerMove: c,
570
- pointerUp: l,
571
- readPoint: r
572
- };
573
- }
574
- function Vn() {
575
- function e(o) {
576
- const {
577
- offsetTop: n,
578
- offsetLeft: a,
579
- offsetWidth: s,
580
- offsetHeight: r
581
- } = o;
582
- return {
583
- top: n,
584
- right: a + s,
585
- bottom: n + r,
586
- left: a,
587
- width: s,
588
- height: r
589
- };
590
- }
591
- return {
592
- measure: e
593
- };
594
- }
595
- function wn(e) {
596
- function t(n) {
597
- return e * (n / 100);
598
- }
599
- return {
600
- measure: t
601
- };
602
- }
603
- function Dn(e, t, o, n, a, s, r) {
604
- const i = [e].concat(n);
605
- let c, l, d = [], m = !1;
606
- function g(h) {
607
- return a.measureSize(r.measure(h));
608
- }
609
- function v(h) {
610
- if (!s) return;
611
- l = g(e), d = n.map(g);
612
- function u(_) {
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");
618
- break;
619
- }
620
- }
621
- }
622
- c = new ResizeObserver((_) => {
623
- (Nt(s) || s(h, _)) && u(_);
624
- }), o.requestAnimationFrame(() => {
625
- i.forEach((_) => c.observe(_));
626
- });
627
- }
628
- function p() {
629
- m = !0, c && c.disconnect();
630
- }
631
- return {
632
- init: v,
633
- destroy: p
634
- };
635
- }
636
- function On(e, t, o, n, a, s) {
637
- let r = 0, i = 0, c = a, l = s, d = e.get(), m = 0;
638
- function g() {
639
- const $ = n.get() - e.get(), L = !c;
640
- let x = 0;
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;
642
- }
643
- function v() {
644
- const $ = n.get() - t.get();
645
- return w($) < 1e-3;
646
- }
647
- function p() {
648
- return c;
649
- }
650
- function f() {
651
- return i;
652
- }
653
- function h() {
654
- return r;
655
- }
656
- function u() {
657
- return b(a);
658
- }
659
- function _() {
660
- return E(s);
661
- }
662
- function b($) {
663
- return c = $, T;
664
- }
665
- function E($) {
666
- return l = $, T;
667
- }
668
- const T = {
669
- direction: f,
670
- duration: p,
671
- velocity: h,
672
- seek: g,
673
- settled: v,
674
- useBaseFriction: _,
675
- useBaseDuration: u,
676
- useFriction: E,
677
- useDuration: b
678
- };
679
- return T;
680
- }
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;
684
- function l() {
685
- return !(c || !e.reachedAny(o.get()) || !e.reachedAny(t.get()));
686
- }
687
- function d(v) {
688
- if (!l()) return;
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());
691
- }
692
- function m(v) {
693
- c = !v;
694
- }
695
- return {
696
- shouldConstrain: l,
697
- constrain: d,
698
- toggleActive: m
699
- };
700
- }
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;
705
- }
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);
709
- }
710
- function m() {
711
- return o.map((p, f) => {
712
- const {
713
- min: h,
714
- max: u
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)));
718
- }
719
- function g() {
720
- if (t <= e + a) return [s.max];
721
- if (n === "keepSnaps") return r;
722
- const {
723
- min: p,
724
- max: f
725
- } = i;
726
- return r.slice(p, f);
727
- }
728
- return {
729
- snapsContained: c,
730
- scrollContainLimit: i
731
- };
732
- }
733
- function Nn(e, t, o) {
734
- const n = t[0], a = o ? n - e : q(t);
735
- return {
736
- limit: mt(a, n)
737
- };
738
- }
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);
744
- function l(g) {
745
- return g === 1 ? c(o.get()) : g === -1 ? i(o.get()) : !1;
746
- }
747
- function d(g) {
748
- if (!l(g)) return;
749
- const v = e * (g * -1);
750
- n.forEach((p) => p.add(v));
751
- }
752
- return {
753
- loop: d
754
- };
755
- }
756
- function Fn(e) {
757
- const {
758
- max: t,
759
- length: o
760
- } = e;
761
- function n(s) {
762
- const r = s - t;
763
- return o ? r / -o : 0;
764
- }
765
- return {
766
- get: n
767
- };
768
- }
769
- function Rn(e, t, o, n, a) {
770
- const {
771
- startEdge: s,
772
- endEdge: r
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);
778
- }
779
- function g() {
780
- return n.map((f) => o[s] - f[s]).map((f) => -w(f));
781
- }
782
- function v() {
783
- return i(l).map((f) => f[0]).map((f, h) => f + c[h]);
784
- }
785
- return {
786
- snaps: l,
787
- snapsAligned: d
788
- };
789
- }
790
- function Gn(e, t, o, n, a, s) {
791
- const {
792
- groupSlides: r
793
- } = a, {
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);
801
- if (u) {
802
- const b = q(h[0]) + 1;
803
- return _e(b);
804
- }
805
- if (_) {
806
- const b = Tt(s) - q(h)[0] + 1;
807
- return _e(b, q(h)[0]);
808
- }
809
- return p;
810
- });
811
- }
812
- return {
813
- slideRegistry: l
814
- };
815
- }
816
- function Kn(e, t, o, n, a) {
817
- const {
818
- reachedAny: s,
819
- removeOffset: r,
820
- constrain: i
821
- } = n;
822
- function c(p) {
823
- return p.concat().sort((f, h) => w(f) - w(h))[0];
824
- }
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)), {
830
- index: u
831
- } = h[0];
832
- return {
833
- index: u,
834
- distance: f
835
- };
836
- }
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;
843
- }
844
- function m(p, f) {
845
- const h = t[p] - a.get(), u = d(h, f);
846
- return {
847
- index: p,
848
- distance: u
849
- };
850
- }
851
- function g(p, f) {
852
- const h = a.get() + p, {
853
- index: u,
854
- distance: _
855
- } = l(h), b = !e && s(h);
856
- if (!f || b) return {
857
- index: u,
858
- distance: p
859
- };
860
- const E = t[u] - _, T = p + d(E, 0);
861
- return {
862
- index: u,
863
- distance: T
864
- };
865
- }
866
- return {
867
- byDistance: g,
868
- byIndex: m,
869
- shortcut: d
870
- };
871
- }
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"));
876
- }
877
- function c(m, g) {
878
- const v = a.byDistance(m, g);
879
- i(v);
880
- }
881
- function l(m, g) {
882
- const v = t.clone().set(m), p = a.byIndex(v.get(), g);
883
- i(p);
884
- }
885
- return {
886
- distance: c,
887
- index: l
888
- };
889
- }
890
- function zn(e, t, o, n, a, s, r, i) {
891
- const c = {
892
- passive: !0,
893
- capture: !0
894
- };
895
- let l = 0;
896
- function d(v) {
897
- if (!i) return;
898
- function p(f) {
899
- if ((/* @__PURE__ */ new Date()).getTime() - l > 10) return;
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"));
903
- }
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);
908
- });
909
- }
910
- function m(v) {
911
- v.code === "Tab" && (l = (/* @__PURE__ */ new Date()).getTime());
912
- }
913
- return {
914
- init: d
915
- };
916
- }
917
- function Et(e) {
918
- let t = e;
919
- function o() {
920
- return t;
921
- }
922
- function n(c) {
923
- t = r(c);
924
- }
925
- function a(c) {
926
- t += r(c);
927
- }
928
- function s(c) {
929
- t -= r(c);
930
- }
931
- function r(c) {
932
- return Qt(c) ? c : c.get();
933
- }
934
- return {
935
- get: o,
936
- set: n,
937
- add: a,
938
- subtract: s
939
- };
940
- }
941
- function ye(e, t) {
942
- const o = e.scroll === "x" ? r : i, n = t.style;
943
- let a = null, s = !1;
944
- function r(g) {
945
- return `translate3d(${g}px,0px,0px)`;
946
- }
947
- function i(g) {
948
- return `translate3d(0px,${g}px,0px)`;
949
- }
950
- function c(g) {
951
- if (s) return;
952
- const v = xn(e.direction(g));
953
- v !== a && (n.transform = o(v), a = v);
954
- }
955
- function l(g) {
956
- s = !g;
957
- }
958
- function d() {
959
- s || (n.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
960
- }
961
- return {
962
- clear: d,
963
- to: c,
964
- toggleActive: l
965
- };
966
- }
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
979
- }));
980
- }
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];
985
- return {
986
- index: I,
987
- loopPoint: J,
988
- slideLocation: Et(-1),
989
- translate: ye(e, c[I]),
990
- target: () => i.get() > J ? Z : Q
991
- };
992
- });
993
- }
994
- function u() {
995
- const L = r[0], x = p(m, L);
996
- return h(x, o, !1);
997
- }
998
- function _() {
999
- const L = t - r[0] - 1, x = p(d, L);
1000
- return h(x, -o, !0);
1001
- }
1002
- function b() {
1003
- return g.every(({
1004
- index: L
1005
- }) => {
1006
- const x = d.filter((A) => A !== L);
1007
- return v(x, t) <= 0.1;
1008
- });
1009
- }
1010
- function E() {
1011
- g.forEach((L) => {
1012
- const {
1013
- target: x,
1014
- translate: A,
1015
- slideLocation: M
1016
- } = L, I = x();
1017
- I !== M.get() && (A.to(I), M.set(I));
1018
- });
1019
- }
1020
- function T() {
1021
- g.forEach((L) => L.translate.clear());
1022
- }
1023
- return {
1024
- canLoop: b,
1025
- clear: T,
1026
- loop: E,
1027
- loopPoints: g
1028
- };
1029
- }
1030
- function jn(e, t, o) {
1031
- let n, a = !1;
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");
1038
- break;
1039
- }
1040
- }
1041
- n = new MutationObserver((d) => {
1042
- a || (Nt(o) || o(c, d)) && l(d);
1043
- }), n.observe(e, {
1044
- childList: !0
1045
- });
1046
- }
1047
- function r() {
1048
- n && n.disconnect(), a = !0;
1049
- }
1050
- return {
1051
- init: s,
1052
- destroy: r
1053
- };
1054
- }
1055
- function qn(e, t, o, n) {
1056
- const a = {};
1057
- let s = null, r = null, i, c = !1;
1058
- function l() {
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"));
1064
- }, {
1065
- root: e.parentElement,
1066
- threshold: n
1067
- }), t.forEach((p) => i.observe(p));
1068
- }
1069
- function d() {
1070
- i && i.disconnect(), c = !0;
1071
- }
1072
- function m(p) {
1073
- return It(a).reduce((f, h) => {
1074
- const u = parseInt(h), {
1075
- isIntersecting: _
1076
- } = a[u];
1077
- return (p && _ || !p && !_) && f.push(u), f;
1078
- }, []);
1079
- }
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;
1085
- }
1086
- return {
1087
- init: l,
1088
- destroy: d,
1089
- get: g
1090
- };
1091
- }
1092
- function Xn(e, t, o, n, a, s) {
1093
- const {
1094
- measureSize: r,
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() {
1099
- if (!l) return 0;
1100
- const _ = o[0];
1101
- return w(t[i] - _[i]);
1102
- }
1103
- function f() {
1104
- if (!l) return 0;
1105
- const _ = s.getComputedStyle(q(n));
1106
- return parseFloat(_.getPropertyValue(`margin-${c}`));
1107
- }
1108
- function h() {
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);
1113
- }
1114
- return {
1115
- slideSizes: g,
1116
- slideSizesWithGaps: v,
1117
- startGap: d,
1118
- endGap: m
1119
- };
1120
- }
1121
- function Qn(e, t, o, n, a, s, r, i, c) {
1122
- const {
1123
- startEdge: l,
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, _);
1137
- }) : [];
1138
- }
1139
- function f(u) {
1140
- return g ? v(u, o) : p(u);
1141
- }
1142
- return {
1143
- groupSlides: f
1144
- };
1145
- }
1146
- function Yn(e, t, o, n, a, s, r) {
1147
- const {
1148
- align: i,
1149
- axis: c,
1150
- direction: l,
1151
- startIndex: d,
1152
- loop: m,
1153
- duration: g,
1154
- dragFree: v,
1155
- dragThreshold: p,
1156
- inViewThreshold: f,
1157
- slidesToScroll: h,
1158
- skipSnaps: u,
1159
- containScroll: _,
1160
- watchResize: b,
1161
- watchSlides: E,
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 || !!_, {
1165
- slideSizes: it,
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,
1174
- scrollContainLimit: kt
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,
1181
- options: {
1182
- loop: wt
1183
- }
1184
- }) => {
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,
1198
- options: {
1199
- loop: se
1200
- }
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 = {
1209
- ownerDocument: n,
1210
- ownerWindow: a,
1211
- eventHandler: r,
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,
1218
- percentOfView: Q,
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),
1238
- slidesInView: ke,
1239
- slideIndexes: V,
1240
- slideRegistry: ne,
1241
- slidesToScroll: W,
1242
- target: ft,
1243
- translate: ye(I, t)
1244
- };
1245
- return Rt;
1246
- }
1247
- function Jn() {
1248
- let e = {}, t;
1249
- function o(l) {
1250
- t = l;
1251
- }
1252
- function n(l) {
1253
- return e[l] || [];
1254
- }
1255
- function a(l) {
1256
- return n(l).forEach((d) => d(t, l)), c;
1257
- }
1258
- function s(l, d) {
1259
- return e[l] = n(l).concat([d]), c;
1260
- }
1261
- function r(l, d) {
1262
- return e[l] = n(l).filter((m) => m !== d), c;
1263
- }
1264
- function i() {
1265
- e = {};
1266
- }
1267
- const c = {
1268
- init: o,
1269
- emit: a,
1270
- off: r,
1271
- on: s,
1272
- clear: i
1273
- };
1274
- return c;
1275
- }
1276
- const Wn = {
1277
- align: "center",
1278
- axis: "x",
1279
- container: null,
1280
- slides: null,
1281
- containScroll: "trimSnaps",
1282
- direction: "ltr",
1283
- slidesToScroll: 1,
1284
- inViewThreshold: 0,
1285
- breakpoints: {},
1286
- dragFree: !1,
1287
- dragThreshold: 10,
1288
- loop: !1,
1289
- skipSnaps: !1,
1290
- duration: 25,
1291
- startIndex: 0,
1292
- active: !0,
1293
- watchDrag: !0,
1294
- watchResize: !0,
1295
- watchSlides: !0,
1296
- watchFocus: !0
1297
- };
1298
- function to(e) {
1299
- function t(s, r) {
1300
- return Se(s, r || {});
1301
- }
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);
1305
- }
1306
- function n(s) {
1307
- return s.map((r) => It(r.breakpoints || {})).reduce((r, i) => r.concat(i), []).map(e.matchMedia);
1308
- }
1309
- return {
1310
- mergeOptions: t,
1311
- optionsAtMedia: o,
1312
- optionsMediaQueries: n
1313
- };
1314
- }
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
1322
- }), {});
1323
- }
1324
- function n() {
1325
- t = t.filter((s) => s.destroy());
1326
- }
1327
- return {
1328
- init: o,
1329
- destroy: n
1330
- };
1331
- }
1332
- function Mt(e, t, o) {
1333
- const n = e.ownerDocument, a = n.defaultView, s = to(a), r = eo(s), i = Ht(), c = Jn(), {
1334
- mergeOptions: l,
1335
- optionsAtMedia: d,
1336
- optionsMediaQueries: m
1337
- } = s, {
1338
- on: g,
1339
- off: v,
1340
- emit: p
1341
- } = c, f = I;
1342
- let h = !1, u, _ = l(Wn, Mt.globalOptions), b = l(_), E = [], T, $, L;
1343
- function x() {
1344
- 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, {
1356
- loop: !1
1357
- });
1358
- return A(H);
1359
- }
1360
- return S;
1361
- }
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)));
1366
- }
1367
- function I(V, S) {
1368
- const H = W();
1369
- Z(), M(l({
1370
- startIndex: H
1371
- }, V), S), c.emit("reInit");
1372
- }
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();
1375
- }
1376
- function Q() {
1377
- h || (h = !0, i.clear(), Z(), c.emit("destroy"), c.clear());
1378
- }
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));
1381
- }
1382
- function J(V) {
1383
- const S = u.index.add(1).get();
1384
- Y(S, V, -1);
1385
- }
1386
- function ut(V) {
1387
- const S = u.index.add(-1).get();
1388
- Y(S, V, 1);
1389
- }
1390
- function it() {
1391
- return u.index.add(1).get() !== W();
1392
- }
1393
- function ot() {
1394
- return u.index.add(-1).get() !== W();
1395
- }
1396
- function st() {
1397
- return u.scrollSnapList;
1398
- }
1399
- function Ct() {
1400
- return u.scrollProgress.get(u.offsetLocation.get());
1401
- }
1402
- function W() {
1403
- return u.index.get();
1404
- }
1405
- function gt() {
1406
- return u.indexPrevious.get();
1407
- }
1408
- function ht() {
1409
- return u.slidesInView.get();
1410
- }
1411
- function rt() {
1412
- return u.slidesInView.get(!1);
1413
- }
1414
- function yt() {
1415
- return T;
1416
- }
1417
- function kt() {
1418
- return u;
1419
- }
1420
- function U() {
1421
- return e;
1422
- }
1423
- function F() {
1424
- return $;
1425
- }
1426
- function at() {
1427
- return L;
1428
- }
1429
- const j = {
1430
- canScrollNext: it,
1431
- canScrollPrev: ot,
1432
- containerNode: F,
1433
- internalEngine: kt,
1434
- destroy: Q,
1435
- off: v,
1436
- on: g,
1437
- emit: p,
1438
- plugins: yt,
1439
- previousScrollSnap: gt,
1440
- reInit: f,
1441
- rootNode: U,
1442
- scrollNext: J,
1443
- scrollPrev: ut,
1444
- scrollProgress: Ct,
1445
- scrollSnapList: st,
1446
- scrollTo: Y,
1447
- selectedScrollSnap: W,
1448
- slideNodes: at,
1449
- slidesInView: ht,
1450
- slidesNotInView: rt
1451
- };
1452
- return M(t, o), setTimeout(() => c.emit("init"), 0), j;
1453
- }
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];
1471
- }
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",
1479
- props: {
1480
- class: {},
1481
- opts: {},
1482
- basis: { default: 1 },
1483
- orientation: { default: "horizontal" },
1484
- plugins: {},
1485
- setApi: {},
1486
- events: {}
1487
- },
1488
- setup(e) {
1489
- const t = e, [o, n] = Wt(
1490
- {
1491
- ...t.opts,
1492
- axis: t.orientation === "horizontal" ? "x" : "y"
1493
- },
1494
- t.plugins
1495
- ), a = bt(!1), s = bt(!1), r = () => {
1496
- var d;
1497
- (d = n.value) == null || d.scrollPrev();
1498
- }, i = () => {
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());
1503
- };
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, {
1530
- api: n,
1531
- basis: de(() => t.basis),
1532
- orientation: de(() => t.orientation),
1533
- scrollPrev: r,
1534
- scrollNext: i,
1535
- canScrollPrev: a,
1536
- canScrollNext: s
1537
- });
1538
- const l = O(() => X("carousel", t.class));
1539
- return (d, m) => (C(), k("div", {
1540
- class: B(l.value)
1541
- }, [
1542
- d.$slots.controls ? (C(), k("div", no, [
1543
- D(d.$slots, "controls")
1544
- ])) : G("", !0),
1545
- y("div", {
1546
- ref_key: "emblaRef",
1547
- ref: o,
1548
- class: "carousel__viewport"
1549
- }, [
1550
- D(d.$slots, "content")
1551
- ], 512)
1552
- ], 2));
1553
- }
1554
- }), so = /* @__PURE__ */ N({
1555
- __name: "CarouselContent",
1556
- props: {
1557
- class: {}
1558
- },
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
1565
- )
1566
- );
1567
- return (a, s) => (C(), k("div", {
1568
- class: B(n.value)
1569
- }, [
1570
- D(a.$slots, "default")
1571
- ], 2));
1572
- }
1573
- }), ro = /* @__PURE__ */ N({
1574
- __name: "CarouselItem",
1575
- props: {
1576
- class: {},
1577
- basis: {}
1578
- },
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
1586
- )
1587
- );
1588
- return (s, r) => (C(), k("div", {
1589
- class: B(a.value)
1590
- }, [
1591
- D(s.$slots, "default")
1592
- ], 2));
1593
- }
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({
1706
- __name: "KuatCarouselPrevious",
1707
- props: {
1708
- class: {}
1709
- },
1710
- setup(e) {
1711
- const t = e;
1712
- return (o, n) => (C(), nt(co, {
1713
- class: B(t.class)
1714
- }, null, 8, ["class"]));
1715
- }
1716
- }), os = /* @__PURE__ */ N({
1717
- __name: "KuatCarouselNext",
1718
- props: {
1719
- class: {}
1720
- },
1721
- setup(e) {
1722
- const t = e;
1723
- return (o, n) => (C(), nt(lo, {
1724
- class: B(t.class)
1725
- }, null, 8, ["class"]));
1726
- }
1727
- }), uo = ["aria-valuenow", "aria-valuetext"], fo = ["viewBox"], po = ["transform"], mo = ["stroke-dashoffset"], go = {
229
+ const Ie = ["aria-valuenow", "aria-valuetext"], De = ["viewBox"], Oe = ["transform"], Me = ["stroke-dashoffset"], Re = {
1728
230
  class: "kuat-radial-progress__label",
1729
231
  "aria-hidden": "",
1730
232
  "data-kuat-radial-progress-label": ""
1731
- }, Dt = 100, ho = 4, _o = /* @__PURE__ */ N({
233
+ }, x = 100, Be = 4, Ne = /* @__PURE__ */ $({
1732
234
  __name: "KuatRadialProgress",
1733
235
  props: {
1734
236
  value: {},
@@ -1737,118 +239,118 @@ const Vt = Symbol("carousel"), no = {
1737
239
  animate: { type: Boolean, default: !1 },
1738
240
  class: {}
1739
241
  },
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);
242
+ setup(l) {
243
+ const e = (x - Be) / 2, n = 2 * Math.PI * e, r = x / 2, d = l, o = c(() => Math.min(100, Math.max(0, d.value))), v = T(!1), m = T(d.animate ? 0 : o.value);
244
+ K(() => {
245
+ d.animate && (m.value = o.value, v.value = !0);
246
+ }), j(o, (y) => {
247
+ (!d.animate || v.value) && (m.value = y);
1746
248
  });
1747
- const c = O(
1748
- () => o * (1 - i.value / 100)
1749
- ), l = O(
1750
- () => a.animate ? "stroke-dashoffset 0.6s ease-out" : void 0
1751
- ), d = O(
1752
- () => X(
249
+ const D = c(
250
+ () => n * (1 - m.value / 100)
251
+ ), w = c(
252
+ () => d.animate ? "stroke-dashoffset 0.6s ease-out" : void 0
253
+ ), g = c(
254
+ () => V(
1753
255
  "kuat-radial-progress",
1754
- `kuat-radial-progress--${a.size}`,
1755
- `kuat-radial-progress--${a.color}`,
1756
- a.class
256
+ `kuat-radial-progress--${d.size}`,
257
+ `kuat-radial-progress--${d.color}`,
258
+ d.class
1757
259
  )
1758
260
  );
1759
- return (m, g) => (C(), k("div", {
261
+ return (y, O) => (a(), s("div", {
1760
262
  role: "progressbar",
1761
- "aria-valuenow": s.value,
263
+ "aria-valuenow": o.value,
1762
264
  "aria-valuemin": "0",
1763
265
  "aria-valuemax": "100",
1764
- "aria-valuetext": `${Math.round(s.value)}%`,
1765
- class: B(d.value)
266
+ "aria-valuetext": `${Math.round(o.value)}%`,
267
+ class: L(g.value)
1766
268
  }, [
1767
- (C(), k("svg", {
269
+ (a(), s("svg", {
1768
270
  class: "kuat-radial-progress__svg",
1769
- viewBox: `0 0 ${Dt} ${Dt}`,
271
+ viewBox: `0 0 ${x} ${x}`,
1770
272
  "aria-hidden": ""
1771
273
  }, [
1772
- y("g", {
1773
- transform: `rotate(-90 ${n} ${n})`
274
+ t("g", {
275
+ transform: `rotate(-90 ${r} ${r})`
1774
276
  }, [
1775
- y("circle", {
277
+ t("circle", {
1776
278
  "data-kuat-radial-progress-track": "",
1777
- cx: n,
1778
- cy: n,
1779
- r: t,
279
+ cx: r,
280
+ cy: r,
281
+ r: e,
1780
282
  fill: "none",
1781
283
  stroke: "var(--kuat-radial-progress-background-bar, var(--muted, #e5e7eb))",
1782
284
  style: { strokeWidth: "var(--kuat-radial-progress-stroke, 4)" }
1783
285
  }),
1784
- y("circle", {
286
+ t("circle", {
1785
287
  "data-kuat-radial-progress-arc": "",
1786
- cx: n,
1787
- cy: n,
1788
- r: t,
288
+ cx: r,
289
+ cy: r,
290
+ r: e,
1789
291
  fill: "none",
1790
- "stroke-dasharray": o,
1791
- "stroke-dashoffset": c.value,
292
+ "stroke-dasharray": n,
293
+ "stroke-dashoffset": D.value,
1792
294
  "stroke-linecap": "butt",
1793
- style: Be({
295
+ style: Q({
1794
296
  strokeWidth: "var(--kuat-radial-progress-stroke, 4)",
1795
- ...l.value ? { transition: l.value } : {}
297
+ ...w.value ? { transition: w.value } : {}
1796
298
  })
1797
- }, null, 12, mo)
1798
- ], 8, po)
1799
- ], 8, fo)),
1800
- y("span", go, z(Math.round(s.value)) + "% ", 1)
1801
- ], 10, uo));
299
+ }, null, 12, Me)
300
+ ], 8, Oe)
301
+ ], 8, De)),
302
+ t("span", Re, h(Math.round(o.value)) + "% ", 1)
303
+ ], 10, Ie));
1802
304
  }
1803
- }), ss = /* @__PURE__ */ St(_o, [["__scopeId", "data-v-3d0283a7"]]), rs = [
305
+ }), Ct = /* @__PURE__ */ E(Ne, [["__scopeId", "data-v-3d0283a7"]]), bt = [
1804
306
  "mini",
1805
307
  "small",
1806
308
  "medium",
1807
309
  "large"
1808
- ], as = [
310
+ ], Ht = [
1809
311
  "default",
1810
312
  "primary",
1811
313
  "ee-blue",
1812
314
  "tech-blue",
1813
315
  "transform-teal",
1814
316
  "equal-ember"
1815
- ], vo = /* @__PURE__ */ N({
317
+ ], Ze = /* @__PURE__ */ $({
1816
318
  name: "EELogoIcon",
1817
319
  __name: "EELogoIcon",
1818
320
  props: {
1819
321
  class: {}
1820
322
  },
1821
- setup(e) {
1822
- const t = e;
1823
- return (o, n) => (C(), k("svg", {
1824
- class: B(["ee-logo-icon", t.class]),
323
+ setup(l) {
324
+ const e = l;
325
+ return (n, r) => (a(), s("svg", {
326
+ class: L(["ee-logo-icon", e.class]),
1825
327
  viewBox: "0 0 143 133",
1826
328
  fill: "none",
1827
329
  xmlns: "http://www.w3.org/2000/svg",
1828
330
  "aria-label": "Equal Experts"
1829
- }, [...n[0] || (n[0] = [
1830
- y("path", {
331
+ }, [...r[0] || (r[0] = [
332
+ t("path", {
1831
333
  d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
1832
334
  fill: "currentColor"
1833
335
  }, null, -1),
1834
- y("path", {
336
+ t("path", {
1835
337
  d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z",
1836
338
  fill: "currentColor"
1837
339
  }, null, -1),
1838
- y("path", {
340
+ t("path", {
1839
341
  d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z",
1840
342
  fill: "currentColor"
1841
343
  }, null, -1),
1842
- y("path", {
344
+ t("path", {
1843
345
  d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z",
1844
346
  fill: "currentColor"
1845
347
  }, null, -1)
1846
348
  ])], 2));
1847
349
  }
1848
- }), bo = /* @__PURE__ */ St(vo, [["__scopeId", "data-v-c97e10d5"]]), So = {
350
+ }), Fe = /* @__PURE__ */ E(Ze, [["__scopeId", "data-v-c97e10d5"]]), Ge = {
1849
351
  key: 0,
1850
352
  class: "kuat-logo-lockup__service-inner"
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({
353
+ }, Pe = { class: "kuat-logo-lockup__logo-wrap" }, Ke = { class: "kuat-logo-lockup__service-name" }, Ue = { class: "kuat-logo-lockup__demo-title" }, We = { class: "kuat-logo-lockup__demo-attribution" }, ze = { class: "kuat-logo-lockup__demo-logo-wrap" }, qe = /* @__PURE__ */ $({
1852
354
  __name: "KuatLogoLockup",
1853
355
  props: {
1854
356
  class: {},
@@ -1857,216 +359,216 @@ const Vt = Symbol("carousel"), no = {
1857
359
  mode: { default: "light" },
1858
360
  forceDark: { type: Boolean, default: !1 }
1859
361
  },
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(
362
+ setup(l) {
363
+ const e = l, n = c(
364
+ () => e.forceDark ? "dark" : e.mode
365
+ ), r = c(
366
+ () => n.value === "dark" ? "white" : "grey"
367
+ ), d = c(
368
+ () => e.use === "service" && n.value === "dark"
369
+ ), o = c(
370
+ () => V(
1869
371
  "kuat-logo-lockup",
1870
- `kuat-logo-lockup--${o.value}`,
1871
- `kuat-logo-lockup--${t.use}`,
1872
- t.class
372
+ `kuat-logo-lockup--${n.value}`,
373
+ `kuat-logo-lockup--${e.use}`,
374
+ e.class
1873
375
  )
1874
376
  );
1875
- return (r, i) => (C(), k("div", {
1876
- class: B(s.value)
377
+ return (v, m) => (a(), s("div", {
378
+ class: L(o.value)
1877
379
  }, [
1878
- e.use === "service" ? (C(), k("div", So, [
1879
- y("div", Co, [
1880
- a.value ? (C(), nt(bo, {
380
+ l.use === "service" ? (a(), s("div", Ge, [
381
+ t("div", Pe, [
382
+ d.value ? (a(), A(Fe, {
1881
383
  key: 0,
1882
384
  class: "kuat-logo-lockup__logo-icon"
1883
- })) : (C(), nt(Ot, {
385
+ })) : (a(), A(I, {
1884
386
  key: 1,
1885
387
  class: "kuat-logo-lockup__logo",
1886
- "text-color": n.value
388
+ "text-color": r.value
1887
389
  }, null, 8, ["text-color"]))
1888
390
  ]),
1889
- et(K(ve), {
391
+ b(k(G), {
1890
392
  orientation: "vertical",
1891
393
  class: "kuat-logo-lockup__separator"
1892
394
  }),
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, {
395
+ t("span", Ke, h(l.title), 1)
396
+ ])) : (a(), s(S, { key: 1 }, [
397
+ t("h2", Ue, h(l.title), 1),
398
+ t("div", We, [
399
+ m[0] || (m[0] = t("span", { class: "kuat-logo-lockup__demo-by" }, "A demo by", -1)),
400
+ t("div", ze, [
401
+ b(I, {
1900
402
  class: "kuat-logo-lockup__logo kuat-logo-lockup__logo--demo",
1901
- "text-color": n.value
403
+ "text-color": r.value
1902
404
  }, null, 8, ["text-color"])
1903
405
  ])
1904
406
  ])
1905
407
  ], 64))
1906
408
  ], 2));
1907
409
  }
1908
- }), cs = /* @__PURE__ */ St(xo, [["__scopeId", "data-v-dce4cc6d"]]), is = ["service", "demo"], ls = ["light", "dark"], us = [
410
+ }), St = /* @__PURE__ */ E(qe, [["__scopeId", "data-v-dce4cc6d"]]), $t = ["service", "demo"], Vt = ["light", "dark"], Lt = [
1909
411
  "default",
1910
412
  "secondary",
1911
413
  "destructive",
1912
414
  "outline",
1913
415
  "ghost"
1914
- ], ds = ["default", "round"], $o = ["aria-label"], Ao = { class: "breadcrumb-list" }, Io = {
416
+ ], Et = ["default", "round"], Xe = ["aria-label"], Ye = { class: "breadcrumb-list" }, je = {
1915
417
  key: 0,
1916
418
  role: "presentation",
1917
419
  "aria-hidden": "true",
1918
420
  class: "breadcrumb-separator"
1919
- }, Ho = { class: "breadcrumb-item" }, To = ["aria-expanded"], Vo = {
421
+ }, Qe = { class: "breadcrumb-item" }, Je = ["aria-expanded"], et = {
1920
422
  class: "breadcrumb-dropdown-content",
1921
423
  role: "menu"
1922
- }, wo = ["href"], Do = {
424
+ }, tt = ["href"], at = {
1923
425
  role: "presentation",
1924
426
  "aria-hidden": "true",
1925
427
  class: "breadcrumb-separator"
1926
- }, Oo = { class: "breadcrumb-item" }, Mo = ["aria-expanded", "onClick"], Po = {
428
+ }, ot = { class: "breadcrumb-item" }, st = ["aria-expanded", "onClick"], rt = {
1927
429
  class: "breadcrumb-dropdown-content",
1928
430
  role: "menu"
1929
- }, No = ["href"], Bo = {
431
+ }, lt = ["href"], ct = {
1930
432
  key: 1,
1931
433
  class: "breadcrumb-page",
1932
434
  role: "link",
1933
435
  "aria-disabled": "true",
1934
436
  "aria-current": "page"
1935
- }, Fo = ["href"], Ro = {
437
+ }, nt = ["href"], dt = {
1936
438
  key: 3,
1937
439
  class: "breadcrumb-page",
1938
440
  "aria-current": "page"
1939
- }, Go = 640, fs = /* @__PURE__ */ N({
441
+ }, it = 640, wt = /* @__PURE__ */ $({
1940
442
  __name: "Breadcrumb",
1941
443
  props: {
1942
444
  items: {},
1943
445
  ariaLabel: { default: "Breadcrumb" },
1944
446
  class: {}
1945
447
  },
1946
- setup(e) {
1947
- const t = e, o = bt(!1);
1948
- let n = null;
1949
- function a() {
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);
448
+ setup(l) {
449
+ const e = l, n = T(!1);
450
+ let r = null;
451
+ function d() {
452
+ K(() => {
453
+ typeof window > "u" || typeof window.matchMedia != "function" || (r = window.matchMedia(`(max-width: ${it}px)`), n.value = r.matches, r.addEventListener("change", o));
454
+ }), J(() => {
455
+ r && r.removeEventListener("change", o);
1954
456
  });
1955
457
  }
1956
- function s() {
1957
- n && (o.value = n.matches);
458
+ function o() {
459
+ r && (n.value = r.matches);
1958
460
  }
1959
- a();
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 }))
461
+ d();
462
+ const v = c(() => n.value && e.items.length > 2), m = c(
463
+ () => v.value ? [e.items[0], e.items[e.items.length - 1]] : e.items
464
+ ), D = c(
465
+ () => v.value ? e.items.slice(1, -1) : []
466
+ ), w = c(
467
+ () => D.value.flatMap(
468
+ (i) => i.href ? [{ label: i.label, href: i.href }] : (i.children ?? []).map((p) => ({ label: p.label, href: p.href }))
1967
469
  )
1968
- ), d = bt(null);
1969
- function m(f) {
1970
- d.value = d.value === f ? null : f;
470
+ ), g = T(null);
471
+ function y(i) {
472
+ g.value = g.value === i ? null : i;
1971
473
  }
1972
- function g() {
1973
- d.value = null;
474
+ function O() {
475
+ g.value = null;
1974
476
  }
1975
- function v(f, h) {
1976
- return h && !f.href && (!f.children || f.children.length === 0);
477
+ function U(i, p) {
478
+ return p && !i.href && (!i.children || i.children.length === 0);
1977
479
  }
1978
- function p(f) {
1979
- return f.children && f.children.length > 0;
480
+ function W(i) {
481
+ return i.children && i.children.length > 0;
1980
482
  }
1981
- return (f, h) => e.items.length ? (C(), k("nav", {
483
+ return (i, p) => l.items.length ? (a(), s("nav", {
1982
484
  key: 0,
1983
- "aria-label": e.ariaLabel,
1984
- class: B(K(X)("breadcrumb", t.class)),
485
+ "aria-label": l.ariaLabel,
486
+ class: L(k(V)("breadcrumb", e.class)),
1985
487
  role: "navigation"
1986
488
  }, [
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 : _
489
+ t("ol", Ye, [
490
+ (a(!0), s(S, null, R(m.value, (f, C) => (a(), s(S, {
491
+ key: v.value && C === 1 ? l.items.length - 1 : C
1990
492
  }, [
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", {
493
+ C > 0 ? (a(), s("span", je, [
494
+ b(k(F), { class: "breadcrumb-separator__icon" })
495
+ ])) : _("", !0),
496
+ v.value && C === 1 && w.value.length > 0 ? (a(), s(S, { key: 1 }, [
497
+ t("li", Qe, [
498
+ t("button", {
1997
499
  type: "button",
1998
500
  class: "breadcrumb-dropdown-trigger breadcrumb-ellipsis-trigger",
1999
501
  "aria-haspopup": "menu",
2000
- "aria-expanded": d.value === "ellipsis",
2001
- onClick: h[0] || (h[0] = (b) => m("ellipsis"))
502
+ "aria-expanded": g.value === "ellipsis",
503
+ onClick: p[0] || (p[0] = (H) => y("ellipsis"))
2002
504
  }, [
2003
- et(K(Ke), {
505
+ b(k(te), {
2004
506
  class: "breadcrumb-dropdown-trigger__icon",
2005
507
  "aria-hidden": ""
2006
508
  }),
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", {
2011
- key: E,
2012
- href: b.href,
509
+ p[1] || (p[1] = t("span", { class: "sr-only" }, "Show more pages", -1))
510
+ ], 8, Je),
511
+ N(t("div", et, [
512
+ (a(!0), s(S, null, R(w.value, (H, M) => (a(), s("a", {
513
+ key: M,
514
+ href: H.href,
2013
515
  class: "breadcrumb-dropdown-item",
2014
516
  role: "menuitem",
2015
- onClick: g
2016
- }, z(b.label), 9, wo))), 128))
517
+ onClick: O
518
+ }, h(H.label), 9, tt))), 128))
2017
519
  ], 512), [
2018
- [pe, d.value === "ellipsis"]
520
+ [Z, g.value === "ellipsis"]
2019
521
  ])
2020
522
  ]),
2021
- y("span", Do, [
2022
- et(K(zt), { class: "breadcrumb-separator__icon" })
523
+ t("span", at, [
524
+ b(k(F), { class: "breadcrumb-separator__icon" })
2023
525
  ])
2024
- ], 64)) : G("", !0),
2025
- y("li", Oo, [
2026
- p(u) ? (C(), k(pt, { key: 0 }, [
2027
- y("button", {
526
+ ], 64)) : _("", !0),
527
+ t("li", ot, [
528
+ W(f) ? (a(), s(S, { key: 0 }, [
529
+ t("button", {
2028
530
  type: "button",
2029
531
  class: "breadcrumb-dropdown-trigger",
2030
532
  "aria-haspopup": "menu",
2031
- "aria-expanded": d.value === `item-${_}`,
2032
- onClick: (b) => m(`item-${_}`)
533
+ "aria-expanded": g.value === `item-${C}`,
534
+ onClick: (H) => y(`item-${C}`)
2033
535
  }, [
2034
- be(z(u.label) + " ", 1),
2035
- et(K(Ze), {
536
+ P(h(f.label) + " ", 1),
537
+ b(k(ae), {
2036
538
  class: "breadcrumb-dropdown-trigger__icon",
2037
539
  "aria-hidden": ""
2038
540
  }),
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", {
2043
- key: E,
2044
- href: b.href,
541
+ p[2] || (p[2] = t("span", { class: "sr-only" }, "Toggle menu", -1))
542
+ ], 8, st),
543
+ N(t("div", rt, [
544
+ (a(!0), s(S, null, R(f.children, (H, M) => (a(), s("a", {
545
+ key: M,
546
+ href: H.href,
2045
547
  class: "breadcrumb-dropdown-item",
2046
548
  role: "menuitem",
2047
- onClick: g
2048
- }, z(b.label), 9, No))), 128))
549
+ onClick: O
550
+ }, h(H.label), 9, lt))), 128))
2049
551
  ], 512), [
2050
- [pe, d.value === `item-${_}`]
552
+ [Z, g.value === `item-${C}`]
2051
553
  ])
2052
- ], 64)) : v(u, _ === i.value.length - 1) ? (C(), k("span", Bo, z(u.label), 1)) : u.href ? (C(), k("a", {
554
+ ], 64)) : U(f, C === m.value.length - 1) ? (a(), s("span", ct, h(f.label), 1)) : f.href ? (a(), s("a", {
2053
555
  key: 2,
2054
- href: u.href,
556
+ href: f.href,
2055
557
  class: "breadcrumb-link"
2056
- }, z(u.label), 9, Fo)) : (C(), k("span", Ro, z(u.label), 1))
558
+ }, h(f.label), 9, nt)) : (a(), s("span", dt, h(f.label), 1))
2057
559
  ])
2058
560
  ], 64))), 128))
2059
561
  ])
2060
- ], 10, $o)) : G("", !0);
562
+ ], 10, Xe)) : _("", !0);
2061
563
  }
2062
- }), ps = [
564
+ }), yt = [
2063
565
  "primary",
2064
566
  "secondary",
2065
567
  "outline",
2066
568
  "ghost",
2067
569
  "ghost-muted",
2068
570
  "destructive"
2069
- ], ms = ["mini", "small", "default", "large", "icon"], gs = [
571
+ ], At = ["mini", "small", "default", "large", "icon"], xt = [
2070
572
  "ee-blue",
2071
573
  "tech-blue",
2072
574
  "byte-white",
@@ -2076,105 +578,105 @@ const Vt = Symbol("carousel"), no = {
2076
578
  "equal-ember"
2077
579
  ];
2078
580
  export {
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
581
+ jt as Accordion,
582
+ Qt as AccordionContent,
583
+ Jt as AccordionItem,
584
+ ea as AccordionTrigger,
585
+ aa as AlertDialog,
586
+ oa as AlertDialogAction,
587
+ sa as AlertDialogCancel,
588
+ ra as AlertDialogContent,
589
+ la as AlertDialogDescription,
590
+ ca as AlertDialogFooter,
591
+ na as AlertDialogHeader,
592
+ da as AlertDialogTitle,
593
+ ia as AlertDialogTrigger,
594
+ Et as BADGE_ROUNDNESS,
595
+ Lt as BADGE_VARIANTS,
596
+ xt as BUTTON_COLORS,
597
+ At as BUTTON_SIZES,
598
+ yt as BUTTON_VARIANTS,
599
+ _a as Badge,
600
+ wt as Breadcrumb,
601
+ va as Button,
602
+ Dt as ButtonGroup,
603
+ Ot as ButtonGroupSeparator,
604
+ Mt as ButtonGroupText,
605
+ Qa as CHECKBOX_FIELD_APPEARANCES,
606
+ Ja as CHECKBOX_FIELD_LAYOUTS,
607
+ Nt as Carousel,
608
+ Zt as CarouselContent,
609
+ Ft as CarouselItem,
610
+ Gt as CarouselNext,
611
+ Pt as CarouselPrevious,
612
+ eo as Checkbox,
613
+ to as CheckboxField,
614
+ gt as ContentCard,
615
+ I as EELogo,
616
+ Fe as EELogoIcon,
617
+ Aa as FIELD_LEGEND_VARIANTS,
618
+ xa as FIELD_ORIENTATIONS,
619
+ $a as Field,
620
+ Va as FieldContent,
621
+ La as FieldDescription,
622
+ Ta as FieldError,
623
+ Ia as FieldGroup,
624
+ Ea as FieldLabel,
625
+ Da as FieldLegend,
626
+ Oa as FieldSeparator,
627
+ Ma as FieldSet,
628
+ wa as FieldTitle,
629
+ ba as INPUT_SIZES,
630
+ Ha as Input,
631
+ Vt as KUAT_LOGO_LOCKUP_MODE,
632
+ $t as KUAT_LOGO_LOCKUP_USE,
633
+ Ht as KUAT_RADIAL_PROGRESS_COLORS,
634
+ bt as KUAT_RADIAL_PROGRESS_SIZES,
635
+ Ut as KuatCarousel,
636
+ Wt as KuatCarouselContent,
637
+ zt as KuatCarouselItem,
638
+ qt as KuatCarouselNext,
639
+ Xt as KuatCarouselPrevious,
640
+ ft as KuatHeader,
641
+ St as KuatLogoLockup,
642
+ Ct as KuatRadialProgress,
643
+ Ba as KuatSelect,
644
+ oo as RADIO_FIELD_APPEARANCES,
645
+ so as RADIO_FIELD_LAYOUTS,
646
+ ro as RadioField,
647
+ lo as RadioGroup,
648
+ co as RadioGroupItem,
649
+ Na as SELECT_LINES,
650
+ Za as SELECT_SIZES,
651
+ $o as SONNER_POSITIONS,
652
+ io as SWITCH_FIELD_APPEARANCES,
653
+ uo as SWITCH_FIELD_LAYOUTS,
654
+ Fa as Select,
655
+ Ga as SelectContent,
656
+ Pa as SelectGroup,
657
+ Ka as SelectItem,
658
+ Ua as SelectLabel,
659
+ Wa as SelectScrollDownButton,
660
+ za as SelectScrollUpButton,
661
+ qa as SelectSeparator,
662
+ Xa as SelectTrigger,
663
+ Ya as SelectValue,
664
+ Vo as Sonner,
665
+ Lo as SonnerContent,
666
+ _o as Switch,
667
+ ho as SwitchField,
668
+ fa as TEXTAREA_RESIZE,
669
+ Co as TOGGLE_GROUP_ORIENTATIONS,
670
+ go as TOGGLE_SIZES,
671
+ fo as TOGGLE_SKINS,
672
+ ka as Textarea,
673
+ vo as Toggle,
674
+ bo as ToggleGroup,
675
+ Ho as ToggleGroupItem,
676
+ ha as badgeVariants,
677
+ Rt as buttonGroupVariants,
678
+ ma as buttonVariants,
679
+ V as cn,
680
+ kt as kuatHeaderVariants,
681
+ Eo as toast
2180
682
  };