rk-designsystem 1.2.2 → 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,17 +1,17 @@
1
- import { jsx as n, jsxs as s, Fragment as Ce } from "react/jsx-runtime";
2
- import Ne, { forwardRef as se, 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 st, BreadcrumbsList as at, 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 sn, isSameDay as an, 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 = se((t, e) => /* @__PURE__ */ n(Qe, { ref: e, ...t }));
8
- un.displayName = "Alert";
9
- const Ke = se((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 = se((t, e) => /* @__PURE__ */ n(nt, { ref: e, ...t }));
12
- hn.displayName = "Badge";
13
- const _a = tt, Da = ot, Aa = at, La = rt, Na = st;
14
- function fn() {
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
15
  return {
16
16
  "--dsc-button-background": "var(--ds-color-surface-tinted)",
17
17
  "--dsc-button-background--hover": "var(--ds-color-surface-hover)",
@@ -21,81 +21,81 @@ function fn() {
21
21
  "--dsc-button-border-color": "transparent"
22
22
  };
23
23
  }
24
- const de = se(function({ variant: e, shape: o, style: d, ...h }, f) {
25
- const c = {};
26
- e === "soft" && Object.assign(c, fn()), o === "pill" && (c.borderRadius = "var(--ds-border-radius-full)");
27
- const k = Object.keys(c).length === 0 && !d ? void 0 : { ...c, ...d }, D = {};
28
- return e !== void 0 && (D.variant = e), o === "pill" && (D["data-shape"] = "pill"), /* @__PURE__ */ n(Me, { ref: f, ...h, ...D, style: k });
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 });
29
29
  });
30
- de.displayName = "Button";
31
- const kn = it, Ma = lt;
32
- kn.displayName = "Card";
33
- const vn = dt, bn = Ue, ja = ct;
34
- vn.displayName = "Checkbox";
35
- bn.displayName = "Fieldset";
36
- const Fa = pt;
37
- 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) {
38
38
  return (e = {}) => {
39
- const o = e.width ? String(e.width) : t.defaultWidth;
40
- return t.formats[o] || t.formats[t.defaultWidth];
39
+ const a = e.width ? String(e.width) : n.defaultWidth;
40
+ return n.formats[a] || n.formats[n.defaultWidth];
41
41
  };
42
42
  }
43
- function fe(t) {
44
- return (e, o) => {
45
- const d = o != null && o.context ? String(o.context) : "standalone";
43
+ function ve(n) {
44
+ return (e, a) => {
45
+ const d = a != null && a.context ? String(a.context) : "standalone";
46
46
  let h;
47
- if (d === "formatting" && t.formattingValues) {
48
- const c = t.defaultFormattingWidth || t.defaultWidth, k = o != null && o.width ? String(o.width) : c;
49
- h = t.formattingValues[k] || t.formattingValues[c];
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];
50
50
  } else {
51
- const c = t.defaultWidth, k = o != null && o.width ? String(o.width) : t.defaultWidth;
52
- h = t.values[k] || t.values[c];
51
+ const m = n.defaultWidth, k = a != null && a.width ? String(a.width) : n.defaultWidth;
52
+ h = n.values[k] || n.values[m];
53
53
  }
54
- const f = t.argumentCallback ? t.argumentCallback(e) : e;
54
+ const f = n.argumentCallback ? n.argumentCallback(e) : e;
55
55
  return h[f];
56
56
  };
57
57
  }
58
- function ke(t) {
59
- return (e, o = {}) => {
60
- const d = o.width, h = d && t.matchPatterns[d] || t.matchPatterns[t.defaultMatchWidth], f = e.match(h);
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
61
  if (!f)
62
62
  return null;
63
- const c = f[0], k = d && t.parsePatterns[d] || t.parsePatterns[t.defaultParseWidth], D = Array.isArray(k) ? xn(k, (w) => w.test(c)) : (
63
+ const m = f[0], k = d && n.parsePatterns[d] || n.parsePatterns[n.defaultParseWidth], D = Array.isArray(k) ? Tn(k, (_) => _.test(m)) : (
64
64
  // [TODO] -- I challenge you to fix the type
65
- yn(k, (w) => w.test(c))
65
+ xn(k, (_) => _.test(m))
66
66
  );
67
- let C;
68
- C = t.valueCallback ? t.valueCallback(D) : D, C = o.valueCallback ? (
67
+ let S;
68
+ S = n.valueCallback ? n.valueCallback(D) : D, S = a.valueCallback ? (
69
69
  // [TODO] -- I challenge you to fix the type
70
- o.valueCallback(C)
71
- ) : C;
72
- const U = e.slice(c.length);
73
- return { value: C, rest: U };
70
+ a.valueCallback(S)
71
+ ) : S;
72
+ const R = e.slice(m.length);
73
+ return { value: S, rest: R };
74
74
  };
75
75
  }
76
- function yn(t, e) {
77
- for (const o in t)
78
- if (Object.prototype.hasOwnProperty.call(t, o) && e(t[o]))
79
- return o;
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;
80
80
  }
81
- function xn(t, e) {
82
- for (let o = 0; o < t.length; o++)
83
- if (e(t[o]))
84
- return o;
81
+ function Tn(n, e) {
82
+ for (let a = 0; a < n.length; a++)
83
+ if (e(n[a]))
84
+ return a;
85
85
  }
86
- function Tn(t) {
87
- return (e, o = {}) => {
88
- const d = e.match(t.matchPattern);
86
+ function Cn(n) {
87
+ return (e, a = {}) => {
88
+ const d = e.match(n.matchPattern);
89
89
  if (!d) return null;
90
- const h = d[0], f = e.match(t.parsePattern);
90
+ const h = d[0], f = e.match(n.parsePattern);
91
91
  if (!f) return null;
92
- let c = t.valueCallback ? t.valueCallback(f[0]) : f[0];
93
- c = o.valueCallback ? o.valueCallback(c) : c;
92
+ let m = n.valueCallback ? n.valueCallback(f[0]) : f[0];
93
+ m = a.valueCallback ? a.valueCallback(m) : m;
94
94
  const k = e.slice(h.length);
95
- return { value: c, rest: k };
95
+ return { value: m, rest: k };
96
96
  };
97
97
  }
98
- const Cn = {
98
+ const wn = {
99
99
  lessThanXSeconds: {
100
100
  one: "mindre enn ett sekund",
101
101
  other: "mindre enn {{count}} sekunder"
@@ -157,46 +157,46 @@ const Cn = {
157
157
  one: "nesten ett år",
158
158
  other: "nesten {{count}} år"
159
159
  }
160
- }, wn = (t, e, o) => {
160
+ }, Sn = (n, e, a) => {
161
161
  let d;
162
- const h = Cn[t];
163
- return typeof h == "string" ? d = h : e === 1 ? d = h.one : d = h.other.replace("{{count}}", String(e)), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "om " + d : d + " siden" : d;
164
- }, Sn = {
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 = {
165
165
  full: "EEEE d. MMMM y",
166
166
  long: "d. MMMM y",
167
167
  medium: "d. MMM y",
168
168
  short: "dd.MM.y"
169
- }, In = {
169
+ }, _n = {
170
170
  full: "'kl'. HH:mm:ss zzzz",
171
171
  long: "HH:mm:ss z",
172
172
  medium: "HH:mm:ss",
173
173
  short: "HH:mm"
174
- }, _n = {
174
+ }, Dn = {
175
175
  full: "{{date}} 'kl.' {{time}}",
176
176
  long: "{{date}} 'kl.' {{time}}",
177
177
  medium: "{{date}} {{time}}",
178
178
  short: "{{date}} {{time}}"
179
- }, Dn = {
179
+ }, Ln = {
180
180
  date: De({
181
- formats: Sn,
181
+ formats: In,
182
182
  defaultWidth: "full"
183
183
  }),
184
184
  time: De({
185
- formats: In,
185
+ formats: _n,
186
186
  defaultWidth: "full"
187
187
  }),
188
188
  dateTime: De({
189
- formats: _n,
189
+ formats: Dn,
190
190
  defaultWidth: "full"
191
191
  })
192
- }, An = {
192
+ }, jn = {
193
193
  lastWeek: "'forrige' eeee 'kl.' p",
194
194
  yesterday: "'i går kl.' p",
195
195
  today: "'i dag kl.' p",
196
196
  tomorrow: "'i morgen kl.' p",
197
197
  nextWeek: "EEEE 'kl.' p",
198
198
  other: "P"
199
- }, Ln = (t, e, o, d) => An[t], Nn = {
199
+ }, An = (n, e, a, d) => jn[n], Nn = {
200
200
  narrow: ["f.Kr.", "e.Kr."],
201
201
  abbreviated: ["f.Kr.", "e.Kr."],
202
202
  wide: ["før Kristus", "etter Kristus"]
@@ -204,7 +204,7 @@ const Cn = {
204
204
  narrow: ["1", "2", "3", "4"],
205
205
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
206
206
  wide: ["1. kvartal", "2. kvartal", "3. kvartal", "4. kvartal"]
207
- }, jn = {
207
+ }, Fn = {
208
208
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
209
209
  abbreviated: [
210
210
  "jan.",
@@ -234,7 +234,7 @@ const Cn = {
234
234
  "november",
235
235
  "desember"
236
236
  ]
237
- }, Fn = {
237
+ }, Bn = {
238
238
  narrow: ["S", "M", "T", "O", "T", "F", "L"],
239
239
  short: ["sø", "ma", "ti", "on", "to", "fr", "lø"],
240
240
  abbreviated: ["søn", "man", "tir", "ons", "tor", "fre", "lør"],
@@ -247,7 +247,7 @@ const Cn = {
247
247
  "fredag",
248
248
  "lørdag"
249
249
  ]
250
- }, Bn = {
250
+ }, En = {
251
251
  narrow: {
252
252
  am: "a",
253
253
  pm: "p",
@@ -278,46 +278,46 @@ const Cn = {
278
278
  evening: "på kvelden",
279
279
  night: "på natten"
280
280
  }
281
- }, En = (t, e) => Number(t) + ".", $n = {
282
- ordinalNumber: En,
283
- era: fe({
281
+ }, $n = (n, e) => Number(n) + ".", Pn = {
282
+ ordinalNumber: $n,
283
+ era: ve({
284
284
  values: Nn,
285
285
  defaultWidth: "wide"
286
286
  }),
287
- quarter: fe({
287
+ quarter: ve({
288
288
  values: Mn,
289
289
  defaultWidth: "wide",
290
- argumentCallback: (t) => t - 1
291
- }),
292
- month: fe({
293
- values: jn,
294
- defaultWidth: "wide"
290
+ argumentCallback: (n) => n - 1
295
291
  }),
296
- day: fe({
292
+ month: ve({
297
293
  values: Fn,
298
294
  defaultWidth: "wide"
299
295
  }),
300
- dayPeriod: fe({
296
+ day: ve({
301
297
  values: Bn,
302
298
  defaultWidth: "wide"
299
+ }),
300
+ dayPeriod: ve({
301
+ values: En,
302
+ defaultWidth: "wide"
303
303
  })
304
- }, Pn = /^(\d+)\.?/i, zn = /\d+/i, Rn = {
304
+ }, zn = /^(\d+)\.?/i, Rn = /\d+/i, Gn = {
305
305
  narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
306
306
  abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
307
307
  wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
308
- }, Gn = {
309
- any: [/^f/i, /^e/i]
310
308
  }, Wn = {
309
+ any: [/^f/i, /^e/i]
310
+ }, Hn = {
311
311
  narrow: /^[1234]/i,
312
312
  abbreviated: /^q[1234]/i,
313
313
  wide: /^[1234](\.)? kvartal/i
314
- }, Hn = {
315
- any: [/1/i, /2/i, /3/i, /4/i]
316
314
  }, Un = {
315
+ any: [/1/i, /2/i, /3/i, /4/i]
316
+ }, Vn = {
317
317
  narrow: /^[jfmasond]/i,
318
318
  abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
319
319
  wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
320
- }, Vn = {
320
+ }, On = {
321
321
  narrow: [
322
322
  /^j/i,
323
323
  /^f/i,
@@ -346,17 +346,17 @@ const Cn = {
346
346
  /^n/i,
347
347
  /^d/i
348
348
  ]
349
- }, On = {
349
+ }, Kn = {
350
350
  narrow: /^[smtofl]/i,
351
351
  short: /^(sø|ma|ti|on|to|fr|lø)/i,
352
352
  abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
353
353
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
354
- }, Kn = {
355
- any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
356
354
  }, qn = {
355
+ any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
356
+ }, Yn = {
357
357
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
358
358
  any: /^([ap]\.?\s?m\.?|midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten))/i
359
- }, Yn = {
359
+ }, Zn = {
360
360
  any: {
361
361
  am: /^a(\.?\s?m\.?)?$/i,
362
362
  pm: /^p(\.?\s?m\.?)?$/i,
@@ -367,55 +367,55 @@ const Cn = {
367
367
  evening: /kveld/i,
368
368
  night: /natt/i
369
369
  }
370
- }, Zn = {
371
- ordinalNumber: Tn({
372
- matchPattern: Pn,
373
- parsePattern: zn,
374
- valueCallback: (t) => parseInt(t, 10)
370
+ }, Xn = {
371
+ ordinalNumber: Cn({
372
+ matchPattern: zn,
373
+ parsePattern: Rn,
374
+ valueCallback: (n) => parseInt(n, 10)
375
375
  }),
376
- era: ke({
377
- matchPatterns: Rn,
376
+ era: be({
377
+ matchPatterns: Gn,
378
378
  defaultMatchWidth: "wide",
379
- parsePatterns: Gn,
379
+ parsePatterns: Wn,
380
380
  defaultParseWidth: "any"
381
381
  }),
382
- quarter: ke({
383
- matchPatterns: Wn,
382
+ quarter: be({
383
+ matchPatterns: Hn,
384
384
  defaultMatchWidth: "wide",
385
- parsePatterns: Hn,
385
+ parsePatterns: Un,
386
386
  defaultParseWidth: "any",
387
- valueCallback: (t) => t + 1
387
+ valueCallback: (n) => n + 1
388
388
  }),
389
- month: ke({
390
- matchPatterns: Un,
389
+ month: be({
390
+ matchPatterns: Vn,
391
391
  defaultMatchWidth: "wide",
392
- parsePatterns: Vn,
392
+ parsePatterns: On,
393
393
  defaultParseWidth: "any"
394
394
  }),
395
- day: ke({
396
- matchPatterns: On,
395
+ day: be({
396
+ matchPatterns: Kn,
397
397
  defaultMatchWidth: "wide",
398
- parsePatterns: Kn,
398
+ parsePatterns: qn,
399
399
  defaultParseWidth: "any"
400
400
  }),
401
- dayPeriod: ke({
402
- matchPatterns: qn,
401
+ dayPeriod: be({
402
+ matchPatterns: Yn,
403
403
  defaultMatchWidth: "any",
404
- parsePatterns: Yn,
404
+ parsePatterns: Zn,
405
405
  defaultParseWidth: "any"
406
406
  })
407
- }, ge = {
407
+ }, he = {
408
408
  code: "nb",
409
- formatDistance: wn,
410
- formatLong: Dn,
411
- formatRelative: Ln,
412
- localize: $n,
413
- match: Zn,
409
+ formatDistance: Sn,
410
+ formatLong: Ln,
411
+ formatRelative: An,
412
+ localize: Pn,
413
+ match: Xn,
414
414
  options: {
415
415
  weekStartsOn: 1,
416
416
  firstWeekContainsDate: 4
417
417
  }
418
- }, qe = ({ title: t, ...e }) => /* @__PURE__ */ s(
418
+ }, qe = ({ title: n, ...e }) => /* @__PURE__ */ r(
419
419
  "svg",
420
420
  {
421
421
  xmlns: "http://www.w3.org/2000/svg",
@@ -423,12 +423,12 @@ const Cn = {
423
423
  height: "1em",
424
424
  viewBox: "0 0 28 28",
425
425
  fill: "none",
426
- "aria-hidden": t ? void 0 : !0,
426
+ "aria-hidden": n ? void 0 : !0,
427
427
  focusable: "false",
428
428
  ...e,
429
429
  children: [
430
- t && /* @__PURE__ */ n("title", { children: t }),
431
- /* @__PURE__ */ n(
430
+ n && /* @__PURE__ */ t("title", { children: n }),
431
+ /* @__PURE__ */ t(
432
432
  "path",
433
433
  {
434
434
  fillRule: "evenodd",
@@ -441,7 +441,7 @@ const Cn = {
441
441
  }
442
442
  );
443
443
  qe.displayName = "ChevronLeftIcon";
444
- const Ye = ({ title: t, ...e }) => /* @__PURE__ */ s(
444
+ const Ye = ({ title: n, ...e }) => /* @__PURE__ */ r(
445
445
  "svg",
446
446
  {
447
447
  xmlns: "http://www.w3.org/2000/svg",
@@ -449,12 +449,12 @@ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ s(
449
449
  height: "1em",
450
450
  viewBox: "0 0 28 28",
451
451
  fill: "none",
452
- "aria-hidden": t ? void 0 : !0,
452
+ "aria-hidden": n ? void 0 : !0,
453
453
  focusable: "false",
454
454
  ...e,
455
455
  children: [
456
- t && /* @__PURE__ */ n("title", { children: t }),
457
- /* @__PURE__ */ n(
456
+ n && /* @__PURE__ */ t("title", { children: n }),
457
+ /* @__PURE__ */ t(
458
458
  "path",
459
459
  {
460
460
  fillRule: "evenodd",
@@ -467,19 +467,19 @@ const Ye = ({ title: t, ...e }) => /* @__PURE__ */ s(
467
467
  }
468
468
  );
469
469
  Ye.displayName = "ChevronRightIcon";
470
- const Xn = "_calendarContainer_htlea_1", Jn = "_calendarHeader_htlea_16", Qn = "_monthYear_htlea_23", eo = "_navigationButtons_htlea_34", to = "_grid_htlea_43", no = "_dayNameCell_htlea_51", oo = "_dateCell_htlea_69", ro = "_dateNumberContainer_htlea_95", so = "_otherMonth_htlea_108", ao = "_disabled_htlea_108", io = "_selectedDate_htlea_134", ee = {
471
- calendarContainer: Xn,
472
- calendarHeader: Jn,
473
- monthYear: Qn,
474
- navigationButtons: eo,
475
- grid: to,
476
- dayNameCell: no,
477
- dateCell: oo,
478
- dateNumberContainer: ro,
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
479
  otherMonth: so,
480
- disabled: ao,
481
- selectedDate: io
482
- }, lo = {
480
+ disabled: io,
481
+ selectedDate: lo
482
+ }, co = {
483
483
  NO: {
484
484
  // Header
485
485
  header: {
@@ -2564,26 +2564,26 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2564
2564
  openDatePicker: "Open date picker"
2565
2565
  }
2566
2566
  }
2567
- }, je = Xe(void 0), Ba = ({ children: t }) => {
2568
- const [e, o] = Y("NO"), d = (h) => {
2567
+ }, Me = Je(void 0), Js = ({ children: n }) => {
2568
+ const [e, a] = O("NO"), d = (h) => {
2569
2569
  const f = h.split(".");
2570
- let c = lo[e];
2570
+ let m = co[e];
2571
2571
  for (const k of f) {
2572
- if (c[k] === void 0)
2572
+ if (m[k] === void 0)
2573
2573
  return console.warn(`Translation missing for key: ${h} in language: ${e}`), h;
2574
- c = c[k];
2574
+ m = m[k];
2575
2575
  }
2576
- return c;
2576
+ return m;
2577
2577
  };
2578
- return /* @__PURE__ */ n(je.Provider, { value: { language: e, setLanguage: o, t: d }, children: t });
2579
- }, Ea = () => {
2580
- const t = He(je);
2581
- 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)
2582
2582
  throw new Error("useLanguage must be used within a LanguageProvider");
2583
- return t;
2584
- }, ye = () => {
2585
- const t = He(je);
2586
- return t === void 0 ? {
2583
+ return n;
2584
+ }, Te = () => {
2585
+ const n = He(Me);
2586
+ return n === void 0 ? {
2587
2587
  language: "NO",
2588
2588
  setLanguage: () => {
2589
2589
  console.warn("LanguageProvider is not available. Language changes will not work.");
@@ -2641,125 +2641,125 @@ Map design elements to our existing components where possible (e.g. Buttons, Hea
2641
2641
  // DateInput translations
2642
2642
  "dateInput.openDatePicker": "Åpne datovelger"
2643
2643
  })[e] || e
2644
- } : t;
2645
- }, co = (t) => {
2646
- const e = me(t), o = Ve(e, { locale: ge }), d = Oe(o, 41);
2647
- return dn({ start: o, end: d });
2648
- }, Pe = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), po = ({
2649
- 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(),
2650
2650
  selectedDate: e = null,
2651
2651
  // Prop for valgt dato
2652
- onDateSelect: o,
2652
+ onDateSelect: a,
2653
2653
  "data-color": d,
2654
2654
  // <-- Destrukturert
2655
2655
  "data-size": h
2656
2656
  // <-- Destrukturert
2657
2657
  }) => {
2658
- const { t: f } = ye();
2659
- $(() => {
2660
- const p = "rk-datepicker-inline-styles";
2661
- if (typeof document > "u" || document.getElementById(p)) return;
2662
- const L = mo(ee), S = document.createElement("style");
2663
- S.id = p, S.textContent = L, 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);
2664
2664
  }, []);
2665
- const [c, k] = Y(
2666
- me(e && Ie(e) ? e : t)
2665
+ const [m, k] = O(
2666
+ ue(e && Ie(e) ? e : n)
2667
2667
  );
2668
- $(() => {
2668
+ z(() => {
2669
2669
  if (e && Ie(e)) {
2670
- const p = me(e);
2671
- Fe(p, c) || k(p);
2670
+ const g = ue(e);
2671
+ Fe(g, m) || k(g);
2672
2672
  }
2673
2673
  }, [e]);
2674
- const D = ue(() => me(/* @__PURE__ */ new Date()), []), C = ue(() => !1, [c, D]), U = ue(
2675
- () => co(c),
2676
- [c]
2677
- ), w = ue(() => {
2678
- const p = Ve(/* @__PURE__ */ new Date(), { locale: ge });
2679
- return Array.from({ length: 7 }).map((L, S) => {
2680
- const R = he(Oe(p, S), "EEEEEE", { locale: ge });
2681
- 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);
2682
2682
  });
2683
- }, []), P = re(() => {
2684
- C || k((p) => me(rn(p, 1)));
2685
- }, [C]), j = re(() => {
2686
- k((p) => me(sn(p, 1)));
2687
- }, []), l = re(
2688
- (p) => {
2689
- o && o(p);
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);
2690
2690
  },
2691
- [o]
2692
- ), te = re(
2693
- (p, L) => {
2694
- (p.key === "Enter" || p.key === " ") && (p.preventDefault(), l(L));
2691
+ [a]
2692
+ ), K = se(
2693
+ (g, M) => {
2694
+ (g.key === "Enter" || g.key === " ") && (g.preventDefault(), p(M));
2695
2695
  },
2696
- [l]
2697
- ), z = he(c, "MMMM", { locale: ge }), B = he(c, "yyyy", { locale: ge }), X = `${Pe(z)} ${B}`;
2698
- return /* @__PURE__ */ s(
2696
+ [p]
2697
+ ), X = ke(m, "MMMM", { locale: he }), j = ke(m, "yyyy", { locale: he }), q = `${Pe(X)} ${j}`;
2698
+ return /* @__PURE__ */ r(
2699
2699
  "div",
2700
2700
  {
2701
2701
  className: ee.calendarContainer,
2702
2702
  "data-color": d,
2703
2703
  "data-size": h,
2704
2704
  children: [
2705
- /* @__PURE__ */ s("div", { className: ee.calendarHeader, children: [
2706
- /* @__PURE__ */ n("span", { className: ee.monthYear, children: X }),
2707
- /* @__PURE__ */ s("div", { className: ee.navigationButtons, children: [
2708
- /* @__PURE__ */ n(
2709
- 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,
2710
2710
  {
2711
2711
  variant: "tertiary",
2712
2712
  icon: !0,
2713
- onClick: P,
2713
+ onClick: V,
2714
2714
  "aria-label": f("datePicker.previousMonth"),
2715
- disabled: C,
2716
- children: /* @__PURE__ */ n(qe, {})
2715
+ disabled: S,
2716
+ children: /* @__PURE__ */ t(qe, {})
2717
2717
  }
2718
2718
  ),
2719
- /* @__PURE__ */ n(
2720
- Me,
2719
+ /* @__PURE__ */ t(
2720
+ Ne,
2721
2721
  {
2722
2722
  variant: "tertiary",
2723
2723
  icon: !0,
2724
- onClick: j,
2724
+ onClick: A,
2725
2725
  "aria-label": f("datePicker.nextMonth"),
2726
- children: /* @__PURE__ */ n(Ye, {})
2726
+ children: /* @__PURE__ */ t(Ye, {})
2727
2727
  }
2728
2728
  )
2729
2729
  ] })
2730
2730
  ] }),
2731
- /* @__PURE__ */ n("div", { className: ee.grid, children: w.map((p) => /* @__PURE__ */ n("div", { className: ee.dayNameCell, children: p }, p)) }),
2732
- /* @__PURE__ */ n("div", { className: ee.grid, children: U.map((p) => {
2733
- const L = Fe(p, c), S = e && Ie(e) && an(p, e), R = ln(p), 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 = [
2734
2734
  ee.dateCell,
2735
- L ? "" : ee.otherMonth,
2736
- S ? ee.selectedDate : "",
2735
+ M ? "" : ee.otherMonth,
2736
+ I ? ee.selectedDate : "",
2737
2737
  // Utheving basert på prop
2738
- R && !S ? ee.todayDate : ""
2738
+ F && !I ? ee.todayDate : ""
2739
2739
  ].filter(Boolean).join(" ");
2740
- return /* @__PURE__ */ n(
2740
+ return /* @__PURE__ */ t(
2741
2741
  "div",
2742
2742
  {
2743
- className: I,
2744
- onClick: () => l(p),
2745
- onKeyDown: (G) => te(G, p),
2743
+ className: N,
2744
+ onClick: () => p(g),
2745
+ onKeyDown: (L) => K(L, g),
2746
2746
  role: "button",
2747
2747
  tabIndex: 0,
2748
- "aria-pressed": S ?? !1,
2749
- "aria-label": he(p, "PPP", { locale: ge }),
2750
- children: /* @__PURE__ */ n("span", { className: ee.dateNumberContainer, children: he(p, "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") })
2751
2751
  },
2752
- p.toISOString()
2752
+ g.toISOString()
2753
2753
  );
2754
2754
  }) })
2755
2755
  ]
2756
2756
  }
2757
2757
  );
2758
2758
  };
2759
- po.displayName = "DatePicker";
2760
- function mo(t) {
2759
+ mo.displayName = "DatePicker";
2760
+ function go(n) {
2761
2761
  return `
2762
- .${t.calendarContainer} {
2762
+ .${n.calendarContainer} {
2763
2763
  display: inline-flex;
2764
2764
  padding: var(--ds-size-8, 32px);
2765
2765
  flex-direction: column;
@@ -2773,13 +2773,13 @@ function mo(t) {
2773
2773
  max-width: 100%;
2774
2774
  box-sizing: border-box;
2775
2775
  }
2776
- .${t.calendarHeader} {
2776
+ .${n.calendarHeader} {
2777
2777
  display: flex;
2778
2778
  justify-content: space-between;
2779
2779
  align-items: center;
2780
2780
  align-self: stretch;
2781
2781
  }
2782
- .${t.monthYear} {
2782
+ .${n.monthYear} {
2783
2783
  color: var(--ds-color-text-default, #2b2b2b);
2784
2784
  font-family: var(--ds-font-family, sans-serif);
2785
2785
  font-size: var(--ds-heading-sm-font-size, 1.5rem);
@@ -2787,21 +2787,21 @@ function mo(t) {
2787
2787
  line-height: var(--ds-heading-sm-line-height, 1.3);
2788
2788
  margin: 0;
2789
2789
  }
2790
- .${t.navigationButtons} {
2790
+ .${n.navigationButtons} {
2791
2791
  display: flex;
2792
2792
  gap: var(--ds-size-1, 4px);
2793
2793
  }
2794
- .${t.navigationButtons} > button:disabled svg {
2794
+ .${n.navigationButtons} > button:disabled svg {
2795
2795
  opacity: var(--ds-opacity-disabled, 0.3);
2796
2796
  }
2797
- .${t.grid} {
2797
+ .${n.grid} {
2798
2798
  display: grid;
2799
2799
  grid-template-columns: repeat(7, 1fr);
2800
2800
  width: 100%;
2801
2801
  text-align: center;
2802
2802
  overflow: hidden;
2803
2803
  }
2804
- .${t.dayNameCell} {
2804
+ .${n.dayNameCell} {
2805
2805
  display: flex;
2806
2806
  padding: var(--ds-size-2, 8px);
2807
2807
  flex-direction: column;
@@ -2816,7 +2816,7 @@ function mo(t) {
2816
2816
  box-sizing: border-box;
2817
2817
  min-width: 0;
2818
2818
  }
2819
- .${t.dateCell} {
2819
+ .${n.dateCell} {
2820
2820
  display: flex;
2821
2821
  padding: var(--ds-size-5, 22px);
2822
2822
  flex-direction: column;
@@ -2836,7 +2836,7 @@ function mo(t) {
2836
2836
  user-select: none;
2837
2837
  min-width: 0;
2838
2838
  }
2839
- .${t.dateNumberContainer} {
2839
+ .${n.dateNumberContainer} {
2840
2840
  display: flex;
2841
2841
  justify-content: center;
2842
2842
  align-items: center;
@@ -2848,12 +2848,12 @@ function mo(t) {
2848
2848
  box-sizing: border-box;
2849
2849
  background-color: transparent;
2850
2850
  }
2851
- .${t.dateCell}:hover:not(.${t.otherMonth}):not(.${t.disabled}) {
2851
+ .${n.dateCell}:hover:not(.${n.otherMonth}):not(.${n.disabled}) {
2852
2852
  background-color: var(--ds-color-surface-hover, #eee);
2853
2853
  position: relative;
2854
2854
  z-index: 1;
2855
2855
  }
2856
- .${t.otherMonth} {
2856
+ .${n.otherMonth} {
2857
2857
  color: var(--ds-color-text-subtle, #aaa);
2858
2858
  cursor: default;
2859
2859
  pointer-events: none;
@@ -2861,261 +2861,261 @@ function mo(t) {
2861
2861
  border: var(--ds-border-width-default, 1px) solid var(--ds-color-border-subtle, #bcbcbc);
2862
2862
  margin: -0.5px;
2863
2863
  }
2864
- .${t.selectedDate} {
2864
+ .${n.selectedDate} {
2865
2865
  background-color: var(--ds-color-base-default, #C30000);
2866
2866
  border-color: var(--ds-color-base-default, #C30000);
2867
2867
  color: var(--ds-color-base-contrast-default, #fff);
2868
2868
  position: relative;
2869
2869
  z-index: 1;
2870
2870
  }
2871
- .${t.selectedDate} .${t.dateNumberContainer} {
2871
+ .${n.selectedDate} .${n.dateNumberContainer} {
2872
2872
  color: var(--ds-color-base-contrast-default, #fff);
2873
2873
  font-weight: var(--ds-font-weight-semibold, 600);
2874
2874
  background-color: transparent;
2875
2875
  }
2876
- .${t.todayDate} .${t.dateNumberContainer} {
2876
+ .${n.todayDate} .${n.dateNumberContainer} {
2877
2877
  font-weight: var(--ds-font-weight-semibold, 600);
2878
2878
  }
2879
2879
  @media (max-width: 480px) {
2880
- .${t.calendarContainer} {
2880
+ .${n.calendarContainer} {
2881
2881
  padding: var(--ds-size-4, 16px);
2882
2882
  gap: var(--ds-size-2, 8px);
2883
2883
  width: 100%;
2884
2884
  }
2885
- .${t.monthYear} {
2885
+ .${n.monthYear} {
2886
2886
  font-size: var(--ds-heading-xs-font-size, 1.125rem);
2887
2887
  }
2888
- .${t.dayNameCell} {
2888
+ .${n.dayNameCell} {
2889
2889
  padding: var(--ds-size-1, 4px);
2890
2890
  font-size: var(--ds-body-2xs-font-size, 12px);
2891
2891
  }
2892
- .${t.dateCell} {
2892
+ .${n.dateCell} {
2893
2893
  padding: var(--ds-size-2, 8px);
2894
2894
  font-size: var(--ds-body-2xs-font-size, 12px);
2895
2895
  }
2896
- .${t.dateNumberContainer} {
2896
+ .${n.dateNumberContainer} {
2897
2897
  width: 20px;
2898
2898
  height: 20px;
2899
2899
  }
2900
2900
  }
2901
2901
  @media (max-width: 360px) {
2902
- .${t.calendarContainer} {
2902
+ .${n.calendarContainer} {
2903
2903
  padding: var(--ds-size-2, 8px);
2904
2904
  }
2905
- .${t.dayNameCell} {
2905
+ .${n.dayNameCell} {
2906
2906
  padding: 2px;
2907
2907
  font-size: 10px;
2908
2908
  }
2909
- .${t.dateCell} {
2909
+ .${n.dateCell} {
2910
2910
  padding: var(--ds-size-1, 4px);
2911
2911
  font-size: 11px;
2912
2912
  }
2913
- .${t.dateNumberContainer} {
2913
+ .${n.dateNumberContainer} {
2914
2914
  width: 16px;
2915
2915
  height: 16px;
2916
2916
  }
2917
2917
  }
2918
2918
  `;
2919
2919
  }
2920
- const go = "_fieldset_16fx7_2", uo = "_description_16fx7_14", ho = "_error_16fx7_21", fo = "_inputWrapper_16fx7_30", ko = "_inputWrapperError_16fx7_42", vo = "_suffixButton_16fx7_80", bo = "_suffixButtonInteractive_16fx7_100", le = {
2921
- fieldset: go,
2922
- description: uo,
2923
- error: ho,
2924
- inputWrapper: fo,
2925
- inputWrapperError: ko,
2926
- suffixButton: vo,
2927
- suffixButtonInteractive: bo
2928
- }, ze = (t) => {
2929
- const e = t.slice(0, 2), o = t.slice(2, 4), d = t.slice(4, 8);
2930
- return t.length > 4 ? `${e}.${o}.${d}` : t.length > 2 ? `${e}.${o}` : t.length > 0 ? e : "";
2931
- }, Re = (t) => (t || "").replace(/\D/g, ""), Ge = (t) => {
2932
- 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;
2933
2933
  if (e.length >= 2) {
2934
- const o = parseInt(e.substring(0, 2), 10);
2935
- !isNaN(o) && o > 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));
2936
2936
  }
2937
2937
  if (e.length >= 4) {
2938
- const o = parseInt(e.substring(2, 4), 10);
2939
- !isNaN(o) && o > 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));
2940
2940
  }
2941
2941
  return e.slice(0, 8);
2942
- }, yo = se(
2943
- (t, e) => {
2944
- const { t: o } = ye();
2945
- $(() => {
2946
- const M = "rk-dateinput-inline-styles";
2947
- if (typeof document > "u" || document.getElementById(M)) return;
2948
- const ie = xo(le), ae = document.createElement("style");
2949
- ae.id = M, ae.textContent = ie, document.head.appendChild(ae);
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($);
2950
2950
  }, []);
2951
2951
  const {
2952
2952
  label: d,
2953
2953
  suffixIcon: h,
2954
2954
  onSuffixClick: f,
2955
- className: c,
2955
+ className: m,
2956
2956
  // For ytre fieldset
2957
2957
  inputWrapperClassName: k,
2958
2958
  // For input wrapper div
2959
2959
  inputClassName: D,
2960
2960
  // For selve input-elementet
2961
- value: C,
2962
- defaultValue: U,
2963
- onChange: w,
2964
- readOnly: P,
2965
- placeholder: j = "dd.mm.åååå",
2966
- id: l,
2967
- name: te,
2968
- required: z,
2969
- disabled: B,
2970
- onClick: X,
2971
- onFocus: p,
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,
2972
2972
  // Send ekstern onFocus videre
2973
- onBlur: L,
2973
+ onBlur: M,
2974
2974
  // Send ekstern onBlur videre
2975
- autoComplete: S = "off",
2976
- "aria-label": R,
2977
- "aria-labelledby": I,
2978
- description: G,
2979
- error: O,
2975
+ autoComplete: I = "off",
2976
+ "aria-label": F,
2977
+ "aria-labelledby": N,
2978
+ description: L,
2979
+ error: G,
2980
2980
  // Bruk error-prop for styling
2981
- "data-color": J,
2981
+ "data-color": ne,
2982
2982
  // <-- Destrukturering
2983
- "data-size": W,
2983
+ "data-size": H,
2984
2984
  // <-- Destrukturering
2985
- ...N
2986
- } = t, u = C !== void 0, v = Je(null);
2987
- Ne.useImperativeHandle(
2985
+ ...J
2986
+ } = n, T = S !== void 0, b = Qe(null);
2987
+ Ae.useImperativeHandle(
2988
2988
  e,
2989
- () => v.current
2989
+ () => b.current
2990
2990
  );
2991
- const y = re(
2992
- (M) => {
2993
- const ie = Re(M), ae = Ge(ie);
2994
- return ze(ae);
2991
+ const l = se(
2992
+ (c) => {
2993
+ const w = Re(c), $ = Ge(w);
2994
+ return ze($);
2995
2995
  },
2996
2996
  []
2997
- ), [x, ne] = Y(
2998
- () => y(C ?? U)
2997
+ ), [C, E] = O(
2998
+ () => l(S ?? R)
2999
2999
  );
3000
- $(() => {
3001
- if (u) {
3002
- const M = y(C);
3003
- M !== x && (ne(M), v.current && v.current.value !== M && (v.current.value = M));
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));
3004
3004
  }
3005
- }, [C, u, x, y]);
3006
- const Q = re(
3007
- (M) => {
3008
- const ie = M.target, ae = ie.value, pe = x, we = Re(ae).slice(0, 8), i = Ge(we), m = ze(i);
3009
- let b = 0;
3010
- const q = i.length;
3011
- q <= 2 ? b = q : q <= 4 ? b = q + 1 : b = q + 2, b = Math.min(b, m.length), requestAnimationFrame(() => {
3012
- if (v.current && (ne(m), v.current.value = m, v.current.setSelectionRange(b, b), (m !== pe || u) && w)) {
3013
- const Se = {
3014
- ...M,
3015
- target: { ...ie, value: m }
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 }
3016
3016
  };
3017
- w(Se, m);
3017
+ _(ae, i);
3018
3018
  }
3019
3019
  });
3020
3020
  },
3021
- [x, u, w, y]
3022
- ), _ = [le.fieldset, c].filter(Boolean).join(" "), F = [
3023
- le.inputWrapper,
3021
+ [C, T, _, l]
3022
+ ), y = [de.fieldset, m].filter(Boolean).join(" "), B = [
3023
+ de.inputWrapper,
3024
3024
  k,
3025
- O ? le.inputWrapperError : ""
3026
- ].filter(Boolean).join(" "), K = [
3025
+ G ? de.inputWrapperError : ""
3026
+ ].filter(Boolean).join(" "), Q = [
3027
3027
  D
3028
- ].filter(Boolean).join(" "), T = [
3029
- le.suffixButton,
3030
- f ? le.suffixButtonInteractive : ""
3028
+ ].filter(Boolean).join(" "), le = [
3029
+ de.suffixButton,
3030
+ f ? de.suffixButtonInteractive : ""
3031
3031
  ].filter(Boolean).join(" ");
3032
- !d && !R && !I && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
3033
- const Z = d && typeof d == "string" ? I || `${l}-label` : void 0, ce = G ? `${l}-desc` : void 0, g = O ? `${l}-err` : void 0, A = [ce, g].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;
3034
3034
  return (
3035
3035
  // --- Bruk data-color og data-size på den ytre wrapperen ---
3036
- /* @__PURE__ */ s(
3036
+ /* @__PURE__ */ r(
3037
3037
  "div",
3038
3038
  {
3039
- className: _,
3040
- "data-color": J,
3041
- "data-size": W,
3039
+ className: y,
3040
+ "data-color": ne,
3041
+ "data-size": H,
3042
3042
  children: [
3043
- d && typeof d == "string" ? /* @__PURE__ */ n("label", { id: Z, htmlFor: l, children: d }) : d,
3044
- G && /* @__PURE__ */ n("p", { id: ce, className: le.description, children: G }),
3045
- /* @__PURE__ */ s("div", { className: F, children: [
3046
- /* @__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(
3047
3047
  "input",
3048
3048
  {
3049
- ref: v,
3049
+ ref: b,
3050
3050
  type: "text",
3051
3051
  inputMode: "numeric",
3052
3052
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
3053
3053
  maxLength: 10,
3054
- value: x,
3055
- readOnly: P,
3056
- placeholder: j,
3057
- id: l,
3058
- name: te,
3059
- required: z,
3060
- disabled: B,
3061
- onClick: X,
3062
- onChange: Q,
3063
- onFocus: p,
3064
- onBlur: L,
3065
- autoComplete: S,
3066
- "aria-label": R,
3067
- "aria-labelledby": Z,
3068
- "aria-describedby": A,
3069
- "aria-invalid": !!O,
3070
- className: K,
3071
- ...N
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
3072
3072
  }
3073
3073
  ),
3074
- h && /* @__PURE__ */ n(
3074
+ h && /* @__PURE__ */ t(
3075
3075
  "button",
3076
3076
  {
3077
3077
  type: "button",
3078
- className: T,
3079
- onClick: B ? void 0 : f,
3080
- tabIndex: f && !B ? 0 : -1,
3078
+ className: le,
3079
+ onClick: j ? void 0 : f,
3080
+ tabIndex: f && !j ? 0 : -1,
3081
3081
  "aria-hidden": !f,
3082
- disabled: B,
3083
- "aria-label": f ? o("dateInput.openDatePicker") : void 0,
3082
+ disabled: j,
3083
+ "aria-label": f ? a("dateInput.openDatePicker") : void 0,
3084
3084
  children: h
3085
3085
  }
3086
3086
  )
3087
3087
  ] }),
3088
- O && /* @__PURE__ */ n("p", { id: g, className: le.error, role: "alert", children: O })
3088
+ G && /* @__PURE__ */ t("p", { id: me, className: de.error, role: "alert", children: G })
3089
3089
  ]
3090
3090
  }
3091
3091
  )
3092
3092
  );
3093
3093
  }
3094
3094
  );
3095
- yo.displayName = "DateInput";
3096
- function xo(t) {
3095
+ xo.displayName = "DateInput";
3096
+ function To(n) {
3097
3097
  return `
3098
- .${t.fieldset} {
3098
+ .${n.fieldset} {
3099
3099
  margin-bottom: var(--ds-spacing-4, 16px);
3100
3100
  }
3101
- .${t.fieldset} label {
3101
+ .${n.fieldset} label {
3102
3102
  display: block;
3103
3103
  margin-bottom: var(--ds-spacing-1, 4px);
3104
3104
  font-weight: var(--ds-font-weight-medium, 500);
3105
3105
  color: var(--ds-color-text-default, #2b2b2b);
3106
3106
  }
3107
- .${t.description} {
3107
+ .${n.description} {
3108
3108
  font-size: var(--ds-font-size-sm, 14px);
3109
3109
  color: var(--ds-color-text-subtle, #5d5d5d);
3110
3110
  margin-top: var(--ds-spacing-1, 4px);
3111
3111
  margin-bottom: var(--ds-spacing-2, 8px);
3112
3112
  }
3113
- .${t.error} {
3113
+ .${n.error} {
3114
3114
  font-size: var(--ds-font-size-sm, 14px);
3115
3115
  color: var(--ds-color-danger-text-default, #c30000);
3116
3116
  margin-top: var(--ds-spacing-1, 4px);
3117
3117
  }
3118
- .${t.inputWrapper} {
3118
+ .${n.inputWrapper} {
3119
3119
  display: flex;
3120
3120
  align-items: stretch;
3121
3121
  width: 100%;
@@ -3125,14 +3125,14 @@ function xo(t) {
3125
3125
  overflow: hidden;
3126
3126
  transition: border-color 0.1s ease-out, outline 0.1s ease-out;
3127
3127
  }
3128
- .${t.inputWrapperError} {
3128
+ .${n.inputWrapperError} {
3129
3129
  border-color: var(--ds-color-danger-border-default, #c30000);
3130
3130
  }
3131
- .${t.inputWrapper}:focus-within {
3131
+ .${n.inputWrapper}:focus-within {
3132
3132
  outline: var(--ds-border-width-focus, 3px) solid var(--ds-color-focus-outer, #2B2B2B);
3133
3133
  outline-offset: var(--ds-focus-outline-offset, 2px);
3134
3134
  }
3135
- .${t.inputWrapper} input {
3135
+ .${n.inputWrapper} input {
3136
3136
  box-sizing: border-box;
3137
3137
  flex-grow: 1;
3138
3138
  width: auto;
@@ -3148,13 +3148,13 @@ function xo(t) {
3148
3148
  appearance: none;
3149
3149
  -webkit-appearance: none;
3150
3150
  }
3151
- .${t.inputWrapper} input:disabled {
3151
+ .${n.inputWrapper} input:disabled {
3152
3152
  opacity: var(--ds-opacity-disabled, 0.5);
3153
3153
  cursor: not-allowed;
3154
3154
  background-color: var(--ds-color-neutral-surface-subtle, #f0f0f0);
3155
3155
  color: var(--ds-color-neutral-text-subtle, #5d5d5d);
3156
3156
  }
3157
- .${t.suffixButton} {
3157
+ .${n.suffixButton} {
3158
3158
  display: inline-flex;
3159
3159
  align-items: center;
3160
3160
  justify-content: center;
@@ -3171,14 +3171,14 @@ function xo(t) {
3171
3171
  cursor: default;
3172
3172
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
3173
3173
  }
3174
- .${t.suffixButtonInteractive} {
3174
+ .${n.suffixButtonInteractive} {
3175
3175
  cursor: pointer;
3176
3176
  }
3177
- .${t.suffixButtonInteractive}:hover:not(:disabled) {
3177
+ .${n.suffixButtonInteractive}:hover:not(:disabled) {
3178
3178
  color: var(--ds-color-text-default, #2b2b2b);
3179
3179
  background-color: var(--ds-color-surface-hover, #dadada);
3180
3180
  }
3181
- .${t.suffixButton}:disabled {
3181
+ .${n.suffixButton}:disabled {
3182
3182
  opacity: var(--ds-opacity-disabled, 0.3);
3183
3183
  cursor: not-allowed;
3184
3184
  background-color: var(--ds-color-neutral-surface-tinted, #e8e8e8);
@@ -3186,164 +3186,164 @@ function xo(t) {
3186
3186
  }
3187
3187
  `;
3188
3188
  }
3189
- const To = "_carouselContainer_eo3g5_1", Co = "_viewport_eo3g5_14", wo = "_slides_eo3g5_20", So = "_slide_eo3g5_20", Io = "_slideInner_eo3g5_40", _o = "_loaderOverlay_eo3g5_48", Do = "_image_eo3g5_58", Ao = "_loaded_eo3g5_69", Lo = "_loading_eo3g5_73", No = "_empty_eo3g5_81", Mo = "_controls_eo3g5_87", jo = "_arrows_eo3g5_97", Fo = "_dots_eo3g5_107", Bo = "_dot_eo3g5_107", Eo = "_dotActive_eo3g5_133", H = {
3190
- carouselContainer: To,
3191
- viewport: Co,
3192
- slides: wo,
3193
- slide: So,
3194
- slideInner: Io,
3195
- loaderOverlay: _o,
3196
- image: Do,
3197
- loaded: Ao,
3198
- loading: Lo,
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,
3198
+ loading: Ao,
3199
3199
  empty: No,
3200
3200
  controls: Mo,
3201
- arrows: jo,
3202
- dots: Fo,
3203
- dot: Bo,
3204
- dotActive: Eo
3205
- }, $o = mt, Po = ({
3206
- images: t,
3201
+ arrows: Fo,
3202
+ dots: Bo,
3203
+ dot: Eo,
3204
+ dotActive: $o
3205
+ }, Po = gt, zo = ({
3206
+ images: n,
3207
3207
  autoPlay: e = !1,
3208
- autoDelay: o = 5,
3208
+ autoDelay: a = 5,
3209
3209
  showArrows: d = !0,
3210
3210
  showDots: h = !0,
3211
3211
  variant: f,
3212
- slidesPerView: c = 1,
3212
+ slidesPerView: m = 1,
3213
3213
  slideSpacing: k = 16,
3214
3214
  cornerRadius: D = 0,
3215
- "data-color": C,
3216
- "data-size": U
3215
+ "data-color": S,
3216
+ "data-size": R
3217
3217
  }) => {
3218
- const { t: w } = ye();
3219
- $(() => {
3220
- const v = "rk-carousel-inline-styles";
3221
- if (typeof document > "u" || document.getElementById(v)) return;
3222
- const y = zo(H), x = document.createElement("style");
3223
- x.id = v, x.textContent = y, document.head.appendChild(x);
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);
3224
3224
  }, []);
3225
- const P = {
3225
+ const V = {
3226
3226
  loop: !0,
3227
3227
  align: "start",
3228
3228
  containScroll: "trimSnaps",
3229
3229
  slidesToScroll: 1
3230
- }, [j, l] = cn(P), [te, z] = Y(0), [B, X] = Y([]), [p, L] = Y([]);
3231
- $(() => {
3232
- L(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
3233
- }, [t]);
3234
- const S = re((v) => {
3235
- L((y) => {
3236
- const x = [...y];
3237
- return x[v] = !0, x;
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;
3238
3238
  });
3239
- }, []), R = ue(() => o * 1e3, [o]), I = re(() => {
3240
- l && z(l.selectedScrollSnap());
3241
- }, [l]), G = re((v) => l && l.scrollTo(v), [l]), O = re(() => l && l.scrollPrev(), [l]), J = re(() => l && l.scrollNext(), [l]);
3242
- $(() => {
3243
- if (l)
3244
- return l.on("select", I), l.on("reInit", I), X(l.scrollSnapList()), () => {
3245
- 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);
3246
3246
  };
3247
- }, [l, I]), $(() => {
3248
- l && (l.reInit(), X(l.scrollSnapList()));
3249
- }, [l, t, c, k]), $(() => {
3250
- if (!e || !l || !t || t.length <= 1) return;
3251
- const v = window.setInterval(() => {
3252
- l.canScrollNext() && l.scrollNext();
3253
- }, 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);
3254
3254
  return () => {
3255
- window.clearInterval(v);
3255
+ window.clearInterval(b);
3256
3256
  };
3257
- }, [e, R, l, t]);
3258
- const W = Math.max(1, c), N = `${100 / W}%`, u = k / 2;
3259
- return /* @__PURE__ */ s(
3257
+ }, [e, F, p, n]);
3258
+ const H = Math.max(1, m), J = `${100 / H}%`, T = k / 2;
3259
+ return /* @__PURE__ */ r(
3260
3260
  "div",
3261
3261
  {
3262
- className: H.carouselContainer,
3263
- "data-color": C,
3264
- "data-size": U,
3262
+ className: W.carouselContainer,
3263
+ "data-color": S,
3264
+ "data-size": R,
3265
3265
  "data-variant": f,
3266
3266
  children: [
3267
- /* @__PURE__ */ n("div", { className: H.viewport, ref: j, children: /* @__PURE__ */ n(
3267
+ /* @__PURE__ */ t("div", { className: W.viewport, ref: A, children: /* @__PURE__ */ t(
3268
3268
  "div",
3269
3269
  {
3270
- className: H.slides,
3270
+ className: W.slides,
3271
3271
  style: {
3272
- marginLeft: `-${u}px`,
3273
- marginRight: `-${u}px`
3272
+ marginLeft: `-${T}px`,
3273
+ marginRight: `-${T}px`
3274
3274
  },
3275
- children: t && t.length > 0 ? t.map((v, y) => /* @__PURE__ */ n(
3275
+ children: n && n.length > 0 ? n.map((b, l) => /* @__PURE__ */ t(
3276
3276
  "div",
3277
3277
  {
3278
- className: H.slide,
3278
+ className: W.slide,
3279
3279
  style: {
3280
- flex: `0 0 ${N}`,
3281
- paddingLeft: `${u}px`,
3282
- paddingRight: `${u}px`,
3280
+ flex: `0 0 ${J}`,
3281
+ paddingLeft: `${T}px`,
3282
+ paddingRight: `${T}px`,
3283
3283
  borderRadius: D > 0 ? `${D}px` : void 0,
3284
3284
  overflow: "hidden"
3285
3285
  // Ensure radius clips content
3286
3286
  },
3287
- children: /* @__PURE__ */ s("div", { className: H.slideInner, style: { borderRadius: `${D}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
3288
- !p[y] && /* @__PURE__ */ n("div", { className: H.loaderOverlay, children: /* @__PURE__ */ n($o, { "aria-label": w("carousel.loading") }) }),
3289
- /* @__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(
3290
3290
  "img",
3291
3291
  {
3292
- className: `${H.image} ${p[y] ? H.loaded : H.loadingImage}`,
3293
- src: v.src,
3294
- alt: v.alt,
3295
- loading: y < 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",
3296
3296
  crossOrigin: "anonymous",
3297
- onLoad: () => S(y),
3298
- onError: (x) => {
3299
- x.target.style.display = "none", S(y);
3297
+ onLoad: () => I(l),
3298
+ onError: (C) => {
3299
+ C.target.style.display = "none", I(l);
3300
3300
  }
3301
3301
  }
3302
3302
  )
3303
3303
  ] })
3304
3304
  },
3305
- `image-${y}-${v.src}`
3306
- )) : /* @__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" }) })
3307
3307
  }
3308
3308
  ) }),
3309
- (d || h && t && t.length > 1) && /* @__PURE__ */ s("div", { className: H.controls, "aria-hidden": "false", children: [
3310
- d && /* @__PURE__ */ s("div", { className: H.arrows, children: [
3311
- /* @__PURE__ */ n(
3312
- 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,
3313
3313
  {
3314
3314
  variant: "primary",
3315
3315
  icon: !0,
3316
- "aria-label": w("carousel.previousImage"),
3317
- onClick: O,
3318
- disabled: !t || t.length <= 1,
3319
- 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 })
3320
3320
  }
3321
3321
  ),
3322
- /* @__PURE__ */ n(
3323
- de,
3322
+ /* @__PURE__ */ t(
3323
+ ce,
3324
3324
  {
3325
3325
  variant: "primary",
3326
3326
  icon: !0,
3327
- "aria-label": w("carousel.nextImage"),
3328
- onClick: J,
3329
- disabled: !t || t.length <= 1,
3330
- 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 })
3331
3331
  }
3332
3332
  )
3333
3333
  ] }),
3334
- h && t && t.length > 1 && /* @__PURE__ */ n("div", { className: H.dots, role: "tablist", "aria-label": w("carousel.imagePosition"), children: B.map((v, y) => {
3335
- const x = y === te;
3336
- 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(
3337
3337
  "button",
3338
3338
  {
3339
3339
  type: "button",
3340
- className: `${H.dot} ${x ? H.dotActive : ""}`,
3341
- onClick: () => G(y),
3342
- "aria-label": `${w("carousel.goToImage")} ${y + 1}`,
3343
- "aria-selected": x,
3340
+ className: `${W.dot} ${C ? W.dotActive : ""}`,
3341
+ onClick: () => L(l),
3342
+ "aria-label": `${_("carousel.goToImage")} ${l + 1}`,
3343
+ "aria-selected": C,
3344
3344
  role: "tab"
3345
3345
  },
3346
- `dot-${y}`
3346
+ `dot-${l}`
3347
3347
  );
3348
3348
  }) })
3349
3349
  ] })
@@ -3351,10 +3351,10 @@ const To = "_carouselContainer_eo3g5_1", Co = "_viewport_eo3g5_14", wo = "_slide
3351
3351
  }
3352
3352
  );
3353
3353
  };
3354
- Po.displayName = "Carousel";
3355
- function zo(t) {
3354
+ zo.displayName = "Carousel";
3355
+ function Ro(n) {
3356
3356
  return `
3357
- .${t.carouselContainer} {
3357
+ .${n.carouselContainer} {
3358
3358
  position: relative;
3359
3359
  display: block;
3360
3360
  width: 100%;
@@ -3366,12 +3366,12 @@ function zo(t) {
3366
3366
  box-sizing: border-box;
3367
3367
  max-width: 100%;
3368
3368
  }
3369
- .${t.viewport} {
3369
+ .${n.viewport} {
3370
3370
  overflow: hidden;
3371
3371
  width: 100%;
3372
3372
  height: 100%;
3373
3373
  }
3374
- .${t.slides} {
3374
+ .${n.slides} {
3375
3375
  display: flex;
3376
3376
  height: 100%;
3377
3377
  user-select: none;
@@ -3380,7 +3380,7 @@ function zo(t) {
3380
3380
  -moz-user-select: none;
3381
3381
  -ms-user-select: none;
3382
3382
  }
3383
- .${t.slide} {
3383
+ .${n.slide} {
3384
3384
  position: relative;
3385
3385
  min-width: 0;
3386
3386
  height: 100%;
@@ -3389,14 +3389,14 @@ function zo(t) {
3389
3389
  justify-content: center;
3390
3390
  box-sizing: border-box;
3391
3391
  }
3392
- .${t.slideInner} {
3392
+ .${n.slideInner} {
3393
3393
  position: relative;
3394
3394
  width: 100%;
3395
3395
  height: 100%;
3396
3396
  background-color: var(--ds-color-neutral-surface-subtle, #f5f5f5);
3397
3397
  overflow: hidden;
3398
3398
  }
3399
- .${t.loaderOverlay} {
3399
+ .${n.loaderOverlay} {
3400
3400
  position: absolute;
3401
3401
  inset: 0;
3402
3402
  display: flex;
@@ -3405,7 +3405,7 @@ function zo(t) {
3405
3405
  background-color: rgba(0, 0, 0, 0.05);
3406
3406
  z-index: 2;
3407
3407
  }
3408
- .${t.image} {
3408
+ .${n.image} {
3409
3409
  position: absolute;
3410
3410
  inset: 0;
3411
3411
  width: 100%;
@@ -3415,22 +3415,22 @@ function zo(t) {
3415
3415
  transition: opacity 0.3s ease-in-out;
3416
3416
  z-index: 1;
3417
3417
  }
3418
- .${t.image}.${t.loaded} {
3418
+ .${n.image}.${n.loaded} {
3419
3419
  opacity: 1;
3420
3420
  }
3421
- .${t.loading} {
3421
+ .${n.loading} {
3422
3422
  display: inline-flex;
3423
3423
  align-items: center;
3424
3424
  gap: var(--ds-size-2, 8px);
3425
3425
  color: var(--ds-color-text-subtle, #5d5d5d);
3426
3426
  font-size: var(--ds-font-size-sm, 14px);
3427
3427
  }
3428
- .${t.empty} {
3428
+ .${n.empty} {
3429
3429
  color: var(--ds-color-text-subtle, #5d5d5d);
3430
3430
  font-size: var(--ds-font-size-sm, 14px);
3431
3431
  text-align: center;
3432
3432
  }
3433
- .${t.controls} {
3433
+ .${n.controls} {
3434
3434
  position: absolute;
3435
3435
  inset: 0;
3436
3436
  display: flex;
@@ -3439,7 +3439,7 @@ function zo(t) {
3439
3439
  pointer-events: none;
3440
3440
  z-index: 10;
3441
3441
  }
3442
- .${t.arrows} {
3442
+ .${n.arrows} {
3443
3443
  display: flex;
3444
3444
  align-items: center;
3445
3445
  justify-content: space-between;
@@ -3448,7 +3448,7 @@ function zo(t) {
3448
3448
  box-sizing: border-box;
3449
3449
  pointer-events: auto;
3450
3450
  }
3451
- .${t.dots} {
3451
+ .${n.dots} {
3452
3452
  position: absolute;
3453
3453
  left: 50%;
3454
3454
  transform: translateX(-50%);
@@ -3461,7 +3461,7 @@ function zo(t) {
3461
3461
  padding: var(--ds-size-1, 4px) var(--ds-size-2, 8px);
3462
3462
  border-radius: 999px;
3463
3463
  }
3464
- .${t.dot} {
3464
+ .${n.dot} {
3465
3465
  width: 12px;
3466
3466
  height: 12px;
3467
3467
  border-radius: 999px;
@@ -3472,123 +3472,123 @@ function zo(t) {
3472
3472
  cursor: pointer;
3473
3473
  transition: all 0.2s ease;
3474
3474
  }
3475
- .${t.dotActive} {
3475
+ .${n.dotActive} {
3476
3476
  background-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
3477
3477
  border-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
3478
3478
  transform: scale(1.1);
3479
3479
  }
3480
3480
  @media (max-width: 640px) {
3481
- .${t.carouselContainer} {
3481
+ .${n.carouselContainer} {
3482
3482
  height: auto;
3483
3483
  min-height: 150px;
3484
3484
  aspect-ratio: 16 / 9;
3485
3485
  }
3486
- .${t.viewport} {
3486
+ .${n.viewport} {
3487
3487
  aspect-ratio: 16 / 9;
3488
3488
  height: auto;
3489
3489
  }
3490
- .${t.slides} {
3490
+ .${n.slides} {
3491
3491
  height: auto;
3492
3492
  min-height: 150px;
3493
3493
  }
3494
- .${t.slide} {
3494
+ .${n.slide} {
3495
3495
  height: auto;
3496
3496
  min-height: 150px;
3497
3497
  }
3498
- .${t.slideInner} {
3498
+ .${n.slideInner} {
3499
3499
  aspect-ratio: 16 / 9;
3500
3500
  height: auto;
3501
3501
  }
3502
- .${t.arrows} {
3502
+ .${n.arrows} {
3503
3503
  padding: 0 var(--ds-size-2, 8px);
3504
3504
  }
3505
- .${t.dots} {
3505
+ .${n.dots} {
3506
3506
  bottom: var(--ds-size-2, 8px);
3507
3507
  gap: var(--ds-size-1, 4px);
3508
3508
  }
3509
- .${t.dot} {
3509
+ .${n.dot} {
3510
3510
  width: 10px;
3511
3511
  height: 10px;
3512
3512
  }
3513
3513
  }
3514
3514
  @media (max-width: 400px) {
3515
- .${t.carouselContainer} {
3515
+ .${n.carouselContainer} {
3516
3516
  min-height: 120px;
3517
3517
  }
3518
- .${t.arrows} {
3518
+ .${n.arrows} {
3519
3519
  padding: 0 var(--ds-size-1, 4px);
3520
3520
  }
3521
- .${t.arrows} button {
3521
+ .${n.arrows} button {
3522
3522
  transform: scale(0.85);
3523
3523
  }
3524
3524
  }
3525
3525
  `;
3526
3526
  }
3527
- const Ro = "_crossCorner_1caiu_1", Go = "_shape_1caiu_6", Ae = {
3528
- crossCorner: Ro,
3529
- shape: Go
3527
+ const Go = "_crossCorner_1caiu_1", Wo = "_shape_1caiu_6", Le = {
3528
+ crossCorner: Go,
3529
+ shape: Wo
3530
3530
  };
3531
- function Wo(t) {
3531
+ function Ho(n) {
3532
3532
  return `
3533
- .${t.crossCorner} {
3533
+ .${n.crossCorner} {
3534
3534
  display: inline-block;
3535
3535
  flex-shrink: 0;
3536
3536
  }
3537
- .${t.shape} {
3537
+ .${n.shape} {
3538
3538
  fill: var(--ds-color-base-default, #DA4236);
3539
3539
  }
3540
3540
  /* Color variants via data-color attribute */
3541
- .${t.crossCorner}[data-color="accent"] .${t.shape} {
3541
+ .${n.crossCorner}[data-color="accent"] .${n.shape} {
3542
3542
  fill: var(--ds-color-accent-base-default, #DA4236);
3543
3543
  }
3544
- .${t.crossCorner}[data-color="brand1"] .${t.shape} {
3544
+ .${n.crossCorner}[data-color="brand1"] .${n.shape} {
3545
3545
  fill: var(--ds-color-brand1-base-default, #DA4236);
3546
3546
  }
3547
- .${t.crossCorner}[data-color="brand2"] .${t.shape} {
3547
+ .${n.crossCorner}[data-color="brand2"] .${n.shape} {
3548
3548
  fill: var(--ds-color-brand2-base-default, #1E2B3C);
3549
3549
  }
3550
- .${t.crossCorner}[data-color="brand3"] .${t.shape} {
3550
+ .${n.crossCorner}[data-color="brand3"] .${n.shape} {
3551
3551
  fill: var(--ds-color-brand3-base-default, #F5F5F5);
3552
3552
  }
3553
- .${t.crossCorner}[data-color="neutral"] .${t.shape} {
3553
+ .${n.crossCorner}[data-color="neutral"] .${n.shape} {
3554
3554
  fill: var(--ds-color-neutral-base-default, #5D5D5D);
3555
3555
  }
3556
3556
  `;
3557
3557
  }
3558
- const Ho = {
3558
+ const Uo = {
3559
3559
  sm: 48,
3560
3560
  md: 68,
3561
3561
  lg: 96
3562
- }, Uo = {
3562
+ }, Vo = {
3563
3563
  "top-left": 270,
3564
3564
  "top-right": 0,
3565
3565
  "bottom-right": 90,
3566
3566
  "bottom-left": 180
3567
- }, ve = se(
3567
+ }, ye = ie(
3568
3568
  ({
3569
- position: t = "top-left",
3569
+ position: n = "top-left",
3570
3570
  size: e = "md",
3571
- className: o,
3571
+ className: a,
3572
3572
  "aria-label": d,
3573
3573
  "aria-hidden": h = !0,
3574
3574
  "data-color": f,
3575
- "data-size": c,
3575
+ "data-size": m,
3576
3576
  ...k
3577
3577
  }, D) => {
3578
- $(() => {
3579
- const w = "rk-crosscorner-inline-styles";
3580
- if (typeof document > "u" || document.getElementById(w)) return;
3581
- const P = Wo(Ae), j = document.createElement("style");
3582
- j.id = w, j.textContent = P, document.head.appendChild(j);
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);
3583
3583
  }, []);
3584
- const C = Ho[e], U = Uo[t];
3585
- return /* @__PURE__ */ n(
3584
+ const S = Uo[e], R = Vo[n];
3585
+ return /* @__PURE__ */ t(
3586
3586
  "svg",
3587
3587
  {
3588
3588
  ref: D,
3589
- className: `${Ae.crossCorner} ${o || ""}`,
3590
- width: C,
3591
- height: C,
3589
+ className: `${Le.crossCorner} ${a || ""}`,
3590
+ width: S,
3591
+ height: S,
3592
3592
  viewBox: "0 0 68 68",
3593
3593
  fill: "none",
3594
3594
  xmlns: "http://www.w3.org/2000/svg",
@@ -3596,109 +3596,109 @@ const Ho = {
3596
3596
  "aria-hidden": h,
3597
3597
  role: h ? void 0 : "img",
3598
3598
  "data-color": f,
3599
- "data-size": c,
3599
+ "data-size": m,
3600
3600
  style: {
3601
- transform: U ? `rotate(${U}deg)` : void 0
3601
+ transform: R ? `rotate(${R}deg)` : void 0
3602
3602
  },
3603
3603
  ...k,
3604
- children: /* @__PURE__ */ n(
3604
+ children: /* @__PURE__ */ t(
3605
3605
  "path",
3606
3606
  {
3607
3607
  d: "M68 0V33.8203H67.998V68H34.1777V33.8203H0V0H68Z",
3608
- className: Ae.shape
3608
+ className: Le.shape
3609
3609
  }
3610
3610
  )
3611
3611
  }
3612
3612
  );
3613
3613
  }
3614
3614
  );
3615
- ve.displayName = "CrossCorner";
3616
- const $a = gt, Pa = ut, za = ht, V = ft, Ra = xt, Ga = Tt, Wa = vt, Ha = yt, Ua = bt, Va = kt, Oa = Ct, Ka = wt, Vo = It, Oo = St;
3617
- Vo.displayName = "Field.Description";
3618
- Oo.displayName = "Field.Counter";
3619
- const qa = Ue, Ko = se((t, e) => /* @__PURE__ */ n(_t, { ref: e, ...t }));
3620
- Ko.displayName = "Heading";
3621
- 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;
3622
3622
  Ze.displayName = "Input";
3623
- const qo = se((t, e) => /* @__PURE__ */ n(At, { ref: e, ...t }));
3624
- qo.displayName = "Label";
3625
- const oe = Lt, Ya = Nt, Yo = Mt, Za = Bt, Xa = Ft, Ja = jt, Qa = Et;
3626
- Yo.displayName = "Pagination";
3627
- const be = se(
3628
- (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 })
3629
3629
  );
3630
- be.displayName = "Paragraph";
3631
- const ei = Pt, ti = zt, ni = Rt, xe = Object.assign(Gt, {
3632
- Button: Ut,
3633
- ClearButton: Ht,
3634
- Input: Wt
3635
- }), oi = Vt, ri = Ot, si = Kt, Zo = qt;
3636
- Zo.displayName = "Suggestion";
3637
- const Le = Yt, ai = Zt, Te = Xt, Xo = se(function({ shape: e, style: o, ...d }, 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
3638
  const f = {};
3639
3639
  e === "rounded" && (f.borderRadius = "var(--ds-border-radius-xl)");
3640
- const c = Object.keys(f).length === 0 && !o ? void 0 : { ...f, ...o }, k = {};
3641
- return e === "rounded" && (k["data-shape"] = "rounded"), /* @__PURE__ */ n(Jt, { ref: h, ...d, ...k, style: c });
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 });
3642
3642
  });
3643
- Xo.displayName = "Tag";
3644
- const ii = Qt, Jo = en, li = tn, di = nn, Qo = se((t, e) => /* @__PURE__ */ n(on, { ref: e, ...t }));
3645
- Qo.displayName = "ValidationMessage";
3646
- const er = "_header_p2hri_1", tr = "_languageSwitch_p2hri_37", nr = "_searchOverlay_p2hri_41", or = "_headerExtension_p2hri_46", rr = "_headerExtensionTinted_p2hri_75", sr = "_languageLabel_p2hri_83", ar = "_languageLink_p2hri_88", ir = "_extensionContent_p2hri_93", lr = "_extensionDivider_p2hri_98", dr = "_extensionContentWrapper_p2hri_103", cr = "_headerInner_p2hri_199", pr = "_logoWrapper_p2hri_216", mr = "_logo_p2hri_216", gr = "_secondaryLogoWrapper_p2hri_239", ur = "_slotComponent_p2hri_248", hr = "_slotContainer_p2hri_258", fr = "_slotText_p2hri_266", kr = "_secondaryLogo_p2hri_239", vr = "_redCrossLogo_p2hri_293", br = "_primaryLogo_p2hri_299", yr = "_navItems_p2hri_303", xr = "_navLink_p2hri_312", Tr = "_actions_p2hri_325", Cr = "_ctaButton_p2hri_333", wr = "_themeToggle_p2hri_338", Sr = "_userInfo_p2hri_343", Ir = "_userName_p2hri_349", _r = "_loginLink_p2hri_356", Dr = "_loginText_p2hri_365", Ar = "_underline_p2hri_372", Lr = "_searchButtonWrapper_p2hri_378", Nr = "_buttonText_p2hri_382", Mr = "_menuButton_p2hri_387", jr = "_menuOverlay_p2hri_410", Fr = "_searchContent_p2hri_444", Br = "_menuContent_p2hri_454", Er = "_menuLeftColumn_p2hri_463", $r = "_menuRightColumn_p2hri_469", Pr = "_slotContent_p2hri_483", zr = "_navList_p2hri_496", Rr = "_menuUtilities_p2hri_503", Gr = "_menuBrand_p2hri_510", Wr = "_suggestionsSection_p2hri_514", Hr = "_suggestionsTitle_p2hri_520", Ur = "_searchResults_p2hri_529", Vr = "_resultList_p2hri_535", Or = "_resultItem_p2hri_541", Kr = "_resultLink_p2hri_549", qr = "_suggestionIcon_p2hri_563", Yr = "_suggestionText_p2hri_576", Zr = "_highlightedText_p2hri_583", Xr = "_remainingText_p2hri_588", Jr = "_viewAllLink_p2hri_601", Qr = "_noResults_p2hri_636", a = {
3647
- header: er,
3648
- languageSwitch: tr,
3649
- searchOverlay: nr,
3650
- headerExtension: or,
3651
- headerExtensionTinted: rr,
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
3652
  languageLabel: sr,
3653
- languageLink: ar,
3654
- extensionContent: ir,
3655
- extensionDivider: lr,
3656
- extensionContentWrapper: dr,
3657
- headerInner: cr,
3658
- logoWrapper: pr,
3659
- logo: mr,
3660
- secondaryLogoWrapper: gr,
3661
- slotComponent: ur,
3662
- slotContainer: hr,
3663
- slotText: fr,
3664
- secondaryLogo: kr,
3665
- redCrossLogo: vr,
3666
- primaryLogo: br,
3667
- navItems: yr,
3668
- navLink: xr,
3669
- actions: Tr,
3670
- ctaButton: Cr,
3671
- themeToggle: wr,
3672
- userInfo: Sr,
3673
- userName: Ir,
3674
- loginLink: _r,
3675
- loginText: Dr,
3676
- underline: Ar,
3677
- searchButtonWrapper: Lr,
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,
3677
+ searchButtonWrapper: Ar,
3678
3678
  buttonText: Nr,
3679
3679
  menuButton: Mr,
3680
- menuOverlay: jr,
3681
- searchContent: Fr,
3682
- menuContent: Br,
3683
- menuLeftColumn: Er,
3684
- menuRightColumn: $r,
3685
- slotContent: Pr,
3686
- navList: zr,
3687
- menuUtilities: Rr,
3688
- menuBrand: Gr,
3689
- suggestionsSection: Wr,
3690
- suggestionsTitle: Hr,
3691
- searchResults: Ur,
3692
- resultList: Vr,
3693
- resultItem: Or,
3694
- resultLink: Kr,
3695
- suggestionIcon: qr,
3696
- suggestionText: Yr,
3697
- highlightedText: Zr,
3698
- remainingText: Xr,
3699
- viewAllLink: Jr,
3700
- noResults: Qr
3701
- }, es = [
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 = [
3702
3702
  // Pages
3703
3703
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
3704
3704
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -3762,47 +3762,48 @@ const er = "_header_p2hri_1", tr = "_languageSwitch_p2hri_37", nr = "_searchOver
3762
3762
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
3763
3763
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
3764
3764
  ];
3765
- function ts(t) {
3766
- return t.split(/\s+/).map((e) => e[0] ?? "").join("").slice(0, 2).toUpperCase();
3767
- }
3768
- const ci = ({
3769
- "data-color": t = "primary",
3770
- activePage: e,
3771
- setPage: o,
3772
- children: d,
3773
- showUser: h = !0,
3774
- showSearch: f = !0,
3775
- showLogin: c = !0,
3776
- showCta: k = !1,
3777
- ctaLabel: D,
3778
- ctaIcon: C = /* @__PURE__ */ n(gn, { "aria-hidden": !0 }),
3779
- onCtaClick: U,
3780
- showThemeToggle: w = !1,
3781
- secondaryLogo: P = !1,
3782
- secondaryLogoSrc: j,
3783
- secondaryLogoSrcDark: l,
3784
- secondaryLogoAlt: te = "Secondary Logo",
3785
- navItems: z,
3786
- showNavItems: B = !0,
3787
- showMenuButton: X = !0,
3788
- showHeaderExtension: p = !1,
3789
- showModeToggle: L = !1,
3790
- showLanguageSwitch: S = !1,
3791
- extensionColor: R,
3792
- 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",
3793
3794
  userName: G,
3794
- userInitials: O,
3795
- userAvatarSrc: J,
3796
- onUserClick: W
3795
+ userInitials: ne,
3796
+ userAvatarSrc: H,
3797
+ onUserClick: J
3797
3798
  }) => {
3798
- const [N, u] = Y(!1), [v, y] = Y(!1), [x, ne] = Y(""), [Q, _] = Y("light"), { language: F, setLanguage: K, t: T } = ye(), [Z, ce] = Y(!1);
3799
- $(() => {
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(() => {
3800
3801
  const i = "rk-header-inline-styles";
3801
3802
  if (typeof document > "u" || document.getElementById(i)) return;
3802
- const m = ns(a), b = document.createElement("style");
3803
- b.id = i, b.textContent = m, document.head.appendChild(b);
3803
+ const u = oa(s), x = document.createElement("style");
3804
+ x.id = i, x.textContent = u, document.head.appendChild(x);
3804
3805
  }, []);
3805
- const g = () => /* @__PURE__ */ s(
3806
+ const ge = () => /* @__PURE__ */ r(
3806
3807
  "svg",
3807
3808
  {
3808
3809
  width: "170",
@@ -3812,227 +3813,227 @@ const ci = ({
3812
3813
  xmlns: "http://www.w3.org/2000/svg",
3813
3814
  "aria-hidden": !0,
3814
3815
  focusable: "false",
3815
- className: a.redCrossLogo,
3816
+ className: s.redCrossLogo,
3816
3817
  children: [
3817
- /* @__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" }),
3818
- /* @__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" }),
3819
- /* @__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" }),
3820
- /* @__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" }),
3821
- /* @__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" }),
3822
- /* @__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" }),
3823
- /* @__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" }),
3824
- /* @__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" }),
3825
- /* @__PURE__ */ n("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
3826
- /* @__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" })
3827
3828
  ]
3828
3829
  }
3829
3830
  );
3830
- $(() => {
3831
- u(!1), y(!1), ne("");
3832
- }, [e]), $(() => {
3833
- if (!(typeof document > "u") && N && Z) {
3831
+ z(() => {
3832
+ b(!1), C(!1), Y("");
3833
+ }, [a]), z(() => {
3834
+ if (!(typeof document > "u") && T && Z) {
3834
3835
  const i = document.body.style.overflow;
3835
3836
  return document.body.style.overflow = "hidden", () => {
3836
3837
  document.body.style.overflow = i;
3837
3838
  };
3838
3839
  }
3839
- }, [N, Z]), $(() => {
3840
+ }, [T, Z]), z(() => {
3840
3841
  if (typeof window > "u" || typeof window.matchMedia > "u") return;
3841
- const i = window.matchMedia("(max-width: 850px)"), m = (b) => ce("matches" in b ? b.matches : i.matches);
3842
- return m(i), i.addEventListener ? i.addEventListener("change", m) : i.addListener(m), () => {
3843
- i.removeEventListener ? i.removeEventListener("change", m) : i.removeListener(m);
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);
3844
3845
  };
3845
- }, []), $(() => {
3846
+ }, []), z(() => {
3846
3847
  if (typeof document > "u") return;
3847
- const i = document.querySelector(`.${a.header}`);
3848
+ const i = document.querySelector(`.${s.header}`);
3848
3849
  if (!i) return;
3849
- const m = () => {
3850
- const q = i.offsetHeight;
3851
- 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`);
3852
3853
  };
3853
- m(), window.addEventListener("resize", m);
3854
- const b = new ResizeObserver(() => {
3855
- m();
3854
+ u(), window.addEventListener("resize", u);
3855
+ const x = new ResizeObserver(() => {
3856
+ u();
3856
3857
  });
3857
- return b.observe(i), () => {
3858
- window.removeEventListener("resize", m), b.disconnect();
3858
+ return x.observe(i), () => {
3859
+ window.removeEventListener("resize", u), x.disconnect();
3859
3860
  };
3860
- }, [Z]), $(() => {
3861
+ }, [Z]), z(() => {
3861
3862
  if (typeof document > "u") return;
3862
- const i = document.querySelector(`.${a.logoWrapper}`);
3863
+ const i = document.querySelector(`.${s.logoWrapper}`);
3863
3864
  if (!i) return;
3864
- const m = () => {
3865
- const b = i.offsetWidth;
3866
- document.documentElement.style.setProperty("--rk-logo-width", `${b}px`);
3865
+ const u = () => {
3866
+ const x = i.offsetWidth;
3867
+ document.documentElement.style.setProperty("--rk-logo-width", `${x}px`);
3867
3868
  };
3868
- return m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m);
3869
- }, [Z]), $(() => {
3870
- if (typeof document > "u" || !v) {
3869
+ return u(), window.addEventListener("resize", u), () => window.removeEventListener("resize", u);
3870
+ }, [Z]), z(() => {
3871
+ if (typeof document > "u" || !l) {
3871
3872
  document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
3872
3873
  return;
3873
3874
  }
3874
- const i = document.querySelector(`.${a.searchOverlay}`);
3875
+ const i = document.querySelector(`.${s.searchOverlay}`);
3875
3876
  if (!i) return;
3876
- const m = () => {
3877
- const q = i.offsetHeight;
3878
- 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`);
3879
3880
  };
3880
- requestAnimationFrame(m), window.addEventListener("resize", m);
3881
- const b = new ResizeObserver(m);
3882
- return b.observe(i), () => {
3883
- window.removeEventListener("resize", m), b.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();
3884
3885
  };
3885
- }, [v]);
3886
- const A = () => {
3887
- const i = Q === "light" ? "dark" : "light";
3888
- _(i), document.documentElement.setAttribute("data-color-scheme", i);
3889
- }, M = (i) => {
3890
- o && (i.preventDefault(), o("home")), u(!1), y(!1);
3891
- }, ie = () => {
3892
- u(!N), v && y(!1), !N && typeof document < "u" && requestAnimationFrame(() => {
3893
- const i = document.querySelector(`.${a.header}`);
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(() => {
3894
+ const i = document.querySelector(`.${s.header}`);
3894
3895
  if (i) {
3895
- const m = i.offsetHeight;
3896
- document.documentElement.style.setProperty("--header-height-mobile", `${m}px`);
3896
+ const u = i.offsetHeight;
3897
+ document.documentElement.style.setProperty("--header-height-mobile", `${u}px`);
3897
3898
  }
3898
3899
  });
3899
- }, ae = () => {
3900
- y(!v), N && u(!1);
3901
- }, pe = ue(() => {
3902
- if (!x.trim()) return [];
3903
- const i = x.toLowerCase();
3904
- return es.filter(
3905
- (m) => m.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)
3906
3907
  );
3907
- }, [x]), we = (i) => {
3908
- o && o(i), y(!1), ne("");
3908
+ }, [E]), pe = (i) => {
3909
+ d && d(i), C(!1), Y("");
3909
3910
  };
3910
- return /* @__PURE__ */ s("header", { className: a.header, "data-open": N ? "true" : "false", "data-color": t, "data-button-style": I, children: [
3911
- p && /* @__PURE__ */ n("div", { className: `${a.headerExtension}${R === "tinted" ? ` ${a.headerExtensionTinted}` : ""}`, "data-color-scheme": "light", "data-extension-color": R, children: /* @__PURE__ */ s("div", { className: a.extensionContentWrapper, children: [
3912
- L && /* @__PURE__ */ n("div", { className: a.extensionContent, children: /* @__PURE__ */ n(
3913
- 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,
3914
3915
  {
3915
3916
  "data-size": "sm",
3916
- checked: Q === "dark",
3917
- onChange: A,
3918
- label: T("header.darkMode"),
3917
+ checked: y === "dark",
3918
+ onChange: c,
3919
+ label: v("header.darkMode"),
3919
3920
  color: "neutral",
3920
3921
  "data-color-scheme": "light"
3921
3922
  }
3922
3923
  ) }),
3923
- L && S && /* @__PURE__ */ n("div", { className: a.extensionDivider }),
3924
- S && /* @__PURE__ */ s("div", { className: a.languageSwitch, children: [
3925
- /* @__PURE__ */ n("span", { className: a.languageLabel, children: T("header.language") }),
3926
- /* @__PURE__ */ s(V.TriggerContext, { children: [
3927
- /* @__PURE__ */ s(
3928
- 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,
3929
3930
  {
3930
- className: a.languageLink,
3931
- "aria-label": T("header.selectLanguage"),
3931
+ className: s.languageLink,
3932
+ "aria-label": v("header.selectLanguage"),
3932
3933
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
3933
3934
  children: [
3934
- F,
3935
+ Q,
3935
3936
  " ",
3936
- /* @__PURE__ */ n(Be, { "aria-hidden": !0 })
3937
+ /* @__PURE__ */ t(Be, { "aria-hidden": !0 })
3937
3938
  ]
3938
3939
  }
3939
3940
  ),
3940
- /* @__PURE__ */ n(
3941
- V,
3941
+ /* @__PURE__ */ t(
3942
+ U,
3942
3943
  {
3943
- "data-color-scheme": Q,
3944
+ "data-color-scheme": y,
3944
3945
  placement: "bottom-end",
3945
- children: /* @__PURE__ */ s(V.List, { children: [
3946
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
3947
- /* @__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)" }) })
3948
3949
  ] })
3949
3950
  }
3950
3951
  )
3951
3952
  ] })
3952
3953
  ] })
3953
3954
  ] }) }),
3954
- /* @__PURE__ */ s("div", { className: a.headerInner, children: [
3955
- /* @__PURE__ */ s("div", { className: a.logoWrapper, children: [
3956
- /* @__PURE__ */ n(
3957
- oe,
3955
+ /* @__PURE__ */ r("div", { className: s.headerInner, children: [
3956
+ /* @__PURE__ */ r("div", { className: s.logoWrapper, children: [
3957
+ /* @__PURE__ */ t(
3958
+ te,
3958
3959
  {
3959
3960
  href: "/",
3960
- className: `${a.logo} ${a.primaryLogo}`,
3961
- "aria-label": T("header.homeAriaLabel"),
3962
- onClick: M,
3963
- children: /* @__PURE__ */ n(g, {})
3961
+ className: `${s.logo} ${s.primaryLogo}`,
3962
+ "aria-label": v("header.homeAriaLabel"),
3963
+ onClick: w,
3964
+ children: /* @__PURE__ */ t(ge, {})
3964
3965
  }
3965
3966
  ),
3966
- /* @__PURE__ */ n("div", { className: a.secondaryLogoWrapper, children: P && j ? /* @__PURE__ */ n(
3967
+ /* @__PURE__ */ t("div", { className: s.secondaryLogoWrapper, children: A && p ? /* @__PURE__ */ t(
3967
3968
  "img",
3968
3969
  {
3969
- src: Q === "dark" && l ? l : j,
3970
- alt: te,
3971
- className: a.secondaryLogo
3970
+ src: y === "dark" && K ? K : p,
3971
+ alt: X,
3972
+ className: s.secondaryLogo
3972
3973
  }
3973
- ) : P ? /* @__PURE__ */ n("div", { className: a.slotComponent, children: /* @__PURE__ */ n("div", { className: a.slotContainer, children: /* @__PURE__ */ n("p", { className: a.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 })
3974
3975
  ] }),
3975
- B && z && z.length > 0 && !Z && /* @__PURE__ */ n("nav", { className: a.navItems, children: z.map((i, m) => /* @__PURE__ */ n(
3976
- oe,
3976
+ q && j && j.length > 0 && !Z && /* @__PURE__ */ t("nav", { className: s.navItems, children: j.map((i, u) => /* @__PURE__ */ t(
3977
+ te,
3977
3978
  {
3978
3979
  href: i.href,
3979
- className: a.navLink,
3980
- onClick: (b) => {
3981
- o && (b.preventDefault(), o(i.href));
3980
+ className: s.navLink,
3981
+ onClick: (x) => {
3982
+ d && (x.preventDefault(), d(i.href));
3982
3983
  },
3983
3984
  children: i.label
3984
3985
  },
3985
- m
3986
+ u
3986
3987
  )) }),
3987
- /* @__PURE__ */ s("div", { className: a.actions, children: [
3988
- k && /* @__PURE__ */ s(
3989
- de,
3988
+ /* @__PURE__ */ r("div", { className: s.actions, children: [
3989
+ D && /* @__PURE__ */ r(
3990
+ ce,
3990
3991
  {
3991
3992
  variant: "primary",
3992
3993
  "data-color": "main",
3993
3994
  "data-size": "md",
3994
- className: a.ctaButton,
3995
- onClick: U,
3995
+ className: s.ctaButton,
3996
+ onClick: _,
3996
3997
  children: [
3997
- C,
3998
- /* @__PURE__ */ n("span", { className: C ? a.buttonText : void 0, children: D || T("header.supportUs") })
3998
+ R,
3999
+ /* @__PURE__ */ t("span", { className: R ? s.buttonText : void 0, children: S || v("header.supportUs") })
3999
4000
  ]
4000
4001
  }
4001
4002
  ),
4002
- !p && w && /* @__PURE__ */ n("div", { className: a.themeToggle, children: /* @__PURE__ */ n(
4003
- Le,
4003
+ !M && V && /* @__PURE__ */ t("div", { className: s.themeToggle, children: /* @__PURE__ */ t(
4004
+ je,
4004
4005
  {
4005
- checked: Q === "dark",
4006
- onChange: A,
4007
- "aria-label": T("header.toggleTheme")
4006
+ checked: y === "dark",
4007
+ onChange: c,
4008
+ "aria-label": v("header.toggleTheme")
4008
4009
  }
4009
4010
  ) }),
4010
- h && (() => {
4011
- const i = G ?? "Frodo Baggins", m = O ?? (G ? ts(G) : "FB"), b = !!W;
4012
- return /* @__PURE__ */ s(
4011
+ f && (() => {
4012
+ const i = G ?? "Frodo Baggins", u = ne ?? (G ? na(G) : "FB"), x = !!J;
4013
+ return /* @__PURE__ */ r(
4013
4014
  "div",
4014
4015
  {
4015
- className: a.userInfo,
4016
- onClick: W,
4017
- role: b ? "button" : void 0,
4018
- tabIndex: b ? 0 : void 0,
4019
- onKeyDown: b ? (q) => {
4020
- (q.key === "Enter" || q.key === " ") && (q.preventDefault(), W == null || W());
4016
+ className: s.userInfo,
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());
4021
4022
  } : void 0,
4022
- style: b ? { cursor: "pointer" } : void 0,
4023
+ style: x ? { cursor: "pointer" } : void 0,
4023
4024
  children: [
4024
- /* @__PURE__ */ n(be, { "data-size": "md", className: a.userName, children: i }),
4025
- /* @__PURE__ */ n(
4025
+ /* @__PURE__ */ t(xe, { "data-size": "md", className: s.userName, children: i }),
4026
+ /* @__PURE__ */ t(
4026
4027
  Ke,
4027
4028
  {
4028
4029
  "aria-label": i,
4029
4030
  "data-color": "main",
4030
4031
  variant: "circle",
4031
- initials: J ? void 0 : m,
4032
- children: J ? /* @__PURE__ */ n(
4032
+ initials: H ? void 0 : u,
4033
+ children: H ? /* @__PURE__ */ t(
4033
4034
  "img",
4034
4035
  {
4035
- src: J,
4036
+ src: H,
4036
4037
  alt: "",
4037
4038
  style: { width: "100%", height: "100%", objectFit: "cover" }
4038
4039
  }
@@ -4043,175 +4044,175 @@ const ci = ({
4043
4044
  }
4044
4045
  );
4045
4046
  })(),
4046
- c && /* @__PURE__ */ s("a", { href: "#", className: a.loginLink, children: [
4047
- /* @__PURE__ */ n(be, { "data-size": "md", className: a.loginText, children: T("header.login") }),
4048
- /* @__PURE__ */ n("div", { className: a.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 })
4049
4050
  ] }),
4050
- f && /* @__PURE__ */ n("div", { className: a.searchButtonWrapper, children: /* @__PURE__ */ s(
4051
- de,
4051
+ m && /* @__PURE__ */ t("div", { className: s.searchButtonWrapper, children: /* @__PURE__ */ r(
4052
+ ce,
4052
4053
  {
4053
4054
  variant: "secondary",
4054
- shape: I === "soft" ? "pill" : void 0,
4055
- "data-color": I === "soft" ? "neutral" : "main",
4055
+ shape: L === "soft" ? "pill" : void 0,
4056
+ "data-color": L === "soft" ? "neutral" : "main",
4056
4057
  "data-size": "md",
4057
- onClick: ae,
4058
- "aria-expanded": v,
4059
- "aria-label": T(v ? "header.closeSearch" : "header.openSearch"),
4058
+ onClick: oe,
4059
+ "aria-expanded": l,
4060
+ "aria-label": v(l ? "header.closeSearch" : "header.openSearch"),
4060
4061
  children: [
4061
- v ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }),
4062
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(v ? "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") })
4063
4064
  ]
4064
4065
  }
4065
4066
  ) }),
4066
- (X || Z) && /* @__PURE__ */ n(
4067
- de,
4067
+ (g || Z) && /* @__PURE__ */ t(
4068
+ ce,
4068
4069
  {
4069
- variant: I === "soft" ? "soft" : "primary",
4070
- shape: I === "soft" ? "pill" : void 0,
4070
+ variant: L === "soft" ? "soft" : "primary",
4071
+ shape: L === "soft" ? "pill" : void 0,
4071
4072
  "data-color": "main",
4072
4073
  "data-size": "md",
4073
- onClick: ie,
4074
- "aria-expanded": N,
4075
- "aria-label": T(N ? "header.closeMenu" : "header.openMenu"),
4076
- className: a.menuButton,
4077
- children: I === "soft" ? /* @__PURE__ */ s(Ce, { children: [
4078
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(N ? "header.close" : "header.menu") }),
4079
- N ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 })
4080
- ] }) : /* @__PURE__ */ s(Ce, { children: [
4081
- N ? /* @__PURE__ */ n(_e, { "aria-hidden": !0 }) : /* @__PURE__ */ n($e, { "aria-hidden": !0 }),
4082
- /* @__PURE__ */ n("span", { className: a.buttonText, children: T(N ? "header.close" : "header.menu") })
4074
+ onClick: $,
4075
+ "aria-expanded": T,
4076
+ "aria-label": v(T ? "header.closeMenu" : "header.openMenu"),
4077
+ className: s.menuButton,
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") })
4083
4084
  ] })
4084
4085
  }
4085
4086
  )
4086
4087
  ] })
4087
4088
  ] }),
4088
- N && /* @__PURE__ */ n("div", { className: a.menuOverlay, children: /* @__PURE__ */ s("div", { className: a.menuContent, children: [
4089
- /* @__PURE__ */ n("div", { className: a.menuLeftColumn }),
4090
- /* @__PURE__ */ s("div", { className: a.menuRightColumn, children: [
4091
- Z && (S || L) && /* @__PURE__ */ s("div", { className: a.menuUtilities, children: [
4092
- S && /* @__PURE__ */ s("div", { className: a.languageSwitch, children: [
4093
- /* @__PURE__ */ n("span", { className: a.languageLabel, children: T("header.language") }),
4094
- /* @__PURE__ */ s(V.TriggerContext, { children: [
4095
- /* @__PURE__ */ s(
4096
- 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,
4097
4098
  {
4098
- className: a.languageLink,
4099
- "aria-label": T("header.selectLanguage"),
4099
+ className: s.languageLink,
4100
+ "aria-label": v("header.selectLanguage"),
4100
4101
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4101
4102
  children: [
4102
- F,
4103
+ Q,
4103
4104
  " ",
4104
- /* @__PURE__ */ n(Be, { "aria-hidden": !0 })
4105
+ /* @__PURE__ */ t(Be, { "aria-hidden": !0 })
4105
4106
  ]
4106
4107
  }
4107
4108
  ),
4108
- /* @__PURE__ */ n(
4109
- V,
4109
+ /* @__PURE__ */ t(
4110
+ U,
4110
4111
  {
4111
- "data-color-scheme": Q,
4112
+ "data-color-scheme": y,
4112
4113
  placement: "bottom-start",
4113
- children: /* @__PURE__ */ s(V.List, { children: [
4114
- /* @__PURE__ */ n(V.Item, { children: /* @__PURE__ */ n(V.Button, { onClick: () => K("NO"), children: "Norsk (NO)" }) }),
4115
- /* @__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)" }) })
4116
4117
  ] })
4117
4118
  }
4118
4119
  )
4119
4120
  ] })
4120
4121
  ] }),
4121
- L && /* @__PURE__ */ n("div", { className: a.extensionContent, children: /* @__PURE__ */ n(
4122
- Le,
4122
+ I && /* @__PURE__ */ t("div", { className: s.extensionContent, children: /* @__PURE__ */ t(
4123
+ je,
4123
4124
  {
4124
4125
  "data-size": "sm",
4125
- checked: Q === "dark",
4126
- onChange: A,
4127
- label: T("header.darkMode"),
4126
+ checked: y === "dark",
4127
+ onChange: c,
4128
+ label: v("header.darkMode"),
4128
4129
  color: "neutral",
4129
4130
  "data-color-scheme": "light"
4130
4131
  }
4131
4132
  ) })
4132
4133
  ] }),
4133
- /* @__PURE__ */ s("div", { className: a.slotContent, children: [
4134
- d,
4135
- Z && B && z && z.length > 0 && /* @__PURE__ */ n("nav", { className: a.navList, children: z.map((i, m) => /* @__PURE__ */ n(
4136
- 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,
4137
4138
  {
4138
4139
  href: i.href,
4139
- className: a.navLink,
4140
- onClick: (b) => {
4141
- o && (b.preventDefault(), o(i.href));
4140
+ className: s.navLink,
4141
+ onClick: (x) => {
4142
+ d && (x.preventDefault(), d(i.href));
4142
4143
  },
4143
4144
  children: i.label
4144
4145
  },
4145
- m
4146
+ u
4146
4147
  )) })
4147
4148
  ] }),
4148
- Z && /* @__PURE__ */ n("div", { className: a.menuBrand, children: /* @__PURE__ */ n(g, {}) })
4149
+ Z && /* @__PURE__ */ t("div", { className: s.menuBrand, children: /* @__PURE__ */ t(ge, {}) })
4149
4150
  ] })
4150
4151
  ] }) }),
4151
- v && /* @__PURE__ */ n("div", { className: a.searchOverlay, children: /* @__PURE__ */ s("div", { className: a.searchContent, children: [
4152
- /* @__PURE__ */ s(xe, { children: [
4153
- /* @__PURE__ */ n(
4154
- 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,
4155
4156
  {
4156
- "aria-label": T("header.search"),
4157
- placeholder: T("header.searchPlaceholder"),
4158
- value: x,
4159
- 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)
4160
4161
  }
4161
4162
  ),
4162
- /* @__PURE__ */ n(xe.Button, { "aria-label": T("header.search") }),
4163
- /* @__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") })
4164
4165
  ] }),
4165
- x && /* @__PURE__ */ n("div", { className: a.searchResults, children: pe.length > 0 ? /* @__PURE__ */ s("div", { className: a.suggestionsSection, children: [
4166
- /* @__PURE__ */ n("h3", { className: a.suggestionsTitle, children: T("header.suggestions") }),
4167
- /* @__PURE__ */ n("ul", { className: a.resultList, children: pe.slice(0, 5).map((i) => /* @__PURE__ */ n("li", { className: a.resultItem, children: /* @__PURE__ */ s(
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(
4168
4169
  "button",
4169
4170
  {
4170
- className: a.resultLink,
4171
- onClick: () => we(i.path),
4171
+ className: s.resultLink,
4172
+ onClick: () => pe(i.path),
4172
4173
  children: [
4173
- /* @__PURE__ */ n("span", { className: a.suggestionIcon, children: /* @__PURE__ */ n(Ee, { "aria-hidden": !0 }) }),
4174
- /* @__PURE__ */ n("span", { className: a.suggestionText, children: (() => {
4175
- const m = i.title.toLowerCase().indexOf(x.toLowerCase());
4176
- if (m === -1) return /* @__PURE__ */ n("span", { className: a.remainingText, children: i.title });
4177
- const b = i.title.slice(0, m), q = i.title.slice(m, m + x.length), Se = i.title.slice(m + x.length);
4178
- return /* @__PURE__ */ s(Ce, { children: [
4179
- /* @__PURE__ */ n("span", { className: a.remainingText, children: b }),
4180
- /* @__PURE__ */ n("span", { className: a.highlightedText, children: q }),
4181
- /* @__PURE__ */ n("span", { className: a.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 })
4182
4183
  ] });
4183
4184
  })() })
4184
4185
  ]
4185
4186
  }
4186
4187
  ) }, i.id)) }),
4187
- pe.length > 5 && /* @__PURE__ */ s(
4188
- oe,
4188
+ re.length > 5 && /* @__PURE__ */ r(
4189
+ te,
4189
4190
  {
4190
4191
  href: "#",
4191
4192
  "data-color": "neutral",
4192
- className: a.viewAllLink,
4193
+ className: s.viewAllLink,
4193
4194
  onClick: (i) => {
4194
- i.preventDefault(), o && o(`search/${x}`), y(!1), ne("");
4195
+ i.preventDefault(), d && d(`search/${E}`), C(!1), Y("");
4195
4196
  },
4196
4197
  children: [
4197
- T("header.viewAll"),
4198
+ v("header.viewAll"),
4198
4199
  " (",
4199
- pe.length,
4200
+ re.length,
4200
4201
  ")"
4201
4202
  ]
4202
4203
  }
4203
4204
  )
4204
- ] }) : /* @__PURE__ */ n("div", { className: a.noResults, children: /* @__PURE__ */ s(be, { children: [
4205
- T("header.noResults"),
4205
+ ] }) : /* @__PURE__ */ t("div", { className: s.noResults, children: /* @__PURE__ */ r(xe, { children: [
4206
+ v("header.noResults"),
4206
4207
  ' "',
4207
- x,
4208
+ E,
4208
4209
  '"'
4209
4210
  ] }) }) })
4210
4211
  ] }) })
4211
4212
  ] });
4212
4213
  };
4213
- function ns(t) {
4214
- const e = t;
4214
+ function oa(n) {
4215
+ const e = n;
4215
4216
  return `
4216
4217
  .${e.header} {
4217
4218
  width: 100%;
@@ -4383,97 +4384,115 @@ function ns(t) {
4383
4384
  }
4384
4385
  `;
4385
4386
  }
4386
- const os = "_footer_1l5de_1", rs = "_mainSection_1l5de_7", ss = "_mainContainer_1l5de_25", as = "_crossCornerTopRight_1l5de_35", is = "_crossCornerBottomLeft_1l5de_42", ls = "_contentRow_1l5de_50", ds = "_newsletterSection_1l5de_60", cs = "_newsletterDescription_1l5de_67", ps = "_newsletterForm_1l5de_76", ms = "_newsletterInputGroup_1l5de_82", gs = "_newsletterInput_1l5de_82", us = "_consentText_1l5de_93", hs = "_linksSection_1l5de_103", fs = "_linksColumn_1l5de_109", ks = "_linksTitle_1l5de_116", vs = "_linksList_1l5de_127", bs = "_footerLink_1l5de_136", ys = "_divider_1l5de_158", xs = "_contactSection_1l5de_166", Ts = "_contactColumn_1l5de_173", Cs = "_contactTitle_1l5de_181", ws = "_contactContent_1l5de_190", Ss = "_copyrightSection_1l5de_204", Is = "_copyrightText_1l5de_209", _s = "_whiteSection_1l5de_219", Ds = "_whiteContainer_1l5de_224", As = "_whiteContent_1l5de_232", Ls = "_logo_1l5de_240", Ns = "_redCrossLogo_1l5de_254", Ms = "_slotLarge_1l5de_260", js = "_contentRowContact_1l5de_315", Fs = "_socialLinksSection_1l5de_325", Bs = "_socialLinksTitle_1l5de_332", Es = "_socialLinksList_1l5de_343", $s = "_socialLink_1l5de_325", Ps = "_socialLinkIcon_1l5de_376", zs = "_contactPersonsSection_1l5de_391", Rs = "_contactPersonsTitle_1l5de_398", Gs = "_contactPersonsGrid_1l5de_409", Ws = "_contactPersonCard_1l5de_415", Hs = "_contactPersonName_1l5de_422", Us = "_contactPersonRole_1l5de_431", Vs = "_contactPersonDetails_1l5de_440", Os = "_contactPersonLabel_1l5de_447", Ks = "_contactPersonEmail_1l5de_451", qs = "_contactPersonPhone_1l5de_452", Ys = "_contactPersonAddress_1l5de_453", Zs = "_bottomRowContact_1l5de_474", Xs = "_legalLinksRow_1l5de_483", Js = "_legalLink_1l5de_483", r = {
4387
- footer: os,
4388
- mainSection: rs,
4389
- mainContainer: ss,
4390
- crossCornerTopRight: as,
4391
- crossCornerBottomLeft: is,
4392
- contentRow: ls,
4393
- newsletterSection: ds,
4394
- newsletterDescription: cs,
4395
- newsletterForm: ps,
4396
- newsletterInputGroup: ms,
4397
- newsletterInput: gs,
4398
- consentText: us,
4399
- linksSection: hs,
4400
- linksColumn: fs,
4401
- linksTitle: ks,
4402
- linksList: vs,
4403
- footerLink: bs,
4404
- divider: ys,
4405
- contactSection: xs,
4406
- contactColumn: Ts,
4407
- contactTitle: Cs,
4408
- contactContent: ws,
4409
- copyrightSection: Ss,
4410
- copyrightText: Is,
4411
- whiteSection: _s,
4412
- whiteContainer: Ds,
4413
- whiteContent: As,
4414
- logo: Ls,
4415
- redCrossLogo: Ns,
4416
- slotLarge: Ms,
4417
- contentRowContact: js,
4418
- socialLinksSection: Fs,
4419
- socialLinksTitle: Bs,
4420
- socialLinksList: Es,
4421
- socialLink: $s,
4422
- socialLinkIcon: Ps,
4423
- contactPersonsSection: zs,
4424
- contactPersonsTitle: Rs,
4425
- contactPersonsGrid: Gs,
4426
- contactPersonCard: Ws,
4427
- contactPersonName: Hs,
4428
- contactPersonRole: Us,
4429
- contactPersonDetails: Vs,
4430
- contactPersonLabel: Os,
4431
- contactPersonEmail: Ks,
4432
- contactPersonPhone: qs,
4433
- contactPersonAddress: Ys,
4434
- bottomRowContact: Zs,
4435
- legalLinksRow: Xs,
4436
- legalLink: Js
4437
- }, pi = ({
4438
- "data-color": t = "neutral",
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,
4415
+ logo: Aa,
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",
4439
4456
  variant: e = "default",
4440
- showCrossCorners: o = !1,
4441
- newsletterDescription: d = "Tekst om rødekors som kan være rundt 2 linjebrudd i lengde.",
4442
- newsletterPlaceholder: h = "Input tekst",
4443
- newsletterButtonText: f = "Meld deg ",
4444
- newsletterConsentText: c,
4445
- onNewsletterSubmit: k,
4446
- hideNewsletter: D = !1,
4447
- shortcutsLinks: C,
4448
- linksLinks: U,
4449
- shortcutsTitle: w,
4450
- linksTitle: P,
4451
- visitingAddress: j = ["Hausmannsgate 7 (Korsegården)", "0186 Oslo"],
4452
- organizationNumber: l = "XXX XXX XXX",
4453
- email: te = "post@redcross.no",
4454
- showPrimaryLogo: z = !0,
4455
- primaryLogoSrc: B,
4456
- primaryLogoAlt: X = "Røde Kors Logo",
4457
- whiteSectionSlot: p,
4458
- socialLinks: L = [],
4459
- contactPersons: S = [],
4460
- legalLinks: R = [],
4461
- socialLinksTitle: I,
4462
- contactPersonsTitle: G
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",
4462
+ newsletterButtonText: k = "Meld deg på",
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
4463
4482
  } = {}) => {
4464
- const O = (/* @__PURE__ */ new Date()).getFullYear(), { t: J } = ye(), [W, N] = Ne.useState(""), u = (g, A) => {
4465
- const M = J(g);
4466
- return M === g ? A : M;
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 : $;
4467
4486
  };
4468
- Ne.useEffect(() => {
4469
- const g = "rk-footer-inline-styles";
4470
- if (typeof document > "u" || document.getElementById(g)) return;
4471
- const A = Qs(r), M = document.createElement("style");
4472
- M.id = g, M.textContent = A, document.head.appendChild(M);
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($);
4473
4492
  }, []);
4474
- const v = (g) => {
4475
- g.preventDefault(), k == null || k(W);
4476
- }, y = () => /* @__PURE__ */ s(
4493
+ const C = (c) => {
4494
+ c.preventDefault(), S == null || S(T);
4495
+ }, E = () => /* @__PURE__ */ r(
4477
4496
  "svg",
4478
4497
  {
4479
4498
  width: "170",
@@ -4483,190 +4502,237 @@ const os = "_footer_1l5de_1", rs = "_mainSection_1l5de_7", ss = "_mainContainer_
4483
4502
  xmlns: "http://www.w3.org/2000/svg",
4484
4503
  "aria-hidden": !0,
4485
4504
  focusable: "false",
4486
- className: r.redCrossLogo,
4505
+ className: o.redCrossLogo,
4487
4506
  children: [
4488
- /* @__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" }),
4489
- /* @__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" }),
4490
- /* @__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" }),
4491
- /* @__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" }),
4492
- /* @__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" }),
4493
- /* @__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" }),
4494
- /* @__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" }),
4495
- /* @__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" }),
4496
- /* @__PURE__ */ n("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4497
- /* @__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" })
4498
4517
  ]
4499
4518
  }
4500
- ), x = [
4501
- { label: u("footer.shortcutsLinks.services", "Tilbudene"), href: "#" },
4502
- { label: u("footer.shortcutsLinks.volunteer", "Bli frivillig"), href: "#" },
4503
- { label: u("footer.shortcutsLinks.ourWork", "Vårt arbeid"), href: "#" },
4504
- { label: u("footer.shortcutsLinks.about", "Om Røde Kors"), href: "#" },
4505
- { label: u("footer.shortcutsLinks.support", "Støtt arbeidet"), href: "#" },
4506
- { label: u("footer.shortcutsLinks.contact", "Kontakt oss"), href: "#" }
4507
- ], ne = [
4508
- { label: u("footer.legal.privacy", "Personvern"), href: "#" },
4509
- { label: u("footer.legal.press", "For presse"), href: "#" },
4510
- { label: u("footer.legal.procurement", "Regler for innkjøp"), href: "#" },
4511
- { label: u("footer.legal.whistleblowing", "Varsling/Misconduct"), href: "#" }
4512
- ], Q = /* @__PURE__ */ s(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: [
4513
4532
  'Ved å trykke "',
4514
- f,
4533
+ k,
4515
4534
  '" samtykker du til å motta nyhetsbrev.',
4516
- /* @__PURE__ */ n("br", {}),
4535
+ /* @__PURE__ */ t("br", {}),
4517
4536
  "Du kan når som helst ",
4518
- /* @__PURE__ */ n(oe, { href: "#", children: "melde deg av" }),
4537
+ /* @__PURE__ */ t(te, { href: "#", children: "melde deg av" }),
4519
4538
  " nyhetsbrevet uten kostnad."
4520
- ] }), _ = C || x, F = U || ne, K = () => /* @__PURE__ */ s("div", { className: r.socialLinksSection, children: [
4521
- I && /* @__PURE__ */ n("h3", { className: r.socialLinksTitle, children: I }),
4522
- /* @__PURE__ */ n("ul", { className: r.socialLinksList, children: L.map((g, A) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ s(oe, { href: g.href, className: r.socialLink, children: [
4523
- /* @__PURE__ */ n("span", { className: r.socialLinkIcon, children: g.icon }),
4524
- g.label
4525
- ] }) }, A)) })
4526
- ] }), T = ({ person: g }) => /* @__PURE__ */ s("div", { className: r.contactPersonCard, children: [
4527
- /* @__PURE__ */ n("p", { className: r.contactPersonName, children: g.name }),
4528
- /* @__PURE__ */ n("p", { className: r.contactPersonRole, children: g.role }),
4529
- /* @__PURE__ */ s("div", { className: r.contactPersonDetails, children: [
4530
- /* @__PURE__ */ s("p", { className: r.contactPersonEmail, children: [
4531
- /* @__PURE__ */ s("span", { className: r.contactPersonLabel, children: [
4532
- u("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"),
4533
4552
  ":"
4534
4553
  ] }),
4535
4554
  " ",
4536
- /* @__PURE__ */ n(oe, { href: `mailto:${g.email}`, children: g.email })
4555
+ /* @__PURE__ */ t(te, { href: `mailto:${c.email}`, children: c.email })
4537
4556
  ] }),
4538
- g.phone && /* @__PURE__ */ s("p", { className: r.contactPersonPhone, children: [
4539
- /* @__PURE__ */ s("span", { className: r.contactPersonLabel, children: [
4540
- u("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"),
4541
4560
  ":"
4542
4561
  ] }),
4543
4562
  " ",
4544
- g.phone
4563
+ c.phone
4545
4564
  ] }),
4546
- g.address && /* @__PURE__ */ n("p", { className: r.contactPersonAddress, children: g.address })
4565
+ c.address && /* @__PURE__ */ t("p", { className: o.contactPersonAddress, children: c.address })
4547
4566
  ] })
4548
- ] }), Z = () => /* @__PURE__ */ s("div", { className: r.contactPersonsSection, children: [
4549
- G && /* @__PURE__ */ n("h3", { className: r.contactPersonsTitle, children: G }),
4550
- /* @__PURE__ */ n("div", { className: r.contactPersonsGrid, children: S.map((g, A) => /* @__PURE__ */ n(T, { person: g }, A)) })
4551
- ] }), ce = () => /* @__PURE__ */ n("ul", { className: r.legalLinksRow, children: R.map((g, A) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: g.href, className: r.legalLink, children: g.label }) }, A)) });
4552
- return e === "contact" ? /* @__PURE__ */ s("footer", { className: r.footer, "data-color": t, children: [
4553
- /* @__PURE__ */ n("div", { className: r.mainSection, children: /* @__PURE__ */ s("div", { className: r.mainContainer, children: [
4554
- o && /* @__PURE__ */ n("div", { className: r.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4555
- /* @__PURE__ */ s("div", { className: r.contentRowContact, children: [
4556
- L.length > 0 && /* @__PURE__ */ n(K, {}),
4557
- 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, {})
4558
4624
  ] }),
4559
- /* @__PURE__ */ n("div", { className: r.divider }),
4560
- /* @__PURE__ */ s("div", { className: r.contactSection, children: [
4561
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4562
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.visitingAddress", "Besøks adresse") }),
4563
- /* @__PURE__ */ n("div", { className: r.contactContent, children: j.map((g, A) => /* @__PURE__ */ n("p", { children: g }, A)) })
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)) })
4564
4630
  ] }),
4565
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4566
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4567
- /* @__PURE__ */ n("p", { className: r.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 })
4568
4634
  ] }),
4569
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4570
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.email", "E-post") }),
4571
- /* @__PURE__ */ n("p", { className: r.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 })
4572
4638
  ] })
4573
4639
  ] }),
4574
- /* @__PURE__ */ n("div", { className: r.divider }),
4575
- /* @__PURE__ */ s("div", { className: r.bottomRowContact, children: [
4576
- R.length > 0 && /* @__PURE__ */ n(ce, {}),
4577
- /* @__PURE__ */ s("p", { className: r.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: [
4578
4644
  "© ",
4579
- O,
4645
+ H,
4580
4646
  " ",
4581
- u("footer.copyright", "Rødekors")
4647
+ l("footer.copyright", "Rødekors")
4582
4648
  ] })
4583
4649
  ] }),
4584
- o && /* @__PURE__ */ n("div", { className: r.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 }) })
4585
4651
  ] }) }),
4586
- /* @__PURE__ */ n("div", { className: r.whiteSection, children: /* @__PURE__ */ n("div", { className: r.whiteContainer, children: /* @__PURE__ */ s("div", { className: r.whiteContent, children: [
4587
- 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(
4588
4654
  "img",
4589
4655
  {
4590
- src: B,
4591
- alt: X,
4592
- className: r.logo,
4656
+ src: g,
4657
+ alt: M,
4658
+ className: o.logo,
4593
4659
  loading: "lazy"
4594
4660
  }
4595
- ) : /* @__PURE__ */ n("div", { className: r.logo, children: /* @__PURE__ */ n(y, {}) })),
4596
- p && /* @__PURE__ */ n("div", { className: r.slotLarge, children: p })
4661
+ ) : /* @__PURE__ */ t("div", { className: o.logo, children: /* @__PURE__ */ t(E, {}) })),
4662
+ I && /* @__PURE__ */ t("div", { className: o.slotLarge, children: I })
4597
4663
  ] }) }) })
4598
- ] }) : /* @__PURE__ */ s("footer", { className: r.footer, "data-color": t, children: [
4599
- /* @__PURE__ */ n("div", { className: r.mainSection, children: /* @__PURE__ */ s("div", { className: r.mainContainer, children: [
4600
- o && /* @__PURE__ */ n("div", { className: r.crossCornerTopRight, children: /* @__PURE__ */ n(ve, { position: "top-right", size: "md", "aria-hidden": !0 }) }),
4601
- /* @__PURE__ */ s("div", { className: r.contentRow, children: [
4602
- !D && /* @__PURE__ */ s("div", { className: r.newsletterSection, children: [
4603
- /* @__PURE__ */ n("p", { className: r.newsletterDescription, children: d }),
4604
- /* @__PURE__ */ n("form", { className: r.newsletterForm, onSubmit: v, children: /* @__PURE__ */ s("div", { className: r.newsletterInputGroup, children: [
4605
- /* @__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(
4606
4672
  Ze,
4607
4673
  {
4608
4674
  type: "email",
4609
- placeholder: h,
4610
- value: W,
4611
- onChange: (g) => N(g.target.value),
4612
- className: r.newsletterInput
4675
+ placeholder: m,
4676
+ value: T,
4677
+ onChange: (c) => b(c.target.value),
4678
+ className: o.newsletterInput
4613
4679
  }
4614
4680
  ),
4615
- /* @__PURE__ */ n(de, { type: "submit", variant: "primary", "data-color": "neutral", children: f })
4681
+ /* @__PURE__ */ t(ce, { type: "submit", variant: "primary", "data-color": "neutral", children: k })
4616
4682
  ] }) }),
4617
- /* @__PURE__ */ n("p", { className: r.consentText, children: c || Q })
4683
+ /* @__PURE__ */ t("p", { className: o.consentText, children: D || B })
4618
4684
  ] }),
4619
- /* @__PURE__ */ s("div", { className: r.linksSection, children: [
4620
- /* @__PURE__ */ s("nav", { className: r.linksColumn, "aria-label": w || u("footer.shortcuts", "Snarveier"), children: [
4621
- /* @__PURE__ */ n("h3", { className: r.linksTitle, children: w || u("footer.shortcuts", "Snarveier") }),
4622
- /* @__PURE__ */ n("ul", { className: r.linksList, children: _.map((g, A) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: g.href, className: r.footerLink, children: g.label }) }, A)) })
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)) })
4623
4689
  ] }),
4624
- /* @__PURE__ */ s("nav", { className: r.linksColumn, "aria-label": P || u("footer.links", "Lenker"), children: [
4625
- /* @__PURE__ */ n("h3", { className: r.linksTitle, children: P || u("footer.links", "Lenker") }),
4626
- /* @__PURE__ */ n("ul", { className: r.linksList, children: F.map((g, A) => /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(oe, { href: g.href, className: r.footerLink, children: g.label }) }, A)) })
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)) })
4627
4693
  ] })
4628
4694
  ] })
4629
4695
  ] }),
4630
- /* @__PURE__ */ n("div", { className: r.divider }),
4631
- /* @__PURE__ */ s("div", { className: r.contactSection, children: [
4632
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4633
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.visitingAddress", "Besøks adresse") }),
4634
- /* @__PURE__ */ n("div", { className: r.contactContent, children: j.map((g, A) => /* @__PURE__ */ n("p", { children: g }, A)) })
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)) })
4635
4701
  ] }),
4636
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4637
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.organizationNumber", "Organisasjonsnummer") }),
4638
- /* @__PURE__ */ n("p", { className: r.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 })
4639
4705
  ] }),
4640
- /* @__PURE__ */ s("div", { className: r.contactColumn, children: [
4641
- /* @__PURE__ */ n("h4", { className: r.contactTitle, children: u("footer.contact.email", "E-post") }),
4642
- /* @__PURE__ */ n("p", { className: r.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 })
4643
4709
  ] })
4644
4710
  ] }),
4645
- /* @__PURE__ */ n("div", { className: r.divider }),
4646
- /* @__PURE__ */ n("div", { className: r.copyrightSection, children: /* @__PURE__ */ s("p", { className: r.copyrightText, children: [
4711
+ /* @__PURE__ */ t("div", { className: o.divider }),
4712
+ /* @__PURE__ */ t("div", { className: o.copyrightSection, children: /* @__PURE__ */ r("p", { className: o.copyrightText, children: [
4647
4713
  "© ",
4648
- O,
4714
+ H,
4649
4715
  " ",
4650
- u("footer.copyright", "Rødekors")
4716
+ l("footer.copyright", "Rødekors")
4651
4717
  ] }) }),
4652
- o && /* @__PURE__ */ n("div", { className: r.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 }) })
4653
4719
  ] }) }),
4654
- /* @__PURE__ */ n("div", { className: r.whiteSection, children: /* @__PURE__ */ n("div", { className: r.whiteContainer, children: /* @__PURE__ */ s("div", { className: r.whiteContent, children: [
4655
- 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(
4656
4722
  "img",
4657
4723
  {
4658
- src: B,
4659
- alt: X,
4660
- className: r.logo,
4724
+ src: g,
4725
+ alt: M,
4726
+ className: o.logo,
4661
4727
  loading: "lazy"
4662
4728
  }
4663
- ) : /* @__PURE__ */ n("div", { className: r.logo, children: /* @__PURE__ */ n(y, {}) })),
4664
- p && /* @__PURE__ */ n("div", { className: r.slotLarge, children: p })
4729
+ ) : /* @__PURE__ */ t("div", { className: o.logo, children: /* @__PURE__ */ t(E, {}) })),
4730
+ I && /* @__PURE__ */ t("div", { className: o.slotLarge, children: I })
4665
4731
  ] }) }) })
4666
4732
  ] });
4667
4733
  };
4668
- function Qs(t) {
4669
- const e = t;
4734
+ function fs(n) {
4735
+ const e = n;
4670
4736
  return `
4671
4737
  .${e.footer} {
4672
4738
  margin-top: auto;
@@ -5090,25 +5156,25 @@ function Qs(t) {
5090
5156
  }
5091
5157
  `;
5092
5158
  }
5093
- const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_35", oa = "_amountSection_1hxqz_47", ra = "_amountLabel_1hxqz_55", sa = "_amountButtons_1hxqz_64", aa = "_customAmountField_1hxqz_75", ia = "_impactRow_1hxqz_80", la = "_heartIcon_1hxqz_88", da = "_impactText_1hxqz_102", ca = "_impactAmount_1hxqz_112", pa = "_actionsSection_1hxqz_117", ma = "_vippsButton_1hxqz_127", ga = "_vippsButtonLabel_1hxqz_157", ua = "_vippsLogo_1hxqz_166", ha = "_avtalegiroLink_1hxqz_179", fa = "_tabHeartIcon_1hxqz_184", E = {
5094
- donor: ea,
5095
- tabsWrapper: ta,
5096
- content: na,
5097
- amountSection: oa,
5098
- amountLabel: ra,
5099
- amountButtons: sa,
5100
- customAmountField: aa,
5101
- impactRow: ia,
5102
- heartIcon: la,
5103
- impactText: da,
5104
- impactAmount: ca,
5105
- actionsSection: pa,
5106
- vippsButton: ma,
5107
- vippsButtonLabel: ga,
5108
- vippsLogo: ua,
5109
- avtalegiroLink: ha,
5110
- tabHeartIcon: fa
5111
- }, 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(
5112
5178
  "svg",
5113
5179
  {
5114
5180
  width: "19",
@@ -5118,7 +5184,7 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5118
5184
  xmlns: "http://www.w3.org/2000/svg",
5119
5185
  "aria-hidden": "true",
5120
5186
  focusable: "false",
5121
- children: /* @__PURE__ */ n(
5187
+ children: /* @__PURE__ */ t(
5122
5188
  "path",
5123
5189
  {
5124
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",
@@ -5126,7 +5192,7 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5126
5192
  }
5127
5193
  )
5128
5194
  }
5129
- ), ka = () => /* @__PURE__ */ n(
5195
+ ), Fs = () => /* @__PURE__ */ t(
5130
5196
  "svg",
5131
5197
  {
5132
5198
  width: "16",
@@ -5136,7 +5202,7 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5136
5202
  xmlns: "http://www.w3.org/2000/svg",
5137
5203
  "aria-hidden": "true",
5138
5204
  focusable: "false",
5139
- children: /* @__PURE__ */ n(
5205
+ children: /* @__PURE__ */ t(
5140
5206
  "path",
5141
5207
  {
5142
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",
@@ -5144,7 +5210,7 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5144
5210
  }
5145
5211
  )
5146
5212
  }
5147
- ), va = () => /* @__PURE__ */ n(
5213
+ ), Bs = () => /* @__PURE__ */ t(
5148
5214
  "svg",
5149
5215
  {
5150
5216
  width: "64",
@@ -5154,7 +5220,7 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5154
5220
  xmlns: "http://www.w3.org/2000/svg",
5155
5221
  "aria-hidden": "true",
5156
5222
  focusable: "false",
5157
- children: /* @__PURE__ */ n(
5223
+ children: /* @__PURE__ */ t(
5158
5224
  "path",
5159
5225
  {
5160
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",
@@ -5162,136 +5228,136 @@ const ea = "_donor_1hxqz_1", ta = "_tabsWrapper_1hxqz_14", na = "_content_1hxqz_
5162
5228
  }
5163
5229
  )
5164
5230
  }
5165
- ), ba = [
5231
+ ), Es = [
5166
5232
  { value: 220, label: "220 kr" },
5167
5233
  { value: 345, label: "345 kr" },
5168
5234
  { value: 660, label: "660 kr" }
5169
- ], mi = ({
5170
- "data-color": t = "primary",
5171
- amounts: e = ba,
5172
- defaultAmount: o = 345,
5235
+ ], Li = ({
5236
+ "data-color": n = "primary",
5237
+ amounts: e = Es,
5238
+ defaultAmount: a = 345,
5173
5239
  oneTimeLabel: d = "En gang",
5174
5240
  monthlyLabel: h = "Hver måned",
5175
5241
  customAmountPlaceholder: f = "Valgfritt beløp",
5176
- amountLabel: c = "Velg ønsket beløp:",
5242
+ amountLabel: m = "Velg ønsket beløp:",
5177
5243
  impactMessage: k = "En gave på {amount} bidrar til ...",
5178
5244
  vippsButtonLabel: D = "Gi med",
5179
- avtalegiroLabel: C = "Gi med avtalegiro",
5180
- avtalegiroHref: U = "#",
5181
- currencySuffix: w = "kr",
5182
- onVippsClick: P,
5183
- onAvtalegiroClick: j,
5184
- onAmountChange: l,
5185
- showVippsButton: te = !0,
5186
- showAvtalegiroLink: z = !0,
5187
- showImpactMessage: B = !0,
5188
- heartVariant: X = "outlined"
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"
5189
5255
  }) => {
5190
- const [p, L] = Y("monthly"), [S, R] = Y(o), [I, G] = Y(""), [O, J] = Y(!1);
5191
- $(() => {
5192
- const _ = "rk-donor-inline-styles";
5193
- if (typeof document > "u" || document.getElementById(_)) return;
5194
- const F = ya(E), K = document.createElement("style");
5195
- K.id = _, K.textContent = F, 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);
5196
5262
  }, []);
5197
- const W = O && I ? parseInt(I, 10) || 0 : S, N = (_) => {
5198
- R(_), J(!1), G(""), l == null || l(_, p);
5199
- }, u = (_) => {
5200
- const F = _.target.value;
5201
- G(F), J(!0);
5202
- const K = parseInt(F, 10);
5203
- K > 0 && (l == null || l(K, p));
5204
- }, v = () => {
5205
- J(!0);
5206
- }, y = (_) => {
5207
- const F = _;
5208
- L(F), l == null || l(W, F);
5209
- }, x = () => {
5210
- P == null || P(W, p);
5211
- }, ne = () => {
5212
- j == null || j();
5213
- }, Q = () => {
5214
- const _ = `${W} ${w}`, F = k.split("{amount}");
5215
- return /* @__PURE__ */ s("span", { children: [
5216
- F[0],
5217
- /* @__PURE__ */ n("span", { className: E.impactAmount, children: _ }),
5218
- F[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] || ""
5219
5285
  ] });
5220
5286
  };
5221
- return /* @__PURE__ */ s("div", { className: E.donor, "data-color": t, children: [
5222
- /* @__PURE__ */ n("div", { className: E.tabsWrapper, children: /* @__PURE__ */ n(Te, { defaultValue: "monthly", onChange: y, "data-size": "md", children: /* @__PURE__ */ s(Te.List, { children: [
5223
- /* @__PURE__ */ n(Te.Tab, { value: "one-time", children: d }),
5224
- /* @__PURE__ */ s(Te.Tab, { value: "monthly", children: [
5225
- /* @__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, {}) }),
5226
5292
  h
5227
5293
  ] })
5228
5294
  ] }) }) }),
5229
- /* @__PURE__ */ s("div", { className: E.content, children: [
5230
- /* @__PURE__ */ s("div", { className: E.amountSection, children: [
5231
- /* @__PURE__ */ n(be, { className: E.amountLabel, "data-size": "sm", children: c }),
5232
- /* @__PURE__ */ n("div", { className: E.amountButtons, children: e.map((_) => {
5233
- const F = !O && S === _.value;
5234
- return /* @__PURE__ */ n(
5235
- 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,
5236
5302
  {
5237
- variant: F ? "primary" : "secondary",
5238
- "data-color": F ? "accent" : "neutral",
5239
- onClick: () => N(_.value),
5240
- children: _.label
5303
+ variant: B ? "primary" : "secondary",
5304
+ "data-color": B ? "accent" : "neutral",
5305
+ onClick: () => J(y.value),
5306
+ children: y.label
5241
5307
  },
5242
- _.value
5308
+ y.value
5243
5309
  );
5244
5310
  }) }),
5245
- /* @__PURE__ */ n("div", { className: E.customAmountField, children: /* @__PURE__ */ n(
5246
- Jo,
5311
+ /* @__PURE__ */ t("div", { className: P.customAmountField, children: /* @__PURE__ */ t(
5312
+ Qo,
5247
5313
  {
5248
5314
  "aria-label": f,
5249
5315
  placeholder: f,
5250
- value: I,
5251
- onChange: u,
5252
- onFocus: v,
5316
+ value: N,
5317
+ onChange: T,
5318
+ onFocus: b,
5253
5319
  type: "number",
5254
5320
  min: 1
5255
5321
  }
5256
5322
  ) })
5257
5323
  ] }),
5258
- B && /* @__PURE__ */ s("div", { className: E.impactRow, children: [
5259
- /* @__PURE__ */ n("div", { className: E.heartIcon, children: X === "filled" ? /* @__PURE__ */ n(We, {}) : /* @__PURE__ */ n(ka, {}) }),
5260
- /* @__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() })
5261
5327
  ] }),
5262
- /* @__PURE__ */ s("div", { className: E.actionsSection, children: [
5263
- te && /* @__PURE__ */ s(
5328
+ /* @__PURE__ */ r("div", { className: P.actionsSection, children: [
5329
+ K && /* @__PURE__ */ r(
5264
5330
  "button",
5265
5331
  {
5266
- className: E.vippsButton,
5267
- onClick: x,
5332
+ className: P.vippsButton,
5333
+ onClick: C,
5268
5334
  type: "button",
5269
5335
  "aria-label": `${D} Vipps`,
5270
5336
  children: [
5271
- /* @__PURE__ */ n("span", { className: E.vippsButtonLabel, children: D }),
5272
- /* @__PURE__ */ n("span", { className: E.vippsLogo, children: /* @__PURE__ */ n(va, {}) })
5337
+ /* @__PURE__ */ t("span", { className: P.vippsButtonLabel, children: D }),
5338
+ /* @__PURE__ */ t("span", { className: P.vippsLogo, children: /* @__PURE__ */ t(Bs, {}) })
5273
5339
  ]
5274
5340
  }
5275
5341
  ),
5276
- z && /* @__PURE__ */ n(
5277
- oe,
5342
+ X && /* @__PURE__ */ t(
5343
+ te,
5278
5344
  {
5279
- href: U,
5345
+ href: R,
5280
5346
  "data-color": "neutral",
5281
- className: E.avtalegiroLink,
5282
- onClick: (_) => {
5283
- j && (_.preventDefault(), ne());
5347
+ className: P.avtalegiroLink,
5348
+ onClick: (y) => {
5349
+ A && (y.preventDefault(), E());
5284
5350
  },
5285
- children: C
5351
+ children: S
5286
5352
  }
5287
5353
  )
5288
5354
  ] })
5289
5355
  ] })
5290
5356
  ] });
5291
5357
  };
5292
- function ya(t) {
5358
+ function $s(n) {
5293
5359
  return `
5294
- .${t.donor} {
5360
+ .${n.donor} {
5295
5361
  border-radius: 16px;
5296
5362
  overflow: hidden;
5297
5363
  background-color: var(--ds-color-primary-color-red-surface-default, #ffffff);
@@ -5302,16 +5368,16 @@ function ya(t) {
5302
5368
  max-width: 344px;
5303
5369
  padding-top: var(--ds-size-2, 8px);
5304
5370
  }
5305
- .${t.tabsWrapper} {
5371
+ .${n.tabsWrapper} {
5306
5372
  width: 100%;
5307
5373
  overflow: hidden;
5308
5374
  border-radius: 4px;
5309
5375
  }
5310
- .${t.tabsWrapper} [role="tablist"] {
5376
+ .${n.tabsWrapper} [role="tablist"] {
5311
5377
  display: flex !important;
5312
5378
  width: 100% !important;
5313
5379
  }
5314
- .${t.tabsWrapper} [role="tab"] {
5380
+ .${n.tabsWrapper} [role="tab"] {
5315
5381
  flex: 1 1 50% !important;
5316
5382
  display: inline-flex !important;
5317
5383
  align-items: center !important;
@@ -5319,7 +5385,7 @@ function ya(t) {
5319
5385
  text-align: center;
5320
5386
  white-space: nowrap;
5321
5387
  }
5322
- .${t.content} {
5388
+ .${n.content} {
5323
5389
  display: flex;
5324
5390
  flex-direction: column;
5325
5391
  gap: var(--ds-size-6, 24px);
@@ -5329,14 +5395,14 @@ function ya(t) {
5329
5395
  width: 100%;
5330
5396
  box-sizing: border-box;
5331
5397
  }
5332
- .${t.amountSection} {
5398
+ .${n.amountSection} {
5333
5399
  display: flex;
5334
5400
  flex-direction: column;
5335
5401
  gap: var(--ds-size-2, 8px);
5336
5402
  align-items: flex-start;
5337
5403
  width: 296px;
5338
5404
  }
5339
- .${t.amountLabel} {
5405
+ .${n.amountLabel} {
5340
5406
  font-weight: var(--ds-font-weight-regular, 400);
5341
5407
  font-size: var(--ds-font-size-3, 16px);
5342
5408
  line-height: 1.5;
@@ -5344,26 +5410,26 @@ function ya(t) {
5344
5410
  color: var(--ds-color-neutral-text-default, #333333);
5345
5411
  margin: 0;
5346
5412
  }
5347
- .${t.amountButtons} {
5413
+ .${n.amountButtons} {
5348
5414
  display: flex;
5349
5415
  gap: var(--ds-size-2, 8px);
5350
5416
  align-items: flex-start;
5351
5417
  width: 100%;
5352
5418
  }
5353
- .${t.amountButtons} > button {
5419
+ .${n.amountButtons} > button {
5354
5420
  flex: 1;
5355
5421
  }
5356
- .${t.customAmountField} {
5422
+ .${n.customAmountField} {
5357
5423
  width: 100%;
5358
5424
  }
5359
- .${t.impactRow} {
5425
+ .${n.impactRow} {
5360
5426
  display: flex;
5361
5427
  gap: var(--ds-size-3, 12px);
5362
5428
  align-items: center;
5363
5429
  width: 296px;
5364
5430
  min-height: 48px;
5365
5431
  }
5366
- .${t.heartIcon} {
5432
+ .${n.heartIcon} {
5367
5433
  width: 32px;
5368
5434
  height: 32px;
5369
5435
  flex-shrink: 0;
@@ -5371,11 +5437,11 @@ function ya(t) {
5371
5437
  align-items: center;
5372
5438
  justify-content: center;
5373
5439
  }
5374
- .${t.heartIcon} svg {
5440
+ .${n.heartIcon} svg {
5375
5441
  width: 19px;
5376
5442
  height: 18px;
5377
5443
  }
5378
- .${t.impactText} {
5444
+ .${n.impactText} {
5379
5445
  flex: 1;
5380
5446
  font-weight: var(--ds-font-weight-regular, 400);
5381
5447
  font-size: var(--ds-font-size-3, 16px);
@@ -5384,10 +5450,10 @@ function ya(t) {
5384
5450
  color: var(--ds-color-neutral-text-default, #333333);
5385
5451
  margin: 0;
5386
5452
  }
5387
- .${t.impactAmount} {
5453
+ .${n.impactAmount} {
5388
5454
  font-weight: var(--ds-font-weight-semibold, 600);
5389
5455
  }
5390
- .${t.actionsSection} {
5456
+ .${n.actionsSection} {
5391
5457
  display: flex;
5392
5458
  flex-direction: column;
5393
5459
  gap: var(--ds-size-2, 8px);
@@ -5395,7 +5461,7 @@ function ya(t) {
5395
5461
  justify-content: center;
5396
5462
  width: 296px;
5397
5463
  }
5398
- .${t.vippsButton} {
5464
+ .${n.vippsButton} {
5399
5465
  display: flex;
5400
5466
  gap: 6px;
5401
5467
  align-items: center;
@@ -5411,17 +5477,17 @@ function ya(t) {
5411
5477
  transition: opacity 0.15s ease;
5412
5478
  font-family: inherit;
5413
5479
  }
5414
- .${t.vippsButton}:hover {
5480
+ .${n.vippsButton}:hover {
5415
5481
  opacity: 0.9;
5416
5482
  }
5417
- .${t.vippsButton}:active {
5483
+ .${n.vippsButton}:active {
5418
5484
  opacity: 0.8;
5419
5485
  }
5420
- .${t.vippsButton}:focus-visible {
5486
+ .${n.vippsButton}:focus-visible {
5421
5487
  outline: 2px solid var(--ds-color-neutral-border-default, #797979);
5422
5488
  outline-offset: 2px;
5423
5489
  }
5424
- .${t.vippsButtonLabel} {
5490
+ .${n.vippsButtonLabel} {
5425
5491
  font-family: inherit;
5426
5492
  font-weight: 700;
5427
5493
  font-size: 18.5px;
@@ -5429,98 +5495,98 @@ function ya(t) {
5429
5495
  color: #ffffff;
5430
5496
  white-space: nowrap;
5431
5497
  }
5432
- .${t.vippsLogo} {
5498
+ .${n.vippsLogo} {
5433
5499
  display: flex;
5434
5500
  flex-direction: column;
5435
5501
  align-items: flex-start;
5436
5502
  flex-shrink: 0;
5437
5503
  }
5438
- .${t.vippsLogo} svg {
5504
+ .${n.vippsLogo} svg {
5439
5505
  width: 64px;
5440
5506
  height: 16px;
5441
5507
  }
5442
- .${t.avtalegiroLink} {
5508
+ .${n.avtalegiroLink} {
5443
5509
  text-align: center;
5444
5510
  }
5445
- .${t.tabHeartIcon} {
5511
+ .${n.tabHeartIcon} {
5446
5512
  display: inline-flex;
5447
5513
  align-items: center;
5448
5514
  margin-right: 4px;
5449
5515
  vertical-align: middle;
5450
5516
  }
5451
- .${t.tabHeartIcon} svg {
5517
+ .${n.tabHeartIcon} svg {
5452
5518
  width: 16px;
5453
5519
  height: 15px;
5454
5520
  }
5455
5521
  `;
5456
5522
  }
5457
5523
  export {
5458
- un as Alert,
5524
+ hn as Alert,
5459
5525
  Ke as Avatar,
5460
- hn as Badge,
5461
- _a as BadgePosition,
5462
- Da as Breadcrumbs,
5463
- La as BreadcrumbsItem,
5464
- Na as BreadcrumbsLink,
5465
- Aa as BreadcrumbsList,
5466
- de as Button,
5467
- kn as Card,
5468
- Ma as CardBlock,
5469
- Po as Carousel,
5470
- vn as Checkbox,
5471
- Fa as Chip,
5472
- ve as CrossCorner,
5473
- yo as DateInput,
5474
- po as DatePicker,
5475
- $a as Details,
5476
- Pa as Dialog,
5477
- za as Divider,
5478
- mi as Donor,
5479
- V as Dropdown,
5480
- Va as DropdownButton,
5481
- Wa as DropdownHeading,
5482
- Ua as DropdownItem,
5483
- Ha as DropdownList,
5484
- Ra as DropdownTrigger,
5485
- Ga as DropdownTriggerContext,
5486
- Oa as ErrorSummary,
5487
- Ka as Field,
5488
- Oo as FieldCounter,
5489
- Vo as FieldDescription,
5490
- qa as Fieldset,
5491
- pi as Footer,
5492
- ci as Header,
5493
- Ko 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,
5494
5560
  Ze as Input,
5495
- qo as Label,
5496
- Ba as LanguageProvider,
5497
- oe as Link,
5498
- Ya as List,
5499
- Yo as Pagination,
5500
- Ja as PaginationButton,
5501
- Xa as PaginationItem,
5502
- Za as PaginationList,
5503
- be as Paragraph,
5504
- ei as Popover,
5505
- ti as Radio,
5506
- xe as Search,
5507
- oi as Select,
5508
- ri as SkeletonLoader,
5509
- si as SkipLink,
5510
- $o as Spinner,
5511
- Zo as Suggestion,
5512
- Le as Switch,
5513
- ai as Table,
5514
- Te as Tabs,
5515
- Xo as Tag,
5516
- ii as Textarea,
5517
- Jo as Textfield,
5518
- li as ToggleGroup,
5519
- di as Tooltip,
5520
- Qo as ValidationMessage,
5521
- ja as useCheckboxGroup,
5522
- Ea as useLanguage,
5523
- ye as useLanguageOptional,
5524
- Qa as usePagination,
5525
- ni 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
5526
5592
  };