@leabankab/component-library 8.9.0 → 8.9.1
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 +9 -0
- package/dist/component-library.es.js +715 -713
- 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 → action-button/action-button.d.ts} +1 -1
- package/dist/components/buttons/{button.d.ts → button/button.d.ts} +2 -2
- package/dist/components/buttons/{close-button.d.ts → close-button/close-button.d.ts} +1 -1
- package/dist/components/buttons/{download-trigger.d.ts → download-trigger/download-trigger.d.ts} +2 -2
- package/dist/components/buttons/{icon-button.d.ts → icon-button/icon-button.d.ts} +1 -1
- package/dist/components/buttons/index.d.ts +6 -6
- package/dist/components/buttons/{skip-link.d.ts → skip-link/skip-link.d.ts} +1 -1
- package/dist/components/data-display/{card.d.ts → card/card.d.ts} +1 -1
- package/dist/components/data-display/{chip.d.ts → chip/chip.d.ts} +1 -1
- package/dist/components/data-display/index.d.ts +17 -16
- package/dist/components/data-display/{link-card.d.ts → link-card/link-card.d.ts} +1 -1
- package/dist/components/data-display/{media-card.d.ts → media-card/media-card.d.ts} +1 -1
- package/dist/components/data-display/{service-card.d.ts → service-card/service-card.d.ts} +1 -1
- package/dist/components/feedback/{alert.d.ts → alert/alert.d.ts} +2 -2
- package/dist/components/feedback/{global-alert.d.ts → global-alert/global-alert.d.ts} +1 -1
- package/dist/components/feedback/index.d.ts +8 -8
- package/dist/components/feedback/{toast.d.ts → toast/toast.d.ts} +1 -1
- package/dist/components/form/{autocomplete.d.ts → autocomplete/autocomplete.d.ts} +2 -2
- package/dist/components/form/{email-input.d.ts → email-input/email-input.d.ts} +1 -1
- package/dist/components/form/index.d.ts +12 -12
- package/dist/components/form/{multi-select.d.ts → multi-select/multi-select.d.ts} +1 -1
- package/dist/components/form/{number-input-unit.d.ts → number-input/number-input-unit.d.ts} +2 -2
- package/dist/components/form/{radio.d.ts → radio/radio.d.ts} +2 -2
- package/dist/components/form/{radio-card.d.ts → radio-card/radio-card.d.ts} +3 -3
- package/dist/components/form/{select.d.ts → select/select.d.ts} +1 -1
- package/dist/components/form/{slider.d.ts → slider/slider.d.ts} +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/layout/{container.d.ts → container/container.d.ts} +1 -1
- package/dist/components/layout/{grid.d.ts → grid/grid.d.ts} +2 -2
- package/dist/components/layout/index.d.ts +3 -3
- package/dist/components/layout/{stack.d.ts → stack/stack.d.ts} +2 -2
- package/dist/components/navigation/{form-stepper.d.ts → form-stepper/form-stepper.d.ts} +2 -2
- package/dist/components/navigation/index.d.ts +9 -8
- package/dist/components/navigation/{linear-form-stepper.d.ts → linear-form-stepper/linear-form-stepper.d.ts} +2 -2
- package/dist/components/navigation/{progress-circle.d.ts → progress-circle/progress-circle.d.ts} +1 -1
- package/dist/components/navigation/{tabs.d.ts → tabs/tabs.d.ts} +1 -1
- package/dist/components/surfaces/index.d.ts +3 -3
- package/dist/components/typography/index.d.ts +3 -3
- package/dist/components/typography/{link.d.ts → link/link.d.ts} +1 -1
- package/dist/components/typography/{text.d.ts → text/text.d.ts} +4 -4
- package/dist/cookie-consent-react.cjs.map +1 -1
- package/dist/cookie-consent-react.mjs +3 -3
- package/dist/cookie-consent-react.mjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/utils/{formatDecimalString.d.ts → format-decimal-string.d.ts} +1 -1
- package/dist/utils/index.d.ts +5 -5
- package/dist/website/{use-carousel.d.ts → carousel/use-carousel.d.ts} +3 -1
- package/dist/website/{expanding-cards-item.d.ts → expanding-cards/expanding-cards-item.d.ts} +1 -1
- package/dist/website/index.d.ts +25 -25
- package/dist/website/{payment-feature.d.ts → payment-feature/payment-feature.d.ts} +1 -1
- package/dist/website/{section.d.ts → section/section.d.ts} +1 -1
- package/dist/website/{side-nav.d.ts → side-nav/side-nav.d.ts} +1 -1
- package/dist/website/{site-footer.d.ts → site-footer/site-footer.d.ts} +1 -1
- package/dist/website/site-header-link.d.ts +1 -1
- package/dist/website.cjs +1 -1
- package/dist/website.cjs.map +1 -1
- package/dist/website.mjs +317 -272
- package/dist/website.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/components/ui/index.d.ts +0 -2
- /package/dist/components/buttons/{use-download-labels.d.ts → download-trigger/use-download-labels.d.ts} +0 -0
- /package/dist/components/data-display/{article-card.d.ts → article-card/article-card.d.ts} +0 -0
- /package/dist/components/data-display/{avatar.d.ts → avatar/avatar.d.ts} +0 -0
- /package/dist/components/{ui → data-display/brand-divider}/brand-divider.d.ts +0 -0
- /package/dist/components/data-display/{use-chip-labels.d.ts → chip/use-chip-labels.d.ts} +0 -0
- /package/dist/components/data-display/{data-field.d.ts → data-field/data-field.d.ts} +0 -0
- /package/dist/components/data-display/{featured-image.d.ts → featured-image/featured-image.d.ts} +0 -0
- /package/dist/components/data-display/{arrow-circle.d.ts → link-card/arrow-circle.d.ts} +0 -0
- /package/dist/components/data-display/{partner-row.d.ts → partner-row/partner-row.d.ts} +0 -0
- /package/dist/components/data-display/{rich-text.d.ts → rich-text/rich-text.d.ts} +0 -0
- /package/dist/components/data-display/{star-rating.d.ts → star-rating/star-rating.d.ts} +0 -0
- /package/dist/components/data-display/{use-star-rating-labels.d.ts → star-rating/use-star-rating-labels.d.ts} +0 -0
- /package/dist/components/data-display/{table.d.ts → table/table.d.ts} +0 -0
- /package/dist/components/data-display/{testimonial-card.d.ts → testimonial-card/testimonial-card.d.ts} +0 -0
- /package/dist/components/data-display/{tooltip.d.ts → tooltip/tooltip.d.ts} +0 -0
- /package/dist/components/data-display/{use-video-player-labels.d.ts → video-player/use-video-player-labels.d.ts} +0 -0
- /package/dist/components/data-display/{video-player.d.ts → video-player/video-player.d.ts} +0 -0
- /package/dist/components/feedback/{dialog.d.ts → dialog/dialog.d.ts} +0 -0
- /package/dist/components/feedback/{simple-dialog.d.ts → dialog/simple-dialog.d.ts} +0 -0
- /package/dist/components/feedback/{drawer.d.ts → drawer/drawer.d.ts} +0 -0
- /package/dist/components/feedback/{simple-drawer.d.ts → drawer/simple-drawer.d.ts} +0 -0
- /package/dist/components/feedback/{skeleton.d.ts → skeleton/skeleton.d.ts} +0 -0
- /package/dist/components/form/{amount-slider.d.ts → amount-slider/amount-slider.d.ts} +0 -0
- /package/dist/components/form/{checkbox.d.ts → checkbox/checkbox.d.ts} +0 -0
- /package/dist/components/form/{input.d.ts → input/input.d.ts} +0 -0
- /package/dist/components/form/{number-input.d.ts → number-input/number-input.d.ts} +0 -0
- /package/dist/components/form/{switch.d.ts → switch/switch.d.ts} +0 -0
- /package/dist/components/{ui → navigation/app-header}/app-header.d.ts +0 -0
- /package/dist/components/navigation/{breadcrumbs.d.ts → breadcrumbs/breadcrumbs.d.ts} +0 -0
- /package/dist/components/navigation/{use-breadcrumbs-labels.d.ts → breadcrumbs/use-breadcrumbs-labels.d.ts} +0 -0
- /package/dist/components/navigation/{step-progress.d.ts → linear-form-stepper/step-progress.d.ts} +0 -0
- /package/dist/components/navigation/{pagination.d.ts → pagination/pagination.d.ts} +0 -0
- /package/dist/components/navigation/{pagination-dots.d.ts → pagination-dots/pagination-dots.d.ts} +0 -0
- /package/dist/components/surfaces/{accordion.d.ts → accordion/accordion.d.ts} +0 -0
- /package/dist/components/surfaces/{simple-accordion.d.ts → accordion/simple-accordion.d.ts} +0 -0
- /package/dist/components/surfaces/{panel.d.ts → panel/panel.d.ts} +0 -0
- /package/dist/components/typography/{lists.d.ts → lists/lists.d.ts} +0 -0
- /package/dist/utils/{downloadFile.d.ts → download-file.d.ts} +0 -0
- /package/dist/utils/{formatDecimal.d.ts → format-decimal.d.ts} +0 -0
- /package/dist/utils/{formatPercentage.d.ts → format-percentage.d.ts} +0 -0
- /package/dist/utils/{parseExpirationDate.d.ts → parse-expiration-date.d.ts} +0 -0
- /package/dist/website/{alert-banner.d.ts → alert-banner/alert-banner.d.ts} +0 -0
- /package/dist/website/{brand-letters.d.ts → brand-letters/brand-letters.d.ts} +0 -0
- /package/dist/website/{use-brand-letters-labels.d.ts → brand-letters/use-brand-letters-labels.d.ts} +0 -0
- /package/dist/website/{calculator.d.ts → calculator/calculator.d.ts} +0 -0
- /package/dist/website/{carousel.d.ts → carousel/carousel.d.ts} +0 -0
- /package/dist/website/{use-carousel-labels.d.ts → carousel/use-carousel-labels.d.ts} +0 -0
- /package/dist/website/{cta-banner.d.ts → cta-banner/cta-banner.d.ts} +0 -0
- /package/dist/website/{expanding-cards-context.d.ts → expanding-cards/expanding-cards-context.d.ts} +0 -0
- /package/dist/website/{expanding-cards.d.ts → expanding-cards/expanding-cards.d.ts} +0 -0
- /package/dist/website/{hero.d.ts → hero/hero.d.ts} +0 -0
- /package/dist/website/{hero-service-grid.d.ts → hero-service-grid/hero-service-grid.d.ts} +0 -0
- /package/dist/website/{navigation-grid.d.ts → navigation-grid/navigation-grid.d.ts} +0 -0
- /package/dist/website/{partner-list.d.ts → partner-list/partner-list.d.ts} +0 -0
- /package/dist/website/{use-partner-list-labels.d.ts → partner-list/use-partner-list-labels.d.ts} +0 -0
- /package/dist/website/{promo-grid.d.ts → promo-grid/promo-grid.d.ts} +0 -0
- /package/dist/website/{section-header.d.ts → section-header/section-header.d.ts} +0 -0
- /package/dist/website/{service-card-grid.d.ts → service-card-grid/service-card-grid.d.ts} +0 -0
- /package/dist/website/{use-side-nav-labels.d.ts → side-nav/use-side-nav-labels.d.ts} +0 -0
- /package/dist/website/{flags.d.ts → site-footer/flags.d.ts} +0 -0
- /package/dist/website/{use-site-footer-labels.d.ts → site-footer/use-site-footer-labels.d.ts} +0 -0
- /package/dist/website/{site-header-menu.d.ts → site-header/site-header-menu.d.ts} +0 -0
- /package/dist/website/{site-header.d.ts → site-header/site-header.d.ts} +0 -0
- /package/dist/website/{split-content.d.ts → split-content/split-content.d.ts} +0 -0
- /package/dist/website/{stats.d.ts → stats/stats.d.ts} +0 -0
- /package/dist/website/{testimonials.d.ts → testimonials/testimonials.d.ts} +0 -0
- /package/dist/website/{use-testimonials-labels.d.ts → testimonials/use-testimonials-labels.d.ts} +0 -0
package/dist/website.mjs
CHANGED
|
@@ -23,7 +23,7 @@ var M = {
|
|
|
23
23
|
Text: "_Text_vmi8l_47"
|
|
24
24
|
};
|
|
25
25
|
//#endregion
|
|
26
|
-
//#region src/website/alert-banner.tsx
|
|
26
|
+
//#region src/website/alert-banner/alert-banner.tsx
|
|
27
27
|
function de({ render: t, children: n }) {
|
|
28
28
|
return e({
|
|
29
29
|
render: t,
|
|
@@ -57,12 +57,12 @@ function fe({ title: e, text: t, titleRender: n, icon: r, className: i, ...a })
|
|
|
57
57
|
}
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/utils/merge-class-name.ts
|
|
60
|
-
var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "),
|
|
60
|
+
var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).join(" "), pe = {
|
|
61
61
|
BrandLetters: "_BrandLetters_1ygg1_9",
|
|
62
62
|
Letters: "_Letters_1ygg1_17",
|
|
63
63
|
Letter: "_Letter_1ygg1_17",
|
|
64
64
|
Video: "_Video_1ygg1_48"
|
|
65
|
-
},
|
|
65
|
+
}, me = O({
|
|
66
66
|
play: {
|
|
67
67
|
no: "Spill av videoene",
|
|
68
68
|
se: "Spela upp videorna",
|
|
@@ -75,19 +75,19 @@ var N = (e, t) => (n) => [e, typeof t == "function" ? t(n) : t].filter(Boolean).
|
|
|
75
75
|
fi: "Keskeytä videot",
|
|
76
76
|
es: "Pausar los vídeos"
|
|
77
77
|
}
|
|
78
|
-
}),
|
|
78
|
+
}), he = "(prefers-reduced-motion: reduce)", ge = [
|
|
79
79
|
"L",
|
|
80
80
|
"E",
|
|
81
81
|
"A"
|
|
82
82
|
];
|
|
83
|
-
function
|
|
84
|
-
let o =
|
|
83
|
+
function _e({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
84
|
+
let o = me(), s = w([]), [u, d] = T(!1), h = (e) => {
|
|
85
85
|
for (let t of s.current) t && e(t);
|
|
86
86
|
}, g = (e) => {
|
|
87
87
|
e.muted = !0, e.play().catch(() => {});
|
|
88
88
|
};
|
|
89
89
|
S(() => {
|
|
90
|
-
let e = window.matchMedia(
|
|
90
|
+
let e = window.matchMedia(he);
|
|
91
91
|
e.matches || h(g);
|
|
92
92
|
let t = (e) => {
|
|
93
93
|
e.matches && h((e) => e.pause());
|
|
@@ -103,17 +103,17 @@ function ge({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
|
103
103
|
defaultTagName: "div",
|
|
104
104
|
props: {
|
|
105
105
|
...a,
|
|
106
|
-
className: N(
|
|
106
|
+
className: N(pe.BrandLetters, i)({}),
|
|
107
107
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
108
|
-
className:
|
|
109
|
-
children:
|
|
110
|
-
className:
|
|
108
|
+
className: pe.Letters,
|
|
109
|
+
children: ge.map((e, n) => /* @__PURE__ */ p("div", {
|
|
110
|
+
className: pe.Letter,
|
|
111
111
|
"data-letter": e,
|
|
112
112
|
children: /* @__PURE__ */ p("video", {
|
|
113
113
|
ref: (e) => {
|
|
114
114
|
s.current[n] = e;
|
|
115
115
|
},
|
|
116
|
-
className:
|
|
116
|
+
className: pe.Video,
|
|
117
117
|
src: t[n].src,
|
|
118
118
|
poster: t[n].poster,
|
|
119
119
|
muted: !0,
|
|
@@ -134,7 +134,7 @@ function ge({ videos: t, render: n, ref: r, className: i, ...a }) {
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var P = {
|
|
138
138
|
Calculator: "_Calculator_1mamd_12",
|
|
139
139
|
Body: "_Body_1mamd_26",
|
|
140
140
|
Panel: "_Panel_1mamd_41",
|
|
@@ -147,39 +147,39 @@ var F = {
|
|
|
147
147
|
Price: "_Price_1mamd_103"
|
|
148
148
|
};
|
|
149
149
|
//#endregion
|
|
150
|
-
//#region src/website/calculator.tsx
|
|
151
|
-
function
|
|
150
|
+
//#region src/website/calculator/calculator.tsx
|
|
151
|
+
function ve({ header: t, results: n, action: r, priceExample: i, render: a, ref: o, className: s, children: c, ...l }) {
|
|
152
152
|
return e({
|
|
153
153
|
render: a,
|
|
154
154
|
ref: o,
|
|
155
155
|
defaultTagName: "div",
|
|
156
156
|
props: {
|
|
157
157
|
...l,
|
|
158
|
-
className: N(
|
|
158
|
+
className: N(P.Calculator, s)({}),
|
|
159
159
|
children: /* @__PURE__ */ m(f, { children: [t, /* @__PURE__ */ m("div", {
|
|
160
|
-
className:
|
|
160
|
+
className: P.Body,
|
|
161
161
|
children: [/* @__PURE__ */ p("div", {
|
|
162
|
-
className:
|
|
162
|
+
className: P.Panel,
|
|
163
163
|
children: c
|
|
164
164
|
}), /* @__PURE__ */ m("div", {
|
|
165
|
-
className:
|
|
165
|
+
className: P.Summary,
|
|
166
166
|
children: [n.length > 0 && /* @__PURE__ */ p("dl", {
|
|
167
|
-
className:
|
|
167
|
+
className: P.Results,
|
|
168
168
|
"aria-live": "polite",
|
|
169
169
|
children: n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
170
|
-
className:
|
|
170
|
+
className: P.Result,
|
|
171
171
|
children: [/* @__PURE__ */ p("dt", {
|
|
172
|
-
className:
|
|
172
|
+
className: P.Label,
|
|
173
173
|
children: e.label
|
|
174
174
|
}), /* @__PURE__ */ p("dd", {
|
|
175
|
-
className:
|
|
175
|
+
className: P.Value,
|
|
176
176
|
children: e.value
|
|
177
177
|
})]
|
|
178
178
|
}, t))
|
|
179
179
|
}), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
180
|
-
className:
|
|
180
|
+
className: P.Actions,
|
|
181
181
|
children: [r, i != null && /* @__PURE__ */ p("p", {
|
|
182
|
-
className:
|
|
182
|
+
className: P.Price,
|
|
183
183
|
children: i
|
|
184
184
|
})]
|
|
185
185
|
})]
|
|
@@ -188,16 +188,28 @@ function _e({ header: t, results: n, action: r, priceExample: i, render: a, ref:
|
|
|
188
188
|
}
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var F = {
|
|
192
192
|
Carousel: "_Carousel_17a24_14",
|
|
193
193
|
Viewport: "_Viewport_17a24_31",
|
|
194
194
|
Track: "_Track_17a24_66",
|
|
195
195
|
Slide: "_Slide_17a24_94",
|
|
196
196
|
Controls: "_Controls_17a24_100",
|
|
197
197
|
VisuallyHidden: "_VisuallyHidden_17a24_109"
|
|
198
|
-
},
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
}, ye = {
|
|
199
|
+
fast: "0.15s",
|
|
200
|
+
normal: "0.2s",
|
|
201
|
+
emphasis: "0.3s"
|
|
202
|
+
}, be = "(prefers-reduced-motion: reduce)", xe = 150, Se = parseFloat(ye.emphasis) * 1e3;
|
|
203
|
+
function Ce(e) {
|
|
204
|
+
let t = (e, t, n) => 3 * t * e * (1 - e) ** 2 + 3 * n * e ** 2 * (1 - e) + e ** 3, n = 0, r = 1;
|
|
205
|
+
for (let i = 0; i < 20; i += 1) {
|
|
206
|
+
let i = (n + r) / 2;
|
|
207
|
+
t(i, .42, .58) < e ? n = i : r = i;
|
|
208
|
+
}
|
|
209
|
+
return t((n + r) / 2, 0, 1);
|
|
210
|
+
}
|
|
211
|
+
function we(e, t) {
|
|
212
|
+
let n = w([0]), r = w(void 0), i = w(void 0), [a, o] = T(() => ({
|
|
201
213
|
pageCount: Math.max(1, t - 1),
|
|
202
214
|
page: 0,
|
|
203
215
|
settledPage: 0,
|
|
@@ -205,66 +217,99 @@ function be(e, t) {
|
|
|
205
217
|
atEnd: t <= 2,
|
|
206
218
|
overflowing: t > 2,
|
|
207
219
|
moved: !1
|
|
208
|
-
})),
|
|
220
|
+
})), s = b((t, r = !1) => {
|
|
209
221
|
let i = e.current;
|
|
210
222
|
if (!i) return;
|
|
211
|
-
let
|
|
212
|
-
for (let e = 1; e < c.length; e += 1) Math.abs(c[e] -
|
|
213
|
-
|
|
223
|
+
let a = i.scrollLeft, s = Math.max(0, i.scrollWidth - i.clientWidth), c = n.current, l = 0;
|
|
224
|
+
for (let e = 1; e < c.length; e += 1) Math.abs(c[e] - a) < Math.abs(c[l] - a) && (l = e);
|
|
225
|
+
o((e) => {
|
|
214
226
|
let n = {
|
|
215
227
|
pageCount: c.length,
|
|
216
228
|
page: l,
|
|
217
229
|
settledPage: t ? l : e.settledPage,
|
|
218
|
-
atStart:
|
|
219
|
-
atEnd:
|
|
230
|
+
atStart: a <= 1,
|
|
231
|
+
atEnd: a >= s - 1,
|
|
220
232
|
overflowing: s > 1,
|
|
221
233
|
moved: e.moved || r
|
|
222
234
|
};
|
|
223
235
|
return Object.keys(n).every((t) => n[t] === e[t]) ? e : n;
|
|
224
236
|
});
|
|
225
|
-
}, [e]),
|
|
237
|
+
}, [e]), c = b(() => {
|
|
226
238
|
let t = e.current;
|
|
227
239
|
if (!t) return;
|
|
228
|
-
let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0,
|
|
240
|
+
let r = Math.max(0, t.scrollWidth - t.clientWidth), i = Array.from(t.children), a = i[0]?.offsetLeft ?? 0, o = [];
|
|
229
241
|
for (let e of i) {
|
|
230
242
|
let t = Math.min(Math.max(0, e.offsetLeft - a), r);
|
|
231
|
-
(
|
|
243
|
+
(o.length === 0 || t - o[o.length - 1] > 1) && o.push(t);
|
|
232
244
|
}
|
|
233
|
-
n.current =
|
|
234
|
-
}, [
|
|
245
|
+
n.current = o.length > 0 ? o : [0], s(!0);
|
|
246
|
+
}, [s, e]), l = b(() => {
|
|
247
|
+
i.current && (cancelAnimationFrame(i.current.frame), i.current = void 0, e.current?.style.removeProperty("scroll-snap-type"));
|
|
248
|
+
}, [e]);
|
|
235
249
|
S(() => {
|
|
236
250
|
let t = e.current;
|
|
237
251
|
if (!t) return;
|
|
238
|
-
|
|
252
|
+
c();
|
|
239
253
|
let n = () => {
|
|
240
|
-
|
|
241
|
-
}, i = new ResizeObserver(
|
|
242
|
-
|
|
243
|
-
|
|
254
|
+
s(!1, !0), clearTimeout(r.current), r.current = setTimeout(() => s(!0), xe);
|
|
255
|
+
}, i = new ResizeObserver(c), a = [
|
|
256
|
+
"pointerdown",
|
|
257
|
+
"touchstart",
|
|
258
|
+
"wheel",
|
|
259
|
+
"keydown"
|
|
260
|
+
];
|
|
261
|
+
t.addEventListener("scroll", n, { passive: !0 });
|
|
262
|
+
for (let e of a) t.addEventListener(e, l, { passive: !0 });
|
|
263
|
+
return i.observe(t), () => {
|
|
264
|
+
t.removeEventListener("scroll", n);
|
|
265
|
+
for (let e of a) t.removeEventListener(e, l);
|
|
266
|
+
i.disconnect(), clearTimeout(r.current), l();
|
|
244
267
|
};
|
|
245
268
|
}, [
|
|
269
|
+
c,
|
|
246
270
|
s,
|
|
247
|
-
o,
|
|
248
271
|
t,
|
|
272
|
+
l,
|
|
249
273
|
e
|
|
250
274
|
]);
|
|
251
|
-
let
|
|
275
|
+
let u = b((t) => {
|
|
252
276
|
let r = e.current;
|
|
253
277
|
if (!r) return;
|
|
254
|
-
let
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
278
|
+
let a = n.current, o = a[Math.min(a.length - 1, Math.max(0, t))];
|
|
279
|
+
if (i.current?.to === o) return;
|
|
280
|
+
l();
|
|
281
|
+
let s = r.scrollLeft;
|
|
282
|
+
if (window.matchMedia(be).matches || Math.abs(o - s) < 1) {
|
|
283
|
+
r.scrollTo({
|
|
284
|
+
left: o,
|
|
285
|
+
behavior: "instant"
|
|
286
|
+
});
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
r.style.setProperty("scroll-snap-type", "none");
|
|
290
|
+
let c = performance.now(), u = (e) => {
|
|
291
|
+
let t = Math.min(1, (e - c) / Se);
|
|
292
|
+
r.scrollTo({
|
|
293
|
+
left: s + (o - s) * Ce(t),
|
|
294
|
+
behavior: "instant"
|
|
295
|
+
}), t < 1 ? i.current = {
|
|
296
|
+
frame: requestAnimationFrame(u),
|
|
297
|
+
to: o
|
|
298
|
+
} : (i.current = void 0, r.style.removeProperty("scroll-snap-type"));
|
|
299
|
+
};
|
|
300
|
+
i.current = {
|
|
301
|
+
frame: requestAnimationFrame(u),
|
|
302
|
+
to: o
|
|
303
|
+
};
|
|
304
|
+
}, [l, e]);
|
|
260
305
|
return {
|
|
261
|
-
...
|
|
262
|
-
goTo:
|
|
306
|
+
...a,
|
|
307
|
+
goTo: u
|
|
263
308
|
};
|
|
264
309
|
}
|
|
265
310
|
//#endregion
|
|
266
|
-
//#region src/website/use-carousel-labels.ts
|
|
267
|
-
var
|
|
311
|
+
//#region src/website/carousel/use-carousel-labels.ts
|
|
312
|
+
var Te = O({
|
|
268
313
|
carousel: {
|
|
269
314
|
no: "karusell",
|
|
270
315
|
se: "karusell",
|
|
@@ -291,9 +336,9 @@ var xe = O({
|
|
|
291
336
|
}
|
|
292
337
|
});
|
|
293
338
|
//#endregion
|
|
294
|
-
//#region src/website/carousel.tsx
|
|
295
|
-
function
|
|
296
|
-
let l =
|
|
339
|
+
//#region src/website/carousel/carousel.tsx
|
|
340
|
+
function Ee({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...c }) {
|
|
341
|
+
let l = Te(), u = w(null), d = h.toArray(s), { pageCount: g, page: _, settledPage: v, atStart: y, atEnd: b, overflowing: x, moved: S, goTo: C } = we(u, d.length);
|
|
297
342
|
return e({
|
|
298
343
|
render: n,
|
|
299
344
|
ref: r,
|
|
@@ -302,22 +347,22 @@ function Se({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
302
347
|
role: "region",
|
|
303
348
|
"aria-roledescription": l.carousel,
|
|
304
349
|
...c,
|
|
305
|
-
className: N(
|
|
350
|
+
className: N(F.Carousel, o)({}),
|
|
306
351
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
307
|
-
className:
|
|
352
|
+
className: F.Viewport,
|
|
308
353
|
"data-at-start": y || void 0,
|
|
309
354
|
"data-at-end": b || void 0,
|
|
310
355
|
children: /* @__PURE__ */ p("ul", {
|
|
311
356
|
ref: u,
|
|
312
|
-
className:
|
|
357
|
+
className: F.Track,
|
|
313
358
|
tabIndex: x ? 0 : void 0,
|
|
314
359
|
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
315
|
-
className:
|
|
360
|
+
className: F.Slide,
|
|
316
361
|
children: e
|
|
317
362
|
}, t))
|
|
318
363
|
})
|
|
319
364
|
}), g > 1 && /* @__PURE__ */ m("div", {
|
|
320
|
-
className:
|
|
365
|
+
className: F.Controls,
|
|
321
366
|
children: [
|
|
322
367
|
/* @__PURE__ */ p(D, {
|
|
323
368
|
variant: "elevated",
|
|
@@ -345,7 +390,7 @@ function Se({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
345
390
|
}),
|
|
346
391
|
/* @__PURE__ */ p("span", {
|
|
347
392
|
role: "status",
|
|
348
|
-
className:
|
|
393
|
+
className: F.VisuallyHidden,
|
|
349
394
|
children: S && l.status.replace("{page}", String(v + 1)).replace("{count}", String(g))
|
|
350
395
|
})
|
|
351
396
|
]
|
|
@@ -353,7 +398,7 @@ function Se({ getItemLabel: t, render: n, ref: r, className: o, children: s, ...
|
|
|
353
398
|
}
|
|
354
399
|
});
|
|
355
400
|
}
|
|
356
|
-
var
|
|
401
|
+
var I = {
|
|
357
402
|
CtaBanner: "_CtaBanner_vkp5c_7",
|
|
358
403
|
Title: "_Title_vkp5c_15",
|
|
359
404
|
Content: "_Content_vkp5c_24",
|
|
@@ -362,13 +407,13 @@ var L = {
|
|
|
362
407
|
Price: "_Price_vkp5c_53"
|
|
363
408
|
};
|
|
364
409
|
//#endregion
|
|
365
|
-
//#region src/website/cta-banner.tsx
|
|
366
|
-
function
|
|
410
|
+
//#region src/website/cta-banner/cta-banner.tsx
|
|
411
|
+
function De({ title: t, titleRender: n, text: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
367
412
|
let u = e({
|
|
368
413
|
render: n,
|
|
369
414
|
defaultTagName: "h2",
|
|
370
415
|
props: {
|
|
371
|
-
className:
|
|
416
|
+
className: I.Title,
|
|
372
417
|
children: t
|
|
373
418
|
}
|
|
374
419
|
}), d = r != null || i != null || a != null;
|
|
@@ -379,20 +424,20 @@ function Ce({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
379
424
|
props: {
|
|
380
425
|
...l,
|
|
381
426
|
"data-has-content": d || void 0,
|
|
382
|
-
className: N(
|
|
427
|
+
className: N(I.CtaBanner, c)({}),
|
|
383
428
|
children: /* @__PURE__ */ m(f, { children: [u, d && /* @__PURE__ */ m("div", {
|
|
384
|
-
className:
|
|
429
|
+
className: I.Content,
|
|
385
430
|
children: [
|
|
386
431
|
r != null && /* @__PURE__ */ p(j, {
|
|
387
|
-
className:
|
|
432
|
+
className: I.Text,
|
|
388
433
|
children: r
|
|
389
434
|
}),
|
|
390
435
|
i != null && /* @__PURE__ */ p("div", {
|
|
391
|
-
className:
|
|
436
|
+
className: I.Action,
|
|
392
437
|
children: i
|
|
393
438
|
}),
|
|
394
439
|
a != null && /* @__PURE__ */ p("p", {
|
|
395
|
-
className:
|
|
440
|
+
className: I.Price,
|
|
396
441
|
children: a
|
|
397
442
|
})
|
|
398
443
|
]
|
|
@@ -401,34 +446,34 @@ function Ce({ title: t, titleRender: n, text: r, action: i, priceExample: a, ren
|
|
|
401
446
|
});
|
|
402
447
|
}
|
|
403
448
|
//#endregion
|
|
404
|
-
//#region src/website/expanding-cards-context.ts
|
|
405
|
-
var
|
|
449
|
+
//#region src/website/expanding-cards/expanding-cards-context.ts
|
|
450
|
+
var Oe = v({ open: !0 }), ke = {
|
|
406
451
|
ExpandingCards: "_ExpandingCards_14pq8_19",
|
|
407
452
|
List: "_List_14pq8_23",
|
|
408
453
|
Item: "_Item_14pq8_32"
|
|
409
|
-
},
|
|
410
|
-
let t = window.matchMedia(
|
|
454
|
+
}, Ae = "(min-width: 1312px)", je = { open: !0 }, Me = { open: !1 }, Ne = (e) => {
|
|
455
|
+
let t = window.matchMedia(Ae);
|
|
411
456
|
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
|
|
412
|
-
},
|
|
413
|
-
function
|
|
414
|
-
let s = h.toArray(a), c =
|
|
457
|
+
}, Pe = () => te(Ne, () => window.matchMedia(Ae).matches, () => !0);
|
|
458
|
+
function Fe({ defaultOpen: t = "first", render: n, ref: r, className: i, children: a, ...o }) {
|
|
459
|
+
let s = h.toArray(a), c = Pe(), [l, u] = T(() => t === "last" ? Math.max(0, s.length - 1) : 0);
|
|
415
460
|
return e({
|
|
416
461
|
render: n,
|
|
417
462
|
ref: r,
|
|
418
463
|
defaultTagName: "div",
|
|
419
464
|
props: {
|
|
420
465
|
...o,
|
|
421
|
-
className: N(
|
|
466
|
+
className: N(ke.ExpandingCards, i)({}),
|
|
422
467
|
children: /* @__PURE__ */ p("ul", {
|
|
423
|
-
className:
|
|
468
|
+
className: ke.List,
|
|
424
469
|
style: { "--expanding-cards-count": s.length },
|
|
425
470
|
children: s.map((e, t) => /* @__PURE__ */ p("li", {
|
|
426
|
-
className:
|
|
471
|
+
className: ke.Item,
|
|
427
472
|
"data-open": t === l || void 0,
|
|
428
473
|
onPointerEnter: () => u(t),
|
|
429
474
|
onFocus: () => u(t),
|
|
430
|
-
children: /* @__PURE__ */ p(
|
|
431
|
-
value: !c || t === l ?
|
|
475
|
+
children: /* @__PURE__ */ p(Oe.Provider, {
|
|
476
|
+
value: !c || t === l ? je : Me,
|
|
432
477
|
children: e
|
|
433
478
|
})
|
|
434
479
|
}, t))
|
|
@@ -436,7 +481,7 @@ function je({ defaultOpen: t = "first", render: n, ref: r, className: i, childre
|
|
|
436
481
|
}
|
|
437
482
|
});
|
|
438
483
|
}
|
|
439
|
-
var
|
|
484
|
+
var L = {
|
|
440
485
|
ExpandingCardsItem: "_ExpandingCardsItem_1v7ai_17",
|
|
441
486
|
Content: "_Content_1v7ai_53",
|
|
442
487
|
Title: "_Title_1v7ai_70",
|
|
@@ -446,13 +491,13 @@ var R = {
|
|
|
446
491
|
Image: "_Image_1v7ai_117"
|
|
447
492
|
};
|
|
448
493
|
//#endregion
|
|
449
|
-
//#region src/website/expanding-cards-item.tsx
|
|
450
|
-
function
|
|
451
|
-
let { open: g } = x(
|
|
494
|
+
//#region src/website/expanding-cards/expanding-cards-item.tsx
|
|
495
|
+
function Ie({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imageRender: s, surface: c = "base", render: l, ref: u, className: d, ...h }) {
|
|
496
|
+
let { open: g } = x(Oe), v = e({
|
|
452
497
|
render: n,
|
|
453
498
|
defaultTagName: "h2",
|
|
454
499
|
props: {
|
|
455
|
-
className:
|
|
500
|
+
className: L.Title,
|
|
456
501
|
children: t
|
|
457
502
|
}
|
|
458
503
|
}), b = e({
|
|
@@ -462,7 +507,7 @@ function Me({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imag
|
|
|
462
507
|
props: {
|
|
463
508
|
src: a,
|
|
464
509
|
alt: o,
|
|
465
|
-
className:
|
|
510
|
+
className: L.Image
|
|
466
511
|
}
|
|
467
512
|
}), S = y(i) && i.type === ne ? _(i, { iconOnly: !g }) : i;
|
|
468
513
|
return e({
|
|
@@ -474,28 +519,28 @@ function Me({ title: t, titleRender: n, text: r, action: i, src: a, alt: o, imag
|
|
|
474
519
|
"data-surface": c,
|
|
475
520
|
"data-open": g || void 0,
|
|
476
521
|
"data-image": a != null || void 0,
|
|
477
|
-
className: N(
|
|
522
|
+
className: N(L.ExpandingCardsItem, d)({}),
|
|
478
523
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m("div", {
|
|
479
|
-
className:
|
|
524
|
+
className: L.Content,
|
|
480
525
|
children: [
|
|
481
526
|
v,
|
|
482
527
|
r != null && /* @__PURE__ */ p(j, {
|
|
483
|
-
className:
|
|
528
|
+
className: L.Text,
|
|
484
529
|
children: r
|
|
485
530
|
}),
|
|
486
531
|
i != null && /* @__PURE__ */ p("div", {
|
|
487
|
-
className:
|
|
532
|
+
className: L.Action,
|
|
488
533
|
children: S
|
|
489
534
|
})
|
|
490
535
|
]
|
|
491
536
|
}), b != null && /* @__PURE__ */ p("div", {
|
|
492
|
-
className:
|
|
537
|
+
className: L.Photo,
|
|
493
538
|
children: b
|
|
494
539
|
})] })
|
|
495
540
|
}
|
|
496
541
|
});
|
|
497
542
|
}
|
|
498
|
-
var
|
|
543
|
+
var R = {
|
|
499
544
|
Hero: "_Hero_1ik22_8",
|
|
500
545
|
Background: "_Background_1ik22_24",
|
|
501
546
|
Image: "_Image_1ik22_30",
|
|
@@ -507,13 +552,13 @@ var z = {
|
|
|
507
552
|
Price: "_Price_1ik22_80"
|
|
508
553
|
};
|
|
509
554
|
//#endregion
|
|
510
|
-
//#region src/website/hero.tsx
|
|
511
|
-
function
|
|
555
|
+
//#region src/website/hero/hero.tsx
|
|
556
|
+
function Le({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o, action: s, priceExample: c, render: l, ref: u, className: d, ...h }) {
|
|
512
557
|
let g = e({
|
|
513
558
|
render: a,
|
|
514
559
|
defaultTagName: "h1",
|
|
515
560
|
props: {
|
|
516
|
-
className:
|
|
561
|
+
className: R.Title,
|
|
517
562
|
children: i
|
|
518
563
|
}
|
|
519
564
|
}), _ = e({
|
|
@@ -522,7 +567,7 @@ function Ne({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
|
|
|
522
567
|
props: {
|
|
523
568
|
src: t,
|
|
524
569
|
alt: n,
|
|
525
|
-
className:
|
|
570
|
+
className: R.Image
|
|
526
571
|
}
|
|
527
572
|
});
|
|
528
573
|
return e({
|
|
@@ -531,43 +576,43 @@ function Ne({ src: t, alt: n, imageRender: r, title: i, titleRender: a, text: o,
|
|
|
531
576
|
defaultTagName: "section",
|
|
532
577
|
props: {
|
|
533
578
|
...h,
|
|
534
|
-
className: N(
|
|
579
|
+
className: N(R.Hero, d)({}),
|
|
535
580
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("div", {
|
|
536
|
-
className:
|
|
581
|
+
className: R.Container,
|
|
537
582
|
children: /* @__PURE__ */ m(oe, {
|
|
538
|
-
className:
|
|
583
|
+
className: R.Box,
|
|
539
584
|
children: [
|
|
540
585
|
g,
|
|
541
586
|
o != null && /* @__PURE__ */ p(j, {
|
|
542
|
-
className:
|
|
587
|
+
className: R.Text,
|
|
543
588
|
children: o
|
|
544
589
|
}),
|
|
545
590
|
s != null && /* @__PURE__ */ p("div", {
|
|
546
|
-
className:
|
|
591
|
+
className: R.Action,
|
|
547
592
|
children: s
|
|
548
593
|
}),
|
|
549
594
|
c != null && /* @__PURE__ */ p("p", {
|
|
550
|
-
className:
|
|
595
|
+
className: R.Price,
|
|
551
596
|
children: c
|
|
552
597
|
})
|
|
553
598
|
]
|
|
554
599
|
})
|
|
555
600
|
}), /* @__PURE__ */ p("div", {
|
|
556
|
-
className:
|
|
601
|
+
className: R.Background,
|
|
557
602
|
children: _
|
|
558
603
|
})] })
|
|
559
604
|
}
|
|
560
605
|
});
|
|
561
606
|
}
|
|
562
|
-
var
|
|
607
|
+
var z = {
|
|
563
608
|
HeroServiceGrid: "_HeroServiceGrid_yr3eo_8",
|
|
564
609
|
Cards: "_Cards_yr3eo_15",
|
|
565
610
|
Item: "_Item_yr3eo_26",
|
|
566
611
|
Featured: "_Featured_yr3eo_51"
|
|
567
612
|
};
|
|
568
613
|
//#endregion
|
|
569
|
-
//#region src/website/hero-service-grid.tsx
|
|
570
|
-
function
|
|
614
|
+
//#region src/website/hero-service-grid/hero-service-grid.tsx
|
|
615
|
+
function Re({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "start", render: o, ref: s, className: c, children: l, ...u }) {
|
|
571
616
|
let d = h.toArray(l);
|
|
572
617
|
return e({
|
|
573
618
|
render: o,
|
|
@@ -576,38 +621,38 @@ function Pe({ src: t, alt: n, imageRender: r, action: i, imagePosition: a = "sta
|
|
|
576
621
|
props: {
|
|
577
622
|
...u,
|
|
578
623
|
"data-image-position": a,
|
|
579
|
-
className: N(
|
|
624
|
+
className: N(z.HeroServiceGrid, c)({}),
|
|
580
625
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
|
|
581
|
-
className:
|
|
626
|
+
className: z.Featured,
|
|
582
627
|
src: t,
|
|
583
628
|
alt: n,
|
|
584
629
|
imageRender: r,
|
|
585
630
|
action: i
|
|
586
631
|
}), d.length > 0 && /* @__PURE__ */ p("ul", {
|
|
587
|
-
className:
|
|
632
|
+
className: z.Cards,
|
|
588
633
|
children: d.map((e, t) => /* @__PURE__ */ p("li", {
|
|
589
|
-
className:
|
|
634
|
+
className: z.Item,
|
|
590
635
|
children: e
|
|
591
636
|
}, t))
|
|
592
637
|
})] })
|
|
593
638
|
}
|
|
594
639
|
});
|
|
595
640
|
}
|
|
596
|
-
var
|
|
641
|
+
var B = {
|
|
597
642
|
NavigationGrid: "_NavigationGrid_ocatr_9",
|
|
598
643
|
Title: "_Title_ocatr_16",
|
|
599
644
|
List: "_List_ocatr_25",
|
|
600
645
|
Item: "_Item_ocatr_35"
|
|
601
646
|
};
|
|
602
647
|
//#endregion
|
|
603
|
-
//#region src/website/navigation-grid.tsx
|
|
604
|
-
function
|
|
648
|
+
//#region src/website/navigation-grid/navigation-grid.tsx
|
|
649
|
+
function ze({ title: t, titleRender: n, render: r, ref: i, className: a, children: o, ...s }) {
|
|
605
650
|
let c = h.toArray(o), l = c.length >= 3 && c.length % 2 == 1, u = e({
|
|
606
651
|
enabled: t != null,
|
|
607
652
|
render: n,
|
|
608
653
|
defaultTagName: "h2",
|
|
609
654
|
props: {
|
|
610
|
-
className:
|
|
655
|
+
className: B.Title,
|
|
611
656
|
children: t
|
|
612
657
|
}
|
|
613
658
|
});
|
|
@@ -617,24 +662,24 @@ function Fe({ title: t, titleRender: n, render: r, ref: i, className: a, childre
|
|
|
617
662
|
defaultTagName: "div",
|
|
618
663
|
props: {
|
|
619
664
|
...s,
|
|
620
|
-
className: N(
|
|
665
|
+
className: N(B.NavigationGrid, a)({}),
|
|
621
666
|
children: /* @__PURE__ */ m(f, { children: [u, /* @__PURE__ */ p("ul", {
|
|
622
|
-
className:
|
|
667
|
+
className: B.List,
|
|
623
668
|
"data-odd": l || void 0,
|
|
624
669
|
children: c.map((e, t) => /* @__PURE__ */ p("li", {
|
|
625
|
-
className:
|
|
670
|
+
className: B.Item,
|
|
626
671
|
children: e
|
|
627
672
|
}, t))
|
|
628
673
|
})] })
|
|
629
674
|
}
|
|
630
675
|
});
|
|
631
676
|
}
|
|
632
|
-
var
|
|
677
|
+
var V = {
|
|
633
678
|
PartnerList: "_PartnerList_9o9wx_7",
|
|
634
679
|
List: "_List_9o9wx_11",
|
|
635
680
|
Controls: "_Controls_9o9wx_19",
|
|
636
681
|
VisuallyHidden: "_VisuallyHidden_9o9wx_29"
|
|
637
|
-
},
|
|
682
|
+
}, Be = O({
|
|
638
683
|
previous: {
|
|
639
684
|
no: "Forrige side",
|
|
640
685
|
se: "Föregående sida",
|
|
@@ -661,9 +706,9 @@ var H = {
|
|
|
661
706
|
}
|
|
662
707
|
});
|
|
663
708
|
//#endregion
|
|
664
|
-
//#region src/website/partner-list.tsx
|
|
665
|
-
function
|
|
666
|
-
let h =
|
|
709
|
+
//#region src/website/partner-list/partner-list.tsx
|
|
710
|
+
function Ve({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueChange: s, render: c, ref: l, className: u, ...d }) {
|
|
711
|
+
let h = Be(), [g, _] = T(o), v = ee(() => {
|
|
667
712
|
let e = new Intl.Collator(h.collation, { sensitivity: "base" });
|
|
668
713
|
return [...t].sort((t, n) => e.compare(t.name, n.name));
|
|
669
714
|
}, [t, h.collation]), y = Math.max(1, Math.floor(n)), b = Math.max(1, Math.ceil(v.length / y)), x = Math.min(b, Math.max(1, r ?? g)), S = (x - 1) * y, C = (e) => {
|
|
@@ -677,16 +722,16 @@ function Le({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
677
722
|
defaultTagName: "div",
|
|
678
723
|
props: {
|
|
679
724
|
...d,
|
|
680
|
-
className: N(
|
|
725
|
+
className: N(V.PartnerList, u)({}),
|
|
681
726
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("ul", {
|
|
682
|
-
className:
|
|
727
|
+
className: V.List,
|
|
683
728
|
children: v.slice(S, S + y).map(({ name: e, content: t, ...n }, r) => /* @__PURE__ */ p(se, {
|
|
684
729
|
...n,
|
|
685
730
|
render: /* @__PURE__ */ p("li", {}),
|
|
686
731
|
children: t
|
|
687
732
|
}, `${S + r}-${e}`))
|
|
688
733
|
}), b > 1 && /* @__PURE__ */ m("div", {
|
|
689
|
-
className:
|
|
734
|
+
className: V.Controls,
|
|
690
735
|
children: [
|
|
691
736
|
/* @__PURE__ */ p(D, {
|
|
692
737
|
variant: "elevated",
|
|
@@ -713,7 +758,7 @@ function Le({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
713
758
|
}),
|
|
714
759
|
/* @__PURE__ */ p("span", {
|
|
715
760
|
role: "status",
|
|
716
|
-
className:
|
|
761
|
+
className: V.VisuallyHidden,
|
|
717
762
|
children: h.status.replace("{page}", String(x)).replace("{count}", String(b))
|
|
718
763
|
})
|
|
719
764
|
]
|
|
@@ -721,7 +766,7 @@ function Le({ items: t, pageSize: n = 9, value: r, defaultValue: o = 1, onValueC
|
|
|
721
766
|
}
|
|
722
767
|
});
|
|
723
768
|
}
|
|
724
|
-
var
|
|
769
|
+
var H = {
|
|
725
770
|
Grid: "_Grid_1vukg_10",
|
|
726
771
|
Content: "_Content_1vukg_17",
|
|
727
772
|
Logos: "_Logos_1vukg_28",
|
|
@@ -737,13 +782,13 @@ var U = {
|
|
|
737
782
|
Image: "_Image_1vukg_115"
|
|
738
783
|
};
|
|
739
784
|
//#endregion
|
|
740
|
-
//#region src/website/payment-feature.tsx
|
|
741
|
-
function
|
|
785
|
+
//#region src/website/payment-feature/payment-feature.tsx
|
|
786
|
+
function He({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExample: o, src: s, alt: c, imageRender: l, imagePosition: u = "end", className: d, ...f }) {
|
|
742
787
|
let h = e({
|
|
743
788
|
render: r,
|
|
744
789
|
defaultTagName: "h2",
|
|
745
790
|
props: {
|
|
746
|
-
className:
|
|
791
|
+
className: H.Title,
|
|
747
792
|
children: n
|
|
748
793
|
}
|
|
749
794
|
}), g = e({
|
|
@@ -753,62 +798,62 @@ function Re({ logos: t, title: n, titleRender: r, text: i, actions: a, priceExam
|
|
|
753
798
|
props: {
|
|
754
799
|
src: s,
|
|
755
800
|
alt: c,
|
|
756
|
-
className:
|
|
801
|
+
className: H.Image
|
|
757
802
|
}
|
|
758
803
|
});
|
|
759
804
|
return /* @__PURE__ */ p(oe, {
|
|
760
805
|
...f,
|
|
761
|
-
className: [
|
|
806
|
+
className: [H.PaymentFeature, d].filter(Boolean).join(" "),
|
|
762
807
|
"data-image-position": u,
|
|
763
808
|
"data-has-image": g != null || void 0,
|
|
764
809
|
children: /* @__PURE__ */ m("div", {
|
|
765
|
-
className:
|
|
810
|
+
className: H.Grid,
|
|
766
811
|
children: [/* @__PURE__ */ m("div", {
|
|
767
|
-
className:
|
|
812
|
+
className: H.Content,
|
|
768
813
|
children: [
|
|
769
814
|
t != null && t.length > 0 && /* @__PURE__ */ p("ul", {
|
|
770
|
-
className:
|
|
771
|
-
children: t.map((e, t) => /* @__PURE__ */ p(
|
|
815
|
+
className: H.Logos,
|
|
816
|
+
children: t.map((e, t) => /* @__PURE__ */ p(Ue, { ...e }, t))
|
|
772
817
|
}),
|
|
773
818
|
/* @__PURE__ */ m("div", {
|
|
774
|
-
className:
|
|
819
|
+
className: H.Text,
|
|
775
820
|
children: [h, i != null && /* @__PURE__ */ p(j, {
|
|
776
|
-
className:
|
|
821
|
+
className: H.Description,
|
|
777
822
|
children: i
|
|
778
823
|
})]
|
|
779
824
|
}),
|
|
780
825
|
a != null && /* @__PURE__ */ p("div", {
|
|
781
|
-
className:
|
|
826
|
+
className: H.Actions,
|
|
782
827
|
children: a
|
|
783
828
|
}),
|
|
784
829
|
o != null && /* @__PURE__ */ p("p", {
|
|
785
|
-
className:
|
|
830
|
+
className: H.Price,
|
|
786
831
|
children: o
|
|
787
832
|
})
|
|
788
833
|
]
|
|
789
834
|
}), g != null && /* @__PURE__ */ p("div", {
|
|
790
|
-
className:
|
|
835
|
+
className: H.Media,
|
|
791
836
|
children: g
|
|
792
837
|
})]
|
|
793
838
|
})
|
|
794
839
|
});
|
|
795
840
|
}
|
|
796
|
-
function
|
|
841
|
+
function Ue({ src: t, alt: n, imageRender: r }) {
|
|
797
842
|
let i = e({
|
|
798
843
|
render: r,
|
|
799
844
|
defaultTagName: "img",
|
|
800
845
|
props: {
|
|
801
846
|
src: t,
|
|
802
847
|
alt: n,
|
|
803
|
-
className:
|
|
848
|
+
className: H.Logo
|
|
804
849
|
}
|
|
805
850
|
});
|
|
806
851
|
return /* @__PURE__ */ p("li", {
|
|
807
|
-
className:
|
|
852
|
+
className: H.LogoItem,
|
|
808
853
|
children: i
|
|
809
854
|
});
|
|
810
855
|
}
|
|
811
|
-
var
|
|
856
|
+
var U = {
|
|
812
857
|
PromoGrid: "_PromoGrid_1l2yi_10",
|
|
813
858
|
Featured: "_Featured_1l2yi_19",
|
|
814
859
|
Content: "_Content_1l2yi_23",
|
|
@@ -819,13 +864,13 @@ var W = {
|
|
|
819
864
|
Subtitle: "_Subtitle_1l2yi_73"
|
|
820
865
|
};
|
|
821
866
|
//#endregion
|
|
822
|
-
//#region src/website/promo-grid.tsx
|
|
823
|
-
function
|
|
867
|
+
//#region src/website/promo-grid/promo-grid.tsx
|
|
868
|
+
function We({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, titleRender: s, subtitle: c, imagePosition: l = "start", render: u, ref: d, className: h, ...g }) {
|
|
824
869
|
let _ = e({
|
|
825
870
|
render: s,
|
|
826
871
|
defaultTagName: "h2",
|
|
827
872
|
props: {
|
|
828
|
-
className:
|
|
873
|
+
className: U.Title,
|
|
829
874
|
children: o
|
|
830
875
|
}
|
|
831
876
|
});
|
|
@@ -836,23 +881,23 @@ function Be({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
836
881
|
props: {
|
|
837
882
|
...g,
|
|
838
883
|
"data-image-position": l,
|
|
839
|
-
className: N(
|
|
884
|
+
className: N(U.PromoGrid, h)({}),
|
|
840
885
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ie, {
|
|
841
|
-
className:
|
|
886
|
+
className: U.Featured,
|
|
842
887
|
src: t,
|
|
843
888
|
alt: n,
|
|
844
889
|
imageRender: r,
|
|
845
890
|
action: i
|
|
846
891
|
}), /* @__PURE__ */ m("div", {
|
|
847
|
-
className:
|
|
892
|
+
className: U.Content,
|
|
848
893
|
children: [a != null && a.length > 0 && /* @__PURE__ */ p("div", {
|
|
849
|
-
className:
|
|
894
|
+
className: U.Photos,
|
|
850
895
|
"data-count": a.length,
|
|
851
|
-
children: a.map((e, t) => /* @__PURE__ */ p(
|
|
896
|
+
children: a.map((e, t) => /* @__PURE__ */ p(Ge, { ...e }, t))
|
|
852
897
|
}), /* @__PURE__ */ m("div", {
|
|
853
|
-
className:
|
|
898
|
+
className: U.Block,
|
|
854
899
|
children: [_, c != null && /* @__PURE__ */ p(j, {
|
|
855
|
-
className:
|
|
900
|
+
className: U.Subtitle,
|
|
856
901
|
children: c
|
|
857
902
|
})]
|
|
858
903
|
})]
|
|
@@ -860,24 +905,24 @@ function Be({ src: t, alt: n, imageRender: r, action: i, images: a, title: o, ti
|
|
|
860
905
|
}
|
|
861
906
|
});
|
|
862
907
|
}
|
|
863
|
-
function
|
|
908
|
+
function Ge({ src: t, alt: n, imageRender: r }) {
|
|
864
909
|
return e({
|
|
865
910
|
render: r,
|
|
866
911
|
defaultTagName: "img",
|
|
867
912
|
props: {
|
|
868
913
|
src: t,
|
|
869
914
|
alt: n,
|
|
870
|
-
className:
|
|
915
|
+
className: U.Photo
|
|
871
916
|
}
|
|
872
917
|
});
|
|
873
918
|
}
|
|
874
|
-
var
|
|
919
|
+
var Ke = {
|
|
875
920
|
Section: "_Section_f8rp9_11",
|
|
876
921
|
Content: "_Content_f8rp9_60"
|
|
877
922
|
};
|
|
878
923
|
//#endregion
|
|
879
|
-
//#region src/website/section.tsx
|
|
880
|
-
function
|
|
924
|
+
//#region src/website/section/section.tsx
|
|
925
|
+
function qe({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg", width: i = "full", render: a, ref: o, className: s, children: c, ...l }) {
|
|
881
926
|
return e({
|
|
882
927
|
render: a,
|
|
883
928
|
ref: o,
|
|
@@ -887,16 +932,16 @@ function Ue({ surface: t = "base", spacingTop: n = "lg", spacingBottom: r = "lg"
|
|
|
887
932
|
"data-surface": t,
|
|
888
933
|
"data-spacing-top": n,
|
|
889
934
|
"data-spacing-bottom": r,
|
|
890
|
-
className: N(
|
|
935
|
+
className: N(Ke.Section, s)({}),
|
|
891
936
|
children: /* @__PURE__ */ p("div", {
|
|
892
|
-
className:
|
|
937
|
+
className: Ke.Content,
|
|
893
938
|
"data-width": i,
|
|
894
939
|
children: c
|
|
895
940
|
})
|
|
896
941
|
}
|
|
897
942
|
});
|
|
898
943
|
}
|
|
899
|
-
var
|
|
944
|
+
var W = {
|
|
900
945
|
SectionHeader: "_SectionHeader_11mff_8",
|
|
901
946
|
Text: "_Text_11mff_17",
|
|
902
947
|
Eyebrow: "_Eyebrow_11mff_25",
|
|
@@ -906,13 +951,13 @@ var G = {
|
|
|
906
951
|
Price: "_Price_11mff_75"
|
|
907
952
|
};
|
|
908
953
|
//#endregion
|
|
909
|
-
//#region src/website/section-header.tsx
|
|
910
|
-
function
|
|
954
|
+
//#region src/website/section-header/section-header.tsx
|
|
955
|
+
function Je({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitle: a, actions: o, priceExample: s, render: c, ref: l, className: u, ...d }) {
|
|
911
956
|
let h = e({
|
|
912
957
|
render: r,
|
|
913
958
|
defaultTagName: "h2",
|
|
914
959
|
props: {
|
|
915
|
-
className:
|
|
960
|
+
className: W.Title,
|
|
916
961
|
children: n
|
|
917
962
|
}
|
|
918
963
|
});
|
|
@@ -923,42 +968,42 @@ function We({ eyebrow: t, title: n, titleRender: r, titleSize: i = "lg", subtitl
|
|
|
923
968
|
props: {
|
|
924
969
|
...d,
|
|
925
970
|
"data-title-size": i,
|
|
926
|
-
className: N(
|
|
971
|
+
className: N(W.SectionHeader, u)({}),
|
|
927
972
|
children: /* @__PURE__ */ m(f, { children: [
|
|
928
973
|
/* @__PURE__ */ m("div", {
|
|
929
|
-
className:
|
|
974
|
+
className: W.Text,
|
|
930
975
|
children: [
|
|
931
976
|
t != null && /* @__PURE__ */ p("p", {
|
|
932
|
-
className:
|
|
977
|
+
className: W.Eyebrow,
|
|
933
978
|
children: t
|
|
934
979
|
}),
|
|
935
980
|
h,
|
|
936
981
|
a != null && /* @__PURE__ */ p(j, {
|
|
937
|
-
className:
|
|
982
|
+
className: W.Subtitle,
|
|
938
983
|
children: a
|
|
939
984
|
})
|
|
940
985
|
]
|
|
941
986
|
}),
|
|
942
987
|
o != null && /* @__PURE__ */ p("div", {
|
|
943
|
-
className:
|
|
988
|
+
className: W.Actions,
|
|
944
989
|
children: o
|
|
945
990
|
}),
|
|
946
991
|
s != null && /* @__PURE__ */ p("p", {
|
|
947
|
-
className:
|
|
992
|
+
className: W.Price,
|
|
948
993
|
children: s
|
|
949
994
|
})
|
|
950
995
|
] })
|
|
951
996
|
}
|
|
952
997
|
});
|
|
953
998
|
}
|
|
954
|
-
var
|
|
999
|
+
var Ye = {
|
|
955
1000
|
ServiceCardGrid: "_ServiceCardGrid_nutvc_9",
|
|
956
1001
|
List: "_List_nutvc_13",
|
|
957
1002
|
Item: "_Item_nutvc_23"
|
|
958
1003
|
};
|
|
959
1004
|
//#endregion
|
|
960
|
-
//#region src/website/service-card-grid.tsx
|
|
961
|
-
function
|
|
1005
|
+
//#region src/website/service-card-grid/service-card-grid.tsx
|
|
1006
|
+
function Xe({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
962
1007
|
let o = h.toArray(i);
|
|
963
1008
|
return e({
|
|
964
1009
|
render: t,
|
|
@@ -966,68 +1011,68 @@ function Ke({ render: t, ref: n, className: r, children: i, ...a }) {
|
|
|
966
1011
|
defaultTagName: "div",
|
|
967
1012
|
props: {
|
|
968
1013
|
...a,
|
|
969
|
-
className: N(
|
|
1014
|
+
className: N(Ye.ServiceCardGrid, r)({}),
|
|
970
1015
|
children: /* @__PURE__ */ p("ul", {
|
|
971
|
-
className:
|
|
1016
|
+
className: Ye.List,
|
|
972
1017
|
"data-count": o.length,
|
|
973
1018
|
children: o.map((e, t) => /* @__PURE__ */ p("li", {
|
|
974
|
-
className:
|
|
1019
|
+
className: Ye.Item,
|
|
975
1020
|
children: e
|
|
976
1021
|
}, t))
|
|
977
1022
|
})
|
|
978
1023
|
}
|
|
979
1024
|
});
|
|
980
1025
|
}
|
|
981
|
-
var
|
|
1026
|
+
var Ze = {
|
|
982
1027
|
ArrowRevealLink: "_ArrowRevealLink_140ct_2",
|
|
983
1028
|
Arrow: "_Arrow_140ct_2",
|
|
984
1029
|
Text: "_Text_140ct_40"
|
|
985
1030
|
};
|
|
986
1031
|
//#endregion
|
|
987
1032
|
//#region src/website/arrow-reveal-link.tsx
|
|
988
|
-
function
|
|
1033
|
+
function G({ render: n, className: r, children: i, size: a = "md", ...o }) {
|
|
989
1034
|
return e({
|
|
990
1035
|
render: n,
|
|
991
1036
|
defaultTagName: "a",
|
|
992
1037
|
props: {
|
|
993
1038
|
...o,
|
|
994
1039
|
"data-size": a === "md" ? void 0 : a,
|
|
995
|
-
className: N(
|
|
1040
|
+
className: N(Ze.ArrowRevealLink, r)({}),
|
|
996
1041
|
children: /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p("span", {
|
|
997
1042
|
"aria-hidden": !0,
|
|
998
|
-
className:
|
|
1043
|
+
className: Ze.Arrow,
|
|
999
1044
|
children: /* @__PURE__ */ p(t, {})
|
|
1000
1045
|
}), /* @__PURE__ */ p("span", {
|
|
1001
|
-
className:
|
|
1046
|
+
className: Ze.Text,
|
|
1002
1047
|
children: i
|
|
1003
1048
|
})] })
|
|
1004
1049
|
}
|
|
1005
1050
|
});
|
|
1006
1051
|
}
|
|
1007
|
-
var
|
|
1052
|
+
var K = {
|
|
1008
1053
|
SideNav: "_SideNav_1ha5v_6",
|
|
1009
1054
|
Sidebar: "_Sidebar_1ha5v_29",
|
|
1010
1055
|
List: "_List_1ha5v_44",
|
|
1011
1056
|
Content: "_Content_1ha5v_61"
|
|
1012
|
-
},
|
|
1057
|
+
}, Qe = O({ navigation: {
|
|
1013
1058
|
no: "Sidemeny",
|
|
1014
1059
|
se: "Sidomeny",
|
|
1015
1060
|
fi: "Sivuvalikko",
|
|
1016
1061
|
es: "Menú lateral"
|
|
1017
1062
|
} });
|
|
1018
1063
|
//#endregion
|
|
1019
|
-
//#region src/website/side-nav.tsx
|
|
1020
|
-
function
|
|
1021
|
-
let o =
|
|
1064
|
+
//#region src/website/side-nav/side-nav.tsx
|
|
1065
|
+
function $e({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...a }) {
|
|
1066
|
+
let o = Qe();
|
|
1022
1067
|
return /* @__PURE__ */ m("div", {
|
|
1023
1068
|
...a,
|
|
1024
|
-
className: [
|
|
1069
|
+
className: [K.SideNav, i].filter(Boolean).join(" "),
|
|
1025
1070
|
children: [/* @__PURE__ */ p("nav", {
|
|
1026
|
-
className:
|
|
1071
|
+
className: K.Sidebar,
|
|
1027
1072
|
"aria-label": t ?? o.navigation,
|
|
1028
1073
|
children: /* @__PURE__ */ p("ul", {
|
|
1029
|
-
className:
|
|
1030
|
-
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1074
|
+
className: K.List,
|
|
1075
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
|
|
1031
1076
|
size: "lg",
|
|
1032
1077
|
href: e.href,
|
|
1033
1078
|
render: e.render,
|
|
@@ -1037,15 +1082,15 @@ function Ye({ items: e, label: t, breadcrumbs: n, children: r, className: i, ...
|
|
|
1037
1082
|
})
|
|
1038
1083
|
}), /* @__PURE__ */ m(oe, {
|
|
1039
1084
|
size: "sm",
|
|
1040
|
-
className:
|
|
1085
|
+
className: K.Content,
|
|
1041
1086
|
children: [n, r]
|
|
1042
1087
|
})]
|
|
1043
1088
|
});
|
|
1044
1089
|
}
|
|
1045
1090
|
//#endregion
|
|
1046
|
-
//#region src/website/flags.tsx
|
|
1047
|
-
var
|
|
1048
|
-
function
|
|
1091
|
+
//#region src/website/site-footer/flags.tsx
|
|
1092
|
+
var et = "M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20Z", tt = "M19.9154 8.69625H7.82613H7.82609V0.238281C6.90195 0.443203 6.02582 0.775352 5.21738 1.21648V8.69617V8.69621H0.0846484C0.0289844 9.1232 0 9.55852 0 10.0006C0 10.4427 0.0289844 10.878 0.0846484 11.3049H5.21734H5.21738V18.7846C6.02582 19.2257 6.90195 19.558 7.82609 19.7629V11.305V11.305H19.9154C19.9709 10.878 20 10.4427 20 10.0006C20 9.55852 19.9709 9.1232 19.9154 8.69625V8.69625Z";
|
|
1093
|
+
function q({ children: e, ...t }) {
|
|
1049
1094
|
return /* @__PURE__ */ p("svg", {
|
|
1050
1095
|
width: "20",
|
|
1051
1096
|
height: "20",
|
|
@@ -1057,12 +1102,12 @@ function Qe({ children: e, ...t }) {
|
|
|
1057
1102
|
children: e
|
|
1058
1103
|
});
|
|
1059
1104
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return /* @__PURE__ */ m(
|
|
1105
|
+
function nt(e) {
|
|
1106
|
+
return /* @__PURE__ */ m(q, {
|
|
1062
1107
|
...e,
|
|
1063
1108
|
children: [
|
|
1064
1109
|
/* @__PURE__ */ p("path", {
|
|
1065
|
-
d:
|
|
1110
|
+
d: et,
|
|
1066
1111
|
fill: "#F0F0F0"
|
|
1067
1112
|
}),
|
|
1068
1113
|
/* @__PURE__ */ p("path", {
|
|
@@ -1082,18 +1127,18 @@ function $e(e) {
|
|
|
1082
1127
|
fill: "#D80027"
|
|
1083
1128
|
}),
|
|
1084
1129
|
/* @__PURE__ */ p("path", {
|
|
1085
|
-
d:
|
|
1130
|
+
d: tt,
|
|
1086
1131
|
fill: "#0052B4"
|
|
1087
1132
|
})
|
|
1088
1133
|
]
|
|
1089
1134
|
});
|
|
1090
1135
|
}
|
|
1091
|
-
function
|
|
1092
|
-
return /* @__PURE__ */ m(
|
|
1136
|
+
function rt(e) {
|
|
1137
|
+
return /* @__PURE__ */ m(q, {
|
|
1093
1138
|
...e,
|
|
1094
1139
|
children: [
|
|
1095
1140
|
/* @__PURE__ */ p("path", {
|
|
1096
|
-
d:
|
|
1141
|
+
d: et,
|
|
1097
1142
|
fill: "#FFDA44"
|
|
1098
1143
|
}),
|
|
1099
1144
|
/* @__PURE__ */ p("path", {
|
|
@@ -1115,20 +1160,20 @@ function et(e) {
|
|
|
1115
1160
|
]
|
|
1116
1161
|
});
|
|
1117
1162
|
}
|
|
1118
|
-
function
|
|
1119
|
-
return /* @__PURE__ */ m(
|
|
1163
|
+
function it(e) {
|
|
1164
|
+
return /* @__PURE__ */ m(q, {
|
|
1120
1165
|
...e,
|
|
1121
1166
|
children: [/* @__PURE__ */ p("path", {
|
|
1122
|
-
d:
|
|
1167
|
+
d: et,
|
|
1123
1168
|
fill: "#F0F0F0"
|
|
1124
1169
|
}), /* @__PURE__ */ p("path", {
|
|
1125
|
-
d:
|
|
1170
|
+
d: tt,
|
|
1126
1171
|
fill: "#0052B4"
|
|
1127
1172
|
})]
|
|
1128
1173
|
});
|
|
1129
1174
|
}
|
|
1130
|
-
function
|
|
1131
|
-
return /* @__PURE__ */ m(
|
|
1175
|
+
function at(e) {
|
|
1176
|
+
return /* @__PURE__ */ m(q, {
|
|
1132
1177
|
...e,
|
|
1133
1178
|
children: [
|
|
1134
1179
|
/* @__PURE__ */ p("path", {
|
|
@@ -1158,7 +1203,7 @@ function J({ href: t, render: n, ...r }) {
|
|
|
1158
1203
|
}
|
|
1159
1204
|
});
|
|
1160
1205
|
}
|
|
1161
|
-
var
|
|
1206
|
+
var ot = (e) => e.groups != null && e.groups.length > 0, st = (e) => e.href != null || e.render != null, Y = {
|
|
1162
1207
|
SiteFooter: "_SiteFooter_o2ixe_7",
|
|
1163
1208
|
Content: "_Content_o2ixe_23",
|
|
1164
1209
|
Main: "_Main_o2ixe_32",
|
|
@@ -1174,7 +1219,7 @@ var rt = (e) => e.groups != null && e.groups.length > 0, it = (e) => e.href != n
|
|
|
1174
1219
|
Divider: "_Divider_o2ixe_165",
|
|
1175
1220
|
CookieSettings: "_CookieSettings_o2ixe_176",
|
|
1176
1221
|
Copyright: "_Copyright_o2ixe_192"
|
|
1177
|
-
},
|
|
1222
|
+
}, ct = O({
|
|
1178
1223
|
market: {
|
|
1179
1224
|
no: "Marked",
|
|
1180
1225
|
se: "Marknad",
|
|
@@ -1199,7 +1244,7 @@ var rt = (e) => e.groups != null && e.groups.length > 0, it = (e) => e.href != n
|
|
|
1199
1244
|
fi: "fi",
|
|
1200
1245
|
es: "es"
|
|
1201
1246
|
}
|
|
1202
|
-
}),
|
|
1247
|
+
}), lt = O({
|
|
1203
1248
|
navigation: {
|
|
1204
1249
|
no: "Hovedmeny",
|
|
1205
1250
|
se: "Huvudmeny",
|
|
@@ -1224,30 +1269,30 @@ var rt = (e) => e.groups != null && e.groups.length > 0, it = (e) => e.href != n
|
|
|
1224
1269
|
fi: "Lea Bank, etusivu",
|
|
1225
1270
|
es: "Lea Bank, página de inicio"
|
|
1226
1271
|
}
|
|
1227
|
-
}),
|
|
1272
|
+
}), ut = {
|
|
1228
1273
|
no: {
|
|
1229
1274
|
name: "Norge",
|
|
1230
|
-
flag: /* @__PURE__ */ p(
|
|
1275
|
+
flag: /* @__PURE__ */ p(nt, {})
|
|
1231
1276
|
},
|
|
1232
1277
|
se: {
|
|
1233
1278
|
name: "Sverige",
|
|
1234
|
-
flag: /* @__PURE__ */ p(
|
|
1279
|
+
flag: /* @__PURE__ */ p(rt, {})
|
|
1235
1280
|
},
|
|
1236
1281
|
fi: {
|
|
1237
1282
|
name: "Suomi",
|
|
1238
|
-
flag: /* @__PURE__ */ p(
|
|
1283
|
+
flag: /* @__PURE__ */ p(it, {})
|
|
1239
1284
|
},
|
|
1240
1285
|
es: {
|
|
1241
1286
|
name: "España",
|
|
1242
|
-
flag: /* @__PURE__ */ p(
|
|
1287
|
+
flag: /* @__PURE__ */ p(at, {})
|
|
1243
1288
|
}
|
|
1244
|
-
},
|
|
1289
|
+
}, dt = [
|
|
1245
1290
|
"no",
|
|
1246
1291
|
"se",
|
|
1247
1292
|
"fi",
|
|
1248
1293
|
"es"
|
|
1249
1294
|
];
|
|
1250
|
-
function
|
|
1295
|
+
function ft({ render: t, id: n, children: r }) {
|
|
1251
1296
|
return e({
|
|
1252
1297
|
render: t,
|
|
1253
1298
|
defaultTagName: "h2",
|
|
@@ -1258,16 +1303,16 @@ function lt({ render: t, id: n, children: r }) {
|
|
|
1258
1303
|
}
|
|
1259
1304
|
});
|
|
1260
1305
|
}
|
|
1261
|
-
function
|
|
1262
|
-
let n =
|
|
1306
|
+
function pt({ market: e, render: t }) {
|
|
1307
|
+
let n = ct(), r = C(), i = e.options ?? dt, a = ee(() => {
|
|
1263
1308
|
let e = new Intl.Collator(n.collation, { sensitivity: "base" });
|
|
1264
|
-
return [...i].sort((t, n) => e.compare(
|
|
1309
|
+
return [...i].sort((t, n) => e.compare(ut[t].name, ut[n].name)).map((e) => ({
|
|
1265
1310
|
value: e,
|
|
1266
|
-
label:
|
|
1267
|
-
icon:
|
|
1311
|
+
label: ut[e].name,
|
|
1312
|
+
icon: ut[e].flag
|
|
1268
1313
|
}));
|
|
1269
1314
|
}, [i, n.collation]);
|
|
1270
|
-
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1315
|
+
return /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ft, {
|
|
1271
1316
|
render: t,
|
|
1272
1317
|
id: r,
|
|
1273
1318
|
children: e.title ?? n.market
|
|
@@ -1280,8 +1325,8 @@ function ut({ market: e, render: t }) {
|
|
|
1280
1325
|
className: Y.Market
|
|
1281
1326
|
})] });
|
|
1282
1327
|
}
|
|
1283
|
-
function
|
|
1284
|
-
let u =
|
|
1328
|
+
function mt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onOpenCookieSettings: a, copyright: o, titleRender: s, className: c, ...l }) {
|
|
1329
|
+
let u = ct(), d = lt(), h = a != null || o != null;
|
|
1285
1330
|
return /* @__PURE__ */ p("footer", {
|
|
1286
1331
|
...l,
|
|
1287
1332
|
className: [Y.SiteFooter, c].filter(Boolean).join(" "),
|
|
@@ -1299,7 +1344,7 @@ function dt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
|
|
|
1299
1344
|
className: Y.Columns,
|
|
1300
1345
|
children: [n.map((e, t) => /* @__PURE__ */ m("div", {
|
|
1301
1346
|
className: Y.Column,
|
|
1302
|
-
children: [/* @__PURE__ */ p(
|
|
1347
|
+
children: [/* @__PURE__ */ p(ft, {
|
|
1303
1348
|
render: s,
|
|
1304
1349
|
children: e.title
|
|
1305
1350
|
}), e.links.length > 0 && /* @__PURE__ */ p("ul", {
|
|
@@ -1313,10 +1358,10 @@ function dt({ logo: e, homeRender: t, columns: n = [], market: r, social: i, onO
|
|
|
1313
1358
|
})]
|
|
1314
1359
|
}, t)), (r != null || i != null) && /* @__PURE__ */ m("div", {
|
|
1315
1360
|
className: Y.Column,
|
|
1316
|
-
children: [r != null && /* @__PURE__ */ p(
|
|
1361
|
+
children: [r != null && /* @__PURE__ */ p(pt, {
|
|
1317
1362
|
market: r,
|
|
1318
1363
|
render: s
|
|
1319
|
-
}), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(
|
|
1364
|
+
}), i != null && /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ p(ft, {
|
|
1320
1365
|
render: s,
|
|
1321
1366
|
children: i.title ?? u.social
|
|
1322
1367
|
}), /* @__PURE__ */ p("ul", {
|
|
@@ -1388,8 +1433,8 @@ var X = {
|
|
|
1388
1433
|
SubmenuPanel: "_SubmenuPanel_dcn2t_556",
|
|
1389
1434
|
Submenu: "_Submenu_dcn2t_556",
|
|
1390
1435
|
Parent: "_Parent_dcn2t_577"
|
|
1391
|
-
},
|
|
1392
|
-
function
|
|
1436
|
+
}, ht = "(min-width: 1312px)";
|
|
1437
|
+
function gt({ item: e, open: t, onOpenChange: i }) {
|
|
1393
1438
|
let a = e.groups.flatMap((e) => e.links), o = e.groups.flatMap((e) => e.cta == null ? [] : [e.cta]);
|
|
1394
1439
|
return /* @__PURE__ */ m(ue.Root, {
|
|
1395
1440
|
open: t,
|
|
@@ -1405,14 +1450,14 @@ function pt({ item: e, open: t, onOpenChange: i }) {
|
|
|
1405
1450
|
children: /* @__PURE__ */ m("div", {
|
|
1406
1451
|
className: X.Submenu,
|
|
1407
1452
|
children: [
|
|
1408
|
-
(
|
|
1453
|
+
(st(e) || a.length > 0) && /* @__PURE__ */ m("ul", {
|
|
1409
1454
|
className: X.Links,
|
|
1410
|
-
children: [
|
|
1455
|
+
children: [st(e) && /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
|
|
1411
1456
|
className: X.Parent,
|
|
1412
1457
|
href: e.href,
|
|
1413
1458
|
render: e.render,
|
|
1414
1459
|
children: e.label
|
|
1415
|
-
}) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1460
|
+
}) }), a.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
|
|
1416
1461
|
href: e.href,
|
|
1417
1462
|
render: e.render,
|
|
1418
1463
|
children: e.label
|
|
@@ -1436,13 +1481,13 @@ function pt({ item: e, open: t, onOpenChange: i }) {
|
|
|
1436
1481
|
})]
|
|
1437
1482
|
});
|
|
1438
1483
|
}
|
|
1439
|
-
function
|
|
1440
|
-
let t =
|
|
1484
|
+
function _t({ items: e }) {
|
|
1485
|
+
let t = lt(), [n, r] = T(null);
|
|
1441
1486
|
return /* @__PURE__ */ p("nav", {
|
|
1442
1487
|
"aria-label": t.navigation,
|
|
1443
1488
|
children: /* @__PURE__ */ p("ul", {
|
|
1444
1489
|
className: X.MenuList,
|
|
1445
|
-
children: e.map((e, t) => /* @__PURE__ */ p("li", { children:
|
|
1490
|
+
children: e.map((e, t) => /* @__PURE__ */ p("li", { children: ot(e) ? /* @__PURE__ */ p(gt, {
|
|
1446
1491
|
item: e,
|
|
1447
1492
|
open: n === t,
|
|
1448
1493
|
onOpenChange: (e) => r(e ? t : null)
|
|
@@ -1455,11 +1500,11 @@ function mt({ items: e }) {
|
|
|
1455
1500
|
})
|
|
1456
1501
|
});
|
|
1457
1502
|
}
|
|
1458
|
-
function
|
|
1459
|
-
let r =
|
|
1503
|
+
function vt({ items: e, home: t, account: n }) {
|
|
1504
|
+
let r = lt(), [i, a] = T(!1);
|
|
1460
1505
|
return S(() => {
|
|
1461
1506
|
if (!i) return;
|
|
1462
|
-
let e = window.matchMedia(
|
|
1507
|
+
let e = window.matchMedia(ht), t = () => {
|
|
1463
1508
|
e.matches && a(!1);
|
|
1464
1509
|
};
|
|
1465
1510
|
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
|
|
@@ -1501,15 +1546,15 @@ function ht({ items: e, home: t, account: n }) {
|
|
|
1501
1546
|
}), /* @__PURE__ */ p(re, { size: "sm" })]
|
|
1502
1547
|
}), /* @__PURE__ */ p(A.Content, {
|
|
1503
1548
|
className: X.MenuContent,
|
|
1504
|
-
children: /* @__PURE__ */ p(
|
|
1549
|
+
children: /* @__PURE__ */ p(_t, { items: e })
|
|
1505
1550
|
})]
|
|
1506
1551
|
})
|
|
1507
1552
|
})] })]
|
|
1508
1553
|
});
|
|
1509
1554
|
}
|
|
1510
1555
|
//#endregion
|
|
1511
|
-
//#region src/website/site-header.tsx
|
|
1512
|
-
function
|
|
1556
|
+
//#region src/website/site-header/site-header.tsx
|
|
1557
|
+
function yt({ group: e }) {
|
|
1513
1558
|
let t = C(), r = e.title != null, i = e.links.length > 0;
|
|
1514
1559
|
return /* @__PURE__ */ m("div", {
|
|
1515
1560
|
className: X.Group,
|
|
@@ -1522,7 +1567,7 @@ function gt({ group: e }) {
|
|
|
1522
1567
|
i && /* @__PURE__ */ p("ul", {
|
|
1523
1568
|
className: X.Links,
|
|
1524
1569
|
"aria-labelledby": r ? t : void 0,
|
|
1525
|
-
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(
|
|
1570
|
+
children: e.links.map((e, t) => /* @__PURE__ */ p("li", { children: /* @__PURE__ */ p(G, {
|
|
1526
1571
|
render: /* @__PURE__ */ p(k.Link, {
|
|
1527
1572
|
closeOnClick: !0,
|
|
1528
1573
|
href: e.href,
|
|
@@ -1548,13 +1593,13 @@ function gt({ group: e }) {
|
|
|
1548
1593
|
]
|
|
1549
1594
|
});
|
|
1550
1595
|
}
|
|
1551
|
-
function
|
|
1596
|
+
function bt({ item: e, value: t, end: n, onFocus: i }) {
|
|
1552
1597
|
return /* @__PURE__ */ p(k.Item, {
|
|
1553
1598
|
value: t,
|
|
1554
1599
|
className: X.Item,
|
|
1555
1600
|
"data-end": n || void 0,
|
|
1556
1601
|
onFocus: () => i(t),
|
|
1557
|
-
children:
|
|
1602
|
+
children: ot(e) ? /* @__PURE__ */ m(f, { children: [/* @__PURE__ */ m(k.Trigger, {
|
|
1558
1603
|
className: X.Pill,
|
|
1559
1604
|
children: [e.label, /* @__PURE__ */ p(k.Icon, {
|
|
1560
1605
|
className: X.Chevron,
|
|
@@ -1563,7 +1608,7 @@ function _t({ item: e, value: t, end: n, onFocus: i }) {
|
|
|
1563
1608
|
}), /* @__PURE__ */ p(k.Content, {
|
|
1564
1609
|
keepMounted: !0,
|
|
1565
1610
|
className: X.Content,
|
|
1566
|
-
children: e.groups.map((e, t) => /* @__PURE__ */ p(
|
|
1611
|
+
children: e.groups.map((e, t) => /* @__PURE__ */ p(yt, { group: e }, t))
|
|
1567
1612
|
})] }) : /* @__PURE__ */ p(k.Link, {
|
|
1568
1613
|
closeOnClick: !0,
|
|
1569
1614
|
className: X.Pill,
|
|
@@ -1573,8 +1618,8 @@ function _t({ item: e, value: t, end: n, onFocus: i }) {
|
|
|
1573
1618
|
})
|
|
1574
1619
|
});
|
|
1575
1620
|
}
|
|
1576
|
-
function
|
|
1577
|
-
let l =
|
|
1621
|
+
function xt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, action: a, className: s, ...c }) {
|
|
1622
|
+
let l = lt(), [u, d] = T(null), f = (e) => {
|
|
1578
1623
|
u != null && u !== e && d(null);
|
|
1579
1624
|
}, h = /* @__PURE__ */ p(J, {
|
|
1580
1625
|
href: t == null ? "/" : void 0,
|
|
@@ -1597,7 +1642,7 @@ function vt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
|
|
|
1597
1642
|
children: /* @__PURE__ */ m("div", {
|
|
1598
1643
|
className: X.BarContent,
|
|
1599
1644
|
children: [
|
|
1600
|
-
/* @__PURE__ */ p(
|
|
1645
|
+
/* @__PURE__ */ p(vt, {
|
|
1601
1646
|
items: [...n, ...r],
|
|
1602
1647
|
home: h,
|
|
1603
1648
|
account: g
|
|
@@ -1611,7 +1656,7 @@ function vt({ logo: e, homeRender: t, items: n, endItems: r = [], account: i, ac
|
|
|
1611
1656
|
onValueChange: d,
|
|
1612
1657
|
children: [/* @__PURE__ */ p(k.List, {
|
|
1613
1658
|
className: X.List,
|
|
1614
|
-
children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(
|
|
1659
|
+
children: [...n, ...r].map((e, t) => /* @__PURE__ */ p(bt, {
|
|
1615
1660
|
item: e,
|
|
1616
1661
|
value: `item-${t}`,
|
|
1617
1662
|
end: r.length > 0 && t === n.length,
|
|
@@ -1654,8 +1699,8 @@ var Z = {
|
|
|
1654
1699
|
Price: "_Price_16c8f_82"
|
|
1655
1700
|
};
|
|
1656
1701
|
//#endregion
|
|
1657
|
-
//#region src/website/split-content.tsx
|
|
1658
|
-
function
|
|
1702
|
+
//#region src/website/split-content/split-content.tsx
|
|
1703
|
+
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 }) {
|
|
1659
1704
|
let _ = e({
|
|
1660
1705
|
render: n,
|
|
1661
1706
|
defaultTagName: "h2",
|
|
@@ -1717,8 +1762,8 @@ var Q = {
|
|
|
1717
1762
|
Price: "_Price_1o0ef_103"
|
|
1718
1763
|
};
|
|
1719
1764
|
//#endregion
|
|
1720
|
-
//#region src/website/stats.tsx
|
|
1721
|
-
function
|
|
1765
|
+
//#region src/website/stats/stats.tsx
|
|
1766
|
+
function Ct({ header: t, items: n, titleRender: r, action: i, priceExample: a, render: o, ref: s, className: c, ...l }) {
|
|
1722
1767
|
return e({
|
|
1723
1768
|
render: o,
|
|
1724
1769
|
ref: s,
|
|
@@ -1733,7 +1778,7 @@ function bt({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
|
|
|
1733
1778
|
children: [n.map((e, t) => /* @__PURE__ */ m(g, { children: [/* @__PURE__ */ p("li", {
|
|
1734
1779
|
"aria-hidden": !0,
|
|
1735
1780
|
className: Q.Bar
|
|
1736
|
-
}), /* @__PURE__ */ p(
|
|
1781
|
+
}), /* @__PURE__ */ p(wt, {
|
|
1737
1782
|
...e,
|
|
1738
1783
|
titleRender: r
|
|
1739
1784
|
})] }, t)), /* @__PURE__ */ p("li", {
|
|
@@ -1752,7 +1797,7 @@ function bt({ header: t, items: n, titleRender: r, action: i, priceExample: a, r
|
|
|
1752
1797
|
}
|
|
1753
1798
|
});
|
|
1754
1799
|
}
|
|
1755
|
-
function
|
|
1800
|
+
function wt({ number: t, title: n, text: r, titleRender: i }) {
|
|
1756
1801
|
let a = e({
|
|
1757
1802
|
enabled: n != null,
|
|
1758
1803
|
render: i,
|
|
@@ -1791,7 +1836,7 @@ var $ = {
|
|
|
1791
1836
|
DialogPopup: "_DialogPopup_13hpt_143",
|
|
1792
1837
|
DialogVideo: "_DialogVideo_13hpt_149",
|
|
1793
1838
|
Close: "_Close_13hpt_157"
|
|
1794
|
-
},
|
|
1839
|
+
}, Tt = O({
|
|
1795
1840
|
reviews: {
|
|
1796
1841
|
no: "Kundeomtaler",
|
|
1797
1842
|
se: "Kundomdömen",
|
|
@@ -1830,9 +1875,9 @@ var $ = {
|
|
|
1830
1875
|
}
|
|
1831
1876
|
});
|
|
1832
1877
|
//#endregion
|
|
1833
|
-
//#region src/website/testimonials.tsx
|
|
1834
|
-
function
|
|
1835
|
-
let w =
|
|
1878
|
+
//#region src/website/testimonials/testimonials.tsx
|
|
1879
|
+
function Et({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o, rating: s, videoSrc: c, videoPoster: u, videoCaptions: g, videoPosition: v = "start", render: y, ref: b, className: x, children: S, ...ee }) {
|
|
1880
|
+
let w = Tt(), T = C(), te = i != null || a != null, ne = h.toArray(S).length > 0;
|
|
1836
1881
|
return e({
|
|
1837
1882
|
render: y,
|
|
1838
1883
|
ref: b,
|
|
@@ -1841,7 +1886,7 @@ function Ct({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1841
1886
|
...ee,
|
|
1842
1887
|
className: N($.Testimonials, x)({}),
|
|
1843
1888
|
children: /* @__PURE__ */ m(f, { children: [
|
|
1844
|
-
t != null && /* @__PURE__ */ p(
|
|
1889
|
+
t != null && /* @__PURE__ */ p(Je, {
|
|
1845
1890
|
title: t,
|
|
1846
1891
|
titleRender: _(n ?? /* @__PURE__ */ p("h2", {}), { id: T }),
|
|
1847
1892
|
subtitle: r
|
|
@@ -1919,7 +1964,7 @@ function Ct({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1919
1964
|
})] })] })]
|
|
1920
1965
|
})]
|
|
1921
1966
|
}),
|
|
1922
|
-
ne && /* @__PURE__ */ p(
|
|
1967
|
+
ne && /* @__PURE__ */ p(Ee, {
|
|
1923
1968
|
...t == null ? { "aria-label": w.reviews } : { "aria-labelledby": T },
|
|
1924
1969
|
children: S
|
|
1925
1970
|
})
|
|
@@ -1928,6 +1973,6 @@ function Ct({ title: t, titleRender: n, subtitle: r, quote: i, name: a, meta: o,
|
|
|
1928
1973
|
});
|
|
1929
1974
|
}
|
|
1930
1975
|
//#endregion
|
|
1931
|
-
export { fe as AlertBanner,
|
|
1976
|
+
export { fe as AlertBanner, _e as BrandLetters, ve as Calculator, Ee as Carousel, De as CtaBanner, Fe as ExpandingCards, Ie as ExpandingCardsItem, Le as Hero, Re as HeroServiceGrid, ze as NavigationGrid, Ve as PartnerList, He as PaymentFeature, We as PromoGrid, qe as Section, Je as SectionHeader, Xe as ServiceCardGrid, $e as SideNav, mt as SiteFooter, xt as SiteHeader, St as SplitContent, Ct as Stats, Et as Testimonials };
|
|
1932
1977
|
|
|
1933
1978
|
//# sourceMappingURL=website.mjs.map
|