@leabankab/component-library 8.7.0 → 8.9.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/component-library.es.js +906 -881
  3. package/dist/component-library.es.js.map +1 -1
  4. package/dist/component-library.umd.js +2 -2
  5. package/dist/component-library.umd.js.map +1 -1
  6. package/dist/components/form/select-field.d.ts +20 -1
  7. package/dist/components/form/select.d.ts +13 -3
  8. package/dist/components/form/slider.d.ts +15 -2
  9. package/dist/index.css +1 -1
  10. package/dist/website/alert-banner.d.ts +48 -0
  11. package/dist/website/arrow-reveal-link.d.ts +22 -0
  12. package/dist/website/brand-letters.d.ts +40 -0
  13. package/dist/website/calculator.d.ts +58 -0
  14. package/dist/website/carousel.d.ts +55 -0
  15. package/dist/website/cta-banner.d.ts +42 -0
  16. package/dist/website/expanding-cards-context.d.ts +8 -0
  17. package/dist/website/expanding-cards-item.d.ts +69 -0
  18. package/dist/website/expanding-cards.d.ts +48 -0
  19. package/dist/website/flags.d.ts +7 -0
  20. package/dist/website/hero-service-grid.d.ts +52 -0
  21. package/dist/website/hero.d.ts +57 -0
  22. package/dist/website/index.d.ts +37 -0
  23. package/dist/website/navigation-grid.d.ts +39 -0
  24. package/dist/website/paragraphs.d.ts +11 -0
  25. package/dist/website/partner-list.d.ts +79 -0
  26. package/dist/website/payment-feature.d.ts +85 -0
  27. package/dist/website/promo-grid.d.ts +71 -0
  28. package/dist/website/section-header.d.ts +53 -0
  29. package/dist/website/section.d.ts +53 -0
  30. package/dist/website/service-card-grid.d.ts +33 -0
  31. package/dist/website/side-nav.d.ts +57 -0
  32. package/dist/website/site-footer.d.ts +122 -0
  33. package/dist/website/site-header-link.d.ts +16 -0
  34. package/dist/website/site-header-menu.d.ts +21 -0
  35. package/dist/website/site-header.d.ts +141 -0
  36. package/dist/website/split-content.d.ts +69 -0
  37. package/dist/website/stats.d.ts +52 -0
  38. package/dist/website/testimonials.d.ts +100 -0
  39. package/dist/website/use-brand-letters-labels.d.ts +2 -0
  40. package/dist/website/use-carousel-labels.d.ts +6 -0
  41. package/dist/website/use-carousel.d.ts +50 -0
  42. package/dist/website/use-partner-list-labels.d.ts +6 -0
  43. package/dist/website/use-side-nav-labels.d.ts +5 -0
  44. package/dist/website/use-site-footer-labels.d.ts +7 -0
  45. package/dist/website/use-site-header-labels.d.ts +7 -0
  46. package/dist/website/use-testimonials-labels.d.ts +6 -0
  47. package/dist/website.cjs +2 -0
  48. package/dist/website.cjs.map +1 -0
  49. package/dist/website.css +1 -0
  50. package/dist/website.mjs +1933 -0
  51. package/dist/website.mjs.map +1 -0
  52. package/package.json +7 -2
