@leabankab/component-library 8.12.0 → 8.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/website.mjs CHANGED
@@ -2,10 +2,10 @@
2
2
  import { useRender as e } from "@base-ui/react/use-render";
3
3
  import { ArrowRight as t, ArrowUpRight as n, ChevronDown as r, ChevronLeft as i, ChevronRight as a, CircleUserRound as o, Menu as s, Pause as c, Play as l, TriangleAlert as u, X as d } from "lucide-react";
4
4
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
5
- import { Children as h, Fragment as g, cloneElement as _, createContext as v, isValidElement as y, useCallback as b, useContext as x, useEffect as S, useId as C, useMemo as ee, useRef as w, useState as T, useSyncExternalStore as te } from "react";
6
- import { ActionButton as ne, BrandDivider as re, Dialog as E, FeaturedImage as ie, IconButton as D, PaginationDots as ae, Panel as oe, PartnerRow as se, Select as ce, StarRating as le, createTranslation as O } from "./component-library.es.js";
5
+ import { Children as h, Fragment as g, cloneElement as _, createContext as v, useCallback as y, useContext as b, useEffect as x, useId as S, useMemo as C, useRef as w, useState as T, useSyncExternalStore as ee } from "react";
6
+ import { ActionButtonProvider as te, BrandDivider as ne, Dialog as E, FeaturedImage as re, IconButton as D, PaginationDots as ie, Panel as ae, PartnerRow as oe, Select as se, StarRating as ce, createTranslation as O } from "./component-library.es.js";
7
7
  import { NavigationMenu as k } from "@base-ui/react/navigation-menu";
8
- import { Collapsible as ue } from "@base-ui/react/collapsible";
8
+ import { Collapsible as le } from "@base-ui/react/collapsible";
9
9
  import { Drawer as A } from "@base-ui/react/drawer";
10
10
  import './website.css';//#region src/website/paragraphs.tsx
