@leabankab/component-library 8.6.1 → 8.8.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/CHANGELOG.md +94 -0
- package/dist/component-library.es.js +1930 -1091
- package/dist/component-library.es.js.map +1 -1
- package/dist/component-library.umd.js +2 -2
- package/dist/component-library.umd.js.map +1 -1
- package/dist/components/buttons/action-button.d.ts +34 -4
- package/dist/components/buttons/button-base.d.ts +5 -2
- package/dist/components/buttons/icon-button.d.ts +16 -2
- package/dist/components/color-roles.d.ts +7 -1
- package/dist/components/data-display/arrow-circle.d.ts +21 -0
- package/dist/components/data-display/article-card.d.ts +88 -0
- package/dist/components/data-display/avatar.d.ts +33 -0
- package/dist/components/data-display/chip.d.ts +8 -3
- package/dist/components/data-display/featured-image.d.ts +42 -0
- package/dist/components/data-display/index.d.ts +12 -0
- package/dist/components/data-display/link-card.d.ts +52 -0
- package/dist/components/data-display/media-card.d.ts +102 -0
- package/dist/components/data-display/partner-row.d.ts +46 -0
- package/dist/components/data-display/rich-text.d.ts +27 -0
- package/dist/components/data-display/service-card.d.ts +80 -0
- package/dist/components/data-display/star-rating.d.ts +26 -0
- package/dist/components/data-display/table.d.ts +93 -0
- package/dist/components/data-display/testimonial-card.d.ts +43 -0
- package/dist/components/data-display/use-star-rating-labels.d.ts +5 -0
- package/dist/components/data-display/use-video-player-labels.d.ts +2 -0
- package/dist/components/data-display/video-player.d.ts +22 -0
- package/dist/components/data-display/website-card.d.ts +10 -0
- package/dist/components/feedback/index.d.ts +1 -0
- package/dist/components/feedback/skeleton.d.ts +22 -0
- package/dist/components/form/slider.d.ts +15 -2
- package/dist/components/navigation/breadcrumbs.d.ts +38 -0
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/pagination-dots.d.ts +34 -0
- package/dist/components/navigation/pagination.d.ts +37 -0
- package/dist/components/navigation/use-breadcrumbs-labels.d.ts +2 -0
- package/dist/components/navigation/use-pagination-labels.d.ts +7 -0
- package/dist/components/surfaces/accordion.d.ts +5 -1
- package/dist/components/surfaces/index.d.ts +1 -0
- package/dist/components/surfaces/panel.d.ts +30 -0
- package/dist/components/typography/link.d.ts +14 -1
- package/dist/cookie-consent-react.cjs +1 -1
- package/dist/cookie-consent-react.cjs.map +1 -1
- package/dist/cookie-consent-react.mjs +13 -13
- package/dist/cookie-consent-react.mjs.map +1 -1
- package/dist/cookie-consent.css +1 -1
- package/dist/date-picker.cjs +1 -1
- package/dist/date-picker.cjs.map +1 -1
- package/dist/date-picker.mjs +216 -203
- package/dist/date-picker.mjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/tailwind.css +16 -0
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/token-types.d.ts +13 -3
- package/dist/theme/tokens/breakpoints.d.ts +20 -0
- package/dist/theme/tokens/font-family.d.ts +6 -0
- package/dist/theme/tokens/index.d.ts +1 -0
- package/dist/theme/tokens/shadows.d.ts +6 -0
- package/dist/theme/tokens/text-styles.d.ts +8 -0
- package/dist/theme/tokens/widths.d.ts +10 -0
- package/dist/theme/types.d.ts +9 -1
- package/dist/website/brand-letters.d.ts +40 -0
- package/dist/website/calculator.d.ts +58 -0
- package/dist/website/carousel.d.ts +55 -0
- package/dist/website/cta-banner.d.ts +42 -0
- package/dist/website/expanding-cards-context.d.ts +8 -0
- package/dist/website/expanding-cards-item.d.ts +69 -0
- package/dist/website/expanding-cards.d.ts +48 -0
- package/dist/website/hero-service-grid.d.ts +52 -0
- package/dist/website/hero.d.ts +57 -0
- package/dist/website/index.d.ts +33 -0
- package/dist/website/navigation-grid.d.ts +39 -0
- package/dist/website/paragraphs.d.ts +11 -0
- package/dist/website/partner-list.d.ts +79 -0
- package/dist/website/payment-feature.d.ts +85 -0
- package/dist/website/promo-grid.d.ts +71 -0
- package/dist/website/section-header.d.ts +53 -0
- package/dist/website/section.d.ts +53 -0
- package/dist/website/service-card-grid.d.ts +33 -0
- package/dist/website/split-content.d.ts +69 -0
- package/dist/website/stats.d.ts +52 -0
- package/dist/website/testimonials.d.ts +100 -0
- package/dist/website/use-brand-letters-labels.d.ts +2 -0
- package/dist/website/use-carousel-labels.d.ts +6 -0
- package/dist/website/use-carousel.d.ts +50 -0
- package/dist/website/use-partner-list-labels.d.ts +6 -0
- package/dist/website/use-testimonials-labels.d.ts +6 -0
- package/dist/website.cjs +2 -0
- package/dist/website.cjs.map +1 -0
- package/dist/website.css +1 -0
- package/dist/website.mjs +1226 -0
- package/dist/website.mjs.map +1 -0
- package/package.json +7 -2
package/dist/website.mjs
ADDED
|
@@ -0,0 +1,1226 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useRender as e } from "@base-ui/react/use-render";
|
|
3
|
+
import { ChevronLeft as t, ChevronRight as n, Pause as r, Play as i, X as a } from "lucide-react";
|
|
4
|
+
import { Children as o, Fragment as s, cloneElement as c, createContext as l, isValidElement as u, useCallback as d, useContext as f, useEffect as p, useId as m, useMemo as h, useRef as g, useState as _, useSyncExternalStore as v } from "react";
|
|
5
|
+
import { ActionButton as y, Dialog as b, FeaturedImage as x, IconButton as S, PaginationDots as C, Panel as w, PartnerRow as T, StarRating as ee, createTranslation as E } from "./component-library.es.js";
|
|
6
|
+
import { Fragment as D, jsx as O, jsxs as k } from "react/jsx-runtime";
|
|
7
|
+
import './website.css';//#region src/utils/merge-class-name.ts
|
|
8
|
+
var A = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), j = {
|
|
9
|
+
BrandLetters: "_BrandLetters_1ygg1_9",
|
|
10
|
+
Letters: "_Letters_1ygg1_17",
|
|
11
|
+
Letter: "_Letter_1ygg1_17",
|
|
12
|
+
Video: "_Video_1ygg1_48"
|
|
13
|
+
}, te = E({
|
|
14
|
+
play: {
|
|
15
|
+
no: "Spill av videoene",
|
|
16
|
+
se: "Spela upp videorna",
|
|
17
|
+
fi: "Toista videot",
|
|
18
|
+
es: "Reproducir los vídeos"
|
|
19
|
+
},
|
|
20
|
+
pause: {
|
|
21
|
+
no: "Sett videoene på pause",
|
|
22
|
+
se: "Pausa videorna",
|
|
23
|
+
fi: "Keskeytä videot",
|
|
24
|
+
es: "Pausar los vídeos"
|
|
25
|
+
}
|
|
26
|
+
}), ne = "(prefers-reduced-motion: reduce)", re = [
|
|
27
|
+
"L",
|
|
28
|
+
"E",
|
|
29
|
+
"A"
|
|
30
|
+
];
|
|
31
|
+
function ie({ videos: t, render: n, ref: a, className: o, ...s }) {
|
|
32
|
+
let c = te(), l = g([]), [u, d] = _(!1), f = (e) => {
|
|
33
|
+
for (let t of l.current) t && e(t);
|
|
34
|
+
}, m = (e) => {
|
|
35
|
+
e.muted = !0, e.play().catch(() => {});
|
|
36
|
+
};
|
|
37
|
+
p(() => {
|
|
38
|
+
let e = window.matchMedia(ne);
|
|
39
|
+
e.matches || f(m);
|
|
40
|
+
let t = (e) => {
|
|
41
|
+
e.matches && f((e) => e.pause());
|
|
42
|
+
};
|
|
43
|
+
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
44
|
+
}, []);
|
|
45
|
+
let h = () => d(l.current.some((e) => e != null && !e.paused)), v = () => {
|
|
46
|
+
f(u ? (e) => e.pause() : m);
|
|
47
|
+
};
|
|
48
|
+
return e({
|
|
49
|
+
render: n,
|
|
50
|
+
ref: a,
|
|
51
|
+
defaultTagName: "div",
|
|
52
|
+
props: {
|
|
53
|
+
...s,
|
|
54
|
+
className: A(j.BrandLetters, o)({}),
|
|
55
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O("div", {
|
|
56
|
+
className: j.Letters,
|
|
57
|
+
children: re.map((e, n) => /* @__PURE__ */ O("div", {
|
|
58
|
+
className: j.Letter,
|
|
59
|
+
"data-letter": e,
|
|
60
|
+
children: /* @__PURE__ */ O("video", {
|
|
61
|
+
ref: (e) => {
|
|
62
|
+
l.current[n] = e;
|
|
63
|
+
},
|
|
64
|
+
className: j.Video,
|
|
65
|
+
src: t[n].src,
|
|
66
|
+
poster: t[n].poster,
|
|
67
|
+
muted: !0,
|
|
68
|
+
loop: !0,
|
|
69
|
+
playsInline: !0,
|
|
70
|
+
"aria-hidden": !0,
|
|
71
|
+
onPlay: h,
|
|
72
|
+
onPause: h
|
|
73
|
+
})
|
|
74
|
+
}, e))
|
|
75
|
+
}), /* @__PURE__ */ O(S, {
|
|
76
|
+
variant: "elevated",
|
|
77
|
+
color: "secondary",
|
|
78
|
+
"aria-label": u ? c.pause : c.play,
|
|
79
|
+
onClick: v,
|
|
80
|
+
children: O(u ? r : i, { "aria-hidden": !0 })
|
|
81
|
+
})] })
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
var M = {
|
|
86
|
+
Calculator: "_Calculator_1mamd_12",
|
|
87
|
+
Body: "_Body_1mamd_26",
|
|
88
|
+
Panel: "_Panel_1mamd_41",
|
|
89
|
+
Summary: "_Summary_1mamd_55",
|
|
90
|
+
Results: "_Results_1mamd_64",
|
|
91
|
+
Result: "_Result_1mamd_64",
|
|
92
|
+
Label: "_Label_1mamd_77",
|
|
93
|
+
Value: "_Value_1mamd_78",
|
|
94
|
+
Actions: "_Actions_1mamd_95",
|
|
95
|
+
Price: "_Price_1mamd_103"
|
|
96
|
+
};
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region src/website/calculator.tsx
|
|
99
|
+
function ae({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
|
|
100
|
+
return e({
|
|
101
|
+
render: a,
|
|
102
|
+
ref: o,
|
|
103
|
+
defaultTagName: "div",
|
|
104
|
+
props: {
|
|
105
|
+
...l,
|
|
106
|
+
className: A(M.Calculator, s)({}),
|
|
107
|
+
children: /* @__PURE__ */ k(D, { children: [t, /* @__PURE__ */ k("div", {
|
|
108
|
+
className: M.Body,
|
|
109
|
+
children: [/* @__PURE__ */ O("div", {
|
|
110
|
+
className: M.Panel,
|
|
111
|
+
children: c
|
|
112
|
+
}), /* @__PURE__ */ k("div", {
|
|
113
|
+
className: M.Summary,
|
|
114
|
+
children: [n.length > 0 && /* @__PURE__ */ O("dl", {
|
|
115
|
+
className: M.Results,
|
|
116
|
+
"aria-live": "polite",
|
|
117
|
+
children: n.map((e, t) => /* @__PURE__ */ k("div", {
|
|
118
|
+
className: M.Result,
|
|
119
|
+
children: [/* @__PURE__ */ O("dt", {
|
|
120
|
+
className: M.Label,
|
|
121
|
+
children: e.label
|
|
122
|
+
}), /* @__PURE__ */ O("dd", {
|
|
123
|
+
className: M.Value,
|
|
124
|
+
children: e.value
|
|
125
|
+
})]
|
|
126
|
+
}, t))
|
|
127
|
+
}), (r != null || i != null) && /* @__PURE__ */ k("div", {
|
|
128
|
+
className: M.Actions,
|
|
129
|
+
children: [r, i != null && /* @__PURE__ */ O("p", {
|
|
130
|
+
className: M.Price,
|
|
131
|
+
children: i
|
|
132
|
+
})]
|
|
133
|
+
})]
|
|
134
|
+
})]
|
|
135
|
+
})] })
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
var N = {
|
|
140
|
+
Carousel: "_Carousel_17a24_14",
|
|
141
|
+
Viewport: "_Viewport_17a24_31",
|
|
142
|
+
Track: "_Track_17a24_66",
|
|
143
|
+
Slide: "_Slide_17a24_94",
|
|
144
|
+
Controls: "_Controls_17a24_100",
|
|
145
|
+
VisuallyHidden: "_VisuallyHidden_17a24_109"
|
|
146
|
+
}, oe = "(prefers-reduced-motion: reduce)", se = 150;
|
|
147
|
+
function ce(e, t) {
|
|
148
|
+
let n = g([0]), r = g(void 0), [i, a] = _(() => ({
|
|
149
|
+
pageCount: Math.max(1, t - 1),
|
|
150
|
+
page: 0,
|
|
151
|
+
settledPage: 0,
|
|
152
|
+
atStart: !0,
|
|
153
|
+
atEnd: t <= 2,
|
|
154
|
+
overflowing: t > 2,
|
|
155
|
+
moved: !1
|
|
156
|
+
})), o = d((t, r = !1) => {
|
|
157
|
+
let i = e.current;
|
|
158
|
+
if (!i) return;
|
|
159
|
+
let o = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
|
|
160
|
+
for (let e = 1; e < c.length; e += 1) Math.abs(c[e] - o) < Math.abs(c[l] - o) && (l = e);
|
|
161
|
+
a((e) => {
|
|
162
|
+
let n = {
|
|
163
|
+
pageCount: c.length,
|
|
164
|
+
page: l,
|
|
165
|
+
settledPage: t ? l : e.settledPage,
|
|
166
|
+
atStart: o <= 1,
|
|
167
|
+
atEnd: o >= s - 1,
|
|
168
|
+
overflowing: s > 1,
|
|
169
|
+
moved: e.moved || r
|
|
170
|
+
};
|
|
171
|
+
return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
|
|
172
|
+
});
|
|
173
|
+
}, [e]), s = d(() => {
|
|
174
|
+
let t = e.current;
|
|
175
|
+
if (!t) return;
|
|
176
|
+
let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, s = [];
|
|
177
|
+
for (let e of i) {
|
|
178
|
+
let t = Math.min(Math.max(0, e.offsetLeft - a), r);
|
|
179
|
+
(s.length === 0 || t - s[s.length - 1] > 1) && s.push(t);
|
|
180
|
+
}
|
|
181
|
+
n.current = s.length > 0 ? s : [0], o(!0);
|
|
182
|
+
}, [o, e]);
|
|
183
|
+
p(() => {
|
|
184
|
+
let t = e.current;
|
|
185
|
+
if (!t) return;
|
|
186
|
+
s();
|
|
187
|
+
let n = () => {
|
|
188
|
+
o(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => o(!0), se);
|
|
189
|
+
}, i = new ResizeObserver(s);
|
|
190
|
+
return t.addEventListener("scroll", n, { passive: !0 }), i.observe(t), () => {
|
|
191
|
+
t.removeEventListener("scroll", n), i.disconnect(), clearTimeout(r.current);
|
|
192
|
+
};
|
|
193
|
+
}, [
|
|
194
|
+
s,
|
|
195
|
+
o,
|
|
196
|
+
t,
|
|
197
|
+
e
|
|
198
|
+
]);
|
|
199
|
+
let c = d((t) => {
|
|
200
|
+
let r = e.current;
|
|
201
|
+
if (!r) return;
|
|
202
|
+
let i = n.current, a = Math.min(i.length - 1, Math.max(0, t)), o = !window.matchMedia(oe).matches;
|
|
203
|
+
r.scrollTo({
|
|
204
|
+
left: i[a],
|
|
205
|
+
behavior: o ? "smooth" : "auto"
|
|
206
|
+
});
|
|
207
|
+
}, [e]);
|
|
208
|
+
return {
|
|
209
|
+
...i,
|
|
210
|
+
goTo: c
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
//#endregion
|
|
214
|
+
//#region src/website/use-carousel-labels.ts
|
|
215
|
+
var le = E({
|
|
216
|
+
carousel: {
|
|
217
|
+
no: "karusell",
|
|
218
|
+
se: "karusell",
|
|
219
|
+
fi: "karuselli",
|
|
220
|
+
es: "carrusel"
|
|
221
|
+
},
|
|
222
|
+
previous: {
|
|
223
|
+
no: "Forrige",
|
|
224
|
+
se: "Föregående",
|
|
225
|
+
fi: "Edellinen",
|
|
226
|
+
es: "Anterior"
|
|
227
|
+
},
|
|
228
|
+
next: {
|
|
229
|
+
no: "Neste",
|
|
230
|
+
se: "Nästa",
|
|
231
|
+
fi: "Seuraava",
|
|
232
|
+
es: "Siguiente"
|
|
233
|
+
},
|
|
234
|
+
status: {
|
|
235
|
+
no: "Side {page} av {count}",
|
|
236
|
+
se: "Sida {page} av {count}",
|
|
237
|
+
fi: "Sivu {page}/{count}",
|
|
238
|
+
es: "Página {page} de {count}"
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/website/carousel.tsx
|
|
243
|
+
function P({ getItemLabel: r, render: i, ref: a, className: s, children: c, ...l }) {
|
|
244
|
+
let u = le(), d = g(null), f = o.toArray(c), { pageCount: p, page: m, settledPage: h, atStart: _, atEnd: v, overflowing: y, moved: b, goTo: x } = ce(d, f.length);
|
|
245
|
+
return e({
|
|
246
|
+
render: i,
|
|
247
|
+
ref: a,
|
|
248
|
+
defaultTagName: "div",
|
|
249
|
+
props: {
|
|
250
|
+
role: "region",
|
|
251
|
+
"aria-roledescription": u.carousel,
|
|
252
|
+
...l,
|
|
253
|
+
className: A(N.Carousel, s)({}),
|
|
254
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O("div", {
|
|
255
|
+
className: N.Viewport,
|
|
256
|
+
"data-at-start": _ || void 0,
|
|
257
|
+
"data-at-end": v || void 0,
|
|
258
|
+
children: /* @__PURE__ */ O("ul", {
|
|
259
|
+
ref: d,
|
|
260
|
+
className: N.Track,
|
|
261
|
+
tabIndex: y ? 0 : void 0,
|
|
262
|
+
children: f.map((e, t) => /* @__PURE__ */ O("li", {
|
|
263
|
+
className: N.Slide,
|
|
264
|
+
children: e
|
|
265
|
+
}, t))
|
|
266
|
+
})
|
|
267
|
+
}), p > 1 && /* @__PURE__ */ k("div", {
|
|
268
|
+
className: N.Controls,
|
|
269
|
+
children: [
|
|
270
|
+
/* @__PURE__ */ O(S, {
|
|
271
|
+
variant: "elevated",
|
|
272
|
+
color: "secondary",
|
|
273
|
+
"aria-label": u.previous,
|
|
274
|
+
disabled: m === 0,
|
|
275
|
+
focusableWhenDisabled: !0,
|
|
276
|
+
onClick: () => x(m - 1),
|
|
277
|
+
children: /* @__PURE__ */ O(t, { "aria-hidden": !0 })
|
|
278
|
+
}),
|
|
279
|
+
/* @__PURE__ */ O(C, {
|
|
280
|
+
count: p,
|
|
281
|
+
value: m + 1,
|
|
282
|
+
onValueChange: (e) => x(e - 1),
|
|
283
|
+
getItemLabel: r
|
|
284
|
+
}),
|
|
285
|
+
/* @__PURE__ */ O(S, {
|
|
286
|
+
variant: "elevated",
|
|
287
|
+
color: "secondary",
|
|
288
|
+
"aria-label": u.next,
|
|
289
|
+
disabled: m === p - 1,
|
|
290
|
+
focusableWhenDisabled: !0,
|
|
291
|
+
onClick: () => x(m + 1),
|
|
292
|
+
children: /* @__PURE__ */ O(n, { "aria-hidden": !0 })
|
|
293
|
+
}),
|
|
294
|
+
/* @__PURE__ */ O("span", {
|
|
295
|
+
role: "status",
|
|
296
|
+
className: N.VisuallyHidden,
|
|
297
|
+
children: b && u.status.replace("{page}", String(h + 1)).replace("{count}", String(p))
|
|
298
|
+
})
|
|
299
|
+
]
|
|
300
|
+
})] })
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
var F = {
|
|
305
|
+
CtaBanner: "_CtaBanner_vkp5c_7",
|
|
306
|
+
Title: "_Title_vkp5c_15",
|
|
307
|
+
Content: "_Content_vkp5c_24",
|
|
308
|
+
Text: "_Text_vkp5c_32",
|
|
309
|
+
Action: "_Action_vkp5c_48",
|
|
310
|
+
Price: "_Price_vkp5c_53"
|
|
311
|
+
};
|
|
312
|
+
//#endregion
|
|
313
|
+
//#region src/website/paragraphs.tsx
|
|
314
|
+
function I({ className: e, id: t, children: n }) {
|
|
315
|
+
return O(typeof n == "string" || typeof n == "number" ? "p" : "div", {
|
|
316
|
+
className: e,
|
|
317
|
+
id: t,
|
|
318
|
+
children: n
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region src/website/cta-banner.tsx
|
|
323
|
+
function ue({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
324
|
+
let u = e({
|
|
325
|
+
render: n,
|
|
326
|
+
defaultTagName: "h2",
|
|
327
|
+
props: {
|
|
328
|
+
className: F.Title,
|
|
329
|
+
children: t
|
|
330
|
+
}
|
|
331
|
+
}), d = r != null || i != null || a != null;
|
|
332
|
+
return e({
|
|
333
|
+
render: o,
|
|
334
|
+
ref: s,
|
|
335
|
+
defaultTagName: "div",
|
|
336
|
+
props: {
|
|
337
|
+
...l,
|
|
338
|
+
"data-has-content": d || void 0,
|
|
339
|
+
className: A(F.CtaBanner, c)({}),
|
|
340
|
+
children: /* @__PURE__ */ k(D, { children: [u, d && /* @__PURE__ */ k("div", {
|
|
341
|
+
className: F.Content,
|
|
342
|
+
children: [
|
|
343
|
+
r != null && /* @__PURE__ */ O(I, {
|
|
344
|
+
className: F.Text,
|
|
345
|
+
children: r
|
|
346
|
+
}),
|
|
347
|
+
i != null && /* @__PURE__ */ O("div", {
|
|
348
|
+
className: F.Action,
|
|
349
|
+
children: i
|
|
350
|
+
}),
|
|
351
|
+
a != null && /* @__PURE__ */ O("p", {
|
|
352
|
+
className: F.Price,
|
|
353
|
+
children: a
|
|
354
|
+
})
|
|
355
|
+
]
|
|
356
|
+
})] })
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
}
|
|
360
|
+
//#endregion
|
|
361
|
+
//#region src/website/expanding-cards-context.ts
|
|
362
|
+
var L = l({ open: !0 }), R = {
|
|
363
|
+
ExpandingCards: "_ExpandingCards_14pq8_19",
|
|
364
|
+
List: "_List_14pq8_23",
|
|
365
|
+
Item: "_Item_14pq8_32"
|
|
366
|
+
}, z = "(min-width: 1312px)", de = { open: !0 }, fe = { open: !1 }, pe = (e) => {
|
|
367
|
+
let t = window.matchMedia(z);
|
|
368
|
+
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
369
|
+
}, me = () => v(pe, () => window.matchMedia(z).matches, () => !0);
|
|
370
|
+
function he({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...s }) {
|
|
371
|
+
let c = o.toArray(a), l = me(), [u, d] = _(() => t === "last" ? Math.max(0, c.length - 1) : 0);
|
|
372
|
+
return e({
|
|
373
|
+
render: n,
|
|
374
|
+
ref: r,
|
|
375
|
+
defaultTagName: "div",
|
|
376
|
+
props: {
|
|
377
|
+
...s,
|
|
378
|
+
className: A(R.ExpandingCards, i)({}),
|
|
379
|
+
children: /* @__PURE__ */ O("ul", {
|
|
380
|
+
className: R.List,
|
|
381
|
+
style: { "--expanding-cards-count": c.length },
|
|
382
|
+
children: c.map((e, t) => /* @__PURE__ */ O("li", {
|
|
383
|
+
className: R.Item,
|
|
384
|
+
"data-open": t === u || void 0,
|
|
385
|
+
onPointerEnter: () => d(t),
|
|
386
|
+
onFocus: () => d(t),
|
|
387
|
+
children: /* @__PURE__ */ O(L.Provider, {
|
|
388
|
+
value: !l || t === u ? de : fe,
|
|
389
|
+
children: e
|
|
390
|
+
})
|
|
391
|
+
}, t))
|
|
392
|
+
})
|
|
393
|
+
}
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
var B = {
|
|
397
|
+
ExpandingCardsItem: "_ExpandingCardsItem_1v7ai_17",
|
|
398
|
+
Content: "_Content_1v7ai_53",
|
|
399
|
+
Title: "_Title_1v7ai_70",
|
|
400
|
+
Text: "_Text_1v7ai_81",
|
|
401
|
+
Action: "_Action_1v7ai_99",
|
|
402
|
+
Photo: "_Photo_1v7ai_110",
|
|
403
|
+
Image: "_Image_1v7ai_117"
|
|
404
|
+
};
|
|
405
|
+
//#endregion
|
|
406
|
+
//#region src/website/expanding-cards-item.tsx
|
|
407
|
+
function ge({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, surface: l = "base", render: d, ref: p, className: m, ...h }) {
|
|
408
|
+
let { open: g } = f(L), _ = e({
|
|
409
|
+
render: n,
|
|
410
|
+
defaultTagName: "h2",
|
|
411
|
+
props: {
|
|
412
|
+
className: B.Title,
|
|
413
|
+
children: t
|
|
414
|
+
}
|
|
415
|
+
}), v = e({
|
|
416
|
+
enabled: a != null,
|
|
417
|
+
render: s,
|
|
418
|
+
defaultTagName: "img",
|
|
419
|
+
props: {
|
|
420
|
+
src: a,
|
|
421
|
+
alt: o,
|
|
422
|
+
className: B.Image
|
|
423
|
+
}
|
|
424
|
+
}), b = u(i) && i.type === y ? c(i, { iconOnly: !g }) : i;
|
|
425
|
+
return e({
|
|
426
|
+
render: d,
|
|
427
|
+
ref: p,
|
|
428
|
+
defaultTagName: "div",
|
|
429
|
+
props: {
|
|
430
|
+
...h,
|
|
431
|
+
"data-surface": l,
|
|
432
|
+
"data-open": g || void 0,
|
|
433
|
+
"data-image": a != null || void 0,
|
|
434
|
+
className: A(B.ExpandingCardsItem, m)({}),
|
|
435
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ k("div", {
|
|
436
|
+
className: B.Content,
|
|
437
|
+
children: [
|
|
438
|
+
_,
|
|
439
|
+
r != null && /* @__PURE__ */ O(I, {
|
|
440
|
+
className: B.Text,
|
|
441
|
+
children: r
|
|
442
|
+
}),
|
|
443
|
+
i != null && /* @__PURE__ */ O("div", {
|
|
444
|
+
className: B.Action,
|
|
445
|
+
children: b
|
|
446
|
+
})
|
|
447
|
+
]
|
|
448
|
+
}), v != null && /* @__PURE__ */ O("div", {
|
|
449
|
+
className: B.Photo,
|
|
450
|
+
children: v
|
|
451
|
+
})] })
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
var V = {
|
|
456
|
+
Hero: "_Hero_1ik22_8",
|
|
457
|
+
Background: "_Background_1ik22_24",
|
|
458
|
+
Image: "_Image_1ik22_30",
|
|
459
|
+
Container: "_Container_1ik22_37",
|
|
460
|
+
Box: "_Box_1ik22_45",
|
|
461
|
+
Title: "_Title_1ik22_50",
|
|
462
|
+
Text: "_Text_1ik22_59",
|
|
463
|
+
Action: "_Action_1ik22_75",
|
|
464
|
+
Price: "_Price_1ik22_80"
|
|
465
|
+
};
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region src/website/hero.tsx
|
|
468
|
+
function _e({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...f }) {
|
|
469
|
+
let p = e({
|
|
470
|
+
render: a,
|
|
471
|
+
defaultTagName: "h1",
|
|
472
|
+
props: {
|
|
473
|
+
className: V.Title,
|
|
474
|
+
children: i
|
|
475
|
+
}
|
|
476
|
+
}), m = e({
|
|
477
|
+
render: r,
|
|
478
|
+
defaultTagName: "img",
|
|
479
|
+
props: {
|
|
480
|
+
src: t,
|
|
481
|
+
alt: n,
|
|
482
|
+
className: V.Image
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
return e({
|
|
486
|
+
render: l,
|
|
487
|
+
ref: u,
|
|
488
|
+
defaultTagName: "section",
|
|
489
|
+
props: {
|
|
490
|
+
...f,
|
|
491
|
+
className: A(V.Hero, d)({}),
|
|
492
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O("div", {
|
|
493
|
+
className: V.Container,
|
|
494
|
+
children: /* @__PURE__ */ k(w, {
|
|
495
|
+
className: V.Box,
|
|
496
|
+
children: [
|
|
497
|
+
p,
|
|
498
|
+
o != null && /* @__PURE__ */ O(I, {
|
|
499
|
+
className: V.Text,
|
|
500
|
+
children: o
|
|
501
|
+
}),
|
|
502
|
+
s != null && /* @__PURE__ */ O("div", {
|
|
503
|
+
className: V.Action,
|
|
504
|
+
children: s
|
|
505
|
+
}),
|
|
506
|
+
c != null && /* @__PURE__ */ O("p", {
|
|
507
|
+
className: V.Price,
|
|
508
|
+
children: c
|
|
509
|
+
})
|
|
510
|
+
]
|
|
511
|
+
})
|
|
512
|
+
}), /* @__PURE__ */ O("div", {
|
|
513
|
+
className: V.Background,
|
|
514
|
+
children: m
|
|
515
|
+
})] })
|
|
516
|
+
}
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
var H = {
|
|
520
|
+
HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
|
|
521
|
+
Cards: "_Cards_yr3eo_15",
|
|
522
|
+
Item: "_Item_yr3eo_26",
|
|
523
|
+
Featured: "_Featured_yr3eo_51"
|
|
524
|
+
};
|
|
525
|
+
//#endregion
|
|
526
|
+
//#region src/website/hero-service-grid.tsx
|
|
527
|
+
function ve({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: s, ref: c, className: l, children: u, ...d }) {
|
|
528
|
+
let f = o.toArray(u);
|
|
529
|
+
return e({
|
|
530
|
+
render: s,
|
|
531
|
+
ref: c,
|
|
532
|
+
defaultTagName: "div",
|
|
533
|
+
props: {
|
|
534
|
+
...d,
|
|
535
|
+
"data-image-position": a,
|
|
536
|
+
className: A(H.HeroServiceGrid, l)({}),
|
|
537
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(x, {
|
|
538
|
+
className: H.Featured,
|
|
539
|
+
src: t,
|
|
540
|
+
alt: n,
|
|
541
|
+
imageRender: r,
|
|
542
|
+
action: i
|
|
543
|
+
}), f.length > 0 && /* @__PURE__ */ O("ul", {
|
|
544
|
+
className: H.Cards,
|
|
545
|
+
children: f.map((e, t) => /* @__PURE__ */ O("li", {
|
|
546
|
+
className: H.Item,
|
|
547
|
+
children: e
|
|
548
|
+
}, t))
|
|
549
|
+
})] })
|
|
550
|
+
}
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
var U = {
|
|
554
|
+
NavigationGrid: "_NavigationGrid_ocatr_9",
|
|
555
|
+
Title: "_Title_ocatr_16",
|
|
556
|
+
List: "_List_ocatr_25",
|
|
557
|
+
Item: "_Item_ocatr_35"
|
|
558
|
+
};
|
|
559
|
+
//#endregion
|
|
560
|
+
//#region src/website/navigation-grid.tsx
|
|
561
|
+
function ye({ title: t, titleRender: n, render: r, ref: i, className: a, children: s, ...c }) {
|
|
562
|
+
let l = o.toArray(s), u = l.length >= 3 && l.length % 2 == 1, d = e({
|
|
563
|
+
enabled: t != null,
|
|
564
|
+
render: n,
|
|
565
|
+
defaultTagName: "h2",
|
|
566
|
+
props: {
|
|
567
|
+
className: U.Title,
|
|
568
|
+
children: t
|
|
569
|
+
}
|
|
570
|
+
});
|
|
571
|
+
return e({
|
|
572
|
+
render: r,
|
|
573
|
+
ref: i,
|
|
574
|
+
defaultTagName: "div",
|
|
575
|
+
props: {
|
|
576
|
+
...c,
|
|
577
|
+
className: A(U.NavigationGrid, a)({}),
|
|
578
|
+
children: /* @__PURE__ */ k(D, { children: [d, /* @__PURE__ */ O("ul", {
|
|
579
|
+
className: U.List,
|
|
580
|
+
"data-odd": u || void 0,
|
|
581
|
+
children: l.map((e, t) => /* @__PURE__ */ O("li", {
|
|
582
|
+
className: U.Item,
|
|
583
|
+
children: e
|
|
584
|
+
}, t))
|
|
585
|
+
})] })
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
}
|
|
589
|
+
var W = {
|
|
590
|
+
PartnerList: "_PartnerList_9o9wx_7",
|
|
591
|
+
List: "_List_9o9wx_11",
|
|
592
|
+
Controls: "_Controls_9o9wx_19",
|
|
593
|
+
VisuallyHidden: "_VisuallyHidden_9o9wx_29"
|
|
594
|
+
}, be = E({
|
|
595
|
+
previous: {
|
|
596
|
+
no: "Forrige side",
|
|
597
|
+
se: "Föregående sida",
|
|
598
|
+
fi: "Edellinen sivu",
|
|
599
|
+
es: "Página anterior"
|
|
600
|
+
},
|
|
601
|
+
next: {
|
|
602
|
+
no: "Neste side",
|
|
603
|
+
se: "Nästa sida",
|
|
604
|
+
fi: "Seuraava sivu",
|
|
605
|
+
es: "Página siguiente"
|
|
606
|
+
},
|
|
607
|
+
status: {
|
|
608
|
+
no: "Side {page} av {count}",
|
|
609
|
+
se: "Sida {page} av {count}",
|
|
610
|
+
fi: "Sivu {page}/{count}",
|
|
611
|
+
es: "Página {page} de {count}"
|
|
612
|
+
},
|
|
613
|
+
collation: {
|
|
614
|
+
no: "nb",
|
|
615
|
+
se: "sv",
|
|
616
|
+
fi: "fi",
|
|
617
|
+
es: "es"
|
|
618
|
+
}
|
|
619
|
+
});
|
|
620
|
+
//#endregion
|
|
621
|
+
//#region src/website/partner-list.tsx
|
|
622
|
+
function xe({ items: r, pageSize: i = 9, value: a, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
|
|
623
|
+
let f = be(), [p, m] = _(o), g = h(() => {
|
|
624
|
+
let e = new Intl.Collator(f.collation, { sensitivity: "base" });
|
|
625
|
+
return [...r].sort((t, n) => e.compare(t.name, n.name));
|
|
626
|
+
}, [r, f.collation]), v = Math.max(1, Math.floor(i)), y = Math.max(1, Math.ceil(g.length / v)), b = Math.min(y, Math.max(1, a ?? p)), x = (b - 1) * v, w = (e) => {
|
|
627
|
+
let t = Math.min(y, Math.max(1, e));
|
|
628
|
+
a === void 0 && m(t), t !== b && s?.(t);
|
|
629
|
+
};
|
|
630
|
+
return e({
|
|
631
|
+
enabled: g.length > 0,
|
|
632
|
+
render: c,
|
|
633
|
+
ref: l,
|
|
634
|
+
defaultTagName: "div",
|
|
635
|
+
props: {
|
|
636
|
+
...d,
|
|
637
|
+
className: A(W.PartnerList, u)({}),
|
|
638
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O("ul", {
|
|
639
|
+
className: W.List,
|
|
640
|
+
children: g.slice(x, x + v).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ O(T, {
|
|
641
|
+
...n,
|
|
642
|
+
render: /* @__PURE__ */ O("li", {}),
|
|
643
|
+
children: t
|
|
644
|
+
}, `${x + r}-${e}`))
|
|
645
|
+
}), y > 1 && /* @__PURE__ */ k("div", {
|
|
646
|
+
className: W.Controls,
|
|
647
|
+
children: [
|
|
648
|
+
/* @__PURE__ */ O(S, {
|
|
649
|
+
variant: "elevated",
|
|
650
|
+
color: "secondary",
|
|
651
|
+
"aria-label": f.previous,
|
|
652
|
+
disabled: b === 1,
|
|
653
|
+
focusableWhenDisabled: !0,
|
|
654
|
+
onClick: () => w(b - 1),
|
|
655
|
+
children: /* @__PURE__ */ O(t, { "aria-hidden": !0 })
|
|
656
|
+
}),
|
|
657
|
+
/* @__PURE__ */ O(C, {
|
|
658
|
+
count: y,
|
|
659
|
+
value: b,
|
|
660
|
+
onValueChange: w
|
|
661
|
+
}),
|
|
662
|
+
/* @__PURE__ */ O(S, {
|
|
663
|
+
variant: "elevated",
|
|
664
|
+
color: "secondary",
|
|
665
|
+
"aria-label": f.next,
|
|
666
|
+
disabled: b === y,
|
|
667
|
+
focusableWhenDisabled: !0,
|
|
668
|
+
onClick: () => w(b + 1),
|
|
669
|
+
children: /* @__PURE__ */ O(n, { "aria-hidden": !0 })
|
|
670
|
+
}),
|
|
671
|
+
/* @__PURE__ */ O("span", {
|
|
672
|
+
role: "status",
|
|
673
|
+
className: W.VisuallyHidden,
|
|
674
|
+
children: f.status.replace("{page}", String(b)).replace("{count}", String(y))
|
|
675
|
+
})
|
|
676
|
+
]
|
|
677
|
+
})] })
|
|
678
|
+
}
|
|
679
|
+
});
|
|
680
|
+
}
|
|
681
|
+
var G = {
|
|
682
|
+
Grid: "_Grid_1vukg_10",
|
|
683
|
+
Content: "_Content_1vukg_17",
|
|
684
|
+
Logos: "_Logos_1vukg_28",
|
|
685
|
+
LogoItem: "_LogoItem_1vukg_38",
|
|
686
|
+
Logo: "_Logo_1vukg_28",
|
|
687
|
+
Text: "_Text_1vukg_60",
|
|
688
|
+
Title: "_Title_1vukg_66",
|
|
689
|
+
Description: "_Description_1vukg_75",
|
|
690
|
+
Actions: "_Actions_1vukg_91",
|
|
691
|
+
Price: "_Price_1vukg_98",
|
|
692
|
+
Media: "_Media_1vukg_106",
|
|
693
|
+
PaymentFeature: "_PaymentFeature_1vukg_111",
|
|
694
|
+
Image: "_Image_1vukg_115"
|
|
695
|
+
};
|
|
696
|
+
//#endregion
|
|
697
|
+
//#region src/website/payment-feature.tsx
|
|
698
|
+
function Se({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
|
|
699
|
+
let p = e({
|
|
700
|
+
render: r,
|
|
701
|
+
defaultTagName: "h2",
|
|
702
|
+
props: {
|
|
703
|
+
className: G.Title,
|
|
704
|
+
children: n
|
|
705
|
+
}
|
|
706
|
+
}), m = e({
|
|
707
|
+
enabled: s != null,
|
|
708
|
+
render: l,
|
|
709
|
+
defaultTagName: "img",
|
|
710
|
+
props: {
|
|
711
|
+
src: s,
|
|
712
|
+
alt: c,
|
|
713
|
+
className: G.Image
|
|
714
|
+
}
|
|
715
|
+
});
|
|
716
|
+
return /* @__PURE__ */ O(w, {
|
|
717
|
+
...f,
|
|
718
|
+
className: [G.PaymentFeature, d].filter(Boolean).join(" "),
|
|
719
|
+
"data-image-position": u,
|
|
720
|
+
"data-has-image": m != null || void 0,
|
|
721
|
+
children: /* @__PURE__ */ k("div", {
|
|
722
|
+
className: G.Grid,
|
|
723
|
+
children: [/* @__PURE__ */ k("div", {
|
|
724
|
+
className: G.Content,
|
|
725
|
+
children: [
|
|
726
|
+
t != null && t.length > 0 && /* @__PURE__ */ O("ul", {
|
|
727
|
+
className: G.Logos,
|
|
728
|
+
children: t.map((e, t) => /* @__PURE__ */ O(Ce, { ...e }, t))
|
|
729
|
+
}),
|
|
730
|
+
/* @__PURE__ */ k("div", {
|
|
731
|
+
className: G.Text,
|
|
732
|
+
children: [p, i != null && /* @__PURE__ */ O(I, {
|
|
733
|
+
className: G.Description,
|
|
734
|
+
children: i
|
|
735
|
+
})]
|
|
736
|
+
}),
|
|
737
|
+
a != null && /* @__PURE__ */ O("div", {
|
|
738
|
+
className: G.Actions,
|
|
739
|
+
children: a
|
|
740
|
+
}),
|
|
741
|
+
o != null && /* @__PURE__ */ O("p", {
|
|
742
|
+
className: G.Price,
|
|
743
|
+
children: o
|
|
744
|
+
})
|
|
745
|
+
]
|
|
746
|
+
}), m != null && /* @__PURE__ */ O("div", {
|
|
747
|
+
className: G.Media,
|
|
748
|
+
children: m
|
|
749
|
+
})]
|
|
750
|
+
})
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
function Ce({ src: t, alt: n, imageRender: r }) {
|
|
754
|
+
let i = e({
|
|
755
|
+
render: r,
|
|
756
|
+
defaultTagName: "img",
|
|
757
|
+
props: {
|
|
758
|
+
src: t,
|
|
759
|
+
alt: n,
|
|
760
|
+
className: G.Logo
|
|
761
|
+
}
|
|
762
|
+
});
|
|
763
|
+
return /* @__PURE__ */ O("li", {
|
|
764
|
+
className: G.LogoItem,
|
|
765
|
+
children: i
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
var K = {
|
|
769
|
+
PromoGrid: "_PromoGrid_1l2yi_10",
|
|
770
|
+
Featured: "_Featured_1l2yi_19",
|
|
771
|
+
Content: "_Content_1l2yi_23",
|
|
772
|
+
Photos: "_Photos_1l2yi_31",
|
|
773
|
+
Photo: "_Photo_1l2yi_31",
|
|
774
|
+
Block: "_Block_1l2yi_51",
|
|
775
|
+
Title: "_Title_1l2yi_63",
|
|
776
|
+
Subtitle: "_Subtitle_1l2yi_73"
|
|
777
|
+
};
|
|
778
|
+
//#endregion
|
|
779
|
+
//#region src/website/promo-grid.tsx
|
|
780
|
+
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: f, ...p }) {
|
|
781
|
+
let m = e({
|
|
782
|
+
render: s,
|
|
783
|
+
defaultTagName: "h2",
|
|
784
|
+
props: {
|
|
785
|
+
className: K.Title,
|
|
786
|
+
children: o
|
|
787
|
+
}
|
|
788
|
+
});
|
|
789
|
+
return e({
|
|
790
|
+
render: u,
|
|
791
|
+
ref: d,
|
|
792
|
+
defaultTagName: "div",
|
|
793
|
+
props: {
|
|
794
|
+
...p,
|
|
795
|
+
"data-image-position": l,
|
|
796
|
+
className: A(K.PromoGrid, f)({}),
|
|
797
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ O(x, {
|
|
798
|
+
className: K.Featured,
|
|
799
|
+
src: t,
|
|
800
|
+
alt: n,
|
|
801
|
+
imageRender: r,
|
|
802
|
+
action: i
|
|
803
|
+
}), /* @__PURE__ */ k("div", {
|
|
804
|
+
className: K.Content,
|
|
805
|
+
children: [a != null && a.length > 0 && /* @__PURE__ */ O("div", {
|
|
806
|
+
className: K.Photos,
|
|
807
|
+
"data-count": a.length,
|
|
808
|
+
children: a.map((e, t) => /* @__PURE__ */ O(Te, { ...e }, t))
|
|
809
|
+
}), /* @__PURE__ */ k("div", {
|
|
810
|
+
className: K.Block,
|
|
811
|
+
children: [m, c != null && /* @__PURE__ */ O(I, {
|
|
812
|
+
className: K.Subtitle,
|
|
813
|
+
children: c
|
|
814
|
+
})]
|
|
815
|
+
})]
|
|
816
|
+
})] })
|
|
817
|
+
}
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
function Te({ src: t, alt: n, imageRender: r }) {
|
|
821
|
+
return e({
|
|
822
|
+
render: r,
|
|
823
|
+
defaultTagName: "img",
|
|
824
|
+
props: {
|
|
825
|
+
src: t,
|
|
826
|
+
alt: n,
|
|
827
|
+
className: K.Photo
|
|
828
|
+
}
|
|
829
|
+
});
|
|
830
|
+
}
|
|
831
|
+
var q = {
|
|
832
|
+
Section: "_Section_f8rp9_11",
|
|
833
|
+
Content: "_Content_f8rp9_60"
|
|
834
|
+
};
|
|
835
|
+
//#endregion
|
|
836
|
+
//#region src/website/section.tsx
|
|
837
|
+
function Ee({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
|
|
838
|
+
return e({
|
|
839
|
+
render: a,
|
|
840
|
+
ref: o,
|
|
841
|
+
defaultTagName: "section",
|
|
842
|
+
props: {
|
|
843
|
+
...l,
|
|
844
|
+
"data-surface": t,
|
|
845
|
+
"data-spacing-top": n,
|
|
846
|
+
"data-spacing-bottom": r,
|
|
847
|
+
className: A(q.Section, s)({}),
|
|
848
|
+
children: /* @__PURE__ */ O("div", {
|
|
849
|
+
className: q.Content,
|
|
850
|
+
"data-width": i,
|
|
851
|
+
children: c
|
|
852
|
+
})
|
|
853
|
+
}
|
|
854
|
+
});
|
|
855
|
+
}
|
|
856
|
+
var J = {
|
|
857
|
+
SectionHeader: "_SectionHeader_11mff_8",
|
|
858
|
+
Text: "_Text_11mff_17",
|
|
859
|
+
Eyebrow: "_Eyebrow_11mff_25",
|
|
860
|
+
Title: "_Title_11mff_33",
|
|
861
|
+
Subtitle: "_Subtitle_11mff_49",
|
|
862
|
+
Actions: "_Actions_11mff_67",
|
|
863
|
+
Price: "_Price_11mff_75"
|
|
864
|
+
};
|
|
865
|
+
//#endregion
|
|
866
|
+
//#region src/website/section-header.tsx
|
|
867
|
+
function Y({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
|
|
868
|
+
let f = e({
|
|
869
|
+
render: r,
|
|
870
|
+
defaultTagName: "h2",
|
|
871
|
+
props: {
|
|
872
|
+
className: J.Title,
|
|
873
|
+
children: n
|
|
874
|
+
}
|
|
875
|
+
});
|
|
876
|
+
return e({
|
|
877
|
+
render: c,
|
|
878
|
+
ref: l,
|
|
879
|
+
defaultTagName: "div",
|
|
880
|
+
props: {
|
|
881
|
+
...d,
|
|
882
|
+
"data-title-size": i,
|
|
883
|
+
className: A(J.SectionHeader, u)({}),
|
|
884
|
+
children: /* @__PURE__ */ k(D, { children: [
|
|
885
|
+
/* @__PURE__ */ k("div", {
|
|
886
|
+
className: J.Text,
|
|
887
|
+
children: [
|
|
888
|
+
t != null && /* @__PURE__ */ O("p", {
|
|
889
|
+
className: J.Eyebrow,
|
|
890
|
+
children: t
|
|
891
|
+
}),
|
|
892
|
+
f,
|
|
893
|
+
a != null && /* @__PURE__ */ O(I, {
|
|
894
|
+
className: J.Subtitle,
|
|
895
|
+
children: a
|
|
896
|
+
})
|
|
897
|
+
]
|
|
898
|
+
}),
|
|
899
|
+
o != null && /* @__PURE__ */ O("div", {
|
|
900
|
+
className: J.Actions,
|
|
901
|
+
children: o
|
|
902
|
+
}),
|
|
903
|
+
s != null && /* @__PURE__ */ O("p", {
|
|
904
|
+
className: J.Price,
|
|
905
|
+
children: s
|
|
906
|
+
})
|
|
907
|
+
] })
|
|
908
|
+
}
|
|
909
|
+
});
|
|
910
|
+
}
|
|
911
|
+
var X = {
|
|
912
|
+
ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
|
|
913
|
+
List: "_List_nutvc_13",
|
|
914
|
+
Item: "_Item_nutvc_23"
|
|
915
|
+
};
|
|
916
|
+
//#endregion
|
|
917
|
+
//#region src/website/service-card-grid.tsx
|
|
918
|
+
function De({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
919
|
+
let s = o.toArray(i);
|
|
920
|
+
return e({
|
|
921
|
+
render: t,
|
|
922
|
+
ref: n,
|
|
923
|
+
defaultTagName: "div",
|
|
924
|
+
props: {
|
|
925
|
+
...a,
|
|
926
|
+
className: A(X.ServiceCardGrid, r)({}),
|
|
927
|
+
children: /* @__PURE__ */ O("ul", {
|
|
928
|
+
className: X.List,
|
|
929
|
+
"data-count": s.length,
|
|
930
|
+
children: s.map((e, t) => /* @__PURE__ */ O("li", {
|
|
931
|
+
className: X.Item,
|
|
932
|
+
children: e
|
|
933
|
+
}, t))
|
|
934
|
+
})
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
}
|
|
938
|
+
var Z = {
|
|
939
|
+
SplitContent: "_SplitContent_16c8f_11",
|
|
940
|
+
Grid: "_Grid_16c8f_19",
|
|
941
|
+
Text: "_Text_16c8f_26",
|
|
942
|
+
Title: "_Title_16c8f_33",
|
|
943
|
+
Description: "_Description_16c8f_42",
|
|
944
|
+
Media: "_Media_16c8f_58",
|
|
945
|
+
Image: "_Image_16c8f_67",
|
|
946
|
+
Actions: "_Actions_16c8f_75",
|
|
947
|
+
Price: "_Price_16c8f_82"
|
|
948
|
+
};
|
|
949
|
+
//#endregion
|
|
950
|
+
//#region src/website/split-content.tsx
|
|
951
|
+
function Oe({ title: t, titleRender: n, text: r, src: i, alt: a, imageRender: o, imagePosition: s = "end", action: c, priceExample: l, render: u, ref: d, className: f, ...p }) {
|
|
952
|
+
let m = e({
|
|
953
|
+
render: n,
|
|
954
|
+
defaultTagName: "h2",
|
|
955
|
+
props: {
|
|
956
|
+
className: Z.Title,
|
|
957
|
+
children: t
|
|
958
|
+
}
|
|
959
|
+
}), h = e({
|
|
960
|
+
enabled: i != null,
|
|
961
|
+
render: o,
|
|
962
|
+
defaultTagName: "img",
|
|
963
|
+
props: {
|
|
964
|
+
src: i,
|
|
965
|
+
alt: a,
|
|
966
|
+
className: Z.Image
|
|
967
|
+
}
|
|
968
|
+
});
|
|
969
|
+
return e({
|
|
970
|
+
render: u,
|
|
971
|
+
ref: d,
|
|
972
|
+
defaultTagName: "div",
|
|
973
|
+
props: {
|
|
974
|
+
...p,
|
|
975
|
+
"data-image-position": s,
|
|
976
|
+
"data-has-image": h != null || void 0,
|
|
977
|
+
className: A(Z.SplitContent, f)({}),
|
|
978
|
+
children: /* @__PURE__ */ k(D, { children: [/* @__PURE__ */ k("div", {
|
|
979
|
+
className: Z.Grid,
|
|
980
|
+
children: [/* @__PURE__ */ k("div", {
|
|
981
|
+
className: Z.Text,
|
|
982
|
+
children: [m, r != null && /* @__PURE__ */ O(I, {
|
|
983
|
+
className: Z.Description,
|
|
984
|
+
children: r
|
|
985
|
+
})]
|
|
986
|
+
}), h != null && /* @__PURE__ */ O("div", {
|
|
987
|
+
className: Z.Media,
|
|
988
|
+
children: h
|
|
989
|
+
})]
|
|
990
|
+
}), (c != null || l != null) && /* @__PURE__ */ k("div", {
|
|
991
|
+
className: Z.Actions,
|
|
992
|
+
children: [c, l != null && /* @__PURE__ */ O("p", {
|
|
993
|
+
className: Z.Price,
|
|
994
|
+
children: l
|
|
995
|
+
})]
|
|
996
|
+
})] })
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
var Q = {
|
|
1001
|
+
Stats: "_Stats_1o0ef_16",
|
|
1002
|
+
List: "_List_1o0ef_25",
|
|
1003
|
+
Bar: "_Bar_1o0ef_33",
|
|
1004
|
+
Stat: "_Stat_1o0ef_16",
|
|
1005
|
+
Number: "_Number_1o0ef_59",
|
|
1006
|
+
Labels: "_Labels_1o0ef_69",
|
|
1007
|
+
Title: "_Title_1o0ef_77",
|
|
1008
|
+
Text: "_Text_1o0ef_85",
|
|
1009
|
+
Actions: "_Actions_1o0ef_95",
|
|
1010
|
+
Price: "_Price_1o0ef_103"
|
|
1011
|
+
};
|
|
1012
|
+
//#endregion
|
|
1013
|
+
//#region src/website/stats.tsx
|
|
1014
|
+
function ke({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: c, className: l, ...u }) {
|
|
1015
|
+
return e({
|
|
1016
|
+
render: o,
|
|
1017
|
+
ref: c,
|
|
1018
|
+
defaultTagName: "div",
|
|
1019
|
+
props: {
|
|
1020
|
+
...u,
|
|
1021
|
+
className: A(Q.Stats, l)({}),
|
|
1022
|
+
children: /* @__PURE__ */ k(D, { children: [
|
|
1023
|
+
t,
|
|
1024
|
+
/* @__PURE__ */ k("ul", {
|
|
1025
|
+
className: Q.List,
|
|
1026
|
+
children: [n.map((e, t) => /* @__PURE__ */ k(s, { children: [/* @__PURE__ */ O("li", {
|
|
1027
|
+
"aria-hidden": !0,
|
|
1028
|
+
className: Q.Bar
|
|
1029
|
+
}), /* @__PURE__ */ O(Ae, {
|
|
1030
|
+
...e,
|
|
1031
|
+
titleRender: r
|
|
1032
|
+
})] }, t)), /* @__PURE__ */ O("li", {
|
|
1033
|
+
"aria-hidden": !0,
|
|
1034
|
+
className: Q.Bar
|
|
1035
|
+
})]
|
|
1036
|
+
}),
|
|
1037
|
+
(i != null || a != null) && /* @__PURE__ */ k("div", {
|
|
1038
|
+
className: Q.Actions,
|
|
1039
|
+
children: [i, a != null && /* @__PURE__ */ O("p", {
|
|
1040
|
+
className: Q.Price,
|
|
1041
|
+
children: a
|
|
1042
|
+
})]
|
|
1043
|
+
})
|
|
1044
|
+
] })
|
|
1045
|
+
}
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
function Ae({ number: t, title: n, text: r, titleRender: i }) {
|
|
1049
|
+
let a = e({
|
|
1050
|
+
enabled: n != null,
|
|
1051
|
+
render: i,
|
|
1052
|
+
defaultTagName: "h3",
|
|
1053
|
+
props: {
|
|
1054
|
+
className: Q.Title,
|
|
1055
|
+
children: n
|
|
1056
|
+
}
|
|
1057
|
+
});
|
|
1058
|
+
return /* @__PURE__ */ k("li", {
|
|
1059
|
+
className: Q.Stat,
|
|
1060
|
+
children: [/* @__PURE__ */ O("p", {
|
|
1061
|
+
className: Q.Number,
|
|
1062
|
+
children: t
|
|
1063
|
+
}), (a != null || r != null) && /* @__PURE__ */ k("div", {
|
|
1064
|
+
className: Q.Labels,
|
|
1065
|
+
children: [a, r != null && /* @__PURE__ */ O("p", {
|
|
1066
|
+
className: Q.Text,
|
|
1067
|
+
children: r
|
|
1068
|
+
})]
|
|
1069
|
+
})]
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
var $ = {
|
|
1073
|
+
Testimonials: "_Testimonials_13hpt_11",
|
|
1074
|
+
Featured: "_Featured_13hpt_18",
|
|
1075
|
+
Video: "_Video_13hpt_31",
|
|
1076
|
+
Quote: "_Quote_13hpt_36",
|
|
1077
|
+
Blockquote: "_Blockquote_13hpt_44",
|
|
1078
|
+
Person: "_Person_13hpt_72",
|
|
1079
|
+
Name: "_Name_13hpt_81",
|
|
1080
|
+
Meta: "_Meta_13hpt_88",
|
|
1081
|
+
Still: "_Still_13hpt_124",
|
|
1082
|
+
Play: "_Play_13hpt_133",
|
|
1083
|
+
DialogViewport: "_DialogViewport_13hpt_143",
|
|
1084
|
+
DialogPopup: "_DialogPopup_13hpt_143",
|
|
1085
|
+
DialogVideo: "_DialogVideo_13hpt_149",
|
|
1086
|
+
Close: "_Close_13hpt_157"
|
|
1087
|
+
}, je = E({
|
|
1088
|
+
reviews: {
|
|
1089
|
+
no: "Kundeomtaler",
|
|
1090
|
+
se: "Kundomdömen",
|
|
1091
|
+
fi: "Asiakasarviot",
|
|
1092
|
+
es: "Opiniones de clientes"
|
|
1093
|
+
},
|
|
1094
|
+
play: {
|
|
1095
|
+
no: "Spill av video",
|
|
1096
|
+
se: "Spela upp video",
|
|
1097
|
+
fi: "Toista video",
|
|
1098
|
+
es: "Reproducir vídeo"
|
|
1099
|
+
},
|
|
1100
|
+
video: {
|
|
1101
|
+
no: "Video fra kunde",
|
|
1102
|
+
se: "Video från kund",
|
|
1103
|
+
fi: "Asiakkaan video",
|
|
1104
|
+
es: "Vídeo de un cliente"
|
|
1105
|
+
},
|
|
1106
|
+
close: {
|
|
1107
|
+
no: "Lukk video",
|
|
1108
|
+
se: "Stäng video",
|
|
1109
|
+
fi: "Sulje video",
|
|
1110
|
+
es: "Cerrar vídeo"
|
|
1111
|
+
},
|
|
1112
|
+
captionsLanguage: {
|
|
1113
|
+
no: "nb",
|
|
1114
|
+
se: "sv",
|
|
1115
|
+
fi: "fi",
|
|
1116
|
+
es: "es"
|
|
1117
|
+
},
|
|
1118
|
+
captionsLabel: {
|
|
1119
|
+
no: "Norsk",
|
|
1120
|
+
se: "Svenska",
|
|
1121
|
+
fi: "Suomi",
|
|
1122
|
+
es: "Español"
|
|
1123
|
+
}
|
|
1124
|
+
});
|
|
1125
|
+
//#endregion
|
|
1126
|
+
//#region src/website/testimonials.tsx
|
|
1127
|
+
function Me({ title: t, titleRender: n, subtitle: r, quote: s, name: l, meta: u, rating: d, videoSrc: f, videoPoster: p, videoCaptions: h, videoPosition: g = "start", render: _, ref: v, className: y, children: x, ...C }) {
|
|
1128
|
+
let w = je(), T = m(), E = s != null || l != null, j = o.toArray(x).length > 0;
|
|
1129
|
+
return e({
|
|
1130
|
+
render: _,
|
|
1131
|
+
ref: v,
|
|
1132
|
+
defaultTagName: "div",
|
|
1133
|
+
props: {
|
|
1134
|
+
...C,
|
|
1135
|
+
className: A($.Testimonials, y)({}),
|
|
1136
|
+
children: /* @__PURE__ */ k(D, { children: [
|
|
1137
|
+
t != null && /* @__PURE__ */ O(Y, {
|
|
1138
|
+
title: t,
|
|
1139
|
+
titleRender: c(n ?? /* @__PURE__ */ O("h2", {}), { id: T }),
|
|
1140
|
+
subtitle: r
|
|
1141
|
+
}),
|
|
1142
|
+
(E || f != null) && /* @__PURE__ */ k("div", {
|
|
1143
|
+
className: $.Featured,
|
|
1144
|
+
"data-video": f != null || void 0,
|
|
1145
|
+
"data-video-position": g,
|
|
1146
|
+
children: [E && /* @__PURE__ */ k("figure", {
|
|
1147
|
+
className: $.Quote,
|
|
1148
|
+
children: [
|
|
1149
|
+
d != null && /* @__PURE__ */ O(ee, { rating: d }),
|
|
1150
|
+
s != null && /* @__PURE__ */ O("blockquote", {
|
|
1151
|
+
className: $.Blockquote,
|
|
1152
|
+
children: typeof s == "string" || typeof s == "number" ? /* @__PURE__ */ O("p", { children: s }) : s
|
|
1153
|
+
}),
|
|
1154
|
+
(l != null || u != null) && /* @__PURE__ */ k("figcaption", {
|
|
1155
|
+
className: $.Person,
|
|
1156
|
+
children: [l != null && /* @__PURE__ */ O("span", {
|
|
1157
|
+
className: $.Name,
|
|
1158
|
+
children: l
|
|
1159
|
+
}), u != null && /* @__PURE__ */ O("span", {
|
|
1160
|
+
className: $.Meta,
|
|
1161
|
+
children: u
|
|
1162
|
+
})]
|
|
1163
|
+
})
|
|
1164
|
+
]
|
|
1165
|
+
}), f != null && /* @__PURE__ */ k("div", {
|
|
1166
|
+
className: $.Video,
|
|
1167
|
+
children: [p == null ? /* @__PURE__ */ O("video", {
|
|
1168
|
+
className: $.Still,
|
|
1169
|
+
src: `${f}#t=0.1`,
|
|
1170
|
+
preload: "metadata",
|
|
1171
|
+
muted: !0,
|
|
1172
|
+
playsInline: !0,
|
|
1173
|
+
"aria-hidden": !0,
|
|
1174
|
+
tabIndex: -1
|
|
1175
|
+
}) : /* @__PURE__ */ O("img", {
|
|
1176
|
+
className: $.Still,
|
|
1177
|
+
src: p,
|
|
1178
|
+
alt: ""
|
|
1179
|
+
}), /* @__PURE__ */ k(b.Root, { children: [/* @__PURE__ */ O(b.Trigger, { render: /* @__PURE__ */ O(S, {
|
|
1180
|
+
variant: "elevated",
|
|
1181
|
+
color: "secondary",
|
|
1182
|
+
"aria-label": w.play,
|
|
1183
|
+
className: $.Play,
|
|
1184
|
+
children: /* @__PURE__ */ O(i, { "aria-hidden": !0 })
|
|
1185
|
+
}) }), /* @__PURE__ */ k(b.Portal, { children: [/* @__PURE__ */ O(b.Backdrop, {}), /* @__PURE__ */ O(b.Viewport, {
|
|
1186
|
+
className: $.DialogViewport,
|
|
1187
|
+
children: /* @__PURE__ */ k(b.Popup, {
|
|
1188
|
+
size: "lg",
|
|
1189
|
+
"aria-label": w.video,
|
|
1190
|
+
className: $.DialogPopup,
|
|
1191
|
+
children: [/* @__PURE__ */ O(b.Close, { render: /* @__PURE__ */ O(S, {
|
|
1192
|
+
variant: "elevated",
|
|
1193
|
+
color: "secondary",
|
|
1194
|
+
"aria-label": w.close,
|
|
1195
|
+
className: $.Close,
|
|
1196
|
+
children: /* @__PURE__ */ O(a, { "aria-hidden": !0 })
|
|
1197
|
+
}) }), /* @__PURE__ */ O("video", {
|
|
1198
|
+
className: $.DialogVideo,
|
|
1199
|
+
src: f,
|
|
1200
|
+
controls: !0,
|
|
1201
|
+
autoPlay: !0,
|
|
1202
|
+
playsInline: !0,
|
|
1203
|
+
children: h != null && /* @__PURE__ */ O("track", {
|
|
1204
|
+
kind: "captions",
|
|
1205
|
+
src: h,
|
|
1206
|
+
srcLang: w.captionsLanguage,
|
|
1207
|
+
label: w.captionsLabel,
|
|
1208
|
+
default: !0
|
|
1209
|
+
})
|
|
1210
|
+
})]
|
|
1211
|
+
})
|
|
1212
|
+
})] })] })]
|
|
1213
|
+
})]
|
|
1214
|
+
}),
|
|
1215
|
+
j && /* @__PURE__ */ O(P, {
|
|
1216
|
+
...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
|
|
1217
|
+
children: x
|
|
1218
|
+
})
|
|
1219
|
+
] })
|
|
1220
|
+
}
|
|
1221
|
+
});
|
|
1222
|
+
}
|
|
1223
|
+
//#endregion
|
|
1224
|
+
export { ie as BrandLetters, ae as Calculator, P as Carousel, ue as CtaBanner, he as ExpandingCards, ge as ExpandingCardsItem, _e as Hero, ve as HeroServiceGrid, ye as NavigationGrid, xe as PartnerList, Se as PaymentFeature, we as PromoGrid, Ee as Section, Y as SectionHeader, De as ServiceCardGrid, Oe as SplitContent, ke as Stats, Me as Testimonials };
|
|
1225
|
+
|
|
1226
|
+
//# sourceMappingURL=website.mjs.map
|