rk-designsystem 1.2.1 → 1.2.3

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.
@@ -1,88 +1,101 @@
1
- import { jsx as n, jsxs as a, Fragment as Ce } from "react/jsx-runtime";
2
- import Ne, { forwardRef as ae, useState as Y, useContext as He, createContext as Xe, useEffect as $, useMemo as ue, useCallback as re, useRef as Je } from "react";
3
- import { Alert as Qe, Avatar as et, BadgePosition as tt, Badge as nt, Breadcrumbs as ot, BreadcrumbsItem as rt, BreadcrumbsLink as at, BreadcrumbsList as st, Button as Me, Card as it, CardBlock as lt, Checkbox as dt, useCheckboxGroup as ct, Fieldset as Ue, Chip as pt, Spinner as mt, Details as gt, Dialog as ut, Divider as ht, Dropdown as ft, DropdownButton as kt, DropdownHeading as vt, DropdownItem as bt, DropdownList as yt, DropdownTrigger as xt, DropdownTriggerContext as Tt, ErrorSummary as Ct, Field as wt, FieldCounter as St, FieldDescription as It, Heading as _t, Input as Dt, Label as At, Link as Lt, List as Nt, Pagination as Mt, PaginationButton as jt, PaginationItem as Ft, PaginationList as Bt, usePagination as Et, Paragraph as $t, Popover as Pt, Radio as zt, useRadioGroup as Rt, Search as Gt, SearchInput as Wt, SearchClear as Ht, SearchButton as Ut, Select as Vt, Skeleton as Ot, SkipLink as Kt, EXPERIMENTAL_Suggestion as qt, Switch as Yt, Table as Zt, Tabs as Xt, Tag as Jt, Textarea as Qt, Textfield as en, ToggleGroup as tn, Tooltip as nn, ValidationMessage as on } from "@digdir/designsystemet-react";
4
- import { startOfMonth as me, isValid as Ie, isSameMonth as Fe, startOfWeek as Ve, format as he, addDays as Oe, subMonths as rn, addMonths as an, isSameDay as sn, isToday as ln, eachDayOfInterval as dn } from "date-fns";
5
- import cn from "embla-carousel-react";
6
- import { ChevronLeftIcon as pn, ChevronRightIcon as mn, ChevronDownIcon as Be, XMarkIcon as _e, MagnifyingGlassIcon as Ee, MenuHamburgerIcon as $e, HeartIcon as gn } from "@navikt/aksel-icons";
7
- const un = ae((t, e) => /* @__PURE__ */ n(Qe, { ref: e, ...t }));
8
- un.displayName = "Alert";
9
- const Ke = ae((t, e) => /* @__PURE__ */ n(et, { ref: e, ...t }));
1
+ import { jsx as t, jsxs as r, Fragment as Se } from "react/jsx-runtime";
2
+ import Ae, { forwardRef as ie, useState as O, useContext as He, createContext as Je, useEffect as z, useMemo as fe, useCallback as se, useRef as Qe } from "react";
3
+ import { Alert as et, Avatar as tt, BadgePosition as nt, Badge as ot, Breadcrumbs as rt, BreadcrumbsItem as at, BreadcrumbsLink as st, BreadcrumbsList as it, Button as Ne, Card as lt, CardBlock as dt, Checkbox as ct, useCheckboxGroup as pt, Fieldset as Ue, Chip as mt, Spinner as gt, Details as ut, Dialog as ht, Divider as ft, Dropdown as kt, DropdownButton as vt, DropdownHeading as bt, DropdownItem as yt, DropdownList as xt, DropdownTrigger as Tt, DropdownTriggerContext as Ct, ErrorSummary as wt, Field as St, FieldCounter as It, FieldDescription as _t, Heading as Dt, Input as Lt, Label as jt, Link as At, List as Nt, Pagination as Mt, PaginationButton as Ft, PaginationItem as Bt, PaginationList as Et, usePagination as $t, Paragraph as Pt, Popover as zt, Radio as Rt, useRadioGroup as Gt, Search as Wt, SearchInput as Ht, SearchClear as Ut, SearchButton as Vt, Select as Ot, Skeleton as Kt, SkipLink as qt, EXPERIMENTAL_Suggestion as Yt, Switch as Zt, Table as Xt, Tabs as Jt, Tag as Qt, Textarea as en, Textfield as tn, ToggleGroup as nn, Tooltip as on, ValidationMessage as rn } from "@digdir/designsystemet-react";
4
+ import { startOfMonth as ue, isValid as Ie, isSameMonth as Fe, startOfWeek as Ve, format as ke, addDays as Oe, subMonths as an, addMonths as sn, isSameDay as ln, isToday as dn, eachDayOfInterval as cn } from "date-fns";
5
+ import pn from "embla-carousel-react";
6
+ import { ChevronLeftIcon as mn, ChevronRightIcon as gn, ChevronDownIcon as Be, XMarkIcon as _e, MagnifyingGlassIcon as Ee, MenuHamburgerIcon as $e, HeartIcon as un } from "@navikt/aksel-icons";
7
+ const hn = ie((n, e) => /* @__PURE__ */ t(et, { ref: e, ...n }));
8
+ hn.displayName = "Alert";
9
+ const Ke = ie((n, e) => /* @__PURE__ */ t(tt, { ref: e, ...n }));
10
10
  Ke.displayName = "Avatar";
