slippers-ui 3.1.31 → 3.1.33

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,142 +1,142 @@
1
- import { defineComponent as S, computed as y, createElementBlock as r, openBlock as n, mergeProps as U, renderSlot as b, normalizeClass as g, createElementVNode as f, createBlock as B, resolveDynamicComponent as j, normalizeStyle as Z, withCtx as N, createCommentVNode as E, ref as L, onMounted as A, nextTick as te, onUnmounted as F, createVNode as $, unref as V, Fragment as T, renderList as z, withModifiers as K, toDisplayString as w, createTextVNode as M, resolveComponent as ae, withDirectives as P, vShow as q, normalizeProps as oe, guardReactiveProps as se, onBeforeUnmount as J, onBeforeMount as ne, vModelSelect as le } from "vue";
2
- import { _ as k, C as Q, a as X, b as Y, c as ie } from "./chunks/ChevronLgUp-HZ_-4Y4K.js";
3
- const re = ["href"], de = /* @__PURE__ */ S({
1
+ import { defineComponent as S, computed as y, createElementBlock as i, openBlock as n, mergeProps as U, renderSlot as b, normalizeClass as _, createElementVNode as v, createBlock as B, resolveDynamicComponent as j, normalizeStyle as Z, withCtx as N, createCommentVNode as E, ref as L, onMounted as A, onUnmounted as F, createVNode as $, unref as V, Fragment as T, renderList as z, withModifiers as K, toDisplayString as w, createTextVNode as M, resolveComponent as te, withDirectives as P, vShow as H, normalizeProps as ae, guardReactiveProps as oe, onBeforeUnmount as J, onBeforeMount as se, vModelSelect as ne } from "vue";
2
+ import { _ as k, C as Q, a as X, b as Y, c as le } from "./chunks/ChevronLgUp-HZ_-4Y4K.js";
3
+ const ie = ["href"], re = /* @__PURE__ */ S({
4
4
  __name: "SlpButton",
5
5
  props: {
6
6
  disabled: { type: Boolean },
7
7
  variant: {},
8
8
  href: {}
9
9
  },
10
- setup(h) {
11
- const e = h, s = y(() => e.disabled ?? !1), i = y(() => e.variant ?? "primary");
10
+ setup(f) {
11
+ const e = f, s = y(() => e.disabled ?? !1), l = y(() => e.variant ?? "primary");
12
12
  y(() => e.href ?? "");
13
13
  const a = y(() => {
14
- let o = [`slp-btn-${i.value}`];
14
+ let o = [`slp-btn-${l.value}`];
15
15
  return s.value && o.push("slp-btn-disabled"), o.join(" ");
16
16
  });
17
- return (o, p) => e.href ? (n(), r("a", U({ key: 0 }, o.$attrs, {
17
+ return (o, p) => e.href ? (n(), i("a", U({ key: 0 }, o.$attrs, {
18
18
  class: ["slp-btn", a.value],
19
19
  href: e.href
20
20
  }), [
21
21
  b(o.$slots, "default", {}, void 0, !0)
22
- ], 16, re)) : (n(), r("button", U({ key: 1 }, o.$attrs, {
22
+ ], 16, ie)) : (n(), i("button", U({ key: 1 }, o.$attrs, {
23
23
  class: ["slp-btn", a.value],
24
24
  type: "button"
25
25
  }), [
26
26
  b(o.$slots, "default", {}, void 0, !0)
27
27
  ], 16));
28
28
  }
29
- }), H = /* @__PURE__ */ k(de, [["__scopeId", "data-v-c6fd7cb9"]]), ce = /* @__PURE__ */ S({
29
+ }), q = /* @__PURE__ */ k(re, [["__scopeId", "data-v-c6fd7cb9"]]), de = /* @__PURE__ */ S({
30
30
  __name: "SlpColumn",
31
31
  props: {
32
32
  cols: {},
33
33
  size: {}
34
34
  },
35
- setup(h) {
36
- const e = h, s = y(() => e.cols ?? null), i = y(() => e.size ?? "md"), a = y(() => s.value ? `slp-col-${i.value}-${s.value}` : `slp-col-${i.value}`);
37
- return (o, p) => (n(), r("div", {
38
- class: g(a.value)
35
+ setup(f) {
36
+ const e = f, s = y(() => e.cols ?? null), l = y(() => e.size ?? "md"), a = y(() => s.value ? `slp-col-${l.value}-${s.value}` : `slp-col-${l.value}`);
37
+ return (o, p) => (n(), i("div", {
38
+ class: _(a.value)
39
39
  }, [
40
40
  b(o.$slots, "default", {}, void 0, !0)
41
41
  ], 2));
42
42
  }
43
- }), St = /* @__PURE__ */ k(ce, [["__scopeId", "data-v-00b68f22"]]), ue = {
43
+ }), wt = /* @__PURE__ */ k(de, [["__scopeId", "data-v-00b68f22"]]), ce = {
44
44
  key: 0,
45
45
  class: "slp-full-light-purple-background"
46
- }, pe = {
46
+ }, ue = {
47
47
  key: 1,
48
48
  class: "slp-charcoal-grey-background"
49
- }, ve = {
49
+ }, pe = {
50
50
  key: 2,
51
51
  class: "slp-gradient-background"
52
- }, fe = {
52
+ }, ve = {
53
53
  key: 3,
54
54
  class: "slp-full-gradient-background"
55
- }, he = {
55
+ }, fe = {
56
56
  key: 4,
57
57
  class: "slp-full-charcoal-background"
58
- }, ge = {
58
+ }, he = {
59
59
  key: 5,
60
60
  class: "slp-partial-charcoal-background"
61
- }, me = {
61
+ }, ge = {
62
62
  key: 6,
63
63
  class: "slp-half-grey-background"
64
- }, _e = {
64
+ }, me = {
65
65
  key: 7,
66
66
  class: "slp-partial-white-background"
67
- }, be = {
67
+ }, _e = {
68
68
  key: 8,
69
69
  class: "slp-partial-grey-background"
70
- }, ye = /* @__PURE__ */ S({
70
+ }, be = /* @__PURE__ */ S({
71
71
  __name: "SlpContainer",
72
72
  props: {
73
73
  fluid: { type: Boolean },
74
74
  variant: {}
75
75
  },
76
- setup(h) {
77
- const e = h, s = y(() => e.fluid ?? !1), i = y(() => e.variant ?? "white"), a = y(() => s.value ? "fluid" : "");
78
- return (o, p) => i.value === "light-purple-100" ? (n(), r("div", ue, [
79
- f("div", {
80
- class: g(["slp-container", a.value])
76
+ setup(f) {
77
+ const e = f, s = y(() => e.fluid ?? !1), l = y(() => e.variant ?? "white"), a = y(() => s.value ? "fluid" : "");
78
+ return (o, p) => l.value === "light-purple-100" ? (n(), i("div", ce, [
79
+ v("div", {
80
+ class: _(["slp-container", a.value])
81
81
  }, [
82
82
  b(o.$slots, "default", {}, void 0, !0)
83
83
  ], 2)
84
- ])) : i.value === "grey-100" ? (n(), r("div", pe, [
85
- f("div", {
86
- class: g(["slp-container", a.value])
84
+ ])) : l.value === "grey-100" ? (n(), i("div", ue, [
85
+ v("div", {
86
+ class: _(["slp-container", a.value])
87
87
  }, [
88
88
  b(o.$slots, "default", {}, void 0, !0)
89
89
  ], 2)
90
- ])) : i.value === "gradient" ? (n(), r("div", ve, [
91
- f("div", {
92
- class: g(["slp-container", a.value])
90
+ ])) : l.value === "gradient" ? (n(), i("div", pe, [
91
+ v("div", {
92
+ class: _(["slp-container", a.value])
93
93
  }, [
94
94
  b(o.$slots, "default", {}, void 0, !0)
95
95
  ], 2)
96
- ])) : i.value === "gradient-full" ? (n(), r("div", fe, [
97
- f("div", {
98
- class: g(["slp-container", a.value])
96
+ ])) : l.value === "gradient-full" ? (n(), i("div", ve, [
97
+ v("div", {
98
+ class: _(["slp-container", a.value])
99
99
  }, [
100
100
  b(o.$slots, "default", {}, void 0, !0)
101
101
  ], 2)
102
- ])) : i.value === "charcoal-100" ? (n(), r("div", he, [
103
- f("div", {
104
- class: g(["slp-container", a.value])
102
+ ])) : l.value === "charcoal-100" ? (n(), i("div", fe, [
103
+ v("div", {
104
+ class: _(["slp-container", a.value])
105
105
  }, [
106
106
  b(o.$slots, "default", {}, void 0, !0)
107
107
  ], 2)
108
- ])) : i.value === "charcoal-75" ? (n(), r("div", ge, [
109
- f("div", {
110
- class: g(["slp-container", a.value])
108
+ ])) : l.value === "charcoal-75" ? (n(), i("div", he, [
109
+ v("div", {
110
+ class: _(["slp-container", a.value])
111
111
  }, [
112
112
  b(o.$slots, "default", {}, void 0, !0)
113
113
  ], 2)
114
- ])) : i.value === "grey-50" ? (n(), r("div", me, [
115
- f("div", {
116
- class: g(["slp-container", a.value])
114
+ ])) : l.value === "grey-50" ? (n(), i("div", ge, [
115
+ v("div", {
116
+ class: _(["slp-container", a.value])
117
117
  }, [
118
118
  b(o.$slots, "default", {}, void 0, !0)
119
119
  ], 2)
120
- ])) : i.value === "white-75" ? (n(), r("div", _e, [
121
- f("div", {
122
- class: g(["slp-container", a.value])
120
+ ])) : l.value === "white-75" ? (n(), i("div", me, [
121
+ v("div", {
122
+ class: _(["slp-container", a.value])
123
123
  }, [
124
124
  b(o.$slots, "default", {}, void 0, !0)
125
125
  ], 2)
126
- ])) : i.value === "grey-75" ? (n(), r("div", be, [
127
- f("div", {
128
- class: g(["slp-container", a.value])
126
+ ])) : l.value === "grey-75" ? (n(), i("div", _e, [
127
+ v("div", {
128
+ class: _(["slp-container", a.value])
129
129
  }, [
130
130
  b(o.$slots, "default", {}, void 0, !0)
131
131
  ], 2)
132
- ])) : (n(), r("div", {
132
+ ])) : (n(), i("div", {
133
133
  key: 9,
134
- class: g(["slp-container", a.value])
134
+ class: _(["slp-container", a.value])
135
135
  }, [
136
136
  b(o.$slots, "default", {}, void 0, !0)
137
137
  ], 2));
138
138
  }
139
- }), x = /* @__PURE__ */ k(ye, [["__scopeId", "data-v-e594efe8"]]), $e = /* @__PURE__ */ S({
139
+ }), x = /* @__PURE__ */ k(be, [["__scopeId", "data-v-e594efe8"]]), ye = /* @__PURE__ */ S({
140
140
  __name: "SlpIcon",
141
141
  props: {
142
142
  size: {
@@ -155,11 +155,11 @@ const re = ["href"], de = /* @__PURE__ */ S({
155
155
  required: !0
156
156
  }
157
157
  },
158
- setup(h) {
159
- const e = h, s = y(() => {
158
+ setup(f) {
159
+ const e = f, s = y(() => {
160
160
  const a = ["slp-icon"];
161
161
  return typeof e.size == "string" && isNaN(Number(e.size)) && a.push(`slp-icon--size-${e.size}`), e.color && !e.color.startsWith("#") && a.push(`slp-icon--color-${e.color}`), a;
162
- }), i = y(() => {
162
+ }), l = y(() => {
163
163
  var o;
164
164
  const a = {};
165
165
  if ((o = e.color) != null && o.startsWith("#") && (a.color = e.color, a.fill = e.color), typeof e.size == "number" || !isNaN(Number(e.size))) {
@@ -169,32 +169,32 @@ const re = ["href"], de = /* @__PURE__ */ S({
169
169
  return a;
170
170
  });
171
171
  return (a, o) => {
172
- var p, d;
173
- return n(), B(j(h.icon), {
174
- class: g(["slp-icon", s.value]),
175
- style: Z(i.value),
172
+ var p, r;
173
+ return n(), B(j(f.icon), {
174
+ class: _(["slp-icon", s.value]),
175
+ style: Z(l.value),
176
176
  role: "img",
177
177
  "aria-hidden": "true",
178
- "data-icon-name": ((d = (p = h.icon) == null ? void 0 : p.__docgenInfo) == null ? void 0 : d.displayName) || ""
178
+ "data-icon-name": ((r = (p = f.icon) == null ? void 0 : p.__docgenInfo) == null ? void 0 : r.displayName) || ""
179
179
  }, null, 8, ["class", "style", "data-icon-name"]);
180
180
  };
181
181
  }
182
- }), O = /* @__PURE__ */ k($e, [["__scopeId", "data-v-b82aeda9"]]), ke = {}, we = { class: "slp-row" };
183
- function Se(h, e) {
184
- return n(), r("div", we, [
185
- b(h.$slots, "default", {}, void 0, !0)
182
+ }), O = /* @__PURE__ */ k(ye, [["__scopeId", "data-v-b82aeda9"]]), $e = {}, ke = { class: "slp-row" };
183
+ function we(f, e) {
184
+ return n(), i("div", ke, [
185
+ b(f.$slots, "default", {}, void 0, !0)
186
186
  ]);
187
187
  }
188
- const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f"]]), Le = {
188
+ const St = /* @__PURE__ */ k($e, [["render", we], ["__scopeId", "data-v-adc8d02f"]]), Se = {
189
189
  key: 0,
190
190
  class: "arrow-symbol"
191
- }, Ce = /* @__PURE__ */ S({
191
+ }, Le = /* @__PURE__ */ S({
192
192
  __name: "SlpTypography",
193
193
  props: {
194
194
  variant: {},
195
195
  tag: {}
196
196
  },
197
- setup(h) {
197
+ setup(f) {
198
198
  const e = [
199
199
  "display1",
200
200
  "heading1",
@@ -217,21 +217,21 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
217
217
  "arrow",
218
218
  "quotes",
219
219
  "emphasis"
220
- ], s = ["span", "h1", "h2", "h3", "h4", "h5", "p", "div"], i = h, a = y(() => e.includes(i.variant || "") ? i.variant : "body1"), o = y(() => s.includes(i.tag || "") ? i.tag : "span"), p = y(() => `slp-text-${a.value}`);
221
- return (d, u) => (n(), B(j(o.value), {
222
- class: g(p.value)
220
+ ], s = ["span", "h1", "h2", "h3", "h4", "h5", "p", "div"], l = f, a = y(() => e.includes(l.variant || "") ? l.variant : "body1"), o = y(() => s.includes(l.tag || "") ? l.tag : "span"), p = y(() => `slp-text-${a.value}`);
221
+ return (r, c) => (n(), B(j(o.value), {
222
+ class: _(p.value)
223
223
  }, {
224
224
  default: N(() => [
225
- b(d.$slots, "default", {}, void 0, !0),
226
- a.value === "arrow" ? (n(), r("span", Le, "→")) : E("", !0)
225
+ b(r.$slots, "default", {}, void 0, !0),
226
+ a.value === "arrow" ? (n(), i("span", Se, "→")) : E("", !0)
227
227
  ]),
228
228
  _: 3
229
229
  }, 8, ["class"]));
230
230
  }
231
- }), R = /* @__PURE__ */ k(Ce, [["__scopeId", "data-v-64ad2128"]]), Ie = {
231
+ }), R = /* @__PURE__ */ k(Le, [["__scopeId", "data-v-64ad2128"]]), Ce = {
232
232
  key: 0,
233
233
  class: "dropdown-menu"
234
- }, Ne = ["onClick"], Te = { class: "side-navigation" }, ze = ["data-ga-name", "onClick"], Ee = /* @__PURE__ */ S({
234
+ }, Ie = ["onClick"], Ne = { class: "side-navigation" }, Te = ["data-ga-name", "onClick"], ze = /* @__PURE__ */ S({
235
235
  __name: "SlpSideNavigation",
236
236
  props: {
237
237
  position: {
@@ -247,101 +247,101 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
247
247
  required: !0
248
248
  }
249
249
  },
250
- setup(h) {
251
- const e = h, s = L(null), i = (c) => {
252
- s.value && !s.value.contains(c.target) && (d.value = !1);
250
+ setup(f) {
251
+ const e = f, s = L(null), l = (d) => {
252
+ s.value && !s.value.contains(d.target) && (r.value = !1);
253
253
  }, a = L(null), o = L(null);
254
254
  let p = null;
255
- const d = L(!1), u = (c) => {
256
- const l = document.getElementById(c);
257
- l && l.scrollIntoView({ behavior: "smooth" }), d.value = !1;
258
- }, t = () => {
255
+ const r = L(!1), c = L(!0), t = (d) => {
256
+ const g = document.getElementById(d);
257
+ g && g.scrollIntoView({ behavior: "smooth" }), r.value = !1;
258
+ }, u = () => {
259
259
  if (!o.value) return;
260
- const c = e.navigationItems.map((l) => document.getElementById(l.id)).filter((l) => l !== null);
260
+ const d = (window.innerHeight - 120 - 48) * -1;
261
261
  p = new IntersectionObserver(
262
- (l) => {
263
- l.forEach((v) => {
264
- if (v.isIntersecting) {
265
- const m = v.target.getAttribute("id");
266
- m && (a.value = m);
267
- }
262
+ (g) => {
263
+ g.forEach((h) => {
264
+ h.isIntersecting ? a.value = h.target.id : c.value && (e.navigationItems.length > 0 && (a.value = e.navigationItems[0].id), c.value = !1);
268
265
  });
269
266
  },
270
267
  {
271
- rootMargin: "0px 0px -40% 0px",
272
- // When the 40% of the content is in the viewport the menu will be highlighted
273
- threshold: Array.from({ length: 99 }, (l, v) => (v + 2) / 100)
268
+ rootMargin: `-120px 0px ${d}px 0px`,
269
+ threshold: 0
274
270
  }
275
- ), c.forEach((l) => p == null ? void 0 : p.observe(l));
271
+ ), e.navigationItems.forEach((g) => {
272
+ const h = document.getElementById(g.id);
273
+ h && p.observe(h);
274
+ });
276
275
  };
277
276
  return A(() => {
278
- document.addEventListener("click", i), te(() => {
279
- t();
280
- });
277
+ document.addEventListener("click", l), window.addEventListener("load", () => {
278
+ u();
279
+ }), document.readyState === "complete" && u();
281
280
  }), F(() => {
282
- p && p.disconnect(), document.removeEventListener("click", i);
283
- }), (c, l) => (n(), r("div", {
284
- class: g([
281
+ p && p.disconnect(), document.removeEventListener("click", l);
282
+ }), (d, g) => (n(), i("div", {
283
+ class: _([
285
284
  "side-navigation-layout",
286
285
  `side-navigation-layout--${e.position}`,
287
286
  { "side-navigation--dark": e.darkMode }
288
287
  ])
289
288
  }, [
290
- f("div", {
289
+ v("div", {
291
290
  ref_key: "dropdownRef",
292
291
  ref: s,
293
292
  class: "side-navigation-dropdown"
294
293
  }, [
295
- f("button", {
294
+ v("button", {
296
295
  class: "dropdown-toggle",
297
- onClick: l[0] || (l[0] = (v) => d.value = !d.value)
296
+ onClick: g[0] || (g[0] = (h) => r.value = !r.value)
298
297
  }, [
299
- l[1] || (l[1] = f("span", null, "Jump to a section", -1)),
298
+ g[1] || (g[1] = v("span", null, "Jump to a section", -1)),
300
299
  $(O, {
301
- icon: d.value ? V(Q) : V(X),
300
+ icon: r.value ? V(Q) : V(X),
302
301
  color: "black",
303
302
  size: "sm"
304
303
  }, null, 8, ["icon"])
305
304
  ]),
306
- d.value ? (n(), r("ul", Ie, [
307
- (n(!0), r(T, null, z(e.navigationItems, (v) => (n(), r("li", {
308
- key: v.id,
305
+ r.value ? (n(), i("ul", Ce, [
306
+ (n(!0), i(T, null, z(e.navigationItems, (h) => (n(), i("li", {
307
+ key: h.id,
309
308
  class: "dropdown-item"
310
309
  }, [
311
- f("a", {
310
+ v("a", {
312
311
  href: "#",
313
312
  class: "dropdown-link",
314
- onClick: K((m) => u(v.id), ["prevent"])
315
- }, w(v.text), 9, Ne)
313
+ onClick: K((m) => t(h.id), ["prevent"])
314
+ }, w(h.text), 9, Ie)
316
315
  ]))), 128))
317
316
  ])) : E("", !0)
318
317
  ], 512),
319
- f("nav", Te, [
320
- f("ul", null, [
321
- (n(!0), r(T, null, z(e.navigationItems, (v) => (n(), r("li", {
322
- key: v.id,
318
+ v("nav", Ne, [
319
+ b(d.$slots, "navigation-header", {}, void 0, !0),
320
+ v("ul", null, [
321
+ (n(!0), i(T, null, z(e.navigationItems, (h) => (n(), i("li", {
322
+ key: h.id,
323
323
  class: "side-navigation__item"
324
324
  }, [
325
- f("a", {
325
+ v("a", {
326
326
  href: "#",
327
- class: g(["side-navigation__link", { "side-navigation__link--active": a.value === v.id }]),
328
- "data-ga-name": v.text,
327
+ class: _(["side-navigation__link", { "side-navigation__link--active": a.value === h.id }]),
328
+ "data-ga-name": h.text,
329
329
  "data-ga-location": "side anchor",
330
- onClick: K((m) => u(v.id), ["prevent"])
331
- }, w(v.text), 11, ze)
330
+ onClick: K((m) => t(h.id), ["prevent"])
331
+ }, w(h.text), 11, Te)
332
332
  ]))), 128))
333
333
  ])
334
334
  ]),
335
- f("div", {
335
+ v("div", {
336
336
  ref_key: "slotContentRef",
337
337
  ref: o,
338
338
  class: "side-navigation-content"
339
339
  }, [
340
- b(c.$slots, "default", {}, void 0, !0)
340
+ b(d.$slots, "default", {}, void 0, !0)
341
341
  ], 512)
342
342
  ], 2));
343
343
  }
344
- }), Ct = /* @__PURE__ */ k(Ee, [["__scopeId", "data-v-68f8d83f"]]), Ve = ["for"], Me = ["name", "value", "id", "checked", "disabled"], Ge = /* @__PURE__ */ S({
344
+ }), Lt = /* @__PURE__ */ k(ze, [["__scopeId", "data-v-73bd3d44"]]), Ee = ["for"], Ve = ["name", "value", "id", "checked", "disabled"], Me = /* @__PURE__ */ S({
345
345
  __name: "SlpRadioButton",
346
346
  props: {
347
347
  option: {},
@@ -349,32 +349,32 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
349
349
  config: {}
350
350
  },
351
351
  emits: ["update:modelValue"],
352
- setup(h, { emit: e }) {
353
- const s = e, i = (a) => {
352
+ setup(f, { emit: e }) {
353
+ const s = e, l = (a) => {
354
354
  const o = a.target;
355
355
  s("update:modelValue", o.value);
356
356
  };
357
357
  return (a, o) => {
358
- var p, d, u;
359
- return n(), r("label", {
358
+ var p, r, c;
359
+ return n(), i("label", {
360
360
  for: a.option,
361
- class: g(["slp-radio", { disabled: (p = a.config) == null ? void 0 : p.disabled }])
361
+ class: _(["slp-radio", { disabled: (p = a.config) == null ? void 0 : p.disabled }])
362
362
  }, [
363
363
  M(w(a.option) + " ", 1),
364
- f("input", {
364
+ v("input", {
365
365
  type: "radio",
366
366
  name: a.name,
367
367
  value: a.option,
368
368
  id: a.option,
369
- onInput: i,
370
- checked: (d = a.config) == null ? void 0 : d.checked,
371
- disabled: (u = a.config) == null ? void 0 : u.disabled
372
- }, null, 40, Me),
373
- o[0] || (o[0] = f("span", { class: "slp-radio__checkmark" }, null, -1))
374
- ], 10, Ve);
369
+ onInput: l,
370
+ checked: (r = a.config) == null ? void 0 : r.checked,
371
+ disabled: (c = a.config) == null ? void 0 : c.disabled
372
+ }, null, 40, Ve),
373
+ o[0] || (o[0] = v("span", { class: "slp-radio__checkmark" }, null, -1))
374
+ ], 10, Ee);
375
375
  };
376
376
  }
377
- }), Be = /* @__PURE__ */ k(Ge, [["__scopeId", "data-v-f37e970e"]]), Oe = /* @__PURE__ */ S({
377
+ }), Ge = /* @__PURE__ */ k(Me, [["__scopeId", "data-v-f37e970e"]]), Be = /* @__PURE__ */ S({
378
378
  __name: "SlpRadioButtonGroup",
379
379
  props: {
380
380
  options: {},
@@ -385,23 +385,23 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
385
385
  } }
386
386
  },
387
387
  emits: ["update:modelValue"],
388
- setup(h, { emit: e }) {
388
+ setup(f, { emit: e }) {
389
389
  const s = {
390
390
  VERTICAL: "vertical",
391
391
  HORIZONTAL: "horizontal"
392
- }, i = e, a = (o) => {
393
- i("update:modelValue", o);
392
+ }, l = e, a = (o) => {
393
+ l("update:modelValue", o);
394
394
  };
395
395
  return (o, p) => {
396
- var d, u;
396
+ var r, c;
397
397
  return n(), B(x, {
398
- class: g(["slp-radio-group", {
399
- "slp-radio-group--vertical": ((d = o.config) == null ? void 0 : d.orientation) === s.VERTICAL,
400
- "slp-radio-group--horizontal": ((u = o.config) == null ? void 0 : u.orientation) === s.HORIZONTAL
398
+ class: _(["slp-radio-group", {
399
+ "slp-radio-group--vertical": ((r = o.config) == null ? void 0 : r.orientation) === s.VERTICAL,
400
+ "slp-radio-group--horizontal": ((c = o.config) == null ? void 0 : c.orientation) === s.HORIZONTAL
401
401
  }])
402
402
  }, {
403
403
  default: N(() => [
404
- (n(!0), r(T, null, z(o.options, (t) => (n(), B(Be, {
404
+ (n(!0), i(T, null, z(o.options, (t) => (n(), B(Ge, {
405
405
  key: t.value,
406
406
  option: t.value,
407
407
  name: o.name,
@@ -416,26 +416,26 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
416
416
  }, 8, ["class"]);
417
417
  };
418
418
  }
419
- }), It = /* @__PURE__ */ k(Oe, [["__scopeId", "data-v-ae31ec89"]]), Re = {
419
+ }), Ct = /* @__PURE__ */ k(Be, [["__scopeId", "data-v-ae31ec89"]]), Oe = {
420
420
  key: 0,
421
421
  class: "slp-loading-round"
422
- }, Pe = {
422
+ }, Re = {
423
423
  key: 1,
424
424
  class: "slp-loading-linear"
425
- }, Ae = /* @__PURE__ */ S({
425
+ }, Pe = /* @__PURE__ */ S({
426
426
  name: "SlpLoader",
427
427
  __name: "SlpLoader",
428
428
  props: {
429
429
  config: {}
430
430
  },
431
- setup(h) {
432
- const e = h;
433
- return (s, i) => {
431
+ setup(f) {
432
+ const e = f;
433
+ return (s, l) => {
434
434
  var a;
435
- return ((a = e.config) == null ? void 0 : a.variant) === "round" ? (n(), r("div", Re)) : (n(), r("div", Pe));
435
+ return ((a = e.config) == null ? void 0 : a.variant) === "round" ? (n(), i("div", Oe)) : (n(), i("div", Re));
436
436
  };
437
437
  }
438
- }), Nt = /* @__PURE__ */ k(Ae, [["__scopeId", "data-v-ee32411b"]]), De = ["href", "data-ga-name", "data-ga-location"], We = /* @__PURE__ */ S({
438
+ }), It = /* @__PURE__ */ k(Pe, [["__scopeId", "data-v-ee32411b"]]), Ae = ["href", "data-ga-name", "data-ga-location"], De = /* @__PURE__ */ S({
439
439
  __name: "Tree",
440
440
  props: {
441
441
  text: { default: "" },
@@ -449,32 +449,32 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
449
449
  mobile: !1
450
450
  }) }
451
451
  },
452
- setup(h) {
452
+ setup(f) {
453
453
  return (e, s) => {
454
- var a, o, p, d, u, t;
455
- const i = ae("Tree", !0);
456
- return n(), r("div", {
457
- class: g([`depth-${(a = e.config) == null ? void 0 : a.depth}`, { mobile: (o = e.config) == null ? void 0 : o.mobile }])
454
+ var a, o, p, r, c, t;
455
+ const l = te("Tree", !0);
456
+ return n(), i("div", {
457
+ class: _([`depth-${(a = e.config) == null ? void 0 : a.depth}`, { mobile: (o = e.config) == null ? void 0 : o.mobile }])
458
458
  }, [
459
- e.text ? (n(), r("a", {
459
+ e.text ? (n(), i("a", {
460
460
  key: 0,
461
- class: g(["anchor", { selected: (p = e.config) == null ? void 0 : p.isSelected }]),
462
- href: (d = e.config) == null ? void 0 : d.href,
463
- "data-ga-name": (u = e.config) == null ? void 0 : u.dataGaName,
461
+ class: _(["anchor", { selected: (p = e.config) == null ? void 0 : p.isSelected }]),
462
+ href: (r = e.config) == null ? void 0 : r.href,
463
+ "data-ga-name": (c = e.config) == null ? void 0 : c.dataGaName,
464
464
  "data-ga-location": (t = e.config) == null ? void 0 : t.dataGaLocation
465
- }, w(e.text), 11, De)) : E("", !0),
466
- (n(!0), r(T, null, z(e.nodes, (c) => {
467
- var l, v, m, _, C, I;
468
- return n(), B(i, {
469
- key: c.text,
470
- nodes: c.nodes,
471
- text: c.text,
465
+ }, w(e.text), 11, Ae)) : E("", !0),
466
+ (n(!0), i(T, null, z(e.nodes, (u) => {
467
+ var d, g, h, m, C, I;
468
+ return n(), B(l, {
469
+ key: u.text,
470
+ nodes: u.nodes,
471
+ text: u.text,
472
472
  config: {
473
- href: ((l = c.config) == null ? void 0 : l.href) ?? "",
474
- dataGaName: (v = c.config) == null ? void 0 : v.dataGaName,
475
- dataGaLocation: (m = c.config) == null ? void 0 : m.dataGaLocation,
476
- depth: (((_ = e.config) == null ? void 0 : _.depth) ?? 0) + 1,
477
- isSelected: (C = c.config) == null ? void 0 : C.isSelected,
473
+ href: ((d = u.config) == null ? void 0 : d.href) ?? "",
474
+ dataGaName: (g = u.config) == null ? void 0 : g.dataGaName,
475
+ dataGaLocation: (h = u.config) == null ? void 0 : h.dataGaLocation,
476
+ depth: (((m = e.config) == null ? void 0 : m.depth) ?? 0) + 1,
477
+ isSelected: (C = u.config) == null ? void 0 : C.isSelected,
478
478
  mobile: (I = e.config) == null ? void 0 : I.mobile
479
479
  }
480
480
  }, null, 8, ["nodes", "text", "config"]);
@@ -482,55 +482,55 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
482
482
  ], 2);
483
483
  };
484
484
  }
485
- }), ee = /* @__PURE__ */ k(We, [["__scopeId", "data-v-c3be63ed"]]), qe = { class: "dropdown__list" }, He = { class: "horizontal-rule slp-my-16" }, Ue = /* @__PURE__ */ S({
485
+ }), ee = /* @__PURE__ */ k(De, [["__scopeId", "data-v-c3be63ed"]]), We = { class: "dropdown__list" }, He = { class: "horizontal-rule slp-my-16" }, qe = /* @__PURE__ */ S({
486
486
  __name: "SlpAnchorDropdown",
487
487
  props: {
488
488
  dropdownLabel: { default: "Jump to a section" },
489
489
  anchors: {},
490
490
  hyperlinks: {}
491
491
  },
492
- setup(h) {
492
+ setup(f) {
493
493
  const e = L(!1), s = () => {
494
494
  e.value = !e.value;
495
495
  };
496
- return (i, a) => {
497
- var o, p, d;
498
- return n(), r("div", {
499
- class: g(["dropdown", { hide: !e.value }])
496
+ return (l, a) => {
497
+ var o, p, r;
498
+ return n(), i("div", {
499
+ class: _(["dropdown", { hide: !e.value }])
500
500
  }, [
501
- $(H, {
501
+ $(q, {
502
502
  class: "dropdown__button",
503
503
  variant: "ghost",
504
504
  onClick: s
505
505
  }, {
506
506
  default: N(() => [
507
- f("span", null, w(i.dropdownLabel), 1),
507
+ v("span", null, w(l.dropdownLabel), 1),
508
508
  $(O, {
509
509
  icon: e.value ? V(Q) : V(X)
510
510
  }, null, 8, ["icon"])
511
511
  ]),
512
512
  _: 1
513
513
  }),
514
- f("div", qe, [
514
+ v("div", We, [
515
515
  P($(R, {
516
516
  tag: "div",
517
517
  variant: "body3-bold",
518
518
  class: "nav-heading"
519
519
  }, {
520
520
  default: N(() => [
521
- M(w(i.anchors.text), 1)
521
+ M(w(l.anchors.text), 1)
522
522
  ]),
523
523
  _: 1
524
524
  }, 512), [
525
- [q, i.anchors.text]
525
+ [H, l.anchors.text]
526
526
  ]),
527
527
  $(ee, {
528
528
  mobile: "",
529
- nodes: i.anchors.data,
529
+ nodes: l.anchors.data,
530
530
  onClick: s
531
531
  }, null, 8, ["nodes"]),
532
- P(f("div", He, null, 512), [
533
- [q, (o = i.hyperlinks) == null ? void 0 : o.data.length]
532
+ P(v("div", He, null, 512), [
533
+ [H, (o = l.hyperlinks) == null ? void 0 : o.data.length]
534
534
  ]),
535
535
  P($(R, {
536
536
  tag: "div",
@@ -538,27 +538,27 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
538
538
  class: "nav-heading"
539
539
  }, {
540
540
  default: N(() => {
541
- var u;
541
+ var c;
542
542
  return [
543
- M(w((u = i.hyperlinks) == null ? void 0 : u.text), 1)
543
+ M(w((c = l.hyperlinks) == null ? void 0 : c.text), 1)
544
544
  ];
545
545
  }),
546
546
  _: 1
547
547
  }, 512), [
548
- [q, (p = i.hyperlinks) == null ? void 0 : p.text]
548
+ [H, (p = l.hyperlinks) == null ? void 0 : p.text]
549
549
  ]),
550
- f("ul", null, [
551
- (n(!0), r(T, null, z((d = i.hyperlinks) == null ? void 0 : d.data, (u) => (n(), r("li", {
552
- key: u.text
550
+ v("ul", null, [
551
+ (n(!0), i(T, null, z((r = l.hyperlinks) == null ? void 0 : r.data, (c) => (n(), i("li", {
552
+ key: c.text
553
553
  }, [
554
- $(H, {
554
+ $(q, {
555
555
  class: "dropdown__link",
556
556
  variant: "ghost",
557
- href: u.config.href
557
+ href: c.config.href
558
558
  }, {
559
559
  default: N(() => [
560
- f("span", null, w(u.text), 1),
561
- $(H, { variant: "icon" }, {
560
+ v("span", null, w(c.text), 1),
561
+ $(q, { variant: "icon" }, {
562
562
  default: N(() => [
563
563
  $(O, {
564
564
  icon: V(Y),
@@ -576,106 +576,106 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
576
576
  ], 2);
577
577
  };
578
578
  }
579
- }), Ke = /* @__PURE__ */ k(Ue, [["__scopeId", "data-v-9b690a76"]]), je = { class: "mobile-navigation" }, Ze = {
579
+ }), Ue = /* @__PURE__ */ k(qe, [["__scopeId", "data-v-9b690a76"]]), Ke = { class: "mobile-navigation" }, je = {
580
580
  class: "desktop-navigation",
581
581
  id: "collapsible-sidebar-wrapper"
582
- }, Fe = { id: "collapsible-sidebar-content" }, Je = { id: "collapsible-sidebar" }, Qe = { class: "anchors" }, Xe = /* @__PURE__ */ S({
582
+ }, Ze = { id: "collapsible-sidebar-content" }, Fe = { id: "collapsible-sidebar" }, Je = { class: "anchors" }, Qe = /* @__PURE__ */ S({
583
583
  __name: "SlpSideNavigationWithTree",
584
584
  props: {
585
585
  anchors: {},
586
586
  hyperlinks: {},
587
587
  alwaysExpanded: { type: Boolean }
588
588
  },
589
- setup(h) {
590
- const e = h, s = L([]), i = L(
591
- e.anchors.data.map((l) => ({
592
- text: l.text,
593
- nodes: l.nodes,
589
+ setup(f) {
590
+ const e = f, s = L([]), l = L(
591
+ e.anchors.data.map((d) => ({
592
+ text: d.text,
593
+ nodes: d.nodes,
594
594
  config: {
595
- href: l.config.href,
596
- dataGaName: l.config.dataGaName,
597
- dataGaLocation: l.config.dataGaLocation,
595
+ href: d.config.href,
596
+ dataGaName: d.config.dataGaName,
597
+ dataGaLocation: d.config.dataGaLocation,
598
598
  depth: 0,
599
599
  mobile: !1
600
600
  }
601
601
  }))
602
602
  ), a = L(!0);
603
603
  let o = null;
604
- const p = (l, v = []) => (l.forEach((m) => {
605
- m.config.href && v.push(m.config.href), m.nodes && p(m.nodes, v);
606
- }), v), d = (l) => {
607
- const v = [], m = (_) => _.some((C, I) => (v.push(I), C.config.href === l || C.nodes && m(C.nodes) ? !0 : (v.pop(), !1)));
608
- return m(e.anchors.data), v;
609
- }, u = (l) => {
610
- let v = 0;
611
- const m = (_, C, I) => {
604
+ const p = (d, g = []) => (d.forEach((h) => {
605
+ h.config.href && g.push(h.config.href), h.nodes && p(h.nodes, g);
606
+ }), g), r = (d) => {
607
+ const g = [], h = (m) => m.some((C, I) => (g.push(I), C.config.href === d || C.nodes && h(C.nodes) ? !0 : (g.pop(), !1)));
608
+ return h(e.anchors.data), g;
609
+ }, c = (d) => {
610
+ let g = 0;
611
+ const h = (m, C, I) => {
612
612
  const G = {
613
- text: _.text,
613
+ text: m.text,
614
614
  config: {
615
- href: _.config.href,
616
- dataGaName: _.config.dataGaName,
617
- dataGaLocation: _.config.dataGaLocation
615
+ href: m.config.href,
616
+ dataGaName: m.config.dataGaName,
617
+ dataGaLocation: m.config.dataGaLocation
618
618
  }
619
619
  };
620
- return l && C === 0 && (G.config.isSelected = !0), e.alwaysExpanded ? (s.value[I] === C && (G.config.isSelected = !0), _.nodes && (G.nodes = _.nodes.map(
621
- (D, W) => m(D, W, I + 1)
622
- ))) : s.value[I] === C && (_.nodes && (I += 1, G.nodes = _.nodes.map(
623
- (D, W) => m(D, W, I)
620
+ return d && C === 0 && (G.config.isSelected = !0), e.alwaysExpanded ? (s.value[I] === C && (G.config.isSelected = !0), m.nodes && (G.nodes = m.nodes.map(
621
+ (D, W) => h(D, W, I + 1)
622
+ ))) : s.value[I] === C && (m.nodes && (I += 1, G.nodes = m.nodes.map(
623
+ (D, W) => h(D, W, I)
624
624
  ), I -= 1), I + 1 === s.value.length && (G.config.isSelected = !0)), G;
625
625
  };
626
- return e.anchors.data.map((_, C) => m(_, C, v));
627
- }, t = (l) => {
628
- l.forEach((v) => {
629
- v.isIntersecting ? (s.value = d(`#${v.target.id}`), e.alwaysExpanded || (i.value = u(!1))) : a.value && !e.alwaysExpanded && (i.value = u(!0), a.value = !1), e.alwaysExpanded && (i.value = u(!1));
626
+ return e.anchors.data.map((m, C) => h(m, C, g));
627
+ }, t = (d) => {
628
+ d.forEach((g) => {
629
+ g.isIntersecting ? (s.value = r(`#${g.target.id}`), e.alwaysExpanded || (l.value = c(!1))) : a.value && !e.alwaysExpanded && (l.value = c(!0), a.value = !1), e.alwaysExpanded && (l.value = c(!1));
630
630
  });
631
- }, c = () => {
632
- i.value = u(!0), a.value = !1;
633
- const l = (window.innerHeight - 120 - 48) * -1;
631
+ }, u = () => {
632
+ l.value = c(!0), a.value = !1;
633
+ const d = (window.innerHeight - 120 - 48) * -1;
634
634
  o = new IntersectionObserver(t, {
635
- rootMargin: `-120px 0px ${l}px 0px`,
635
+ rootMargin: `-120px 0px ${d}px 0px`,
636
636
  threshold: 0
637
637
  }), setTimeout(() => {
638
- p(e.anchors.data).forEach((m) => {
639
- const _ = document.querySelector(m);
640
- _ && (o == null || o.observe(_));
638
+ p(e.anchors.data).forEach((h) => {
639
+ const m = document.querySelector(h);
640
+ m && (o == null || o.observe(m));
641
641
  });
642
642
  }, 0);
643
643
  };
644
644
  return A(() => {
645
- window.addEventListener("resize", detectMobile), c();
645
+ u();
646
646
  }), F(() => {
647
- window.removeEventListener("resize", detectMobile), o && o.disconnect();
648
- }), (l, v) => (n(), r("div", null, [
649
- f("div", je, [
650
- $(Ke, oe(se({ anchors: l.anchors, hyperlinks: l.hyperlinks })), null, 16),
651
- b(l.$slots, "default", {}, void 0, !0)
647
+ o && o.disconnect();
648
+ }), (d, g) => (n(), i("div", null, [
649
+ v("div", Ke, [
650
+ $(Ue, ae(oe({ anchors: d.anchors, hyperlinks: d.hyperlinks })), null, 16),
651
+ b(d.$slots, "default", {}, void 0, !0)
652
652
  ]),
653
- f("div", Ze, [
654
- f("div", Fe, [
655
- b(l.$slots, "default", {}, void 0, !0)
653
+ v("div", je, [
654
+ v("div", Ze, [
655
+ b(d.$slots, "default", {}, void 0, !0)
656
656
  ]),
657
- f("nav", Je, [
658
- b(l.$slots, "header", {}, void 0, !0),
659
- f("div", Qe, [
660
- l.anchors.text ? (n(), B(R, {
657
+ v("nav", Fe, [
658
+ b(d.$slots, "header", {}, void 0, !0),
659
+ v("div", Je, [
660
+ d.anchors.text ? (n(), B(R, {
661
661
  key: 0,
662
662
  tag: "div",
663
663
  variant: "body3-bold",
664
664
  class: "nav-heading"
665
665
  }, {
666
666
  default: N(() => [
667
- M(w(l.anchors.text), 1)
667
+ M(w(d.anchors.text), 1)
668
668
  ]),
669
669
  _: 1
670
670
  })) : E("", !0),
671
- $(ee, { nodes: i.value }, null, 8, ["nodes"])
671
+ $(ee, { nodes: l.value }, null, 8, ["nodes"])
672
672
  ]),
673
- b(l.$slots, "footer", {}, void 0, !0)
673
+ b(d.$slots, "footer", {}, void 0, !0)
674
674
  ])
675
675
  ])
676
676
  ]));
677
677
  }
678
- }), Tt = /* @__PURE__ */ k(Xe, [["__scopeId", "data-v-15e9e921"]]), Ye = ["id", "aria-describedby"], xe = { class: "slp-tooltip__wrapper" }, et = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], tt = ["id"], at = ["id", "aria-describedby"], ot = { class: "slp-tooltip__wrapper" }, st = ["id", "innerHTML"], nt = ["id"], lt = /* @__PURE__ */ S({
678
+ }), Nt = /* @__PURE__ */ k(Qe, [["__scopeId", "data-v-28e2fc48"]]), Xe = ["id", "aria-describedby"], Ye = { class: "slp-tooltip__wrapper" }, xe = ["id", "data-ga-features", "data-ga-features-sub", "data-ga-features-sub-card", "data-ga-name", "data-ga-location", "href"], et = ["id"], tt = ["id", "aria-describedby"], at = { class: "slp-tooltip__wrapper" }, ot = ["id", "innerHTML"], st = ["id"], nt = /* @__PURE__ */ S({
679
679
  __name: "SlpTooltip",
680
680
  props: {
681
681
  text: { default: "" },
@@ -685,24 +685,24 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
685
685
  id: { default: "" },
686
686
  dataProperties: { default: null }
687
687
  },
688
- setup(h) {
689
- const e = h, s = L(!1), i = L(""), a = L(""), o = L(""), p = (t) => {
688
+ setup(f) {
689
+ const e = f, s = L(!1), l = L(""), a = L(""), o = L(""), p = (t) => {
690
690
  e.mode === "hover" && (s.value = t.type === "mouseenter");
691
- }, d = () => {
691
+ }, r = () => {
692
692
  s.value = e.mode === "click" ? !s.value : !1;
693
- }, u = (t) => {
693
+ }, c = (t) => {
694
694
  t.target.id !== e.id && (s.value = !1);
695
695
  };
696
696
  return A(() => {
697
- if (e.mode === "click" && document.addEventListener("click", u), e.text) {
698
- const t = e.text.match(/\[(.*?)\]/), c = e.text.match(/\((.*?)\)/);
699
- i.value = t ? t[1] : "", a.value = c ? c[1] : "", o.value = e.text.replace(`(${a.value})`, "").replace(`[${i.value}]`, "").trim();
697
+ if (e.mode === "click" && document.addEventListener("click", c), e.text) {
698
+ const t = e.text.match(/\[(.*?)\]/), u = e.text.match(/\((.*?)\)/);
699
+ l.value = t ? t[1] : "", a.value = u ? u[1] : "", o.value = e.text.replace(`(${a.value})`, "").replace(`[${l.value}]`, "").trim();
700
700
  }
701
701
  }), J(() => {
702
- document.removeEventListener("click", u);
703
- }), (t, c) => {
704
- var l, v, m;
705
- return t.mode === "hover" ? (n(), r("div", {
702
+ document.removeEventListener("click", c);
703
+ }), (t, u) => {
704
+ var d, g, h;
705
+ return t.mode === "hover" ? (n(), i("div", {
706
706
  key: 0,
707
707
  id: t.id,
708
708
  "aria-label": "Click to open tooltip with more information.",
@@ -710,115 +710,115 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
710
710
  class: "slp-tooltip",
711
711
  onMouseenter: p,
712
712
  onMouseleave: p,
713
- onClick: d
713
+ onClick: r
714
714
  }, [
715
- f("div", xe, [
715
+ v("div", Ye, [
716
716
  b(t.$slots, "default", {}, void 0, !0),
717
- s.value ? (n(), r("div", {
717
+ s.value ? (n(), i("div", {
718
718
  key: 0,
719
- class: g(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
719
+ class: _(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
720
720
  }, [
721
721
  M(w(o.value) + " ", 1),
722
- t.text ? (n(), r("a", {
722
+ t.text ? (n(), i("a", {
723
723
  key: 0,
724
724
  id: `${t.id}-content`,
725
725
  "data-ga-features": t.dataProperties && t.dataProperties.features.toLowerCase() || null,
726
- "data-ga-features-sub": (l = t.dataProperties) == null ? void 0 : l.sub,
727
- "data-ga-features-sub-card": (v = t.dataProperties) == null ? void 0 : v.card,
728
- "data-ga-name": (m = t.dataProperties) == null ? void 0 : m.plan,
726
+ "data-ga-features-sub": (d = t.dataProperties) == null ? void 0 : d.sub,
727
+ "data-ga-features-sub-card": (g = t.dataProperties) == null ? void 0 : g.card,
728
+ "data-ga-name": (h = t.dataProperties) == null ? void 0 : h.plan,
729
729
  "data-ga-location": t.dataProperties ? "features content" : null,
730
730
  role: "tooltip",
731
731
  href: a.value
732
- }, w(i.value), 9, et)) : t.list ? (n(), r("ul", {
732
+ }, w(l.value), 9, xe)) : t.list ? (n(), i("ul", {
733
733
  key: 1,
734
734
  id: `${t.id}-content`,
735
735
  role: "tooltip",
736
736
  class: "slp-tooltip__list"
737
737
  }, [
738
- (n(!0), r(T, null, z(t.list, (_) => (n(), r("li", {
739
- key: _.text
740
- }, w(_.text), 1))), 128))
741
- ], 8, tt)) : E("", !0)
738
+ (n(!0), i(T, null, z(t.list, (m) => (n(), i("li", {
739
+ key: m.text
740
+ }, w(m.text), 1))), 128))
741
+ ], 8, et)) : E("", !0)
742
742
  ], 2)) : E("", !0)
743
743
  ])
744
- ], 40, Ye)) : (n(), r("button", {
744
+ ], 40, Xe)) : (n(), i("button", {
745
745
  key: 1,
746
746
  id: t.id,
747
747
  "aria-label": "Click to open tooltip with more information.",
748
748
  "aria-describedby": `${t.id}-content`,
749
- class: g(`slp-tooltip ${t.mode === "click" ? "button-mode" : ""}`),
750
- onClick: d
749
+ class: _(`slp-tooltip ${t.mode === "click" ? "button-mode" : ""}`),
750
+ onClick: r
751
751
  }, [
752
- f("div", ot, [
752
+ v("div", at, [
753
753
  b(t.$slots, "default", {}, void 0, !0),
754
- s.value ? (n(), r("div", {
754
+ s.value ? (n(), i("div", {
755
755
  key: 0,
756
- class: g(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
756
+ class: _(["slp-tooltip__content", `${t.position} ${t.mode === "hover" ? "hover-mode" : ""}`])
757
757
  }, [
758
- t.text ? (n(), r("span", {
758
+ t.text ? (n(), i("span", {
759
759
  key: 0,
760
760
  id: `${t.id}-content`,
761
761
  role: "tooltip",
762
762
  innerHTML: t.text
763
- }, null, 8, st)) : (n(), r("ul", {
763
+ }, null, 8, ot)) : (n(), i("ul", {
764
764
  key: 1,
765
765
  id: `${t.id}-content`,
766
766
  role: "tooltip",
767
767
  class: "slp-tooltip__list"
768
768
  }, [
769
- (n(!0), r(T, null, z(t.list, (_) => (n(), r("li", {
770
- key: _.text
771
- }, w(_.text), 1))), 128))
772
- ], 8, nt))
769
+ (n(!0), i(T, null, z(t.list, (m) => (n(), i("li", {
770
+ key: m.text
771
+ }, w(m.text), 1))), 128))
772
+ ], 8, st))
773
773
  ], 2)) : E("", !0)
774
774
  ])
775
- ], 10, at));
775
+ ], 10, tt));
776
776
  };
777
777
  }
778
- }), it = /* @__PURE__ */ k(lt, [["__scopeId", "data-v-1280f345"]]), rt = {
778
+ }), lt = /* @__PURE__ */ k(nt, [["__scopeId", "data-v-1280f345"]]), it = {
779
779
  key: 0,
780
780
  class: "breadcrumb",
781
781
  vocab: "https://schema.org/",
782
782
  typeof: "BreadcrumbList"
783
- }, dt = ["onMouseenter", "onMouseleave"], ct = ["data-ga-name", "data-ga-location", "href"], ut = {
783
+ }, rt = ["onMouseenter", "onMouseleave"], dt = ["data-ga-name", "data-ga-location", "href"], ct = {
784
784
  key: 0,
785
785
  class: "breadcrumb__chevron"
786
- }, pt = ["content"], vt = {
786
+ }, ut = ["content"], pt = {
787
787
  key: 1,
788
788
  class: "breadcrumb",
789
789
  vocab: "https://schema.org/",
790
790
  typeof: "BreadcrumbList"
791
- }, ft = ["href", "data-ga-name", "data-ga-location"], ht = ["content"], gt = /* @__PURE__ */ S({
791
+ }, vt = ["href", "data-ga-name", "data-ga-location"], ft = ["content"], ht = /* @__PURE__ */ S({
792
792
  __name: "SlpBreadcrumb",
793
793
  props: {
794
794
  crumbs: { default: () => [] },
795
795
  router: {}
796
796
  },
797
- setup(h) {
798
- const e = h, s = L(e.crumbs), i = L(!1), a = (d) => {
799
- const u = d.split(" ");
800
- for (let t = 0; t < u.length; t++)
801
- u[t] = u[t][0].toUpperCase() + u[t].substr(1);
802
- return u.join(" ");
797
+ setup(f) {
798
+ const e = f, s = L(e.crumbs), l = L(!1), a = (r) => {
799
+ const c = r.split(" ");
800
+ for (let t = 0; t < c.length; t++)
801
+ c[t] = c[t][0].toUpperCase() + c[t].substr(1);
802
+ return c.join(" ");
803
803
  }, o = () => {
804
- i.value = window.innerWidth < 768;
805
- }, p = (d) => {
806
- s.value[d] && (s.value[d] = {
807
- ...s.value[d],
808
- hover: !s.value[d].hover
804
+ l.value = window.innerWidth < 768;
805
+ }, p = (r) => {
806
+ s.value[r] && (s.value[r] = {
807
+ ...s.value[r],
808
+ hover: !s.value[r].hover
809
809
  });
810
810
  };
811
- return ne(() => {
811
+ return se(() => {
812
812
  if (e.router) {
813
- const d = e.router.currentRoute.path, u = d.startsWith("/") ? d.substring(1).split("/") : d.split("/"), t = [];
814
- let c = "";
815
- u.forEach((l) => {
816
- c = `${c}/${l}`;
817
- const v = e.router.match(c);
818
- v.params.slug !== null && l.length && t.push({
819
- title: a(l.replace(/-/g, " ")),
813
+ const r = e.router.currentRoute.path, c = r.startsWith("/") ? r.substring(1).split("/") : r.split("/"), t = [];
814
+ let u = "";
815
+ c.forEach((d) => {
816
+ u = `${u}/${d}`;
817
+ const g = e.router.match(u);
818
+ g.params.slug !== null && d.length && t.push({
819
+ title: a(d.replace(/-/g, " ")),
820
820
  hover: !1,
821
- ...v
821
+ ...g
822
822
  });
823
823
  }), s.value = t;
824
824
  }
@@ -826,29 +826,29 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
826
826
  o(), window.addEventListener("resize", o);
827
827
  }), J(() => {
828
828
  window.removeEventListener("resize", o);
829
- }), (d, u) => s.value && !i.value ? (n(), r("ol", rt, [
830
- (n(!0), r(T, null, z(s.value, (t, c) => (n(), r("li", {
829
+ }), (r, c) => s.value && !l.value ? (n(), i("ol", it, [
830
+ (n(!0), i(T, null, z(s.value, (t, u) => (n(), i("li", {
831
831
  key: t.title,
832
- class: g(["breadcrumb__crumb", {
833
- "breadcrumb__crumb--disabled": c === s.value.length - 1
832
+ class: _(["breadcrumb__crumb", {
833
+ "breadcrumb__crumb--disabled": u === s.value.length - 1
834
834
  }]),
835
835
  property: "itemListElement",
836
836
  typeof: "ListItem",
837
- onMouseenter: (l) => p(c),
838
- onMouseleave: (l) => p(c)
837
+ onMouseenter: (d) => p(u),
838
+ onMouseleave: (d) => p(u)
839
839
  }, [
840
- $(it, {
840
+ $(lt, {
841
841
  text: t.title,
842
842
  class: "breadcrumb__crumb__tooltip",
843
843
  position: "top"
844
844
  }, {
845
845
  default: N(() => [
846
- f("a", {
846
+ v("a", {
847
847
  property: "item",
848
848
  typeof: "WebPage",
849
849
  "data-ga-name": t.dataGaName || t.title.toLowerCase(),
850
850
  "data-ga-location": t.dataGaLocation || "breadcrumb",
851
- href: c !== s.value.length - 1 ? t.path : void 0
851
+ href: u !== s.value.length - 1 ? t.path : void 0
852
852
  }, [
853
853
  $(R, {
854
854
  tag: "span",
@@ -860,30 +860,30 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
860
860
  ]),
861
861
  _: 2
862
862
  }, 1024)
863
- ], 8, ct)
863
+ ], 8, dt)
864
864
  ]),
865
865
  _: 2
866
866
  }, 1032, ["text"]),
867
- c !== s.value.length - 1 ? (n(), r("span", ut, [
867
+ u !== s.value.length - 1 ? (n(), i("span", ct, [
868
868
  $(O, {
869
869
  color: "accent-500",
870
870
  size: "xs",
871
871
  icon: V(Y)
872
872
  }, null, 8, ["icon"])
873
873
  ])) : E("", !0),
874
- f("meta", {
874
+ v("meta", {
875
875
  property: "position",
876
- content: c + 1
877
- }, null, 8, pt)
878
- ], 42, dt))), 128))
879
- ])) : s.value && i.value ? (n(), r("ol", vt, [
880
- (n(!0), r(T, null, z(s.value, (t) => (n(), r("li", {
876
+ content: u + 1
877
+ }, null, 8, ut)
878
+ ], 42, rt))), 128))
879
+ ])) : s.value && l.value ? (n(), i("ol", pt, [
880
+ (n(!0), i(T, null, z(s.value, (t) => (n(), i("li", {
881
881
  key: t.title,
882
882
  class: "breadcrumb__crumb breadcrumb__crumb--mobile",
883
883
  property: "itemListElement",
884
884
  typeof: "ListItem"
885
885
  }, [
886
- f("a", {
886
+ v("a", {
887
887
  class: "slp-flex slp-align-items-center",
888
888
  href: s.value[s.value.length - 2].path,
889
889
  "data-ga-name": t.dataGaName || t.title.toLowerCase(),
@@ -891,11 +891,11 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
891
891
  property: "item",
892
892
  typeof: "WebPage"
893
893
  }, [
894
- f("span", null, [
894
+ v("span", null, [
895
895
  $(O, {
896
896
  color: "accent-500",
897
897
  size: "xs",
898
- icon: V(ie)
898
+ icon: V(le)
899
899
  }, null, 8, ["icon"])
900
900
  ]),
901
901
  $(R, {
@@ -909,18 +909,18 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
909
909
  ]),
910
910
  _: 1
911
911
  })
912
- ], 8, ft),
913
- f("meta", {
912
+ ], 8, vt),
913
+ v("meta", {
914
914
  property: "position",
915
915
  content: s.value.length - 1
916
- }, null, 8, ht)
916
+ }, null, 8, ft)
917
917
  ]))), 128))
918
918
  ])) : E("", !0);
919
919
  }
920
- }), zt = /* @__PURE__ */ k(gt, [["__scopeId", "data-v-fd412793"]]), mt = ["value"], _t = {
920
+ }), Tt = /* @__PURE__ */ k(ht, [["__scopeId", "data-v-fd412793"]]), gt = ["value"], mt = {
921
921
  key: 1,
922
922
  class: "dropdown"
923
- }, bt = /* @__PURE__ */ S({
923
+ }, _t = /* @__PURE__ */ S({
924
924
  __name: "SlpDropdown",
925
925
  props: {
926
926
  modelValue: {},
@@ -929,55 +929,55 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
929
929
  valueKey: {}
930
930
  },
931
931
  emits: ["update:modelValue"],
932
- setup(h, { emit: e }) {
933
- const s = h, i = e, a = (d, u) => {
934
- if (typeof d == "object" && d !== null) {
935
- if (!u) {
936
- const l = Object.keys(d)[0];
937
- return d[l];
932
+ setup(f, { emit: e }) {
933
+ const s = f, l = e, a = (r, c) => {
934
+ if (typeof r == "object" && r !== null) {
935
+ if (!c) {
936
+ const d = Object.keys(r)[0];
937
+ return r[d];
938
938
  }
939
- const t = u.split(".");
940
- let c = d;
941
- for (const l of t)
942
- c = c == null ? void 0 : c[l];
943
- return c;
939
+ const t = c.split(".");
940
+ let u = r;
941
+ for (const d of t)
942
+ u = u == null ? void 0 : u[d];
943
+ return u;
944
944
  }
945
- return d;
945
+ return r;
946
946
  }, o = y(() => s.options.length > 0 ? a(s.options[0], s.valueKey) : ""), p = y({
947
947
  // Getter: Called when the template reads selectedValue
948
948
  // Returns the current modelValue from parent (or empty string if undefined)
949
949
  get: () => s.modelValue ?? o.value,
950
950
  // Setter: Called when the select's v-model updates selectedValue
951
951
  // Emits the new value to the parent component
952
- set: (d) => i("update:modelValue", d)
952
+ set: (r) => l("update:modelValue", r)
953
953
  });
954
- return (d, u) => {
954
+ return (r, c) => {
955
955
  var t;
956
- return (t = d.options) != null && t.length ? P((n(), r("select", {
956
+ return (t = r.options) != null && t.length ? P((n(), i("select", {
957
957
  key: 0,
958
- "onUpdate:modelValue": u[0] || (u[0] = (c) => p.value = c),
958
+ "onUpdate:modelValue": c[0] || (c[0] = (u) => p.value = u),
959
959
  class: "dropdown"
960
960
  }, [
961
- (n(!0), r(T, null, z(d.options, (c, l) => (n(), r("option", {
962
- key: `${a(c, d.valueKey)}-${l}`,
963
- value: a(c, d.valueKey)
964
- }, w(a(c, d.labelKey)), 9, mt))), 128))
961
+ (n(!0), i(T, null, z(r.options, (u, d) => (n(), i("option", {
962
+ key: `${a(u, r.valueKey)}-${d}`,
963
+ value: a(u, r.valueKey)
964
+ }, w(a(u, r.labelKey)), 9, gt))), 128))
965
965
  ], 512)), [
966
- [le, p.value]
967
- ]) : (n(), r("div", _t, u[1] || (u[1] = [
968
- f("p", null, "No options available", -1)
966
+ [ne, p.value]
967
+ ]) : (n(), i("div", mt, c[1] || (c[1] = [
968
+ v("p", null, "No options available", -1)
969
969
  ])));
970
970
  };
971
971
  }
972
- }), Et = /* @__PURE__ */ k(bt, [["__scopeId", "data-v-4a5d0657"]]), yt = ["id"], $t = /* @__PURE__ */ S({
972
+ }), zt = /* @__PURE__ */ k(_t, [["__scopeId", "data-v-4a5d0657"]]), bt = ["id"], yt = /* @__PURE__ */ S({
973
973
  __name: "SlpSection",
974
974
  props: {
975
975
  backgroundColor: {
976
976
  type: String,
977
977
  required: !1,
978
- validator(h) {
979
- const e = /^#([A-Fa-f0-9]{3}){1,2}$/.test(h), s = /^\$color-[a-zA-Z0-9-]+$/.test(h);
980
- return h ? e || s : !0;
978
+ validator(f) {
979
+ const e = /^#([A-Fa-f0-9]{3}){1,2}$/.test(f), s = /^\$color-[a-zA-Z0-9-]+$/.test(f);
980
+ return f ? e || s : !0;
981
981
  }
982
982
  },
983
983
  id: {
@@ -985,18 +985,18 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
985
985
  required: !1
986
986
  }
987
987
  },
988
- setup(h) {
989
- const e = h, s = y(() => {
988
+ setup(f) {
989
+ const e = f, s = y(() => {
990
990
  var a;
991
991
  return !e.backgroundColor || (a = e.backgroundColor) != null && a.startsWith("$") ? {} : { backgroundColor: e.backgroundColor };
992
- }), i = y(() => {
992
+ }), l = y(() => {
993
993
  var a, o;
994
994
  return (a = e.backgroundColor) != null && a.startsWith("$") ? `slp-background-${(o = e.backgroundColor) == null ? void 0 : o.slice(1)}` : null;
995
995
  });
996
- return (a, o) => (n(), r("section", {
996
+ return (a, o) => (n(), i("section", {
997
997
  style: Z(s.value),
998
- class: g(i.value),
999
- id: h.id || void 0
998
+ class: _(l.value),
999
+ id: f.id || void 0
1000
1000
  }, [
1001
1001
  $(x, null, {
1002
1002
  default: N(() => [
@@ -1004,23 +1004,23 @@ const Lt = /* @__PURE__ */ k(ke, [["render", Se], ["__scopeId", "data-v-adc8d02f
1004
1004
  ]),
1005
1005
  _: 3
1006
1006
  })
1007
- ], 14, yt));
1007
+ ], 14, bt));
1008
1008
  }
1009
- }), Vt = /* @__PURE__ */ k($t, [["__scopeId", "data-v-2b3ad016"]]);
1009
+ }), Et = /* @__PURE__ */ k(yt, [["__scopeId", "data-v-2b3ad016"]]);
1010
1010
  export {
1011
- zt as SlpBreadcrumb,
1012
- H as SlpButton,
1013
- St as SlpColumn,
1011
+ Tt as SlpBreadcrumb,
1012
+ q as SlpButton,
1013
+ wt as SlpColumn,
1014
1014
  x as SlpContainer,
1015
- Et as SlpDropdown,
1015
+ zt as SlpDropdown,
1016
1016
  O as SlpIcon,
1017
- Nt as SlpLoader,
1018
- Be as SlpRadioButton,
1019
- It as SlpRadioButtonGroup,
1020
- Lt as SlpRow,
1021
- Vt as SlpSection,
1022
- Ct as SlpSideNavigation,
1023
- Tt as SlpSideNavigationWithTree,
1024
- it as SlpTooltip,
1017
+ It as SlpLoader,
1018
+ Ge as SlpRadioButton,
1019
+ Ct as SlpRadioButtonGroup,
1020
+ St as SlpRow,
1021
+ Et as SlpSection,
1022
+ Lt as SlpSideNavigation,
1023
+ Nt as SlpSideNavigationWithTree,
1024
+ lt as SlpTooltip,
1025
1025
  R as SlpTypography
1026
1026
  };