@@ -0,0 +1,1933 @@
1
+ "use client";
2
+ import { useRender as e } from "@base-ui/react/use-render";
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
+ 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";
7
+ import { NavigationMenu as k } from "@base-ui/react/navigation-menu";
8
+ import { Collapsible as ue } from "@base-ui/react/collapsible";
9
+ import { Drawer as A } from "@base-ui/react/drawer";
10
+ import './website.css';//#region src/website/paragraphs.tsx
11
+ function j({ className: e, id: t, children: n }) {
12
+ return p(typeof n == "string" || typeof n == "number" ? "p" : "div", {
13
+ className: e,
14
+ id: t,
15
+ children: n
16
+ });
17
+ }
18
+ var M = {
19
+ AlertBanner: "_AlertBanner_vmi8l_6",
20
+ Icon: "_Icon_vmi8l_18",
21
+ Content: "_Content_vmi8l_31",
22
+ Title: "_Title_vmi8l_40",
23
+ Text: "_Text_vmi8l_47"
24
+ };
25
+ //#endregion
26
+ //#region src/website/alert-banner.tsx
27
+ function de({ render: t, children: n }) {
28
+ return e({
29
+ render: t,
30
+ defaultTagName: "h2",
31
+ props: {
32
+ className: M.Title,
33
+ children: n
34
+ }
35
+ });
36
+ }
37
+ function fe({ title: e, text: t, titleRender: n, icon: r, className: i, ...a }) {
38
+ let o = r === void 0 ? /* @__PURE__ */ p(u, {}) : r;
39
+ return /* @__PURE__ */ m("div", {
40
+ ...a,
41
+ className: [M.AlertBanner, i].filter(Boolean).join(" "),
42
+ children: [o != null && o !== !1 && /* @__PURE__ */ p("span", {
43
+ "aria-hidden": !0,
44
+ className: M.Icon,
45
+ children: o
46
+ }), /* @__PURE__ */ m("div", {
47
+ className: M.Content,
48
+ children: [e != null && /* @__PURE__ */ p(de, {
49
+ render: n,
50
+ children: e
51
+ }), t != null && /* @__PURE__ */ p(j, {
52
+ className: M.Text,
53
+ children: t
54
+ })]
55
+ })]
56
+ });
57
+ }
58
+ //#endregion
59
+ //#region src/utils/merge-class-name.ts
60
+ var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), P = {
61
+ BrandLetters: "_BrandLetters_1ygg1_9",
62
+ Letters: "_Letters_1ygg1_17",
63
+ Letter: "_Letter_1ygg1_17",
64
+ Video: "_Video_1ygg1_48"
65
+ }, pe = O({
66
+ play: {
67
+ no: "Spill av videoene",
68
+ se: "Spela upp videorna",
69
+ fi: "Toista videot",
70
+ es: "Reproducir los vídeos"
71
+ },
72
+ pause: {
73
+ no: "Sett videoene på pause",
74
+ se: "Pausa videorna",
75
+ fi: "Keskeytä videot",
76
+ es: "Pausar los vídeos"
77
+ }
78
+ }), me = "(prefers-reduced-motion: reduce)", he = [
79
+ "L",
80
+ "E",
81
+ "A"
82
+ ];
83
+ function ge({ videos: t, render: n, ref: r, className: i, ...a }) {
84
+ let o = pe(), s = w([]), [u, d] = T(!1), h = (e) => {
85
+ for (let t of s.current) t && e(t);
86
+ }, g = (e) => {
87
+ e.muted = !0, e.play().catch(() => {});
88
+ };
89
+ S(() => {
90
+ let e = window.matchMedia(me);
91
+ e.matches || h(g);
92
+ let t = (e) => {
93
+ e.matches && h((e) => e.pause());
94
+ };
95
+ return e.addEventListener("change", t), () => e.removeEventListener("change", t);
96
+ }, []);
97
+ let _ = () => d(s.current.some((e) => e != null && !e.paused)), v = () => {
98
+ h(u ? (e) => e.pause() : g);
99
+ };
100
+ return e({
101
+ render: n,
102
+ ref: r,
103
+ defaultTagName: "div",
104
+ props: {
105
+ ...a,
106
+ className: N(P.BrandLetters, i)({}),
107
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
108
+ className: P.Letters,
109
+ children: he.map((e, n) => /* @__PURE__ */ p("div", {
110
+ className: P.Letter,
111
+ "data-letter": e,
112
+ children: /* @__PURE__ */ p("video", {
113
+ ref: (e) => {
114
+ s.current[n] = e;
115
+ },
116
+ className: P.Video,
117
+ src: t[n].src,
118
+ poster: t[n].poster,
119
+ muted: !0,
120
+ loop: !0,
121
+ playsInline: !0,
122
+ "aria-hidden": !0,
123
+ onPlay: _,
124
+ onPause: _
125
+ })
126
+ }, e))
127
+ }), /* @__PURE__ */ p(D, {
128
+ variant: "elevated",
129
+ color: "secondary",
130
+ "aria-label": u ? o.pause : o.play,
131
+ onClick: v,
132
+ children: p(u ? c : l, { "aria-hidden": !0 })
133
+ })] })
134
+ }
135
+ });
136
+ }
137
+ var F = {
138
+ Calculator: "_Calculator_1mamd_12",
139
+ Body: "_Body_1mamd_26",
140
+ Panel: "_Panel_1mamd_41",
141
+ Summary: "_Summary_1mamd_55",
142
+ Results: "_Results_1mamd_64",
143
+ Result: "_Result_1mamd_64",
144
+ Label: "_Label_1mamd_77",
145
+ Value: "_Value_1mamd_78",
146
+ Actions: "_Actions_1mamd_95",
147
+ Price: "_Price_1mamd_103"
148
+ };
149
+ //#endregion
150
+ //#region src/website/calculator.tsx
151
+ function _e({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
152
+ return e({
153
+ render: a,
154
+ ref: o,
155
+ defaultTagName: "div",
156
+ props: {
157
+ ...l,
158
+ className: N(F.Calculator, s)({}),
159
+ children: /* @__PURE__ */ m(f, { children: [t, /* @__PURE__ */ m("div", {
160
+ className: F.Body,
161
+ children: [/* @__PURE__ */ p("div", {
162
+ className: F.Panel,
163
+ children: c
164
+ }), /* @__PURE__ */ m("div", {
165
+ className: F.Summary,
166
+ children: [n.length > 0 && /* @__PURE__ */ p("dl", {
167
+ className: F.Results,
168
+ "aria-live": "polite",
169
+ children: n.map((e, t) => /* @__PURE__ */ m("div", {
170
+ className: F.Result,
171
+ children: [/* @__PURE__ */ p("dt", {
172
+ className: F.Label,
173
+ children: e.label
174
+ }), /* @__PURE__ */ p("dd", {
175
+ className: F.Value,
176
+ children: e.value
177
+ })]
178
+ }, t))
179
+ }), (r != null || i != null) && /* @__PURE__ */ m("div", {
180
+ className: F.Actions,
181
+ children: [r, i != null && /* @__PURE__ */ p("p", {
182
+ className: F.Price,
183
+ children: i
184
+ })]
185
+ })]
186
+ })]
187
+ })] })
188
+ }
189
+ });
190
+ }
191
+ var I = {
192
+ Carousel: "_Carousel_17a24_14",
193
+ Viewport: "_Viewport_17a24_31",
194
+ Track: "_Track_17a24_66",
195
+ Slide: "_Slide_17a24_94",
196
+ Controls: "_Controls_17a24_100",
197
+ VisuallyHidden: "_VisuallyHidden_17a24_109"
198
+ }, ve = "(prefers-reduced-motion: reduce)", ye = 150;
199
+ function be(e, t) {
200
+ let n = w([0]), r = w(void 0), [i, a] = T(() => ({
201
+ pageCount: Math.max(1, t - 1),
202
+ page: 0,
203
+ settledPage: 0,
204
+ atStart: !0,
205
+ atEnd: t <= 2,
206
+ overflowing: t > 2,
207
+ moved: !1
208
+ })), o = b((t, r = !1) => {
209
+ let i = e.current;
210
+ if (!i) return;
211
+ let o = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
212
+ for (let e = 1; e < c.length; e += 1) Math.abs(c[e] - o) < Math.abs(c[l] - o) && (l = e);
213
+ a((e) => {
214
+ let n = {
215
+ pageCount: c.length,
216
+ page: l,
217
+ settledPage: t ? l : e.settledPage,
218
+ atStart: o <= 1,
219
+ atEnd: o >= s - 1,
220
+ overflowing: s > 1,
221
+ moved: e.moved || r
222
+ };
223
+ return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
224
+ });
225
+ }, [e]), s = b(() => {
226
+ let t = e.current;
227
+ if (!t) return;
228
+ let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, s = [];
229
+ for (let e of i) {
230
+ let t = Math.min(Math.max(0, e.offsetLeft - a), r);
231
+ (s.length === 0 || t - s[s.length - 1] > 1) && s.push(t);
232
+ }
233
+ n.current = s.length > 0 ? s : [0], o(!0);
234
+ }, [o, e]);
235
+ S(() => {
236
+ let t = e.current;
237
+ if (!t) return;
238
+ s();
239
+ let n = () => {
240
+ o(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => o(!0), ye);
241
+ }, i = new ResizeObserver(s);
242
+ return t.addEventListener("scroll", n, { passive: !0 }), i.observe(t), () => {
243
+ t.removeEventListener("scroll", n), i.disconnect(), clearTimeout(r.current);
244
+ };
245
+ }, [
246
+ s,
247
+ o,
248
+ t,
249
+ e
250
+ ]);
251
+ let c = b((t) => {
252
+ let r = e.current;
253
+ if (!r) return;
254
+ let i = n.current, a = Math.min(i.length - 1, Math.max(0, t)), o = !window.matchMedia(ve).matches;
255
+ r.scrollTo({
256
+ left: i[a],
257
+ behavior: o ? "smooth" : "auto"
258
+ });
259
+ }, [e]);
260
+ return {
261
+ ...i,
262
+ goTo: c
263
+ };
264
+ }
265
+ //#endregion
266
+ //#region src/website/use-carousel-labels.ts
267
+ var xe = O({
268
+ carousel: {
269
+ no: "karusell",
270
+ se: "karusell",
271
+ fi: "karuselli",
272
+ es: "carrusel"
273
+ },
274
+ previous: {
275
+ no: "Forrige",
276
+ se: "Föregående",
277
+ fi: "Edellinen",
278
+ es: "Anterior"
279
+ },
280
+ next: {
281
+ no: "Neste",
282
+ se: "Nästa",
283
+ fi: "Seuraava",
284
+ es: "Siguiente"
285
+ },
286
+ status: {
287
+ no: "Side {page} av {count}",
288
+ se: "Sida {page} av {count}",
289
+ fi: "Sivu {page}/{count}",
290
+ es: "Página {page} de {count}"
291
+ }
292
+ });
293
+ //#endregion
294
+ //#region src/website/carousel.tsx
295
+ function Se({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
296
+ let l = xe(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = be(u, d.length);
297
+ return e({
298
+ render: n,
299
+ ref: r,
300
+ defaultTagName: "div",
301
+ props: {
302
+ role: "region",
303
+ "aria-roledescription": l.carousel,
304
+ ...c,
305
+ className: N(I.Carousel, o)({}),
306
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
307
+ className: I.Viewport,
308
+ "data-at-start": y || void 0,
309
+ "data-at-end": b || void 0,
310
+ children: /* @__PURE__ */ p("ul", {
311
+ ref: u,
312
+ className: I.Track,
313
+ tabIndex: x ? 0 : void 0,
314
+ children: d.map((e, t) => /* @__PURE__ */ p("li", {
315
+ className: I.Slide,
316
+ children: e
317
+ }, t))
318
+ })
319
+ }), g > 1 && /* @__PURE__ */ m("div", {
320
+ className: I.Controls,
321
+ children: [
322
+ /* @__PURE__ */ p(D, {
323
+ variant: "elevated",
324
+ color: "secondary",
325
+ "aria-label": l.previous,
326
+ disabled: _ === 0,
327
+ focusableWhenDisabled: !0,
328
+ onClick: () => C(_ - 1),
329
+ children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
330
+ }),
331
+ /* @__PURE__ */ p(ae, {
332
+ count: g,
333
+ value: _ + 1,
334
+ onValueChange: (e) => C(e - 1),
335
+ getItemLabel: t
336
+ }),
337
+ /* @__PURE__ */ p(D, {
338
+ variant: "elevated",
339
+ color: "secondary",
340
+ "aria-label": l.next,
341
+ disabled: _ === g - 1,
342
+ focusableWhenDisabled: !0,
343
+ onClick: () => C(_ + 1),
344
+ children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
345
+ }),
346
+ /* @__PURE__ */ p("span", {
347
+ role: "status",
348
+ className: I.VisuallyHidden,
349
+ children: S && l.status.replace("{page}", String(v + 1)).replace("{count}", String(g))
350
+ })
351
+ ]
352
+ })] })
353
+ }
354
+ });
355
+ }
356
+ var L = {
357
+ CtaBanner: "_CtaBanner_vkp5c_7",
358
+ Title: "_Title_vkp5c_15",
359
+ Content: "_Content_vkp5c_24",
360
+ Text: "_Text_vkp5c_32",
361
+ Action: "_Action_vkp5c_48",
362
+ Price: "_Price_vkp5c_53"
363
+ };
364
+ //#endregion
365
+ //#region src/website/cta-banner.tsx
366
+ function Ce({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
367
+ let u = e({
368
+ render: n,
369
+ defaultTagName: "h2",
370
+ props: {
371
+ className: L.Title,
372
+ children: t
373
+ }
374
+ }), d = r != null || i != null || a != null;
375
+ return e({
376
+ render: o,
377
+ ref: s,
378
+ defaultTagName: "div",
379
+ props: {
380
+ ...l,
381
+ "data-has-content": d || void 0,
382
+ className: N(L.CtaBanner, c)({}),
383
+ children: /* @__PURE__ */ m(f, { children: [u, d && /* @__PURE__ */ m("div", {
384
+ className: L.Content,
385
+ children: [
386
+ r != null && /* @__PURE__ */ p(j, {
387
+ className: L.Text,
388
+ children: r
389
+ }),
390
+ i != null && /* @__PURE__ */ p("div", {
391
+ className: L.Action,
392
+ children: i
393
+ }),
394
+ a != null && /* @__PURE__ */ p("p", {
395
+ className: L.Price,
396
+ children: a
397
+ })
398
+ ]
399
+ })] })
400
+ }
401
+ });
402
+ }
403
+ //#endregion
404
+ //#region src/website/expanding-cards-context.ts
405
+ var we = v({ open: !0 }), Te = {
406
+ ExpandingCards: "_ExpandingCards_14pq8_19",
407
+ List: "_List_14pq8_23",
408
+ Item: "_Item_14pq8_32"
409
+ }, Ee = "(min-width: 1312px)", De = { open: !0 }, Oe = { open: !1 }, ke = (e) => {
410
+ let t = window.matchMedia(Ee);
411
+ return t.addEventListener("change", e), () => t.removeEventListener("change", e);
412
+ }, Ae = () => te(ke, () => window.matchMedia(Ee).matches, () => !0);
413
+ function je({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
414
+ let s = h.toArray(a), c = Ae(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
415
+ return e({
416
+ render: n,
417
+ ref: r,
418
+ defaultTagName: "div",
419
+ props: {
420
+ ...o,
421
+ className: N(Te.ExpandingCards, i)({}),
422
+ children: /* @__PURE__ */ p("ul", {
423
+ className: Te.List,
424
+ style: { "--expanding-cards-count": s.length },
425
+ children: s.map((e, t) => /* @__PURE__ */ p("li", {
426
+ className: Te.Item,
427
+ "data-open": t === l || void 0,
428
+ onPointerEnter: () => u(t),
429
+ onFocus: () => u(t),
430
+ children: /* @__PURE__ */ p(we.Provider, {
431
+ value: !c || t === l ? De : Oe,
432
+ children: e
433
+ })
434
+ }, t))
435
+ })
436
+ }
437
+ });
438
+ }
439
+ var R = {
440
+ ExpandingCardsItem: "_ExpandingCardsItem_1v7ai_17",
441
+ Content: "_Content_1v7ai_53",
442
+ Title: "_Title_1v7ai_70",
443
+ Text: "_Text_1v7ai_81",
444
+ Action: "_Action_1v7ai_99",
445
+ Photo: "_Photo_1v7ai_110",
446
+ Image: "_Image_1v7ai_117"
447
+ };
448
+ //#endregion
449
+ //#region src/website/expanding-cards-item.tsx
450
+ function Me({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, surface: c = "base", render: l, ref: u, className: d, ...h }) {
451
+ let { open: g } = x(we), v = e({
452
+ render: n,
453
+ defaultTagName: "h2",
454
+ props: {
455
+ className: R.Title,
456
+ children: t
457
+ }
458
+ }), b = e({
459
+ enabled: a != null,
460
+ render: s,
461
+ defaultTagName: "img",
462
+ props: {
463
+ src: a,
464
+ alt: o,
465
+ className: R.Image
466
+ }
467
+ }), S = y(i) && i.type === ne ? _(i, { iconOnly: !g }) : i;
468
+ return e({
469
+ render: l,
470
+ ref: u,
471
+ defaultTagName: "div",
472
+ props: {
473
+ ...h,
474
+ "data-surface": c,
475
+ "data-open": g || void 0,
476
+ "data-image": a != null || void 0,
477
+ className: N(R.ExpandingCardsItem, d)({}),
478
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
479
+ className: R.Content,
480
+ children: [
481
+ v,
482
+ r != null && /* @__PURE__ */ p(j, {
483
+ className: R.Text,
484
+ children: r
485
+ }),
486
+ i != null && /* @__PURE__ */ p("div", {
487
+ className: R.Action,
488
+ children: S
489
+ })
490
+ ]
491
+ }), b != null && /* @__PURE__ */ p("div", {
492
+ className: R.Photo,
493
+ children: b
494
+ })] })
495
+ }
496
+ });
497
+ }
498
+ var z = {
499
+ Hero: "_Hero_1ik22_8",
500
+ Background: "_Background_1ik22_24",
501
+ Image: "_Image_1ik22_30",
502
+ Container: "_Container_1ik22_37",
503
+ Box: "_Box_1ik22_45",
504
+ Title: "_Title_1ik22_50",
505
+ Text: "_Text_1ik22_59",
506
+ Action: "_Action_1ik22_75",
507
+ Price: "_Price_1ik22_80"
508
+ };
509
+ //#endregion
510
+ //#region src/website/hero.tsx
511
+ function Ne({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
512
+ let g = e({
513
+ render: a,
514
+ defaultTagName: "h1",
515
+ props: {
516
+ className: z.Title,
517
+ children: i
518
+ }
519
+ }), _ = e({
520
+ render: r,
521
+ defaultTagName: "img",
522
+ props: {
523
+ src: t,
524
+ alt: n,
525
+ className: z.Image
526
+ }
527
+ });
528
+ return e({
529
+ render: l,
530
+ ref: u,
531
+ defaultTagName: "section",
532
+ props: {
533
+ ...h,
534
+ className: N(z.Hero, d)({}),
535
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
536
+ className: z.Container,
537
+ children: /* @__PURE__ */ m(oe, {
538
+ className: z.Box,
539
+ children: [
540
+ g,
541
+ o != null && /* @__PURE__ */ p(j, {
542
+ className: z.Text,
543
+ children: o
544
+ }),
545
+ s != null && /* @__PURE__ */ p("div", {
546
+ className: z.Action,
547
+ children: s
548
+ }),
549
+ c != null && /* @__PURE__ */ p("p", {
550
+ className: z.Price,
551
+ children: c
552
+ })
553
+ ]
554
+ })
555
+ }), /* @__PURE__ */ p("div", {
556
+ className: z.Background,
557
+ children: _
558
+ })] })
559
+ }
560
+ });
561
+ }
562
+ var B = {
563
+ HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
564
+ Cards: "_Cards_yr3eo_15",
565
+ Item: "_Item_yr3eo_26",
566
+ Featured: "_Featured_yr3eo_51"
567
+ };
568
+ //#endregion
569
+ //#region src/website/hero-service-grid.tsx
570
+ function Pe({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
571
+ let d = h.toArray(l);
572
+ return e({
573
+ render: o,
574
+ ref: s,
575
+ defaultTagName: "div",
576
+ props: {
577
+ ...u,
578
+ "data-image-position": a,
579
+ className: N(B.HeroServiceGrid, c)({}),
580
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
581
+ className: B.Featured,
582
+ src: t,
583
+ alt: n,
584
+ imageRender: r,
585
+ action: i
586
+ }), d.length > 0 && /* @__PURE__ */ p("ul", {
587
+ className: B.Cards,
588
+ children: d.map((e, t) => /* @__PURE__ */ p("li", {
589
+ className: B.Item,
590
+ children: e
591
+ }, t))
592
+ })] })
593
+ }
594
+ });
595
+ }
596
+ var V = {
597
+ NavigationGrid: "_NavigationGrid_ocatr_9",
598
+ Title: "_Title_ocatr_16",
599
+ List: "_List_ocatr_25",
600
+ Item: "_Item_ocatr_35"
601
+ };
602
+ //#endregion
603
+ //#region src/website/navigation-grid.tsx
604
+ function Fe({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
605
+ let c = h.toArray(o), l = c.length >= 3 && c.length % 2 == 1, u = e({
606
+ enabled: t != null,
607
+ render: n,
608
+ defaultTagName: "h2",
609
+ props: {
610
+ className: V.Title,
611
+ children: t
612
+ }
613
+ });
614
+ return e({
615
+ render: r,
616
+ ref: i,
617
+ defaultTagName: "div",
618
+ props: {
619
+ ...s,
620
+ className: N(V.NavigationGrid, a)({}),
621
+ children: /* @__PURE__ */ m(f, { children: [u, /* @__PURE__ */ p("ul", {
622
+ className: V.List,
623
+ "data-odd": l || void 0,
624
+ children: c.map((e, t) => /* @__PURE__ */ p("li", {
625
+ className: V.Item,
626
+ children: e
627
+ }, t))
628
+ })] })
629
+ }
630
+ });
631
+ }
632
+ var H = {
633
+ PartnerList: "_PartnerList_9o9wx_7",
634
+ List: "_List_9o9wx_11",
635
+ Controls: "_Controls_9o9wx_19",
636
+ VisuallyHidden: "_VisuallyHidden_9o9wx_29"
637
+ }, Ie = O({
638
+ previous: {
639
+ no: "Forrige side",
640
+ se: "Föregående sida",
641
+ fi: "Edellinen sivu",
642
+ es: "Página anterior"
643
+ },
644
+ next: {
645
+ no: "Neste side",
646
+ se: "Nästa sida",
647
+ fi: "Seuraava sivu",
648
+ es: "Página siguiente"
649
+ },
650
+ status: {
651
+ no: "Side {page} av {count}",
652
+ se: "Sida {page} av {count}",
653
+ fi: "Sivu {page}/{count}",
654
+ es: "Página {page} de {count}"
655
+ },
656
+ collation: {
657
+ no: "nb",
658
+ se: "sv",
659
+ fi: "fi",
660
+ es: "es"
661
+ }
662
+ });
663
+ //#endregion
664
+ //#region src/website/partner-list.tsx
665
+ function Le({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
666
+ let h = Ie(), [g, _] = T(o), v = ee(() => {
667
+ let e = new Intl.Collator(h.collation, { sensitivity: "base" });
668
+ return [...t].sort((t, n) => e.compare(t.name, n.name));
669
+ }, [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) => {
670
+ let t = Math.min(b, Math.max(1, e));
671
+ r === void 0 && _(t), t !== x && s?.(t);
672
+ };
673
+ return e({
674
+ enabled: v.length > 0,
675
+ render: c,
676
+ ref: l,
677
+ defaultTagName: "div",
678
+ props: {
679
+ ...d,
680
+ className: N(H.PartnerList, u)({}),
681
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("ul", {
682
+ className: H.List,
683
+ children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(se, {
684
+ ...n,
685
+ render: /* @__PURE__ */ p("li", {}),
686
+ children: t
687
+ }, `${S + r}-${e}`))
688
+ }), b > 1 && /* @__PURE__ */ m("div", {
689
+ className: H.Controls,
690
+ children: [
691
+ /* @__PURE__ */ p(D, {
692
+ variant: "elevated",
693
+ color: "secondary",
694
+ "aria-label": h.previous,
695
+ disabled: x === 1,
696
+ focusableWhenDisabled: !0,
697
+ onClick: () => C(x - 1),
698
+ children: /* @__PURE__ */ p(i, { "aria-hidden": !0 })
699
+ }),
700
+ /* @__PURE__ */ p(ae, {
701
+ count: b,
702
+ value: x,
703
+ onValueChange: C
704
+ }),
705
+ /* @__PURE__ */ p(D, {
706
+ variant: "elevated",
707
+ color: "secondary",
708
+ "aria-label": h.next,
709
+ disabled: x === b,
710
+ focusableWhenDisabled: !0,
711
+ onClick: () => C(x + 1),
712
+ children: /* @__PURE__ */ p(a, { "aria-hidden": !0 })
713
+ }),
714
+ /* @__PURE__ */ p("span", {
715
+ role: "status",
716
+ className: H.VisuallyHidden,
717
+ children: h.status.replace("{page}", String(x)).replace("{count}", String(b))
718
+ })
719
+ ]
720
+ })] })
721
+ }
722
+ });
723
+ }
724
+ var U = {
725
+ Grid: "_Grid_1vukg_10",
726
+ Content: "_Content_1vukg_17",
727
+ Logos: "_Logos_1vukg_28",
728
+ LogoItem: "_LogoItem_1vukg_38",
729
+ Logo: "_Logo_1vukg_28",
730
+ Text: "_Text_1vukg_60",
731
+ Title: "_Title_1vukg_66",
732
+ Description: "_Description_1vukg_75",
733
+ Actions: "_Actions_1vukg_91",
734
+ Price: "_Price_1vukg_98",
735
+ Media: "_Media_1vukg_106",
736
+ PaymentFeature: "_PaymentFeature_1vukg_111",
737
+ Image: "_Image_1vukg_115"
738
+ };
739
+ //#endregion
740
+ //#region src/website/payment-feature.tsx
741
+ function Re({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
742
+ let h = e({
743
+ render: r,
744
+ defaultTagName: "h2",
745
+ props: {
746
+ className: U.Title,
747
+ children: n
748
+ }
749
+ }), g = e({
750
+ enabled: s != null,
751
+ render: l,
752
+ defaultTagName: "img",
753
+ props: {
754
+ src: s,
755
+ alt: c,
756
+ className: U.Image
757
+ }
758
+ });
759
+ return /* @__PURE__ */ p(oe, {
760
+ ...f,
761
+ className: [U.PaymentFeature, d].filter(Boolean).join(" "),
762
+ "data-image-position": u,
763
+ "data-has-image": g != null || void 0,
764
+ children: /* @__PURE__ */ m("div", {
765
+ className: U.Grid,
766
+ children: [/* @__PURE__ */ m("div", {
767
+ className: U.Content,
768
+ children: [
769
+ t != null && t.length > 0 && /* @__PURE__ */ p("ul", {
770
+ className: U.Logos,
771
+ children: t.map((e, t) => /* @__PURE__ */ p(ze, { ...e }, t))
772
+ }),
773
+ /* @__PURE__ */ m("div", {
774
+ className: U.Text,
775
+ children: [h, i != null && /* @__PURE__ */ p(j, {
776
+ className: U.Description,
777
+ children: i
778
+ })]
779
+ }),
780
+ a != null && /* @__PURE__ */ p("div", {
781
+ className: U.Actions,
782
+ children: a
783
+ }),
784
+ o != null && /* @__PURE__ */ p("p", {
785
+ className: U.Price,
786
+ children: o
787
+ })
788
+ ]
789
+ }), g != null && /* @__PURE__ */ p("div", {
790
+ className: U.Media,
791
+ children: g
792
+ })]
793
+ })
794
+ });
795
+ }
796
+ function ze({ src: t, alt: n, imageRender: r }) {
797
+ let i = e({
798
+ render: r,
799
+ defaultTagName: "img",
800
+ props: {
801
+ src: t,
802
+ alt: n,
803
+ className: U.Logo
804
+ }
805
+ });
806
+ return /* @__PURE__ */ p("li", {
807
+ className: U.LogoItem,
808
+ children: i
809
+ });
810
+ }
811
+ var W = {
812
+ PromoGrid: "_PromoGrid_1l2yi_10",
813
+ Featured: "_Featured_1l2yi_19",
814
+ Content: "_Content_1l2yi_23",
815
+ Photos: "_Photos_1l2yi_31",
816
+ Photo: "_Photo_1l2yi_31",
817
+ Block: "_Block_1l2yi_51",
818
+ Title: "_Title_1l2yi_63",
819
+ Subtitle: "_Subtitle_1l2yi_73"
820
+ };
821
+ //#endregion
822
+ //#region src/website/promo-grid.tsx
823
+ function Be({ 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 }) {
824
+ let _ = e({
825
+ render: s,
826
+ defaultTagName: "h2",
827
+ props: {
828
+ className: W.Title,
829
+ children: o
830
+ }
831
+ });
832
+ return e({
833
+ render: u,
834
+ ref: d,
835
+ defaultTagName: "div",
836
+ props: {
837
+ ...g,
838
+ "data-image-position": l,
839
+ className: N(W.PromoGrid, h)({}),
840
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
841
+ className: W.Featured,
842
+ src: t,
843
+ alt: n,
844
+ imageRender: r,
845
+ action: i
846
+ }), /* @__PURE__ */ m("div", {
847
+ className: W.Content,
848
+ children: [a != null && a.length > 0 && /* @__PURE__ */ p("div", {
849
+ className: W.Photos,
850
+ "data-count": a.length,
851
+ children: a.map((e, t) => /* @__PURE__ */ p(Ve, { ...e }, t))
852
+ }), /* @__PURE__ */ m("div", {
853
+ className: W.Block,
854
+ children: [_, c != null && /* @__PURE__ */ p(j, {
855
+ className: W.Subtitle,
856
+ children: c
857
+ })]
858
+ })]
859
+ })] })
860
+ }
861
+ });
862
+ }
863
+ function Ve({ src: t, alt: n, imageRender: r }) {
864
+ return e({
865
+ render: r,
866
+ defaultTagName: "img",
867
+ props: {
868
+ src: t,
869
+ alt: n,
870
+ className: W.Photo
871
+ }
872
+ });
873
+ }
874
+ var He = {
875
+ Section: "_Section_f8rp9_11",
876
+ Content: "_Content_f8rp9_60"
877
+ };
878
+ //#endregion
879
+ //#region src/website/section.tsx
880
+ function Ue({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
881
+ return e({
882
+ render: a,
883
+ ref: o,
884
+ defaultTagName: "section",
885
+ props: {
886
+ ...l,
887
+ "data-surface": t,
888
+ "data-spacing-top": n,
889
+ "data-spacing-bottom": r,
890
+ className: N(He.Section, s)({}),
891
+ children: /* @__PURE__ */ p("div", {
892
+ className: He.Content,
893
+ "data-width": i,
894
+ children: c
895
+ })
896
+ }
897
+ });
898
+ }
899
+ var G = {
900
+ SectionHeader: "_SectionHeader_11mff_8",
901
+ Text: "_Text_11mff_17",
902
+ Eyebrow: "_Eyebrow_11mff_25",
903
+ Title: "_Title_11mff_33",
904
+ Subtitle: "_Subtitle_11mff_49",
905
+ Actions: "_Actions_11mff_67",
906
+ Price: "_Price_11mff_75"
907
+ };
908
+ //#endregion
909
+ //#region src/website/section-header.tsx
910
+ function We({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
911
+ let h = e({
912
+ render: r,
913
+ defaultTagName: "h2",
914
+ props: {
915
+ className: G.Title,
916
+ children: n
917
+ }
918
+ });
919
+ return e({
920
+ render: c,
921
+ ref: l,
922
+ defaultTagName: "div",
923
+ props: {
924
+ ...d,
925
+ "data-title-size": i,
926
+ className: N(G.SectionHeader, u)({}),
927
+ children: /* @__PURE__ */ m(f, { children: [
928
+ /* @__PURE__ */ m("div", {
929
+ className: G.Text,
930
+ children: [
931
+ t != null && /* @__PURE__ */ p("p", {
932
+ className: G.Eyebrow,
933
+ children: t
934
+ }),
935
+ h,
936
+ a != null && /* @__PURE__ */ p(j, {
937
+ className: G.Subtitle,
938
+ children: a
939
+ })
940
+ ]
941
+ }),
942
+ o != null && /* @__PURE__ */ p("div", {
943
+ className: G.Actions,
944
+ children: o
945
+ }),
946
+ s != null && /* @__PURE__ */ p("p", {
947
+ className: G.Price,
948
+ children: s
949
+ })
950
+ ] })
951
+ }
952
+ });
953
+ }
954
+ var Ge = {
955
+ ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
956
+ List: "_List_nutvc_13",
957
+ Item: "_Item_nutvc_23"
958
+ };
959
+ //#endregion
960
+ //#region src/website/service-card-grid.tsx
961
+ function Ke({ render: t, ref: n, className: r, children: i, ...a }) {
962
+ let o = h.toArray(i);
963
+ return e({
964
+ render: t,
965
+ ref: n,
966
+ defaultTagName: "div",
967
+ props: {
968
+ ...a,
969
+ className: N(Ge.ServiceCardGrid, r)({}),
970
+ children: /* @__PURE__ */ p("ul", {
971
+ className: Ge.List,
972
+ "data-count": o.length,
973
+ children: o.map((e, t) => /* @__PURE__ */ p("li", {
974
+ className: Ge.Item,
975
+ children: e
976
+ }, t))
977
+ })
978
+ }
979
+ });
980
+ }
981
+ var qe = {
982
+ ArrowRevealLink: "_ArrowRevealLink_140ct_2",
983
+ Arrow: "_Arrow_140ct_2",
984
+ Text: "_Text_140ct_40"
985
+ };
986
+ //#endregion
987
+ //#region src/website/arrow-reveal-link.tsx
988
+ function K({ render: n, className: r, children: i, size: a = "md", ...o }) {
989
+ return e({
990
+ render: n,
991
+ defaultTagName: "a",
992
+ props: {
993
+ ...o,
994
+ "data-size": a === "md" ? void 0 : a,
995
+ className: N(qe.ArrowRevealLink, r)({}),
996
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
997
+ "aria-hidden": !0,
998
+ className: qe.Arrow,
999
+ children: /* @__PURE__ */ p(t, {})
1000
+ }), /* @__PURE__ */ p("span", {
1001
+ className: qe.Text,
1002
+ children: i
1003
+ })] })
1004
+ }
1005
+ });
1006
+ }
1007
+ var q = {
1008
+ SideNav: "_SideNav_1ha5v_6",
1009
+ Sidebar: "_Sidebar_1ha5v_29",
1010
+ List: "_List_1ha5v_44",
1011
+ Content: "_Content_1ha5v_61"
1012
+ }, Je = O({ navigation: {
1013
+ no: "Sidemeny",
1014
+ se: "Sidomeny",
1015
+ fi: "Sivuvalikko",
1016
+ es: "Menú lateral"
1017
+ } });
1018
+ //#endregion
1019
+ //#region src/website/side-nav.tsx
1020
+ function Ye({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
1021
+ let o = Je();
1022
+ return /* @__PURE__ */ m("div", {
1023
+ ...a,
1024
+ className: [q.SideNav, i].filter(Boolean).join(" "),
1025
+ children: [/* @__PURE__ */ p("nav", {
1026
+ className: q.Sidebar,
1027
+ "aria-label": t ?? o.navigation,
1028
+ children: /* @__PURE__ */ p("ul", {
1029
+ className: q.List,
1030
+ children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1031
+ size: "lg",
1032
+ href: e.href,
1033
+ render: e.render,
1034
+ "aria-current": e.current ? "page" : void 0,
1035
+ children: e.label
1036
+ }) }, t))
1037
+ })
1038
+ }), /* @__PURE__ */ m(oe, {
1039
+ size: "sm",
1040
+ className: q.Content,
1041
+ children: [n, r]
1042
+ })]
1043
+ });
1044
+ }
1045
+ //#endregion
1046
+ //#region src/website/flags.tsx
1047
+ var Xe = "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", Ze = "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";
1048
+ function Qe({ children: e, ...t }) {
1049
+ return /* @__PURE__ */ p("svg", {
1050
+ width: "20",
1051
+ height: "20",
1052
+ viewBox: "0 0 20 20",
1053
+ fill: "none",
1054
+ "aria-hidden": !0,
1055
+ focusable: "false",
1056
+ ...t,
1057
+ children: e
1058
+ });
1059
+ }
1060
+ function $e(e) {
1061
+ return /* @__PURE__ */ m(Qe, {
1062
+ ...e,
1063
+ children: [
1064
+ /* @__PURE__ */ p("path", {
1065
+ d: Xe,
1066
+ fill: "#F0F0F0"
1067
+ }),
1068
+ /* @__PURE__ */ p("path", {
1069
+ d: "M0.34375 12.6094C0.922344 14.7562 2.19754 16.6169 3.9123 17.9345V12.6094H0.34375Z",
1070
+ fill: "#D80027"
1071
+ }),
1072
+ /* @__PURE__ */ p("path", {
1073
+ d: "M9.12891 19.9626C9.41555 19.9873 9.70543 20.0007 9.99848 20.0007C14.6188 20.0007 18.5065 16.867 19.654 12.6094H9.12891V19.9626Z",
1074
+ fill: "#D80027"
1075
+ }),
1076
+ /* @__PURE__ */ p("path", {
1077
+ d: "M19.654 7.39129C18.5065 3.13363 14.6188 0 9.99848 0C9.70543 0 9.41555 0.0133594 9.12891 0.0380469V7.39129H19.654Z",
1078
+ fill: "#D80027"
1079
+ }),
1080
+ /* @__PURE__ */ p("path", {
1081
+ d: "M3.9123 2.06641C2.19754 3.38398 0.922344 5.24465 0.34375 7.39148H3.9123V2.06641Z",
1082
+ fill: "#D80027"
1083
+ }),
1084
+ /* @__PURE__ */ p("path", {
1085
+ d: Ze,
1086
+ fill: "#0052B4"
1087
+ })
1088
+ ]
1089
+ });
1090
+ }
1091
+ function et(e) {
1092
+ return /* @__PURE__ */ m(Qe, {
1093
+ ...e,
1094
+ children: [
1095
+ /* @__PURE__ */ p("path", {
1096
+ d: Xe,
1097
+ fill: "#FFDA44"
1098
+ }),
1099
+ /* @__PURE__ */ p("path", {
1100
+ d: "M7.82816 8.69566H19.9174C19.2782 3.78914 15.0828 0 10.002 0C9.25539 0 8.52809 0.0825391 7.82812 0.237695V8.69566H7.82816Z",
1101
+ fill: "#0052B4"
1102
+ }),
1103
+ /* @__PURE__ */ p("path", {
1104
+ d: "M5.21867 8.69848V1.21875C2.47281 2.71695 0.507148 5.46504 0.0859375 8.69852H5.21867V8.69848Z",
1105
+ fill: "#0052B4"
1106
+ }),
1107
+ /* @__PURE__ */ p("path", {
1108
+ d: "M5.21863 11.3047H0.0859375C0.507148 14.5382 2.47281 17.2863 5.21867 18.7844L5.21863 11.3047Z",
1109
+ fill: "#0052B4"
1110
+ }),
1111
+ /* @__PURE__ */ p("path", {
1112
+ d: "M7.82812 11.3047V19.7627C8.52809 19.9178 9.25539 20.0004 10.002 20.0004C15.0828 20.0004 19.2782 16.2112 19.9174 11.3047H7.82812V11.3047Z",
1113
+ fill: "#0052B4"
1114
+ })
1115
+ ]
1116
+ });
1117
+ }
1118
+ function tt(e) {
1119
+ return /* @__PURE__ */ m(Qe, {
1120
+ ...e,
1121
+ children: [/* @__PURE__ */ p("path", {
1122
+ d: Xe,
1123
+ fill: "#F0F0F0"
1124
+ }), /* @__PURE__ */ p("path", {
1125
+ d: Ze,
1126
+ fill: "#0052B4"
1127
+ })]
1128
+ });
1129
+ }
1130
+ function nt(e) {
1131
+ return /* @__PURE__ */ m(Qe, {
1132
+ ...e,
1133
+ children: [
1134
+ /* @__PURE__ */ p("path", {
1135
+ d: "M0 10.0002C0 11.2234 0.220039 12.3951 0.621992 13.4784L10 14.348L19.378 13.4784C19.78 12.3951 20 11.2234 20 10.0002C20 8.77695 19.78 7.60523 19.378 6.52191L10 5.65234L0.621992 6.52191C0.220039 7.60523 0 8.77695 0 10.0002H0Z",
1136
+ fill: "#FFDA44"
1137
+ }),
1138
+ /* @__PURE__ */ p("path", {
1139
+ d: "M19.3771 6.52176C17.9642 2.71379 14.2987 0 9.9991 0C5.69945 0 2.03402 2.71379 0.621094 6.52176H19.3771Z",
1140
+ fill: "#D80027"
1141
+ }),
1142
+ /* @__PURE__ */ p("path", {
1143
+ d: "M0.621094 13.4766C2.03402 17.2845 5.69945 19.9983 9.9991 19.9983C14.2987 19.9983 17.9642 17.2845 19.3771 13.4766H0.621094Z",
1144
+ fill: "#D80027"
1145
+ })
1146
+ ]
1147
+ });
1148
+ }
1149
+ //#endregion
1150
+ //#region src/website/site-header-link.tsx
1151
+ function J({ href: t, render: n, ...r }) {
1152
+ return e({
1153
+ render: n,
1154
+ defaultTagName: "a",
1155
+ props: t == null ? r : {
1156
+ ...r,
1157
+ href: t
1158
+ }
1159
+ });
1160
+ }
1161
+ var rt = (e) => e.groups != null && e.groups.length > 0, it = (e) => e.href != null || e.render != null, Y = {
1162
+ SiteFooter: "_SiteFooter_o2ixe_7",
1163
+ Content: "_Content_o2ixe_23",
1164
+ Main: "_Main_o2ixe_32",
1165
+ Home: "_Home_o2ixe_46",
1166
+ Columns: "_Columns_o2ixe_64",
1167
+ Column: "_Column_o2ixe_64",
1168
+ Title: "_Title_o2ixe_94",
1169
+ Links: "_Links_o2ixe_108",
1170
+ Social: "_Social_o2ixe_109",
1171
+ Link: "_Link_o2ixe_108",
1172
+ SocialIcon: "_SocialIcon_o2ixe_147",
1173
+ Market: "_Market_o2ixe_161",
1174
+ Divider: "_Divider_o2ixe_165",
1175
+ CookieSettings: "_CookieSettings_o2ixe_176",
1176
+ Copyright: "_Copyright_o2ixe_192"
1177
+ }, at = O({
1178
+ market: {
1179
+ no: "Marked",
1180
+ se: "Marknad",
1181
+ fi: "Markkina",
1182
+ es: "Mercado"
1183
+ },
1184
+ social: {
1185
+ no: "Sosiale medier",
1186
+ se: "Sociala medier",
1187
+ fi: "Sosiaalinen media",
1188
+ es: "Redes sociales"
1189
+ },
1190
+ cookieSettings: {
1191
+ no: "Cookie-innstillinger",
1192
+ se: "Cookieinställningar",
1193
+ fi: "Evästeasetukset",
1194
+ es: "Configuración de cookies"
1195
+ },
1196
+ collation: {
1197
+ no: "nb",
1198
+ se: "sv",
1199
+ fi: "fi",
1200
+ es: "es"
1201
+ }
1202
+ }), ot = O({
1203
+ navigation: {
1204
+ no: "Hovedmeny",
1205
+ se: "Huvudmeny",
1206
+ fi: "Päävalikko",
1207
+ es: "Menú principal"
1208
+ },
1209
+ menu: {
1210
+ no: "Meny",
1211
+ se: "Meny",
1212
+ fi: "Valikko",
1213
+ es: "Menú"
1214
+ },
1215
+ closeMenu: {
1216
+ no: "Lukk meny",
1217
+ se: "Stäng menyn",
1218
+ fi: "Sulje valikko",
1219
+ es: "Cerrar menú"
1220
+ },
1221
+ home: {
1222
+ no: "Lea Bank, forside",
1223
+ se: "Lea Bank, startsida",
1224
+ fi: "Lea Bank, etusivu",
1225
+ es: "Lea Bank, página de inicio"
1226
+ }
1227
+ }), st = {
1228
+ no: {
1229
+ name: "Norge",
1230
+ flag: /* @__PURE__ */ p($e, {})
1231
+ },
1232
+ se: {
1233
+ name: "Sverige",
1234
+ flag: /* @__PURE__ */ p(et, {})
1235
+ },
1236
+ fi: {
1237
+ name: "Suomi",
1238
+ flag: /* @__PURE__ */ p(tt, {})
1239
+ },
1240
+ es: {
1241
+ name: "España",
1242
+ flag: /* @__PURE__ */ p(nt, {})
1243
+ }
1244
+ }, ct = [
1245
+ "no",
1246
+ "se",
1247
+ "fi",
1248
+ "es"
1249
+ ];
1250
+ function lt({ render: t, id: n, children: r }) {
1251
+ return e({
1252
+ render: t,
1253
+ defaultTagName: "h2",
1254
+ props: {
1255
+ id: n,
1256
+ className: Y.Title,
1257
+ children: r
1258
+ }
1259
+ });
1260
+ }
1261
+ function ut({ market: e, render: t }) {
1262
+ let n = at(), r = C(), i = e.options ?? ct, a = ee(() => {
1263
+ let e = new Intl.Collator(n.collation, { sensitivity: "base" });
1264
+ return [...i].sort((t, n) => e.compare(st[t].name, st[n].name)).map((e) => ({
1265
+ value: e,
1266
+ label: st[e].name,
1267
+ icon: st[e].flag
1268
+ }));
1269
+ }, [i, n.collation]);
1270
+ return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(lt, {
1271
+ render: t,
1272
+ id: r,
1273
+ children: e.title ?? n.market
1274
+ }), /* @__PURE__ */ p(ce, {
1275
+ size: "sm",
1276
+ "aria-labelledby": r,
1277
+ options: a,
1278
+ value: e.value,
1279
+ onValueChange: e.onValueChange,
1280
+ className: Y.Market
1281
+ })] });
1282
+ }
1283
+ function dt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
1284
+ let u = at(), d = ot(), h = a != null || o != null;
1285
+ return /* @__PURE__ */ p("footer", {
1286
+ ...l,
1287
+ className: [Y.SiteFooter, c].filter(Boolean).join(" "),
1288
+ children: /* @__PURE__ */ m("div", {
1289
+ className: Y.Content,
1290
+ children: [/* @__PURE__ */ m("div", {
1291
+ className: Y.Main,
1292
+ children: [/* @__PURE__ */ p(J, {
1293
+ href: t == null ? "/" : void 0,
1294
+ render: t,
1295
+ className: Y.Home,
1296
+ "aria-label": d.home,
1297
+ children: e
1298
+ }), /* @__PURE__ */ m("div", {
1299
+ className: Y.Columns,
1300
+ children: [n.map((e, t) => /* @__PURE__ */ m("div", {
1301
+ className: Y.Column,
1302
+ children: [/* @__PURE__ */ p(lt, {
1303
+ render: s,
1304
+ children: e.title
1305
+ }), e.links.length > 0 && /* @__PURE__ */ p("ul", {
1306
+ className: Y.Links,
1307
+ children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(J, {
1308
+ href: e.href,
1309
+ render: e.render,
1310
+ className: Y.Link,
1311
+ children: e.label
1312
+ }) }, t))
1313
+ })]
1314
+ }, t)), (r != null || i != null) && /* @__PURE__ */ m("div", {
1315
+ className: Y.Column,
1316
+ children: [r != null && /* @__PURE__ */ p(ut, {
1317
+ market: r,
1318
+ render: s
1319
+ }), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(lt, {
1320
+ render: s,
1321
+ children: i.title ?? u.social
1322
+ }), /* @__PURE__ */ p("ul", {
1323
+ className: Y.Social,
1324
+ children: i.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ m(J, {
1325
+ href: e.href,
1326
+ render: e.render,
1327
+ className: Y.Link,
1328
+ children: [/* @__PURE__ */ p("span", {
1329
+ "aria-hidden": !0,
1330
+ className: Y.SocialIcon,
1331
+ children: e.icon
1332
+ }), e.label]
1333
+ }) }, t))
1334
+ })] })]
1335
+ })]
1336
+ })]
1337
+ }), h && /* @__PURE__ */ m(f, { children: [
1338
+ /* @__PURE__ */ p("span", {
1339
+ "aria-hidden": !0,
1340
+ className: Y.Divider
1341
+ }),
1342
+ a != null && /* @__PURE__ */ p("button", {
1343
+ type: "button",
1344
+ className: Y.CookieSettings,
1345
+ onClick: a,
1346
+ children: u.cookieSettings
1347
+ }),
1348
+ o != null && /* @__PURE__ */ p(j, {
1349
+ className: Y.Copyright,
1350
+ children: o
1351
+ })
1352
+ ] })]
1353
+ })
1354
+ });
1355
+ }
1356
+ var X = {
1357
+ SiteHeader: "_SiteHeader_dcn2t_9",
1358
+ Bar: "_Bar_dcn2t_19",
1359
+ BarContent: "_BarContent_dcn2t_24",
1360
+ Home: "_Home_dcn2t_40",
1361
+ Actions: "_Actions_dcn2t_57",
1362
+ Account: "_Account_dcn2t_64",
1363
+ MenuButton: "_MenuButton_dcn2t_80",
1364
+ Action: "_Action_dcn2t_57",
1365
+ Nav: "_Nav_dcn2t_121",
1366
+ Pill: "_Pill_dcn2t_128",
1367
+ Cta: "_Cta_dcn2t_129",
1368
+ List: "_List_dcn2t_136",
1369
+ Item: "_Item_dcn2t_148",
1370
+ Chevron: "_Chevron_dcn2t_189",
1371
+ Positioner: "_Positioner_dcn2t_263",
1372
+ Popup: "_Popup_dcn2t_291",
1373
+ Viewport: "_Viewport_dcn2t_311",
1374
+ Content: "_Content_dcn2t_319",
1375
+ Group: "_Group_dcn2t_339",
1376
+ GroupTitle: "_GroupTitle_dcn2t_348",
1377
+ Links: "_Links_dcn2t_355",
1378
+ Separator: "_Separator_dcn2t_370",
1379
+ CtaArrow: "_CtaArrow_dcn2t_402",
1380
+ Backdrop: "_Backdrop_dcn2t_410",
1381
+ DrawerViewport: "_DrawerViewport_dcn2t_424",
1382
+ MenuPopup: "_MenuPopup_dcn2t_439",
1383
+ MenuTop: "_MenuTop_dcn2t_479",
1384
+ MenuContent: "_MenuContent_dcn2t_486",
1385
+ MenuList: "_MenuList_dcn2t_499",
1386
+ Row: "_Row_dcn2t_506",
1387
+ RowChevron: "_RowChevron_dcn2t_545",
1388
+ SubmenuPanel: "_SubmenuPanel_dcn2t_556",
1389
+ Submenu: "_Submenu_dcn2t_556",
1390
+ Parent: "_Parent_dcn2t_577"
1391
+ }, ft = "(min-width: 1312px)";
1392
+ function pt({ item: e, open: t, onOpenChange: i }) {
1393
+ let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
1394
+ return /* @__PURE__ */ m(ue.Root, {
1395
+ open: t,
1396
+ onOpenChange: i,
1397
+ children: [/* @__PURE__ */ m(ue.Trigger, {
1398
+ className: X.Row,
1399
+ children: [e.label, /* @__PURE__ */ p(r, {
1400
+ "aria-hidden": !0,
1401
+ className: X.RowChevron
1402
+ })]
1403
+ }), /* @__PURE__ */ p(ue.Panel, {
1404
+ className: X.SubmenuPanel,
1405
+ children: /* @__PURE__ */ m("div", {
1406
+ className: X.Submenu,
1407
+ children: [
1408
+ (it(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
1409
+ className: X.Links,
1410
+ children: [it(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1411
+ className: X.Parent,
1412
+ href: e.href,
1413
+ render: e.render,
1414
+ children: e.label
1415
+ }) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1416
+ href: e.href,
1417
+ render: e.render,
1418
+ children: e.label
1419
+ }) }, t))]
1420
+ }),
1421
+ o.length > 0 && a.length > 0 && /* @__PURE__ */ p("span", {
1422
+ "aria-hidden": !0,
1423
+ className: X.Separator
1424
+ }),
1425
+ o.map((e, t) => /* @__PURE__ */ m(J, {
1426
+ className: X.Cta,
1427
+ href: e.href,
1428
+ render: e.render,
1429
+ children: [/* @__PURE__ */ p("span", { children: e.label }), /* @__PURE__ */ p(n, {
1430
+ "aria-hidden": !0,
1431
+ className: X.CtaArrow
1432
+ })]
1433
+ }, t))
1434
+ ]
1435
+ })
1436
+ })]
1437
+ });
1438
+ }
1439
+ function mt({ items: e }) {
1440
+ let t = ot(), [n, r] = T(null);
1441
+ return /* @__PURE__ */ p("nav", {
1442
+ "aria-label": t.navigation,
1443
+ children: /* @__PURE__ */ p("ul", {
1444
+ className: X.MenuList,
1445
+ children: e.map((e, t) => /* @__PURE__ */ p("li", { children: rt(e) ? /* @__PURE__ */ p(pt, {
1446
+ item: e,
1447
+ open: n === t,
1448
+ onOpenChange: (e) => r(e ? t : null)
1449
+ }) : /* @__PURE__ */ p(J, {
1450
+ className: X.Row,
1451
+ href: e.href,
1452
+ render: e.render,
1453
+ children: e.label
1454
+ }) }, t))
1455
+ })
1456
+ });
1457
+ }
1458
+ function ht({ items: e, home: t, account: n }) {
1459
+ let r = ot(), [i, a] = T(!1);
1460
+ return S(() => {
1461
+ if (!i) return;
1462
+ let e = window.matchMedia(ft), t = () => {
1463
+ e.matches && a(!1);
1464
+ };
1465
+ return e.addEventListener("change", t), () => e.removeEventListener("change", t);
1466
+ }, [i]), /* @__PURE__ */ m(A.Root, {
1467
+ open: i,
1468
+ onOpenChange: a,
1469
+ swipeDirection: "up",
1470
+ children: [/* @__PURE__ */ p(A.Trigger, {
1471
+ className: X.MenuButton,
1472
+ "aria-label": r.menu,
1473
+ children: /* @__PURE__ */ p(s, { "aria-hidden": !0 })
1474
+ }), /* @__PURE__ */ m(A.Portal, { children: [/* @__PURE__ */ p(A.Backdrop, { className: X.Backdrop }), /* @__PURE__ */ p(A.Viewport, {
1475
+ className: X.DrawerViewport,
1476
+ children: /* @__PURE__ */ m(A.Popup, {
1477
+ className: X.MenuPopup,
1478
+ "aria-label": r.menu,
1479
+ onClick: (e) => {
1480
+ e.target instanceof Element && e.target.closest("a") && a(!1);
1481
+ },
1482
+ children: [/* @__PURE__ */ m("div", {
1483
+ className: X.MenuTop,
1484
+ children: [/* @__PURE__ */ p("div", {
1485
+ className: X.Bar,
1486
+ children: /* @__PURE__ */ m("div", {
1487
+ className: X.BarContent,
1488
+ children: [
1489
+ /* @__PURE__ */ p(A.Close, {
1490
+ className: X.MenuButton,
1491
+ "aria-label": r.closeMenu,
1492
+ children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
1493
+ }),
1494
+ t,
1495
+ n && /* @__PURE__ */ p("div", {
1496
+ className: X.Actions,
1497
+ children: n
1498
+ })
1499
+ ]
1500
+ })
1501
+ }), /* @__PURE__ */ p(re, { size: "sm" })]
1502
+ }), /* @__PURE__ */ p(A.Content, {
1503
+ className: X.MenuContent,
1504
+ children: /* @__PURE__ */ p(mt, { items: e })
1505
+ })]
1506
+ })
1507
+ })] })]
1508
+ });
1509
+ }
1510
+ //#endregion
1511
+ //#region src/website/site-header.tsx
1512
+ function gt({ group: e }) {
1513
+ let t = C(), r = e.title != null, i = e.links.length > 0;
1514
+ return /* @__PURE__ */ m("div", {
1515
+ className: X.Group,
1516
+ children: [
1517
+ r && /* @__PURE__ */ p("p", {
1518
+ id: t,
1519
+ className: X.GroupTitle,
1520
+ children: e.title
1521
+ }),
1522
+ i && /* @__PURE__ */ p("ul", {
1523
+ className: X.Links,
1524
+ "aria-labelledby": r ? t : void 0,
1525
+ children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(K, {
1526
+ render: /* @__PURE__ */ p(k.Link, {
1527
+ closeOnClick: !0,
1528
+ href: e.href,
1529
+ render: e.render
1530
+ }),
1531
+ children: e.label
1532
+ }) }, t))
1533
+ }),
1534
+ e.cta != null && i && /* @__PURE__ */ p("span", {
1535
+ "aria-hidden": !0,
1536
+ className: X.Separator
1537
+ }),
1538
+ e.cta != null && /* @__PURE__ */ m(k.Link, {
1539
+ closeOnClick: !0,
1540
+ className: X.Cta,
1541
+ href: e.cta.href,
1542
+ render: e.cta.render,
1543
+ children: [/* @__PURE__ */ p("span", { children: e.cta.label }), /* @__PURE__ */ p(n, {
1544
+ "aria-hidden": !0,
1545
+ className: X.CtaArrow
1546
+ })]
1547
+ })
1548
+ ]
1549
+ });
1550
+ }
1551
+ function _t({ item: e, value: t, end: n, onFocus: i }) {
1552
+ return /* @__PURE__ */ p(k.Item, {
1553
+ value: t,
1554
+ className: X.Item,
1555
+ "data-end": n || void 0,
1556
+ onFocus: () => i(t),
1557
+ children: rt(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
1558
+ className: X.Pill,
1559
+ children: [e.label, /* @__PURE__ */ p(k.Icon, {
1560
+ className: X.Chevron,
1561
+ children: /* @__PURE__ */ p(r, {})
1562
+ })]
1563
+ }), /* @__PURE__ */ p(k.Content, {
1564
+ keepMounted: !0,
1565
+ className: X.Content,
1566
+ children: e.groups.map((e, t) => /* @__PURE__ */ p(gt, { group: e }, t))
1567
+ })] }) : /* @__PURE__ */ p(k.Link, {
1568
+ closeOnClick: !0,
1569
+ className: X.Pill,
1570
+ href: e.href,
1571
+ render: e.render,
1572
+ children: e.label
1573
+ })
1574
+ });
1575
+ }
1576
+ function vt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
1577
+ let l = ot(), [u, d] = T(null), f = (e) => {
1578
+ u != null && u !== e && d(null);
1579
+ }, h = /* @__PURE__ */ p(J, {
1580
+ href: t == null ? "/" : void 0,
1581
+ render: t,
1582
+ className: X.Home,
1583
+ "aria-label": l.home,
1584
+ children: e
1585
+ }), g = i != null && /* @__PURE__ */ p(J, {
1586
+ href: i.href,
1587
+ render: i.render,
1588
+ className: X.Account,
1589
+ "aria-label": i.label,
1590
+ children: i.icon ?? /* @__PURE__ */ p(o, { "aria-hidden": !0 })
1591
+ });
1592
+ return /* @__PURE__ */ m("header", {
1593
+ ...c,
1594
+ className: [X.SiteHeader, s].filter(Boolean).join(" "),
1595
+ children: [/* @__PURE__ */ p("div", {
1596
+ className: X.Bar,
1597
+ children: /* @__PURE__ */ m("div", {
1598
+ className: X.BarContent,
1599
+ children: [
1600
+ /* @__PURE__ */ p(ht, {
1601
+ items: [...n, ...r],
1602
+ home: h,
1603
+ account: g
1604
+ }),
1605
+ h,
1606
+ /* @__PURE__ */ m(k.Root, {
1607
+ className: X.Nav,
1608
+ "aria-label": l.navigation,
1609
+ closeDelay: 150,
1610
+ value: u,
1611
+ onValueChange: d,
1612
+ children: [/* @__PURE__ */ p(k.List, {
1613
+ className: X.List,
1614
+ children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(_t, {
1615
+ item: e,
1616
+ value: `item-${t}`,
1617
+ end: r.length > 0 && t === n.length,
1618
+ onFocus: f
1619
+ }, t))
1620
+ }), /* @__PURE__ */ p(k.Portal, { children: /* @__PURE__ */ p(k.Positioner, {
1621
+ className: X.Positioner,
1622
+ side: "bottom",
1623
+ align: "start",
1624
+ sideOffset: 8,
1625
+ collisionPadding: 16,
1626
+ children: /* @__PURE__ */ p(k.Popup, {
1627
+ className: X.Popup,
1628
+ render: /* @__PURE__ */ p("div", {}),
1629
+ children: /* @__PURE__ */ p(k.Viewport, { className: X.Viewport })
1630
+ })
1631
+ }) })]
1632
+ }),
1633
+ (g || a != null) && /* @__PURE__ */ m("div", {
1634
+ className: X.Actions,
1635
+ children: [g, a != null && /* @__PURE__ */ p("div", {
1636
+ className: X.Action,
1637
+ children: a
1638
+ })]
1639
+ })
1640
+ ]
1641
+ })
1642
+ }), /* @__PURE__ */ p(re, { size: "sm" })]
1643
+ });
1644
+ }
1645
+ var Z = {
1646
+ SplitContent: "_SplitContent_16c8f_11",
1647
+ Grid: "_Grid_16c8f_19",
1648
+ Text: "_Text_16c8f_26",
1649
+ Title: "_Title_16c8f_33",
1650
+ Description: "_Description_16c8f_42",
1651
+ Media: "_Media_16c8f_58",
1652
+ Image: "_Image_16c8f_67",
1653
+ Actions: "_Actions_16c8f_75",
1654
+ Price: "_Price_16c8f_82"
1655
+ };
1656
+ //#endregion
1657
+ //#region src/website/split-content.tsx
1658
+ function yt({ 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 }) {
1659
+ let _ = e({
1660
+ render: n,
1661
+ defaultTagName: "h2",
1662
+ props: {
1663
+ className: Z.Title,
1664
+ children: t
1665
+ }
1666
+ }), v = e({
1667
+ enabled: i != null,
1668
+ render: o,
1669
+ defaultTagName: "img",
1670
+ props: {
1671
+ src: i,
1672
+ alt: a,
1673
+ className: Z.Image
1674
+ }
1675
+ });
1676
+ return e({
1677
+ render: u,
1678
+ ref: d,
1679
+ defaultTagName: "div",
1680
+ props: {
1681
+ ...g,
1682
+ "data-image-position": s,
1683
+ "data-has-image": v != null || void 0,
1684
+ className: N(Z.SplitContent, h)({}),
1685
+ children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
1686
+ className: Z.Grid,
1687
+ children: [/* @__PURE__ */ m("div", {
1688
+ className: Z.Text,
1689
+ children: [_, r != null && /* @__PURE__ */ p(j, {
1690
+ className: Z.Description,
1691
+ children: r
1692
+ })]
1693
+ }), v != null && /* @__PURE__ */ p("div", {
1694
+ className: Z.Media,
1695
+ children: v
1696
+ })]
1697
+ }), (c != null || l != null) && /* @__PURE__ */ m("div", {
1698
+ className: Z.Actions,
1699
+ children: [c, l != null && /* @__PURE__ */ p("p", {
1700
+ className: Z.Price,
1701
+ children: l
1702
+ })]
1703
+ })] })
1704
+ }
1705
+ });
1706
+ }
1707
+ var Q = {
1708
+ Stats: "_Stats_1o0ef_16",
1709
+ List: "_List_1o0ef_25",
1710
+ Bar: "_Bar_1o0ef_33",
1711
+ Stat: "_Stat_1o0ef_16",
1712
+ Number: "_Number_1o0ef_59",
1713
+ Labels: "_Labels_1o0ef_69",
1714
+ Title: "_Title_1o0ef_77",
1715
+ Text: "_Text_1o0ef_85",
1716
+ Actions: "_Actions_1o0ef_95",
1717
+ Price: "_Price_1o0ef_103"
1718
+ };
1719
+ //#endregion
1720
+ //#region src/website/stats.tsx
1721
+ function bt({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
1722
+ return e({
1723
+ render: o,
1724
+ ref: s,
1725
+ defaultTagName: "div",
1726
+ props: {
1727
+ ...l,
1728
+ className: N(Q.Stats, c)({}),
1729
+ children: /* @__PURE__ */ m(f, { children: [
1730
+ t,
1731
+ /* @__PURE__ */ m("ul", {
1732
+ className: Q.List,
1733
+ children: [n.map((e, t) => /* @__PURE__ */ m(g, { children: [/* @__PURE__ */ p("li", {
1734
+ "aria-hidden": !0,
1735
+ className: Q.Bar
1736
+ }), /* @__PURE__ */ p(xt, {
1737
+ ...e,
1738
+ titleRender: r
1739
+ })] }, t)), /* @__PURE__ */ p("li", {
1740
+ "aria-hidden": !0,
1741
+ className: Q.Bar
1742
+ })]
1743
+ }),
1744
+ (i != null || a != null) && /* @__PURE__ */ m("div", {
1745
+ className: Q.Actions,
1746
+ children: [i, a != null && /* @__PURE__ */ p("p", {
1747
+ className: Q.Price,
1748
+ children: a
1749
+ })]
1750
+ })
1751
+ ] })
1752
+ }
1753
+ });
1754
+ }
1755
+ function xt({ number: t, title: n, text: r, titleRender: i }) {
1756
+ let a = e({
1757
+ enabled: n != null,
1758
+ render: i,
1759
+ defaultTagName: "h3",
1760
+ props: {
1761
+ className: Q.Title,
1762
+ children: n
1763
+ }
1764
+ });
1765
+ return /* @__PURE__ */ m("li", {
1766
+ className: Q.Stat,
1767
+ children: [/* @__PURE__ */ p("p", {
1768
+ className: Q.Number,
1769
+ children: t
1770
+ }), (a != null || r != null) && /* @__PURE__ */ m("div", {
1771
+ className: Q.Labels,
1772
+ children: [a, r != null && /* @__PURE__ */ p("p", {
1773
+ className: Q.Text,
1774
+ children: r
1775
+ })]
1776
+ })]
1777
+ });
1778
+ }
1779
+ var $ = {
1780
+ Testimonials: "_Testimonials_13hpt_11",
1781
+ Featured: "_Featured_13hpt_18",
1782
+ Video: "_Video_13hpt_31",
1783
+ Quote: "_Quote_13hpt_36",
1784
+ Blockquote: "_Blockquote_13hpt_44",
1785
+ Person: "_Person_13hpt_72",
1786
+ Name: "_Name_13hpt_81",
1787
+ Meta: "_Meta_13hpt_88",
1788
+ Still: "_Still_13hpt_124",
1789
+ Play: "_Play_13hpt_133",
1790
+ DialogViewport: "_DialogViewport_13hpt_143",
1791
+ DialogPopup: "_DialogPopup_13hpt_143",
1792
+ DialogVideo: "_DialogVideo_13hpt_149",
1793
+ Close: "_Close_13hpt_157"
1794
+ }, St = O({
1795
+ reviews: {
1796
+ no: "Kundeomtaler",
1797
+ se: "Kundomdömen",
1798
+ fi: "Asiakasarviot",
1799
+ es: "Opiniones de clientes"
1800
+ },
1801
+ play: {
1802
+ no: "Spill av video",
1803
+ se: "Spela upp video",
1804
+ fi: "Toista video",
1805
+ es: "Reproducir vídeo"
1806
+ },
1807
+ video: {
1808
+ no: "Video fra kunde",
1809
+ se: "Video från kund",
1810
+ fi: "Asiakkaan video",
1811
+ es: "Vídeo de un cliente"
1812
+ },
1813
+ close: {
1814
+ no: "Lukk video",
1815
+ se: "Stäng video",
1816
+ fi: "Sulje video",
1817
+ es: "Cerrar vídeo"
1818
+ },
1819
+ captionsLanguage: {
1820
+ no: "nb",
1821
+ se: "sv",
1822
+ fi: "fi",
1823
+ es: "es"
1824
+ },
1825
+ captionsLabel: {
1826
+ no: "Norsk",
1827
+ se: "Svenska",
1828
+ fi: "Suomi",
1829
+ es: "Español"
1830
+ }
1831
+ });
1832
+ //#endregion
1833
+ //#region src/website/testimonials.tsx
1834
+ function Ct({ 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 }) {
1835
+ let w = St(), T = C(), te = i != null || a != null, ne = h.toArray(S).length > 0;
1836
+ return e({
1837
+ render: y,
1838
+ ref: b,
1839
+ defaultTagName: "div",
1840
+ props: {
1841
+ ...ee,
1842
+ className: N($.Testimonials, x)({}),
1843
+ children: /* @__PURE__ */ m(f, { children: [
1844
+ t != null && /* @__PURE__ */ p(We, {
1845
+ title: t,
1846
+ titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: T }),
1847
+ subtitle: r
1848
+ }),
1849
+ (te || c != null) && /* @__PURE__ */ m("div", {
1850
+ className: $.Featured,
1851
+ "data-video": c != null || void 0,
1852
+ "data-video-position": v,
1853
+ children: [te && /* @__PURE__ */ m("figure", {
1854
+ className: $.Quote,
1855
+ children: [
1856
+ s != null && /* @__PURE__ */ p(le, { rating: s }),
1857
+ i != null && /* @__PURE__ */ p("blockquote", {
1858
+ className: $.Blockquote,
1859
+ children: typeof i == "string" || typeof i == "number" ? /* @__PURE__ */ p("p", { children: i }) : i
1860
+ }),
1861
+ (a != null || o != null) && /* @__PURE__ */ m("figcaption", {
1862
+ className: $.Person,
1863
+ children: [a != null && /* @__PURE__ */ p("span", {
1864
+ className: $.Name,
1865
+ children: a
1866
+ }), o != null && /* @__PURE__ */ p("span", {
1867
+ className: $.Meta,
1868
+ children: o
1869
+ })]
1870
+ })
1871
+ ]
1872
+ }), c != null && /* @__PURE__ */ m("div", {
1873
+ className: $.Video,
1874
+ children: [u == null ? /* @__PURE__ */ p("video", {
1875
+ className: $.Still,
1876
+ src: `${c}#t=0.1`,
1877
+ preload: "metadata",
1878
+ muted: !0,
1879
+ playsInline: !0,
1880
+ "aria-hidden": !0,
1881
+ tabIndex: -1
1882
+ }) : /* @__PURE__ */ p("img", {
1883
+ className: $.Still,
1884
+ src: u,
1885
+ alt: ""
1886
+ }), /* @__PURE__ */ m(E.Root, { children: [/* @__PURE__ */ p(E.Trigger, { render: /* @__PURE__ */ p(D, {
1887
+ variant: "elevated",
1888
+ color: "secondary",
1889
+ "aria-label": w.play,
1890
+ className: $.Play,
1891
+ children: /* @__PURE__ */ p(l, { "aria-hidden": !0 })
1892
+ }) }), /* @__PURE__ */ m(E.Portal, { children: [/* @__PURE__ */ p(E.Backdrop, {}), /* @__PURE__ */ p(E.Viewport, {
1893
+ className: $.DialogViewport,
1894
+ children: /* @__PURE__ */ m(E.Popup, {
1895
+ size: "lg",
1896
+ "aria-label": w.video,
1897
+ className: $.DialogPopup,
1898
+ children: [/* @__PURE__ */ p(E.Close, { render: /* @__PURE__ */ p(D, {
1899
+ variant: "elevated",
1900
+ color: "secondary",
1901
+ "aria-label": w.close,
1902
+ className: $.Close,
1903
+ children: /* @__PURE__ */ p(d, { "aria-hidden": !0 })
1904
+ }) }), /* @__PURE__ */ p("video", {
1905
+ className: $.DialogVideo,
1906
+ src: c,
1907
+ controls: !0,
1908
+ autoPlay: !0,
1909
+ playsInline: !0,
1910
+ children: g != null && /* @__PURE__ */ p("track", {
1911
+ kind: "captions",
1912
+ src: g,
1913
+ srcLang: w.captionsLanguage,
1914
+ label: w.captionsLabel,
1915
+ default: !0
1916
+ })
1917
+ })]
1918
+ })
1919
+ })] })] })]
1920
+ })]
1921
+ }),
1922
+ ne && /* @__PURE__ */ p(Se, {
1923
+ ...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
1924
+ children: S
1925
+ })
1926
+ ] })
1927
+ }
1928
+ });
1929
+ }
1930
+ //#endregion
1931
+ export { fe as AlertBanner, ge as BrandLetters, _e as Calculator, Se as Carousel, Ce as CtaBanner, je as ExpandingCards, Me as ExpandingCardsItem, Ne as Hero, Pe as HeroServiceGrid, Fe as NavigationGrid, Le as PartnerList, Re as PaymentFeature, Be as PromoGrid, Ue as Section, We as SectionHeader, Ke as ServiceCardGrid, Ye as SideNav, dt as SiteFooter, vt as SiteHeader, yt as SplitContent, bt as Stats, Ct as Testimonials };
1932
+
1933
+ //# sourceMappingURL=website.mjs.map