11
- const hn = ae((t, e) => /* @__PURE__ */ n(nt, { ref: e, ...t }));
12
- hn.displayName = "Badge";
13
- const Is = tt, _s = ot, Ds = st, As = rt, Ls = at, de = ae(function({ variant: e, shape: r, ...d }, h) {
14
- const k = {};
15
- return e !== void 0 && (k.variant = e), r === "pill" && (k["data-shape"] = "pill"), /* @__PURE__ */ n(Me, { ref: h, ...d, ...k });
11
+ const fn = ie((n, e) => /* @__PURE__ */ t(ot, { ref: e, ...n }));
12
+ fn.displayName = "Badge";
13
+ const Us = nt, Vs = rt, Os = it, Ks = at, qs = st;
14
+ function kn() {
15
+ return {
16
+ "--dsc-button-background": "var(--ds-color-surface-tinted)",
17
+ "--dsc-button-background--hover": "var(--ds-color-surface-hover)",
18
+ "--dsc-button-background--active": "var(--ds-color-surface-active)",
19
+ "--dsc-button-color": "var(--ds-color-text-default)",
20
+ "--dsc-button-color--hover": "var(--ds-color-text-default)",
21
+ "--dsc-button-border-color": "transparent"
22
+ };
23
+ }
24
+ const ce = ie(function({ variant: e, shape: a, style: d, ...h }, f) {
25
+ const m = {};
26
+ e === "soft" && Object.assign(m, kn()), a === "pill" && (m.borderRadius = "var(--ds-border-radius-full)");
27
+ const k = Object.keys(m).length === 0 && !d ? void 0 : { ...m, ...d }, D = {};
28
+ return e !== void 0 && (D.variant = e), a === "pill" && (D["data-shape"] = "pill"), /* @__PURE__ */ t(Ne, { ref: f, ...h, ...D, style: k });
16
29
  });
17
- de.displayName = "Button";
18
- const fn = it, Ns = lt;
19
- fn.displayName = "Card";
20
- const kn = dt, vn = Ue, Ms = ct;
21
- kn.displayName = "Checkbox";
22
- vn.displayName = "Fieldset";
23
- const js = pt;
24
- function De(t) {
30
+ ce.displayName = "Button";
31
+ const vn = lt, Ys = dt;
32
+ vn.displayName = "Card";
33
+ const bn = ct, yn = Ue, Zs = pt;
34
+ bn.displayName = "Checkbox";
35
+ yn.displayName = "Fieldset";
36
+ const Xs = mt;
37
+ function De(n) {
25
38
  return (e = {}) => {
26
- const r = e.width ? String(e.width) : t.defaultWidth;
27
- return t.formats[r] || t.formats[t.defaultWidth];
39
+ const a = e.width ? String(e.width) : n.defaultWidth;
40
+ return n.formats[a] || n.formats[n.defaultWidth];
28
41
  };
29
42
  }
30
- function fe(t) {
31
- return (e, r) => {
32
- const d = r != null && r.context ? String(r.context) : "standalone";
43
+ function ve(n) {
44
+ return (e, a) => {
45
+ const d = a != null && a.context ? String(a.context) : "standalone";
33
46
  let h;
34
- if (d === "formatting" && t.formattingValues) {
35
- const u = t.defaultFormattingWidth || t.defaultWidth, x = r != null && r.width ? String(r.width) : u;
36
- h = t.formattingValues[x] || t.formattingValues[u];
47
+ if (d === "formatting" && n.formattingValues) {
48
+ const m = n.defaultFormattingWidth || n.defaultWidth, k = a != null && a.width ? String(a.width) : m;
49
+ h = n.formattingValues[k] || n.formattingValues[m];
37
50
  } else {
38
- const u = t.defaultWidth, x = r != null && r.width ? String(r.width) : t.defaultWidth;
39
- h = t.values[x] || t.values[u];
51
+ const m = n.defaultWidth, k = a != null && a.width ? String(a.width) : n.defaultWidth;
52
+ h = n.values[k] || n.values[m];
40
53
  }
41
- const k = t.argumentCallback ? t.argumentCallback(e) : e;
42
- return h[k];
54
+ const f = n.argumentCallback ? n.argumentCallback(e) : e;
55
+ return h[f];
43
56
  };
44
57
  }
45
- function ke(t) {
46
- return (e, r = {}) => {
47
- const d = r.width, h = d && t.matchPatterns[d] || t.matchPatterns[t.defaultMatchWidth], k = e.match(h);
48
- if (!k)
58
+ function be(n) {
59
+ return (e, a = {}) => {
60
+ const d = a.width, h = d && n.matchPatterns[d] || n.matchPatterns[n.defaultMatchWidth], f = e.match(h);
61
+ if (!f)
49
62
  return null;
50
- const u = k[0], x = d && t.parsePatterns[d] || t.parsePatterns[t.defaultParseWidth], F = Array.isArray(x) ? yn(x, (w) => w.test(u)) : (
63
+ const m = f[0], k = d && n.parsePatterns[d] || n.parsePatterns[n.defaultParseWidth], D = Array.isArray(k) ? Tn(k, (_) => _.test(m)) : (
51
64
  // [TODO] -- I challenge you to fix the type
52
- bn(x, (w) => w.test(u))
65
+ xn(k, (_) => _.test(m))
53
66
  );
54
- let C;
55
- C = t.valueCallback ? t.valueCallback(F) : F, C = r.valueCallback ? (
67
+ let S;
68
+ S = n.valueCallback ? n.valueCallback(D) : D, S = a.valueCallback ? (
56
69
  // [TODO] -- I challenge you to fix the type
57
- r.valueCallback(C)
58
- ) : C;
59
- const U = e.slice(u.length);
60
- return { value: C, rest: U };
70
+ a.valueCallback(S)
71
+ ) : S;
72
+ const R = e.slice(m.length);
73
+ return { value: S, rest: R };
61
74
  };
62
75
  }
63
- function bn(t, e) {
64
- for (const r in t)
65
- if (Object.prototype.hasOwnProperty.call(t, r) && e(t[r]))
66
- return r;
76
+ function xn(n, e) {
77
+ for (const a in n)
78
+ if (Object.prototype.hasOwnProperty.call(n, a) && e(n[a]))
79
+ return a;
67
80
  }
68
- function yn(t, e) {
69
- for (let r = 0; r < t.length; r++)
70
- if (e(t[r]))
71
- return r;
81
+ function Tn(n, e) {
82
+ for (let a = 0; a < n.length; a++)
83
+ if (e(n[a]))
84
+ return a;
72
85
  }
73
- function xn(t) {
74
- return (e, r = {}) => {
75
- const d = e.match(t.matchPattern);
86
+ function Cn(n) {
87
+ return (e, a = {}) => {
88
+ const d = e.match(n.matchPattern);
76
89
  if (!d) return null;
77
- const h = d[0], k = e.match(t.parsePattern);
78
- if (!k) return null;
79
- let u = t.valueCallback ? t.valueCallback(k[0]) : k[0];
80
- u = r.valueCallback ? r.valueCallback(u) : u;
81
- const x = e.slice(h.length);
82
- return { value: u, rest: x };
90
+ const h = d[0], f = e.match(n.parsePattern);
91
+ if (!f) return null;
92
+ let m = n.valueCallback ? n.valueCallback(f[0]) : f[0];
93
+ m = a.valueCallback ? a.valueCallback(m) : m;
94
+ const k = e.slice(h.length);
95
+ return { value: m, rest: k };
83
96
  };
84
97
  }
85
- const Tn = {
98
+ const wn = {
86
99
  lessThanXSeconds: {
87
100
  one: "mindre enn ett sekund",
88
101
  other: "mindre enn {{count}} sekunder"
@@ -144,54 +157,54 @@ const Tn = {
144
157
  one: "nesten ett år",
145
158
  other: "nesten {{count}} år"
146
159
  }
147
- }, Cn = (t, e, r) => {
160
+ }, Sn = (n, e, a) => {
148
161
  let d;
149
- const h = Tn[t];
150
- return typeof h == "string" ? d = h : e === 1 ? d = h.one : d = h.other.replace("{{count}}", String(e)), r != null && r.addSuffix ? r.comparison && r.comparison > 0 ? "om " + d : d + " siden" : d;
151
- }, wn = {
162
+ const h = wn[n];
163
+ return typeof h == "string" ? d = h : e === 1 ? d = h.one : d = h.other.replace("{{count}}", String(e)), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "om " + d : d + " siden" : d;
164
+ }, In = {
152
165
  full: "EEEE d. MMMM y",
153
166
  long: "d. MMMM y",
154
167
  medium: "d. MMM y",
155
168
  short: "dd.MM.y"
156
- }, Sn = {
169
+ }, _n = {
157
170
  full: "'kl'. HH:mm:ss zzzz",
158
171
  long: "HH:mm:ss z",
159
172
  medium: "HH:mm:ss",
160
173
  short: "HH:mm"
161
- }, In = {
174
+ }, Dn = {
162
175
  full: "{{date}} 'kl.' {{time}}",
163
176
  long: "{{date}} 'kl.' {{time}}",
164
177
  medium: "{{date}} {{time}}",
165
178
  short: "{{date}} {{time}}"
166
- }, _n = {
179
+ }, Ln = {
167
180
  date: De({
168
- formats: wn,
181
+ formats: In,
169
182
  defaultWidth: "full"
170
183
  }),
171
184
  time: De({
172
- formats: Sn,
185
+ formats: _n,
173
186
  defaultWidth: "full"
174
187
  }),
175
188
  dateTime: De({
176
- formats: In,
189
+ formats: Dn,
177
190
  defaultWidth: "full"
178
191
  })
179
- }, Dn = {
192
+ }, jn = {
180
193
  lastWeek: "'forrige' eeee 'kl.' p",
181
194
  yesterday: "'i går kl.' p",
182
195
  today: "'i dag kl.' p",
183
196
  tomorrow: "'i morgen kl.' p",
184
197
  nextWeek: "EEEE 'kl.' p",
185
198
  other: "P"
186
- }, An = (t, e, r, d) => Dn[t], Ln = {
199
+ }, An = (n, e, a, d) => jn[n], Nn = {
187
200
  narrow: ["f.Kr.", "e.Kr."],
188
201
  abbreviated: ["f.Kr.", "e.Kr."],
189
202
  wide: ["før Kristus", "etter Kristus"]
190
- }, Nn = {
203
+ }, Mn = {
191
204
  narrow: ["1", "2", "3", "4"],
192
205
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
193
206
  wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
194
- }, Mn = {
207
+ }, Fn = {
195
208
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
196
209
  abbreviated: [
197
210
  "jan.",
@@ -221,7 +234,7 @@ const Tn = {
221
234
  "november",
222
235
  "desember"
223
236
  ]
224
- }, jn = {
237
+ }, Bn = {
225
238
  narrow: ["S", "M", "T", "O", "T", "F", "L"],
226
239
  short: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
227
240
  abbreviated: ["søn", "man", "tir", "ons", "tor", "fre", "lør"],
@@ -234,7 +247,7 @@ const Tn = {
234
247
  "fredag",
235
248
  "lørdag"
236
249
  ]
237
- }, Fn = {
250
+ }, En = {
238
251
  narrow: {
239
252
  am: "a",
240
253
  pm: "p",
@@ -265,46 +278,46 @@ const Tn = {
265
278
  evening: "på kvelden",
266
279
  night: "på natten"
267
280
  }
268
- }, Bn = (t, e) => Number(t) + ".", En = {
269
- ordinalNumber: Bn,
270
- era: fe({
271
- values: Ln,
281
+ }, $n = (n, e) => Number(n) + ".", Pn = {
282
+ ordinalNumber: $n,
283
+ era: ve({
284
+ values: Nn,
272
285
  defaultWidth: "wide"
273
286
  }),
274
- quarter: fe({
275
- values: Nn,
287
+ quarter: ve({
288
+ values: Mn,
276
289
  defaultWidth: "wide",
277
- argumentCallback: (t) => t - 1
290
+ argumentCallback: (n) => n - 1
278
291
  }),
279
- month: fe({
280
- values: Mn,
292
+ month: ve({
293
+ values: Fn,
281
294
  defaultWidth: "wide"
282
295
  }),
283
- day: fe({
284
- values: jn,
296
+ day: ve({
297
+ values: Bn,
285
298
  defaultWidth: "wide"
286
299
  }),
287
- dayPeriod: fe({
288
- values: Fn,
300
+ dayPeriod: ve({
301
+ values: En,
289
302
  defaultWidth: "wide"
290
303
  })
291
- }, $n = /^(\d+)\.?/i, Pn = /\d+/i, zn = {
304
+ }, zn = /^(\d+)\.?/i, Rn = /\d+/i, Gn = {
292
305
  narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
293
306
  abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
294
307
  wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
295
- }, Rn = {
308
+ }, Wn = {
296
309
  any: [/^f/i, /^e/i]
297
- }, Gn = {
310
+ }, Hn = {
298
311
  narrow: /^[1234]/i,
299
312
  abbreviated: /^q[1234]/i,
300
313
  wide: /^[1234](\.)? kvartal/i
301
- }, Wn = {
314
+ }, Un = {
302
315
  any: [/1/i, /2/i, /3/i, /4/i]
303
- }, Hn = {
316
+ }, Vn = {
304
317
  narrow: /^[jfmasond]/i,
305
318
  abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
306
319
  wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
307
- }, Un = {
320
+ }, On = {
308
321
  narrow: [
309
322
  /^j/i,
310
323
  /^f/i,
@@ -333,17 +346,17 @@ const Tn = {
333
346
  /^n/i,
334
347
  /^d/i
335
348
  ]
336
- }, Vn = {
349
+ }, Kn = {
337
350
  narrow: /^[smtofl]/i,
338
351
  short: /^(sø|ma|ti|on|to|fr|lø)/i,
339
352
  abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
340
353
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
341
- }, On = {
354
+ }, qn = {
342
355
  any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
343
- }, Kn = {
356
+ }, Yn = {
344
357
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
345
358
  any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
346
- }, qn = {
359
+ }, Zn = {
347
360
  any: {
348
361
  am: /^a(\.?\s?m\.?)?$/i,
349
362
  pm: /^p(\.?\s?m\.?)?$/i,
@@ -354,55 +367,55 @@ const Tn = {
354
367
  evening: /kveld/i,
355
368
  night: /natt/i
356
369
  }
357
- }, Yn = {
358
- ordinalNumber: xn({
359
- matchPattern: $n,
360
- parsePattern: Pn,
361
- valueCallback: (t) => parseInt(t, 10)
370
+ }, Xn = {
371
+ ordinalNumber: Cn({
372
+ matchPattern: zn,
373
+ parsePattern: Rn,
374
+ valueCallback: (n) => parseInt(n, 10)
362
375
  }),
363
- era: ke({
364
- matchPatterns: zn,
365
- defaultMatchWidth: "wide",
366
- parsePatterns: Rn,
367
- defaultParseWidth: "any"
368
- }),
369
- quarter: ke({
376
+ era: be({
370
377
  matchPatterns: Gn,
371
378
  defaultMatchWidth: "wide",
372
379
  parsePatterns: Wn,
373
- defaultParseWidth: "any",
374
- valueCallback: (t) => t + 1
380
+ defaultParseWidth: "any"
375
381
  }),
376
- month: ke({
382
+ quarter: be({
377
383
  matchPatterns: Hn,
378
384
  defaultMatchWidth: "wide",
379
385
  parsePatterns: Un,
380
- defaultParseWidth: "any"
386
+ defaultParseWidth: "any",
387
+ valueCallback: (n) => n + 1
381
388
  }),
382
- day: ke({
389
+ month: be({
383
390
  matchPatterns: Vn,
384
391
  defaultMatchWidth: "wide",
385
392
  parsePatterns: On,
386
393
  defaultParseWidth: "any"
387
394
  }),
388
- dayPeriod: ke({
395
+ day: be({
389
396
  matchPatterns: Kn,
390
- defaultMatchWidth: "any",
397
+ defaultMatchWidth: "wide",
391
398
  parsePatterns: qn,
392
399
  defaultParseWidth: "any"
400
+ }),
401
+ dayPeriod: be({
402
+ matchPatterns: Yn,
403
+ defaultMatchWidth: "any",
404
+ parsePatterns: Zn,
405
+ defaultParseWidth: "any"
393
406
  })
394
- }, ge = {
407
+ }, he = {
395
408
  code: "nb",
396
- formatDistance: Cn,
397
- formatLong: _n,
409
+ formatDistance: Sn,
410
+ formatLong: Ln,
398
411
  formatRelative: An,
399
- localize: En,
400
- match: Yn,
412
+ localize: Pn,
413
+ match: Xn,
401
414
  options: {
402
415
  weekStartsOn: 1,
403
416
  firstWeekContainsDate: 4
404
417
  }
405
- }, qe = ({ title: t, ...e }) => /* @__PURE__ */ a(
418
+ }, qe = ({ title: n, ...e }) => /* @__PURE__ */ r(
406
419
  "svg",
407
420
  {
408
421
  xmlns: "http://www.w3.org/2000/svg",
@@ -410,12 +423,12 @@ const Tn = {
410
423
  height: "1em",
411
424
  viewBox: "0 0 28 28",
412
425
  fill: "none",
413
- "aria-hidden": t ? void 0 : !0,
426
+ "aria-hidden": n ? void 0 : !0,
414
427
  focusable: "false",
415
428
  ...e,
416
429
  children: [
417
- t && /* @__PURE__ */ n("title", { children: t }),
418
- /* @__PURE__ */ n(
430
+ n && /* @__PURE__ */ t("title", { children: n }),
431
+ /* @__PURE__ */ t(
419
432
  "path",
420
433
  {
421
434
  fillRule: "evenodd",
@@ -428,7 +441,7 @@ const Tn = {
428
441
  }
429
442
  );
430
443
  qe.displayName = "ChevronLeftIcon";
431
- const Ye = ({ title: t, ...e }) => /* @__PURE__ */ a(
444
+ const Ye = ({ title: n, ...e }) => /* @__PURE__ */ r(
432
445
  "svg",
433
446
  {
434
447
  xmlns: "http://www.w3.org/2000/svg",
@@ -436,12 +449,12 @@ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ a(
436
449
  height: "1em",
437
450
  viewBox: "0 0 28 28",
438
451
  fill: "none",
439
- "aria-hidden": t ? void 0 : !0,
452
+ "aria-hidden": n ? void 0 : !0,
440
453
  focusable: "false",
441
454
  ...e,
442
455
  children: [
443
- t && /* @__PURE__ */ n("title", { children: t }),
444
- /* @__PURE__ */ n(
456
+ n && /* @__PURE__ */ t("title", { children: n }),
457
+ /* @__PURE__ */ t(
445
458
  "path",
446
459
  {
447
460
  fillRule: "evenodd",
@@ -454,19 +467,19 @@ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ a(
454
467
  }
455
468
  );
456
469
  Ye.displayName = "ChevronRightIcon";
457
- const Zn = "_calendarContainer_htlea_1", Xn = "_calendarHeader_htlea_16", Jn = "_monthYear_htlea_23", Qn = "_navigationButtons_htlea_34", eo = "_grid_htlea_43", to = "_dayNameCell_htlea_51", no = "_dateCell_htlea_69", oo = "_dateNumberContainer_htlea_95", ro = "_otherMonth_htlea_108", ao = "_disabled_htlea_108", so = "_selectedDate_htlea_134", ee = {
458
- calendarContainer: Zn,
459
- calendarHeader: Xn,
460
- monthYear: Jn,
461
- navigationButtons: Qn,
462
- grid: eo,
463
- dayNameCell: to,
464
- dateCell: no,
465
- dateNumberContainer: oo,
466
- otherMonth: ro,
467
- disabled: ao,
468
- selectedDate: so
469
- }, io = {
470
+ const Jn = "_calendarContainer_htlea_1", Qn = "_calendarHeader_htlea_16", eo = "_monthYear_htlea_23", to = "_navigationButtons_htlea_34", no = "_grid_htlea_43", oo = "_dayNameCell_htlea_51", ro = "_dateCell_htlea_69", ao = "_dateNumberContainer_htlea_95", so = "_otherMonth_htlea_108", io = "_disabled_htlea_108", lo = "_selectedDate_htlea_134", ee = {
471
+ calendarContainer: Jn,
472
+ calendarHeader: Qn,
473
+ monthYear: eo,
474
+ navigationButtons: to,
475
+ grid: no,
476
+ dayNameCell: oo,
477
+ dateCell: ro,
478
+ dateNumberContainer: ao,
479
+ otherMonth: so,
480
+ disabled: io,
481
+ selectedDate: lo
482
+ }, co = {
470
483
  NO: {
471
484
  // Header
472
485
  header: {
@@ -2551,26 +2564,26 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2551
2564
  openDatePicker: "Open date picker"
2552
2565
  }
2553
2566
  }
2554
- }, je = Xe(void 0), Fs = ({ children: t }) => {
2555
- const [e, r] = Y("NO"), d = (h) => {
2556
- const k = h.split(".");
2557
- let u = io[e];
2558
- for (const x of k) {
2559
- if (u[x] === void 0)
2567
+ }, Me = Je(void 0), Js = ({ children: n }) => {
2568
+ const [e, a] = O("NO"), d = (h) => {
2569
+ const f = h.split(".");
2570
+ let m = co[e];
2571
+ for (const k of f) {
2572
+ if (m[k] === void 0)
2560
2573
  return console.warn(`Translation missing for key: ${h} in language: ${e}`), h;
2561
- u = u[x];
2574
+ m = m[k];
2562
2575
  }
2563
- return u;
2576
+ return m;
2564
2577
  };
2565
- return /* @__PURE__ */ n(je.Provider, { value: { language: e, setLanguage: r, t: d }, children: t });
2566
- }, Bs = () => {
2567
- const t = He(je);
2568
- if (t === void 0)
2578
+ return /* @__PURE__ */ t(Me.Provider, { value: { language: e, setLanguage: a, t: d }, children: n });
2579
+ }, Qs = () => {
2580
+ const n = He(Me);
2581
+ if (n === void 0)
2569
2582
  throw new Error("useLanguage must be used within a LanguageProvider");
2570
- return t;
2571
- }, ye = () => {
2572
- const t = He(je);
2573
- return t === void 0 ? {
2583
+ return n;
2584
+ }, Te = () => {
2585
+ const n = He(Me);
2586
+ return n === void 0 ? {
2574
2587
  language: "NO",
2575
2588
  setLanguage: () => {
2576
2589
  console.warn("LanguageProvider is not available. Language changes will not work.");
@@ -2628,125 +2641,125 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2628
2641
  // DateInput translations
2629
2642
  "dateInput.openDatePicker": "Åpne datovelger"
2630
2643
  })[e] || e
2631
- } : t;
2632
- }, lo = (t) => {
2633
- const e = me(t), r = Ve(e, { locale: ge }), d = Oe(r, 41);
2634
- return dn({ start: r, end: d });
2635
- }, Pe = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), co = ({
2636
- initialDate: t = /* @__PURE__ */ new Date(),
2644
+ } : n;
2645
+ }, po = (n) => {
2646
+ const e = ue(n), a = Ve(e, { locale: he }), d = Oe(a, 41);
2647
+ return cn({ start: a, end: d });
2648
+ }, Pe = (n) => n && n.charAt(0).toUpperCase() + n.slice(1), mo = ({
2649
+ initialDate: n = /* @__PURE__ */ new Date(),
2637
2650
  selectedDate: e = null,
2638
2651
  // Prop for valgt dato
2639
- onDateSelect: r,
2652
+ onDateSelect: a,
2640
2653
  "data-color": d,
2641
2654
  // <-- Destrukturert
2642
2655
  "data-size": h
2643
2656
  // <-- Destrukturert
2644
2657
  }) => {
2645
- const { t: k } = ye();
2646
- $(() => {
2647
- const c = "rk-datepicker-inline-styles";
2648
- if (typeof document > "u" || document.getElementById(c)) return;
2649
- const A = po(ee), S = document.createElement("style");
2650
- S.id = c, S.textContent = A, document.head.appendChild(S);
2658
+ const { t: f } = Te();
2659
+ z(() => {
2660
+ const g = "rk-datepicker-inline-styles";
2661
+ if (typeof document > "u" || document.getElementById(g)) return;
2662
+ const M = go(ee), I = document.createElement("style");
2663
+ I.id = g, I.textContent = M, document.head.appendChild(I);
2651
2664
  }, []);
2652
- const [u, x] = Y(
2653
- me(e && Ie(e) ? e : t)
2665
+ const [m, k] = O(
2666
+ ue(e && Ie(e) ? e : n)
2654
2667
  );
2655
- $(() => {
2668
+ z(() => {
2656
2669
  if (e && Ie(e)) {
2657
- const c = me(e);
2658
- Fe(c, u) || x(c);
2670
+ const g = ue(e);
2671
+ Fe(g, m) || k(g);
2659
2672
  }
2660
2673
  }, [e]);
2661
- const F = ue(() => me(/* @__PURE__ */ new Date()), []), C = ue(() => !1, [u, F]), U = ue(
2662
- () => lo(u),
2663
- [u]
2664
- ), w = ue(() => {
2665
- const c = Ve(/* @__PURE__ */ new Date(), { locale: ge });
2666
- return Array.from({ length: 7 }).map((A, S) => {
2667
- const R = he(Oe(c, S), "EEEEEE", { locale: ge });
2668
- return Pe(R);
2674
+ const D = fe(() => ue(/* @__PURE__ */ new Date()), []), S = fe(() => !1, [m, D]), R = fe(
2675
+ () => po(m),
2676
+ [m]
2677
+ ), _ = fe(() => {
2678
+ const g = Ve(/* @__PURE__ */ new Date(), { locale: he });
2679
+ return Array.from({ length: 7 }).map((M, I) => {
2680
+ const F = ke(Oe(g, I), "EEEEEE", { locale: he });
2681
+ return Pe(F);
2669
2682
  });
2670
- }, []), P = re(() => {
2671
- C || x((c) => me(rn(c, 1)));
2672
- }, [C]), M = re(() => {
2673
- x((c) => me(an(c, 1)));
2674
- }, []), l = re(
2675
- (c) => {
2676
- r && r(c);
2683
+ }, []), V = se(() => {
2684
+ S || k((g) => ue(an(g, 1)));
2685
+ }, [S]), A = se(() => {
2686
+ k((g) => ue(sn(g, 1)));
2687
+ }, []), p = se(
2688
+ (g) => {
2689
+ a && a(g);
2677
2690
  },
2678
- [r]
2679
- ), te = re(
2680
- (c, A) => {
2681
- (c.key === "Enter" || c.key === " ") && (c.preventDefault(), l(A));
2691
+ [a]
2692
+ ), K = se(
2693
+ (g, M) => {
2694
+ (g.key === "Enter" || g.key === " ") && (g.preventDefault(), p(M));
2682
2695
  },
2683
- [l]
2684
- ), z = he(u, "MMMM", { locale: ge }), B = he(u, "yyyy", { locale: ge }), X = `${Pe(z)} ${B}`;
2685
- return /* @__PURE__ */ a(
2696
+ [p]
2697
+ ), X = ke(m, "MMMM", { locale: he }), j = ke(m, "yyyy", { locale: he }), q = `${Pe(X)} ${j}`;
2698
+ return /* @__PURE__ */ r(
2686
2699
  "div",
2687
2700
  {
2688
2701
  className: ee.calendarContainer,
2689
2702
  "data-color": d,
2690
2703
  "data-size": h,
2691
2704
  children: [
2692
- /* @__PURE__ */ a("div", { className: ee.calendarHeader, children: [
2693
- /* @__PURE__ */ n("span", { className: ee.monthYear, children: X }),
2694
- /* @__PURE__ */ a("div", { className: ee.navigationButtons, children: [
2695
- /* @__PURE__ */ n(
2696
- Me,
2705
+ /* @__PURE__ */ r("div", { className: ee.calendarHeader, children: [
2706
+ /* @__PURE__ */ t("span", { className: ee.monthYear, children: q }),
2707
+ /* @__PURE__ */ r("div", { className: ee.navigationButtons, children: [
2708
+ /* @__PURE__ */ t(
2709
+ Ne,
2697
2710
  {
2698
2711
  variant: "tertiary",
2699
2712
  icon: !0,
2700
- onClick: P,
2701
- "aria-label": k("datePicker.previousMonth"),
2702
- disabled: C,
2703
- children: /* @__PURE__ */ n(qe, {})
2713
+ onClick: V,
2714
+ "aria-label": f("datePicker.previousMonth"),
2715
+ disabled: S,
2716
+ children: /* @__PURE__ */ t(qe, {})
2704
2717
  }
2705
2718
  ),
2706
- /* @__PURE__ */ n(
2707
- Me,
2719
+ /* @__PURE__ */ t(
2720
+ Ne,
2708
2721
  {
2709
2722
  variant: "tertiary",
2710
2723
  icon: !0,
2711
- onClick: M,
2712
- "aria-label": k("datePicker.nextMonth"),
2713
- children: /* @__PURE__ */ n(Ye, {})
2724
+ onClick: A,
2725
+ "aria-label": f("datePicker.nextMonth"),
2726
+ children: /* @__PURE__ */ t(Ye, {})
2714
2727
  }
2715
2728
  )
2716
2729
  ] })
2717
2730
  ] }),
2718
- /* @__PURE__ */ n("div", { className: ee.grid, children: w.map((c) => /* @__PURE__ */ n("div", { className: ee.dayNameCell, children: c }, c)) }),
2719
- /* @__PURE__ */ n("div", { className: ee.grid, children: U.map((c) => {
2720
- const A = Fe(c, u), S = e && Ie(e) && sn(c, e), R = ln(c), I = [
2731
+ /* @__PURE__ */ t("div", { className: ee.grid, children: _.map((g) => /* @__PURE__ */ t("div", { className: ee.dayNameCell, children: g }, g)) }),
2732
+ /* @__PURE__ */ t("div", { className: ee.grid, children: R.map((g) => {
2733
+ const M = Fe(g, m), I = e && Ie(e) && ln(g, e), F = dn(g), N = [
2721
2734
  ee.dateCell,
2722
- A ? "" : ee.otherMonth,
2723
- S ? ee.selectedDate : "",
2735
+ M ? "" : ee.otherMonth,
2736
+ I ? ee.selectedDate : "",
2724
2737
  // Utheving basert på prop
2725
- R && !S ? ee.todayDate : ""
2738
+ F && !I ? ee.todayDate : ""
2726
2739
  ].filter(Boolean).join(" ");
2727
- return /* @__PURE__ */ n(
2740
+ return /* @__PURE__ */ t(
2728
2741
  "div",
2729
2742
  {
2730
- className: I,
2731
- onClick: () => l(c),
2732
- onKeyDown: (G) => te(G, c),
2743
+ className: N,
2744
+ onClick: () => p(g),
2745
+ onKeyDown: (L) => K(L, g),
2733
2746
  role: "button",
2734
2747
  tabIndex: 0,
2735
- "aria-pressed": S ?? !1,
2736
- "aria-label": he(c, "PPP", { locale: ge }),
2737
- children: /* @__PURE__ */ n("span", { className: ee.dateNumberContainer, children: he(c, "d") })
2748
+ "aria-pressed": I ?? !1,
2749
+ "aria-label": ke(g, "PPP", { locale: he }),
2750
+ children: /* @__PURE__ */ t("span", { className: ee.dateNumberContainer, children: ke(g, "d") })
2738
2751
  },
2739
- c.toISOString()
2752
+ g.toISOString()
2740
2753
  );
2741
2754
  }) })
2742
2755
  ]
2743
2756
  }
2744
2757
  );
2745
2758
  };
2746
- co.displayName = "DatePicker";
2747
- function po(t) {
2759
+ mo.displayName = "DatePicker";
2760
+ function go(n) {
2748
2761
  return `
2749
- .${t.calendarContainer} {
2762
+ .${n.calendarContainer} {
2750
2763
  display: inline-flex;
2751
2764
  padding: var(--ds-size-8, 32px);
2752
2765
  flex-direction: column;
@@ -2760,13 +2773,13 @@ function po(t) {
2760
2773
  max-width: 100%;
2761
2774
  box-sizing: border-box;
2762
2775
  }
2763
- .${t.calendarHeader} {
2776
+ .${n.calendarHeader} {
2764
2777
  display: flex;
2765
2778
  justify-content: space-between;
2766
2779
  align-items: center;
2767
2780
  align-self: stretch;
2768
2781
  }
2769
- .${t.monthYear} {
2782
+ .${n.monthYear} {
2770
2783
  color: var(--ds-color-text-default, #2b2b2b);
2771
2784
  font-family: var(--ds-font-family, sans-serif);
2772
2785
  font-size: var(--ds-heading-sm-font-size, 1.5rem);
@@ -2774,21 +2787,21 @@ function po(t) {
2774
2787
  line-height: var(--ds-heading-sm-line-height, 1.3);
2775
2788
  margin: 0;
2776
2789
  }
2777
- .${t.navigationButtons} {
2790
+ .${n.navigationButtons} {
2778
2791
  display: flex;
2779
2792
  gap: var(--ds-size-1, 4px);
2780
2793
  }
2781
- .${t.navigationButtons} > button:disabled svg {
2794
+ .${n.navigationButtons} > button:disabled svg {
2782
2795
  opacity: var(--ds-opacity-disabled, 0.3);
2783
2796
  }
2784
- .${t.grid} {
2797
+ .${n.grid} {
2785
2798
  display: grid;
2786
2799
  grid-template-columns: repeat(7, 1fr);
2787
2800
  width: 100%;
2788
2801
  text-align: center;
2789
2802
  overflow: hidden;
2790
2803
  }
2791
- .${t.dayNameCell} {
2804
+ .${n.dayNameCell} {
2792
2805
  display: flex;
2793
2806
  padding: var(--ds-size-2, 8px);
2794
2807
  flex-direction: column;
@@ -2803,7 +2816,7 @@ function po(t) {
2803
2816
  box-sizing: border-box;
2804
2817
  min-width: 0;
2805
2818
  }
2806
- .${t.dateCell} {
2819
+ .${n.dateCell} {
2807
2820
  display: flex;
2808
2821
  padding: var(--ds-size-5, 22px);
2809
2822
  flex-direction: column;
@@ -2823,7 +2836,7 @@ function po(t) {
2823
2836
  user-select: none;
2824
2837
  min-width: 0;
2825
2838
  }
2826
- .${t.dateNumberContainer} {
2839
+ .${n.dateNumberContainer} {
2827
2840
  display: flex;
2828
2841
  justify-content: center;
2829
2842
  align-items: center;
@@ -2835,12 +2848,12 @@ function po(t) {
2835
2848
  box-sizing: border-box;
2836
2849
  background-color: transparent;
2837
2850
  }
2838
- .${t.dateCell}:hover:not(.${t.otherMonth}):not(.${t.disabled}) {
2851
+ .${n.dateCell}:hover:not(.${n.otherMonth}):not(.${n.disabled}) {
2839
2852
  background-color: var(--ds-color-surface-hover, #eee);
2840
2853
  position: relative;
2841
2854
  z-index: 1;
2842
2855
  }
2843
- .${t.otherMonth} {
2856
+ .${n.otherMonth} {
2844
2857
  color: var(--ds-color-text-subtle, #aaa);
2845
2858
  cursor: default;
2846
2859
  pointer-events: none;
@@ -2848,261 +2861,261 @@ function po(t) {
2848
2861
  border: var(--ds-border-width-default, 1px) solid var(--ds-color-border-subtle, #bcbcbc);
2849
2862
  margin: -0.5px;
2850
2863
  }
2851
- .${t.selectedDate} {
2864
+ .${n.selectedDate} {
2852
2865
  background-color: var(--ds-color-base-default, #C30000);
2853
2866
  border-color: var(--ds-color-base-default, #C30000);
2854
2867
  color: var(--ds-color-base-contrast-default, #fff);
2855
2868
  position: relative;
2856
2869
  z-index: 1;
2857
2870
  }
2858
- .${t.selectedDate} .${t.dateNumberContainer} {
2871
+ .${n.selectedDate} .${n.dateNumberContainer} {
2859
2872
  color: var(--ds-color-base-contrast-default, #fff);
2860
2873
  font-weight: var(--ds-font-weight-semibold, 600);
2861
2874
  background-color: transparent;
2862
2875
  }
2863
- .${t.todayDate} .${t.dateNumberContainer} {
2876
+ .${n.todayDate} .${n.dateNumberContainer} {
2864
2877
  font-weight: var(--ds-font-weight-semibold, 600);
2865
2878
  }
2866
2879
  @media (max-width: 480px) {
2867
- .${t.calendarContainer} {
2880
+ .${n.calendarContainer} {
2868
2881
  padding: var(--ds-size-4, 16px);
2869
2882
  gap: var(--ds-size-2, 8px);
2870
2883
  width: 100%;
2871
2884
  }
2872
- .${t.monthYear} {
2885
+ .${n.monthYear} {
2873
2886
  font-size: var(--ds-heading-xs-font-size, 1.125rem);
2874
2887
  }
2875
- .${t.dayNameCell} {
2888
+ .${n.dayNameCell} {
2876
2889
  padding: var(--ds-size-1, 4px);
2877
2890
  font-size: var(--ds-body-2xs-font-size, 12px);
2878
2891
  }
2879
- .${t.dateCell} {
2892
+ .${n.dateCell} {
2880
2893
  padding: var(--ds-size-2, 8px);
2881
2894
  font-size: var(--ds-body-2xs-font-size, 12px);
2882
2895
  }
2883
- .${t.dateNumberContainer} {
2896
+ .${n.dateNumberContainer} {
2884
2897
  width: 20px;
2885
2898
  height: 20px;
2886
2899
  }
2887
2900
  }
2888
2901
  @media (max-width: 360px) {
2889
- .${t.calendarContainer} {
2902
+ .${n.calendarContainer} {
2890
2903
  padding: var(--ds-size-2, 8px);
2891
2904
  }
2892
- .${t.dayNameCell} {
2905
+ .${n.dayNameCell} {
2893
2906
  padding: 2px;
2894
2907
  font-size: 10px;
2895
2908
  }
2896
- .${t.dateCell} {
2909
+ .${n.dateCell} {
2897
2910
  padding: var(--ds-size-1, 4px);
2898
2911
  font-size: 11px;
2899
2912
  }
2900
- .${t.dateNumberContainer} {
2913
+ .${n.dateNumberContainer} {
2901
2914
  width: 16px;
2902
2915
  height: 16px;
2903
2916
  }
2904
2917
  }
2905
2918
  `;
2906
2919
  }
2907
- const mo = "_fieldset_16fx7_2", go = "_description_16fx7_14", uo = "_error_16fx7_21", ho = "_inputWrapper_16fx7_30", fo = "_inputWrapperError_16fx7_42", ko = "_suffixButton_16fx7_80", vo = "_suffixButtonInteractive_16fx7_100", le = {
2908
- fieldset: mo,
2909
- description: go,
2910
- error: uo,
2911
- inputWrapper: ho,
2912
- inputWrapperError: fo,
2913
- suffixButton: ko,
2914
- suffixButtonInteractive: vo
2915
- }, ze = (t) => {
2916
- const e = t.slice(0, 2), r = t.slice(2, 4), d = t.slice(4, 8);
2917
- return t.length > 4 ? `${e}.${r}.${d}` : t.length > 2 ? `${e}.${r}` : t.length > 0 ? e : "";
2918
- }, Re = (t) => (t || "").replace(/\D/g, ""), Ge = (t) => {
2919
- let e = t;
2920
+ const uo = "_fieldset_16fx7_2", ho = "_description_16fx7_14", fo = "_error_16fx7_21", ko = "_inputWrapper_16fx7_30", vo = "_inputWrapperError_16fx7_42", bo = "_suffixButton_16fx7_80", yo = "_suffixButtonInteractive_16fx7_100", de = {
2921
+ fieldset: uo,
2922
+ description: ho,
2923
+ error: fo,
2924
+ inputWrapper: ko,
2925
+ inputWrapperError: vo,
2926
+ suffixButton: bo,
2927
+ suffixButtonInteractive: yo
2928
+ }, ze = (n) => {
2929
+ const e = n.slice(0, 2), a = n.slice(2, 4), d = n.slice(4, 8);
2930
+ return n.length > 4 ? `${e}.${a}.${d}` : n.length > 2 ? `${e}.${a}` : n.length > 0 ? e : "";
2931
+ }, Re = (n) => (n || "").replace(/\D/g, ""), Ge = (n) => {
2932
+ let e = n;
2920
2933
  if (e.length >= 2) {
2921
- const r = parseInt(e.substring(0, 2), 10);
2922
- !isNaN(r) && r > 31 && (e = "31" + e.substring(2));
2934
+ const a = parseInt(e.substring(0, 2), 10);
2935
+ !isNaN(a) && a > 31 && (e = "31" + e.substring(2));
2923
2936
  }
2924
2937
  if (e.length >= 4) {
2925
- const r = parseInt(e.substring(2, 4), 10);
2926
- !isNaN(r) && r > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
2938
+ const a = parseInt(e.substring(2, 4), 10);
2939
+ !isNaN(a) && a > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
2927
2940
  }
2928
2941
  return e.slice(0, 8);
2929
- }, bo = ae(
2930
- (t, e) => {
2931
- const { t: r } = ye();
2932
- $(() => {
2933
- const N = "rk-dateinput-inline-styles";
2934
- if (typeof document > "u" || document.getElementById(N)) return;
2935
- const ie = yo(le), se = document.createElement("style");
2936
- se.id = N, se.textContent = ie, document.head.appendChild(se);
2942
+ }, xo = ie(
2943
+ (n, e) => {
2944
+ const { t: a } = Te();
2945
+ z(() => {
2946
+ const c = "rk-dateinput-inline-styles";
2947
+ if (typeof document > "u" || document.getElementById(c)) return;
2948
+ const w = To(de), $ = document.createElement("style");
2949
+ $.id = c, $.textContent = w, document.head.appendChild($);
2937
2950
  }, []);
2938
2951
  const {
2939
2952
  label: d,
2940
2953
  suffixIcon: h,
2941
- onSuffixClick: k,
2942
- className: u,
2954
+ onSuffixClick: f,
2955
+ className: m,
2943
2956
  // For ytre fieldset
2944
- inputWrapperClassName: x,
2957
+ inputWrapperClassName: k,
2945
2958
  // For input wrapper div
2946
- inputClassName: F,
2959
+ inputClassName: D,
2947
2960
  // For selve input-elementet
2948
- value: C,
2949
- defaultValue: U,
2950
- onChange: w,
2951
- readOnly: P,
2952
- placeholder: M = "dd.mm.åååå",
2953
- id: l,
2954
- name: te,
2955
- required: z,
2956
- disabled: B,
2957
- onClick: X,
2958
- onFocus: c,
2961
+ value: S,
2962
+ defaultValue: R,
2963
+ onChange: _,
2964
+ readOnly: V,
2965
+ placeholder: A = "dd.mm.åååå",
2966
+ id: p,
2967
+ name: K,
2968
+ required: X,
2969
+ disabled: j,
2970
+ onClick: q,
2971
+ onFocus: g,
2959
2972
  // Send ekstern onFocus videre
2960
- onBlur: A,
2973
+ onBlur: M,
2961
2974
  // Send ekstern onBlur videre
2962
- autoComplete: S = "off",
2963
- "aria-label": R,
2964
- "aria-labelledby": I,
2965
- description: G,
2966
- error: O,
2975
+ autoComplete: I = "off",
2976
+ "aria-label": F,
2977
+ "aria-labelledby": N,
2978
+ description: L,
2979
+ error: G,
2967
2980
  // Bruk error-prop for styling
2968
- "data-color": J,
2981
+ "data-color": ne,
2969
2982
  // <-- Destrukturering
2970
- "data-size": W,
2983
+ "data-size": H,
2971
2984
  // <-- Destrukturering
2972
- ...L
2973
- } = t, g = C !== void 0, f = Je(null);
2974
- Ne.useImperativeHandle(
2985
+ ...J
2986
+ } = n, T = S !== void 0, b = Qe(null);
2987
+ Ae.useImperativeHandle(
2975
2988
  e,
2976
- () => f.current
2989
+ () => b.current
2977
2990
  );
2978
- const b = re(
2979
- (N) => {
2980
- const ie = Re(N), se = Ge(ie);
2981
- return ze(se);
2991
+ const l = se(
2992
+ (c) => {
2993
+ const w = Re(c), $ = Ge(w);
2994
+ return ze($);
2982
2995
  },
2983
2996
  []
2984
- ), [y, ne] = Y(
2985
- () => b(C ?? U)
2997
+ ), [C, E] = O(
2998
+ () => l(S ?? R)
2986
2999
  );
2987
- $(() => {
2988
- if (g) {
2989
- const N = b(C);
2990
- N !== y && (ne(N), f.current && f.current.value !== N && (f.current.value = N));
3000
+ z(() => {
3001
+ if (T) {
3002
+ const c = l(S);
3003
+ c !== C && (E(c), b.current && b.current.value !== c && (b.current.value = c));
2991
3004
  }
2992
- }, [C, g, y, b]);
2993
- const Q = re(
2994
- (N) => {
2995
- const ie = N.target, se = ie.value, pe = y, we = Re(se).slice(0, 8), i = Ge(we), p = ze(i);
2996
- let v = 0;
2997
- const q = i.length;
2998
- q <= 2 ? v = q : q <= 4 ? v = q + 1 : v = q + 2, v = Math.min(v, p.length), requestAnimationFrame(() => {
2999
- if (f.current && (ne(p), f.current.value = p, f.current.setSelectionRange(v, v), (p !== pe || g) && w)) {
3000
- const Se = {
3001
- ...N,
3002
- target: { ...ie, value: p }
3005
+ }, [S, T, C, l]);
3006
+ const Y = se(
3007
+ (c) => {
3008
+ const w = c.target, $ = w.value, oe = C, re = Re($).slice(0, 8), pe = Ge(re), i = ze(pe);
3009
+ let u = 0;
3010
+ const x = pe.length;
3011
+ x <= 2 ? u = x : x <= 4 ? u = x + 1 : u = x + 2, u = Math.min(u, i.length), requestAnimationFrame(() => {
3012
+ if (b.current && (E(i), b.current.value = i, b.current.setSelectionRange(u, u), (i !== oe || T) && _)) {
3013
+ const ae = {
3014
+ ...c,
3015
+ target: { ...w, value: i }
3003
3016
  };
3004
- w(Se, p);
3017
+ _(ae, i);
3005
3018
  }
3006
3019
  });
3007
3020
  },
3008
- [y, g, w, b]
3009
- ), _ = [le.fieldset, u].filter(Boolean).join(" "), j = [
3010
- le.inputWrapper,
3011
- x,
3012
- O ? le.inputWrapperError : ""
3013
- ].filter(Boolean).join(" "), K = [
3014
- F
3015
- ].filter(Boolean).join(" "), T = [
3016
- le.suffixButton,
3017
- k ? le.suffixButtonInteractive : ""
3021
+ [C, T, _, l]
3022
+ ), y = [de.fieldset, m].filter(Boolean).join(" "), B = [
3023
+ de.inputWrapper,
3024
+ k,
3025
+ G ? de.inputWrapperError : ""
3026
+ ].filter(Boolean).join(" "), Q = [
3027
+ D
3028
+ ].filter(Boolean).join(" "), le = [
3029
+ de.suffixButton,
3030
+ f ? de.suffixButtonInteractive : ""
3018
3031
  ].filter(Boolean).join(" ");
3019
- !d && !R && !I && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
3020
- const Z = d && typeof d == "string" ? I || `${l}-label` : void 0, ce = G ? `${l}-desc` : void 0, m = O ? `${l}-err` : void 0, D = [ce, m].filter(Boolean).join(" ") || void 0;
3032
+ !d && !F && !N && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
3033
+ const v = d && typeof d == "string" ? N || `${p}-label` : void 0, Z = L ? `${p}-desc` : void 0, me = G ? `${p}-err` : void 0, ge = [Z, me].filter(Boolean).join(" ") || void 0;
3021
3034
  return (
3022
3035
  // --- Bruk data-color og data-size på den ytre wrapperen ---
3023
- /* @__PURE__ */ a(
3036
+ /* @__PURE__ */ r(
3024
3037
  "div",
3025
3038
  {
3026
- className: _,
3027
- "data-color": J,
3028
- "data-size": W,
3039
+ className: y,
3040
+ "data-color": ne,
3041
+ "data-size": H,
3029
3042
  children: [
3030
- d && typeof d == "string" ? /* @__PURE__ */ n("label", { id: Z, htmlFor: l, children: d }) : d,
3031
- G && /* @__PURE__ */ n("p", { id: ce, className: le.description, children: G }),
3032
- /* @__PURE__ */ a("div", { className: j, children: [
3033
- /* @__PURE__ */ n(
3043
+ d && typeof d == "string" ? /* @__PURE__ */ t("label", { id: v, htmlFor: p, children: d }) : d,
3044
+ L && /* @__PURE__ */ t("p", { id: Z, className: de.description, children: L }),
3045
+ /* @__PURE__ */ r("div", { className: B, children: [
3046
+ /* @__PURE__ */ t(
3034
3047
  "input",
3035
3048
  {
3036
- ref: f,
3049
+ ref: b,
3037
3050
  type: "text",
3038
3051
  inputMode: "numeric",
3039
3052
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
3040
3053
  maxLength: 10,
3041
- value: y,
3042
- readOnly: P,
3043
- placeholder: M,
3044
- id: l,
3045
- name: te,
3046
- required: z,
3047
- disabled: B,
3048
- onClick: X,
3049
- onChange: Q,
3050
- onFocus: c,
3051
- onBlur: A,
3052
- autoComplete: S,
3053
- "aria-label": R,
3054
- "aria-labelledby": Z,
3055
- "aria-describedby": D,
3056
- "aria-invalid": !!O,
3057
- className: K,
3058
- ...L
3054
+ value: C,
3055
+ readOnly: V,
3056
+ placeholder: A,
3057
+ id: p,
3058
+ name: K,
3059
+ required: X,
3060
+ disabled: j,
3061
+ onClick: q,
3062
+ onChange: Y,
3063
+ onFocus: g,
3064
+ onBlur: M,
3065
+ autoComplete: I,
3066
+ "aria-label": F,
3067
+ "aria-labelledby": v,
3068
+ "aria-describedby": ge,
3069
+ "aria-invalid": !!G,
3070
+ className: Q,
3071
+ ...J
3059
3072
  }
3060
3073
  ),
3061
- h && /* @__PURE__ */ n(
3074
+ h && /* @__PURE__ */ t(
3062
3075
  "button",
3063
3076
  {
3064
3077
  type: "button",
3065
- className: T,
3066
- onClick: B ? void 0 : k,
3067
- tabIndex: k && !B ? 0 : -1,
3068
- "aria-hidden": !k,
3069
- disabled: B,
3070
- "aria-label": k ? r("dateInput.openDatePicker") : void 0,
3078
+ className: le,
3079
+ onClick: j ? void 0 : f,
3080
+ tabIndex: f && !j ? 0 : -1,
3081
+ "aria-hidden": !f,
3082
+ disabled: j,
3083
+ "aria-label": f ? a("dateInput.openDatePicker") : void 0,
3071
3084
  children: h
3072
3085
  }
3073
3086
  )
3074
3087
  ] }),
3075
- O && /* @__PURE__ */ n("p", { id: m, className: le.error, role: "alert", children: O })
3088
+ G && /* @__PURE__ */ t("p", { id: me, className: de.error, role: "alert", children: G })
3076
3089
  ]
3077
3090
  }
3078
3091
  )
3079
3092
  );
3080
3093
  }
3081
3094
  );
3082
- bo.displayName = "DateInput";
3083
- function yo(t) {
3095
+ xo.displayName = "DateInput";
3096
+ function To(n) {
3084
3097
  return `
3085
- .${t.fieldset} {
3098
+ .${n.fieldset} {
3086
3099
  margin-bottom: var(--ds-spacing-4, 16px);
3087
3100
  }
3088
- .${t.fieldset} label {
3101
+ .${n.fieldset} label {
3089
3102
  display: block;
3090
3103
  margin-bottom: var(--ds-spacing-1, 4px);
3091
3104
  font-weight: var(--ds-font-weight-medium, 500);
3092
3105
  color: var(--ds-color-text-default, #2b2b2b);
3093
3106
  }
3094
- .${t.description} {
3107
+ .${n.description} {
3095
3108
  font-size: var(--ds-font-size-sm, 14px);
3096
3109
  color: var(--ds-color-text-subtle, #5d5d5d);
3097
3110
  margin-top: var(--ds-spacing-1, 4px);
3098
3111
  margin-bottom: var(--ds-spacing-2, 8px);
3099
3112
  }
3100
- .${t.error} {
3113
+ .${n.error} {
3101
3114
  font-size: var(--ds-font-size-sm, 14px);
3102
3115
  color: var(--ds-color-danger-text-default, #c30000);
3103
3116
  margin-top: var(--ds-spacing-1, 4px);
3104
3117
  }
3105
- .${t.inputWrapper} {
3118
+ .${n.inputWrapper} {
3106
3119
  display: flex;
3107
3120
  align-items: stretch;
3108
3121
  width: 100%;
@@ -3112,14 +3125,14 @@ function yo(t) {
3112
3125
  overflow: hidden;
3113
3126
  transition: border-color 0.1s ease-out, outline 0.1s ease-out;
3114
3127
  }
3115
- .${t.inputWrapperError} {
3128
+ .${n.inputWrapperError} {
3116
3129
  border-color: var(--ds-color-danger-border-default, #c30000);
3117
3130
  }
3118
- .${t.inputWrapper}:focus-within {
3131
+ .${n.inputWrapper}:focus-within {
3119
3132
  outline: var(--ds-border-width-focus, 3px) solid var(--ds-color-focus-outer, #2B2B2B);
3120
3133
  outline-offset: var(--ds-focus-outline-offset, 2px);
3121
3134
  }
3122
- .${t.inputWrapper} input {
3135
+ .${n.inputWrapper} input {
3123
3136
  box-sizing: border-box;
3124
3137
  flex-grow: 1;
3125
3138
  width: auto;
@@ -3135,13 +3148,13 @@ function yo(t) {
3135
3148
  appearance: none;
3136
3149
  -webkit-appearance: none;
3137
3150
  }
3138
- .${t.inputWrapper} input:disabled {
3151
+ .${n.inputWrapper} input:disabled {
3139
3152
  opacity: var(--ds-opacity-disabled, 0.5);
3140
3153
  cursor: not-allowed;
3141
3154
  background-color: var(--ds-color-neutral-surface-subtle, #f0f0f0);
3142
3155
  color: var(--ds-color-neutral-text-subtle, #5d5d5d);
3143
3156
  }
3144
- .${t.suffixButton} {
3157
+ .${n.suffixButton} {
3145
3158
  display: inline-flex;
3146
3159
  align-items: center;
3147
3160
  justify-content: center;
@@ -3158,14 +3171,14 @@ function yo(t) {
3158
3171
  cursor: default;
3159
3172
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
3160
3173
  }
3161
- .${t.suffixButtonInteractive} {
3174
+ .${n.suffixButtonInteractive} {
3162
3175
  cursor: pointer;
3163
3176
  }
3164
- .${t.suffixButtonInteractive}:hover:not(:disabled) {
3177
+ .${n.suffixButtonInteractive}:hover:not(:disabled) {
3165
3178
  color: var(--ds-color-text-default, #2b2b2b);
3166
3179
  background-color: var(--ds-color-surface-hover, #dadada);
3167
3180
  }
3168
- .${t.suffixButton}:disabled {
3181
+ .${n.suffixButton}:disabled {
3169
3182
  opacity: var(--ds-opacity-disabled, 0.3);
3170
3183
  cursor: not-allowed;
3171
3184
  background-color: var(--ds-color-neutral-surface-tinted, #e8e8e8);
@@ -3173,164 +3186,164 @@ function yo(t) {
3173
3186
  }
3174
3187
  `;
3175
3188
  }
3176
- const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slides_eo3g5_20", wo = "_slide_eo3g5_20", So = "_slideInner_eo3g5_40", Io = "_loaderOverlay_eo3g5_48", _o = "_image_eo3g5_58", Do = "_loaded_eo3g5_69", Ao = "_loading_eo3g5_73", Lo = "_empty_eo3g5_81", No = "_controls_eo3g5_87", Mo = "_arrows_eo3g5_97", jo = "_dots_eo3g5_107", Fo = "_dot_eo3g5_107", Bo = "_dotActive_eo3g5_133", H = {
3177
- carouselContainer: xo,
3178
- viewport: To,
3179
- slides: Co,
3180
- slide: wo,
3181
- slideInner: So,
3182
- loaderOverlay: Io,
3183
- image: _o,
3184
- loaded: Do,
3189
+ const Co = "_carouselContainer_eo3g5_1", wo = "_viewport_eo3g5_14", So = "_slides_eo3g5_20", Io = "_slide_eo3g5_20", _o = "_slideInner_eo3g5_40", Do = "_loaderOverlay_eo3g5_48", Lo = "_image_eo3g5_58", jo = "_loaded_eo3g5_69", Ao = "_loading_eo3g5_73", No = "_empty_eo3g5_81", Mo = "_controls_eo3g5_87", Fo = "_arrows_eo3g5_97", Bo = "_dots_eo3g5_107", Eo = "_dot_eo3g5_107", $o = "_dotActive_eo3g5_133", W = {
3190
+ carouselContainer: Co,
3191
+ viewport: wo,
3192
+ slides: So,
3193
+ slide: Io,
3194
+ slideInner: _o,
3195
+ loaderOverlay: Do,
3196
+ image: Lo,
3197
+ loaded: jo,
3185
3198
  loading: Ao,
3186
- empty: Lo,
3187
- controls: No,
3188
- arrows: Mo,
3189
- dots: jo,
3190
- dot: Fo,
3191
- dotActive: Bo
3192
- }, Eo = mt, $o = ({
3193
- images: t,
3199
+ empty: No,
3200
+ controls: Mo,
3201
+ arrows: Fo,
3202
+ dots: Bo,
3203
+ dot: Eo,
3204
+ dotActive: $o
3205
+ }, Po = gt, zo = ({
3206
+ images: n,
3194
3207
  autoPlay: e = !1,
3195
- autoDelay: r = 5,
3208
+ autoDelay: a = 5,
3196
3209
  showArrows: d = !0,
3197
3210
  showDots: h = !0,
3198
- variant: k,
3199
- slidesPerView: u = 1,
3200
- slideSpacing: x = 16,
3201
- cornerRadius: F = 0,
3202
- "data-color": C,
3203
- "data-size": U
3211
+ variant: f,
3212
+ slidesPerView: m = 1,
3213
+ slideSpacing: k = 16,
3214
+ cornerRadius: D = 0,
3215
+ "data-color": S,
3216
+ "data-size": R
3204
3217
  }) => {
3205
- const { t: w } = ye();
3206
- $(() => {
3207
- const f = "rk-carousel-inline-styles";
3208
- if (typeof document > "u" || document.getElementById(f)) return;
3209
- const b = Po(H), y = document.createElement("style");
3210
- y.id = f, y.textContent = b, document.head.appendChild(y);
3218
+ const { t: _ } = Te();
3219
+ z(() => {
3220
+ const b = "rk-carousel-inline-styles";
3221
+ if (typeof document > "u" || document.getElementById(b)) return;
3222
+ const l = Ro(W), C = document.createElement("style");
3223
+ C.id = b, C.textContent = l, document.head.appendChild(C);
3211
3224
  }, []);
3212
- const P = {
3225
+ const V = {
3213
3226
  loop: !0,
3214
3227
  align: "start",
3215
3228
  containScroll: "trimSnaps",
3216
3229
  slidesToScroll: 1
3217
- }, [M, l] = cn(P), [te, z] = Y(0), [B, X] = Y([]), [c, A] = Y([]);
3218
- $(() => {
3219
- A(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
3220
- }, [t]);
3221
- const S = re((f) => {
3222
- A((b) => {
3223
- const y = [...b];
3224
- return y[f] = !0, y;
3230
+ }, [A, p] = pn(V), [K, X] = O(0), [j, q] = O([]), [g, M] = O([]);
3231
+ z(() => {
3232
+ M(new Array((n == null ? void 0 : n.length) || 0).fill(!1));
3233
+ }, [n]);
3234
+ const I = se((b) => {
3235
+ M((l) => {
3236
+ const C = [...l];
3237
+ return C[b] = !0, C;
3225
3238
  });
3226
- }, []), R = ue(() => r * 1e3, [r]), I = re(() => {
3227
- l && z(l.selectedScrollSnap());
3228
- }, [l]), G = re((f) => l && l.scrollTo(f), [l]), O = re(() => l && l.scrollPrev(), [l]), J = re(() => l && l.scrollNext(), [l]);
3229
- $(() => {
3230
- if (l)
3231
- return l.on("select", I), l.on("reInit", I), X(l.scrollSnapList()), () => {
3232
- l.off("select", I), l.off("reInit", I);
3239
+ }, []), F = fe(() => a * 1e3, [a]), N = se(() => {
3240
+ p && X(p.selectedScrollSnap());
3241
+ }, [p]), L = se((b) => p && p.scrollTo(b), [p]), G = se(() => p && p.scrollPrev(), [p]), ne = se(() => p && p.scrollNext(), [p]);
3242
+ z(() => {
3243
+ if (p)
3244
+ return p.on("select", N), p.on("reInit", N), q(p.scrollSnapList()), () => {
3245
+ p.off("select", N), p.off("reInit", N);
3233
3246
  };
3234
- }, [l, I]), $(() => {
3235
- l && (l.reInit(), X(l.scrollSnapList()));
3236
- }, [l, t, u, x]), $(() => {
3237
- if (!e || !l || !t || t.length <= 1) return;
3238
- const f = window.setInterval(() => {
3239
- l.canScrollNext() && l.scrollNext();
3240
- }, R);
3247
+ }, [p, N]), z(() => {
3248
+ p && (p.reInit(), q(p.scrollSnapList()));
3249
+ }, [p, n, m, k]), z(() => {
3250
+ if (!e || !p || !n || n.length <= 1) return;
3251
+ const b = window.setInterval(() => {
3252
+ p.canScrollNext() && p.scrollNext();
3253
+ }, F);
3241
3254
  return () => {
3242
- window.clearInterval(f);
3255
+ window.clearInterval(b);
3243
3256
  };
3244
- }, [e, R, l, t]);
3245
- const W = Math.max(1, u), L = `${100 / W}%`, g = x / 2;
3246
- return /* @__PURE__ */ a(
3257
+ }, [e, F, p, n]);
3258
+ const H = Math.max(1, m), J = `${100 / H}%`, T = k / 2;
3259
+ return /* @__PURE__ */ r(
3247
3260
  "div",
3248
3261
  {
3249
- className: H.carouselContainer,
3250
- "data-color": C,
3251
- "data-size": U,
3252
- "data-variant": k,
3262
+ className: W.carouselContainer,
3263
+ "data-color": S,
3264
+ "data-size": R,
3265
+ "data-variant": f,
3253
3266
  children: [
3254
- /* @__PURE__ */ n("div", { className: H.viewport, ref: M, children: /* @__PURE__ */ n(
3267
+ /* @__PURE__ */ t("div", { className: W.viewport, ref: A, children: /* @__PURE__ */ t(
3255
3268
  "div",
3256
3269
  {
3257
- className: H.slides,
3270
+ className: W.slides,
3258
3271
  style: {
3259
- marginLeft: `-${g}px`,
3260
- marginRight: `-${g}px`
3272
+ marginLeft: `-${T}px`,
3273
+ marginRight: `-${T}px`
3261
3274
  },
3262
- children: t && t.length > 0 ? t.map((f, b) => /* @__PURE__ */ n(
3275
+ children: n && n.length > 0 ? n.map((b, l) => /* @__PURE__ */ t(
3263
3276
  "div",
3264
3277
  {
3265
- className: H.slide,
3278
+ className: W.slide,
3266
3279
  style: {
3267
- flex: `0 0 ${L}`,
3268
- paddingLeft: `${g}px`,
3269
- paddingRight: `${g}px`,
3270
- borderRadius: F > 0 ? `${F}px` : void 0,
3280
+ flex: `0 0 ${J}`,
3281
+ paddingLeft: `${T}px`,
3282
+ paddingRight: `${T}px`,
3283
+ borderRadius: D > 0 ? `${D}px` : void 0,
3271
3284
  overflow: "hidden"
3272
3285
  // Ensure radius clips content
3273
3286
  },
3274
- children: /* @__PURE__ */ a("div", { className: H.slideInner, style: { borderRadius: `${F}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
3275
- !c[b] && /* @__PURE__ */ n("div", { className: H.loaderOverlay, children: /* @__PURE__ */ n(Eo, { "aria-label": w("carousel.loading") }) }),
3276
- /* @__PURE__ */ n(
3287
+ children: /* @__PURE__ */ r("div", { className: W.slideInner, style: { borderRadius: `${D}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
3288
+ !g[l] && /* @__PURE__ */ t("div", { className: W.loaderOverlay, children: /* @__PURE__ */ t(Po, { "aria-label": _("carousel.loading") }) }),
3289
+ /* @__PURE__ */ t(
3277
3290
  "img",
3278
3291
  {
3279
- className: `${H.image} ${c[b] ? H.loaded : H.loadingImage}`,
3280
- src: f.src,
3281
- alt: f.alt,
3282
- loading: b < W ? "eager" : "lazy",
3292
+ className: `${W.image} ${g[l] ? W.loaded : W.loadingImage}`,
3293
+ src: b.src,
3294
+ alt: b.alt,
3295
+ loading: l < H ? "eager" : "lazy",
3283
3296
  crossOrigin: "anonymous",
3284
- onLoad: () => S(b),
3285
- onError: (y) => {
3286
- y.target.style.display = "none", S(b);
3297
+ onLoad: () => I(l),
3298
+ onError: (C) => {
3299
+ C.target.style.display = "none", I(l);
3287
3300
  }
3288
3301
  }
3289
3302
  )
3290
3303
  ] })
3291
3304
  },
3292
- `image-${b}-${f.src}`
3293
- )) : /* @__PURE__ */ n("div", { className: H.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ n("div", { className: H.empty, children: "Ingen bilder" }) })
3305
+ `image-${l}-${b.src}`
3306
+ )) : /* @__PURE__ */ t("div", { className: W.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ t("div", { className: W.empty, children: "Ingen bilder" }) })
3294
3307
  }
3295
3308
  ) }),
3296
- (d || h && t && t.length > 1) && /* @__PURE__ */ a("div", { className: H.controls, "aria-hidden": "false", children: [
3297
- d && /* @__PURE__ */ a("div", { className: H.arrows, children: [
3298
- /* @__PURE__ */ n(
3299
- de,
3309
+ (d || h && n && n.length > 1) && /* @__PURE__ */ r("div", { className: W.controls, "aria-hidden": "false", children: [
3310
+ d && /* @__PURE__ */ r("div", { className: W.arrows, children: [
3311
+ /* @__PURE__ */ t(
3312
+ ce,
3300
3313
  {
3301
3314
  variant: "primary",
3302
3315
  icon: !0,
3303
- "aria-label": w("carousel.previousImage"),
3304
- onClick: O,
3305
- disabled: !t || t.length <= 1,
3306
- children: /* @__PURE__ */ n(pn, { "aria-hidden": !0 })
3316
+ "aria-label": _("carousel.previousImage"),
3317
+ onClick: G,
3318
+ disabled: !n || n.length <= 1,
3319
+ children: /* @__PURE__ */ t(mn, { "aria-hidden": !0 })
3307
3320
  }
3308
3321
  ),
3309
- /* @__PURE__ */ n(
3310
- de,
3322
+ /* @__PURE__ */ t(
3323
+ ce,
3311
3324
  {
3312
3325
  variant: "primary",
3313
3326
  icon: !0,
3314
- "aria-label": w("carousel.nextImage"),
3315
- onClick: J,
3316
- disabled: !t || t.length <= 1,
3317
- children: /* @__PURE__ */ n(mn, { "aria-hidden": !0 })
3327
+ "aria-label": _("carousel.nextImage"),
3328
+ onClick: ne,
3329
+ disabled: !n || n.length <= 1,
3330
+ children: /* @__PURE__ */ t(gn, { "aria-hidden": !0 })
3318
3331
  }
3319
3332
  )
3320
3333
  ] }),
3321
- h && t && t.length > 1 && /* @__PURE__ */ n("div", { className: H.dots, role: "tablist", "aria-label": w("carousel.imagePosition"), children: B.map((f, b) => {
3322
- const y = b === te;
3323
- return /* @__PURE__ */ n(
3334
+ h && n && n.length > 1 && /* @__PURE__ */ t("div", { className: W.dots, role: "tablist", "aria-label": _("carousel.imagePosition"), children: j.map((b, l) => {
3335
+ const C = l === K;
3336
+ return /* @__PURE__ */ t(
3324
3337
  "button",
3325
3338
  {
3326
3339
  type: "button",
3327
- className: `${H.dot} ${y ? H.dotActive : ""}`,
3328
- onClick: () => G(b),
3329
- "aria-label": `${w("carousel.goToImage")} ${b + 1}`,
3330
- "aria-selected": y,
3340
+ className: `${W.dot} ${C ? W.dotActive : ""}`,
3341
+ onClick: () => L(l),
3342
+ "aria-label": `${_("carousel.goToImage")} ${l + 1}`,
3343
+ "aria-selected": C,
3331
3344
  role: "tab"
3332
3345
  },
3333
- `dot-${b}`
3346
+ `dot-${l}`
3334
3347
  );
3335
3348
  }) })
3336
3349
  ] })
@@ -3338,10 +3351,10 @@ const xo = "_carouselContainer_eo3g5_1", To = "_viewport_eo3g5_14", Co = "_slide
3338
3351
  }
3339
3352
  );
3340
3353
  };
3341
- $o.displayName = "Carousel";
3342
- function Po(t) {
3354
+ zo.displayName = "Carousel";
3355
+ function Ro(n) {
3343
3356
  return `
3344
- .${t.carouselContainer} {
3357
+ .${n.carouselContainer} {
3345
3358
  position: relative;
3346
3359
  display: block;
3347
3360
  width: 100%;
@@ -3353,12 +3366,12 @@ function Po(t) {
3353
3366
  box-sizing: border-box;
3354
3367
  max-width: 100%;
3355
3368
  }
3356
- .${t.viewport} {
3369
+ .${n.viewport} {
3357
3370
  overflow: hidden;
3358
3371
  width: 100%;
3359
3372
  height: 100%;
3360
3373
  }
3361
- .${t.slides} {
3374
+ .${n.slides} {
3362
3375
  display: flex;
3363
3376
  height: 100%;
3364
3377
  user-select: none;
@@ -3367,7 +3380,7 @@ function Po(t) {
3367
3380
  -moz-user-select: none;
3368
3381
  -ms-user-select: none;
3369
3382
  }
3370
- .${t.slide} {
3383
+ .${n.slide} {
3371
3384
  position: relative;
3372
3385
  min-width: 0;
3373
3386
  height: 100%;
@@ -3376,14 +3389,14 @@ function Po(t) {
3376
3389
  justify-content: center;
3377
3390
  box-sizing: border-box;
3378
3391
  }
3379
- .${t.slideInner} {
3392
+ .${n.slideInner} {
3380
3393
  position: relative;
3381
3394
  width: 100%;
3382
3395
  height: 100%;
3383
3396
  background-color: var(--ds-color-neutral-surface-subtle, #f5f5f5);
3384
3397
  overflow: hidden;
3385
3398
  }
3386
- .${t.loaderOverlay} {
3399
+ .${n.loaderOverlay} {
3387
3400
  position: absolute;
3388
3401
  inset: 0;
3389
3402
  display: flex;
@@ -3392,7 +3405,7 @@ function Po(t) {
3392
3405
  background-color: rgba(0, 0, 0, 0.05);
3393
3406
  z-index: 2;
3394
3407
  }
3395
- .${t.image} {
3408
+ .${n.image} {
3396
3409
  position: absolute;
3397
3410
  inset: 0;
3398
3411
  width: 100%;
@@ -3402,22 +3415,22 @@ function Po(t) {
3402
3415
  transition: opacity 0.3s ease-in-out;
3403
3416
  z-index: 1;
3404
3417
  }
3405
- .${t.image}.${t.loaded} {
3418
+ .${n.image}.${n.loaded} {
3406
3419
  opacity: 1;
3407
3420
  }
3408
- .${t.loading} {
3421
+ .${n.loading} {
3409
3422
  display: inline-flex;
3410
3423
  align-items: center;
3411
3424
  gap: var(--ds-size-2, 8px);
3412
3425
  color: var(--ds-color-text-subtle, #5d5d5d);
3413
3426
  font-size: var(--ds-font-size-sm, 14px);
3414
3427
  }
3415
- .${t.empty} {
3428
+ .${n.empty} {
3416
3429
  color: var(--ds-color-text-subtle, #5d5d5d);
3417
3430
  font-size: var(--ds-font-size-sm, 14px);
3418
3431
  text-align: center;
3419
3432
  }
3420
- .${t.controls} {
3433
+ .${n.controls} {
3421
3434
  position: absolute;
3422
3435
  inset: 0;
3423
3436
  display: flex;
@@ -3426,7 +3439,7 @@ function Po(t) {
3426
3439
  pointer-events: none;
3427
3440
  z-index: 10;
3428
3441
  }
3429
- .${t.arrows} {
3442
+ .${n.arrows} {
3430
3443
  display: flex;
3431
3444
  align-items: center;
3432
3445
  justify-content: space-between;
@@ -3435,7 +3448,7 @@ function Po(t) {
3435
3448
  box-sizing: border-box;
3436
3449
  pointer-events: auto;
3437
3450
  }
3438
- .${t.dots} {
3451
+ .${n.dots} {
3439
3452
  position: absolute;
3440
3453
  left: 50%;
3441
3454
  transform: translateX(-50%);
@@ -3448,7 +3461,7 @@ function Po(t) {
3448
3461
  padding: var(--ds-size-1, 4px) var(--ds-size-2, 8px);
3449
3462
  border-radius: 999px;
3450
3463
  }
3451
- .${t.dot} {
3464
+ .${n.dot} {
3452
3465
  width: 12px;
3453
3466
  height: 12px;
3454
3467
  border-radius: 999px;
@@ -3459,231 +3472,233 @@ function Po(t) {
3459
3472
  cursor: pointer;
3460
3473
  transition: all 0.2s ease;
3461
3474
  }
3462
- .${t.dotActive} {
3475
+ .${n.dotActive} {
3463
3476
  background-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
3464
3477
  border-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
3465
3478
  transform: scale(1.1);
3466
3479
  }
3467
3480
  @media (max-width: 640px) {
3468
- .${t.carouselContainer} {
3481
+ .${n.carouselContainer} {
3469
3482
  height: auto;
3470
3483
  min-height: 150px;
3471
3484
  aspect-ratio: 16 / 9;
3472
3485
  }
3473
- .${t.viewport} {
3486
+ .${n.viewport} {
3474
3487
  aspect-ratio: 16 / 9;
3475
3488
  height: auto;
3476
3489
  }
3477
- .${t.slides} {
3490
+ .${n.slides} {
3478
3491
  height: auto;
3479
3492
  min-height: 150px;
3480
3493
  }
3481
- .${t.slide} {
3494
+ .${n.slide} {
3482
3495
  height: auto;
3483
3496
  min-height: 150px;
3484
3497
  }
3485
- .${t.slideInner} {
3498
+ .${n.slideInner} {
3486
3499
  aspect-ratio: 16 / 9;
3487
3500
  height: auto;
3488
3501
  }
3489
- .${t.arrows} {
3502
+ .${n.arrows} {
3490
3503
  padding: 0 var(--ds-size-2, 8px);
3491
3504
  }
3492
- .${t.dots} {
3505
+ .${n.dots} {
3493
3506
  bottom: var(--ds-size-2, 8px);
3494
3507
  gap: var(--ds-size-1, 4px);
3495
3508
  }
3496
- .${t.dot} {
3509
+ .${n.dot} {
3497
3510
  width: 10px;
3498
3511
  height: 10px;
3499
3512
  }
3500
3513
  }
3501
3514
  @media (max-width: 400px) {
3502
- .${t.carouselContainer} {
3515
+ .${n.carouselContainer} {
3503
3516
  min-height: 120px;
3504
3517
  }
3505
- .${t.arrows} {
3518
+ .${n.arrows} {
3506
3519
  padding: 0 var(--ds-size-1, 4px);
3507
3520
  }
3508
- .${t.arrows} button {
3521
+ .${n.arrows} button {
3509
3522
  transform: scale(0.85);
3510
3523
  }
3511
3524
  }
3512
3525
  `;
3513
3526
  }
3514
- const zo = "_crossCorner_1caiu_1", Ro = "_shape_1caiu_6", Ae = {
3515
- crossCorner: zo,
3516
- shape: Ro
3527
+ const Go = "_crossCorner_1caiu_1", Wo = "_shape_1caiu_6", Le = {
3528
+ crossCorner: Go,
3529
+ shape: Wo
3517
3530
  };
3518
- function Go(t) {
3531
+ function Ho(n) {
3519
3532
  return `
3520
- .${t.crossCorner} {
3533
+ .${n.crossCorner} {
3521
3534
  display: inline-block;
3522
3535
  flex-shrink: 0;
3523
3536
  }
3524
- .${t.shape} {
3537
+ .${n.shape} {
3525
3538
  fill: var(--ds-color-base-default, #DA4236);
3526
3539
  }
3527
3540
  /* Color variants via data-color attribute */
3528
- .${t.crossCorner}[data-color="accent"] .${t.shape} {
3541
+ .${n.crossCorner}[data-color="accent"] .${n.shape} {
3529
3542
  fill: var(--ds-color-accent-base-default, #DA4236);
3530
3543
  }
3531
- .${t.crossCorner}[data-color="brand1"] .${t.shape} {
3544
+ .${n.crossCorner}[data-color="brand1"] .${n.shape} {
3532
3545
  fill: var(--ds-color-brand1-base-default, #DA4236);
3533
3546
  }
3534
- .${t.crossCorner}[data-color="brand2"] .${t.shape} {
3547
+ .${n.crossCorner}[data-color="brand2"] .${n.shape} {
3535
3548
  fill: var(--ds-color-brand2-base-default, #1E2B3C);
3536
3549
  }
3537
- .${t.crossCorner}[data-color="brand3"] .${t.shape} {
3550
+ .${n.crossCorner}[data-color="brand3"] .${n.shape} {
3538
3551
  fill: var(--ds-color-brand3-base-default, #F5F5F5);
3539
3552
  }
3540
- .${t.crossCorner}[data-color="neutral"] .${t.shape} {
3553
+ .${n.crossCorner}[data-color="neutral"] .${n.shape} {
3541
3554
  fill: var(--ds-color-neutral-base-default, #5D5D5D);
3542
3555
  }
3543
3556
  `;
3544
3557
  }
3545
- const Wo = {
3558
+ const Uo = {
3546
3559
  sm: 48,
3547
3560
  md: 68,
3548
3561
  lg: 96
3549
- }, Ho = {
3562
+ }, Vo = {
3550
3563
  "top-left": 270,
3551
3564
  "top-right": 0,
3552
3565
  "bottom-right": 90,
3553
3566
  "bottom-left": 180
3554
- }, ve = ae(
3567
+ }, ye = ie(
3555
3568
  ({
3556
- position: t = "top-left",
3569
+ position: n = "top-left",
3557
3570
  size: e = "md",
3558
- className: r,
3571
+ className: a,
3559
3572
  "aria-label": d,
3560
3573
  "aria-hidden": h = !0,
3561
- "data-color": k,
3562
- "data-size": u,
3563
- ...x
3564
- }, F) => {
3565
- $(() => {
3566
- const w = "rk-crosscorner-inline-styles";
3567
- if (typeof document > "u" || document.getElementById(w)) return;
3568
- const P = Go(Ae), M = document.createElement("style");
3569
- M.id = w, M.textContent = P, document.head.appendChild(M);
3574
+ "data-color": f,
3575
+ "data-size": m,
3576
+ ...k
3577
+ }, D) => {
3578
+ z(() => {
3579
+ const _ = "rk-crosscorner-inline-styles";
3580
+ if (typeof document > "u" || document.getElementById(_)) return;
3581
+ const V = Ho(Le), A = document.createElement("style");
3582
+ A.id = _, A.textContent = V, document.head.appendChild(A);
3570
3583
  }, []);
3571
- const C = Wo[e], U = Ho[t];
3572
- return /* @__PURE__ */ n(
3584
+ const S = Uo[e], R = Vo[n];
3585
+ return /* @__PURE__ */ t(
3573
3586
  "svg",
3574
3587
  {
3575
- ref: F,
3576
- className: `${Ae.crossCorner} ${r || ""}`,
3577
- width: C,
3578
- height: C,
3588
+ ref: D,
3589
+ className: `${Le.crossCorner} ${a || ""}`,
3590
+ width: S,
3591
+ height: S,
3579
3592
  viewBox: "0 0 68 68",
3580
3593
  fill: "none",
3581
3594
  xmlns: "http://www.w3.org/2000/svg",
3582
3595
  "aria-label": d,
3583
3596
  "aria-hidden": h,
3584
3597
  role: h ? void 0 : "img",
3585
- "data-color": k,
3586
- "data-size": u,
3598
+ "data-color": f,
3599
+ "data-size": m,
3587
3600
  style: {
3588
- transform: U ? `rotate(${U}deg)` : void 0
3601
+ transform: R ? `rotate(${R}deg)` : void 0
3589
3602
  },
3590
- ...x,
3591
- children: /* @__PURE__ */ n(
3603
+ ...k,
3604
+ children: /* @__PURE__ */ t(
3592
3605
  "path",
3593
3606
  {
3594
3607
  d: "M68 0V33.8203H67.998V68H34.1777V33.8203H0V0H68Z",
3595
- className: Ae.shape
3608
+ className: Le.shape
3596
3609
  }
3597
3610
  )
3598
3611
  }
3599
3612
  );
3600
3613
  }
3601
3614
  );
3602
- ve.displayName = "CrossCorner";
3603
- const Es = gt, $s = ut, Ps = ht, V = ft, zs = xt, Rs = Tt, Gs = vt, Ws = yt, Hs = bt, Us = kt, Vs = Ct, Os = wt, Uo = It, Vo = St;
3604
- Uo.displayName = "Field.Description";
3605
- Vo.displayName = "Field.Counter";
3606
- const Ks = Ue, Oo = ae((t, e) => /* @__PURE__ */ n(_t, { ref: e, ...t }));
3607
- Oo.displayName = "Heading";
3608
- const Ze = Dt;
3615
+ ye.displayName = "CrossCorner";
3616
+ const ei = ut, ti = ht, ni = ft, U = kt, oi = Tt, ri = Ct, ai = bt, si = xt, ii = yt, li = vt, di = wt, ci = St, Oo = _t, Ko = It;
3617
+ Oo.displayName = "Field.Description";
3618
+ Ko.displayName = "Field.Counter";
3619
+ const pi = Ue, qo = ie((n, e) => /* @__PURE__ */ t(Dt, { ref: e, ...n }));
3620
+ qo.displayName = "Heading";
3621
+ const Ze = Lt;
3609
3622
  Ze.displayName = "Input";
3610
- const Ko = ae((t, e) => /* @__PURE__ */ n(At, { ref: e, ...t }));
3611
- Ko.displayName = "Label";
3612
- const oe = Lt, qs = Nt, qo = Mt, Ys = Bt, Zs = Ft, Xs = jt, Js = Et;
3613
- qo.displayName = "Pagination";
3614
- const be = ae(
3615
- (t, e) => /* @__PURE__ */ n($t, { ref: e, ...t })
3623
+ const Yo = ie((n, e) => /* @__PURE__ */ t(jt, { ref: e, ...n }));
3624
+ Yo.displayName = "Label";
3625
+ const te = At, mi = Nt, Zo = Mt, gi = Et, ui = Bt, hi = Ft, fi = $t;
3626
+ Zo.displayName = "Pagination";
3627
+ const xe = ie(
3628
+ (n, e) => /* @__PURE__ */ t(Pt, { ref: e, ...n })
3616
3629
  );
3617
- be.displayName = "Paragraph";
3618
- const Qs = Pt, ei = zt, ti = Rt, xe = Object.assign(Gt, {
3619
- Button: Ut,
3620
- ClearButton: Ht,
3621
- Input: Wt
3622
- }), ni = Vt, oi = Ot, ri = Kt, Yo = qt;
3623
- Yo.displayName = "Suggestion";
3624
- const Le = Yt, ai = Zt, Te = Xt, Zo = ae(function({ shape: e, ...r }, d) {
3625
- const h = {};
3626
- return e === "rounded" && (h["data-shape"] = "rounded"), /* @__PURE__ */ n(Jt, { ref: d, ...r, ...h });
3630
+ xe.displayName = "Paragraph";
3631
+ const ki = zt, vi = Rt, bi = Gt, Ce = Object.assign(Wt, {
3632
+ Button: Vt,
3633
+ ClearButton: Ut,
3634
+ Input: Ht
3635
+ }), yi = Ot, xi = Kt, Ti = qt, Xo = Yt;
3636
+ Xo.displayName = "Suggestion";
3637
+ const je = Zt, Ci = Xt, we = Jt, Jo = ie(function({ shape: e, style: a, ...d }, h) {
3638
+ const f = {};
3639
+ e === "rounded" && (f.borderRadius = "var(--ds-border-radius-xl)");
3640
+ const m = Object.keys(f).length === 0 && !a ? void 0 : { ...f, ...a }, k = {};
3641
+ return e === "rounded" && (k["data-shape"] = "rounded"), /* @__PURE__ */ t(Qt, { ref: h, ...d, ...k, style: m });
3627
3642
  });
3628
- Zo.displayName = "Tag";
3629
- const si = Qt, Xo = en, ii = tn, li = nn, Jo = ae((t, e) => /* @__PURE__ */ n(on, { ref: e, ...t }));
3630
- Jo.displayName = "ValidationMessage";
3631
- const Qo = "_header_p2hri_1", er = "_languageSwitch_p2hri_37", tr = "_searchOverlay_p2hri_41", nr = "_headerExtension_p2hri_46", or = "_headerExtensionTinted_p2hri_75", rr = "_languageLabel_p2hri_83", ar = "_languageLink_p2hri_88", sr = "_extensionContent_p2hri_93", ir = "_extensionDivider_p2hri_98", lr = "_extensionContentWrapper_p2hri_103", dr = "_headerInner_p2hri_199", cr = "_logoWrapper_p2hri_216", pr = "_logo_p2hri_216", mr = "_secondaryLogoWrapper_p2hri_239", gr = "_slotComponent_p2hri_248", ur = "_slotContainer_p2hri_258", hr = "_slotText_p2hri_266", fr = "_secondaryLogo_p2hri_239", kr = "_redCrossLogo_p2hri_293", vr = "_primaryLogo_p2hri_299", br = "_navItems_p2hri_303", yr = "_navLink_p2hri_312", xr = "_actions_p2hri_325", Tr = "_ctaButton_p2hri_333", Cr = "_themeToggle_p2hri_338", wr = "_userInfo_p2hri_343", Sr = "_userName_p2hri_349", Ir = "_loginLink_p2hri_356", _r = "_loginText_p2hri_365", Dr = "_underline_p2hri_372", Ar = "_searchButtonWrapper_p2hri_378", Lr = "_buttonText_p2hri_382", Nr = "_menuButton_p2hri_387", Mr = "_menuOverlay_p2hri_410", jr = "_searchContent_p2hri_444", Fr = "_menuContent_p2hri_454", Br = "_menuLeftColumn_p2hri_463", Er = "_menuRightColumn_p2hri_469", $r = "_slotContent_p2hri_483", Pr = "_navList_p2hri_496", zr = "_menuUtilities_p2hri_503", Rr = "_menuBrand_p2hri_510", Gr = "_suggestionsSection_p2hri_514", Wr = "_suggestionsTitle_p2hri_520", Hr = "_searchResults_p2hri_529", Ur = "_resultList_p2hri_535", Vr = "_resultItem_p2hri_541", Or = "_resultLink_p2hri_549", Kr = "_suggestionIcon_p2hri_563", qr = "_suggestionText_p2hri_576", Yr = "_highlightedText_p2hri_583", Zr = "_remainingText_p2hri_588", Xr = "_viewAllLink_p2hri_601", Jr = "_noResults_p2hri_636", s = {
3632
- header: Qo,
3633
- languageSwitch: er,
3634
- searchOverlay: tr,
3635
- headerExtension: nr,
3636
- headerExtensionTinted: or,
3637
- languageLabel: rr,
3638
- languageLink: ar,
3639
- extensionContent: sr,
3640
- extensionDivider: ir,
3641
- extensionContentWrapper: lr,
3642
- headerInner: dr,
3643
- logoWrapper: cr,
3644
- logo: pr,
3645
- secondaryLogoWrapper: mr,
3646
- slotComponent: gr,
3647
- slotContainer: ur,
3648
- slotText: hr,
3649
- secondaryLogo: fr,
3650
- redCrossLogo: kr,
3651
- primaryLogo: vr,
3652
- navItems: br,
3653
- navLink: yr,
3654
- actions: xr,
3655
- ctaButton: Tr,
3656
- themeToggle: Cr,
3657
- userInfo: wr,
3658
- userName: Sr,
3659
- loginLink: Ir,
3660
- loginText: _r,
3661
- underline: Dr,
3643
+ Jo.displayName = "Tag";
3644
+ const wi = en, Qo = tn, Si = nn, Ii = on, er = ie((n, e) => /* @__PURE__ */ t(rn, { ref: e, ...n }));
3645
+ er.displayName = "ValidationMessage";
3646
+ const tr = "_header_1h8vy_1", nr = "_languageSwitch_1h8vy_37", or = "_searchOverlay_1h8vy_41", rr = "_headerExtension_1h8vy_46", ar = "_headerExtensionTinted_1h8vy_75", sr = "_languageLabel_1h8vy_83", ir = "_languageLink_1h8vy_88", lr = "_extensionContent_1h8vy_93", dr = "_extensionDivider_1h8vy_98", cr = "_extensionContentWrapper_1h8vy_103", pr = "_headerInner_1h8vy_199", mr = "_logoWrapper_1h8vy_216", gr = "_logo_1h8vy_216", ur = "_secondaryLogoWrapper_1h8vy_239", hr = "_slotComponent_1h8vy_248", fr = "_slotContainer_1h8vy_258", kr = "_slotText_1h8vy_266", vr = "_secondaryLogo_1h8vy_239", br = "_redCrossLogo_1h8vy_293", yr = "_primaryLogo_1h8vy_299", xr = "_navItems_1h8vy_303", Tr = "_navLink_1h8vy_312", Cr = "_actions_1h8vy_325", wr = "_ctaButton_1h8vy_333", Sr = "_themeToggle_1h8vy_338", Ir = "_userInfo_1h8vy_343", _r = "_userName_1h8vy_349", Dr = "_loginLink_1h8vy_356", Lr = "_loginText_1h8vy_365", jr = "_underline_1h8vy_372", Ar = "_searchButtonWrapper_1h8vy_378", Nr = "_buttonText_1h8vy_382", Mr = "_menuButton_1h8vy_387", Fr = "_menuOverlay_1h8vy_410", Br = "_searchContent_1h8vy_444", Er = "_menuContent_1h8vy_454", $r = "_menuLeftColumn_1h8vy_463", Pr = "_menuRightColumn_1h8vy_469", zr = "_slotContent_1h8vy_483", Rr = "_navList_1h8vy_496", Gr = "_menuUtilities_1h8vy_503", Wr = "_menuBrand_1h8vy_510", Hr = "_suggestionsSection_1h8vy_514", Ur = "_suggestionsTitle_1h8vy_520", Vr = "_searchResults_1h8vy_529", Or = "_resultList_1h8vy_535", Kr = "_resultItem_1h8vy_541", qr = "_resultLink_1h8vy_549", Yr = "_suggestionIcon_1h8vy_563", Zr = "_suggestionText_1h8vy_576", Xr = "_highlightedText_1h8vy_583", Jr = "_remainingText_1h8vy_588", Qr = "_viewAllLink_1h8vy_601", ea = "_noResults_1h8vy_636", s = {
3647
+ header: tr,
3648
+ languageSwitch: nr,
3649
+ searchOverlay: or,
3650
+ headerExtension: rr,
3651
+ headerExtensionTinted: ar,
3652
+ languageLabel: sr,
3653
+ languageLink: ir,
3654
+ extensionContent: lr,
3655
+ extensionDivider: dr,
3656
+ extensionContentWrapper: cr,
3657
+ headerInner: pr,
3658
+ logoWrapper: mr,
3659
+ logo: gr,
3660
+ secondaryLogoWrapper: ur,
3661
+ slotComponent: hr,
3662
+ slotContainer: fr,
3663
+ slotText: kr,
3664
+ secondaryLogo: vr,
3665
+ redCrossLogo: br,
3666
+ primaryLogo: yr,
3667
+ navItems: xr,
3668
+ navLink: Tr,
3669
+ actions: Cr,
3670
+ ctaButton: wr,
3671
+ themeToggle: Sr,
3672
+ userInfo: Ir,
3673
+ userName: _r,
3674
+ loginLink: Dr,
3675
+ loginText: Lr,
3676
+ underline: jr,
3662
3677
  searchButtonWrapper: Ar,
3663
- buttonText: Lr,
3664
- menuButton: Nr,
3665
- menuOverlay: Mr,
3666
- searchContent: jr,
3667
- menuContent: Fr,
3668
- menuLeftColumn: Br,
3669
- menuRightColumn: Er,
3670
- slotContent: $r,
3671
- navList: Pr,
3672
- menuUtilities: zr,
3673
- menuBrand: Rr,
3674
- suggestionsSection: Gr,
3675
- suggestionsTitle: Wr,
3676
- searchResults: Hr,
3677
- resultList: Ur,
3678
- resultItem: Vr,
3679
- resultLink: Or,
3680
- suggestionIcon: Kr,
3681
- suggestionText: qr,
3682
- highlightedText: Yr,
3683
- remainingText: Zr,
3684
- viewAllLink: Xr,
3685
- noResults: Jr
3686
- }, Qr = [
3678
+ buttonText: Nr,
3679
+ menuButton: Mr,
3680
+ menuOverlay: Fr,
3681
+ searchContent: Br,
3682
+ menuContent: Er,
3683
+ menuLeftColumn: $r,
3684
+ menuRightColumn: Pr,
3685
+ slotContent: zr,
3686
+ navList: Rr,
3687
+ menuUtilities: Gr,
3688
+ menuBrand: Wr,
3689
+ suggestionsSection: Hr,
3690
+ suggestionsTitle: Ur,
3691
+ searchResults: Vr,
3692
+ resultList: Or,
3693
+ resultItem: Kr,
3694
+ resultLink: qr,
3695
+ suggestionIcon: Yr,
3696
+ suggestionText: Zr,
3697
+ highlightedText: Xr,
3698
+ remainingText: Jr,
3699
+ viewAllLink: Qr,
3700
+ noResults: ea
3701
+ }, ta = [
3687
3702
  // Pages
3688
3703
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
3689
3704
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -3747,47 +3762,48 @@ const Qo = "_header_p2hri_1", er = "_languageSwitch_p2hri_37", tr = "_searchOver
3747
3762
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
3748
3763
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
3749
3764
  ];
3750
- function ea(t) {
3751
- return t.split(/\s+/).map((e) => e[0] ?? "").join("").slice(0, 2).toUpperCase();
3752
- }
3753
- const di = ({
3754
- "data-color": t = "primary",
3755
- activePage: e,
3756
- setPage: r,
3757
- children: d,
3758
- showUser: h = !0,
3759
- showSearch: k = !0,
3760
- showLogin: u = !0,
3761
- showCta: x = !1,
3762
- ctaLabel: F,
3763
- ctaIcon: C = /* @__PURE__ */ n(gn, { "aria-hidden": !0 }),
3764
- onCtaClick: U,
3765
- showThemeToggle: w = !1,
3766
- secondaryLogo: P = !1,
3767
- secondaryLogoSrc: M,
3768
- secondaryLogoSrcDark: l,
3769
- secondaryLogoAlt: te = "Secondary Logo",
3770
- navItems: z,
3771
- showNavItems: B = !0,
3772
- showMenuButton: X = !0,
3773
- showHeaderExtension: c = !1,
3774
- showModeToggle: A = !1,
3775
- showLanguageSwitch: S = !1,
3776
- extensionColor: R,
3777
- buttonStyle: I = "default",
3765
+ function na(n) {
3766
+ return n.split(/\s+/).map((e) => e[0] ?? "").join("").slice(0, 2).toUpperCase();
3767
+ }
3768
+ const _i = ({
3769
+ variant: n = "default",
3770
+ "data-color": e = "primary",
3771
+ activePage: a,
3772
+ setPage: d,
3773
+ children: h,
3774
+ showUser: f = !0,
3775
+ showSearch: m = !0,
3776
+ showLogin: k = !0,
3777
+ showCta: D = !1,
3778
+ ctaLabel: S,
3779
+ ctaIcon: R = /* @__PURE__ */ t(un, { "aria-hidden": !0 }),
3780
+ onCtaClick: _,
3781
+ showThemeToggle: V = !1,
3782
+ secondaryLogo: A = !1,
3783
+ secondaryLogoSrc: p,
3784
+ secondaryLogoSrcDark: K,
3785
+ secondaryLogoAlt: X = "Secondary Logo",
3786
+ navItems: j,
3787
+ showNavItems: q = !0,
3788
+ showMenuButton: g = !0,
3789
+ showHeaderExtension: M = !1,
3790
+ showModeToggle: I = !1,
3791
+ showLanguageSwitch: F = !1,
3792
+ extensionColor: N,
3793
+ buttonStyle: L = "default",
3778
3794
  userName: G,
3779
- userInitials: O,
3780
- userAvatarSrc: J,
3781
- onUserClick: W
3795
+ userInitials: ne,
3796
+ userAvatarSrc: H,
3797
+ onUserClick: J
3782
3798
  }) => {
3783
- const [L, g] = Y(!1), [f, b] = Y(!1), [y, ne] = Y(""), [Q, _] = Y("light"), { language: j, setLanguage: K, t: T } = ye(), [Z, ce] = Y(!1);
3784
- $(() => {
3799
+ const [T, b] = O(!1), [l, C] = O(!1), [E, Y] = O(""), [y, B] = O("light"), { language: Q, setLanguage: le, t: v } = Te(), [Z, me] = O(!1);
3800
+ z(() => {
3785
3801
  const i = "rk-header-inline-styles";
3786
3802
  if (typeof document > "u" || document.getElementById(i)) return;
3787
- const p = ta(s), v = document.createElement("style");
3788
- v.id = i, v.textContent = p, document.head.appendChild(v);
3803
+ const u = oa(s), x = document.createElement("style");
3804
+ x.id = i, x.textContent = u, document.head.appendChild(x);
3789
3805
  }, []);
3790
- const m = () => /* @__PURE__ */ a(
3806
+ const ge = () => /* @__PURE__ */ r(
3791
3807
  "svg",
3792
3808
  {
3793
3809
  width: "170",
@@ -3799,225 +3815,225 @@ const di = ({
3799
3815
  focusable: "false",
3800
3816
  className: s.redCrossLogo,
3801
3817
  children: [
3802
- /* @__PURE__ */ n("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
3803
- /* @__PURE__ */ n("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
3804
- /* @__PURE__ */ n("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
3805
- /* @__PURE__ */ n("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
3806
- /* @__PURE__ */ n("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
3807
- /* @__PURE__ */ n("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
3808
- /* @__PURE__ */ n("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
3809
- /* @__PURE__ */ n("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
3810
- /* @__PURE__ */ n("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
3811
- /* @__PURE__ */ n("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
3818
+ /* @__PURE__ */ t("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
3819
+ /* @__PURE__ */ t("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
3820
+ /* @__PURE__ */ t("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
3821
+ /* @__PURE__ */ t("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
3822
+ /* @__PURE__ */ t("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
3823
+ /* @__PURE__ */ t("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
3824
+ /* @__PURE__ */ t("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
3825
+ /* @__PURE__ */ t("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
3826
+ /* @__PURE__ */ t("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
3827
+ /* @__PURE__ */ t("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
3812
3828
  ]
3813
3829
  }
3814
3830
  );
3815
- $(() => {
3816
- g(!1), b(!1), ne("");
3817
- }, [e]), $(() => {
3818
- if (!(typeof document > "u") && L && Z) {
3831
+ z(() => {
3832
+ b(!1), C(!1), Y("");
3833
+ }, [a]), z(() => {
3834
+ if (!(typeof document > "u") && T && Z) {
3819
3835
  const i = document.body.style.overflow;
3820
3836
  return document.body.style.overflow = "hidden", () => {
3821
3837
  document.body.style.overflow = i;
3822
3838
  };
3823
3839
  }
3824
- }, [L, Z]), $(() => {
3840
+ }, [T, Z]), z(() => {
3825
3841
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
3826
- const i = window.matchMedia("(max-width: 850px)"), p = (v) => ce("matches" in v ? v.matches : i.matches);
3827
- return p(i), i.addEventListener ? i.addEventListener("change", p) : i.addListener(p), () => {
3828
- i.removeEventListener ? i.removeEventListener("change", p) : i.removeListener(p);
3842
+ const i = window.matchMedia("(max-width: 850px)"), u = (x) => me("matches" in x ? x.matches : i.matches);
3843
+ return u(i), i.addEventListener ? i.addEventListener("change", u) : i.addListener(u), () => {
3844
+ i.removeEventListener ? i.removeEventListener("change", u) : i.removeListener(u);
3829
3845
  };
3830
- }, []), $(() => {
3846
+ }, []), z(() => {
3831
3847
  if (typeof document > "u") return;
3832
3848
  const i = document.querySelector(`.${s.header}`);
3833
3849
  if (!i) return;
3834
- const p = () => {
3835
- const q = i.offsetHeight;
3836
- document.documentElement.style.setProperty("--header-height-mobile", `${q}px`);
3850
+ const u = () => {
3851
+ const ae = i.offsetHeight;
3852
+ document.documentElement.style.setProperty("--header-height-mobile", `${ae}px`);
3837
3853
  };
3838
- p(), window.addEventListener("resize", p);
3839
- const v = new ResizeObserver(() => {
3840
- p();
3854
+ u(), window.addEventListener("resize", u);
3855
+ const x = new ResizeObserver(() => {
3856
+ u();
3841
3857
  });
3842
- return v.observe(i), () => {
3843
- window.removeEventListener("resize", p), v.disconnect();
3858
+ return x.observe(i), () => {
3859
+ window.removeEventListener("resize", u), x.disconnect();
3844
3860
  };
3845
- }, [Z]), $(() => {
3861
+ }, [Z]), z(() => {
3846
3862
  if (typeof document > "u") return;
3847
3863
  const i = document.querySelector(`.${s.logoWrapper}`);
3848
3864
  if (!i) return;
3849
- const p = () => {
3850
- const v = i.offsetWidth;
3851
- document.documentElement.style.setProperty("--rk-logo-width", `${v}px`);
3865
+ const u = () => {
3866
+ const x = i.offsetWidth;
3867
+ document.documentElement.style.setProperty("--rk-logo-width", `${x}px`);
3852
3868
  };
3853
- return p(), window.addEventListener("resize", p), () => window.removeEventListener("resize", p);
3854
- }, [Z]), $(() => {
3855
- if (typeof document > "u" || !f) {
3869
+ return u(), window.addEventListener("resize", u), () => window.removeEventListener("resize", u);
3870
+ }, [Z]), z(() => {
3871
+ if (typeof document > "u" || !l) {
3856
3872
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
3857
3873
  return;
3858
3874
  }
3859
3875
  const i = document.querySelector(`.${s.searchOverlay}`);
3860
3876
  if (!i) return;
3861
- const p = () => {
3862
- const q = i.offsetHeight;
3863
- document.documentElement.style.setProperty("--rk-search-overlay-height", `${q}px`);
3877
+ const u = () => {
3878
+ const ae = i.offsetHeight;
3879
+ document.documentElement.style.setProperty("--rk-search-overlay-height", `${ae}px`);
3864
3880
  };
3865
- requestAnimationFrame(p), window.addEventListener("resize", p);
3866
- const v = new ResizeObserver(p);
3867
- return v.observe(i), () => {
3868
- window.removeEventListener("resize", p), v.disconnect();
3881
+ requestAnimationFrame(u), window.addEventListener("resize", u);
3882
+ const x = new ResizeObserver(u);
3883
+ return x.observe(i), () => {
3884
+ window.removeEventListener("resize", u), x.disconnect();
3869
3885
  };
3870
- }, [f]);
3871
- const D = () => {
3872
- const i = Q === "light" ? "dark" : "light";
3873
- _(i), document.documentElement.setAttribute("data-color-scheme", i);
3874
- }, N = (i) => {
3875
- r && (i.preventDefault(), r("home")), g(!1), b(!1);
3876
- }, ie = () => {
3877
- g(!L), f && b(!1), !L && typeof document < "u" && requestAnimationFrame(() => {
3886
+ }, [l]);
3887
+ const c = () => {
3888
+ const i = y === "light" ? "dark" : "light";
3889
+ B(i), document.documentElement.setAttribute("data-color-scheme", i);
3890
+ }, w = (i) => {
3891
+ d && (i.preventDefault(), d("home")), b(!1), C(!1);
3892
+ }, $ = () => {
3893
+ b(!T), l && C(!1), !T && typeof document < "u" && requestAnimationFrame(() => {
3878
3894
  const i = document.querySelector(`.${s.header}`);
3879
3895
  if (i) {
3880
- const p = i.offsetHeight;
3881
- document.documentElement.style.setProperty("--header-height-mobile", `${p}px`);
3896
+ const u = i.offsetHeight;
3897
+ document.documentElement.style.setProperty("--header-height-mobile", `${u}px`);
3882
3898
  }
3883
3899
  });
3884
- }, se = () => {
3885
- b(!f), L && g(!1);
3886
- }, pe = ue(() => {
3887
- if (!y.trim()) return [];
3888
- const i = y.toLowerCase();
3889
- return Qr.filter(
3890
- (p) => p.title.toLowerCase().startsWith(i)
3900
+ }, oe = () => {
3901
+ C(!l), T && b(!1);
3902
+ }, re = fe(() => {
3903
+ if (!E.trim()) return [];
3904
+ const i = E.toLowerCase();
3905
+ return ta.filter(
3906
+ (u) => u.title.toLowerCase().startsWith(i)
3891
3907
  );
3892
- }, [y]), we = (i) => {
3893
- r && r(i), b(!1), ne("");
3908
+ }, [E]), pe = (i) => {
3909
+ d && d(i), C(!1), Y("");
3894
3910
  };
3895
- return /* @__PURE__ */ a("header", { className: s.header, "data-open": L ? "true" : "false", "data-color": t, "data-button-style": I, children: [
3896
- c && /* @__PURE__ */ n("div", { className: `${s.headerExtension}${R === "tinted" ? ` ${s.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": R, children: /* @__PURE__ */ a("div", { className: s.extensionContentWrapper, children: [
3897
- A && /* @__PURE__ */ n("div", { className: s.extensionContent, children: /* @__PURE__ */ n(
3898
- Le,
3911
+ return /* @__PURE__ */ r("header", { className: s.header, "data-open": T ? "true" : "false", "data-color": e, "data-button-style": L, "data-variant": n, children: [
3912
+ M && /* @__PURE__ */ t("div", { className: `${s.headerExtension}${N === "tinted" ? ` ${s.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": N, children: /* @__PURE__ */ r("div", { className: s.extensionContentWrapper, children: [
3913
+ I && /* @__PURE__ */ t("div", { className: s.extensionContent, children: /* @__PURE__ */ t(
3914
+ je,
3899
3915
  {
3900
3916
  "data-size": "sm",
3901
- checked: Q === "dark",
3902
- onChange: D,
3903
- label: T("header.darkMode"),
3917
+ checked: y === "dark",
3918
+ onChange: c,
3919
+ label: v("header.darkMode"),
3904
3920
  color: "neutral",
3905
3921
  "data-color-scheme": "light"
3906
3922
  }
3907
3923
  ) }),
3908
- A && S && /* @__PURE__ */ n("div", { className: s.extensionDivider }),
3909
- S && /* @__PURE__ */ a("div", { className: s.languageSwitch, children: [
3910
- /* @__PURE__ */ n("span", { className: s.languageLabel, children: T("header.language") }),
3911
- /* @__PURE__ */ a(V.TriggerContext, { children: [
3912
- /* @__PURE__ */ a(
3913
- V.Trigger,
3924
+ I && F && /* @__PURE__ */ t("div", { className: s.extensionDivider }),
3925
+ F && /* @__PURE__ */ r("div", { className: s.languageSwitch, children: [
3926
+ /* @__PURE__ */ t("span", { className: s.languageLabel, children: v("header.language") }),
3927
+ /* @__PURE__ */ r(U.TriggerContext, { children: [
3928
+ /* @__PURE__ */ r(
3929
+ U.Trigger,
3914
3930
  {
3915
3931
  className: s.languageLink,
3916
- "aria-label": T("header.selectLanguage"),
3932
+ "aria-label": v("header.selectLanguage"),
3917
3933
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
3918
3934
  children: [
3919
- j,
3935
+ Q,
3920
3936
  " ",
3921
- /* @__PURE__ */ n(Be, { "aria-hidden": !0 })
3937
+ /* @__PURE__ */ t(Be, { "aria-hidden": !0 })
3922
3938
  ]
3923
3939
  }
3924
3940
  ),
3925
- /* @__PURE__ */ n(
3926
- V,
3941
+ /* @__PURE__ */ t(
3942
+ U,
3927
3943
  {
3928
- "data-color-scheme": Q,
3944
+ "data-color-scheme": y,
3929
3945
  placement: "bottom-end",
3930
- children: /* @__PURE__ */ a(V.List, { children: [
3931
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
3932
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("EN"), children: "English (EN)" }) })
3946
+ children: /* @__PURE__ */ r(U.List, { children: [
3947
+ /* @__PURE__ */ t(U.Item, { children: /* @__PURE__ */ t(U.Button, { onClick: () => le("NO"), children: "Norsk (NO)" }) }),
3948
+ /* @__PURE__ */ t(U.Item, { children: /* @__PURE__ */ t(U.Button, { onClick: () => le("EN"), children: "English (EN)" }) })
3933
3949
  ] })
3934
3950
  }
3935
3951
  )
3936
3952
  ] })
3937
3953
  ] })
3938
3954
  ] }) }),
3939
- /* @__PURE__ */ a("div", { className: s.headerInner, children: [
3940
- /* @__PURE__ */ a("div", { className: s.logoWrapper, children: [
3941
- /* @__PURE__ */ n(
3942
- oe,
3955
+ /* @__PURE__ */ r("div", { className: s.headerInner, children: [
3956
+ /* @__PURE__ */ r("div", { className: s.logoWrapper, children: [
3957
+ /* @__PURE__ */ t(
3958
+ te,
3943
3959
  {
3944
3960
  href: "/",
3945
3961
  className: `${s.logo} ${s.primaryLogo}`,
3946
- "aria-label": T("header.homeAriaLabel"),
3947
- onClick: N,
3948
- children: /* @__PURE__ */ n(m, {})
3962
+ "aria-label": v("header.homeAriaLabel"),
3963
+ onClick: w,
3964
+ children: /* @__PURE__ */ t(ge, {})
3949
3965
  }
3950
3966
  ),
3951
- /* @__PURE__ */ n("div", { className: s.secondaryLogoWrapper, children: P && M ? /* @__PURE__ */ n(
3967
+ /* @__PURE__ */ t("div", { className: s.secondaryLogoWrapper, children: A && p ? /* @__PURE__ */ t(
3952
3968
  "img",
3953
3969
  {
3954
- src: Q === "dark" && l ? l : M,
3955
- alt: te,
3970
+ src: y === "dark" && K ? K : p,
3971
+ alt: X,
3956
3972
  className: s.secondaryLogo
3957
3973
  }
3958
- ) : P ? /* @__PURE__ */ n("div", { className: s.slotComponent, children: /* @__PURE__ */ n("div", { className: s.slotContainer, children: /* @__PURE__ */ n("p", { className: s.slotText, children: "SLOT" }) }) }) : null })
3974
+ ) : A ? /* @__PURE__ */ t("div", { className: s.slotComponent, children: /* @__PURE__ */ t("div", { className: s.slotContainer, children: /* @__PURE__ */ t("p", { className: s.slotText, children: "SLOT" }) }) }) : null })
3959
3975
  ] }),
3960
- B && z && z.length > 0 && !Z && /* @__PURE__ */ n("nav", { className: s.navItems, children: z.map((i, p) => /* @__PURE__ */ n(
3961
- oe,
3976
+ q && j && j.length > 0 && !Z && /* @__PURE__ */ t("nav", { className: s.navItems, children: j.map((i, u) => /* @__PURE__ */ t(
3977
+ te,
3962
3978
  {
3963
3979
  href: i.href,
3964
3980
  className: s.navLink,
3965
- onClick: (v) => {
3966
- r && (v.preventDefault(), r(i.href));
3981
+ onClick: (x) => {
3982
+ d && (x.preventDefault(), d(i.href));
3967
3983
  },
3968
3984
  children: i.label
3969
3985
  },
3970
- p
3986
+ u
3971
3987
  )) }),
3972
- /* @__PURE__ */ a("div", { className: s.actions, children: [
3973
- x && /* @__PURE__ */ a(
3974
- de,
3988
+ /* @__PURE__ */ r("div", { className: s.actions, children: [
3989
+ D && /* @__PURE__ */ r(
3990
+ ce,
3975
3991
  {
3976
3992
  variant: "primary",
3977
3993
  "data-color": "main",
3978
3994
  "data-size": "md",
3979
3995
  className: s.ctaButton,
3980
- onClick: U,
3996
+ onClick: _,
3981
3997
  children: [
3982
- C,
3983
- /* @__PURE__ */ n("span", { className: C ? s.buttonText : void 0, children: F || T("header.supportUs") })
3998
+ R,
3999
+ /* @__PURE__ */ t("span", { className: R ? s.buttonText : void 0, children: S || v("header.supportUs") })
3984
4000
  ]
3985
4001
  }
3986
4002
  ),
3987
- !c && w && /* @__PURE__ */ n("div", { className: s.themeToggle, children: /* @__PURE__ */ n(
3988
- Le,
4003
+ !M && V && /* @__PURE__ */ t("div", { className: s.themeToggle, children: /* @__PURE__ */ t(
4004
+ je,
3989
4005
  {
3990
- checked: Q === "dark",
3991
- onChange: D,
3992
- "aria-label": T("header.toggleTheme")
4006
+ checked: y === "dark",
4007
+ onChange: c,
4008
+ "aria-label": v("header.toggleTheme")
3993
4009
  }
3994
4010
  ) }),
3995
- h && (() => {
3996
- const i = G ?? "Frodo Baggins", p = O ?? (G ? ea(G) : "FB"), v = !!W;
3997
- return /* @__PURE__ */ a(
4011
+ f && (() => {
4012
+ const i = G ?? "Frodo Baggins", u = ne ?? (G ? na(G) : "FB"), x = !!J;
4013
+ return /* @__PURE__ */ r(
3998
4014
  "div",
3999
4015
  {
4000
4016
  className: s.userInfo,
4001
- onClick: W,
4002
- role: v ? "button" : void 0,
4003
- tabIndex: v ? 0 : void 0,
4004
- onKeyDown: v ? (q) => {
4005
- (q.key === "Enter" || q.key === " ") && (q.preventDefault(), W == null || W());
4017
+ onClick: J,
4018
+ role: x ? "button" : void 0,
4019
+ tabIndex: x ? 0 : void 0,
4020
+ onKeyDown: x ? (ae) => {
4021
+ (ae.key === "Enter" || ae.key === " ") && (ae.preventDefault(), J == null || J());
4006
4022
  } : void 0,
4007
- style: v ? { cursor: "pointer" } : void 0,
4023
+ style: x ? { cursor: "pointer" } : void 0,
4008
4024
  children: [
4009
- /* @__PURE__ */ n(be, { "data-size": "md", className: s.userName, children: i }),
4010
- /* @__PURE__ */ n(
4025
+ /* @__PURE__ */ t(xe, { "data-size": "md", className: s.userName, children: i }),
4026
+ /* @__PURE__ */ t(
4011
4027
  Ke,
4012
4028
  {
4013
4029
  "aria-label": i,
4014
4030
  "data-color": "main",
4015
4031
  variant: "circle",
4016
- initials: J ? void 0 : p,
4017
- children: J ? /* @__PURE__ */ n(
4032
+ initials: H ? void 0 : u,
4033
+ children: H ? /* @__PURE__ */ t(
4018
4034
  "img",
4019
4035
  {
4020
- src: J,
4036
+ src: H,
4021
4037
  alt: "",
4022
4038
  style: { width: "100%", height: "100%", objectFit: "cover" }
4023
4039
  }
@@ -4028,175 +4044,175 @@ const di = ({
4028
4044
  }
4029
4045
  );
4030
4046
  })(),
4031
- u && /* @__PURE__ */ a("a", { href: "#", className: s.loginLink, children: [
4032
- /* @__PURE__ */ n(be, { "data-size": "md", className: s.loginText, children: T("header.login") }),
4033
- /* @__PURE__ */ n("div", { className: s.underline })
4047
+ k && /* @__PURE__ */ r("a", { href: "#", className: s.loginLink, children: [
4048
+ /* @__PURE__ */ t(xe, { "data-size": "md", className: s.loginText, children: v("header.login") }),
4049
+ /* @__PURE__ */ t("div", { className: s.underline })
4034
4050
  ] }),
4035
- k && /* @__PURE__ */ n("div", { className: s.searchButtonWrapper, children: /* @__PURE__ */ a(
4036
- de,
4051
+ m && /* @__PURE__ */ t("div", { className: s.searchButtonWrapper, children: /* @__PURE__ */ r(
4052
+ ce,
4037
4053
  {
4038
4054
  variant: "secondary",
4039
- shape: I === "soft" ? "pill" : void 0,
4040
- "data-color": I === "soft" ? "neutral" : "main",
4055
+ shape: L === "soft" ? "pill" : void 0,
4056
+ "data-color": L === "soft" ? "neutral" : "main",
4041
4057
  "data-size": "md",
4042
- onClick: se,
4043
- "aria-expanded": f,
4044
- "aria-label": T(f ? "header.closeSearch" : "header.openSearch"),
4058
+ onClick: oe,
4059
+ "aria-expanded": l,
4060
+ "aria-label": v(l ? "header.closeSearch" : "header.openSearch"),
4045
4061
  children: [
4046
- f ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }),
4047
- /* @__PURE__ */ n("span", { className: s.buttonText, children: T(f ? "header.close" : "header.search") })
4062
+ l ? /* @__PURE__ */ t(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ t(Ee, { "aria-hidden": !0 }),
4063
+ /* @__PURE__ */ t("span", { className: s.buttonText, children: v(l ? "header.close" : "header.search") })
4048
4064
  ]
4049
4065
  }
4050
4066
  ) }),
4051
- (X || Z) && /* @__PURE__ */ n(
4052
- de,
4067
+ (g || Z) && /* @__PURE__ */ t(
4068
+ ce,
4053
4069
  {
4054
- variant: I === "soft" ? "soft" : "primary",
4055
- shape: I === "soft" ? "pill" : void 0,
4070
+ variant: L === "soft" ? "soft" : "primary",
4071
+ shape: L === "soft" ? "pill" : void 0,
4056
4072
  "data-color": "main",
4057
4073
  "data-size": "md",
4058
- onClick: ie,
4059
- "aria-expanded": L,
4060
- "aria-label": T(L ? "header.closeMenu" : "header.openMenu"),
4074
+ onClick: $,
4075
+ "aria-expanded": T,
4076
+ "aria-label": v(T ? "header.closeMenu" : "header.openMenu"),
4061
4077
  className: s.menuButton,
4062
- children: I === "soft" ? /* @__PURE__ */ a(Ce, { children: [
4063
- /* @__PURE__ */ n("span", { className: s.buttonText, children: T(L ? "header.close" : "header.menu") }),
4064
- L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 })
4065
- ] }) : /* @__PURE__ */ a(Ce, { children: [
4066
- L ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 }),
4067
- /* @__PURE__ */ n("span", { className: s.buttonText, children: T(L ? "header.close" : "header.menu") })
4078
+ children: L === "soft" ? /* @__PURE__ */ r(Se, { children: [
4079
+ /* @__PURE__ */ t("span", { className: s.buttonText, children: v(T ? "header.close" : "header.menu") }),
4080
+ T ? /* @__PURE__ */ t(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ t($e, { "aria-hidden": !0 })
4081
+ ] }) : /* @__PURE__ */ r(Se, { children: [
4082
+ T ? /* @__PURE__ */ t(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ t($e, { "aria-hidden": !0 }),
4083
+ /* @__PURE__ */ t("span", { className: s.buttonText, children: v(T ? "header.close" : "header.menu") })
4068
4084
  ] })
4069
4085
  }
4070
4086
  )
4071
4087
  ] })
4072
4088
  ] }),
4073
- L && /* @__PURE__ */ n("div", { className: s.menuOverlay, children: /* @__PURE__ */ a("div", { className: s.menuContent, children: [
4074
- /* @__PURE__ */ n("div", { className: s.menuLeftColumn }),
4075
- /* @__PURE__ */ a("div", { className: s.menuRightColumn, children: [
4076
- Z && (S || A) && /* @__PURE__ */ a("div", { className: s.menuUtilities, children: [
4077
- S && /* @__PURE__ */ a("div", { className: s.languageSwitch, children: [
4078
- /* @__PURE__ */ n("span", { className: s.languageLabel, children: T("header.language") }),
4079
- /* @__PURE__ */ a(V.TriggerContext, { children: [
4080
- /* @__PURE__ */ a(
4081
- V.Trigger,
4089
+ T && /* @__PURE__ */ t("div", { className: s.menuOverlay, children: /* @__PURE__ */ r("div", { className: s.menuContent, children: [
4090
+ /* @__PURE__ */ t("div", { className: s.menuLeftColumn }),
4091
+ /* @__PURE__ */ r("div", { className: s.menuRightColumn, children: [
4092
+ Z && (F || I) && /* @__PURE__ */ r("div", { className: s.menuUtilities, children: [
4093
+ F && /* @__PURE__ */ r("div", { className: s.languageSwitch, children: [
4094
+ /* @__PURE__ */ t("span", { className: s.languageLabel, children: v("header.language") }),
4095
+ /* @__PURE__ */ r(U.TriggerContext, { children: [
4096
+ /* @__PURE__ */ r(
4097
+ U.Trigger,
4082
4098
  {
4083
4099
  className: s.languageLink,
4084
- "aria-label": T("header.selectLanguage"),
4100
+ "aria-label": v("header.selectLanguage"),
4085
4101
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4086
4102
  children: [
4087
- j,
4103
+ Q,
4088
4104
  " ",
4089
- /* @__PURE__ */ n(Be, { "aria-hidden": !0 })
4105
+ /* @__PURE__ */ t(Be, { "aria-hidden": !0 })
4090
4106
  ]
4091
4107
  }
4092
4108
  ),
4093
- /* @__PURE__ */ n(
4094
- V,
4109
+ /* @__PURE__ */ t(
4110
+ U,
4095
4111
  {
4096
- "data-color-scheme": Q,
4112
+ "data-color-scheme": y,
4097
4113
  placement: "bottom-start",
4098
- children: /* @__PURE__ */ a(V.List, { children: [
4099
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
4100
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("EN"), children: "English (EN)" }) })
4114
+ children: /* @__PURE__ */ r(U.List, { children: [
4115
+ /* @__PURE__ */ t(U.Item, { children: /* @__PURE__ */ t(U.Button, { onClick: () => le("NO"), children: "Norsk (NO)" }) }),
4116
+ /* @__PURE__ */ t(U.Item, { children: /* @__PURE__ */ t(U.Button, { onClick: () => le("EN"), children: "English (EN)" }) })
4101
4117
  ] })
4102
4118
  }
4103
4119
  )
4104
4120
  ] })
4105
4121
  ] }),
4106
- A && /* @__PURE__ */ n("div", { className: s.extensionContent, children: /* @__PURE__ */ n(
4107
- Le,
4122
+ I && /* @__PURE__ */ t("div", { className: s.extensionContent, children: /* @__PURE__ */ t(
4123
+ je,
4108
4124
  {
4109
4125
  "data-size": "sm",
4110
- checked: Q === "dark",
4111
- onChange: D,
4112
- label: T("header.darkMode"),
4126
+ checked: y === "dark",
4127
+ onChange: c,
4128
+ label: v("header.darkMode"),
4113
4129
  color: "neutral",
4114
4130
  "data-color-scheme": "light"
4115
4131
  }
4116
4132
  ) })
4117
4133
  ] }),
4118
- /* @__PURE__ */ a("div", { className: s.slotContent, children: [
4119
- d,
4120
- Z && B && z && z.length > 0 && /* @__PURE__ */ n("nav", { className: s.navList, children: z.map((i, p) => /* @__PURE__ */ n(
4121
- oe,
4134
+ /* @__PURE__ */ r("div", { className: s.slotContent, children: [
4135
+ h,
4136
+ Z && q && j && j.length > 0 && /* @__PURE__ */ t("nav", { className: s.navList, children: j.map((i, u) => /* @__PURE__ */ t(
4137
+ te,
4122
4138
  {
4123
4139
  href: i.href,
4124
4140
  className: s.navLink,
4125
- onClick: (v) => {
4126
- r && (v.preventDefault(), r(i.href));
4141
+ onClick: (x) => {
4142
+ d && (x.preventDefault(), d(i.href));
4127
4143
  },
4128
4144
  children: i.label
4129
4145
  },
4130
- p
4146
+ u
4131
4147
  )) })
4132
4148
  ] }),
4133
- Z && /* @__PURE__ */ n("div", { className: s.menuBrand, children: /* @__PURE__ */ n(m, {}) })
4149
+ Z && /* @__PURE__ */ t("div", { className: s.menuBrand, children: /* @__PURE__ */ t(ge, {}) })
4134
4150
  ] })
4135
4151
  ] }) }),
4136
- f && /* @__PURE__ */ n("div", { className: s.searchOverlay, children: /* @__PURE__ */ a("div", { className: s.searchContent, children: [
4137
- /* @__PURE__ */ a(xe, { children: [
4138
- /* @__PURE__ */ n(
4139
- xe.Input,
4152
+ l && /* @__PURE__ */ t("div", { className: s.searchOverlay, children: /* @__PURE__ */ r("div", { className: s.searchContent, children: [
4153
+ /* @__PURE__ */ r(Ce, { children: [
4154
+ /* @__PURE__ */ t(
4155
+ Ce.Input,
4140
4156
  {
4141
- "aria-label": T("header.search"),
4142
- placeholder: T("header.searchPlaceholder"),
4143
- value: y,
4144
- onChange: (i) => ne(i.target.value)
4157
+ "aria-label": v("header.search"),
4158
+ placeholder: v("header.searchPlaceholder"),
4159
+ value: E,
4160
+ onChange: (i) => Y(i.target.value)
4145
4161
  }
4146
4162
  ),
4147
- /* @__PURE__ */ n(xe.Button, { "aria-label": T("header.search") }),
4148
- /* @__PURE__ */ n(xe.ClearButton, { onClick: () => ne(""), "aria-label": T("header.clearSearch") })
4163
+ /* @__PURE__ */ t(Ce.Button, { "aria-label": v("header.search") }),
4164
+ /* @__PURE__ */ t(Ce.ClearButton, { onClick: () => Y(""), "aria-label": v("header.clearSearch") })
4149
4165
  ] }),
4150
- y && /* @__PURE__ */ n("div", { className: s.searchResults, children: pe.length > 0 ? /* @__PURE__ */ a("div", { className: s.suggestionsSection, children: [
4151
- /* @__PURE__ */ n("h3", { className: s.suggestionsTitle, children: T("header.suggestions") }),
4152
- /* @__PURE__ */ n("ul", { className: s.resultList, children: pe.slice(0, 5).map((i) => /* @__PURE__ */ n("li", { className: s.resultItem, children: /* @__PURE__ */ a(
4166
+ E && /* @__PURE__ */ t("div", { className: s.searchResults, children: re.length > 0 ? /* @__PURE__ */ r("div", { className: s.suggestionsSection, children: [
4167
+ /* @__PURE__ */ t("h3", { className: s.suggestionsTitle, children: v("header.suggestions") }),
4168
+ /* @__PURE__ */ t("ul", { className: s.resultList, children: re.slice(0, 5).map((i) => /* @__PURE__ */ t("li", { className: s.resultItem, children: /* @__PURE__ */ r(
4153
4169
  "button",
4154
4170
  {
4155
4171
  className: s.resultLink,
4156
- onClick: () => we(i.path),
4172
+ onClick: () => pe(i.path),
4157
4173
  children: [
4158
- /* @__PURE__ */ n("span", { className: s.suggestionIcon, children: /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }) }),
4159
- /* @__PURE__ */ n("span", { className: s.suggestionText, children: (() => {
4160
- const p = i.title.toLowerCase().indexOf(y.toLowerCase());
4161
- if (p === -1) return /* @__PURE__ */ n("span", { className: s.remainingText, children: i.title });
4162
- const v = i.title.slice(0, p), q = i.title.slice(p, p + y.length), Se = i.title.slice(p + y.length);
4163
- return /* @__PURE__ */ a(Ce, { children: [
4164
- /* @__PURE__ */ n("span", { className: s.remainingText, children: v }),
4165
- /* @__PURE__ */ n("span", { className: s.highlightedText, children: q }),
4166
- /* @__PURE__ */ n("span", { className: s.remainingText, children: Se })
4174
+ /* @__PURE__ */ t("span", { className: s.suggestionIcon, children: /* @__PURE__ */ t(Ee, { "aria-hidden": !0 }) }),
4175
+ /* @__PURE__ */ t("span", { className: s.suggestionText, children: (() => {
4176
+ const u = i.title.toLowerCase().indexOf(E.toLowerCase());
4177
+ if (u === -1) return /* @__PURE__ */ t("span", { className: s.remainingText, children: i.title });
4178
+ const x = i.title.slice(0, u), ae = i.title.slice(u, u + E.length), Xe = i.title.slice(u + E.length);
4179
+ return /* @__PURE__ */ r(Se, { children: [
4180
+ /* @__PURE__ */ t("span", { className: s.remainingText, children: x }),
4181
+ /* @__PURE__ */ t("span", { className: s.highlightedText, children: ae }),
4182
+ /* @__PURE__ */ t("span", { className: s.remainingText, children: Xe })
4167
4183
  ] });
4168
4184
  })() })
4169
4185
  ]
4170
4186
  }
4171
4187
  ) }, i.id)) }),
4172
- pe.length > 5 && /* @__PURE__ */ a(
4173
- oe,
4188
+ re.length > 5 && /* @__PURE__ */ r(
4189
+ te,
4174
4190
  {
4175
4191
  href: "#",
4176
4192
  "data-color": "neutral",
4177
4193
  className: s.viewAllLink,
4178
4194
  onClick: (i) => {
4179
- i.preventDefault(), r && r(`search/${y}`), b(!1), ne("");
4195
+ i.preventDefault(), d && d(`search/${E}`), C(!1), Y("");
4180
4196
  },
4181
4197
  children: [
4182
- T("header.viewAll"),
4198
+ v("header.viewAll"),
4183
4199
  " (",
4184
- pe.length,
4200
+ re.length,
4185
4201
  ")"
4186
4202
  ]
4187
4203
  }
4188
4204
  )
4189
- ] }) : /* @__PURE__ */ n("div", { className: s.noResults, children: /* @__PURE__ */ a(be, { children: [
4190
- T("header.noResults"),
4205
+ ] }) : /* @__PURE__ */ t("div", { className: s.noResults, children: /* @__PURE__ */ r(xe, { children: [
4206
+ v("header.noResults"),
4191
4207
  ' "',
4192
- y,
4208
+ E,
4193
4209
  '"'
4194
4210
  ] }) }) })
4195
4211
  ] }) })
4196
4212
  ] });
4197
4213
  };
4198
- function ta(t) {
4199
- const e = t;
4214
+ function oa(n) {
4215
+ const e = n;
4200
4216
  return `
4201
4217
  .${e.header} {
4202
4218
  width: 100%;
@@ -4368,97 +4384,115 @@ function ta(t) {
4368
4384
  }
4369
4385
  `;
4370
4386
  }
4371
- const na = "_footer_1l5de_1", oa = "_mainSection_1l5de_7", ra = "_mainContainer_1l5de_25", aa = "_crossCornerTopRight_1l5de_35", sa = "_crossCornerBottomLeft_1l5de_42", ia = "_contentRow_1l5de_50", la = "_newsletterSection_1l5de_60", da = "_newsletterDescription_1l5de_67", ca = "_newsletterForm_1l5de_76", pa = "_newsletterInputGroup_1l5de_82", ma = "_newsletterInput_1l5de_82", ga = "_consentText_1l5de_93", ua = "_linksSection_1l5de_103", ha = "_linksColumn_1l5de_109", fa = "_linksTitle_1l5de_116", ka = "_linksList_1l5de_127", va = "_footerLink_1l5de_136", ba = "_divider_1l5de_158", ya = "_contactSection_1l5de_166", xa = "_contactColumn_1l5de_173", Ta = "_contactTitle_1l5de_181", Ca = "_contactContent_1l5de_190", wa = "_copyrightSection_1l5de_204", Sa = "_copyrightText_1l5de_209", Ia = "_whiteSection_1l5de_219", _a = "_whiteContainer_1l5de_224", Da = "_whiteContent_1l5de_232", Aa = "_logo_1l5de_240", La = "_redCrossLogo_1l5de_254", Na = "_slotLarge_1l5de_260", Ma = "_contentRowContact_1l5de_315", ja = "_socialLinksSection_1l5de_325", Fa = "_socialLinksTitle_1l5de_332", Ba = "_socialLinksList_1l5de_343", Ea = "_socialLink_1l5de_325", $a = "_socialLinkIcon_1l5de_376", Pa = "_contactPersonsSection_1l5de_391", za = "_contactPersonsTitle_1l5de_398", Ra = "_contactPersonsGrid_1l5de_409", Ga = "_contactPersonCard_1l5de_415", Wa = "_contactPersonName_1l5de_422", Ha = "_contactPersonRole_1l5de_431", Ua = "_contactPersonDetails_1l5de_440", Va = "_contactPersonLabel_1l5de_447", Oa = "_contactPersonEmail_1l5de_451", Ka = "_contactPersonPhone_1l5de_452", qa = "_contactPersonAddress_1l5de_453", Ya = "_bottomRowContact_1l5de_474", Za = "_legalLinksRow_1l5de_483", Xa = "_legalLink_1l5de_483", o = {
4372
- footer: na,
4373
- mainSection: oa,
4374
- mainContainer: ra,
4375
- crossCornerTopRight: aa,
4376
- crossCornerBottomLeft: sa,
4377
- contentRow: ia,
4378
- newsletterSection: la,
4379
- newsletterDescription: da,
4380
- newsletterForm: ca,
4381
- newsletterInputGroup: pa,
4382
- newsletterInput: ma,
4383
- consentText: ga,
4384
- linksSection: ua,
4385
- linksColumn: ha,
4386
- linksTitle: fa,
4387
- linksList: ka,
4388
- footerLink: va,
4389
- divider: ba,
4390
- contactSection: ya,
4391
- contactColumn: xa,
4392
- contactTitle: Ta,
4393
- contactContent: Ca,
4394
- copyrightSection: wa,
4395
- copyrightText: Sa,
4396
- whiteSection: Ia,
4397
- whiteContainer: _a,
4398
- whiteContent: Da,
4387
+ const ra = "_footer_fj44n_1", aa = "_mainSection_fj44n_7", sa = "_mainContainer_fj44n_25", ia = "_crossCornerTopRight_fj44n_35", la = "_crossCornerBottomLeft_fj44n_42", da = "_contentRow_fj44n_50", ca = "_newsletterSection_fj44n_60", pa = "_newsletterDescription_fj44n_67", ma = "_newsletterForm_fj44n_76", ga = "_newsletterInputGroup_fj44n_82", ua = "_newsletterInput_fj44n_82", ha = "_consentText_fj44n_93", fa = "_linksSection_fj44n_103", ka = "_linksColumn_fj44n_109", va = "_linksTitle_fj44n_116", ba = "_linksList_fj44n_127", ya = "_footerLink_fj44n_136", xa = "_divider_fj44n_158", Ta = "_contactSection_fj44n_166", Ca = "_contactColumn_fj44n_173", wa = "_contactTitle_fj44n_181", Sa = "_contactContent_fj44n_190", Ia = "_copyrightSection_fj44n_204", _a = "_copyrightText_fj44n_209", Da = "_whiteSection_fj44n_219", La = "_whiteContainer_fj44n_224", ja = "_whiteContent_fj44n_232", Aa = "_logo_fj44n_240", Na = "_redCrossLogo_fj44n_254", Ma = "_slotLarge_fj44n_260", Fa = "_contentRowContact_fj44n_315", Ba = "_socialLinksSection_fj44n_325", Ea = "_socialLinksTitle_fj44n_332", $a = "_socialLinksList_fj44n_343", Pa = "_socialLink_fj44n_325", za = "_socialLinkIcon_fj44n_376", Ra = "_contactPersonsSection_fj44n_391", Ga = "_contactPersonsTitle_fj44n_398", Wa = "_contactPersonsGrid_fj44n_409", Ha = "_contactPersonCard_fj44n_415", Ua = "_contactPersonName_fj44n_422", Va = "_contactPersonRole_fj44n_431", Oa = "_contactPersonDetails_fj44n_440", Ka = "_contactPersonLabel_fj44n_447", qa = "_contactPersonEmail_fj44n_451", Ya = "_contactPersonPhone_fj44n_452", Za = "_contactPersonAddress_fj44n_453", Xa = "_bottomRowContact_fj44n_474", Ja = "_legalLinksRow_fj44n_483", Qa = "_legalLink_fj44n_483", es = "_dpMain_fj44n_558", ts = "_dpContainer_fj44n_567", ns = "_dpColumns_fj44n_575", os = "_dpColumn_fj44n_575", rs = "_dpColTitle_fj44n_588", as = "_dpList_fj44n_596", ss = "_dpLink_fj44n_605", is = "_dpDivider_fj44n_619", ls = "_dpMeta_fj44n_627", ds = "_dpMetaCol_fj44n_633", cs = "_dpMetaTitle_fj44n_641", ps = "_dpMetaText_fj44n_649", ms = "_dpBottom_fj44n_657", gs = "_dpLegal_fj44n_665", us = "_dpLegalLink_fj44n_674", hs = "_dpCopyright_fj44n_686", o = {
4388
+ footer: ra,
4389
+ mainSection: aa,
4390
+ mainContainer: sa,
4391
+ crossCornerTopRight: ia,
4392
+ crossCornerBottomLeft: la,
4393
+ contentRow: da,
4394
+ newsletterSection: ca,
4395
+ newsletterDescription: pa,
4396
+ newsletterForm: ma,
4397
+ newsletterInputGroup: ga,
4398
+ newsletterInput: ua,
4399
+ consentText: ha,
4400
+ linksSection: fa,
4401
+ linksColumn: ka,
4402
+ linksTitle: va,
4403
+ linksList: ba,
4404
+ footerLink: ya,
4405
+ divider: xa,
4406
+ contactSection: Ta,
4407
+ contactColumn: Ca,
4408
+ contactTitle: wa,
4409
+ contactContent: Sa,
4410
+ copyrightSection: Ia,
4411
+ copyrightText: _a,
4412
+ whiteSection: Da,
4413
+ whiteContainer: La,
4414
+ whiteContent: ja,
4399
4415
  logo: Aa,
4400
- redCrossLogo: La,
4401
- slotLarge: Na,
4402
- contentRowContact: Ma,
4403
- socialLinksSection: ja,
4404
- socialLinksTitle: Fa,
4405
- socialLinksList: Ba,
4406
- socialLink: Ea,
4407
- socialLinkIcon: $a,
4408
- contactPersonsSection: Pa,
4409
- contactPersonsTitle: za,
4410
- contactPersonsGrid: Ra,
4411
- contactPersonCard: Ga,
4412
- contactPersonName: Wa,
4413
- contactPersonRole: Ha,
4414
- contactPersonDetails: Ua,
4415
- contactPersonLabel: Va,
4416
- contactPersonEmail: Oa,
4417
- contactPersonPhone: Ka,
4418
- contactPersonAddress: qa,
4419
- bottomRowContact: Ya,
4420
- legalLinksRow: Za,
4421
- legalLink: Xa
4422
- }, ci = ({
4423
- "data-color": t = "neutral",
4416
+ redCrossLogo: Na,
4417
+ slotLarge: Ma,
4418
+ contentRowContact: Fa,
4419
+ socialLinksSection: Ba,
4420
+ socialLinksTitle: Ea,
4421
+ socialLinksList: $a,
4422
+ socialLink: Pa,
4423
+ socialLinkIcon: za,
4424
+ contactPersonsSection: Ra,
4425
+ contactPersonsTitle: Ga,
4426
+ contactPersonsGrid: Wa,
4427
+ contactPersonCard: Ha,
4428
+ contactPersonName: Ua,
4429
+ contactPersonRole: Va,
4430
+ contactPersonDetails: Oa,
4431
+ contactPersonLabel: Ka,
4432
+ contactPersonEmail: qa,
4433
+ contactPersonPhone: Ya,
4434
+ contactPersonAddress: Za,
4435
+ bottomRowContact: Xa,
4436
+ legalLinksRow: Ja,
4437
+ legalLink: Qa,
4438
+ dpMain: es,
4439
+ dpContainer: ts,
4440
+ dpColumns: ns,
4441
+ dpColumn: os,
4442
+ dpColTitle: rs,
4443
+ dpList: as,
4444
+ dpLink: ss,
4445
+ dpDivider: is,
4446
+ dpMeta: ls,
4447
+ dpMetaCol: ds,
4448
+ dpMetaTitle: cs,
4449
+ dpMetaText: ps,
4450
+ dpBottom: ms,
4451
+ dpLegal: gs,
4452
+ dpLegalLink: us,
4453
+ dpCopyright: hs
4454
+ }, Di = ({
4455
+ "data-color": n = "neutral",
4424
4456
  variant: e = "default",
4425
- showCrossCorners: r = !1,
4426
- newsletterDescription: d = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
4427
- newsletterPlaceholder: h = "Input tekst",
4457
+ colorScheme: a,
4458
+ columns: d,
4459
+ showCrossCorners: h = !1,
4460
+ newsletterDescription: f = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
4461
+ newsletterPlaceholder: m = "Input tekst",
4428
4462
  newsletterButtonText: k = "Meld deg på",
4429
- newsletterConsentText: u,
4430
- onNewsletterSubmit: x,
4431
- hideNewsletter: F = !1,
4432
- shortcutsLinks: C,
4433
- linksLinks: U,
4434
- shortcutsTitle: w,
4435
- linksTitle: P,
4436
- visitingAddress: M = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
4437
- organizationNumber: l = "XXX XXX XXX",
4438
- email: te = "post@redcross.no",
4439
- showPrimaryLogo: z = !0,
4440
- primaryLogoSrc: B,
4441
- primaryLogoAlt: X = "Røde Kors Logo",
4442
- whiteSectionSlot: c,
4443
- socialLinks: A = [],
4444
- contactPersons: S = [],
4445
- legalLinks: R = [],
4446
- socialLinksTitle: I,
4447
- contactPersonsTitle: G
4463
+ newsletterConsentText: D,
4464
+ onNewsletterSubmit: S,
4465
+ hideNewsletter: R = !1,
4466
+ shortcutsLinks: _,
4467
+ linksLinks: V,
4468
+ shortcutsTitle: A,
4469
+ linksTitle: p,
4470
+ visitingAddress: K = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
4471
+ organizationNumber: X = "XXX XXX XXX",
4472
+ email: j = "post@redcross.no",
4473
+ showPrimaryLogo: q = !0,
4474
+ primaryLogoSrc: g,
4475
+ primaryLogoAlt: M = "Røde Kors Logo",
4476
+ whiteSectionSlot: I,
4477
+ socialLinks: F = [],
4478
+ contactPersons: N = [],
4479
+ legalLinks: L = [],
4480
+ socialLinksTitle: G,
4481
+ contactPersonsTitle: ne
4448
4482
  } = {}) => {
4449
- const O = (/* @__PURE__ */ new Date()).getFullYear(), { t: J } = ye(), [W, L] = Ne.useState(""), g = (m, D) => {
4450
- const N = J(m);
4451
- return N === m ? D : N;
4483
+ const H = (/* @__PURE__ */ new Date()).getFullYear(), { t: J } = Te(), [T, b] = Ae.useState(""), l = (c, w) => {
4484
+ const $ = J(c);
4485
+ return $ === c ? w : $;
4452
4486
  };
4453
- Ne.useEffect(() => {
4454
- const m = "rk-footer-inline-styles";
4455
- if (typeof document > "u" || document.getElementById(m)) return;
4456
- const D = Ja(o), N = document.createElement("style");
4457
- N.id = m, N.textContent = D, document.head.appendChild(N);
4487
+ Ae.useEffect(() => {
4488
+ const c = "rk-footer-inline-styles";
4489
+ if (typeof document > "u" || document.getElementById(c)) return;
4490
+ const w = fs(o), $ = document.createElement("style");
4491
+ $.id = c, $.textContent = w, document.head.appendChild($);
4458
4492
  }, []);
4459
- const f = (m) => {
4460
- m.preventDefault(), x == null || x(W);
4461
- }, b = () => /* @__PURE__ */ a(
4493
+ const C = (c) => {
4494
+ c.preventDefault(), S == null || S(T);
4495
+ }, E = () => /* @__PURE__ */ r(
4462
4496
  "svg",
4463
4497
  {
4464
4498
  width: "170",
@@ -4470,188 +4504,235 @@ const na = "_footer_1l5de_1", oa = "_mainSection_1l5de_7", ra = "_mainContainer_
4470
4504
  focusable: "false",
4471
4505
  className: o.redCrossLogo,
4472
4506
  children: [
4473
- /* @__PURE__ */ n("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
4474
- /* @__PURE__ */ n("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
4475
- /* @__PURE__ */ n("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
4476
- /* @__PURE__ */ n("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
4477
- /* @__PURE__ */ n("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
4478
- /* @__PURE__ */ n("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
4479
- /* @__PURE__ */ n("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
4480
- /* @__PURE__ */ n("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
4481
- /* @__PURE__ */ n("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4482
- /* @__PURE__ */ n("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4507
+ /* @__PURE__ */ t("path", { d: "M76.1036 48.1397C77.8925 47.8781 79.6984 47.7525 81.5061 47.7639C84.1713 47.7639 86.0396 48.1669 87.3182 49.1857C87.8735 49.639 88.3149 50.2176 88.6067 50.8744C88.8984 51.5312 89.0323 52.2479 88.9974 52.9665C88.9839 53.9451 88.6724 54.896 88.1049 55.691C87.5373 56.4861 86.7411 57.087 85.8235 57.4129V57.4944C87.0796 58.006 87.7684 59.2104 88.2231 60.8722C88.7813 62.9097 89.3441 65.2688 89.6907 65.9661H85.5309C85.2382 65.4544 84.7835 63.9829 84.2793 61.7597C83.7751 59.5365 83.0097 58.8527 81.344 58.8527H80.1284V65.9661H76.1036V48.1397ZM80.1284 55.9141H81.7312C83.7526 55.9141 84.9546 54.8954 84.9546 53.3151C84.9546 51.6534 83.8336 50.8202 81.9698 50.7931C81.3532 50.7814 80.7368 50.8268 80.1284 50.9289V55.9141Z", fill: "#1E1E1E" }),
4508
+ /* @__PURE__ */ t("path", { d: "M97.8528 52.5633C98.9439 52.5351 100.026 52.7744 101.004 53.2606L102.256 51.4087L103.669 52.4003L102.467 54.2115C103.188 54.8589 103.758 55.6585 104.137 56.5531C104.515 57.4478 104.692 58.4154 104.655 59.3869C104.655 64.0506 101.243 66.2738 97.8573 66.2738C96.7852 66.2984 95.7234 66.059 94.7644 65.5765L93.4543 67.4556L92.1037 66.387L93.2787 64.6438C91.8651 63.4892 91.0277 61.7233 91.0277 59.414C91.0277 55.2891 93.7965 52.5543 97.8213 52.5543L97.8528 52.5633ZM99.2934 55.9411C98.8798 55.6237 98.3731 55.4533 97.8528 55.4566C95.7458 55.4566 94.949 57.5757 94.949 59.4005C94.9265 60.126 95.0909 60.845 95.4262 61.4878L95.4802 61.515L99.2934 55.9411ZM96.4932 62.8552C96.8653 63.1843 97.3486 63.3576 97.8438 63.3397C99.6446 63.3397 100.748 61.7821 100.748 59.4774C100.76 58.7777 100.625 58.0833 100.351 57.4399L100.27 57.4127L96.4932 62.8552Z", fill: "#1E1E1E" }),
4509
+ /* @__PURE__ */ t("path", { d: "M119.76 46.9351V62.0537C119.76 63.5253 119.814 65.0829 119.868 65.9659H116.266L116.077 64.037H116.01C115.593 64.7375 114.998 65.3131 114.285 65.7041C113.573 66.095 112.769 66.287 111.958 66.2602C108.865 66.2602 106.384 63.6068 106.384 59.5317C106.384 55.1079 109.085 52.5632 112.237 52.5632C113.835 52.5632 115.087 53.1247 115.676 54.0393H115.726V46.9351H119.76ZM115.708 58.4088C115.708 58.1914 115.681 57.8971 115.658 57.6843C115.556 57.1295 115.266 56.6274 114.838 56.2627C114.41 55.8981 113.869 55.6933 113.308 55.683C111.467 55.683 110.508 57.3447 110.508 59.4094C110.508 61.6327 111.602 63.0318 113.281 63.0318C113.838 63.0337 114.378 62.8389 114.807 62.4814C115.235 62.1239 115.526 61.6264 115.627 61.0757C115.702 60.7676 115.737 60.451 115.73 60.1339L115.708 58.4088Z", fill: "#1E1E1E" }),
4510
+ /* @__PURE__ */ t("path", { d: "M126.13 60.6869C126.265 62.3758 127.931 63.1772 129.808 63.1772C131.029 63.1934 132.245 63.013 133.41 62.6429L133.946 65.4049C132.438 65.9752 130.838 66.2562 129.227 66.2335C124.802 66.2335 122.272 63.6345 122.272 59.5322C122.272 56.2088 124.325 52.5366 128.854 52.5366C133.063 52.5366 134.666 55.8329 134.666 59.0794C134.666 59.6271 134.62 60.1738 134.531 60.714L126.13 60.6869ZM130.902 57.8977C130.902 56.9061 130.475 55.2443 128.611 55.2443C126.904 55.2443 126.211 56.8246 126.103 57.8977H130.902Z", fill: "#1E1E1E" }),
4511
+ /* @__PURE__ */ t("path", { d: "M142.603 47.8994H146.623V55.8866H146.7C147.1 55.1893 147.501 54.5283 147.929 53.9034L151.981 47.8994H156.978L151.035 55.5969L157.297 65.9703H152.57L148.172 58.1687L146.623 60.0704V65.9567H142.598L142.603 47.8994Z", fill: "#1E1E1E" }),
4512
+ /* @__PURE__ */ t("path", { d: "M164.294 66.2599C160.485 66.2599 157.541 63.7424 157.541 59.5043C157.541 55.2662 160.309 52.563 164.496 52.563C168.494 52.563 171.159 55.325 171.159 59.2643C171.159 64.0639 167.774 66.2599 164.307 66.2599H164.294ZM164.375 63.3394C165.946 63.3394 166.959 61.7592 166.959 59.4001C166.959 57.4395 166.216 55.4563 164.375 55.4563C162.43 55.4563 161.709 57.4667 161.709 59.4001C161.709 61.6641 162.641 63.3394 164.348 63.3394H164.375Z", fill: "#1E1E1E" }),
4513
+ /* @__PURE__ */ t("path", { d: "M173.676 57.1727C173.676 55.2438 173.622 54.0031 173.568 52.8576H177.062L177.197 55.271H177.3C177.535 54.507 178 53.8353 178.63 53.3486C179.261 52.8619 180.026 52.5843 180.821 52.5542C181.105 52.5425 181.391 52.5607 181.672 52.6086V56.4392C181.303 56.3736 180.93 56.3387 180.555 56.335C179.06 56.335 178.048 57.1365 177.782 58.3997C177.726 58.6983 177.699 59.0015 177.701 59.3053V65.9659H173.649L173.676 57.1727Z", fill: "#1E1E1E" }),
4514
+ /* @__PURE__ */ t("path", { d: "M183.752 62.4023C184.824 62.9936 186.018 63.3283 187.241 63.3803C188.47 63.3803 188.974 62.9275 188.974 62.28C188.974 61.6325 188.573 61.2613 187.056 60.7768C184.355 59.8712 183.351 58.3951 183.351 56.8375C183.351 54.3969 185.404 52.5496 188.654 52.5496C189.92 52.5283 191.175 52.7848 192.332 53.3012L191.612 56.1357C190.741 55.6712 189.775 55.4155 188.789 55.3886C187.803 55.3886 187.241 55.787 187.241 56.4571C187.241 57.1273 187.749 57.4216 189.348 57.9604C191.828 58.8162 192.868 60.0795 192.891 62.0084C192.891 64.4444 190.973 66.2691 187.241 66.2691C185.784 66.2951 184.341 65.974 183.031 65.3318L183.752 62.4023Z", fill: "#1E1E1E" }),
4515
+ /* @__PURE__ */ t("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4516
+ /* @__PURE__ */ t("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4483
4517
  ]
4484
4518
  }
4485
- ), y = [
4486
- { label: g("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
4487
- { label: g("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
4488
- { label: g("footer.shortcutsLinks.ourWork", "Vårt arbeid"), href: "#" },
4489
- { label: g("footer.shortcutsLinks.about", "Om Røde Kors"), href: "#" },
4490
- { label: g("footer.shortcutsLinks.support", "Støtt arbeidet"), href: "#" },
4491
- { label: g("footer.shortcutsLinks.contact", "Kontakt oss"), href: "#" }
4492
- ], ne = [
4493
- { label: g("footer.legal.privacy", "Personvern"), href: "#" },
4494
- { label: g("footer.legal.press", "For presse"), href: "#" },
4495
- { label: g("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
4496
- { label: g("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
4497
- ], Q = /* @__PURE__ */ a(Ce, { children: [
4519
+ ), Y = [
4520
+ { label: l("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
4521
+ { label: l("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
4522
+ { label: l("footer.shortcutsLinks.ourWork", "Vårt arbeid"), href: "#" },
4523
+ { label: l("footer.shortcutsLinks.about", "Om Røde Kors"), href: "#" },
4524
+ { label: l("footer.shortcutsLinks.support", "Støtt arbeidet"), href: "#" },
4525
+ { label: l("footer.shortcutsLinks.contact", "Kontakt oss"), href: "#" }
4526
+ ], y = [
4527
+ { label: l("footer.legal.privacy", "Personvern"), href: "#" },
4528
+ { label: l("footer.legal.press", "For presse"), href: "#" },
4529
+ { label: l("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
4530
+ { label: l("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
4531
+ ], B = /* @__PURE__ */ r(Se, { children: [
4498
4532
  'Ved å trykke "',
4499
4533
  k,
4500
4534
  '" samtykker du til å motta nyhetsbrev.',
4501
- /* @__PURE__ */ n("br", {}),
4535
+ /* @__PURE__ */ t("br", {}),
4502
4536
  "Du kan når som helst ",
4503
- /* @__PURE__ */ n(oe, { href: "#", children: "melde deg av" }),
4537
+ /* @__PURE__ */ t(te, { href: "#", children: "melde deg av" }),
4504
4538
  " nyhetsbrevet uten kostnad."
4505
- ] }), _ = C || y, j = U || ne, K = () => /* @__PURE__ */ a("div", { className: o.socialLinksSection, children: [
4506
- I && /* @__PURE__ */ n("h3", { className: o.socialLinksTitle, children: I }),
4507
- /* @__PURE__ */ n("ul", { className: o.socialLinksList, children: A.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ a(oe, { href: m.href, className: o.socialLink, children: [
4508
- /* @__PURE__ */ n("span", { className: o.socialLinkIcon, children: m.icon }),
4509
- m.label
4510
- ] }) }, D)) })
4511
- ] }), T = ({ person: m }) => /* @__PURE__ */ a("div", { className: o.contactPersonCard, children: [
4512
- /* @__PURE__ */ n("p", { className: o.contactPersonName, children: m.name }),
4513
- /* @__PURE__ */ n("p", { className: o.contactPersonRole, children: m.role }),
4514
- /* @__PURE__ */ a("div", { className: o.contactPersonDetails, children: [
4515
- /* @__PURE__ */ a("p", { className: o.contactPersonEmail, children: [
4516
- /* @__PURE__ */ a("span", { className: o.contactPersonLabel, children: [
4517
- g("footer.contact.email", "E-post"),
4539
+ ] }), Q = _ || Y, le = V || y, v = () => /* @__PURE__ */ r("div", { className: o.socialLinksSection, children: [
4540
+ G && /* @__PURE__ */ t("h3", { className: o.socialLinksTitle, children: G }),
4541
+ /* @__PURE__ */ t("ul", { className: o.socialLinksList, children: F.map((c, w) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ r(te, { href: c.href, className: o.socialLink, children: [
4542
+ /* @__PURE__ */ t("span", { className: o.socialLinkIcon, children: c.icon }),
4543
+ c.label
4544
+ ] }) }, w)) })
4545
+ ] }), Z = ({ person: c }) => /* @__PURE__ */ r("div", { className: o.contactPersonCard, children: [
4546
+ /* @__PURE__ */ t("p", { className: o.contactPersonName, children: c.name }),
4547
+ /* @__PURE__ */ t("p", { className: o.contactPersonRole, children: c.role }),
4548
+ /* @__PURE__ */ r("div", { className: o.contactPersonDetails, children: [
4549
+ /* @__PURE__ */ r("p", { className: o.contactPersonEmail, children: [
4550
+ /* @__PURE__ */ r("span", { className: o.contactPersonLabel, children: [
4551
+ l("footer.contact.email", "E-post"),
4518
4552
  ":"
4519
4553
  ] }),
4520
4554
  " ",
4521
- /* @__PURE__ */ n(oe, { href: `mailto:${m.email}`, children: m.email })
4555
+ /* @__PURE__ */ t(te, { href: `mailto:${c.email}`, children: c.email })
4522
4556
  ] }),
4523
- m.phone && /* @__PURE__ */ a("p", { className: o.contactPersonPhone, children: [
4524
- /* @__PURE__ */ a("span", { className: o.contactPersonLabel, children: [
4525
- g("footer.contact.phone", "Telefon"),
4557
+ c.phone && /* @__PURE__ */ r("p", { className: o.contactPersonPhone, children: [
4558
+ /* @__PURE__ */ r("span", { className: o.contactPersonLabel, children: [
4559
+ l("footer.contact.phone", "Telefon"),
4526
4560
  ":"
4527
4561
  ] }),
4528
4562
  " ",
4529
- m.phone
4563
+ c.phone
4530
4564
  ] }),
4531
- m.address && /* @__PURE__ */ n("p", { className: o.contactPersonAddress, children: m.address })
4565
+ c.address && /* @__PURE__ */ t("p", { className: o.contactPersonAddress, children: c.address })
4532
4566
  ] })
4533
- ] }), Z = () => /* @__PURE__ */ a("div", { className: o.contactPersonsSection, children: [
4534
- G && /* @__PURE__ */ n("h3", { className: o.contactPersonsTitle, children: G }),
4535
- /* @__PURE__ */ n("div", { className: o.contactPersonsGrid, children: S.map((m, D) => /* @__PURE__ */ n(T, { person: m }, D)) })
4536
- ] }), ce = () => /* @__PURE__ */ n("ul", { className: o.legalLinksRow, children: R.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.legalLink, children: m.label }) }, D)) });
4537
- return e === "contact" ? /* @__PURE__ */ a("footer", { className: o.footer, "data-color": t, children: [
4538
- /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ a("div", { className: o.mainContainer, children: [
4539
- r && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4540
- /* @__PURE__ */ a("div", { className: o.contentRowContact, children: [
4541
- A.length > 0 && /* @__PURE__ */ n(K, {}),
4542
- S.length > 0 && /* @__PURE__ */ n(Z, {})
4567
+ ] }), me = () => /* @__PURE__ */ r("div", { className: o.contactPersonsSection, children: [
4568
+ ne && /* @__PURE__ */ t("h3", { className: o.contactPersonsTitle, children: ne }),
4569
+ /* @__PURE__ */ t("div", { className: o.contactPersonsGrid, children: N.map((c, w) => /* @__PURE__ */ t(Z, { person: c }, w)) })
4570
+ ] }), ge = () => /* @__PURE__ */ t("ul", { className: o.legalLinksRow, children: L.map((c, w) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(te, { href: c.href, className: o.legalLink, children: c.label }) }, w)) });
4571
+ if (e === "columns") {
4572
+ const c = [
4573
+ {
4574
+ title: l("footer.contact.title", "Kontakt"),
4575
+ links: Y
4576
+ },
4577
+ {
4578
+ title: l("footer.bidra", "Bidra"),
4579
+ links: Y
4580
+ },
4581
+ {
4582
+ title: l("footer.shortcuts", "Snarveier"),
4583
+ links: Y
4584
+ }
4585
+ ], w = d && d.length > 0 ? d : c, $ = L.length > 0 ? L : y;
4586
+ return /* @__PURE__ */ t("footer", { className: o.footer, "data-color": n, "data-color-scheme": a, children: /* @__PURE__ */ t("div", { className: o.dpMain, children: /* @__PURE__ */ r("div", { className: o.dpContainer, children: [
4587
+ /* @__PURE__ */ t("div", { className: o.dpColumns, children: w.map((oe, re) => /* @__PURE__ */ r("nav", { className: o.dpColumn, "aria-label": oe.title, children: [
4588
+ /* @__PURE__ */ t("h3", { className: o.dpColTitle, children: oe.title }),
4589
+ /* @__PURE__ */ t("ul", { className: o.dpList, children: oe.links.map((pe, i) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(te, { href: pe.href, className: o.dpLink, children: pe.label }) }, i)) })
4590
+ ] }, re)) }),
4591
+ /* @__PURE__ */ t("hr", { className: o.dpDivider }),
4592
+ /* @__PURE__ */ r("div", { className: o.dpMeta, children: [
4593
+ /* @__PURE__ */ r("div", { className: o.dpMetaCol, children: [
4594
+ /* @__PURE__ */ t("h4", { className: o.dpMetaTitle, children: l("footer.contact.visitingAddress", "Besøksadresse") }),
4595
+ K.map((oe, re) => /* @__PURE__ */ t("p", { className: o.dpMetaText, children: oe }, re))
4596
+ ] }),
4597
+ /* @__PURE__ */ r("div", { className: o.dpMetaCol, children: [
4598
+ /* @__PURE__ */ t("h4", { className: o.dpMetaTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4599
+ /* @__PURE__ */ t("p", { className: o.dpMetaText, children: X })
4600
+ ] }),
4601
+ /* @__PURE__ */ r("div", { className: o.dpMetaCol, children: [
4602
+ /* @__PURE__ */ t("h4", { className: o.dpMetaTitle, children: l("footer.contact.email", "E-post") }),
4603
+ /* @__PURE__ */ t("p", { className: o.dpMetaText, children: j })
4604
+ ] })
4605
+ ] }),
4606
+ /* @__PURE__ */ t("hr", { className: o.dpDivider }),
4607
+ /* @__PURE__ */ r("div", { className: o.dpBottom, children: [
4608
+ /* @__PURE__ */ t("ul", { className: o.dpLegal, children: $.map((oe, re) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(te, { href: oe.href, className: o.dpLegalLink, children: oe.label }) }, re)) }),
4609
+ /* @__PURE__ */ r("p", { className: o.dpCopyright, children: [
4610
+ "© ",
4611
+ H,
4612
+ " ",
4613
+ l("footer.copyright", "Røde Kors")
4614
+ ] })
4615
+ ] })
4616
+ ] }) }) });
4617
+ }
4618
+ return e === "contact" ? /* @__PURE__ */ r("footer", { className: o.footer, "data-color": n, children: [
4619
+ /* @__PURE__ */ t("div", { className: o.mainSection, children: /* @__PURE__ */ r("div", { className: o.mainContainer, children: [
4620
+ h && /* @__PURE__ */ t("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ t(ye, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4621
+ /* @__PURE__ */ r("div", { className: o.contentRowContact, children: [
4622
+ F.length > 0 && /* @__PURE__ */ t(v, {}),
4623
+ N.length > 0 && /* @__PURE__ */ t(me, {})
4543
4624
  ] }),
4544
- /* @__PURE__ */ n("div", { className: o.divider }),
4545
- /* @__PURE__ */ a("div", { className: o.contactSection, children: [
4546
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4547
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.visitingAddress", "Besøks adresse") }),
4548
- /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, D) => /* @__PURE__ */ n("p", { children: m }, D)) })
4625
+ /* @__PURE__ */ t("div", { className: o.divider }),
4626
+ /* @__PURE__ */ r("div", { className: o.contactSection, children: [
4627
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4628
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.visitingAddress", "Besøks adresse") }),
4629
+ /* @__PURE__ */ t("div", { className: o.contactContent, children: K.map((c, w) => /* @__PURE__ */ t("p", { children: c }, w)) })
4549
4630
  ] }),
4550
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4551
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4552
- /* @__PURE__ */ n("p", { className: o.contactContent, children: l })
4631
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4632
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4633
+ /* @__PURE__ */ t("p", { className: o.contactContent, children: X })
4553
4634
  ] }),
4554
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4555
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.email", "E-post") }),
4556
- /* @__PURE__ */ n("p", { className: o.contactContent, children: te })
4635
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4636
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.email", "E-post") }),
4637
+ /* @__PURE__ */ t("p", { className: o.contactContent, children: j })
4557
4638
  ] })
4558
4639
  ] }),
4559
- /* @__PURE__ */ n("div", { className: o.divider }),
4560
- /* @__PURE__ */ a("div", { className: o.bottomRowContact, children: [
4561
- R.length > 0 && /* @__PURE__ */ n(ce, {}),
4562
- /* @__PURE__ */ a("p", { className: o.copyrightText, children: [
4640
+ /* @__PURE__ */ t("div", { className: o.divider }),
4641
+ /* @__PURE__ */ r("div", { className: o.bottomRowContact, children: [
4642
+ L.length > 0 && /* @__PURE__ */ t(ge, {}),
4643
+ /* @__PURE__ */ r("p", { className: o.copyrightText, children: [
4563
4644
  "© ",
4564
- O,
4645
+ H,
4565
4646
  " ",
4566
- g("footer.copyright", "Rødekors")
4647
+ l("footer.copyright", "Rødekors")
4567
4648
  ] })
4568
4649
  ] }),
4569
- r && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4650
+ h && /* @__PURE__ */ t("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ t(ye, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4570
4651
  ] }) }),
4571
- /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ a("div", { className: o.whiteContent, children: [
4572
- z && (B ? /* @__PURE__ */ n(
4652
+ /* @__PURE__ */ t("div", { className: o.whiteSection, children: /* @__PURE__ */ t("div", { className: o.whiteContainer, children: /* @__PURE__ */ r("div", { className: o.whiteContent, children: [
4653
+ q && (g ? /* @__PURE__ */ t(
4573
4654
  "img",
4574
4655
  {
4575
- src: B,
4576
- alt: X,
4656
+ src: g,
4657
+ alt: M,
4577
4658
  className: o.logo,
4578
4659
  loading: "lazy"
4579
4660
  }
4580
- ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(b, {}) })),
4581
- c && /* @__PURE__ */ n("div", { className: o.slotLarge, children: c })
4661
+ ) : /* @__PURE__ */ t("div", { className: o.logo, children: /* @__PURE__ */ t(E, {}) })),
4662
+ I && /* @__PURE__ */ t("div", { className: o.slotLarge, children: I })
4582
4663
  ] }) }) })
4583
- ] }) : /* @__PURE__ */ a("footer", { className: o.footer, "data-color": t, children: [
4584
- /* @__PURE__ */ n("div", { className: o.mainSection, children: /* @__PURE__ */ a("div", { className: o.mainContainer, children: [
4585
- r && /* @__PURE__ */ n("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4586
- /* @__PURE__ */ a("div", { className: o.contentRow, children: [
4587
- !F && /* @__PURE__ */ a("div", { className: o.newsletterSection, children: [
4588
- /* @__PURE__ */ n("p", { className: o.newsletterDescription, children: d }),
4589
- /* @__PURE__ */ n("form", { className: o.newsletterForm, onSubmit: f, children: /* @__PURE__ */ a("div", { className: o.newsletterInputGroup, children: [
4590
- /* @__PURE__ */ n(
4664
+ ] }) : /* @__PURE__ */ r("footer", { className: o.footer, "data-color": n, children: [
4665
+ /* @__PURE__ */ t("div", { className: o.mainSection, children: /* @__PURE__ */ r("div", { className: o.mainContainer, children: [
4666
+ h && /* @__PURE__ */ t("div", { className: o.crossCornerTopRight, children: /* @__PURE__ */ t(ye, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4667
+ /* @__PURE__ */ r("div", { className: o.contentRow, children: [
4668
+ !R && /* @__PURE__ */ r("div", { className: o.newsletterSection, children: [
4669
+ /* @__PURE__ */ t("p", { className: o.newsletterDescription, children: f }),
4670
+ /* @__PURE__ */ t("form", { className: o.newsletterForm, onSubmit: C, children: /* @__PURE__ */ r("div", { className: o.newsletterInputGroup, children: [
4671
+ /* @__PURE__ */ t(
4591
4672
  Ze,
4592
4673
  {
4593
4674
  type: "email",
4594
- placeholder: h,
4595
- value: W,
4596
- onChange: (m) => L(m.target.value),
4675
+ placeholder: m,
4676
+ value: T,
4677
+ onChange: (c) => b(c.target.value),
4597
4678
  className: o.newsletterInput
4598
4679
  }
4599
4680
  ),
4600
- /* @__PURE__ */ n(de, { type: "submit", variant: "primary", "data-color": "neutral", children: k })
4681
+ /* @__PURE__ */ t(ce, { type: "submit", variant: "primary", "data-color": "neutral", children: k })
4601
4682
  ] }) }),
4602
- /* @__PURE__ */ n("p", { className: o.consentText, children: u || Q })
4683
+ /* @__PURE__ */ t("p", { className: o.consentText, children: D || B })
4603
4684
  ] }),
4604
- /* @__PURE__ */ a("div", { className: o.linksSection, children: [
4605
- /* @__PURE__ */ a("nav", { className: o.linksColumn, "aria-label": w || g("footer.shortcuts", "Snarveier"), children: [
4606
- /* @__PURE__ */ n("h3", { className: o.linksTitle, children: w || g("footer.shortcuts", "Snarveier") }),
4607
- /* @__PURE__ */ n("ul", { className: o.linksList, children: _.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, D)) })
4685
+ /* @__PURE__ */ r("div", { className: o.linksSection, children: [
4686
+ /* @__PURE__ */ r("nav", { className: o.linksColumn, "aria-label": A || l("footer.shortcuts", "Snarveier"), children: [
4687
+ /* @__PURE__ */ t("h3", { className: o.linksTitle, children: A || l("footer.shortcuts", "Snarveier") }),
4688
+ /* @__PURE__ */ t("ul", { className: o.linksList, children: Q.map((c, w) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(te, { href: c.href, className: o.footerLink, children: c.label }) }, w)) })
4608
4689
  ] }),
4609
- /* @__PURE__ */ a("nav", { className: o.linksColumn, "aria-label": P || g("footer.links", "Lenker"), children: [
4610
- /* @__PURE__ */ n("h3", { className: o.linksTitle, children: P || g("footer.links", "Lenker") }),
4611
- /* @__PURE__ */ n("ul", { className: o.linksList, children: j.map((m, D) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: m.href, className: o.footerLink, children: m.label }) }, D)) })
4690
+ /* @__PURE__ */ r("nav", { className: o.linksColumn, "aria-label": p || l("footer.links", "Lenker"), children: [
4691
+ /* @__PURE__ */ t("h3", { className: o.linksTitle, children: p || l("footer.links", "Lenker") }),
4692
+ /* @__PURE__ */ t("ul", { className: o.linksList, children: le.map((c, w) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(te, { href: c.href, className: o.footerLink, children: c.label }) }, w)) })
4612
4693
  ] })
4613
4694
  ] })
4614
4695
  ] }),
4615
- /* @__PURE__ */ n("div", { className: o.divider }),
4616
- /* @__PURE__ */ a("div", { className: o.contactSection, children: [
4617
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4618
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.visitingAddress", "Besøks adresse") }),
4619
- /* @__PURE__ */ n("div", { className: o.contactContent, children: M.map((m, D) => /* @__PURE__ */ n("p", { children: m }, D)) })
4696
+ /* @__PURE__ */ t("div", { className: o.divider }),
4697
+ /* @__PURE__ */ r("div", { className: o.contactSection, children: [
4698
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4699
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.visitingAddress", "Besøks adresse") }),
4700
+ /* @__PURE__ */ t("div", { className: o.contactContent, children: K.map((c, w) => /* @__PURE__ */ t("p", { children: c }, w)) })
4620
4701
  ] }),
4621
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4622
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4623
- /* @__PURE__ */ n("p", { className: o.contactContent, children: l })
4702
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4703
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4704
+ /* @__PURE__ */ t("p", { className: o.contactContent, children: X })
4624
4705
  ] }),
4625
- /* @__PURE__ */ a("div", { className: o.contactColumn, children: [
4626
- /* @__PURE__ */ n("h4", { className: o.contactTitle, children: g("footer.contact.email", "E-post") }),
4627
- /* @__PURE__ */ n("p", { className: o.contactContent, children: te })
4706
+ /* @__PURE__ */ r("div", { className: o.contactColumn, children: [
4707
+ /* @__PURE__ */ t("h4", { className: o.contactTitle, children: l("footer.contact.email", "E-post") }),
4708
+ /* @__PURE__ */ t("p", { className: o.contactContent, children: j })
4628
4709
  ] })
4629
4710
  ] }),
4630
- /* @__PURE__ */ n("div", { className: o.divider }),
4631
- /* @__PURE__ */ n("div", { className: o.copyrightSection, children: /* @__PURE__ */ a("p", { className: o.copyrightText, children: [
4711
+ /* @__PURE__ */ t("div", { className: o.divider }),
4712
+ /* @__PURE__ */ t("div", { className: o.copyrightSection, children: /* @__PURE__ */ r("p", { className: o.copyrightText, children: [
4632
4713
  "© ",
4633
- O,
4714
+ H,
4634
4715
  " ",
4635
- g("footer.copyright", "Rødekors")
4716
+ l("footer.copyright", "Rødekors")
4636
4717
  ] }) }),
4637
- r && /* @__PURE__ */ n("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ n(ve, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4718
+ h && /* @__PURE__ */ t("div", { className: o.crossCornerBottomLeft, children: /* @__PURE__ */ t(ye, { position: "bottom-left", size: "md", "aria-hidden": !0 }) })
4638
4719
  ] }) }),
4639
- /* @__PURE__ */ n("div", { className: o.whiteSection, children: /* @__PURE__ */ n("div", { className: o.whiteContainer, children: /* @__PURE__ */ a("div", { className: o.whiteContent, children: [
4640
- z && (B ? /* @__PURE__ */ n(
4720
+ /* @__PURE__ */ t("div", { className: o.whiteSection, children: /* @__PURE__ */ t("div", { className: o.whiteContainer, children: /* @__PURE__ */ r("div", { className: o.whiteContent, children: [
4721
+ q && (g ? /* @__PURE__ */ t(
4641
4722
  "img",
4642
4723
  {
4643
- src: B,
4644
- alt: X,
4724
+ src: g,
4725
+ alt: M,
4645
4726
  className: o.logo,
4646
4727
  loading: "lazy"
4647
4728
  }
4648
- ) : /* @__PURE__ */ n("div", { className: o.logo, children: /* @__PURE__ */ n(b, {}) })),
4649
- c && /* @__PURE__ */ n("div", { className: o.slotLarge, children: c })
4729
+ ) : /* @__PURE__ */ t("div", { className: o.logo, children: /* @__PURE__ */ t(E, {}) })),
4730
+ I && /* @__PURE__ */ t("div", { className: o.slotLarge, children: I })
4650
4731
  ] }) }) })
4651
4732
  ] });
4652
4733
  };
4653
- function Ja(t) {
4654
- const e = t;
4734
+ function fs(n) {
4735
+ const e = n;
4655
4736
  return `
4656
4737
  .${e.footer} {
4657
4738
  margin-top: auto;
@@ -5075,25 +5156,25 @@ function Ja(t) {
5075
5156
  }
5076
5157
  `;
5077
5158
  }
5078
- const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_35", ns = "_amountSection_1hxqz_47", os = "_amountLabel_1hxqz_55", rs = "_amountButtons_1hxqz_64", as = "_customAmountField_1hxqz_75", ss = "_impactRow_1hxqz_80", is = "_heartIcon_1hxqz_88", ls = "_impactText_1hxqz_102", ds = "_impactAmount_1hxqz_112", cs = "_actionsSection_1hxqz_117", ps = "_vippsButton_1hxqz_127", ms = "_vippsButtonLabel_1hxqz_157", gs = "_vippsLogo_1hxqz_166", us = "_avtalegiroLink_1hxqz_179", hs = "_tabHeartIcon_1hxqz_184", E = {
5079
- donor: Qa,
5080
- tabsWrapper: es,
5081
- content: ts,
5082
- amountSection: ns,
5083
- amountLabel: os,
5084
- amountButtons: rs,
5085
- customAmountField: as,
5086
- impactRow: ss,
5087
- heartIcon: is,
5088
- impactText: ls,
5089
- impactAmount: ds,
5090
- actionsSection: cs,
5091
- vippsButton: ps,
5092
- vippsButtonLabel: ms,
5093
- vippsLogo: gs,
5094
- avtalegiroLink: us,
5095
- tabHeartIcon: hs
5096
- }, We = () => /* @__PURE__ */ n(
5159
+ const ks = "_donor_1hxqz_1", vs = "_tabsWrapper_1hxqz_14", bs = "_content_1hxqz_35", ys = "_amountSection_1hxqz_47", xs = "_amountLabel_1hxqz_55", Ts = "_amountButtons_1hxqz_64", Cs = "_customAmountField_1hxqz_75", ws = "_impactRow_1hxqz_80", Ss = "_heartIcon_1hxqz_88", Is = "_impactText_1hxqz_102", _s = "_impactAmount_1hxqz_112", Ds = "_actionsSection_1hxqz_117", Ls = "_vippsButton_1hxqz_127", js = "_vippsButtonLabel_1hxqz_157", As = "_vippsLogo_1hxqz_166", Ns = "_avtalegiroLink_1hxqz_179", Ms = "_tabHeartIcon_1hxqz_184", P = {
5160
+ donor: ks,
5161
+ tabsWrapper: vs,
5162
+ content: bs,
5163
+ amountSection: ys,
5164
+ amountLabel: xs,
5165
+ amountButtons: Ts,
5166
+ customAmountField: Cs,
5167
+ impactRow: ws,
5168
+ heartIcon: Ss,
5169
+ impactText: Is,
5170
+ impactAmount: _s,
5171
+ actionsSection: Ds,
5172
+ vippsButton: Ls,
5173
+ vippsButtonLabel: js,
5174
+ vippsLogo: As,
5175
+ avtalegiroLink: Ns,
5176
+ tabHeartIcon: Ms
5177
+ }, We = () => /* @__PURE__ */ t(
5097
5178
  "svg",
5098
5179
  {
5099
5180
  width: "19",
@@ -5103,7 +5184,7 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5103
5184
  xmlns: "http://www.w3.org/2000/svg",
5104
5185
  "aria-hidden": "true",
5105
5186
  focusable: "false",
5106
- children: /* @__PURE__ */ n(
5187
+ children: /* @__PURE__ */ t(
5107
5188
  "path",
5108
5189
  {
5109
5190
  d: "M13.7703 0C15.2893 5.94513e-05 16.5938 0.76302 17.6755 1.84473C20.0479 4.2172 19.8818 8.19893 16.6755 11.4053L10.1765 17.9043C10.0359 18.0449 9.84412 18.1249 9.64527 18.125C9.44642 18.125 9.25564 18.0458 9.115 17.9053L2.615 11.4053C-0.591399 8.19889 -0.757477 4.21721 1.615 1.84473C2.69673 0.763025 4.00125 0 5.52027 0C6.86917 5.33075e-05 8.24623 0.601427 9.64527 1.84375C11.0443 0.601491 12.4214 0 13.7703 0Z",
@@ -5111,7 +5192,7 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5111
5192
  }
5112
5193
  )
5113
5194
  }
5114
- ), fs = () => /* @__PURE__ */ n(
5195
+ ), Fs = () => /* @__PURE__ */ t(
5115
5196
  "svg",
5116
5197
  {
5117
5198
  width: "16",
@@ -5121,7 +5202,7 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5121
5202
  xmlns: "http://www.w3.org/2000/svg",
5122
5203
  "aria-hidden": "true",
5123
5204
  focusable: "false",
5124
- children: /* @__PURE__ */ n(
5205
+ children: /* @__PURE__ */ t(
5125
5206
  "path",
5126
5207
  {
5127
5208
  d: "M18.3605 0C20.3858 2.70913e-05 22.1252 1.01674 23.5675 2.45898C26.7308 5.62229 26.5097 10.9318 22.2345 15.207L13.5685 23.873C13.381 24.0605 13.1256 24.166 12.8605 24.166C12.5953 24.166 12.341 24.0606 12.1535 23.873L3.48648 15.207C-0.78872 10.9319 -1.00983 5.6223 2.15347 2.45898C3.59576 1.01676 5.33517 -7.94691e-07 7.3605 0C9.15905 2.54762e-05 10.9951 0.801582 12.8605 2.45801C14.7259 0.801611 16.562 0 18.3605 0ZM18.3605 2C17.0526 2 15.4585 2.64907 13.5675 4.54004C13.38 4.72756 13.1257 4.83299 12.8605 4.83301C12.5953 4.83301 12.341 4.72755 12.1535 4.54004C10.2625 2.64908 8.6684 2.00003 7.3605 2C6.05266 2 4.7918 2.64884 3.56753 3.87305C1.39752 6.04307 1.17573 10.0682 4.90054 13.793L12.8605 21.752L20.8205 13.793C24.5452 10.0682 24.3235 6.04306 22.1535 3.87305C20.9292 2.64881 19.6683 2.00003 18.3605 2Z",
@@ -5129,7 +5210,7 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5129
5210
  }
5130
5211
  )
5131
5212
  }
5132
- ), ks = () => /* @__PURE__ */ n(
5213
+ ), Bs = () => /* @__PURE__ */ t(
5133
5214
  "svg",
5134
5215
  {
5135
5216
  width: "64",
@@ -5139,7 +5220,7 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5139
5220
  xmlns: "http://www.w3.org/2000/svg",
5140
5221
  "aria-hidden": "true",
5141
5222
  focusable: "false",
5142
- children: /* @__PURE__ */ n(
5223
+ children: /* @__PURE__ */ t(
5143
5224
  "path",
5144
5225
  {
5145
5226
  d: "M34.0879 0C36.392 2.1216e-05 39.0869 1.89904 39.0869 5.95996C39.0868 10.2022 36.4949 12.2627 33.8408 12.2627C32.4216 12.2627 31.1671 11.7169 30.2002 10.4238V16H27.2998V0.323242H30.2002V1.91895C31.0027 0.82803 32.2573 0 34.0879 0ZM48.0156 0C50.3197 0.000234933 53.0137 1.89927 53.0137 5.95996C53.0136 10.2021 50.4223 12.2625 47.7686 12.2627C46.3493 12.2627 45.0939 11.7169 44.127 10.4238V16H41.2266V0.323242H44.1279V1.91895C44.9302 0.828069 46.185 0 48.0156 0ZM12.2402 6.58594C12.7958 6.20212 13.5569 6.36346 14.0508 7.09082C15.285 8.86842 16.8693 10.081 18.9053 10.0811L19.2695 10.0693C21.0418 9.95993 22.0986 9.0452 23.1016 7.75781C23.6771 7.01059 24.4387 6.86826 24.9531 7.27246C25.5084 7.69677 25.5289 8.46462 24.9531 9.21191C23.4106 11.2322 21.4357 12.4443 18.9053 12.4443C16.1488 12.4443 13.7835 10.9494 12.0762 8.38379C11.6033 7.71699 11.726 6.94964 12.2402 6.58594ZM59.1445 0C61.5312 0 63.2798 1.09116 64 3.83887L61.3877 4.24219C61.3465 2.84847 60.4618 2.42489 59.207 2.4248C58.2195 2.4248 57.499 2.84883 57.499 3.51562C57.4992 4.04069 57.8697 4.58616 58.9805 4.78809L60.9756 5.15137C62.9298 5.51551 63.9795 6.76793 63.9795 8.48535C63.9792 11.0102 61.6543 12.2627 59.4736 12.2627C57.1698 12.2626 54.6192 11.0904 54.208 8.24219L56.8203 7.83789C56.9644 9.31277 57.8903 9.83881 59.3711 9.83887C60.5024 9.83887 61.2636 9.43452 61.2637 8.72754C61.2637 8.10123 60.9141 7.63618 59.6797 7.41406L57.8691 7.09082C55.9565 6.74715 54.7842 5.41356 54.7842 3.7168C54.7844 1.09068 57.211 7.8171e-05 59.1445 0ZM5.9248 8.16113L8.63965 0.302734H11.8281L7.09668 11.959H4.73145L0 0.302734H3.18848L5.9248 8.16113ZM33.1826 2.50488C31.5988 2.50497 30.2003 3.61605 30.2002 6.10059C30.2002 8.4844 31.5987 9.73711 33.1621 9.7373C34.643 9.7373 36.166 8.56534 36.166 6.10059C36.1659 3.67634 34.6431 2.50488 33.1826 2.50488ZM47.1104 2.50488C45.5265 2.50488 44.1271 3.61595 44.127 6.10059C44.127 8.48459 45.5262 9.7373 47.0898 9.7373C48.5708 9.73729 50.0928 8.56533 50.0928 6.10059C50.0926 3.67645 48.5708 2.50499 47.1104 2.50488ZM21.0039 2.06055C21.8679 2.06067 22.6084 2.70741 22.6084 3.63672L22.5996 3.80762C22.5149 4.64394 21.8138 5.2118 21.0039 5.21191C20.1401 5.21191 19.3996 4.56573 19.3994 3.63672C19.3994 2.70732 20.14 2.06055 21.0039 2.06055Z",
@@ -5147,136 +5228,136 @@ const Qa = "_donor_1hxqz_1", es = "_tabsWrapper_1hxqz_14", ts = "_content_1hxqz_
5147
5228
  }
5148
5229
  )
5149
5230
  }
5150
- ), vs = [
5231
+ ), Es = [
5151
5232
  { value: 220, label: "220 kr" },
5152
5233
  { value: 345, label: "345 kr" },
5153
5234
  { value: 660, label: "660 kr" }
5154
- ], pi = ({
5155
- "data-color": t = "primary",
5156
- amounts: e = vs,
5157
- defaultAmount: r = 345,
5235
+ ], Li = ({
5236
+ "data-color": n = "primary",
5237
+ amounts: e = Es,
5238
+ defaultAmount: a = 345,
5158
5239
  oneTimeLabel: d = "En gang",
5159
5240
  monthlyLabel: h = "Hver måned",
5160
- customAmountPlaceholder: k = "Valgfritt beløp",
5161
- amountLabel: u = "Velg ønsket beløp:",
5162
- impactMessage: x = "En gave på {amount} bidrar til ...",
5163
- vippsButtonLabel: F = "Gi med",
5164
- avtalegiroLabel: C = "Gi med avtalegiro",
5165
- avtalegiroHref: U = "#",
5166
- currencySuffix: w = "kr",
5167
- onVippsClick: P,
5168
- onAvtalegiroClick: M,
5169
- onAmountChange: l,
5170
- showVippsButton: te = !0,
5171
- showAvtalegiroLink: z = !0,
5172
- showImpactMessage: B = !0,
5173
- heartVariant: X = "outlined"
5241
+ customAmountPlaceholder: f = "Valgfritt beløp",
5242
+ amountLabel: m = "Velg ønsket beløp:",
5243
+ impactMessage: k = "En gave på {amount} bidrar til ...",
5244
+ vippsButtonLabel: D = "Gi med",
5245
+ avtalegiroLabel: S = "Gi med avtalegiro",
5246
+ avtalegiroHref: R = "#",
5247
+ currencySuffix: _ = "kr",
5248
+ onVippsClick: V,
5249
+ onAvtalegiroClick: A,
5250
+ onAmountChange: p,
5251
+ showVippsButton: K = !0,
5252
+ showAvtalegiroLink: X = !0,
5253
+ showImpactMessage: j = !0,
5254
+ heartVariant: q = "outlined"
5174
5255
  }) => {
5175
- const [c, A] = Y("monthly"), [S, R] = Y(r), [I, G] = Y(""), [O, J] = Y(!1);
5176
- $(() => {
5177
- const _ = "rk-donor-inline-styles";
5178
- if (typeof document > "u" || document.getElementById(_)) return;
5179
- const j = bs(E), K = document.createElement("style");
5180
- K.id = _, K.textContent = j, document.head.appendChild(K);
5256
+ const [g, M] = O("monthly"), [I, F] = O(a), [N, L] = O(""), [G, ne] = O(!1);
5257
+ z(() => {
5258
+ const y = "rk-donor-inline-styles";
5259
+ if (typeof document > "u" || document.getElementById(y)) return;
5260
+ const B = $s(P), Q = document.createElement("style");
5261
+ Q.id = y, Q.textContent = B, document.head.appendChild(Q);
5181
5262
  }, []);
5182
- const W = O && I ? parseInt(I, 10) || 0 : S, L = (_) => {
5183
- R(_), J(!1), G(""), l == null || l(_, c);
5184
- }, g = (_) => {
5185
- const j = _.target.value;
5186
- G(j), J(!0);
5187
- const K = parseInt(j, 10);
5188
- K > 0 && (l == null || l(K, c));
5189
- }, f = () => {
5190
- J(!0);
5191
- }, b = (_) => {
5192
- const j = _;
5193
- A(j), l == null || l(W, j);
5194
- }, y = () => {
5195
- P == null || P(W, c);
5196
- }, ne = () => {
5197
- M == null || M();
5198
- }, Q = () => {
5199
- const _ = `${W} ${w}`, j = x.split("{amount}");
5200
- return /* @__PURE__ */ a("span", { children: [
5201
- j[0],
5202
- /* @__PURE__ */ n("span", { className: E.impactAmount, children: _ }),
5203
- j[1] || ""
5263
+ const H = G && N ? parseInt(N, 10) || 0 : I, J = (y) => {
5264
+ F(y), ne(!1), L(""), p == null || p(y, g);
5265
+ }, T = (y) => {
5266
+ const B = y.target.value;
5267
+ L(B), ne(!0);
5268
+ const Q = parseInt(B, 10);
5269
+ Q > 0 && (p == null || p(Q, g));
5270
+ }, b = () => {
5271
+ ne(!0);
5272
+ }, l = (y) => {
5273
+ const B = y;
5274
+ M(B), p == null || p(H, B);
5275
+ }, C = () => {
5276
+ V == null || V(H, g);
5277
+ }, E = () => {
5278
+ A == null || A();
5279
+ }, Y = () => {
5280
+ const y = `${H} ${_}`, B = k.split("{amount}");
5281
+ return /* @__PURE__ */ r("span", { children: [
5282
+ B[0],
5283
+ /* @__PURE__ */ t("span", { className: P.impactAmount, children: y }),
5284
+ B[1] || ""
5204
5285
  ] });
5205
5286
  };
5206
- return /* @__PURE__ */ a("div", { className: E.donor, "data-color": t, children: [
5207
- /* @__PURE__ */ n("div", { className: E.tabsWrapper, children: /* @__PURE__ */ n(Te, { defaultValue: "monthly", onChange: b, "data-size": "md", children: /* @__PURE__ */ a(Te.List, { children: [
5208
- /* @__PURE__ */ n(Te.Tab, { value: "one-time", children: d }),
5209
- /* @__PURE__ */ a(Te.Tab, { value: "monthly", children: [
5210
- /* @__PURE__ */ n("span", { className: E.tabHeartIcon, children: /* @__PURE__ */ n(We, {}) }),
5287
+ return /* @__PURE__ */ r("div", { className: P.donor, "data-color": n, children: [
5288
+ /* @__PURE__ */ t("div", { className: P.tabsWrapper, children: /* @__PURE__ */ t(we, { defaultValue: "monthly", onChange: l, "data-size": "md", children: /* @__PURE__ */ r(we.List, { children: [
5289
+ /* @__PURE__ */ t(we.Tab, { value: "one-time", children: d }),
5290
+ /* @__PURE__ */ r(we.Tab, { value: "monthly", children: [
5291
+ /* @__PURE__ */ t("span", { className: P.tabHeartIcon, children: /* @__PURE__ */ t(We, {}) }),
5211
5292
  h
5212
5293
  ] })
5213
5294
  ] }) }) }),
5214
- /* @__PURE__ */ a("div", { className: E.content, children: [
5215
- /* @__PURE__ */ a("div", { className: E.amountSection, children: [
5216
- /* @__PURE__ */ n(be, { className: E.amountLabel, "data-size": "sm", children: u }),
5217
- /* @__PURE__ */ n("div", { className: E.amountButtons, children: e.map((_) => {
5218
- const j = !O && S === _.value;
5219
- return /* @__PURE__ */ n(
5220
- de,
5295
+ /* @__PURE__ */ r("div", { className: P.content, children: [
5296
+ /* @__PURE__ */ r("div", { className: P.amountSection, children: [
5297
+ /* @__PURE__ */ t(xe, { className: P.amountLabel, "data-size": "sm", children: m }),
5298
+ /* @__PURE__ */ t("div", { className: P.amountButtons, children: e.map((y) => {
5299
+ const B = !G && I === y.value;
5300
+ return /* @__PURE__ */ t(
5301
+ ce,
5221
5302
  {
5222
- variant: j ? "primary" : "secondary",
5223
- "data-color": j ? "accent" : "neutral",
5224
- onClick: () => L(_.value),
5225
- children: _.label
5303
+ variant: B ? "primary" : "secondary",
5304
+ "data-color": B ? "accent" : "neutral",
5305
+ onClick: () => J(y.value),
5306
+ children: y.label
5226
5307
  },
5227
- _.value
5308
+ y.value
5228
5309
  );
5229
5310
  }) }),
5230
- /* @__PURE__ */ n("div", { className: E.customAmountField, children: /* @__PURE__ */ n(
5231
- Xo,
5311
+ /* @__PURE__ */ t("div", { className: P.customAmountField, children: /* @__PURE__ */ t(
5312
+ Qo,
5232
5313
  {
5233
- "aria-label": k,
5234
- placeholder: k,
5235
- value: I,
5236
- onChange: g,
5237
- onFocus: f,
5314
+ "aria-label": f,
5315
+ placeholder: f,
5316
+ value: N,
5317
+ onChange: T,
5318
+ onFocus: b,
5238
5319
  type: "number",
5239
5320
  min: 1
5240
5321
  }
5241
5322
  ) })
5242
5323
  ] }),
5243
- B && /* @__PURE__ */ a("div", { className: E.impactRow, children: [
5244
- /* @__PURE__ */ n("div", { className: E.heartIcon, children: X === "filled" ? /* @__PURE__ */ n(We, {}) : /* @__PURE__ */ n(fs, {}) }),
5245
- /* @__PURE__ */ n("p", { className: E.impactText, children: Q() })
5324
+ j && /* @__PURE__ */ r("div", { className: P.impactRow, children: [
5325
+ /* @__PURE__ */ t("div", { className: P.heartIcon, children: q === "filled" ? /* @__PURE__ */ t(We, {}) : /* @__PURE__ */ t(Fs, {}) }),
5326
+ /* @__PURE__ */ t("p", { className: P.impactText, children: Y() })
5246
5327
  ] }),
5247
- /* @__PURE__ */ a("div", { className: E.actionsSection, children: [
5248
- te && /* @__PURE__ */ a(
5328
+ /* @__PURE__ */ r("div", { className: P.actionsSection, children: [
5329
+ K && /* @__PURE__ */ r(
5249
5330
  "button",
5250
5331
  {
5251
- className: E.vippsButton,
5252
- onClick: y,
5332
+ className: P.vippsButton,
5333
+ onClick: C,
5253
5334
  type: "button",
5254
- "aria-label": `${F} Vipps`,
5335
+ "aria-label": `${D} Vipps`,
5255
5336
  children: [
5256
- /* @__PURE__ */ n("span", { className: E.vippsButtonLabel, children: F }),
5257
- /* @__PURE__ */ n("span", { className: E.vippsLogo, children: /* @__PURE__ */ n(ks, {}) })
5337
+ /* @__PURE__ */ t("span", { className: P.vippsButtonLabel, children: D }),
5338
+ /* @__PURE__ */ t("span", { className: P.vippsLogo, children: /* @__PURE__ */ t(Bs, {}) })
5258
5339
  ]
5259
5340
  }
5260
5341
  ),
5261
- z && /* @__PURE__ */ n(
5262
- oe,
5342
+ X && /* @__PURE__ */ t(
5343
+ te,
5263
5344
  {
5264
- href: U,
5345
+ href: R,
5265
5346
  "data-color": "neutral",
5266
- className: E.avtalegiroLink,
5267
- onClick: (_) => {
5268
- M && (_.preventDefault(), ne());
5347
+ className: P.avtalegiroLink,
5348
+ onClick: (y) => {
5349
+ A && (y.preventDefault(), E());
5269
5350
  },
5270
- children: C
5351
+ children: S
5271
5352
  }
5272
5353
  )
5273
5354
  ] })
5274
5355
  ] })
5275
5356
  ] });
5276
5357
  };
5277
- function bs(t) {
5358
+ function $s(n) {
5278
5359
  return `
5279
- .${t.donor} {
5360
+ .${n.donor} {
5280
5361
  border-radius: 16px;
5281
5362
  overflow: hidden;
5282
5363
  background-color: var(--ds-color-primary-color-red-surface-default, #ffffff);
@@ -5287,16 +5368,16 @@ function bs(t) {
5287
5368
  max-width: 344px;
5288
5369
  padding-top: var(--ds-size-2, 8px);
5289
5370
  }
5290
- .${t.tabsWrapper} {
5371
+ .${n.tabsWrapper} {
5291
5372
  width: 100%;
5292
5373
  overflow: hidden;
5293
5374
  border-radius: 4px;
5294
5375
  }
5295
- .${t.tabsWrapper} [role="tablist"] {
5376
+ .${n.tabsWrapper} [role="tablist"] {
5296
5377
  display: flex !important;
5297
5378
  width: 100% !important;
5298
5379
  }
5299
- .${t.tabsWrapper} [role="tab"] {
5380
+ .${n.tabsWrapper} [role="tab"] {
5300
5381
  flex: 1 1 50% !important;
5301
5382
  display: inline-flex !important;
5302
5383
  align-items: center !important;
@@ -5304,7 +5385,7 @@ function bs(t) {
5304
5385
  text-align: center;
5305
5386
  white-space: nowrap;
5306
5387
  }
5307
- .${t.content} {
5388
+ .${n.content} {
5308
5389
  display: flex;
5309
5390
  flex-direction: column;
5310
5391
  gap: var(--ds-size-6, 24px);
@@ -5314,14 +5395,14 @@ function bs(t) {
5314
5395
  width: 100%;
5315
5396
  box-sizing: border-box;
5316
5397
  }
5317
- .${t.amountSection} {
5398
+ .${n.amountSection} {
5318
5399
  display: flex;
5319
5400
  flex-direction: column;
5320
5401
  gap: var(--ds-size-2, 8px);
5321
5402
  align-items: flex-start;
5322
5403
  width: 296px;
5323
5404
  }
5324
- .${t.amountLabel} {
5405
+ .${n.amountLabel} {
5325
5406
  font-weight: var(--ds-font-weight-regular, 400);
5326
5407
  font-size: var(--ds-font-size-3, 16px);
5327
5408
  line-height: 1.5;
@@ -5329,26 +5410,26 @@ function bs(t) {
5329
5410
  color: var(--ds-color-neutral-text-default, #333333);
5330
5411
  margin: 0;
5331
5412
  }
5332
- .${t.amountButtons} {
5413
+ .${n.amountButtons} {
5333
5414
  display: flex;
5334
5415
  gap: var(--ds-size-2, 8px);
5335
5416
  align-items: flex-start;
5336
5417
  width: 100%;
5337
5418
  }
5338
- .${t.amountButtons} > button {
5419
+ .${n.amountButtons} > button {
5339
5420
  flex: 1;
5340
5421
  }
5341
- .${t.customAmountField} {
5422
+ .${n.customAmountField} {
5342
5423
  width: 100%;
5343
5424
  }
5344
- .${t.impactRow} {
5425
+ .${n.impactRow} {
5345
5426
  display: flex;
5346
5427
  gap: var(--ds-size-3, 12px);
5347
5428
  align-items: center;
5348
5429
  width: 296px;
5349
5430
  min-height: 48px;
5350
5431
  }
5351
- .${t.heartIcon} {
5432
+ .${n.heartIcon} {
5352
5433
  width: 32px;
5353
5434
  height: 32px;
5354
5435
  flex-shrink: 0;
@@ -5356,11 +5437,11 @@ function bs(t) {
5356
5437
  align-items: center;
5357
5438
  justify-content: center;
5358
5439
  }
5359
- .${t.heartIcon} svg {
5440
+ .${n.heartIcon} svg {
5360
5441
  width: 19px;
5361
5442
  height: 18px;
5362
5443
  }
5363
- .${t.impactText} {
5444
+ .${n.impactText} {
5364
5445
  flex: 1;
5365
5446
  font-weight: var(--ds-font-weight-regular, 400);
5366
5447
  font-size: var(--ds-font-size-3, 16px);
@@ -5369,10 +5450,10 @@ function bs(t) {
5369
5450
  color: var(--ds-color-neutral-text-default, #333333);
5370
5451
  margin: 0;
5371
5452
  }
5372
- .${t.impactAmount} {
5453
+ .${n.impactAmount} {
5373
5454
  font-weight: var(--ds-font-weight-semibold, 600);
5374
5455
  }
5375
- .${t.actionsSection} {
5456
+ .${n.actionsSection} {
5376
5457
  display: flex;
5377
5458
  flex-direction: column;
5378
5459
  gap: var(--ds-size-2, 8px);
@@ -5380,7 +5461,7 @@ function bs(t) {
5380
5461
  justify-content: center;
5381
5462
  width: 296px;
5382
5463
  }
5383
- .${t.vippsButton} {
5464
+ .${n.vippsButton} {
5384
5465
  display: flex;
5385
5466
  gap: 6px;
5386
5467
  align-items: center;
@@ -5396,17 +5477,17 @@ function bs(t) {
5396
5477
  transition: opacity 0.15s ease;
5397
5478
  font-family: inherit;
5398
5479
  }
5399
- .${t.vippsButton}:hover {
5480
+ .${n.vippsButton}:hover {
5400
5481
  opacity: 0.9;
5401
5482
  }
5402
- .${t.vippsButton}:active {
5483
+ .${n.vippsButton}:active {
5403
5484
  opacity: 0.8;
5404
5485
  }
5405
- .${t.vippsButton}:focus-visible {
5486
+ .${n.vippsButton}:focus-visible {
5406
5487
  outline: 2px solid var(--ds-color-neutral-border-default, #797979);
5407
5488
  outline-offset: 2px;
5408
5489
  }
5409
- .${t.vippsButtonLabel} {
5490
+ .${n.vippsButtonLabel} {
5410
5491
  font-family: inherit;
5411
5492
  font-weight: 700;
5412
5493
  font-size: 18.5px;
@@ -5414,98 +5495,98 @@ function bs(t) {
5414
5495
  color: #ffffff;
5415
5496
  white-space: nowrap;
5416
5497
  }
5417
- .${t.vippsLogo} {
5498
+ .${n.vippsLogo} {
5418
5499
  display: flex;
5419
5500
  flex-direction: column;
5420
5501
  align-items: flex-start;
5421
5502
  flex-shrink: 0;
5422
5503
  }
5423
- .${t.vippsLogo} svg {
5504
+ .${n.vippsLogo} svg {
5424
5505
  width: 64px;
5425
5506
  height: 16px;
5426
5507
  }
5427
- .${t.avtalegiroLink} {
5508
+ .${n.avtalegiroLink} {
5428
5509
  text-align: center;
5429
5510
  }
5430
- .${t.tabHeartIcon} {
5511
+ .${n.tabHeartIcon} {
5431
5512
  display: inline-flex;
5432
5513
  align-items: center;
5433
5514
  margin-right: 4px;
5434
5515
  vertical-align: middle;
5435
5516
  }
5436
- .${t.tabHeartIcon} svg {
5517
+ .${n.tabHeartIcon} svg {
5437
5518
  width: 16px;
5438
5519
  height: 15px;
5439
5520
  }
5440
5521
  `;
5441
5522
  }
5442
5523
  export {
5443
- un as Alert,
5524
+ hn as Alert,
5444
5525
  Ke as Avatar,
5445
- hn as Badge,
5446
- Is as BadgePosition,
5447
- _s as Breadcrumbs,
5448
- As as BreadcrumbsItem,
5449
- Ls as BreadcrumbsLink,
5450
- Ds as BreadcrumbsList,
5451
- de as Button,
5452
- fn as Card,
5453
- Ns as CardBlock,
5454
- $o as Carousel,
5455
- kn as Checkbox,
5456
- js as Chip,
5457
- ve as CrossCorner,
5458
- bo as DateInput,
5459
- co as DatePicker,
5460
- Es as Details,
5461
- $s as Dialog,
5462
- Ps as Divider,
5463
- pi as Donor,
5464
- V as Dropdown,
5465
- Us as DropdownButton,
5466
- Gs as DropdownHeading,
5467
- Hs as DropdownItem,
5468
- Ws as DropdownList,
5469
- zs as DropdownTrigger,
5470
- Rs as DropdownTriggerContext,
5471
- Vs as ErrorSummary,
5472
- Os as Field,
5473
- Vo as FieldCounter,
5474
- Uo as FieldDescription,
5475
- Ks as Fieldset,
5476
- ci as Footer,
5477
- di as Header,
5478
- Oo as Heading,
5526
+ fn as Badge,
5527
+ Us as BadgePosition,
5528
+ Vs as Breadcrumbs,
5529
+ Ks as BreadcrumbsItem,
5530
+ qs as BreadcrumbsLink,
5531
+ Os as BreadcrumbsList,
5532
+ ce as Button,
5533
+ vn as Card,
5534
+ Ys as CardBlock,
5535
+ zo as Carousel,
5536
+ bn as Checkbox,
5537
+ Xs as Chip,
5538
+ ye as CrossCorner,
5539
+ xo as DateInput,
5540
+ mo as DatePicker,
5541
+ ei as Details,
5542
+ ti as Dialog,
5543
+ ni as Divider,
5544
+ Li as Donor,
5545
+ U as Dropdown,
5546
+ li as DropdownButton,
5547
+ ai as DropdownHeading,
5548
+ ii as DropdownItem,
5549
+ si as DropdownList,
5550
+ oi as DropdownTrigger,
5551
+ ri as DropdownTriggerContext,
5552
+ di as ErrorSummary,
5553
+ ci as Field,
5554
+ Ko as FieldCounter,
5555
+ Oo as FieldDescription,
5556
+ pi as Fieldset,
5557
+ Di as Footer,
5558
+ _i as Header,
5559
+ qo as Heading,
5479
5560
  Ze as Input,
5480
- Ko as Label,
5481
- Fs as LanguageProvider,
5482
- oe as Link,
5483
- qs as List,
5484
- qo as Pagination,
5485
- Xs as PaginationButton,
5486
- Zs as PaginationItem,
5487
- Ys as PaginationList,
5488
- be as Paragraph,
5489
- Qs as Popover,
5490
- ei as Radio,
5491
- xe as Search,
5492
- ni as Select,
5493
- oi as SkeletonLoader,
5494
- ri as SkipLink,
5495
- Eo as Spinner,
5496
- Yo as Suggestion,
5497
- Le as Switch,
5498
- ai as Table,
5499
- Te as Tabs,
5500
- Zo as Tag,
5501
- si as Textarea,
5502
- Xo as Textfield,
5503
- ii as ToggleGroup,
5504
- li as Tooltip,
5505
- Jo as ValidationMessage,
5506
- Ms as useCheckboxGroup,
5507
- Bs as useLanguage,
5508
- ye as useLanguageOptional,
5509
- Js as usePagination,
5510
- ti as useRadioGroup
5561
+ Yo as Label,
5562
+ Js as LanguageProvider,
5563
+ te as Link,
5564
+ mi as List,
5565
+ Zo as Pagination,
5566
+ hi as PaginationButton,
5567
+ ui as PaginationItem,
5568
+ gi as PaginationList,
5569
+ xe as Paragraph,
5570
+ ki as Popover,
5571
+ vi as Radio,
5572
+ Ce as Search,
5573
+ yi as Select,
5574
+ xi as SkeletonLoader,
5575
+ Ti as SkipLink,
5576
+ Po as Spinner,
5577
+ Xo as Suggestion,
5578
+ je as Switch,
5579
+ Ci as Table,
5580
+ we as Tabs,
5581
+ Jo as Tag,
5582
+ wi as Textarea,
5583
+ Qo as Textfield,
5584
+ Si as ToggleGroup,
5585
+ Ii as Tooltip,
5586
+ er as ValidationMessage,
5587
+ Zs as useCheckboxGroup,
5588
+ Qs as useLanguage,
5589
+ Te as useLanguageOptional,
5590
+ fi as usePagination,
5591
+ bi as useRadioGroup
5511
5592
  };