@leabankab/component-library 8.12.1 → 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,26 +1017,26 @@ 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 = {
1032
+ var Ye = {
1028
1033
  ArrowRevealLink: "_ArrowRevealLink_zq26l_2",
1029
1034
  Arrow: "_Arrow_zq26l_2",
1030
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", marked: o = !1, ...s }) {
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",
@@ -1039,24 +1044,24 @@ function G({ render: n, className: r, children: i, size: a = "md", marked: o = !
1039
1044
  ...s,
1040
1045
  "data-size": a === "md" ? void 0 : a,
1041
1046
  "data-marked": o ? "" : void 0,
1042
- className: N(Ze.ArrowRevealLink, r)({}),
1047
+ className: N(Ye.ArrowRevealLink, r)({}),
1043
1048
  children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
1044
1049
  "aria-hidden": !0,
1045
- className: Ze.Arrow,
1050
+ className: Ye.Arrow,
1046
1051
  children: /* @__PURE__ */ p(t, {})
1047
1052
  }), /* @__PURE__ */ p("span", {
1048
- className: Ze.Text,
1053
+ className: Ye.Text,
1049
1054
  children: i
1050
1055
  })] })
1051
1056
  }
1052
1057
  });
1053
1058
  }
1054
- var K = {
1059
+ var q = {
1055
1060
  SideNav: "_SideNav_1ha5v_6",
1056
1061
  Sidebar: "_Sidebar_1ha5v_29",
1057
1062
  List: "_List_1ha5v_44",
1058
1063
  Content: "_Content_1ha5v_61"
1059
- }, Qe = O({ navigation: {
1064
+ }, Xe = O({ navigation: {
1060
1065
  no: "Sidemeny",
1061
1066
  se: "Sidomeny",
1062
1067
  fi: "Sivuvalikko",
@@ -1064,31 +1069,31 @@ var K = {
1064
1069
  } });
1065
1070
  //#endregion
1066
1071
  //#region src/website/side-nav/side-nav.tsx
1067
- function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
1068
- let o = Qe(), s = e.findIndex((e) => e.current), [c, l] = T(null);
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);
1069
1074
  c && c.from !== s && l(null);
1070
1075
  let u = c?.index ?? s;
1071
- return S(() => {
1076
+ return x(() => {
1072
1077
  let e = (e) => {
1073
1078
  e.persisted && l(null);
1074
1079
  };
1075
1080
  return window.addEventListener("pageshow", e), () => window.removeEventListener("pageshow", e);
1076
1081
  }, []), /* @__PURE__ */ m("div", {
1077
1082
  ...a,
1078
- className: [K.SideNav, i].filter(Boolean).join(" "),
1083
+ className: [q.SideNav, i].filter(Boolean).join(" "),
1079
1084
  children: [/* @__PURE__ */ p("nav", {
1080
- className: K.Sidebar,
1085
+ className: q.Sidebar,
1081
1086
  "aria-label": t ?? o.navigation,
1082
1087
  children: /* @__PURE__ */ p("ul", {
1083
- className: K.List,
1084
- 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, {
1085
1090
  size: "lg",
1086
1091
  href: e.href,
1087
1092
  render: e.render,
1088
1093
  "aria-current": e.current ? "page" : void 0,
1089
1094
  marked: t === u,
1090
1095
  onClick: (e) => {
1091
- et(e) && l({
1096
+ Qe(e) && l({
1092
1097
  index: t,
1093
1098
  from: s
1094
1099
  });
@@ -1096,21 +1101,21 @@ function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...
1096
1101
  children: e.label
1097
1102
  }) }, t))
1098
1103
  })
1099
- }), /* @__PURE__ */ m(oe, {
1104
+ }), /* @__PURE__ */ m(ae, {
1100
1105
  size: "sm",
1101
- className: K.Content,
1106
+ className: q.Content,
1102
1107
  children: [n, r]
1103
1108
  })]
1104
1109
  });
1105
1110
  }
1106
- function et(e) {
1111
+ function Qe(e) {
1107
1112
  let t = e.currentTarget, n = t.getAttribute("target");
1108
1113
  return !e.defaultPrevented && e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && (!n || n === "_self") && !t.hasAttribute("download");
1109
1114
  }
1110
1115
  //#endregion
1111
1116
  //#region src/website/site-footer/flags.tsx
1112
- var tt = "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", nt = "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";
1113
- 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 }) {
1114
1119
  return /* @__PURE__ */ p("svg", {
1115
1120
  width: "20",
1116
1121
  height: "20",
@@ -1122,12 +1127,12 @@ function q({ children: e, ...t }) {
1122
1127
  children: e
1123
1128
  });
1124
1129
  }
1125
- function rt(e) {
1126
- return /* @__PURE__ */ m(q, {
1130
+ function nt(e) {
1131
+ return /* @__PURE__ */ m(tt, {
1127
1132
  ...e,
1128
1133
  children: [
1129
1134
  /* @__PURE__ */ p("path", {
1130
- d: tt,
1135
+ d: $e,
1131
1136
  fill: "#F0F0F0"
1132
1137
  }),
1133
1138
  /* @__PURE__ */ p("path", {
@@ -1147,18 +1152,18 @@ function rt(e) {
1147
1152
  fill: "#D80027"
1148
1153
  }),
1149
1154
  /* @__PURE__ */ p("path", {
1150
- d: nt,
1155
+ d: et,
1151
1156
  fill: "#0052B4"
1152
1157
  })
1153
1158
  ]
1154
1159
  });
1155
1160
  }
1156
- function it(e) {
1157
- return /* @__PURE__ */ m(q, {
1161
+ function rt(e) {
1162
+ return /* @__PURE__ */ m(tt, {
1158
1163
  ...e,
1159
1164
  children: [
1160
1165
  /* @__PURE__ */ p("path", {
1161
- d: tt,
1166
+ d: $e,
1162
1167
  fill: "#FFDA44"
1163
1168
  }),
1164
1169
  /* @__PURE__ */ p("path", {
@@ -1180,20 +1185,20 @@ function it(e) {
1180
1185
  ]
1181
1186
  });
1182
1187
  }
1183
- function at(e) {
1184
- return /* @__PURE__ */ m(q, {
1188
+ function it(e) {
1189
+ return /* @__PURE__ */ m(tt, {
1185
1190
  ...e,
1186
1191
  children: [/* @__PURE__ */ p("path", {
1187
- d: tt,
1192
+ d: $e,
1188
1193
  fill: "#F0F0F0"
1189
1194
  }), /* @__PURE__ */ p("path", {
1190
- d: nt,
1195
+ d: et,
1191
1196
  fill: "#0052B4"
1192
1197
  })]
1193
1198
  });
1194
1199
  }
1195
- function ot(e) {
1196
- return /* @__PURE__ */ m(q, {
1200
+ function at(e) {
1201
+ return /* @__PURE__ */ m(tt, {
1197
1202
  ...e,
1198
1203
  children: [
1199
1204
  /* @__PURE__ */ p("path", {
@@ -1223,7 +1228,7 @@ function J({ href: t, render: n, ...r }) {
1223
1228
  }
1224
1229
  });
1225
1230
  }
1226
- var st = (e) => e.groups != null && e.groups.length > 0, ct = (e) => e.href != null || e.render != null, Y = {
1231
+ var ot = (e) => e.groups != null && e.groups.length > 0, st = (e) => e.href != null || e.render != null, Y = {
1227
1232
  SiteFooter: "_SiteFooter_o2ixe_7",
1228
1233
  Content: "_Content_o2ixe_23",
1229
1234
  Main: "_Main_o2ixe_32",
@@ -1239,7 +1244,7 @@ var st = (e) => e.groups != null && e.groups.length > 0, ct = (e) => e.href != n
1239
1244
  Divider: "_Divider_o2ixe_165",
1240
1245
  CookieSettings: "_CookieSettings_o2ixe_176",
1241
1246
  Copyright: "_Copyright_o2ixe_192"
1242
- }, lt = O({
1247
+ }, ct = O({
1243
1248
  market: {
1244
1249
  no: "Marked",
1245
1250
  se: "Marknad",
@@ -1264,7 +1269,7 @@ var st = (e) => e.groups != null && e.groups.length > 0, ct = (e) => e.href != n
1264
1269
  fi: "fi",
1265
1270
  es: "es"
1266
1271
  }
1267
- }), ut = O({
1272
+ }), lt = O({
1268
1273
  navigation: {
1269
1274
  no: "Hovedmeny",
1270
1275
  se: "Huvudmeny",
@@ -1289,30 +1294,30 @@ var st = (e) => e.groups != null && e.groups.length > 0, ct = (e) => e.href != n
1289
1294
  fi: "Lea Bank, etusivu",
1290
1295
  es: "Lea Bank, página de inicio"
1291
1296
  }
1292
- }), dt = {
1297
+ }), ut = {
1293
1298
  no: {
1294
1299
  name: "Norge",
1295
- flag: /* @__PURE__ */ p(rt, {})
1300
+ flag: /* @__PURE__ */ p(nt, {})
1296
1301
  },
1297
1302
  se: {
1298
1303
  name: "Sverige",
1299
- flag: /* @__PURE__ */ p(it, {})
1304
+ flag: /* @__PURE__ */ p(rt, {})
1300
1305
  },
1301
1306
  fi: {
1302
1307
  name: "Suomi",
1303
- flag: /* @__PURE__ */ p(at, {})
1308
+ flag: /* @__PURE__ */ p(it, {})
1304
1309
  },
1305
1310
  es: {
1306
1311
  name: "España",
1307
- flag: /* @__PURE__ */ p(ot, {})
1312
+ flag: /* @__PURE__ */ p(at, {})
1308
1313
  }
1309
- }, ft = [
1314
+ }, dt = [
1310
1315
  "no",
1311
1316
  "se",
1312
1317
  "fi",
1313
1318
  "es"
1314
1319
  ];
1315
- function pt({ render: t, id: n, children: r }) {
1320
+ function ft({ render: t, id: n, children: r }) {
1316
1321
  return e({
1317
1322
  render: t,
1318
1323
  defaultTagName: "h2",
@@ -1323,20 +1328,20 @@ function pt({ render: t, id: n, children: r }) {
1323
1328
  }
1324
1329
  });
1325
1330
  }
1326
- function mt({ market: e, render: t }) {
1327
- let n = lt(), r = C(), i = e.options ?? ft, a = ee(() => {
1331
+ function pt({ market: e, render: t }) {
1332
+ let n = ct(), r = S(), i = e.options ?? dt, a = C(() => {
1328
1333
  let e = new Intl.Collator(n.collation, { sensitivity: "base" });
1329
- return [...i].sort((t, n) => e.compare(dt[t].name, dt[n].name)).map((e) => ({
1334
+ return [...i].sort((t, n) => e.compare(ut[t].name, ut[n].name)).map((e) => ({
1330
1335
  value: e,
1331
- label: dt[e].name,
1332
- icon: dt[e].flag
1336
+ label: ut[e].name,
1337
+ icon: ut[e].flag
1333
1338
  }));
1334
1339
  }, [i, n.collation]);
1335
- return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(pt, {
1340
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ft, {
1336
1341
  render: t,
1337
1342
  id: r,
1338
1343
  children: e.title ?? n.market
1339
- }), /* @__PURE__ */ p(ce, {
1344
+ }), /* @__PURE__ */ p(se, {
1340
1345
  size: "sm",
1341
1346
  "aria-labelledby": r,
1342
1347
  options: a,
@@ -1345,8 +1350,8 @@ function mt({ market: e, render: t }) {
1345
1350
  className: Y.Market
1346
1351
  })] });
1347
1352
  }
1348
- function ht({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
1349
- let u = lt(), d = ut(), h = a != null || o != null;
1353
+ function mt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
1354
+ let u = ct(), d = lt(), h = a != null || o != null;
1350
1355
  return /* @__PURE__ */ p("footer", {
1351
1356
  ...l,
1352
1357
  className: [Y.SiteFooter, c].filter(Boolean).join(" "),
@@ -1364,7 +1369,7 @@ function ht({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
1364
1369
  className: Y.Columns,
1365
1370
  children: [n.map((e, t) => /* @__PURE__ */ m("div", {
1366
1371
  className: Y.Column,
1367
- children: [/* @__PURE__ */ p(pt, {
1372
+ children: [/* @__PURE__ */ p(ft, {
1368
1373
  render: s,
1369
1374
  children: e.title
1370
1375
  }), e.links.length > 0 && /* @__PURE__ */ p("ul", {
@@ -1378,10 +1383,10 @@ function ht({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
1378
1383
  })]
1379
1384
  }, t)), (r != null || i != null) && /* @__PURE__ */ m("div", {
1380
1385
  className: Y.Column,
1381
- children: [r != null && /* @__PURE__ */ p(mt, {
1386
+ children: [r != null && /* @__PURE__ */ p(pt, {
1382
1387
  market: r,
1383
1388
  render: s
1384
- }), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(pt, {
1389
+ }), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ft, {
1385
1390
  render: s,
1386
1391
  children: i.title ?? u.social
1387
1392
  }), /* @__PURE__ */ p("ul", {
@@ -1453,31 +1458,31 @@ var X = {
1453
1458
  SubmenuPanel: "_SubmenuPanel_dcn2t_556",
1454
1459
  Submenu: "_Submenu_dcn2t_556",
1455
1460
  Parent: "_Parent_dcn2t_577"
1456
- }, gt = "(min-width: 1312px)";
1457
- function _t({ item: e, open: t, onOpenChange: i }) {
1461
+ }, ht = "(min-width: 1312px)";
1462
+ function gt({ item: e, open: t, onOpenChange: i }) {
1458
1463
  let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
1459
- return /* @__PURE__ */ m(ue.Root, {
1464
+ return /* @__PURE__ */ m(le.Root, {
1460
1465
  open: t,
1461
1466
  onOpenChange: i,
1462
- children: [/* @__PURE__ */ m(ue.Trigger, {
1467
+ children: [/* @__PURE__ */ m(le.Trigger, {
1463
1468
  className: X.Row,
1464
1469
  children: [e.label, /* @__PURE__ */ p(r, {
1465
1470
  "aria-hidden": !0,
1466
1471
  className: X.RowChevron
1467
1472
  })]
1468
- }), /* @__PURE__ */ p(ue.Panel, {
1473
+ }), /* @__PURE__ */ p(le.Panel, {
1469
1474
  className: X.SubmenuPanel,
1470
1475
  children: /* @__PURE__ */ m("div", {
1471
1476
  className: X.Submenu,
1472
1477
  children: [
1473
- (ct(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
1478
+ (st(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
1474
1479
  className: X.Links,
1475
- children: [ct(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1480
+ children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1476
1481
  className: X.Parent,
1477
1482
  href: e.href,
1478
1483
  render: e.render,
1479
1484
  children: e.label
1480
- }) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
1485
+ }) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1481
1486
  href: e.href,
1482
1487
  render: e.render,
1483
1488
  children: e.label
@@ -1501,13 +1506,13 @@ function _t({ item: e, open: t, onOpenChange: i }) {
1501
1506
  })]
1502
1507
  });
1503
1508
  }
1504
- function vt({ items: e }) {
1505
- let t = ut(), [n, r] = T(null);
1509
+ function _t({ items: e }) {
1510
+ let t = lt(), [n, r] = T(null);
1506
1511
  return /* @__PURE__ */ p("nav", {
1507
1512
  "aria-label": t.navigation,
1508
1513
  children: /* @__PURE__ */ p("ul", {
1509
1514
  className: X.MenuList,
1510
- children: e.map((e, t) => /* @__PURE__ */ p("li", { children: st(e) ? /* @__PURE__ */ p(_t, {
1515
+ children: e.map((e, t) => /* @__PURE__ */ p("li", { children: ot(e) ? /* @__PURE__ */ p(gt, {
1511
1516
  item: e,
1512
1517
  open: n === t,
1513
1518
  onOpenChange: (e) => r(e ? t : null)
@@ -1520,11 +1525,11 @@ function vt({ items: e }) {
1520
1525
  })
1521
1526
  });
1522
1527
  }
1523
- function yt({ items: e, home: t, account: n }) {
1524
- let r = ut(), [i, a] = T(!1);
1525
- return S(() => {
1528
+ function vt({ items: e, home: t, account: n }) {
1529
+ let r = lt(), [i, a] = T(!1);
1530
+ return x(() => {
1526
1531
  if (!i) return;
1527
- let e = window.matchMedia(gt), t = () => {
1532
+ let e = window.matchMedia(ht), t = () => {
1528
1533
  e.matches && a(!1);
1529
1534
  };
1530
1535
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
@@ -1563,10 +1568,10 @@ function yt({ items: e, home: t, account: n }) {
1563
1568
  })
1564
1569
  ]
1565
1570
  })
1566
- }), /* @__PURE__ */ p(re, { size: "sm" })]
1571
+ }), /* @__PURE__ */ p(ne, { size: "sm" })]
1567
1572
  }), /* @__PURE__ */ p(A.Content, {
1568
1573
  className: X.MenuContent,
1569
- children: /* @__PURE__ */ p(vt, { items: e })
1574
+ children: /* @__PURE__ */ p(_t, { items: e })
1570
1575
  })]
1571
1576
  })
1572
1577
  })] })]
@@ -1574,8 +1579,8 @@ function yt({ items: e, home: t, account: n }) {
1574
1579
  }
1575
1580
  //#endregion
1576
1581
  //#region src/website/site-header/site-header.tsx
1577
- function bt({ group: e }) {
1578
- let t = C(), r = e.title != null, i = e.links.length > 0;
1582
+ function yt({ group: e }) {
1583
+ let t = S(), r = e.title != null, i = e.links.length > 0;
1579
1584
  return /* @__PURE__ */ m("div", {
1580
1585
  className: X.Group,
1581
1586
  children: [
@@ -1587,7 +1592,7 @@ function bt({ group: e }) {
1587
1592
  i && /* @__PURE__ */ p("ul", {
1588
1593
  className: X.Links,
1589
1594
  "aria-labelledby": r ? t : void 0,
1590
- 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, {
1591
1596
  render: /* @__PURE__ */ p(k.Link, {
1592
1597
  closeOnClick: !0,
1593
1598
  href: e.href,
@@ -1613,13 +1618,13 @@ function bt({ group: e }) {
1613
1618
  ]
1614
1619
  });
1615
1620
  }
1616
- function xt({ item: e, value: t, end: n, onFocus: i }) {
1621
+ function bt({ item: e, value: t, end: n, onFocus: i }) {
1617
1622
  return /* @__PURE__ */ p(k.Item, {
1618
1623
  value: t,
1619
1624
  className: X.Item,
1620
1625
  "data-end": n || void 0,
1621
1626
  onFocus: () => i(t),
1622
- children: st(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
1627
+ children: ot(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
1623
1628
  className: X.Pill,
1624
1629
  children: [e.label, /* @__PURE__ */ p(k.Icon, {
1625
1630
  className: X.Chevron,
@@ -1628,7 +1633,7 @@ function xt({ item: e, value: t, end: n, onFocus: i }) {
1628
1633
  }), /* @__PURE__ */ p(k.Content, {
1629
1634
  keepMounted: !0,
1630
1635
  className: X.Content,
1631
- children: e.groups.map((e, t) => /* @__PURE__ */ p(bt, { group: e }, t))
1636
+ children: e.groups.map((e, t) => /* @__PURE__ */ p(yt, { group: e }, t))
1632
1637
  })] }) : /* @__PURE__ */ p(k.Link, {
1633
1638
  closeOnClick: !0,
1634
1639
  className: X.Pill,
@@ -1638,8 +1643,8 @@ function xt({ item: e, value: t, end: n, onFocus: i }) {
1638
1643
  })
1639
1644
  });
1640
1645
  }
1641
- function St({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
1642
- let l = ut(), [u, d] = T(null), f = (e) => {
1646
+ function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
1647
+ let l = lt(), [u, d] = T(null), f = (e) => {
1643
1648
  u != null && u !== e && d(null);
1644
1649
  }, h = /* @__PURE__ */ p(J, {
1645
1650
  href: t == null ? "/" : void 0,
@@ -1662,7 +1667,7 @@ function St({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
1662
1667
  children: /* @__PURE__ */ m("div", {
1663
1668
  className: X.BarContent,
1664
1669
  children: [
1665
- /* @__PURE__ */ p(yt, {
1670
+ /* @__PURE__ */ p(vt, {
1666
1671
  items: [...n, ...r],
1667
1672
  home: h,
1668
1673
  account: g
@@ -1676,7 +1681,7 @@ function St({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
1676
1681
  onValueChange: d,
1677
1682
  children: [/* @__PURE__ */ p(k.List, {
1678
1683
  className: X.List,
1679
- children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(xt, {
1684
+ children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(bt, {
1680
1685
  item: e,
1681
1686
  value: `item-${t}`,
1682
1687
  end: r.length > 0 && t === n.length,
@@ -1704,7 +1709,7 @@ function St({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
1704
1709
  })
1705
1710
  ]
1706
1711
  })
1707
- }), /* @__PURE__ */ p(re, { size: "sm" })]
1712
+ }), /* @__PURE__ */ p(ne, { size: "sm" })]
1708
1713
  });
1709
1714
  }
1710
1715
  var Z = {
@@ -1720,7 +1725,7 @@ var Z = {
1720
1725
  };
1721
1726
  //#endregion
1722
1727
  //#region src/website/split-content/split-content.tsx
1723
- function Ct({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o, imagePosition: s = "end", action: c, priceExample: l, render: u, ref: d, className: h, ...g }) {
1728
+ function St({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o, imagePosition: s = "end", action: c, priceExample: l, render: u, ref: d, className: h, ...g }) {
1724
1729
  let _ = e({
1725
1730
  render: n,
1726
1731
  defaultTagName: "h2",
@@ -1783,7 +1788,7 @@ var Q = {
1783
1788
  };
1784
1789
  //#endregion
1785
1790
  //#region src/website/stats/stats.tsx
1786
- function wt({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
1791
+ function Ct({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
1787
1792
  return e({
1788
1793
  render: o,
1789
1794
  ref: s,
@@ -1798,7 +1803,7 @@ function wt({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
1798
1803
  children: [n.map((e, t) => /* @__PURE__ */ m(g, { children: [/* @__PURE__ */ p("li", {
1799
1804
  "aria-hidden": !0,
1800
1805
  className: Q.Bar
1801
- }), /* @__PURE__ */ p(Tt, {
1806
+ }), /* @__PURE__ */ p(wt, {
1802
1807
  ...e,
1803
1808
  titleRender: r
1804
1809
  })] }, t)), /* @__PURE__ */ p("li", {
@@ -1817,7 +1822,7 @@ function wt({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
1817
1822
  }
1818
1823
  });
1819
1824
  }
1820
- function Tt({ number: t, title: n, text: r, titleRender: i }) {
1825
+ function wt({ number: t, title: n, text: r, titleRender: i }) {
1821
1826
  let a = e({
1822
1827
  enabled: n != null,
1823
1828
  render: i,
@@ -1856,7 +1861,7 @@ var $ = {
1856
1861
  DialogPopup: "_DialogPopup_13hpt_143",
1857
1862
  DialogVideo: "_DialogVideo_13hpt_149",
1858
1863
  Close: "_Close_13hpt_157"
1859
- }, Et = O({
1864
+ }, Tt = O({
1860
1865
  reviews: {
1861
1866
  no: "Kundeomtaler",
1862
1867
  se: "Kundomdömen",
@@ -1896,19 +1901,19 @@ var $ = {
1896
1901
  });
1897
1902
  //#endregion
1898
1903
  //#region src/website/testimonials/testimonials.tsx
1899
- function Dt({ 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 }) {
1900
- let w = Et(), 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;
1901
1906
  return e({
1902
1907
  render: y,
1903
1908
  ref: b,
1904
1909
  defaultTagName: "div",
1905
1910
  props: {
1906
- ...ee,
1911
+ ...w,
1907
1912
  className: N($.Testimonials, x)({}),
1908
1913
  children: /* @__PURE__ */ m(f, { children: [
1909
- t != null && /* @__PURE__ */ p(Je, {
1914
+ t != null && /* @__PURE__ */ p(Ke, {
1910
1915
  title: t,
1911
- titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: T }),
1916
+ titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: ee }),
1912
1917
  subtitle: r
1913
1918
  }),
1914
1919
  (te || c != null) && /* @__PURE__ */ m("div", {
@@ -1918,7 +1923,7 @@ function Dt({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1918
1923
  children: [te && /* @__PURE__ */ m("figure", {
1919
1924
  className: $.Quote,
1920
1925
  children: [
1921
- s != null && /* @__PURE__ */ p(le, { rating: s }),
1926
+ s != null && /* @__PURE__ */ p(ce, { rating: s }),
1922
1927
  i != null && /* @__PURE__ */ p("blockquote", {
1923
1928
  className: $.Blockquote,
1924
1929
  children: typeof i == "string" || typeof i == "number" ? /* @__PURE__ */ p("p", { children: i }) : i
@@ -1951,19 +1956,19 @@ function Dt({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1951
1956
  }), /* @__PURE__ */ m(E.Root, { children: [/* @__PURE__ */ p(E.Trigger, { render: /* @__PURE__ */ p(D, {
1952
1957
  variant: "elevated",
1953
1958
  color: "secondary",
1954
- "aria-label": w.play,
1959
+ "aria-label": T.play,
1955
1960
  className: $.Play,
1956
1961
  children: /* @__PURE__ */ p(l, { "aria-hidden": !0 })
1957
1962
  }) }), /* @__PURE__ */ m(E.Portal, { children: [/* @__PURE__ */ p(E.Backdrop, {}), /* @__PURE__ */ p(E.Viewport, {
1958
1963
  className: $.DialogViewport,
1959
1964
  children: /* @__PURE__ */ m(E.Popup, {
1960
1965
  size: "lg",
1961
- "aria-label": w.video,
1966
+ "aria-label": T.video,
1962
1967
  className: $.DialogPopup,
1963
1968
  children: [/* @__PURE__ */ p(E.Close, { render: /* @__PURE__ */ p(D, {
1964
1969
  variant: "elevated",
1965
1970
  color: "secondary",
1966
- "aria-label": w.close,
1971
+ "aria-label": T.close,
1967
1972
  className: $.Close,
1968
1973
  children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
1969
1974
  }) }), /* @__PURE__ */ p("video", {
@@ -1975,8 +1980,8 @@ function Dt({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1975
1980
  children: g != null && /* @__PURE__ */ p("track", {
1976
1981
  kind: "captions",
1977
1982
  src: g,
1978
- srcLang: w.captionsLanguage,
1979
- label: w.captionsLabel,
1983
+ srcLang: T.captionsLanguage,
1984
+ label: T.captionsLabel,
1980
1985
  default: !0
1981
1986
  })
1982
1987
  })]
@@ -1984,15 +1989,15 @@ function Dt({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
1984
1989
  })] })] })]
1985
1990
  })]
1986
1991
  }),
1987
- ne && /* @__PURE__ */ p(Ee, {
1988
- ...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
1989
- children: S
1992
+ ne && /* @__PURE__ */ p(we, {
1993
+ ...t == null ? { "aria-label": T.reviews } : { "aria-labelledby": ee },
1994
+ children: C
1990
1995
  })
1991
1996
  ] })
1992
1997
  }
1993
1998
  });
1994
1999
  }
1995
2000
  //#endregion
1996
- 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, ht as SiteFooter, St as SiteHeader, Ct as SplitContent, wt as Stats, Dt 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 };
1997
2002
 
1998
2003
  //# sourceMappingURL=website.mjs.map