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