@kiva/kv-components 6.58.0 → 6.59.1

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.
@@ -1,89 +1,89 @@
1
1
  import s from "./KvHeaderMenuLink.js";
2
- import { resolveComponent as l, resolveDirective as p, openBlock as t, createElementBlock as f, withDirectives as n, createBlock as i, withCtx as u, createTextVNode as a } from "vue";
2
+ import { resolveComponent as l, resolveDirective as p, openBlock as t, createElementBlock as f, withDirectives as i, createBlock as u, withCtx as n, createTextVNode as a } from "vue";
3
3
  import d from "../../_virtual/_plugin-vue_export-helper.js";
4
- const k = {
4
+ const v = {
5
5
  components: {
6
6
  KvHeaderMenuLink: s
7
7
  }
8
- }, m = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
9
- function v(w, e, c, b, N, T) {
8
+ }, k = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
9
+ function b(w, e, m, c, A, N) {
10
10
  const o = l("kv-header-menu-link"), r = p("kv-track-event");
11
- return t(), f("nav", m, [
12
- n((t(), i(o, { href: "/about" }, {
13
- default: u(() => e[0] || (e[0] = [
11
+ return t(), f("nav", k, [
12
+ i((t(), u(o, { href: "/about" }, {
13
+ default: n(() => e[0] || (e[0] = [
14
14
  a(" About us ")
15
15
  ])),
16
16
  _: 1
17
17
  })), [
18
- [r, ["TopNav", "click-menu-about-us"]]
18
+ [r, ["TopNav", "click-About-About us"]]
19
19
  ]),
20
- n((t(), i(o, { href: "/about/partner-with-us" }, {
21
- default: u(() => e[1] || (e[1] = [
20
+ i((t(), u(o, { href: "/about/partner-with-us" }, {
21
+ default: n(() => e[1] || (e[1] = [
22
22
  a(" Partner with us ")
23
23
  ])),
24
24
  _: 1
25
25
  })), [
26
- [r, ["TopNav", "click-menu-partner-with-us"]]
26
+ [r, ["TopNav", "click-About-Partner with us"]]
27
27
  ]),
28
- n((t(), i(o, { href: "/about/how" }, {
29
- default: u(() => e[2] || (e[2] = [
28
+ i((t(), u(o, { href: "/about/how" }, {
29
+ default: n(() => e[2] || (e[2] = [
30
30
  a(" How Kiva works ")
31
31
  ])),
32
32
  _: 1
33
33
  })), [
34
- [r, ["TopNav", "click-menu-how-kiva-works"]]
34
+ [r, ["TopNav", "click-About-How Kiva works"]]
35
35
  ]),
36
- n((t(), i(o, { href: "/about/where-kiva-works" }, {
37
- default: u(() => e[3] || (e[3] = [
36
+ i((t(), u(o, { href: "/about/where-kiva-works" }, {
37
+ default: n(() => e[3] || (e[3] = [
38
38
  a(" Where Kiva works ")
39
39
  ])),
40
40
  _: 1
41
41
  })), [
42
- [r, ["TopNav", "click-menu-where-kiva-works"]]
42
+ [r, ["TopNav", "click-About-Where Kiva works"]]
43
43
  ]),
44
- n((t(), i(o, { href: "/impact" }, {
45
- default: u(() => e[4] || (e[4] = [
44
+ i((t(), u(o, { href: "/impact" }, {
45
+ default: n(() => e[4] || (e[4] = [
46
46
  a(" Impact ")
47
47
  ])),
48
48
  _: 1
49
49
  })), [
50
- [r, ["TopNav", "click-menu-impact"]]
50
+ [r, ["TopNav", "click-About-Impact"]]
51
51
  ]),
52
- n((t(), i(o, { href: "/about/leadership" }, {
53
- default: u(() => e[5] || (e[5] = [
52
+ i((t(), u(o, { href: "/about/leadership" }, {
53
+ default: n(() => e[5] || (e[5] = [
54
54
  a(" Leadership ")
55
55
  ])),
56
56
  _: 1
57
57
  })), [
58
- [r, ["TopNav", "click-menu-leadership"]]
58
+ [r, ["TopNav", "click-About-Leadership"]]
59
59
  ]),
60
- n((t(), i(o, { href: "/about/finances" }, {
61
- default: u(() => e[6] || (e[6] = [
60
+ i((t(), u(o, { href: "/about/finances" }, {
61
+ default: n(() => e[6] || (e[6] = [
62
62
  a(" Finances ")
63
63
  ])),
64
64
  _: 1
65
65
  })), [
66
- [r, ["TopNav", "click-menu-finances"]]
66
+ [r, ["TopNav", "click-About-Finances"]]
67
67
  ]),
68
- n((t(), i(o, { href: "/about/press-center" }, {
69
- default: u(() => e[7] || (e[7] = [
68
+ i((t(), u(o, { href: "/about/press-center" }, {
69
+ default: n(() => e[7] || (e[7] = [
70
70
  a(" Press ")
71
71
  ])),
72
72
  _: 1
73
73
  })), [
74
- [r, ["TopNav", "click-menu-press"]]
74
+ [r, ["TopNav", "click-About-Press"]]
75
75
  ]),
76
- n((t(), i(o, { href: "/about/due-diligence" }, {
77
- default: u(() => e[8] || (e[8] = [
76
+ i((t(), u(o, { href: "/about/due-diligence" }, {
77
+ default: n(() => e[8] || (e[8] = [
78
78
  a(" Due diligence ")
79
79
  ])),
80
80
  _: 1
81
81
  })), [
82
- [r, ["TopNav", "click-menu-due-diligence"]]
82
+ [r, ["TopNav", "click-About-Due diligence"]]
83
83
  ])
84
84
  ]);
85
85
  }
86
- const K = /* @__PURE__ */ d(k, [["render", v]]);
86
+ const h = /* @__PURE__ */ d(v, [["render", b]]);
87
87
  export {
88
- K as default
88
+ h as default
89
89
  };
@@ -1 +1 @@
1
- .header-link[data-v-aaf8f53d]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-aaf8f53d]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-aaf8f53d] .avatar div:first-child{display:flex}
1
+ .header-link[data-v-fe81269b]{cursor:pointer;padding-top:1rem;padding-bottom:1rem;--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.header-link[data-v-fe81269b]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:none}[data-v-fe81269b] .avatar div:first-child{display:flex}
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as g, ref as r, computed as x, watch as D, onMounted as Q, onUnmounted as X, resolveComponent as p, resolveDirective as Y, openBlock as i, createElementBlock as w, withDirectives as s, normalizeClass as y, withModifiers as H, createVNode as E, createBlock as f, withCtx as U, createTextVNode as M, createElementVNode as T, createCommentVNode as _, vShow as P, toDisplayString as Z } from "vue";
1
+ import { defineAsyncComponent as k, ref as r, computed as x, watch as E, onMounted as Q, onUnmounted as X, resolveComponent as b, resolveDirective as Y, openBlock as i, createElementBlock as w, withDirectives as v, normalizeClass as p, withModifiers as H, createVNode as U, createBlock as y, withCtx as B, createTextVNode as f, createElementVNode as T, createCommentVNode as _, vShow as P, toDisplayString as Z } from "vue";
2
2
  import { mdiAccountCircle as $, mdiChevronDown as ee, mdiMagnify as ne, mdiMenu as te } from "@mdi/js";
3
3
  import oe from "numeral";
4
4
  import ae from "../KvMaterialIcon.js";
@@ -9,7 +9,7 @@ import { throttle as de } from "../../utils/throttle.js";
9
9
  import { isLegacyPlaceholderAvatar as ue } from "../../utils/imageUtils.js";
10
10
  import "./KvHeaderLinkBar.css";
11
11
  import me from "../../_virtual/_plugin-vue_export-helper.js";
12
- const se = g(() => import("./KvHeaderMobileMenu.js")), V = g(() => import("./KvHeaderMyKivaMenu.js")), ve = g(() => import("./LendMenu/KvLendMenu.js")), ce = g(() => import("./KvHeaderTakeActionMenu.js")), we = g(() => import("./KvHeaderAboutMenu.js")), B = 120, k = "avatar-menu", L = "menuButton", R = { top: "-3.75rem", width: "100%" }, fe = {
12
+ const se = k(() => import("./KvHeaderMobileMenu.js")), V = k(() => import("./KvHeaderMyKivaMenu.js")), ve = k(() => import("./LendMenu/KvLendMenu.js")), ce = k(() => import("./KvHeaderTakeActionMenu.js")), we = k(() => import("./KvHeaderAboutMenu.js")), L = 120, M = "avatar-menu", K = "menuButton", R = { top: "-3.75rem", width: "100%" }, fe = {
13
13
  components: {
14
14
  KvMaterialIcon: ae,
15
15
  KvIconBag: le,
@@ -58,56 +58,56 @@ const se = g(() => import("./KvHeaderMobileMenu.js")), V = g(() => import("./KvH
58
58
  "item-hover"
59
59
  ],
60
60
  setup(l, { emit: n }) {
61
- const a = r(null), e = r(null), K = r(null), O = r(null), h = r(null), c = r(null), A = r(null), I = r(null), d = r(null), t = r(null), u = (o, v, m = null) => {
62
- n("item-hover", o, v, m);
63
- }, F = (o, v, m = null) => {
61
+ const a = r(null), e = r(null), O = r(null), N = r(null), g = r(null), c = r(null), A = r(null), I = r(null), d = r(null), t = r(null), u = (o, s, m = null) => {
62
+ n("item-hover", o, s, m);
63
+ }, F = (o, s, m = null) => {
64
64
  navigator.maxTouchPoints || (t.value = o, u(
65
65
  o,
66
- v,
67
- o === L && l.isMobile ? R : m
66
+ s,
67
+ o === K && l.isMobile ? R : m
68
68
  ));
69
69
  }, z = (o) => {
70
70
  !navigator.maxTouchPoints && t.value === o && (t.value = null, u());
71
- }, N = () => {
72
- var C;
73
- const o = (C = a.value) == null ? void 0 : C.getBoundingClientRect();
71
+ }, S = () => {
72
+ var D;
73
+ const o = (D = a.value) == null ? void 0 : D.getBoundingClientRect();
74
74
  if (!o) return null;
75
- const m = o.left + o.width / 2 - B / 2;
75
+ const m = o.left + o.width / 2 - L / 2;
76
76
  return {
77
- ...m + B > window.innerWidth ? { right: 0 } : { left: l.isMobile ? 0 : `${m}px` },
77
+ ...m + L > window.innerWidth ? { right: 0 } : { left: l.isMobile ? 0 : `${m}px` },
78
78
  marginTop: "-2px",
79
79
  // Avoid closing avatar menu on header edge
80
80
  borderRadius: l.isMobile ? "auto" : "0px 0px 8px 8px",
81
- width: l.isMobile ? "100%" : `${B}px`
81
+ width: l.isMobile ? "100%" : `${L}px`
82
82
  };
83
- }, b = () => {
84
- t.value = k, u(a.value, V, N());
85
- }, W = (o, v, m) => {
86
- t.value === L && (t.value = null), !t.value || t.value !== o ? (t.value = o, o === k ? b() : o === L && l.isMobile ? u(o, v, R) : u(o, v, m)) : (t.value = null, u());
87
- }, S = de(() => {
88
- t.value === k && b();
83
+ }, h = () => {
84
+ t.value = M, u(a.value, V, S());
85
+ }, W = (o, s, m) => {
86
+ t.value === K && (t.value = null), !t.value || t.value !== o ? (t.value = o, o === M ? h() : o === K && l.isMobile ? u(o, s, R) : u(o, s, m)) : (t.value = null, u());
87
+ }, C = de(() => {
88
+ t.value === M && h();
89
89
  }, 100), j = x(() => l.isMobile ? void 0 : "/lend-by-category"), q = x(() => {
90
90
  var o;
91
91
  return ((o = l.lenderImageUrl) == null ? void 0 : o.split("/").pop()) ?? "";
92
92
  }), G = x(() => Math.floor(l.balance)), J = (o) => {
93
93
  o.target === o.currentTarget && u();
94
94
  };
95
- return D(
95
+ return E(
96
96
  () => l.isMobile,
97
97
  () => {
98
- t.value === k && b();
98
+ t.value === M && h();
99
99
  }
100
- ), D(
100
+ ), E(
101
101
  () => l.openMenuItem,
102
102
  (o) => {
103
103
  o || (t.value = null);
104
104
  }
105
105
  ), Q(() => {
106
- import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", S);
106
+ import("./KvHeaderMobileMenu.js"), import("./KvHeaderMyKivaMenu.js"), import("./LendMenu/KvLendMenu.js"), import("./KvHeaderTakeActionMenu.js"), import("./KvHeaderAboutMenu.js"), window.addEventListener("resize", C);
107
107
  }), X(() => {
108
- window.removeEventListener("resize", S);
108
+ window.removeEventListener("resize", C);
109
109
  }), {
110
- AVATAR_MENU_ID: k,
110
+ AVATAR_MENU_ID: M,
111
111
  openMenuId: t,
112
112
  numeral: oe,
113
113
  mdiAccountCircle: $,
@@ -117,9 +117,9 @@ const se = g(() => import("./KvHeaderMobileMenu.js")), V = g(() => import("./KvH
117
117
  onHover: u,
118
118
  avatar: a,
119
119
  lendButton: e,
120
- aboutUsLink: K,
121
- partnerWithUsLink: O,
122
- borrowLink: h,
120
+ aboutUsLink: O,
121
+ partnerWithUsLink: N,
122
+ borrowLink: g,
123
123
  supportKivaLink: c,
124
124
  basketLink: A,
125
125
  signInLink: I,
@@ -129,39 +129,39 @@ const se = g(() => import("./KvHeaderMobileMenu.js")), V = g(() => import("./KvH
129
129
  handleOnHover: F,
130
130
  handleTouchStart: W,
131
131
  handleMouseOut: z,
132
- handleAvatarMenuPosition: b,
132
+ handleAvatarMenuPosition: h,
133
133
  KvHeaderMobileMenu: se,
134
134
  KvHeaderMyKivaMenu: V,
135
135
  KvLendMenu: ve,
136
136
  KvHeaderTakeActionMenu: ce,
137
137
  KvHeaderAboutMenu: we,
138
138
  isLegacyPlaceholderAvatar: ue,
139
- getAvatarMenuPosition: N,
139
+ getAvatarMenuPosition: S,
140
140
  handleEmptySpaceClick: J,
141
141
  roundedBalance: G
142
142
  };
143
143
  }
144
144
  }, Me = ["href"], ke = { class: "tw-text-eco-green-4" }, ge = ["href"];
145
- function he(l, n, a, e, K, O) {
146
- const h = p("kv-material-icon"), c = p("KvHeaderDropdownLink"), A = p("kv-icon-bag"), I = p("KvUserAvatar"), d = Y("kv-track-event");
145
+ function he(l, n, a, e, O, N) {
146
+ const g = b("kv-material-icon"), c = b("KvHeaderDropdownLink"), A = b("kv-icon-bag"), I = b("KvUserAvatar"), d = Y("kv-track-event");
147
147
  return i(), w("div", {
148
148
  class: "tw-h-full tw-flex tw-items-center tw-gap-0.5 md:tw-gap-2 lg:tw-gap-2.5",
149
149
  onTouchstart: n[10] || (n[10] = (...t) => e.handleEmptySpaceClick && e.handleEmptySpaceClick(...t))
150
150
  }, [
151
- s((i(), w("button", {
151
+ v((i(), w("button", {
152
152
  ref: "menuButton",
153
- class: y(["header-link tw-inline-flex md:tw-hidden", {
153
+ class: p(["header-link tw-inline-flex md:tw-hidden", {
154
154
  "tw-text-tertiary": a.openMenuItem && a.openMenuItem !== e.KvHeaderMobileMenu
155
155
  }]),
156
156
  onMouseover: n[0] || (n[0] = (t) => e.handleOnHover("menuButton", e.KvHeaderMobileMenu)),
157
157
  onMouseout: n[1] || (n[1] = (t) => e.handleMouseOut("menuButton")),
158
158
  onTouchstart: n[2] || (n[2] = H((t) => e.handleTouchStart("menuButton", e.KvHeaderMobileMenu), ["stop"]))
159
159
  }, [
160
- E(h, { icon: e.mdiMenu }, null, 8, ["icon"])
160
+ U(g, { icon: e.mdiMenu }, null, 8, ["icon"])
161
161
  ], 34)), [
162
162
  [d, a.openMenuItem === e.KvHeaderMobileMenu ? ["TopNav", "click-Hamburger-menu"] : null]
163
163
  ]),
164
- s((i(), f(c, {
164
+ v((i(), y(c, {
165
165
  class: "tw-py-1",
166
166
  "ref-name": "lendButton",
167
167
  href: e.lendUrl,
@@ -173,14 +173,14 @@ function he(l, n, a, e, K, O) {
173
173
  onMouseout: n[3] || (n[3] = (t) => e.handleMouseOut("lendButton")),
174
174
  onTouchstart: n[4] || (n[4] = H((t) => e.handleTouchStart("lendButton", e.KvLendMenu), ["stop"]))
175
175
  }, {
176
- default: U(() => n[11] || (n[11] = [
177
- M(" Lend ")
176
+ default: B(() => n[11] || (n[11] = [
177
+ f(" Lend ")
178
178
  ])),
179
179
  _: 1
180
180
  }, 8, ["href", "menu-component", "open-menu-item", "dropdown-icon", "onOnHover"])), [
181
181
  [d, ["TopNav", "click-Lend"]]
182
182
  ]),
183
- s((i(), f(c, {
183
+ v((i(), y(c, {
184
184
  "ref-name": "takeActionButton",
185
185
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
186
186
  "menu-component": e.KvHeaderTakeActionMenu,
@@ -191,14 +191,14 @@ function he(l, n, a, e, K, O) {
191
191
  onMouseout: n[5] || (n[5] = (t) => e.handleMouseOut("takeActionButton")),
192
192
  onUserTap: e.handleTouchStart
193
193
  }, {
194
- default: U(() => n[12] || (n[12] = [
195
- M(" Take action ")
194
+ default: B(() => n[12] || (n[12] = [
195
+ f(" Take action ")
196
196
  ])),
197
197
  _: 1
198
198
  }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover", "onUserTap"])), [
199
- [d, ["TopNav", "click-TakeAction"]]
199
+ [d, ["TopNav", "click-take-action"]]
200
200
  ]),
201
- s((i(), f(c, {
201
+ U(c, {
202
202
  "ref-name": "aboutUsLink",
203
203
  "data-testid": "header-about",
204
204
  "base-class": "tw-hidden md:tw-inline-flex tw-py-1",
@@ -210,32 +210,30 @@ function he(l, n, a, e, K, O) {
210
210
  onMouseout: n[6] || (n[6] = (t) => e.handleMouseOut("aboutUsLink")),
211
211
  onUserTap: e.handleTouchStart
212
212
  }, {
213
- default: U(() => n[13] || (n[13] = [
214
- M(" About ")
213
+ default: B(() => n[13] || (n[13] = [
214
+ f(" About ")
215
215
  ])),
216
216
  _: 1
217
- }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover", "onUserTap"])), [
218
- [d, ["TopNav", "click-About"]]
219
- ]),
217
+ }, 8, ["menu-component", "open-menu-item", "dropdown-icon", "onOnHover", "onUserTap"]),
220
218
  n[17] || (n[17] = T("div", { class: "tw-flex-1 tw-h-full" }, null, -1)),
221
- a.loggedIn ? s((i(), w("a", {
219
+ a.loggedIn ? v((i(), w("a", {
222
220
  key: 0,
223
221
  ref: "dashboardLink",
224
222
  href: a.myDashboardUrl,
225
- class: y(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!a.openMenuItem }])
223
+ class: p(["header-link tw-hidden md:tw-block", { "tw-text-tertiary": !!a.openMenuItem }])
226
224
  }, n[14] || (n[14] = [
227
- M(" My dashboard ")
225
+ f(" My dashboard ")
228
226
  ]), 10, Me)), [
229
227
  [d, ["TopNav", "click-Dashboard"]]
230
228
  ]) : _("", !0),
231
- s((i(), w("a", {
229
+ v((i(), w("a", {
232
230
  ref: "basketLink",
233
231
  href: "/basket",
234
- class: y(["header-link tw-relative md:!tw-mr-0 tw-flex tw-items-center tw-gap-0.5", { "tw-text-tertiary": !!a.openMenuItem }]),
232
+ class: p(["header-link tw-relative md:!tw-mr-0 tw-flex tw-items-center tw-gap-0.5", { "tw-text-tertiary": !!a.openMenuItem }]),
235
233
  style: { "margin-right": "2px" },
236
234
  "data-testid": "header-basket"
237
235
  }, [
238
- E(A, {
236
+ U(A, {
239
237
  class: "tw-w-3 tw-h-3 md:tw-w-3.5 md:tw-h-3.5 tw-pointer-events-none",
240
238
  count: a.basketCount
241
239
  }, null, 8, ["count"]),
@@ -244,18 +242,18 @@ function he(l, n, a, e, K, O) {
244
242
  [P, a.basketCount > 0],
245
243
  [d, ["TopNav", "click-Basket"]]
246
244
  ]),
247
- s(T("div", {
245
+ v(T("div", {
248
246
  ref: "avatar",
249
247
  class: "tw-cursor-pointer tw-flex tw-items-center tw-gap-1 tw-bg-eco-green-1 tw-rounded-md tw-py-0.5 md:tw-py-1 tw-px-1 md:tw-px-2",
250
248
  onMouseover: n[7] || (n[7] = (t) => e.handleOnHover(e.AVATAR_MENU_ID, e.KvHeaderMyKivaMenu, e.getAvatarMenuPosition())),
251
249
  onMouseout: n[8] || (n[8] = (t) => e.handleMouseOut(e.AVATAR_MENU_ID)),
252
250
  onTouchstart: n[9] || (n[9] = H((t) => e.handleTouchStart(e.AVATAR_MENU_ID), ["stop"]))
253
251
  }, [
254
- e.isLegacyPlaceholderAvatar(e.avatarFilename) || !e.avatarFilename ? (i(), f(h, {
252
+ e.isLegacyPlaceholderAvatar(e.avatarFilename) || !e.avatarFilename ? (i(), y(g, {
255
253
  key: 0,
256
254
  icon: e.mdiAccountCircle,
257
255
  class: "tw-w-3"
258
- }, null, 8, ["icon"])) : (i(), f(I, {
256
+ }, null, 8, ["icon"])) : (i(), y(I, {
259
257
  key: 1,
260
258
  class: "avatar",
261
259
  "lender-name": a.lenderName,
@@ -266,19 +264,19 @@ function he(l, n, a, e, K, O) {
266
264
  ], 544), [
267
265
  [P, a.loggedIn]
268
266
  ]),
269
- a.loggedIn ? _("", !0) : s((i(), w("a", {
267
+ a.loggedIn ? _("", !0) : v((i(), w("a", {
270
268
  key: 1,
271
269
  ref: "signInLink",
272
270
  href: a.loginUrl,
273
- class: y(["header-link", { "tw-text-tertiary": !!a.openMenuItem }])
271
+ class: p(["header-link", { "tw-text-tertiary": !!a.openMenuItem }])
274
272
  }, n[16] || (n[16] = [
275
- M(" Sign in ")
273
+ f(" Sign in ")
276
274
  ]), 10, ge)), [
277
275
  [d, ["TopNav", "click-Sign-in"]]
278
276
  ])
279
277
  ], 32);
280
278
  }
281
- const Oe = /* @__PURE__ */ me(fe, [["render", he], ["__scopeId", "data-v-aaf8f53d"]]);
279
+ const Oe = /* @__PURE__ */ me(fe, [["render", he], ["__scopeId", "data-v-fe81269b"]]);
282
280
  export {
283
281
  Oe as default
284
282
  };
@@ -1 +1 @@
1
- .mobile-link[data-v-dc4a2676]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-dc4a2676]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
1
+ .mobile-link[data-v-2265193a]{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1));text-decoration-line:none}.mobile-link[data-v-2265193a]:hover{--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1));text-decoration-line:underline}
@@ -1,13 +1,13 @@
1
- import { mdiClose as f } from "@mdi/js";
2
- import b from "../KvAccordionItem.js";
1
+ import { mdiClose as w } from "@mdi/js";
2
+ import f from "../KvAccordionItem.js";
3
3
  import h from "../KvMaterialIcon.js";
4
- import { resolveComponent as u, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as y, createVNode as p, withCtx as r, createElementVNode as a, Fragment as N, renderList as K, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
4
+ import { resolveComponent as u, resolveDirective as g, openBlock as t, createElementBlock as o, createBlock as _, createCommentVNode as A, createVNode as p, withCtx as a, createElementVNode as r, Fragment as K, renderList as y, withDirectives as n, toDisplayString as m, createTextVNode as s } from "vue";
5
5
  import "./KvHeaderMobileMenu.css";
6
- import x from "../../_virtual/_plugin-vue_export-helper.js";
6
+ import N from "../../_virtual/_plugin-vue_export-helper.js";
7
7
  const I = {
8
8
  name: "KvHeaderMobileMenu",
9
9
  components: {
10
- KvAccordionItem: b,
10
+ KvAccordionItem: f,
11
11
  KvMaterialIcon: h
12
12
  },
13
13
  props: {
@@ -27,89 +27,89 @@ const I = {
27
27
  emits: ["closing-menu"],
28
28
  data() {
29
29
  return {
30
- mdiClose: f,
30
+ mdiClose: w,
31
31
  menuItems: [
32
32
  {
33
33
  title: "Choose someone to help",
34
34
  description: "Make a direct impact for someone in need",
35
35
  url: "/lend-by-category",
36
- trackEvent: "choose-someone-to-help"
36
+ trackEvent: "menu-choose-someone-to-help"
37
37
  },
38
38
  {
39
39
  title: "Donate to Kiva",
40
40
  description: "Help us change lives and tackle inequality",
41
41
  url: "/donate/supportus",
42
- trackEvent: "donate-to-kiva"
42
+ trackEvent: "Support-Kiva"
43
43
  },
44
44
  {
45
45
  title: "Partner with us",
46
46
  description: "Drive global impact aligned with your organization’s goals",
47
47
  url: "/about/partner-with-us",
48
- trackEvent: "partner-with-us"
48
+ trackEvent: "About-Partner with us"
49
49
  },
50
50
  {
51
51
  title: "Buy a Kiva Card",
52
52
  description: "Give the gift of lending to others",
53
53
  url: "/portfolio/kiva-card",
54
- trackEvent: "buy-a-kiva-card"
54
+ trackEvent: "menu-buy-kiva-card"
55
55
  }
56
56
  ]
57
57
  };
58
58
  }
59
- }, T = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, M = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, C = ["href"], E = { class: "tw-text-secondary tw-font-book" }, B = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, D = {
59
+ }, x = { class: "tw--mt-0.5 tw-pb-0.5 tw-gap-2 tw-flex tw-flex-col tw-items-end md:tw-hidden tw-font-medium tw-p-2.5" }, T = { class: "tw-flex tw-flex-col tw-gap-2 tw-pl-1" }, M = ["href"], C = { class: "tw-text-secondary tw-font-book" }, D = { class: "tw-flex tw-flex-col tw-gap-2 tw-pb-2 tw-pl-1" }, E = {
60
60
  href: "/about",
61
61
  class: "mobile-link"
62
- }, A = {
62
+ }, B = {
63
63
  href: "/about/how",
64
64
  class: "mobile-link"
65
65
  }, H = {
66
66
  href: "/about/where-kiva-works",
67
67
  class: "mobile-link"
68
- }, V = {
68
+ }, P = {
69
69
  href: "/impact",
70
70
  class: "mobile-link"
71
- }, $ = {
71
+ }, V = {
72
72
  href: "/about/leadership",
73
73
  class: "mobile-link"
74
- }, F = {
74
+ }, $ = {
75
75
  href: "/about/finances",
76
76
  class: "mobile-link"
77
- }, L = {
77
+ }, F = {
78
78
  href: "/about/press-center",
79
79
  class: "mobile-link"
80
- }, P = {
80
+ }, L = {
81
81
  href: "/about/due-diligence",
82
82
  class: "mobile-link"
83
83
  };
84
- function S(v, e, k, q, c, z) {
85
- const w = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = g("kv-track-event");
86
- return t(), o("nav", T, [
87
- k.isMobile ? (t(), _(w, {
84
+ function S(v, e, k, W, c, q) {
85
+ const b = u("KvMaterialIcon"), d = u("KvAccordionItem"), i = g("kv-track-event");
86
+ return t(), o("nav", x, [
87
+ k.isMobile ? (t(), _(b, {
88
88
  key: 0,
89
89
  icon: c.mdiClose,
90
90
  class: "tw-cursor-pointer",
91
91
  onClick: e[0] || (e[0] = (l) => v.$emit("closing-menu"))
92
- }, null, 8, ["icon"])) : y("", !0),
92
+ }, null, 8, ["icon"])) : A("", !0),
93
93
  p(d, {
94
94
  id: "accordion-take-action-menu",
95
95
  open: "",
96
96
  class: "tw-w-full tw-border-b-0"
97
97
  }, {
98
- header: r(() => e[1] || (e[1] = [
99
- a("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
98
+ header: a(() => e[1] || (e[1] = [
99
+ r("h3", { class: "tw-pb-0.5" }, " Take action ", -1)
100
100
  ])),
101
- default: r(() => [
102
- a("div", M, [
103
- (t(!0), o(N, null, K(c.menuItems, (l) => n((t(), o("div", {
101
+ default: a(() => [
102
+ r("div", T, [
103
+ (t(!0), o(K, null, y(c.menuItems, (l) => n((t(), o("div", {
104
104
  key: l.title
105
105
  }, [
106
- a("a", {
106
+ r("a", {
107
107
  href: l.url,
108
108
  class: "mobile-link"
109
- }, m(l.title), 9, C),
110
- a("p", E, m(l.description), 1)
109
+ }, m(l.title), 9, M),
110
+ r("p", C, m(l.description), 1)
111
111
  ])), [
112
- [i, ["TopNav", `click-menu-${l.trackEvent}`]]
112
+ [i, ["TopNav", `click-${l.trackEvent}`]]
113
113
  ])), 128))
114
114
  ])
115
115
  ]),
@@ -119,50 +119,50 @@ function S(v, e, k, q, c, z) {
119
119
  id: "accordion-about-menu",
120
120
  class: "tw-w-full tw-pb-1"
121
121
  }, {
122
- header: r(() => e[2] || (e[2] = [
123
- a("h3", { class: "tw-pb-0.5" }, " About ", -1)
122
+ header: a(() => e[2] || (e[2] = [
123
+ r("h3", { class: "tw-pb-0.5" }, " About ", -1)
124
124
  ])),
125
- default: r(() => [
126
- a("div", B, [
127
- n((t(), o("a", D, e[3] || (e[3] = [
125
+ default: a(() => [
126
+ r("div", D, [
127
+ n((t(), o("a", E, e[3] || (e[3] = [
128
128
  s("About us")
129
129
  ]))), [
130
- [i, ["TopNav", "click-menu-about-us"]]
130
+ [i, ["TopNav", "click-About-About us"]]
131
131
  ]),
132
- n((t(), o("a", A, e[4] || (e[4] = [
132
+ n((t(), o("a", B, e[4] || (e[4] = [
133
133
  s("How Kiva works")
134
134
  ]))), [
135
- [i, ["TopNav", "click-menu-how-kiva-works"]]
135
+ [i, ["TopNav", "click-About-How Kiva works"]]
136
136
  ]),
137
137
  n((t(), o("a", H, e[5] || (e[5] = [
138
138
  s("Where Kiva works")
139
139
  ]))), [
140
- [i, ["TopNav", "click-menu-where-kiva-works"]]
140
+ [i, ["TopNav", "click-About-Where Kiva works"]]
141
141
  ]),
142
- n((t(), o("a", V, e[6] || (e[6] = [
142
+ n((t(), o("a", P, e[6] || (e[6] = [
143
143
  s("Impact")
144
144
  ]))), [
145
- [i, ["TopNav", "click-menu-impact"]]
145
+ [i, ["TopNav", "click-About-Impact"]]
146
146
  ]),
147
- n((t(), o("a", $, e[7] || (e[7] = [
147
+ n((t(), o("a", V, e[7] || (e[7] = [
148
148
  s("Leadership")
149
149
  ]))), [
150
- [i, ["TopNav", "click-menu-leadership"]]
150
+ [i, ["TopNav", "click-About-Leadership"]]
151
151
  ]),
152
- n((t(), o("a", F, e[8] || (e[8] = [
152
+ n((t(), o("a", $, e[8] || (e[8] = [
153
153
  s("Finances")
154
154
  ]))), [
155
- [i, ["TopNav", "click-menu-finances"]]
155
+ [i, ["TopNav", "click-About-Finances"]]
156
156
  ]),
157
- n((t(), o("a", L, e[9] || (e[9] = [
157
+ n((t(), o("a", F, e[9] || (e[9] = [
158
158
  s("Press")
159
159
  ]))), [
160
- [i, ["TopNav", "click-menu-press"]]
160
+ [i, ["TopNav", "click-About-Press"]]
161
161
  ]),
162
- n((t(), o("a", P, e[10] || (e[10] = [
162
+ n((t(), o("a", L, e[10] || (e[10] = [
163
163
  s("Due diligence")
164
164
  ]))), [
165
- [i, ["TopNav", "click-menu-due-diligence"]]
165
+ [i, ["TopNav", "click-About-Due diligence"]]
166
166
  ])
167
167
  ])
168
168
  ]),
@@ -170,7 +170,7 @@ function S(v, e, k, q, c, z) {
170
170
  })
171
171
  ]);
172
172
  }
173
- const Q = /* @__PURE__ */ x(I, [["render", S], ["__scopeId", "data-v-dc4a2676"]]);
173
+ const Q = /* @__PURE__ */ N(I, [["render", S], ["__scopeId", "data-v-2265193a"]]);
174
174
  export {
175
175
  Q as default
176
176
  };
@@ -1,61 +1,61 @@
1
1
  import i from "./KvHeaderMenuLink.js";
2
- import { resolveComponent as c, resolveDirective as u, openBlock as o, createElementBlock as p, withDirectives as a, createBlock as r, withCtx as s, createElementVNode as e } from "vue";
2
+ import { resolveComponent as c, resolveDirective as p, openBlock as o, createElementBlock as u, withDirectives as a, createBlock as r, withCtx as s, createElementVNode as t } from "vue";
3
3
  import d from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = {
4
+ const v = {
5
5
  components: {
6
6
  KvHeaderMenuLink: i
7
7
  }
8
- }, v = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
9
- function f(k, t, w, x, _, h) {
10
- const n = c("kv-header-menu-link"), l = u("kv-track-event");
11
- return o(), p("nav", v, [
8
+ }, m = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
9
+ function f(k, e, w, x, _, h) {
10
+ const n = c("kv-header-menu-link"), l = p("kv-track-event");
11
+ return o(), u("nav", m, [
12
12
  a((o(), r(n, { href: "/lend-by-category" }, {
13
- default: s(() => t[0] || (t[0] = [
14
- e("div", null, [
15
- e("p", null, "Choose someone to help"),
16
- e("p", { class: "tw-text-small tw-text-secondary" }, " Make a direct impact for someone in need ")
13
+ default: s(() => e[0] || (e[0] = [
14
+ t("div", null, [
15
+ t("p", null, "Choose someone to help"),
16
+ t("p", { class: "tw-text-small tw-text-secondary" }, " Make a direct impact for someone in need ")
17
17
  ], -1)
18
18
  ])),
19
19
  _: 1
20
20
  })), [
21
- [l, ["TopNav", "click-menu-Choose-someone-to-help"]]
21
+ [l, ["TopNav", "click-menu-choose-someone-to-help"]]
22
22
  ]),
23
23
  a((o(), r(n, { href: "/donate/supportus" }, {
24
- default: s(() => t[1] || (t[1] = [
25
- e("div", null, [
26
- e("p", null, "Donate to Kiva"),
27
- e("p", { class: "tw-text-small tw-text-secondary" }, " Help us change lives and tackle inequality ")
24
+ default: s(() => e[1] || (e[1] = [
25
+ t("div", null, [
26
+ t("p", null, "Donate to Kiva"),
27
+ t("p", { class: "tw-text-small tw-text-secondary" }, " Help us change lives and tackle inequality ")
28
28
  ], -1)
29
29
  ])),
30
30
  _: 1
31
31
  })), [
32
- [l, ["TopNav", "click-menu-Donate-to-Kiva"]]
32
+ [l, ["TopNav", "click-Support-Kiva"]]
33
33
  ]),
34
34
  a((o(), r(n, { href: "/about/partner-with-us" }, {
35
- default: s(() => t[2] || (t[2] = [
36
- e("div", null, [
37
- e("p", null, "Partner with us"),
38
- e("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned with your organization’s goals ")
35
+ default: s(() => e[2] || (e[2] = [
36
+ t("div", null, [
37
+ t("p", null, "Partner with us"),
38
+ t("p", { class: "tw-text-small tw-text-secondary" }, " Drive global impact aligned with your organization’s goals ")
39
39
  ], -1)
40
40
  ])),
41
41
  _: 1
42
42
  })), [
43
- [l, ["TopNav", "click-menu-Partner-with-us"]]
43
+ [l, ["TopNav", "click-About-Partner with us"]]
44
44
  ]),
45
45
  a((o(), r(n, { href: "/gifts/kiva-cards" }, {
46
- default: s(() => t[3] || (t[3] = [
47
- e("div", null, [
48
- e("p", null, "Buy a Kiva Card"),
49
- e("p", { class: "tw-text-small tw-text-secondary" }, " Give the gift of lending to others ")
46
+ default: s(() => e[3] || (e[3] = [
47
+ t("div", null, [
48
+ t("p", null, "Buy a Kiva Card"),
49
+ t("p", { class: "tw-text-small tw-text-secondary" }, " Give the gift of lending to others ")
50
50
  ], -1)
51
51
  ])),
52
52
  _: 1
53
53
  })), [
54
- [l, ["TopNav", "click-menu-Buy-kiva-card"]]
54
+ [l, ["TopNav", "click-menu-buy-kiva-card"]]
55
55
  ])
56
56
  ]);
57
57
  }
58
- const C = /* @__PURE__ */ d(m, [["render", f]]);
58
+ const K = /* @__PURE__ */ d(v, [["render", f]]);
59
59
  export {
60
- C as default
60
+ K as default
61
61
  };
@@ -1 +1 @@
1
- .header-fade-enter-active[data-v-9410d912]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-9410d912]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-9410d912],.header-fade-leave-to[data-v-9410d912]{opacity:0}.header-fade-leave[data-v-9410d912],.header-fade-enter-to[data-v-9410d912]{opacity:1}.bg-opacity-50[data-v-9410d912]{background-color:rgba(var(--bg-action-highlight),.5)}
1
+ .header-fade-enter-active[data-v-8d56e82f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.header-fade-leave-active[data-v-8d56e82f]{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.1s}.header-fade-enter[data-v-8d56e82f],.header-fade-leave-to[data-v-8d56e82f]{opacity:0}.header-fade-leave[data-v-8d56e82f],.header-fade-enter-to[data-v-8d56e82f]{opacity:1}.bg-opacity-50[data-v-8d56e82f]{background-color:rgba(var(--bg-action-highlight),.5)}
@@ -1,18 +1,18 @@
1
- import { ref as a, shallowRef as N, computed as B, onMounted as S, onBeforeUnmount as x, resolveComponent as g, resolveDirective as A, openBlock as w, createBlock as E, withCtx as b, createElementVNode as k, normalizeStyle as h, createVNode as v, Transition as I, withDirectives as _, vShow as C, createElementBlock as K, normalizeClass as O, resolveDynamicComponent as G } from "vue";
2
- import z from "@kiva/kv-tokens";
3
- import P from "./KvWwwHeader/KvHeaderLinkBar.js";
4
- import R from "./KvWwwHeader/KvHeaderLogo.js";
5
- import V from "./KvThemeProvider.js";
6
- import W from "./KvPageContainer.js";
7
- import { throttle as Y } from "../utils/throttle.js";
1
+ import { ref as a, shallowRef as N, computed as B, onMounted as S, onBeforeUnmount as x, resolveComponent as g, resolveDirective as A, openBlock as w, createBlock as E, withCtx as b, createElementVNode as k, normalizeStyle as h, createVNode as v, Transition as I, withDirectives as y, vShow as T, createElementBlock as K, normalizeClass as O, resolveDynamicComponent as G, withModifiers as z } from "vue";
2
+ import P from "@kiva/kv-tokens";
3
+ import R from "./KvWwwHeader/KvHeaderLinkBar.js";
4
+ import V from "./KvWwwHeader/KvHeaderLogo.js";
5
+ import W from "./KvThemeProvider.js";
6
+ import Y from "./KvPageContainer.js";
7
+ import { throttle as j } from "../utils/throttle.js";
8
8
  import "./KvWwwHeader.css";
9
- import j from "../_virtual/_plugin-vue_export-helper.js";
10
- const q = "3.75rem", F = ["lendMenu", "aboutUsLink"], J = {
9
+ import q from "../_virtual/_plugin-vue_export-helper.js";
10
+ const F = "3.75rem", J = ["lendMenu", "aboutUsLink"], Q = {
11
11
  components: {
12
- KvHeaderLinkBar: P,
13
- KvHeaderLogo: R,
14
- KvThemeProvider: V,
15
- KvPageContainer: W
12
+ KvHeaderLinkBar: R,
13
+ KvHeaderLogo: V,
14
+ KvThemeProvider: W,
15
+ KvPageContainer: Y
16
16
  },
17
17
  props: {
18
18
  loggedIn: {
@@ -67,42 +67,42 @@ const q = "3.75rem", F = ["lendMenu", "aboutUsLink"], J = {
67
67
  emits: [
68
68
  "load-lend-menu-data"
69
69
  ],
70
- setup(L, { emit: o }) {
70
+ setup(C, { emit: o }) {
71
71
  const n = a(!0), e = a(null), r = a(!1), i = N(null), u = a(null), d = a({ left: 0, position: "relative" }), m = a(!1), c = a(null);
72
72
  let f;
73
73
  const l = B(() => {
74
74
  var s, t;
75
75
  return ((t = (s = u.value) == null ? void 0 : s.$options) == null ? void 0 : t.name) === "KvHeaderMobileMenu";
76
- }), y = (s, t, p) => {
76
+ }), _ = (s, t, p) => {
77
77
  t ? (c.value = s, clearTimeout(f), i.value !== t && (d.value = { left: 0, position: "relative" }), i.value = t, r.value = !0, p && (d.value = {
78
78
  ...p,
79
79
  position: "absolute"
80
80
  })) : r.value && (f = setTimeout(() => {
81
81
  r.value = !1, i.value = null;
82
82
  }, 100));
83
- }, T = (s) => {
83
+ }, L = (s) => {
84
84
  var t;
85
85
  (t = u.value) == null || t.onLoad(s);
86
86
  }, U = () => {
87
- if (!l.value) return y();
87
+ if (!l.value) return _();
88
88
  }, D = () => {
89
89
  o("load-lend-menu-data");
90
- }, H = () => {
91
- m.value = (window == null ? void 0 : window.innerWidth) < z.breakpoints.md, m.value && F.includes(c.value) && (i.value = null, r.value = !1);
92
- }, M = Y(H, 100);
90
+ }, M = () => {
91
+ m.value = (window == null ? void 0 : window.innerWidth) < P.breakpoints.md, m.value && J.includes(c.value) && (i.value = null, r.value = !1);
92
+ }, H = j(M, 100);
93
93
  return S(() => {
94
- H(), window.addEventListener("resize", M);
94
+ M(), window.addEventListener("resize", H);
95
95
  }), x(() => {
96
- window.removeEventListener("resize", M);
96
+ window.removeEventListener("resize", H);
97
97
  }), {
98
- HEADER_HEIGHT: q,
98
+ HEADER_HEIGHT: F,
99
99
  emitLendMenuEvent: D,
100
100
  isMobile: m,
101
101
  linksVisible: n,
102
102
  menuOpen: r,
103
103
  isMobileMenuActive: l,
104
- onHover: y,
105
- loadMenuData: T,
104
+ onHover: _,
105
+ loadMenuData: L,
106
106
  handleOverlayClick: U,
107
107
  activeHeaderItem: e,
108
108
  menuComponent: i,
@@ -110,11 +110,11 @@ const q = "3.75rem", F = ["lendMenu", "aboutUsLink"], J = {
110
110
  menuPosition: d
111
111
  };
112
112
  }
113
- }, Q = {
113
+ }, X = {
114
114
  href: "/",
115
115
  class: "tw-px-1 tw-py-2 tw-cursor-pointer tw-absolute tw-top-1/2 tw-left-1/2 tw--translate-y-1/2 tw--translate-x-1/2 tw-transition-all tw-duration-300"
116
116
  };
117
- function X(L, o, n, e, r, i) {
117
+ function Z(C, o, n, e, r, i) {
118
118
  const u = g("kv-header-link-bar"), d = g("kv-header-logo"), m = g("kv-page-container"), c = g("kv-theme-provider"), f = A("kv-track-event");
119
119
  return w(), E(c, {
120
120
  tag: "div",
@@ -129,7 +129,7 @@ function X(L, o, n, e, r, i) {
129
129
  default: b(() => [
130
130
  v(I, { name: "header-fade" }, {
131
131
  default: b(() => [
132
- _(v(u, {
132
+ y(v(u, {
133
133
  "logged-in": n.loggedIn,
134
134
  "basket-count": n.basketCount,
135
135
  "login-url": n.loginUrl,
@@ -141,12 +141,12 @@ function X(L, o, n, e, r, i) {
141
141
  balance: n.balance,
142
142
  onItemHover: e.onHover
143
143
  }, null, 8, ["logged-in", "basket-count", "login-url", "open-menu-item", "my-dashboard-url", "lender-name", "lender-image-url", "is-mobile", "balance", "onItemHover"]), [
144
- [C, e.linksVisible]
144
+ [T, e.linksVisible]
145
145
  ])
146
146
  ]),
147
147
  _: 1
148
148
  }),
149
- _((w(), K("a", Q, [
149
+ y((w(), K("a", X, [
150
150
  v(d)
151
151
  ])), [
152
152
  [f, ["TopNav", "click-Logo"]]
@@ -157,10 +157,10 @@ function X(L, o, n, e, r, i) {
157
157
  ], 4),
158
158
  v(I, { name: "header-fade" }, {
159
159
  default: b(() => [
160
- _(k("div", {
160
+ y(k("div", {
161
161
  class: "tw-absolute tw-z-modal tw-h-full tw-inset-x-0 tw-bg-eco-green-4 bg-opacity-50 tw-min-h-screen",
162
162
  style: h({ top: e.HEADER_HEIGHT }),
163
- onTouchstart: o[3] || (o[3] = (...l) => e.handleOverlayClick && e.handleOverlayClick(...l))
163
+ onTouchstart: o[4] || (o[4] = (...l) => e.handleOverlayClick && e.handleOverlayClick(...l))
164
164
  }, [
165
165
  k("div", {
166
166
  class: O(["tw-bg-primary tw-overflow-y-auto", { "tw-min-h-dvh": e.isMobileMenuActive }]),
@@ -168,8 +168,8 @@ function X(L, o, n, e, r, i) {
168
168
  ...e.menuPosition,
169
169
  maxHeight: e.isMobileMenuActive ? "auto" : `calc(100dvh - ${e.HEADER_HEIGHT})`
170
170
  }),
171
- onMouseover: o[1] || (o[1] = (l) => e.onHover(e.activeHeaderItem, e.menuComponent)),
172
- onMouseout: o[2] || (o[2] = (l) => e.onHover())
171
+ onMouseover: o[2] || (o[2] = (l) => e.onHover(e.activeHeaderItem, e.menuComponent)),
172
+ onMouseout: o[3] || (o[3] = (l) => e.onHover())
173
173
  }, [
174
174
  (w(), E(G(e.menuComponent), {
175
175
  ref: "menuComponentInstance",
@@ -183,11 +183,13 @@ function X(L, o, n, e, r, i) {
183
183
  "is-mobile": e.isMobile,
184
184
  "countries-not-lent-to-url": n.countriesNotLentToUrl,
185
185
  onLoadLendMenuData: e.emitLendMenuEvent,
186
- onClosingMenu: o[0] || (o[0] = (l) => e.onHover())
186
+ onClosingMenu: o[0] || (o[0] = (l) => e.onHover()),
187
+ onTouchstart: o[1] || (o[1] = z(() => {
188
+ }, ["stop"]))
187
189
  }, null, 40, ["logged-in", "login-url", "user-id", "is-borrower", "is-trustee", "my-dashboard-url", "show-m-g-upsell-link", "is-mobile", "countries-not-lent-to-url", "onLoadLendMenuData"]))
188
190
  ], 38)
189
191
  ], 36), [
190
- [C, e.menuOpen]
192
+ [T, e.menuOpen]
191
193
  ])
192
194
  ]),
193
195
  _: 1
@@ -196,7 +198,7 @@ function X(L, o, n, e, r, i) {
196
198
  _: 1
197
199
  });
198
200
  }
199
- const ie = /* @__PURE__ */ j(J, [["render", X], ["__scopeId", "data-v-9410d912"]]);
201
+ const se = /* @__PURE__ */ q(Q, [["render", Z], ["__scopeId", "data-v-8d56e82f"]]);
200
202
  export {
201
- ie as default
203
+ se as default
202
204
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.58.0",
3
+ "version": "6.59.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -114,5 +114,5 @@
114
114
  "embla-carousel-fade",
115
115
  "popper.js"
116
116
  ],
117
- "gitHead": "3c67ddaea821beb6c6de444767ab3efe9a60ca3b"
117
+ "gitHead": "5e81fd793bb59057127a7ce5aa7729b5a8fdd879"
118
118
  }