11
11
  function j({ className: e, id: t, children: n }) {
@@ -24,7 +24,7 @@ var M = {
24
24
  };
25
25
  //#endregion
26
26
  //#region src/website/alert-banner/alert-banner.tsx
27
- function de({ render: t, children: n }) {
27
+ function ue({ render: t, children: n }) {
28
28
  return e({
29
29
  render: t,
30
30
  defaultTagName: "h2",
@@ -34,7 +34,7 @@ function de({ render: t, children: n }) {
34
34
  }
35
35
  });
36
36
  }
37
- function fe({ title: e, text: t, titleRender: n, icon: r, color: i = "error", className: a, ...o }) {
37
+ function de({ title: e, text: t, titleRender: n, icon: r, color: i = "error", className: a, ...o }) {
38
38
  let s = r === void 0 ? /* @__PURE__ */ p(u, {}) : r;
39
39
  return /* @__PURE__ */ m("div", {
40
40
  ...o,
@@ -46,7 +46,7 @@ function fe({ title: e, text: t, titleRender: n, icon: r, color: i = "error", cl
46
46
  children: s
47
47
  }), /* @__PURE__ */ m("div", {
48
48
  className: M.Content,
49
- children: [e != null && /* @__PURE__ */ p(de, {
49
+ children: [e != null && /* @__PURE__ */ p(ue, {
50
50
  render: n,
51
51
  children: e
52
52
  }), t != null && /* @__PURE__ */ p(j, {
@@ -58,12 +58,12 @@ function fe({ title: e, text: t, titleRender: n, icon: r, color: i = "error", cl
58
58
  }
59
59
  //#endregion
60
60
  //#region src/utils/merge-class-name.ts
61
- var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), pe = {
61
+ var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), P = {
62
62
  BrandLetters: "_BrandLetters_1ygg1_9",
63
63
  Letters: "_Letters_1ygg1_17",
64
64
  Letter: "_Letter_1ygg1_17",
65
65
  Video: "_Video_1ygg1_48"
66
- }, me = O({
66
+ }, fe = O({
67
67
  play: {
68
68
  no: "Spill av videoene",
69
69
  se: "Spela upp videorna",
@@ -76,19 +76,19 @@ var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).
76
76
  fi: "Keskeytä videot",
77
77
  es: "Pausar los vídeos"
78
78
  }
79
- }), he = "(prefers-reduced-motion: reduce)", ge = [
79
+ }), pe = "(prefers-reduced-motion: reduce)", me = [
80
80
  "L",
81
81
  "E",
82
82
  "A"
83
83
  ];
84
- function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
85
- let o = me(), s = w([]), [u, d] = T(!1), h = (e) => {
84
+ function he({ videos: t, render: n, ref: r, className: i, ...a }) {
85
+ let o = fe(), s = w([]), [u, d] = T(!1), h = (e) => {
86
86
  for (let t of s.current) t && e(t);
87
87
  }, g = (e) => {
88
88
  e.muted = !0, e.play().catch(() => {});
89
89
  };
90
- S(() => {
91
- let e = window.matchMedia(he);
90
+ x(() => {
91
+ let e = window.matchMedia(pe);
92
92
  e.matches || h(g);
93
93
  let t = (e) => {
94
94
  e.matches && h((e) => e.pause());
@@ -104,17 +104,17 @@ function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
104
104
  defaultTagName: "div",
105
105
  props: {
106
106
  ...a,
107
- className: N(pe.BrandLetters, i)({}),
107
+ className: N(P.BrandLetters, i)({}),
108
108
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
109
- className: pe.Letters,
110
- children: ge.map((e, n) => /* @__PURE__ */ p("div", {
111
- className: pe.Letter,
109
+ className: P.Letters,
110
+ children: me.map((e, n) => /* @__PURE__ */ p("div", {
111
+ className: P.Letter,
112
112
  "data-letter": e,
113
113
  children: /* @__PURE__ */ p("video", {
114
114
  ref: (e) => {
115
115
  s.current[n] = e;
116
116
  },
117
- className: pe.Video,
117
+ className: P.Video,
118
118
  src: t[n].src,
119
119
  poster: t[n].poster,
120
120
  muted: !0,
@@ -135,7 +135,7 @@ function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
135
135
  }
136
136
  });
137
137
  }
138
- var P = {
138
+ var F = {
139
139
  Calculator: "_Calculator_1mamd_12",
140
140
  Body: "_Body_1mamd_26",
141
141
  Panel: "_Panel_1mamd_41",
@@ -149,38 +149,38 @@ var P = {
149
149
  };
150
150
  //#endregion
151
151
  //#region src/website/calculator/calculator.tsx
152
- function ve({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
152
+ function ge({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
153
153
  return e({
154
154
  render: a,
155
155
  ref: o,
156
156
  defaultTagName: "div",
157
157
  props: {
158
158
  ...l,
159
- className: N(P.Calculator, s)({}),
159
+ className: N(F.Calculator, s)({}),
160
160
  children: /* @__PURE__ */ m(f, { children: [t, /* @__PURE__ */ m("div", {
161
- className: P.Body,
161
+ className: F.Body,
162
162
  children: [/* @__PURE__ */ p("div", {
163
- className: P.Panel,
163
+ className: F.Panel,
164
164
  children: c
165
165
  }), /* @__PURE__ */ m("div", {
166
- className: P.Summary,
166
+ className: F.Summary,
167
167
  children: [n.length > 0 && /* @__PURE__ */ p("dl", {
168
- className: P.Results,
168
+ className: F.Results,
169
169
  "aria-live": "polite",
170
170
  children: n.map((e, t) => /* @__PURE__ */ m("div", {
171
- className: P.Result,
171
+ className: F.Result,
172
172
  children: [/* @__PURE__ */ p("dt", {
173
- className: P.Label,
173
+ className: F.Label,
174
174
  children: e.label
175
175
  }), /* @__PURE__ */ p("dd", {
176
- className: P.Value,
176
+ className: F.Value,
177
177
  children: e.value
178
178
  })]
179
179
  }, t))
180
180
  }), (r != null || i != null) && /* @__PURE__ */ m("div", {
181
- className: P.Actions,
181
+ className: F.Actions,
182
182
  children: [r, i != null && /* @__PURE__ */ p("p", {
183
- className: P.Price,
183
+ className: F.Price,
184
184
  children: i
185
185
  })]
186
186
  })]
@@ -189,19 +189,19 @@ function ve({ header: t, results: n, action: r, priceExample: i, render: a, ref:
189
189
  }
190
190
  });
191
191
  }
192
- var F = {
192
+ var I = {
193
193
  Carousel: "_Carousel_17a24_14",
194
194
  Viewport: "_Viewport_17a24_31",
195
195
  Track: "_Track_17a24_66",
196
196
  Slide: "_Slide_17a24_94",
197
197
  Controls: "_Controls_17a24_100",
198
198
  VisuallyHidden: "_VisuallyHidden_17a24_109"
199
- }, ye = {
199
+ }, _e = {
200
200
  fast: "0.15s",
201
201
  normal: "0.2s",
202
202
  emphasis: "0.3s"
203
- }, be = "(prefers-reduced-motion: reduce)", xe = 150, Se = parseFloat(ye.emphasis) * 1e3;
204
- function Ce(e) {
203
+ }, ve = "(prefers-reduced-motion: reduce)", ye = 150, be = parseFloat(_e.emphasis) * 1e3;
204
+ function xe(e) {
205
205
  let t = (e, t, n) => 3 * t * e * (1 - e) ** 2 + 3 * n * e ** 2 * (1 - e) + e ** 3, n = 0, r = 1;
206
206
  for (let i = 0; i < 20; i += 1) {
207
207
  let i = (n + r) / 2;
@@ -209,7 +209,7 @@ function Ce(e) {
209
209
  }
210
210
  return t((n + r) / 2, 0, 1);
211
211
  }
212
- function we(e, t) {
212
+ function Se(e, t) {
213
213
  let n = w([0]), r = w(void 0), i = w(void 0), [a, o] = T(() => ({
214
214
  pageCount: Math.max(1, t - 1),
215
215
  page: 0,
@@ -218,7 +218,7 @@ function we(e, t) {
218
218
  atEnd: t <= 2,
219
219
  overflowing: t > 2,
220
220
  moved: !1
221
- })), s = b((t, r = !1) => {
221
+ })), s = y((t, r = !1) => {
222
222
  let i = e.current;
223
223
  if (!i) return;
224
224
  let a = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
@@ -235,7 +235,7 @@ function we(e, t) {
235
235
  };
236
236
  return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
237
237
  });
238
- }, [e]), c = b(() => {
238
+ }, [e]), c = y(() => {
239
239
  let t = e.current;
240
240
  if (!t) return;
241
241
  let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, o = [];
@@ -244,15 +244,15 @@ function we(e, t) {
244
244
  (o.length === 0 || t - o[o.length - 1] > 1) && o.push(t);
245
245
  }
246
246
  n.current = o.length > 0 ? o : [0], s(!0);
247
- }, [s, e]), l = b(() => {
247
+ }, [s, e]), l = y(() => {
248
248
  i.current && (cancelAnimationFrame(i.current.frame), i.current = void 0, e.current?.style.removeProperty("scroll-snap-type"));
249
249
  }, [e]);
250
- S(() => {
250
+ x(() => {
251
251
  let t = e.current;
252
252
  if (!t) return;
253
253
  c();
254
254
  let n = () => {
255
- s(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => s(!0), xe);
255
+ s(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => s(!0), ye);
256
256
  }, i = new ResizeObserver(c), a = [
257
257
  "pointerdown",
258
258
  "touchstart",
@@ -273,14 +273,14 @@ function we(e, t) {
273
273
  l,
274
274
  e
275
275
  ]);
276
- let u = b((t) => {
276
+ let u = y((t) => {
277
277
  let r = e.current;
278
278
  if (!r) return;
279
279
  let a = n.current, o = a[Math.min(a.length - 1, Math.max(0, t))];
280
280
  if (i.current?.to === o) return;
281
281
  l();
282
282
  let s = r.scrollLeft;
283
- if (window.matchMedia(be).matches || Math.abs(o - s) < 1) {
283
+ if (window.matchMedia(ve).matches || Math.abs(o - s) < 1) {
284
284
  r.scrollTo({
285
285
  left: o,
286
286
  behavior: "instant"
@@ -289,9 +289,9 @@ function we(e, t) {
289
289
  }
290
290
  r.style.setProperty("scroll-snap-type", "none");
291
291
  let c = performance.now(), u = (e) => {
292
- let t = Math.min(1, (e - c) / Se);
292
+ let t = Math.min(1, (e - c) / be);
293
293
  r.scrollTo({
294
- left: s + (o - s) * Ce(t),
294
+ left: s + (o - s) * xe(t),
295
295
  behavior: "instant"
296
296
  }), t < 1 ? i.current = {
297
297
  frame: requestAnimationFrame(u),
@@ -310,7 +310,7 @@ function we(e, t) {
310
310
  }
311
311
  //#endregion
312
312
  //#region src/website/carousel/use-carousel-labels.ts
313
- var Te = O({
313
+ var Ce = O({
314
314
  carousel: {
315
315
  no: "karusell",
316
316
  se: "karusell",
@@ -338,8 +338,8 @@ var Te = O({
338
338
  });
339
339
  //#endregion
340
340
  //#region src/website/carousel/carousel.tsx
341
- function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
342
- let l = Te(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = we(u, d.length);
341
+ function we({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
342
+ let l = Ce(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = Se(u, d.length);
343
343
  return e({
344
344
  render: n,
345
345
  ref: r,
@@ -348,22 +348,22 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
348
348
  role: "region",
349
349
  "aria-roledescription": l.carousel,
350
350
  ...c,
351
- className: N(F.Carousel, o)({}),
351
+ className: N(I.Carousel, o)({}),
352
352
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
353
- className: F.Viewport,
353
+ className: I.Viewport,
354
354
  "data-at-start": y || void 0,
355
355
  "data-at-end": b || void 0,
356
356
  children: /* @__PURE__ */ p("ul", {
357
357
  ref: u,
358
- className: F.Track,
358
+ className: I.Track,
359
359
  tabIndex: x ? 0 : void 0,
360
360
  children: d.map((e, t) => /* @__PURE__ */ p("li", {
361
- className: F.Slide,
361
+ className: I.Slide,
362
362
  children: e
363
363
  }, t))
364
364
  })
365
365
  }), g > 1 && /* @__PURE__ */ m("div", {
366
- className: F.Controls,
366
+ className: I.Controls,
367
367
  children: [
368
368
  /* @__PURE__ */ p(D, {
369
369
  variant: "elevated",
@@ -374,7 +374,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
374
374
  onClick: () => C(_ - 1),
375
375
  children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
376
376
  }),
377
- /* @__PURE__ */ p(ae, {
377
+ /* @__PURE__ */ p(ie, {
378
378
  count: g,
379
379
  value: _ + 1,
380
380
  onValueChange: (e) => C(e - 1),
@@ -391,7 +391,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
391
391
  }),
392
392
  /* @__PURE__ */ p("span", {
393
393
  role: "status",
394
- className: F.VisuallyHidden,
394
+ className: I.VisuallyHidden,
395
395
  children: S && l.status.replace("{page}", String(v + 1)).replace("{count}", String(g))
396
396
  })
397
397
  ]
@@ -399,7 +399,7 @@ function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
399
399
  }
400
400
  });
401
401
  }
402
- var I = {
402
+ var L = {
403
403
  CtaBanner: "_CtaBanner_vkp5c_7",
404
404
  Title: "_Title_vkp5c_15",
405
405
  Content: "_Content_vkp5c_24",
@@ -409,12 +409,12 @@ var I = {
409
409
  };
410
410
  //#endregion
411
411
  //#region src/website/cta-banner/cta-banner.tsx
412
- function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
412
+ function Te({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
413
413
  let u = e({
414
414
  render: n,
415
415
  defaultTagName: "h2",
416
416
  props: {
417
- className: I.Title,
417
+ className: L.Title,
418
418
  children: t
419
419
  }
420
420
  }), d = r != null || i != null || a != null;
@@ -425,20 +425,20 @@ function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
425
425
  props: {
426
426
  ...l,
427
427
  "data-has-content": d || void 0,
428
- className: N(I.CtaBanner, c)({}),
428
+ className: N(L.CtaBanner, c)({}),
429
429
  children: /* @__PURE__ */ m(f, { children: [u, d && /* @__PURE__ */ m("div", {
430
- className: I.Content,
430
+ className: L.Content,
431
431
  children: [
432
432
  r != null && /* @__PURE__ */ p(j, {
433
- className: I.Text,
433
+ className: L.Text,
434
434
  children: r
435
435
  }),
436
436
  i != null && /* @__PURE__ */ p("div", {
437
- className: I.Action,
437
+ className: L.Action,
438
438
  children: i
439
439
  }),
440
440
  a != null && /* @__PURE__ */ p("p", {
441
- className: I.Price,
441
+ className: L.Price,
442
442
  children: a
443
443
  })
444
444
  ]
@@ -448,33 +448,33 @@ function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
448
448
  }
449
449
  //#endregion
450
450
  //#region src/website/expanding-cards/expanding-cards-context.ts
451
- var Oe = v({ open: !0 }), ke = {
452
- ExpandingCards: "_ExpandingCards_14pq8_19",
453
- List: "_List_14pq8_23",
454
- Item: "_Item_14pq8_32"
455
- }, Ae = "(min-width: 1312px)", je = { open: !0 }, Me = { open: !1 }, Ne = (e) => {
456
- let t = window.matchMedia(Ae);
451
+ var Ee = v({ open: !0 }), De = {
452
+ ExpandingCards: "_ExpandingCards_s83zm_19",
453
+ List: "_List_s83zm_23",
454
+ Item: "_Item_s83zm_32"
455
+ }, Oe = "(min-width: 1312px)", ke = { open: !0 }, Ae = { open: !1 }, je = (e) => {
456
+ let t = window.matchMedia(Oe);
457
457
  return t.addEventListener("change", e), () => t.removeEventListener("change", e);
458
- }, Pe = () => te(Ne, () => window.matchMedia(Ae).matches, () => !0);
459
- function Fe({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
460
- let s = h.toArray(a), c = Pe(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
458
+ }, Me = () => ee(je, () => window.matchMedia(Oe).matches, () => !0);
459
+ function Ne({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
460
+ let s = h.toArray(a), c = Me(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
461
461
  return e({
462
462
  render: n,
463
463
  ref: r,
464
464
  defaultTagName: "div",
465
465
  props: {
466
466
  ...o,
467
- className: N(ke.ExpandingCards, i)({}),
467
+ className: N(De.ExpandingCards, i)({}),
468
468
  children: /* @__PURE__ */ p("ul", {
469
- className: ke.List,
469
+ className: De.List,
470
470
  style: { "--expanding-cards-count": s.length },
471
471
  children: s.map((e, t) => /* @__PURE__ */ p("li", {
472
- className: ke.Item,
472
+ className: De.Item,
473
473
  "data-open": t === l || void 0,
474
474
  onPointerEnter: () => u(t),
475
475
  onFocus: () => u(t),
476
- children: /* @__PURE__ */ p(Oe.Provider, {
477
- value: !c || t === l ? je : Me,
476
+ children: /* @__PURE__ */ p(Ee.Provider, {
477
+ value: !c || t === l ? ke : Ae,
478
478
  children: e
479
479
  })
480
480
  }, t))
@@ -482,66 +482,71 @@ function Fe({ defaultOpen: t = "first", render: n, ref: r, className: i, childre
482
482
  }
483
483
  });
484
484
  }
485
- var L = {
486
- ExpandingCardsItem: "_ExpandingCardsItem_1v7ai_17",
487
- Content: "_Content_1v7ai_53",
488
- Title: "_Title_1v7ai_70",
489
- Text: "_Text_1v7ai_81",
490
- Action: "_Action_1v7ai_99",
491
- Photo: "_Photo_1v7ai_110",
492
- Image: "_Image_1v7ai_117"
485
+ var R = {
486
+ ExpandingCardsItem: "_ExpandingCardsItem_qsobf_25",
487
+ Content: "_Content_qsobf_61",
488
+ Title: "_Title_qsobf_78",
489
+ Text: "_Text_qsobf_89",
490
+ Action: "_Action_qsobf_107",
491
+ Photo: "_Photo_qsobf_118",
492
+ Image: "_Image_qsobf_125"
493
493
  };
494
494
  //#endregion
495
495
  //#region src/website/expanding-cards/expanding-cards-item.tsx
496
- function Ie({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, surface: c = "base", render: l, ref: u, className: d, ...h }) {
497
- let { open: g } = x(Oe), v = e({
496
+ function Pe({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, imageAsBackground: c = !1, imageMotion: l = "zoom", surface: u = "base", render: d, ref: h, className: g, ..._ }) {
497
+ let { open: v } = b(Ee), y = e({
498
498
  render: n,
499
499
  defaultTagName: "h2",
500
500
  props: {
501
- className: L.Title,
501
+ className: R.Title,
502
502
  children: t
503
503
  }
504
- }), b = e({
504
+ }), x = e({
505
505
  enabled: a != null,
506
506
  render: s,
507
507
  defaultTagName: "img",
508
508
  props: {
509
509
  src: a,
510
510
  alt: o,
511
- className: L.Image
511
+ className: R.Image
512
512
  }
513
- }), S = y(i) && i.type === ne ? _(i, { iconOnly: !g }) : i;
513
+ }), S = a != null && c;
514
514
  return e({
515
- render: l,
516
- ref: u,
515
+ render: d,
516
+ ref: h,
517
517
  defaultTagName: "div",
518
518
  props: {
519
- ...h,
520
- "data-surface": c,
521
- "data-open": g || void 0,
519
+ ..._,
520
+ "data-surface": u,
521
+ "data-open": v || void 0,
522
522
  "data-image": a != null || void 0,
523
- className: N(L.ExpandingCardsItem, d)({}),
523
+ "data-image-as-background": S || void 0,
524
+ "data-image-motion": S ? l : void 0,
525
+ className: N(R.ExpandingCardsItem, g)({}),
524
526
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
525
- className: L.Content,
527
+ className: R.Content,
526
528
  children: [
527
- v,
529
+ y,
528
530
  r != null && /* @__PURE__ */ p(j, {
529
- className: L.Text,
531
+ className: R.Text,
530
532
  children: r
531
533
  }),
532
534
  i != null && /* @__PURE__ */ p("div", {
533
- className: L.Action,
534
- children: S
535
+ className: R.Action,
536
+ children: /* @__PURE__ */ p(te, {
537
+ iconOnly: !v,
538
+ children: i
539
+ })
535
540
  })
536
541
  ]
537
- }), b != null && /* @__PURE__ */ p("div", {
538
- className: L.Photo,
539
- children: b
542
+ }), x != null && /* @__PURE__ */ p("div", {
543
+ className: R.Photo,
544
+ children: x
540
545
  })] })
541
546
  }
542
547
  });
543
548
  }
544
- var R = {
549
+ var z = {
545
550
  Hero: "_Hero_1ik22_8",
546
551
  Background: "_Background_1ik22_24",
547
552
  Image: "_Image_1ik22_30",
@@ -554,12 +559,12 @@ var R = {
554
559
  };
555
560
  //#endregion
556
561
  //#region src/website/hero/hero.tsx
557
- function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
562
+ function Fe({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
558
563
  let g = e({
559
564
  render: a,
560
565
  defaultTagName: "h1",
561
566
  props: {
562
- className: R.Title,
567
+ className: z.Title,
563
568
  children: i
564
569
  }
565
570
  }), _ = e({
@@ -568,7 +573,7 @@ function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
568
573
  props: {
569
574
  src: t,
570
575
  alt: n,
571
- className: R.Image
576
+ className: z.Image
572
577
  }
573
578
  });
574
579
  return e({
@@ -577,35 +582,35 @@ function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
577
582
  defaultTagName: "section",
578
583
  props: {
579
584
  ...h,
580
- className: N(R.Hero, d)({}),
585
+ className: N(z.Hero, d)({}),
581
586
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
582
- className: R.Container,
583
- children: /* @__PURE__ */ m(oe, {
584
- className: R.Box,
587
+ className: z.Container,
588
+ children: /* @__PURE__ */ m(ae, {
589
+ className: z.Box,
585
590
  children: [
586
591
  g,
587
592
  o != null && /* @__PURE__ */ p(j, {
588
- className: R.Text,
593
+ className: z.Text,
589
594
  children: o
590
595
  }),
591
596
  s != null && /* @__PURE__ */ p("div", {
592
- className: R.Action,
597
+ className: z.Action,
593
598
  children: s
594
599
  }),
595
600
  c != null && /* @__PURE__ */ p("p", {
596
- className: R.Price,
601
+ className: z.Price,
597
602
  children: c
598
603
  })
599
604
  ]
600
605
  })
601
606
  }), /* @__PURE__ */ p("div", {
602
- className: R.Background,
607
+ className: z.Background,
603
608
  children: _
604
609
  })] })
605
610
  }
606
611
  });
607
612
  }
608
- var z = {
613
+ var B = {
609
614
  HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
610
615
  Cards: "_Cards_yr3eo_15",
611
616
  Item: "_Item_yr3eo_26",
@@ -613,7 +618,7 @@ var z = {
613
618
  };
614
619
  //#endregion
615
620
  //#region src/website/hero-service-grid/hero-service-grid.tsx
616
- function Re({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
621
+ function Ie({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
617
622
  let d = h.toArray(l);
618
623
  return e({
619
624
  render: o,
@@ -622,24 +627,24 @@ function Re({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "sta
622
627
  props: {
623
628
  ...u,
624
629
  "data-image-position": a,
625
- className: N(z.HeroServiceGrid, c)({}),
626
- children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
627
- className: z.Featured,
630
+ className: N(B.HeroServiceGrid, c)({}),
631
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(re, {
632
+ className: B.Featured,
628
633
  src: t,
629
634
  alt: n,
630
635
  imageRender: r,
631
636
  action: i
632
637
  }), d.length > 0 && /* @__PURE__ */ p("ul", {
633
- className: z.Cards,
638
+ className: B.Cards,
634
639
  children: d.map((e, t) => /* @__PURE__ */ p("li", {
635
- className: z.Item,
640
+ className: B.Item,
636
641
  children: e
637
642
  }, t))
638
643
  })] })
639
644
  }
640
645
  });
641
646
  }
642
- var B = {
647
+ var V = {
643
648
  NavigationGrid: "_NavigationGrid_ocatr_9",
644
649
  Title: "_Title_ocatr_16",
645
650
  List: "_List_ocatr_25",
@@ -647,13 +652,13 @@ var B = {
647
652
  };
648
653
  //#endregion
649
654
  //#region src/website/navigation-grid/navigation-grid.tsx
650
- function ze({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
655
+ function Le({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
651
656
  let c = h.toArray(o), l = c.length >= 3 && c.length % 2 == 1, u = e({
652
657
  enabled: t != null,
653
658
  render: n,
654
659
  defaultTagName: "h2",
655
660
  props: {
656
- className: B.Title,
661
+ className: V.Title,
657
662
  children: t
658
663
  }
659
664
  });
@@ -663,24 +668,24 @@ function ze({ title: t, titleRender: n, render: r, ref: i, className: a, childre
663
668
  defaultTagName: "div",
664
669
  props: {
665
670
  ...s,
666
- className: N(B.NavigationGrid, a)({}),
671
+ className: N(V.NavigationGrid, a)({}),
667
672
  children: /* @__PURE__ */ m(f, { children: [u, /* @__PURE__ */ p("ul", {
668
- className: B.List,
673
+ className: V.List,
669
674
  "data-odd": l || void 0,
670
675
  children: c.map((e, t) => /* @__PURE__ */ p("li", {
671
- className: B.Item,
676
+ className: V.Item,
672
677
  children: e
673
678
  }, t))
674
679
  })] })
675
680
  }
676
681
  });
677
682
  }
678
- var V = {
683
+ var H = {
679
684
  PartnerList: "_PartnerList_9o9wx_7",
680
685
  List: "_List_9o9wx_11",
681
686
  Controls: "_Controls_9o9wx_19",
682
687
  VisuallyHidden: "_VisuallyHidden_9o9wx_29"
683
- }, Be = O({
688
+ }, Re = O({
684
689
  previous: {
685
690
  no: "Forrige side",
686
691
  se: "Föregående sida",
@@ -708,11 +713,11 @@ var V = {
708
713
  });
709
714
  //#endregion
710
715
  //#region src/website/partner-list/partner-list.tsx
711
- function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
712
- let h = Be(), [g, _] = T(o), v = ee(() => {
716
+ function ze({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
717
+ let h = Re(), [g, _] = T(o), v = C(() => {
713
718
  let e = new Intl.Collator(h.collation, { sensitivity: "base" });
714
719
  return [...t].sort((t, n) => e.compare(t.name, n.name));
715
- }, [t, h.collation]), y = Math.max(1, Math.floor(n)), b = Math.max(1, Math.ceil(v.length / y)), x = Math.min(b, Math.max(1, r ?? g)), S = (x - 1) * y, C = (e) => {
720
+ }, [t, h.collation]), y = Math.max(1, Math.floor(n)), b = Math.max(1, Math.ceil(v.length / y)), x = Math.min(b, Math.max(1, r ?? g)), S = (x - 1) * y, w = (e) => {
716
721
  let t = Math.min(b, Math.max(1, e));
717
722
  r === void 0 && _(t), t !== x && s?.(t);
718
723
  };
@@ -723,16 +728,16 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
723
728
  defaultTagName: "div",
724
729
  props: {
725
730
  ...d,
726
- className: N(V.PartnerList, u)({}),
731
+ className: N(H.PartnerList, u)({}),
727
732
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("ul", {
728
- className: V.List,
729
- children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(se, {
733
+ className: H.List,
734
+ children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(oe, {
730
735
  ...n,
731
736
  render: /* @__PURE__ */ p("li", {}),
732
737
  children: t
733
738
  }, `${S + r}-${e}`))
734
739
  }), b > 1 && /* @__PURE__ */ m("div", {
735
- className: V.Controls,
740
+ className: H.Controls,
736
741
  children: [
737
742
  /* @__PURE__ */ p(D, {
738
743
  variant: "elevated",
@@ -740,13 +745,13 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
740
745
  "aria-label": h.previous,
741
746
  disabled: x === 1,
742
747
  focusableWhenDisabled: !0,
743
- onClick: () => C(x - 1),
748
+ onClick: () => w(x - 1),
744
749
  children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
745
750
  }),
746
- /* @__PURE__ */ p(ae, {
751
+ /* @__PURE__ */ p(ie, {
747
752
  count: b,
748
753
  value: x,
749
- onValueChange: C
754
+ onValueChange: w
750
755
  }),
751
756
  /* @__PURE__ */ p(D, {
752
757
  variant: "elevated",
@@ -754,12 +759,12 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
754
759
  "aria-label": h.next,
755
760
  disabled: x === b,
756
761
  focusableWhenDisabled: !0,
757
- onClick: () => C(x + 1),
762
+ onClick: () => w(x + 1),
758
763
  children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
759
764
  }),
760
765
  /* @__PURE__ */ p("span", {
761
766
  role: "status",
762
- className: V.VisuallyHidden,
767
+ className: H.VisuallyHidden,
763
768
  children: h.status.replace("{page}", String(x)).replace("{count}", String(b))
764
769
  })
765
770
  ]
@@ -767,29 +772,29 @@ function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
767
772
  }
768
773
  });
769
774
  }
770
- var H = {
771
- Grid: "_Grid_1vukg_10",
772
- Content: "_Content_1vukg_17",
773
- Logos: "_Logos_1vukg_28",
774
- LogoItem: "_LogoItem_1vukg_38",
775
- Logo: "_Logo_1vukg_28",
776
- Text: "_Text_1vukg_60",
777
- Title: "_Title_1vukg_66",
778
- Description: "_Description_1vukg_75",
779
- Actions: "_Actions_1vukg_91",
780
- Price: "_Price_1vukg_98",
781
- Media: "_Media_1vukg_106",
782
- PaymentFeature: "_PaymentFeature_1vukg_111",
783
- Image: "_Image_1vukg_115"
775
+ var U = {
776
+ Grid: "_Grid_1inyv_10",
777
+ Content: "_Content_1inyv_17",
778
+ Logos: "_Logos_1inyv_28",
779
+ LogoItem: "_LogoItem_1inyv_38",
780
+ Logo: "_Logo_1inyv_28",
781
+ Text: "_Text_1inyv_65",
782
+ Title: "_Title_1inyv_71",
783
+ Description: "_Description_1inyv_80",
784
+ Actions: "_Actions_1inyv_96",
785
+ Price: "_Price_1inyv_103",
786
+ Media: "_Media_1inyv_111",
787
+ PaymentFeature: "_PaymentFeature_1inyv_116",
788
+ Image: "_Image_1inyv_120"
784
789
  };
785
790
  //#endregion
786
791
  //#region src/website/payment-feature/payment-feature.tsx
787
- function He({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
792
+ function Be({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
788
793
  let h = e({
789
794
  render: r,
790
795
  defaultTagName: "h2",
791
796
  props: {
792
- className: H.Title,
797
+ className: U.Title,
793
798
  children: n
794
799
  }
795
800
  }), g = e({
@@ -799,62 +804,62 @@ function He({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExam
799
804
  props: {
800
805
  src: s,
801
806
  alt: c,
802
- className: H.Image
807
+ className: U.Image
803
808
  }
804
809
  });
805
- return /* @__PURE__ */ p(oe, {
810
+ return /* @__PURE__ */ p(ae, {
806
811
  ...f,
807
- className: [H.PaymentFeature, d].filter(Boolean).join(" "),
812
+ className: [U.PaymentFeature, d].filter(Boolean).join(" "),
808
813
  "data-image-position": u,
809
814
  "data-has-image": g != null || void 0,
810
815
  children: /* @__PURE__ */ m("div", {
811
- className: H.Grid,
816
+ className: U.Grid,
812
817
  children: [/* @__PURE__ */ m("div", {
813
- className: H.Content,
818
+ className: U.Content,
814
819
  children: [
815
820
  t != null && t.length > 0 && /* @__PURE__ */ p("ul", {
816
- className: H.Logos,
817
- children: t.map((e, t) => /* @__PURE__ */ p(Ue, { ...e }, t))
821
+ className: U.Logos,
822
+ children: t.map((e, t) => /* @__PURE__ */ p(Ve, { ...e }, t))
818
823
  }),
819
824
  /* @__PURE__ */ m("div", {
820
- className: H.Text,
825
+ className: U.Text,
821
826
  children: [h, i != null && /* @__PURE__ */ p(j, {
822
- className: H.Description,
827
+ className: U.Description,
823
828
  children: i
824
829
  })]
825
830
  }),
826
831
  a != null && /* @__PURE__ */ p("div", {
827
- className: H.Actions,
832
+ className: U.Actions,
828
833
  children: a
829
834
  }),
830
835
  o != null && /* @__PURE__ */ p("p", {
831
- className: H.Price,
836
+ className: U.Price,
832
837
  children: o
833
838
  })
834
839
  ]
835
840
  }), g != null && /* @__PURE__ */ p("div", {
836
- className: H.Media,
841
+ className: U.Media,
837
842
  children: g
838
843
  })]
839
844
  })
840
845
  });
841
846
  }
842
- function Ue({ src: t, alt: n, imageRender: r }) {
847
+ function Ve({ src: t, alt: n, imageRender: r }) {
843
848
  let i = e({
844
849
  render: r,
845
850
  defaultTagName: "img",
846
851
  props: {
847
852
  src: t,
848
853
  alt: n,
849
- className: H.Logo
854
+ className: U.Logo
850
855
  }
851
856
  });
852
857
  return /* @__PURE__ */ p("li", {
853
- className: H.LogoItem,
858
+ className: U.LogoItem,
854
859
  children: i
855
860
  });
856
861
  }
857
- var U = {
862
+ var W = {
858
863
  PromoGrid: "_PromoGrid_1l2yi_10",
859
864
  Featured: "_Featured_1l2yi_19",
860
865
  Content: "_Content_1l2yi_23",
@@ -866,12 +871,12 @@ var U = {
866
871
  };
867
872
  //#endregion
868
873
  //#region src/website/promo-grid/promo-grid.tsx
869
- function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, titleRender: s, subtitle: c, imagePosition: l = "start", render: u, ref: d, className: h, ...g }) {
874
+ function He({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, titleRender: s, subtitle: c, imagePosition: l = "start", render: u, ref: d, className: h, ...g }) {
870
875
  let _ = e({
871
876
  render: s,
872
877
  defaultTagName: "h2",
873
878
  props: {
874
- className: U.Title,
879
+ className: W.Title,
875
880
  children: o
876
881
  }
877
882
  });
@@ -882,23 +887,23 @@ function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
882
887
  props: {
883
888
  ...g,
884
889
  "data-image-position": l,
885
- className: N(U.PromoGrid, h)({}),
886
- children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
887
- className: U.Featured,
890
+ className: N(W.PromoGrid, h)({}),
891
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(re, {
892
+ className: W.Featured,
888
893
  src: t,
889
894
  alt: n,
890
895
  imageRender: r,
891
896
  action: i
892
897
  }), /* @__PURE__ */ m("div", {
893
- className: U.Content,
898
+ className: W.Content,
894
899
  children: [a != null && a.length > 0 && /* @__PURE__ */ p("div", {
895
- className: U.Photos,
900
+ className: W.Photos,
896
901
  "data-count": a.length,
897
- children: a.map((e, t) => /* @__PURE__ */ p(Ge, { ...e }, t))
902
+ children: a.map((e, t) => /* @__PURE__ */ p(Ue, { ...e }, t))
898
903
  }), /* @__PURE__ */ m("div", {
899
- className: U.Block,
904
+ className: W.Block,
900
905
  children: [_, c != null && /* @__PURE__ */ p(j, {
901
- className: U.Subtitle,
906
+ className: W.Subtitle,
902
907
  children: c
903
908
  })]
904
909
  })]
@@ -906,24 +911,24 @@ function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
906
911
  }
907
912
  });
908
913
  }
909
- function Ge({ src: t, alt: n, imageRender: r }) {
914
+ function Ue({ src: t, alt: n, imageRender: r }) {
910
915
  return e({
911
916
  render: r,
912
917
  defaultTagName: "img",
913
918
  props: {
914
919
  src: t,
915
920
  alt: n,
916
- className: U.Photo
921
+ className: W.Photo
917
922
  }
918
923
  });
919
924
  }
920
- var Ke = {
925
+ var We = {
921
926
  Section: "_Section_f8rp9_11",
922
927
  Content: "_Content_f8rp9_60"
923
928
  };
924
929
  //#endregion
925
930
  //#region src/website/section/section.tsx
926
- function qe({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
931
+ function Ge({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
927
932
  return e({
928
933
  render: a,
929
934
  ref: o,
@@ -933,16 +938,16 @@ function qe({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg"
933
938
  "data-surface": t,
934
939
  "data-spacing-top": n,
935
940
  "data-spacing-bottom": r,
936
- className: N(Ke.Section, s)({}),
941
+ className: N(We.Section, s)({}),
937
942
  children: /* @__PURE__ */ p("div", {
938
- className: Ke.Content,
943
+ className: We.Content,
939
944
  "data-width": i,
940
945
  children: c
941
946
  })
942
947
  }
943
948
  });
944
949
  }
945
- var W = {
950
+ var G = {
946
951
  SectionHeader: "_SectionHeader_11mff_8",
947
952
  Text: "_Text_11mff_17",
948
953
  Eyebrow: "_Eyebrow_11mff_25",
@@ -953,12 +958,12 @@ var W = {
953
958
  };
954
959
  //#endregion
955
960
  //#region src/website/section-header/section-header.tsx
956
- function Je({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
961
+ function Ke({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
957
962
  let h = e({
958
963
  render: r,
959
964
  defaultTagName: "h2",
960
965
  props: {
961
- className: W.Title,
966
+ className: G.Title,
962
967
  children: n
963
968
  }
964
969
  });
@@ -969,42 +974,42 @@ function Je({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitl
969
974
  props: {
970
975
  ...d,
971
976
  "data-title-size": i,
972
- className: N(W.SectionHeader, u)({}),
977
+ className: N(G.SectionHeader, u)({}),
973
978
  children: /* @__PURE__ */ m(f, { children: [
974
979
  /* @__PURE__ */ m("div", {
975
- className: W.Text,
980
+ className: G.Text,
976
981
  children: [
977
982
  t != null && /* @__PURE__ */ p("p", {
978
- className: W.Eyebrow,
983
+ className: G.Eyebrow,
979
984
  children: t
980
985
  }),
981
986
  h,
982
987
  a != null && /* @__PURE__ */ p(j, {
983
- className: W.Subtitle,
988
+ className: G.Subtitle,
984
989
  children: a
985
990
  })
986
991
  ]
987
992
  }),
988
993
  o != null && /* @__PURE__ */ p("div", {
989
- className: W.Actions,
994
+ className: G.Actions,
990
995
  children: o
991
996
  }),
992
997
  s != null && /* @__PURE__ */ p("p", {
993
- className: W.Price,
998
+ className: G.Price,
994
999
  children: s
995
1000
  })
996
1001
  ] })
997
1002
  }
998
1003
  });
999
1004
  }
1000
- var Ye = {
1005
+ var qe = {
1001
1006
  ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
1002
1007
  List: "_List_nutvc_13",
1003
1008
  Item: "_Item_nutvc_23"
1004
1009
  };
1005
1010
  //#endregion
1006
1011
  //#region src/website/service-card-grid/service-card-grid.tsx
1007
- function Xe({ render: t, ref: n, className: r, children: i, ...a }) {
1012
+ function Je({ render: t, ref: n, className: r, children: i, ...a }) {
1008
1013
  let o = h.toArray(i);
1009
1014
  return e({
1010
1015
  render: t,
@@ -1012,50 +1017,51 @@ function Xe({ render: t, ref: n, className: r, children: i, ...a }) {
1012
1017
  defaultTagName: "div",
1013
1018
  props: {
1014
1019
  ...a,
1015
- className: N(Ye.ServiceCardGrid, r)({}),
1020
+ className: N(qe.ServiceCardGrid, r)({}),
1016
1021
  children: /* @__PURE__ */ p("ul", {
1017
- className: Ye.List,
1022
+ className: qe.List,
1018
1023
  "data-count": o.length,
1019
1024
  children: o.map((e, t) => /* @__PURE__ */ p("li", {
1020
- className: Ye.Item,
1025
+ className: qe.Item,
1021
1026
  children: e
1022
1027
  }, t))
1023
1028
  })
1024
1029
  }
1025
1030
  });
1026
1031
  }
1027
- var Ze = {
1028
- ArrowRevealLink: "_ArrowRevealLink_140ct_2",
1029
- Arrow: "_Arrow_140ct_2",
1030
- Text: "_Text_140ct_40"
1032
+ var Ye = {
1033
+ ArrowRevealLink: "_ArrowRevealLink_zq26l_2",
1034
+ Arrow: "_Arrow_zq26l_2",
1035
+ Text: "_Text_zq26l_40"
1031
1036
  };
1032
1037
  //#endregion
1033
1038
  //#region src/website/arrow-reveal-link.tsx
1034
- function G({ render: n, className: r, children: i, size: a = "md", ...o }) {
1039
+ function K({ render: n, className: r, children: i, size: a = "md", marked: o = !1, ...s }) {
1035
1040
  return e({
1036
1041
  render: n,
1037
1042
  defaultTagName: "a",
1038
1043
  props: {
1039
- ...o,
1044
+ ...s,
1040
1045
  "data-size": a === "md" ? void 0 : a,
1041
- className: N(Ze.ArrowRevealLink, r)({}),
1046
+ "data-marked": o ? "" : void 0,
1047
+ className: N(Ye.ArrowRevealLink, r)({}),
1042
1048
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
1043
1049
  "aria-hidden": !0,
1044
- className: Ze.Arrow,
1050
+ className: Ye.Arrow,
1045
1051
  children: /* @__PURE__ */ p(t, {})
1046
1052
  }), /* @__PURE__ */ p("span", {
1047
- className: Ze.Text,
1053
+ className: Ye.Text,
1048
1054
  children: i
1049
1055
  })] })
1050
1056
  }
1051
1057
  });
1052
1058
  }
1053
- var K = {
1059
+ var q = {
1054
1060
  SideNav: "_SideNav_1ha5v_6",
1055
1061
  Sidebar: "_Sidebar_1ha5v_29",
1056
1062
  List: "_List_1ha5v_44",
1057
1063
  Content: "_Content_1ha5v_61"
1058
- }, Qe = O({ navigation: {
1064
+ }, Xe = O({ navigation: {
1059
1065
  no: "Sidemeny",
1060
1066
  se: "Sidomeny",
1061
1067
  fi: "Sivuvalikko",
@@ -1063,35 +1069,53 @@ var K = {
1063
1069
  } });
1064
1070
  //#endregion
1065
1071
  //#region src/website/side-nav/side-nav.tsx
1066
- function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
1067
- let o = Qe();
1068
- return /* @__PURE__ */ m("div", {
1072
+ function Ze({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
1073
+ let o = Xe(), s = e.findIndex((e) => e.current), [c, l] = T(null);
1074
+ c && c.from !== s && l(null);
1075
+ let u = c?.index ?? s;
1076
+ return x(() => {
1077
+ let e = (e) => {
1078
+ e.persisted && l(null);
1079
+ };
1080
+ return window.addEventListener("pageshow", e), () => window.removeEventListener("pageshow", e);
1081
+ }, []), /* @__PURE__ */ m("div", {
1069
1082
  ...a,
1070
- className: [K.SideNav, i].filter(Boolean).join(" "),
1083
+ className: [q.SideNav, i].filter(Boolean).join(" "),
1071
1084
  children: [/* @__PURE__ */ p("nav", {
1072
- className: K.Sidebar,
1085
+ className: q.Sidebar,
1073
1086
  "aria-label": t ?? o.navigation,
1074
1087
  children: /* @__PURE__ */ p("ul", {
1075
- className: K.List,
1076
- children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1088
+ className: q.List,
1089
+ children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1077
1090
  size: "lg",
1078
1091
  href: e.href,
1079
1092
  render: e.render,
1080
1093
  "aria-current": e.current ? "page" : void 0,
1094
+ marked: t === u,
1095
+ onClick: (e) => {
1096
+ Qe(e) && l({
1097
+ index: t,
1098
+ from: s
1099
+ });
1100
+ },
1081
1101
  children: e.label
1082
1102
  }) }, t))
1083
1103
  })
1084
- }), /* @__PURE__ */ m(oe, {
1104
+ }), /* @__PURE__ */ m(ae, {
1085
1105
  size: "sm",
1086
- className: K.Content,
1106
+ className: q.Content,
1087
1107
  children: [n, r]
1088
1108
  })]
1089
1109
  });
1090
1110
  }
1111
+ function Qe(e) {
1112
+ let t = e.currentTarget, n = t.getAttribute("target");
1113
+ return !e.defaultPrevented && e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && (!n || n === "_self") && !t.hasAttribute("download");
1114
+ }
1091
1115
  //#endregion
1092
1116
  //#region src/website/site-footer/flags.tsx
1093
- var et = "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", tt = "M19.9154 8.69625H7.82613H7.82609V0.238281C6.90195 0.443203 6.02582 0.775352 5.21738 1.21648V8.69617V8.69621H0.0846484C0.0289844 9.1232 0 9.55852 0 10.0006C0 10.4427 0.0289844 10.878 0.0846484 11.3049H5.21734H5.21738V18.7846C6.02582 19.2257 6.90195 19.558 7.82609 19.7629V11.305V11.305H19.9154C19.9709 10.878 20 10.4427 20 10.0006C20 9.55852 19.9709 9.1232 19.9154 8.69625V8.69625Z";
1094
- function q({ children: e, ...t }) {
1117
+ var $e = "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", et = "M19.9154 8.69625H7.82613H7.82609V0.238281C6.90195 0.443203 6.02582 0.775352 5.21738 1.21648V8.69617V8.69621H0.0846484C0.0289844 9.1232 0 9.55852 0 10.0006C0 10.4427 0.0289844 10.878 0.0846484 11.3049H5.21734H5.21738V18.7846C6.02582 19.2257 6.90195 19.558 7.82609 19.7629V11.305V11.305H19.9154C19.9709 10.878 20 10.4427 20 10.0006C20 9.55852 19.9709 9.1232 19.9154 8.69625V8.69625Z";
1118
+ function tt({ children: e, ...t }) {
1095
1119
  return /* @__PURE__ */ p("svg", {
1096
1120
  width: "20",
1097
1121
  height: "20",
@@ -1104,11 +1128,11 @@ function q({ children: e, ...t }) {
1104
1128
  });
1105
1129
  }
1106
1130
  function nt(e) {
1107
- return /* @__PURE__ */ m(q, {
1131
+ return /* @__PURE__ */ m(tt, {
1108
1132
  ...e,
1109
1133
  children: [
1110
1134
  /* @__PURE__ */ p("path", {
1111
- d: et,
1135
+ d: $e,
1112
1136
  fill: "#F0F0F0"
1113
1137
  }),
1114
1138
  /* @__PURE__ */ p("path", {
@@ -1128,18 +1152,18 @@ function nt(e) {
1128
1152
  fill: "#D80027"
1129
1153
  }),
1130
1154
  /* @__PURE__ */ p("path", {
1131
- d: tt,
1155
+ d: et,
1132
1156
  fill: "#0052B4"
1133
1157
  })
1134
1158
  ]
1135
1159
  });
1136
1160
  }
1137
1161
  function rt(e) {
1138
- return /* @__PURE__ */ m(q, {
1162
+ return /* @__PURE__ */ m(tt, {
1139
1163
  ...e,
1140
1164
  children: [
1141
1165
  /* @__PURE__ */ p("path", {
1142
- d: et,
1166
+ d: $e,
1143
1167
  fill: "#FFDA44"
1144
1168
  }),
1145
1169
  /* @__PURE__ */ p("path", {
@@ -1162,19 +1186,19 @@ function rt(e) {
1162
1186
  });
1163
1187
  }
1164
1188
  function it(e) {
1165
- return /* @__PURE__ */ m(q, {
1189
+ return /* @__PURE__ */ m(tt, {
1166
1190
  ...e,
1167
1191
  children: [/* @__PURE__ */ p("path", {
1168
- d: et,
1192
+ d: $e,
1169
1193
  fill: "#F0F0F0"
1170
1194
  }), /* @__PURE__ */ p("path", {
1171
- d: tt,
1195
+ d: et,
1172
1196
  fill: "#0052B4"
1173
1197
  })]
1174
1198
  });
1175
1199
  }
1176
1200
  function at(e) {
1177
- return /* @__PURE__ */ m(q, {
1201
+ return /* @__PURE__ */ m(tt, {
1178
1202
  ...e,
1179
1203
  children: [
1180
1204
  /* @__PURE__ */ p("path", {
@@ -1305,7 +1329,7 @@ function ft({ render: t, id: n, children: r }) {
1305
1329
  });
1306
1330
  }
1307
1331
  function pt({ market: e, render: t }) {
1308
- let n = ct(), r = C(), i = e.options ?? dt, a = ee(() => {
1332
+ let n = ct(), r = S(), i = e.options ?? dt, a = C(() => {
1309
1333
  let e = new Intl.Collator(n.collation, { sensitivity: "base" });
1310
1334
  return [...i].sort((t, n) => e.compare(ut[t].name, ut[n].name)).map((e) => ({
1311
1335
  value: e,
@@ -1317,7 +1341,7 @@ function pt({ market: e, render: t }) {
1317
1341
  render: t,
1318
1342
  id: r,
1319
1343
  children: e.title ?? n.market
1320
- }), /* @__PURE__ */ p(ce, {
1344
+ }), /* @__PURE__ */ p(se, {
1321
1345
  size: "sm",
1322
1346
  "aria-labelledby": r,
1323
1347
  options: a,
@@ -1437,28 +1461,28 @@ var X = {
1437
1461
  }, ht = "(min-width: 1312px)";
1438
1462
  function gt({ item: e, open: t, onOpenChange: i }) {
1439
1463
  let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
1440
- return /* @__PURE__ */ m(ue.Root, {
1464
+ return /* @__PURE__ */ m(le.Root, {
1441
1465
  open: t,
1442
1466
  onOpenChange: i,
1443
- children: [/* @__PURE__ */ m(ue.Trigger, {
1467
+ children: [/* @__PURE__ */ m(le.Trigger, {
1444
1468
  className: X.Row,
1445
1469
  children: [e.label, /* @__PURE__ */ p(r, {
1446
1470
  "aria-hidden": !0,
1447
1471
  className: X.RowChevron
1448
1472
  })]
1449
- }), /* @__PURE__ */ p(ue.Panel, {
1473
+ }), /* @__PURE__ */ p(le.Panel, {
1450
1474
  className: X.SubmenuPanel,
1451
1475
  children: /* @__PURE__ */ m("div", {
1452
1476
  className: X.Submenu,
1453
1477
  children: [
1454
1478
  (st(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
1455
1479
  className: X.Links,
1456
- children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1480
+ children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1457
1481
  className: X.Parent,
1458
1482
  href: e.href,
1459
1483
  render: e.render,
1460
1484
  children: e.label
1461
- }) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1485
+ }) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1462
1486
  href: e.href,
1463
1487
  render: e.render,
1464
1488
  children: e.label
@@ -1503,7 +1527,7 @@ function _t({ items: e }) {
1503
1527
  }
1504
1528
  function vt({ items: e, home: t, account: n }) {
1505
1529
  let r = lt(), [i, a] = T(!1);
1506
- return S(() => {
1530
+ return x(() => {
1507
1531
  if (!i) return;
1508
1532
  let e = window.matchMedia(ht), t = () => {
1509
1533
  e.matches && a(!1);
@@ -1544,7 +1568,7 @@ function vt({ items: e, home: t, account: n }) {
1544
1568
  })
1545
1569
  ]
1546
1570
  })
1547
- }), /* @__PURE__ */ p(re, { size: "sm" })]
1571
+ }), /* @__PURE__ */ p(ne, { size: "sm" })]
1548
1572
  }), /* @__PURE__ */ p(A.Content, {
1549
1573
  className: X.MenuContent,
1550
1574
  children: /* @__PURE__ */ p(_t, { items: e })
@@ -1556,7 +1580,7 @@ function vt({ items: e, home: t, account: n }) {
1556
1580
  //#endregion
1557
1581
  //#region src/website/site-header/site-header.tsx
1558
1582
  function yt({ group: e }) {
1559
- let t = C(), r = e.title != null, i = e.links.length > 0;
1583
+ let t = S(), r = e.title != null, i = e.links.length > 0;
1560
1584
  return /* @__PURE__ */ m("div", {
1561
1585
  className: X.Group,
1562
1586
  children: [
@@ -1568,7 +1592,7 @@ function yt({ group: e }) {
1568
1592
  i && /* @__PURE__ */ p("ul", {
1569
1593
  className: X.Links,
1570
1594
  "aria-labelledby": r ? t : void 0,
1571
- children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1595
+ children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1572
1596
  render: /* @__PURE__ */ p(k.Link, {
1573
1597
  closeOnClick: !0,
1574
1598
  href: e.href,
@@ -1685,7 +1709,7 @@ function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
1685
1709
  })
1686
1710
  ]
1687
1711
  })
1688
- }), /* @__PURE__ */ p(re, { size: "sm" })]
1712
+ }), /* @__PURE__ */ p(ne, { size: "sm" })]
1689
1713
  });
1690
1714
  }
1691
1715
  var Z = {
@@ -1877,19 +1901,19 @@ var $ = {
1877
1901
  });
1878
1902
  //#endregion
1879
1903
  //#region src/website/testimonials/testimonials.tsx
1880
- function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o, rating: s, videoSrc: c, videoPoster: u, videoCaptions: g, videoPosition: v = "start", render: y, ref: b, className: x, children: S, ...ee }) {
1881
- let w = Tt(), T = C(), te = i != null || a != null, ne = h.toArray(S).length > 0;
1904
+ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o, rating: s, videoSrc: c, videoPoster: u, videoCaptions: g, videoPosition: v = "start", render: y, ref: b, className: x, children: C, ...w }) {
1905
+ let T = Tt(), ee = S(), te = i != null || a != null, ne = h.toArray(C).length > 0;
1882
1906
  return e({
1883
1907
  render: y,
1884
1908
  ref: b,
1885
1909
  defaultTagName: "div",
1886
1910
  props: {
1887
- ...ee,
1911
+ ...w,
1888
1912
  className: N($.Testimonials, x)({}),
1889
1913
  children: /* @__PURE__ */ m(f, { children: [
1890
- t != null && /* @__PURE__ */ p(Je, {
1914
+ t != null && /* @__PURE__ */ p(Ke, {
1891
1915
  title: t,
1892
- titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: T }),
1916
+ titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: ee }),
1893
1917
  subtitle: r
1894
1918
  }),
1895
1919
  (te || c != null) && /* @__PURE__ */ m("div", {
@@ -1899,7 +1923,7 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1899
1923
  children: [te && /* @__PURE__ */ m("figure", {
1900
1924
  className: $.Quote,
1901
1925
  children: [
1902
- s != null && /* @__PURE__ */ p(le, { rating: s }),
1926
+ s != null && /* @__PURE__ */ p(ce, { rating: s }),
1903
1927
  i != null && /* @__PURE__ */ p("blockquote", {
1904
1928
  className: $.Blockquote,
1905
1929
  children: typeof i == "string" || typeof i == "number" ? /* @__PURE__ */ p("p", { children: i }) : i
@@ -1932,19 +1956,19 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1932
1956
  }), /* @__PURE__ */ m(E.Root, { children: [/* @__PURE__ */ p(E.Trigger, { render: /* @__PURE__ */ p(D, {
1933
1957
  variant: "elevated",
1934
1958
  color: "secondary",
1935
- "aria-label": w.play,
1959
+ "aria-label": T.play,
1936
1960
  className: $.Play,
1937
1961
  children: /* @__PURE__ */ p(l, { "aria-hidden": !0 })
1938
1962
  }) }), /* @__PURE__ */ m(E.Portal, { children: [/* @__PURE__ */ p(E.Backdrop, {}), /* @__PURE__ */ p(E.Viewport, {
1939
1963
  className: $.DialogViewport,
1940
1964
  children: /* @__PURE__ */ m(E.Popup, {
1941
1965
  size: "lg",
1942
- "aria-label": w.video,
1966
+ "aria-label": T.video,
1943
1967
  className: $.DialogPopup,
1944
1968
  children: [/* @__PURE__ */ p(E.Close, { render: /* @__PURE__ */ p(D, {
1945
1969
  variant: "elevated",
1946
1970
  color: "secondary",
1947
- "aria-label": w.close,
1971
+ "aria-label": T.close,
1948
1972
  className: $.Close,
1949
1973
  children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
1950
1974
  }) }), /* @__PURE__ */ p("video", {
@@ -1956,8 +1980,8 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1956
1980
  children: g != null && /* @__PURE__ */ p("track", {
1957
1981
  kind: "captions",
1958
1982
  src: g,
1959
- srcLang: w.captionsLanguage,
1960
- label: w.captionsLabel,
1983
+ srcLang: T.captionsLanguage,
1984
+ label: T.captionsLabel,
1961
1985
  default: !0
1962
1986
  })
1963
1987
  })]
@@ -1965,15 +1989,15 @@ function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1965
1989
  })] })] })]
1966
1990
  })]
1967
1991
  }),
1968
- ne && /* @__PURE__ */ p(Ee, {
1969
- ...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
1970
- children: S
1992
+ ne && /* @__PURE__ */ p(we, {
1993
+ ...t == null ? { "aria-label": T.reviews } : { "aria-labelledby": ee },
1994
+ children: C
1971
1995
  })
1972
1996
  ] })
1973
1997
  }
1974
1998
  });
1975
1999
  }
1976
2000
  //#endregion
1977
- export { fe as AlertBanner, _e as BrandLetters, ve as Calculator, Ee as Carousel, De as CtaBanner, Fe as ExpandingCards, Ie as ExpandingCardsItem, Le as Hero, Re as HeroServiceGrid, ze as NavigationGrid, Ve as PartnerList, He as PaymentFeature, We as PromoGrid, qe as Section, Je as SectionHeader, Xe as ServiceCardGrid, $e as SideNav, mt as SiteFooter, xt as SiteHeader, St as SplitContent, Ct as Stats, Et as Testimonials };
2001
+ export { de as AlertBanner, he as BrandLetters, ge as Calculator, we as Carousel, Te as CtaBanner, Ne as ExpandingCards, Pe as ExpandingCardsItem, Fe as Hero, Ie as HeroServiceGrid, Le as NavigationGrid, ze as PartnerList, Be as PaymentFeature, He as PromoGrid, Ge as Section, Ke as SectionHeader, Je as ServiceCardGrid, Ze as SideNav, mt as SiteFooter, xt as SiteHeader, St as SplitContent, Ct as Stats, Et as Testimonials };
1978
2002
 
1979
2003
  //# sourceMappingURL=website.mjs.map