rk-designsystem 1.1.50 → 1.1.52

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,8 +1,8 @@
1
- import jt, { forwardRef as ue, useState as re, useEffect as se, useMemo as ve, useCallback as oe, useRef as qe, createContext as Ut, useContext as Kt } from "react";
2
- import { Alert as Yt, Avatar as Jt, BadgePosition as Zt, Badge as Xt, Breadcrumbs as Qt, BreadcrumbsList as en, BreadcrumbsItem as tn, BreadcrumbsLink as nn, Button as Ue, Card as on, CardBlock as rn, Checkbox as sn, useCheckboxGroup as an, Fieldset as Dt, Chip as ln, Spinner as dn, Details as cn, Dialog as un, Divider as mn, Dropdown as gn, ErrorSummary as pn, Field as fn, FieldDescription as hn, FieldCounter as kn, Heading as bn, Input as vn, Label as yn, Link as xn, List as Tn, Pagination as Sn, usePagination as wn, Paragraph as Cn, Popover as jn, Radio as Dn, useRadioGroup as In, Search as An, SearchInput as Ln, SearchClear as Fn, SearchButton as _n, Select as En, Skeleton as Nn, SkipLink as Bn, EXPERIMENTAL_Suggestion as Pn, Switch as Rn, Table as Mn, Tabs as zn, Tag as On, Textarea as Hn, Textfield as $n, ToggleGroup as Wn, Tooltip as Vn, ValidationMessage as Gn } from "@digdir/designsystemet-react";
3
- import { startOfMonth as ke, isValid as We, isSameMonth as ut, startOfWeek as It, format as Te, addDays as At, subMonths as qn, addMonths as Un, isSameDay as Kn, isToday as Yn, eachDayOfInterval as Jn } from "date-fns";
4
- import { ChevronLeftIcon as Zn, ChevronRightIcon as Xn, ChevronDownIcon as Qn, XMarkIcon as mt, MagnifyingGlassIcon as gt, MenuHamburgerIcon as eo, HeartIcon as to } from "@navikt/aksel-icons";
5
- var Ne = { exports: {} }, Se = {};
1
+ import Dt, { forwardRef as ue, useState as oe, useEffect as te, useMemo as ve, useCallback as ae, useRef as Ke, createContext as qt, useContext as Yt } from "react";
2
+ import { Alert as Jt, Avatar as Zt, BadgePosition as Xt, Badge as Qt, Breadcrumbs as en, BreadcrumbsList as tn, BreadcrumbsItem as nn, BreadcrumbsLink as on, Button as qe, Card as rn, CardBlock as sn, Checkbox as an, useCheckboxGroup as ln, Fieldset as It, Chip as dn, Spinner as cn, Details as un, Dialog as mn, Divider as gn, Dropdown as pn, ErrorSummary as fn, Field as hn, FieldDescription as kn, FieldCounter as bn, Heading as vn, Input as yn, Label as xn, Link as Tn, List as Sn, Pagination as wn, usePagination as Cn, Paragraph as jn, Popover as Dn, Radio as In, useRadioGroup as Ln, Search as An, SearchInput as Fn, SearchClear as _n, SearchButton as En, Select as Bn, Skeleton as Nn, SkipLink as Pn, EXPERIMENTAL_Suggestion as Mn, Switch as Rn, Table as zn, Tabs as On, Tag as $n, Textarea as Hn, Textfield as Wn, ToggleGroup as Vn, Tooltip as Gn, ValidationMessage as Un } from "@digdir/designsystemet-react";
3
+ import { startOfMonth as ke, isValid as Ve, isSameMonth as mt, startOfWeek as Lt, format as Te, addDays as At, subMonths as Kn, addMonths as qn, isSameDay as Yn, isToday as Jn, eachDayOfInterval as Zn } from "date-fns";
4
+ import { ChevronLeftIcon as Xn, ChevronRightIcon as Qn, ChevronDownIcon as gt, XMarkIcon as pt, MagnifyingGlassIcon as ft, MenuHamburgerIcon as eo, HeartIcon as to } from "@navikt/aksel-icons";
5
+ var Be = { exports: {} }, Se = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.js
@@ -12,27 +12,27 @@ var Ne = { exports: {} }, Se = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var pt;
15
+ var ht;
16
16
  function no() {
17
- if (pt) return Se;
18
- pt = 1;
19
- var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
20
- function n(r, a, s) {
17
+ if (ht) return Se;
18
+ ht = 1;
19
+ var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
20
+ function n(s, i, a) {
21
21
  var o = null;
22
- if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
23
- s = {};
24
- for (var d in a)
25
- d !== "key" && (s[d] = a[d]);
26
- } else s = a;
27
- return a = s.ref, {
28
- $$typeof: e,
29
- type: r,
22
+ if (a !== void 0 && (o = "" + a), i.key !== void 0 && (o = "" + i.key), "key" in i) {
23
+ a = {};
24
+ for (var d in i)
25
+ d !== "key" && (a[d] = i[d]);
26
+ } else a = i;
27
+ return i = a.ref, {
28
+ $$typeof: t,
29
+ type: s,
30
30
  key: o,
31
- ref: a !== void 0 ? a : null,
32
- props: s
31
+ ref: i !== void 0 ? i : null,
32
+ props: a
33
33
  };
34
34
  }
35
- return Se.Fragment = t, Se.jsx = n, Se.jsxs = n, Se;
35
+ return Se.Fragment = e, Se.jsx = n, Se.jsxs = n, Se;
36
36
  }
37
37
  var we = {};
38
38
  /**
@@ -44,13 +44,13 @@ var we = {};
44
44
  * This source code is licensed under the MIT license found in the
45
45
  * LICENSE file in the root directory of this source tree.
46
46
  */
47
- var ft;
47
+ var kt;
48
48
  function oo() {
49
- return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
50
- function e(c) {
49
+ return kt || (kt = 1, process.env.NODE_ENV !== "production" && (function() {
50
+ function t(c) {
51
51
  if (c == null) return null;
52
52
  if (typeof c == "function")
53
- return c.$$typeof === B ? null : c.displayName || c.name || null;
53
+ return c.$$typeof === N ? null : c.displayName || c.name || null;
54
54
  if (typeof c == "string") return c;
55
55
  switch (c) {
56
56
  case v:
@@ -59,11 +59,11 @@ function oo() {
59
59
  return "Profiler";
60
60
  case p:
61
61
  return "StrictMode";
62
- case A:
62
+ case E:
63
63
  return "Suspense";
64
- case w:
64
+ case j:
65
65
  return "SuspenseList";
66
- case z:
66
+ case $:
67
67
  return "Activity";
68
68
  }
69
69
  if (typeof c == "object")
@@ -72,96 +72,96 @@ function oo() {
72
72
  ), c.$$typeof) {
73
73
  case b:
74
74
  return "Portal";
75
- case F:
75
+ case _:
76
76
  return c.displayName || "Context";
77
77
  case x:
78
78
  return (c._context.displayName || "Context") + ".Consumer";
79
- case _:
80
- var I = c.render;
81
- return c = c.displayName, c || (c = I.displayName || I.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
82
- case D:
83
- return I = c.displayName || null, I !== null ? I : e(c.type) || "Memo";
79
+ case F:
80
+ var A = c.render;
81
+ return c = c.displayName, c || (c = A.displayName || A.name || "", c = c !== "" ? "ForwardRef(" + c + ")" : "ForwardRef"), c;
84
82
  case L:
85
- I = c._payload, c = c._init;
83
+ return A = c.displayName || null, A !== null ? A : t(c.type) || "Memo";
84
+ case B:
85
+ A = c._payload, c = c._init;
86
86
  try {
87
- return e(c(I));
87
+ return t(c(A));
88
88
  } catch {
89
89
  }
90
90
  }
91
91
  return null;
92
92
  }
93
- function t(c) {
93
+ function e(c) {
94
94
  return "" + c;
95
95
  }
96
96
  function n(c) {
97
97
  try {
98
- t(c);
99
- var I = !1;
98
+ e(c);
99
+ var A = !1;
100
100
  } catch {
101
- I = !0;
101
+ A = !0;
102
102
  }
103
- if (I) {
104
- I = console;
105
- var S = I.error, E = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
106
- return S.call(
107
- I,
103
+ if (A) {
104
+ A = console;
105
+ var P = A.error, z = typeof Symbol == "function" && Symbol.toStringTag && c[Symbol.toStringTag] || c.constructor.name || "Object";
106
+ return P.call(
107
+ A,
108
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
109
- E
110
- ), t(c);
109
+ z
110
+ ), e(c);
111
111
  }
112
112
  }
113
- function r(c) {
113
+ function s(c) {
114
114
  if (c === v) return "<>";
115
- if (typeof c == "object" && c !== null && c.$$typeof === L)
115
+ if (typeof c == "object" && c !== null && c.$$typeof === B)
116
116
  return "<...>";
117
117
  try {
118
- var I = e(c);
119
- return I ? "<" + I + ">" : "<...>";
118
+ var A = t(c);
119
+ return A ? "<" + A + ">" : "<...>";
120
120
  } catch {
121
121
  return "<...>";
122
122
  }
123
123
  }
124
- function a() {
125
- var c = O.A;
124
+ function i() {
125
+ var c = H.A;
126
126
  return c === null ? null : c.getOwner();
127
127
  }
128
- function s() {
128
+ function a() {
129
129
  return Error("react-stack-top-frame");
130
130
  }
131
131
  function o(c) {
132
- if (P.call(c, "key")) {
133
- var I = Object.getOwnPropertyDescriptor(c, "key").get;
134
- if (I && I.isReactWarning) return !1;
132
+ if (M.call(c, "key")) {
133
+ var A = Object.getOwnPropertyDescriptor(c, "key").get;
134
+ if (A && A.isReactWarning) return !1;
135
135
  }
136
136
  return c.key !== void 0;
137
137
  }
138
- function d(c, I) {
139
- function S() {
140
- Q || (Q = !0, console.error(
138
+ function d(c, A) {
139
+ function P() {
140
+ U || (U = !0, console.error(
141
141
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
142
- I
142
+ A
143
143
  ));
144
144
  }
145
- S.isReactWarning = !0, Object.defineProperty(c, "key", {
146
- get: S,
145
+ P.isReactWarning = !0, Object.defineProperty(c, "key", {
146
+ get: P,
147
147
  configurable: !0
148
148
  });
149
149
  }
150
150
  function l() {
151
- var c = e(this.type);
152
- return K[c] || (K[c] = !0, console.error(
151
+ var c = t(this.type);
152
+ return ne[c] || (ne[c] = !0, console.error(
153
153
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
154
154
  )), c = this.props.ref, c !== void 0 ? c : null;
155
155
  }
156
- function u(c, I, S, E, q, G) {
157
- var N = S.ref;
156
+ function u(c, A, P, z, S, I) {
157
+ var C = P.ref;
158
158
  return c = {
159
159
  $$typeof: h,
160
160
  type: c,
161
- key: I,
162
- props: S,
163
- _owner: E
164
- }, (N !== void 0 ? N : null) !== null ? Object.defineProperty(c, "ref", {
161
+ key: A,
162
+ props: P,
163
+ _owner: z
164
+ }, (C !== void 0 ? C : null) !== null ? Object.defineProperty(c, "ref", {
165
165
  enumerable: !1,
166
166
  get: l
167
167
  }) : Object.defineProperty(c, "ref", { enumerable: !1, value: null }), c._store = {}, Object.defineProperty(c._store, "validated", {
@@ -178,69 +178,69 @@ function oo() {
178
178
  configurable: !1,
179
179
  enumerable: !1,
180
180
  writable: !0,
181
- value: q
181
+ value: S
182
182
  }), Object.defineProperty(c, "_debugTask", {
183
183
  configurable: !1,
184
184
  enumerable: !1,
185
185
  writable: !0,
186
- value: G
186
+ value: I
187
187
  }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
188
188
  }
189
- function y(c, I, S, E, q, G) {
190
- var N = I.children;
191
- if (N !== void 0)
192
- if (E)
193
- if (R(N)) {
194
- for (E = 0; E < N.length; E++)
195
- f(N[E]);
196
- Object.freeze && Object.freeze(N);
189
+ function y(c, A, P, z, S, I) {
190
+ var C = A.children;
191
+ if (C !== void 0)
192
+ if (z)
193
+ if (R(C)) {
194
+ for (z = 0; z < C.length; z++)
195
+ f(C[z]);
196
+ Object.freeze && Object.freeze(C);
197
197
  } else
198
198
  console.error(
199
199
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
200
200
  );
201
- else f(N);
202
- if (P.call(I, "key")) {
203
- N = e(c);
204
- var H = Object.keys(I).filter(function(Z) {
205
- return Z !== "key";
201
+ else f(C);
202
+ if (M.call(A, "key")) {
203
+ C = t(c);
204
+ var W = Object.keys(A).filter(function(X) {
205
+ return X !== "key";
206
206
  });
207
- E = 0 < H.length ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}", te[N + E] || (H = 0 < H.length ? "{" + H.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ z = 0 < W.length ? "{key: someKey, " + W.join(": ..., ") + ": ...}" : "{key: someKey}", re[C + z] || (W = 0 < W.length ? "{" + W.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
211
211
  React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
- E,
215
- N,
216
- H,
217
- N
218
- ), te[N + E] = !0);
214
+ z,
215
+ C,
216
+ W,
217
+ C
218
+ ), re[C + z] = !0);
219
219
  }
220
- if (N = null, S !== void 0 && (n(S), N = "" + S), o(I) && (n(I.key), N = "" + I.key), "key" in I) {
221
- S = {};
222
- for (var ee in I)
223
- ee !== "key" && (S[ee] = I[ee]);
224
- } else S = I;
225
- return N && d(
226
- S,
220
+ if (C = null, P !== void 0 && (n(P), C = "" + P), o(A) && (n(A.key), C = "" + A.key), "key" in A) {
221
+ P = {};
222
+ for (var J in A)
223
+ J !== "key" && (P[J] = A[J]);
224
+ } else P = A;
225
+ return C && d(
226
+ P,
227
227
  typeof c == "function" ? c.displayName || c.name || "Unknown" : c
228
228
  ), u(
229
229
  c,
230
- N,
230
+ C,
231
+ P,
232
+ i(),
231
233
  S,
232
- a(),
233
- q,
234
- G
234
+ I
235
235
  );
236
236
  }
237
237
  function f(c) {
238
- k(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === L && (c._payload.status === "fulfilled" ? k(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
238
+ k(c) ? c._store && (c._store.validated = 1) : typeof c == "object" && c !== null && c.$$typeof === B && (c._payload.status === "fulfilled" ? k(c._payload.value) && c._payload.value._store && (c._payload.value._store.validated = 1) : c._store && (c._store.validated = 1));
239
239
  }
240
240
  function k(c) {
241
241
  return typeof c == "object" && c !== null && c.$$typeof === h;
242
242
  }
243
- var g = jt, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), F = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), B = Symbol.for("react.client.reference"), O = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, R = Array.isArray, j = console.createTask ? console.createTask : function() {
243
+ var g = Dt, h = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), N = Symbol.for("react.client.reference"), H = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, R = Array.isArray, D = console.createTask ? console.createTask : function() {
244
244
  return null;
245
245
  };
246
246
  g = {
@@ -248,110 +248,110 @@ React keys must be passed directly to JSX without using spread:
248
248
  return c();
249
249
  }
250
250
  };
251
- var Q, K = {}, Y = g.react_stack_bottom_frame.bind(
251
+ var U, ne = {}, Y = g.react_stack_bottom_frame.bind(
252
252
  g,
253
- s
254
- )(), J = j(r(s)), te = {};
255
- we.Fragment = v, we.jsx = function(c, I, S) {
256
- var E = 1e4 > O.recentlyCreatedOwnerStacks++;
253
+ a
254
+ )(), q = D(s(a)), re = {};
255
+ we.Fragment = v, we.jsx = function(c, A, P) {
256
+ var z = 1e4 > H.recentlyCreatedOwnerStacks++;
257
257
  return y(
258
258
  c,
259
- I,
260
- S,
259
+ A,
260
+ P,
261
261
  !1,
262
- E ? Error("react-stack-top-frame") : Y,
263
- E ? j(r(c)) : J
262
+ z ? Error("react-stack-top-frame") : Y,
263
+ z ? D(s(c)) : q
264
264
  );
265
- }, we.jsxs = function(c, I, S) {
266
- var E = 1e4 > O.recentlyCreatedOwnerStacks++;
265
+ }, we.jsxs = function(c, A, P) {
266
+ var z = 1e4 > H.recentlyCreatedOwnerStacks++;
267
267
  return y(
268
268
  c,
269
- I,
270
- S,
269
+ A,
270
+ P,
271
271
  !0,
272
- E ? Error("react-stack-top-frame") : Y,
273
- E ? j(r(c)) : J
272
+ z ? Error("react-stack-top-frame") : Y,
273
+ z ? D(s(c)) : q
274
274
  );
275
275
  };
276
276
  })()), we;
277
277
  }
278
- var ht;
278
+ var bt;
279
279
  function ro() {
280
- return ht || (ht = 1, process.env.NODE_ENV === "production" ? Ne.exports = no() : Ne.exports = oo()), Ne.exports;
280
+ return bt || (bt = 1, process.env.NODE_ENV === "production" ? Be.exports = no() : Be.exports = oo()), Be.exports;
281
281
  }
282
- var i = ro();
283
- const so = ue((e, t) => /* @__PURE__ */ i.jsx(Yt, { ref: t, ...e }));
282
+ var r = ro();
283
+ const so = ue((t, e) => /* @__PURE__ */ r.jsx(Jt, { ref: e, ...t }));
284
284
  so.displayName = "Alert";
285
- const Lt = ue((e, t) => /* @__PURE__ */ i.jsx(Jt, { ref: t, ...e }));
286
- Lt.displayName = "Avatar";
287
- const ao = ue((e, t) => /* @__PURE__ */ i.jsx(Xt, { ref: t, ...e }));
285
+ const Ft = ue((t, e) => /* @__PURE__ */ r.jsx(Zt, { ref: e, ...t }));
286
+ Ft.displayName = "Avatar";
287
+ const ao = ue((t, e) => /* @__PURE__ */ r.jsx(Qt, { ref: e, ...t }));
288
288
  ao.displayName = "Badge";
289
- const ga = Zt, pa = Qt, fa = en, ha = tn, ka = nn, ye = Ue;
289
+ const ka = Xt, ba = en, va = tn, ya = nn, xa = on, ye = qe;
290
290
  ye.displayName = "Button";
291
- const io = on, ba = rn;
291
+ const io = rn, Ta = sn;
292
292
  io.displayName = "Card";
293
- const lo = sn, co = Dt, va = an;
293
+ const lo = an, co = It, Sa = ln;
294
294
  lo.displayName = "Checkbox";
295
295
  co.displayName = "Fieldset";
296
- const ya = ln;
297
- function Ve(e) {
298
- return (t = {}) => {
299
- const n = t.width ? String(t.width) : e.defaultWidth;
300
- return e.formats[n] || e.formats[e.defaultWidth];
296
+ const wa = dn;
297
+ function Ge(t) {
298
+ return (e = {}) => {
299
+ const n = e.width ? String(e.width) : t.defaultWidth;
300
+ return t.formats[n] || t.formats[t.defaultWidth];
301
301
  };
302
302
  }
303
- function Ce(e) {
304
- return (t, n) => {
305
- const r = n != null && n.context ? String(n.context) : "standalone";
306
- let a;
307
- if (r === "formatting" && e.formattingValues) {
308
- const o = e.defaultFormattingWidth || e.defaultWidth, d = n != null && n.width ? String(n.width) : o;
309
- a = e.formattingValues[d] || e.formattingValues[o];
303
+ function Ce(t) {
304
+ return (e, n) => {
305
+ const s = n != null && n.context ? String(n.context) : "standalone";
306
+ let i;
307
+ if (s === "formatting" && t.formattingValues) {
308
+ const o = t.defaultFormattingWidth || t.defaultWidth, d = n != null && n.width ? String(n.width) : o;
309
+ i = t.formattingValues[d] || t.formattingValues[o];
310
310
  } else {
311
- const o = e.defaultWidth, d = n != null && n.width ? String(n.width) : e.defaultWidth;
312
- a = e.values[d] || e.values[o];
311
+ const o = t.defaultWidth, d = n != null && n.width ? String(n.width) : t.defaultWidth;
312
+ i = t.values[d] || t.values[o];
313
313
  }
314
- const s = e.argumentCallback ? e.argumentCallback(t) : t;
315
- return a[s];
314
+ const a = t.argumentCallback ? t.argumentCallback(e) : e;
315
+ return i[a];
316
316
  };
317
317
  }
318
- function je(e) {
319
- return (t, n = {}) => {
320
- const r = n.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = t.match(a);
321
- if (!s)
318
+ function je(t) {
319
+ return (e, n = {}) => {
320
+ const s = n.width, i = s && t.matchPatterns[s] || t.matchPatterns[t.defaultMatchWidth], a = e.match(i);
321
+ if (!a)
322
322
  return null;
323
- const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(d) ? mo(d, (f) => f.test(o)) : (
323
+ const o = a[0], d = s && t.parsePatterns[s] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(d) ? mo(d, (f) => f.test(o)) : (
324
324
  // [TODO] -- I challenge you to fix the type
325
325
  uo(d, (f) => f.test(o))
326
326
  );
327
327
  let u;
328
- u = e.valueCallback ? e.valueCallback(l) : l, u = n.valueCallback ? (
328
+ u = t.valueCallback ? t.valueCallback(l) : l, u = n.valueCallback ? (
329
329
  // [TODO] -- I challenge you to fix the type
330
330
  n.valueCallback(u)
331
331
  ) : u;
332
- const y = t.slice(o.length);
332
+ const y = e.slice(o.length);
333
333
  return { value: u, rest: y };
334
334
  };
335
335
  }
336
- function uo(e, t) {
337
- for (const n in e)
338
- if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
336
+ function uo(t, e) {
337
+ for (const n in t)
338
+ if (Object.prototype.hasOwnProperty.call(t, n) && e(t[n]))
339
339
  return n;
340
340
  }
341
- function mo(e, t) {
342
- for (let n = 0; n < e.length; n++)
343
- if (t(e[n]))
341
+ function mo(t, e) {
342
+ for (let n = 0; n < t.length; n++)
343
+ if (e(t[n]))
344
344
  return n;
345
345
  }
346
- function go(e) {
347
- return (t, n = {}) => {
348
- const r = t.match(e.matchPattern);
349
- if (!r) return null;
350
- const a = r[0], s = t.match(e.parsePattern);
346
+ function go(t) {
347
+ return (e, n = {}) => {
348
+ const s = e.match(t.matchPattern);
351
349
  if (!s) return null;
352
- let o = e.valueCallback ? e.valueCallback(s[0]) : s[0];
350
+ const i = s[0], a = e.match(t.parsePattern);
351
+ if (!a) return null;
352
+ let o = t.valueCallback ? t.valueCallback(a[0]) : a[0];
353
353
  o = n.valueCallback ? n.valueCallback(o) : o;
354
- const d = t.slice(a.length);
354
+ const d = e.slice(i.length);
355
355
  return { value: o, rest: d };
356
356
  };
357
357
  }
@@ -417,10 +417,10 @@ const po = {
417
417
  one: "nesten ett år",
418
418
  other: "nesten {{count}} år"
419
419
  }
420
- }, fo = (e, t, n) => {
421
- let r;
422
- const a = po[e];
423
- return typeof a == "string" ? r = a : t === 1 ? r = a.one : r = a.other.replace("{{count}}", String(t)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + r : r + " siden" : r;
420
+ }, fo = (t, e, n) => {
421
+ let s;
422
+ const i = po[t];
423
+ return typeof i == "string" ? s = i : e === 1 ? s = i.one : s = i.other.replace("{{count}}", String(e)), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "om " + s : s + " siden" : s;
424
424
  }, ho = {
425
425
  full: "EEEE d. MMMM y",
426
426
  long: "d. MMMM y",
@@ -437,15 +437,15 @@ const po = {
437
437
  medium: "{{date}} {{time}}",
438
438
  short: "{{date}} {{time}}"
439
439
  }, vo = {
440
- date: Ve({
440
+ date: Ge({
441
441
  formats: ho,
442
442
  defaultWidth: "full"
443
443
  }),
444
- time: Ve({
444
+ time: Ge({
445
445
  formats: ko,
446
446
  defaultWidth: "full"
447
447
  }),
448
- dateTime: Ve({
448
+ dateTime: Ge({
449
449
  formats: bo,
450
450
  defaultWidth: "full"
451
451
  })
@@ -456,7 +456,7 @@ const po = {
456
456
  tomorrow: "'i morgen kl.' p",
457
457
  nextWeek: "EEEE 'kl.' p",
458
458
  other: "P"
459
- }, xo = (e, t, n, r) => yo[e], To = {
459
+ }, xo = (t, e, n, s) => yo[t], To = {
460
460
  narrow: ["f.Kr.", "e.Kr."],
461
461
  abbreviated: ["f.Kr.", "e.Kr."],
462
462
  wide: ["før Kristus", "etter Kristus"]
@@ -538,7 +538,7 @@ const po = {
538
538
  evening: "på kvelden",
539
539
  night: "på natten"
540
540
  }
541
- }, Do = (e, t) => Number(e) + ".", Io = {
541
+ }, Do = (t, e) => Number(t) + ".", Io = {
542
542
  ordinalNumber: Do,
543
543
  era: Ce({
544
544
  values: To,
@@ -547,7 +547,7 @@ const po = {
547
547
  quarter: Ce({
548
548
  values: So,
549
549
  defaultWidth: "wide",
550
- argumentCallback: (e) => e - 1
550
+ argumentCallback: (t) => t - 1
551
551
  }),
552
552
  month: Ce({
553
553
  values: wo,
@@ -561,7 +561,7 @@ const po = {
561
561
  values: jo,
562
562
  defaultWidth: "wide"
563
563
  })
564
- }, Ao = /^(\d+)\.?/i, Lo = /\d+/i, Fo = {
564
+ }, Lo = /^(\d+)\.?/i, Ao = /\d+/i, Fo = {
565
565
  narrow: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
566
566
  abbreviated: /^(f\.? ?Kr\.?|fvt\.?|e\.? ?Kr\.?|evt\.?)/i,
567
567
  wide: /^(før Kristus|før vår tid|etter Kristus|vår tid)/i
@@ -571,9 +571,9 @@ const po = {
571
571
  narrow: /^[1234]/i,
572
572
  abbreviated: /^q[1234]/i,
573
573
  wide: /^[1234](\.)? kvartal/i
574
- }, No = {
575
- any: [/1/i, /2/i, /3/i, /4/i]
576
574
  }, Bo = {
575
+ any: [/1/i, /2/i, /3/i, /4/i]
576
+ }, No = {
577
577
  narrow: /^[jfmasond]/i,
578
578
  abbreviated: /^(jan|feb|mars?|apr|mai|juni?|juli?|aug|sep|okt|nov|des)\.?/i,
579
579
  wide: /^(januar|februar|mars|april|mai|juni|juli|august|september|oktober|november|desember)/i
@@ -606,12 +606,12 @@ const po = {
606
606
  /^n/i,
607
607
  /^d/i
608
608
  ]
609
- }, Ro = {
609
+ }, Mo = {
610
610
  narrow: /^[smtofl]/i,
611
611
  short: /^(sø|ma|ti|on|to|fr|lø)/i,
612
612
  abbreviated: /^(søn|man|tir|ons|tor|fre|lør)/i,
613
613
  wide: /^(søndag|mandag|tirsdag|onsdag|torsdag|fredag|lørdag)/i
614
- }, Mo = {
614
+ }, Ro = {
615
615
  any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
616
616
  }, zo = {
617
617
  narrow: /^(midnatt|middag|(på) (morgenen|ettermiddagen|kvelden|natten)|[ap])/i,
@@ -627,11 +627,11 @@ const po = {
627
627
  evening: /kveld/i,
628
628
  night: /natt/i
629
629
  }
630
- }, Ho = {
630
+ }, $o = {
631
631
  ordinalNumber: go({
632
- matchPattern: Ao,
633
- parsePattern: Lo,
634
- valueCallback: (e) => parseInt(e, 10)
632
+ matchPattern: Lo,
633
+ parsePattern: Ao,
634
+ valueCallback: (t) => parseInt(t, 10)
635
635
  }),
636
636
  era: je({
637
637
  matchPatterns: Fo,
@@ -642,20 +642,20 @@ const po = {
642
642
  quarter: je({
643
643
  matchPatterns: Eo,
644
644
  defaultMatchWidth: "wide",
645
- parsePatterns: No,
645
+ parsePatterns: Bo,
646
646
  defaultParseWidth: "any",
647
- valueCallback: (e) => e + 1
647
+ valueCallback: (t) => t + 1
648
648
  }),
649
649
  month: je({
650
- matchPatterns: Bo,
650
+ matchPatterns: No,
651
651
  defaultMatchWidth: "wide",
652
652
  parsePatterns: Po,
653
653
  defaultParseWidth: "any"
654
654
  }),
655
655
  day: je({
656
- matchPatterns: Ro,
656
+ matchPatterns: Mo,
657
657
  defaultMatchWidth: "wide",
658
- parsePatterns: Mo,
658
+ parsePatterns: Ro,
659
659
  defaultParseWidth: "any"
660
660
  }),
661
661
  dayPeriod: je({
@@ -670,12 +670,12 @@ const po = {
670
670
  formatLong: vo,
671
671
  formatRelative: xo,
672
672
  localize: Io,
673
- match: Ho,
673
+ match: $o,
674
674
  options: {
675
675
  weekStartsOn: 1,
676
676
  firstWeekContainsDate: 4
677
677
  }
678
- }, Ft = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
678
+ }, _t = ({ title: t, ...e }) => /* @__PURE__ */ r.jsxs(
679
679
  "svg",
680
680
  {
681
681
  xmlns: "http://www.w3.org/2000/svg",
@@ -683,12 +683,12 @@ const po = {
683
683
  height: "1em",
684
684
  viewBox: "0 0 28 28",
685
685
  fill: "none",
686
- "aria-hidden": e ? void 0 : !0,
686
+ "aria-hidden": t ? void 0 : !0,
687
687
  focusable: "false",
688
- ...t,
688
+ ...e,
689
689
  children: [
690
- e && /* @__PURE__ */ i.jsx("title", { children: e }),
691
- /* @__PURE__ */ i.jsx(
690
+ t && /* @__PURE__ */ r.jsx("title", { children: t }),
691
+ /* @__PURE__ */ r.jsx(
692
692
  "path",
693
693
  {
694
694
  fillRule: "evenodd",
@@ -700,8 +700,8 @@ const po = {
700
700
  ]
701
701
  }
702
702
  );
703
- Ft.displayName = "ChevronLeftIcon";
704
- const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
703
+ _t.displayName = "ChevronLeftIcon";
704
+ const Et = ({ title: t, ...e }) => /* @__PURE__ */ r.jsxs(
705
705
  "svg",
706
706
  {
707
707
  xmlns: "http://www.w3.org/2000/svg",
@@ -709,12 +709,12 @@ const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
709
709
  height: "1em",
710
710
  viewBox: "0 0 28 28",
711
711
  fill: "none",
712
- "aria-hidden": e ? void 0 : !0,
712
+ "aria-hidden": t ? void 0 : !0,
713
713
  focusable: "false",
714
- ...t,
714
+ ...e,
715
715
  children: [
716
- e && /* @__PURE__ */ i.jsx("title", { children: e }),
717
- /* @__PURE__ */ i.jsx(
716
+ t && /* @__PURE__ */ r.jsx("title", { children: t }),
717
+ /* @__PURE__ */ r.jsx(
718
718
  "path",
719
719
  {
720
720
  fillRule: "evenodd",
@@ -726,117 +726,117 @@ const _t = ({ title: e, ...t }) => /* @__PURE__ */ i.jsxs(
726
726
  ]
727
727
  }
728
728
  );
729
- _t.displayName = "ChevronRightIcon";
730
- const $o = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "_monthYear_10l5p_21", Go = "_navigationButtons_10l5p_32", qo = "_grid_10l5p_41", Uo = "_dayNameCell_10l5p_48", Ko = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", ne = {
731
- calendarContainer: $o,
729
+ Et.displayName = "ChevronRightIcon";
730
+ const Ho = "_calendarContainer_10l5p_1", Wo = "_calendarHeader_10l5p_14", Vo = "_monthYear_10l5p_21", Go = "_navigationButtons_10l5p_32", Uo = "_grid_10l5p_41", Ko = "_dayNameCell_10l5p_48", qo = "_dateCell_10l5p_65", Yo = "_dateNumberContainer_10l5p_90", Jo = "_otherMonth_10l5p_103", Zo = "_selectedDate_10l5p_129", se = {
731
+ calendarContainer: Ho,
732
732
  calendarHeader: Wo,
733
733
  monthYear: Vo,
734
734
  navigationButtons: Go,
735
- grid: qo,
736
- dayNameCell: Uo,
737
- dateCell: Ko,
735
+ grid: Uo,
736
+ dayNameCell: Ko,
737
+ dateCell: qo,
738
738
  dateNumberContainer: Yo,
739
739
  otherMonth: Jo,
740
740
  selectedDate: Zo
741
- }, Xo = (e) => {
742
- const t = ke(e), n = It(t, { locale: be }), r = At(n, 41);
743
- return Jn({ start: n, end: r });
744
- }, kt = (e) => e && e.charAt(0).toUpperCase() + e.slice(1), Qo = ({
745
- initialDate: e = /* @__PURE__ */ new Date(),
746
- selectedDate: t = null,
741
+ }, Xo = (t) => {
742
+ const e = ke(t), n = Lt(e, { locale: be }), s = At(n, 41);
743
+ return Zn({ start: n, end: s });
744
+ }, vt = (t) => t && t.charAt(0).toUpperCase() + t.slice(1), Qo = ({
745
+ initialDate: t = /* @__PURE__ */ new Date(),
746
+ selectedDate: e = null,
747
747
  // Prop for valgt dato
748
748
  onDateSelect: n,
749
- "data-color": r,
749
+ "data-color": s,
750
750
  // <-- Destrukturert
751
- "data-size": a
751
+ "data-size": i
752
752
  // <-- Destrukturert
753
753
  }) => {
754
- const [s, o] = re(
755
- ke(t && We(t) ? t : e)
754
+ const [a, o] = oe(
755
+ ke(e && Ve(e) ? e : t)
756
756
  );
757
- se(() => {
758
- if (t && We(t)) {
759
- const m = ke(t);
760
- ut(m, s) || o(m);
757
+ te(() => {
758
+ if (e && Ve(e)) {
759
+ const m = ke(e);
760
+ mt(m, a) || o(m);
761
761
  }
762
- }, [t]);
763
- const d = ve(() => ke(/* @__PURE__ */ new Date()), []), l = ve(() => !1, [s, d]), u = ve(
764
- () => Xo(s),
765
- [s]
762
+ }, [e]);
763
+ const d = ve(() => ke(/* @__PURE__ */ new Date()), []), l = ve(() => !1, [a, d]), u = ve(
764
+ () => Xo(a),
765
+ [a]
766
766
  ), y = ve(() => {
767
- const m = It(/* @__PURE__ */ new Date(), { locale: be });
768
- return Array.from({ length: 7 }).map((x, F) => {
769
- const _ = Te(At(m, F), "EEEEEE", { locale: be });
770
- return kt(_);
767
+ const m = Lt(/* @__PURE__ */ new Date(), { locale: be });
768
+ return Array.from({ length: 7 }).map((x, _) => {
769
+ const F = Te(At(m, _), "EEEEEE", { locale: be });
770
+ return vt(F);
771
771
  });
772
- }, []), f = oe(() => {
773
- l || o((m) => ke(qn(m, 1)));
774
- }, [l]), k = oe(() => {
775
- o((m) => ke(Un(m, 1)));
776
- }, []), g = oe(
772
+ }, []), f = ae(() => {
773
+ l || o((m) => ke(Kn(m, 1)));
774
+ }, [l]), k = ae(() => {
775
+ o((m) => ke(qn(m, 1)));
776
+ }, []), g = ae(
777
777
  (m) => {
778
778
  n && n(m);
779
779
  },
780
780
  [n]
781
- ), h = oe(
781
+ ), h = ae(
782
782
  (m, x) => {
783
783
  (m.key === "Enter" || m.key === " ") && (m.preventDefault(), g(x));
784
784
  },
785
785
  [g]
786
- ), b = Te(s, "MMMM", { locale: be }), v = Te(s, "yyyy", { locale: be }), p = `${kt(b)} ${v}`;
787
- return /* @__PURE__ */ i.jsxs(
786
+ ), b = Te(a, "MMMM", { locale: be }), v = Te(a, "yyyy", { locale: be }), p = `${vt(b)} ${v}`;
787
+ return /* @__PURE__ */ r.jsxs(
788
788
  "div",
789
789
  {
790
- className: ne.calendarContainer,
791
- "data-color": r,
792
- "data-size": a,
790
+ className: se.calendarContainer,
791
+ "data-color": s,
792
+ "data-size": i,
793
793
  children: [
794
- /* @__PURE__ */ i.jsxs("div", { className: ne.calendarHeader, children: [
795
- /* @__PURE__ */ i.jsx("span", { className: ne.monthYear, children: p }),
796
- /* @__PURE__ */ i.jsxs("div", { className: ne.navigationButtons, children: [
797
- /* @__PURE__ */ i.jsx(
798
- Ue,
794
+ /* @__PURE__ */ r.jsxs("div", { className: se.calendarHeader, children: [
795
+ /* @__PURE__ */ r.jsx("span", { className: se.monthYear, children: p }),
796
+ /* @__PURE__ */ r.jsxs("div", { className: se.navigationButtons, children: [
797
+ /* @__PURE__ */ r.jsx(
798
+ qe,
799
799
  {
800
800
  variant: "tertiary",
801
801
  icon: !0,
802
802
  onClick: f,
803
803
  "aria-label": "Forrige måned",
804
804
  disabled: l,
805
- children: /* @__PURE__ */ i.jsx(Ft, {})
805
+ children: /* @__PURE__ */ r.jsx(_t, {})
806
806
  }
807
807
  ),
808
- /* @__PURE__ */ i.jsx(
809
- Ue,
808
+ /* @__PURE__ */ r.jsx(
809
+ qe,
810
810
  {
811
811
  variant: "tertiary",
812
812
  icon: !0,
813
813
  onClick: k,
814
814
  "aria-label": "Neste måned",
815
- children: /* @__PURE__ */ i.jsx(_t, {})
815
+ children: /* @__PURE__ */ r.jsx(Et, {})
816
816
  }
817
817
  )
818
818
  ] })
819
819
  ] }),
820
- /* @__PURE__ */ i.jsx("div", { className: ne.grid, children: y.map((m) => /* @__PURE__ */ i.jsx("div", { className: ne.dayNameCell, children: m }, m)) }),
821
- /* @__PURE__ */ i.jsx("div", { className: ne.grid, children: u.map((m) => {
822
- const x = ut(m, s), F = t && We(t) && Kn(m, t), _ = Yn(m), A = [
823
- ne.dateCell,
824
- x ? "" : ne.otherMonth,
825
- F ? ne.selectedDate : "",
820
+ /* @__PURE__ */ r.jsx("div", { className: se.grid, children: y.map((m) => /* @__PURE__ */ r.jsx("div", { className: se.dayNameCell, children: m }, m)) }),
821
+ /* @__PURE__ */ r.jsx("div", { className: se.grid, children: u.map((m) => {
822
+ const x = mt(m, a), _ = e && Ve(e) && Yn(m, e), F = Jn(m), E = [
823
+ se.dateCell,
824
+ x ? "" : se.otherMonth,
825
+ _ ? se.selectedDate : "",
826
826
  // Utheving basert på prop
827
- _ && !F ? ne.todayDate : ""
827
+ F && !_ ? se.todayDate : ""
828
828
  ].filter(Boolean).join(" ");
829
- return /* @__PURE__ */ i.jsx(
829
+ return /* @__PURE__ */ r.jsx(
830
830
  "div",
831
831
  {
832
- className: A,
832
+ className: E,
833
833
  onClick: () => g(m),
834
- onKeyDown: (w) => h(w, m),
834
+ onKeyDown: (j) => h(j, m),
835
835
  role: "button",
836
836
  tabIndex: 0,
837
- "aria-pressed": F ?? !1,
837
+ "aria-pressed": _ ?? !1,
838
838
  "aria-label": Te(m, "PPP", { locale: be }),
839
- children: /* @__PURE__ */ i.jsx("span", { className: ne.dateNumberContainer, children: Te(m, "d") })
839
+ children: /* @__PURE__ */ r.jsx("span", { className: se.dateNumberContainer, children: Te(m, "d") })
840
840
  },
841
841
  m.toISOString()
842
842
  );
@@ -854,27 +854,27 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
854
854
  inputWrapperError: rr,
855
855
  suffixButton: sr,
856
856
  suffixButtonInteractive: ar
857
- }, bt = (e) => {
858
- const t = e.slice(0, 2), n = e.slice(2, 4), r = e.slice(4, 8);
859
- return e.length > 4 ? `${t}.${n}.${r}` : e.length > 2 ? `${t}.${n}` : e.length > 0 ? t : "";
860
- }, vt = (e) => (e || "").replace(/\D/g, ""), yt = (e) => {
861
- let t = e;
862
- if (t.length >= 2) {
863
- const n = parseInt(t.substring(0, 2), 10);
864
- !isNaN(n) && n > 31 && (t = "31" + t.substring(2));
865
- }
866
- if (t.length >= 4) {
867
- const n = parseInt(t.substring(2, 4), 10);
868
- !isNaN(n) && n > 12 && (t = t.substring(0, 2) + "12" + t.substring(4));
869
- }
870
- return t.slice(0, 8);
857
+ }, yt = (t) => {
858
+ const e = t.slice(0, 2), n = t.slice(2, 4), s = t.slice(4, 8);
859
+ return t.length > 4 ? `${e}.${n}.${s}` : t.length > 2 ? `${e}.${n}` : t.length > 0 ? e : "";
860
+ }, xt = (t) => (t || "").replace(/\D/g, ""), Tt = (t) => {
861
+ let e = t;
862
+ if (e.length >= 2) {
863
+ const n = parseInt(e.substring(0, 2), 10);
864
+ !isNaN(n) && n > 31 && (e = "31" + e.substring(2));
865
+ }
866
+ if (e.length >= 4) {
867
+ const n = parseInt(e.substring(2, 4), 10);
868
+ !isNaN(n) && n > 12 && (e = e.substring(0, 2) + "12" + e.substring(4));
869
+ }
870
+ return e.slice(0, 8);
871
871
  }, ir = ue(
872
- (e, t) => {
872
+ (t, e) => {
873
873
  const {
874
874
  label: n,
875
- suffixIcon: r,
876
- onSuffixClick: a,
877
- className: s,
875
+ suffixIcon: s,
876
+ onSuffixClick: i,
877
+ className: a,
878
878
  // For ytre fieldset
879
879
  inputWrapperClassName: o,
880
880
  // For input wrapper div
@@ -894,86 +894,86 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
894
894
  // Send ekstern onFocus videre
895
895
  onBlur: x,
896
896
  // Send ekstern onBlur videre
897
- autoComplete: F = "off",
898
- "aria-label": _,
899
- "aria-labelledby": A,
900
- description: w,
901
- error: D,
897
+ autoComplete: _ = "off",
898
+ "aria-label": F,
899
+ "aria-labelledby": E,
900
+ description: j,
901
+ error: L,
902
902
  // Bruk error-prop for styling
903
- "data-color": L,
903
+ "data-color": B,
904
904
  // <-- Destrukturering
905
- "data-size": z,
905
+ "data-size": $,
906
906
  // <-- Destrukturering
907
- ...B
908
- } = e, O = l !== void 0, P = qe(null);
909
- jt.useImperativeHandle(
910
- t,
911
- () => P.current
907
+ ...N
908
+ } = t, H = l !== void 0, M = Ke(null);
909
+ Dt.useImperativeHandle(
910
+ e,
911
+ () => M.current
912
912
  );
913
- const R = oe(
914
- (G) => {
915
- const N = vt(G), H = yt(N);
916
- return bt(H);
913
+ const R = ae(
914
+ (I) => {
915
+ const C = xt(I), W = Tt(C);
916
+ return yt(W);
917
917
  },
918
918
  []
919
- ), [j, Q] = re(
919
+ ), [D, U] = oe(
920
920
  () => R(l ?? u)
921
921
  );
922
- se(() => {
923
- if (O) {
924
- const G = R(l);
925
- G !== j && (Q(G), P.current && P.current.value !== G && (P.current.value = G));
922
+ te(() => {
923
+ if (H) {
924
+ const I = R(l);
925
+ I !== D && (U(I), M.current && M.current.value !== I && (M.current.value = I));
926
926
  }
927
- }, [l, O, j, R]);
928
- const K = oe(
929
- (G) => {
930
- const N = G.target, H = N.value, ee = j, Z = vt(H).slice(0, 8), $ = yt(Z), T = bt($);
931
- let M = 0;
932
- const W = $.length;
933
- W <= 2 ? M = W : W <= 4 ? M = W + 1 : M = W + 2, M = Math.min(M, T.length), requestAnimationFrame(() => {
934
- if (P.current && (Q(T), P.current.value = T, P.current.setSelectionRange(M, M), (T !== ee || O) && y)) {
935
- const U = {
936
- ...G,
937
- target: { ...N, value: T }
927
+ }, [l, H, D, R]);
928
+ const ne = ae(
929
+ (I) => {
930
+ const C = I.target, W = C.value, J = D, X = xt(W).slice(0, 8), V = Tt(X), w = yt(V);
931
+ let O = 0;
932
+ const G = V.length;
933
+ G <= 2 ? O = G : G <= 4 ? O = G + 1 : O = G + 2, O = Math.min(O, w.length), requestAnimationFrame(() => {
934
+ if (M.current && (U(w), M.current.value = w, M.current.setSelectionRange(O, O), (w !== J || H) && y)) {
935
+ const Z = {
936
+ ...I,
937
+ target: { ...C, value: w }
938
938
  };
939
- y(U, T);
939
+ y(Z, w);
940
940
  }
941
941
  });
942
942
  },
943
- [j, O, y, R]
944
- ), Y = [pe.fieldset, s].filter(Boolean).join(" "), J = [
943
+ [D, H, y, R]
944
+ ), Y = [pe.fieldset, a].filter(Boolean).join(" "), q = [
945
945
  pe.inputWrapper,
946
946
  o,
947
- D ? pe.inputWrapperError : ""
948
- ].filter(Boolean).join(" "), te = [
947
+ L ? pe.inputWrapperError : ""
948
+ ].filter(Boolean).join(" "), re = [
949
949
  d
950
950
  ].filter(Boolean).join(" "), c = [
951
951
  pe.suffixButton,
952
- a ? pe.suffixButtonInteractive : ""
952
+ i ? pe.suffixButtonInteractive : ""
953
953
  ].filter(Boolean).join(" ");
954
- !n && !_ && !A && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
955
- const I = n && typeof n == "string" ? A || `${g}-label` : void 0, S = w ? `${g}-desc` : void 0, E = D ? `${g}-err` : void 0, q = [S, E].filter(Boolean).join(" ") || void 0;
954
+ !n && !F && !E && console.warn("Advarsel: DateInput-komponenten bør ha label, aria-label, eller aria-labelledby for tilgjengelighet.");
955
+ const A = n && typeof n == "string" ? E || `${g}-label` : void 0, P = j ? `${g}-desc` : void 0, z = L ? `${g}-err` : void 0, S = [P, z].filter(Boolean).join(" ") || void 0;
956
956
  return (
957
957
  // --- Bruk data-color og data-size på den ytre wrapperen ---
958
- /* @__PURE__ */ i.jsxs(
958
+ /* @__PURE__ */ r.jsxs(
959
959
  "div",
960
960
  {
961
961
  className: Y,
962
- "data-color": L,
963
- "data-size": z,
962
+ "data-color": B,
963
+ "data-size": $,
964
964
  children: [
965
- n && typeof n == "string" ? /* @__PURE__ */ i.jsx("label", { id: I, htmlFor: g, children: n }) : n,
966
- w && /* @__PURE__ */ i.jsx("p", { id: S, className: pe.description, children: w }),
967
- /* @__PURE__ */ i.jsxs("div", { className: J, children: [
968
- /* @__PURE__ */ i.jsx(
965
+ n && typeof n == "string" ? /* @__PURE__ */ r.jsx("label", { id: A, htmlFor: g, children: n }) : n,
966
+ j && /* @__PURE__ */ r.jsx("p", { id: P, className: pe.description, children: j }),
967
+ /* @__PURE__ */ r.jsxs("div", { className: q, children: [
968
+ /* @__PURE__ */ r.jsx(
969
969
  "input",
970
970
  {
971
- ref: P,
971
+ ref: M,
972
972
  type: "text",
973
973
  inputMode: "numeric",
974
974
  pattern: "\\d{2}\\.\\d{2}\\.\\d{4}",
975
975
  maxLength: 10,
976
- value: j,
976
+ value: D,
977
977
  readOnly: f,
978
978
  placeholder: k,
979
979
  id: g,
@@ -981,33 +981,33 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
981
981
  required: b,
982
982
  disabled: v,
983
983
  onClick: p,
984
- onChange: K,
984
+ onChange: ne,
985
985
  onFocus: m,
986
986
  onBlur: x,
987
- autoComplete: F,
988
- "aria-label": _,
989
- "aria-labelledby": I,
990
- "aria-describedby": q,
991
- "aria-invalid": !!D,
992
- className: te,
993
- ...B
987
+ autoComplete: _,
988
+ "aria-label": F,
989
+ "aria-labelledby": A,
990
+ "aria-describedby": S,
991
+ "aria-invalid": !!L,
992
+ className: re,
993
+ ...N
994
994
  }
995
995
  ),
996
- r && /* @__PURE__ */ i.jsx(
996
+ s && /* @__PURE__ */ r.jsx(
997
997
  "button",
998
998
  {
999
999
  type: "button",
1000
1000
  className: c,
1001
- onClick: v ? void 0 : a,
1002
- tabIndex: a && !v ? 0 : -1,
1003
- "aria-hidden": !a,
1001
+ onClick: v ? void 0 : i,
1002
+ tabIndex: i && !v ? 0 : -1,
1003
+ "aria-hidden": !i,
1004
1004
  disabled: v,
1005
- "aria-label": a ? "Åpne datovelger" : void 0,
1006
- children: r
1005
+ "aria-label": i ? "Åpne datovelger" : void 0,
1006
+ children: s
1007
1007
  }
1008
1008
  )
1009
1009
  ] }),
1010
- D && /* @__PURE__ */ i.jsx("p", { id: E, className: pe.error, role: "alert", children: D })
1010
+ L && /* @__PURE__ */ r.jsx("p", { id: z, className: pe.error, role: "alert", children: L })
1011
1011
  ]
1012
1012
  }
1013
1013
  )
@@ -1015,161 +1015,161 @@ const er = "_fieldset_16fx7_2", tr = "_description_16fx7_14", nr = "_error_16fx7
1015
1015
  }
1016
1016
  );
1017
1017
  ir.displayName = "DateInput";
1018
- function lr(e) {
1019
- return Object.prototype.toString.call(e) === "[object Object]";
1018
+ function lr(t) {
1019
+ return Object.prototype.toString.call(t) === "[object Object]";
1020
1020
  }
1021
- function xt(e) {
1022
- return lr(e) || Array.isArray(e);
1021
+ function St(t) {
1022
+ return lr(t) || Array.isArray(t);
1023
1023
  }
1024
1024
  function dr() {
1025
1025
  return !!(typeof window < "u" && window.document && window.document.createElement);
1026
1026
  }
1027
- function Ze(e, t) {
1028
- const n = Object.keys(e), r = Object.keys(t);
1029
- if (n.length !== r.length) return !1;
1030
- const a = JSON.stringify(Object.keys(e.breakpoints || {})), s = JSON.stringify(Object.keys(t.breakpoints || {}));
1031
- return a !== s ? !1 : n.every((o) => {
1032
- const d = e[o], l = t[o];
1033
- return typeof d == "function" ? `${d}` == `${l}` : !xt(d) || !xt(l) ? d === l : Ze(d, l);
1027
+ function Xe(t, e) {
1028
+ const n = Object.keys(t), s = Object.keys(e);
1029
+ if (n.length !== s.length) return !1;
1030
+ const i = JSON.stringify(Object.keys(t.breakpoints || {})), a = JSON.stringify(Object.keys(e.breakpoints || {}));
1031
+ return i !== a ? !1 : n.every((o) => {
1032
+ const d = t[o], l = e[o];
1033
+ return typeof d == "function" ? `${d}` == `${l}` : !St(d) || !St(l) ? d === l : Xe(d, l);
1034
1034
  });
1035
1035
  }
1036
- function Tt(e) {
1037
- return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
1036
+ function wt(t) {
1037
+ return t.concat().sort((e, n) => e.name > n.name ? 1 : -1).map((e) => e.options);
1038
1038
  }
1039
- function cr(e, t) {
1040
- if (e.length !== t.length) return !1;
1041
- const n = Tt(e), r = Tt(t);
1042
- return n.every((a, s) => {
1043
- const o = r[s];
1044
- return Ze(a, o);
1039
+ function cr(t, e) {
1040
+ if (t.length !== e.length) return !1;
1041
+ const n = wt(t), s = wt(e);
1042
+ return n.every((i, a) => {
1043
+ const o = s[a];
1044
+ return Xe(i, o);
1045
1045
  });
1046
1046
  }
1047
- function Xe(e) {
1048
- return typeof e == "number";
1047
+ function Qe(t) {
1048
+ return typeof t == "number";
1049
1049
  }
1050
- function Ke(e) {
1051
- return typeof e == "string";
1050
+ function Ye(t) {
1051
+ return typeof t == "string";
1052
1052
  }
1053
- function Re(e) {
1054
- return typeof e == "boolean";
1053
+ function Re(t) {
1054
+ return typeof t == "boolean";
1055
1055
  }
1056
- function St(e) {
1057
- return Object.prototype.toString.call(e) === "[object Object]";
1056
+ function Ct(t) {
1057
+ return Object.prototype.toString.call(t) === "[object Object]";
1058
1058
  }
1059
- function V(e) {
1060
- return Math.abs(e);
1059
+ function K(t) {
1060
+ return Math.abs(t);
1061
1061
  }
1062
- function Qe(e) {
1063
- return Math.sign(e);
1062
+ function et(t) {
1063
+ return Math.sign(t);
1064
1064
  }
1065
- function Ie(e, t) {
1066
- return V(e - t);
1065
+ function Ie(t, e) {
1066
+ return K(t - e);
1067
1067
  }
1068
- function ur(e, t) {
1069
- if (e === 0 || t === 0 || V(e) <= V(t)) return 0;
1070
- const n = Ie(V(e), V(t));
1071
- return V(n / e);
1068
+ function ur(t, e) {
1069
+ if (t === 0 || e === 0 || K(t) <= K(e)) return 0;
1070
+ const n = Ie(K(t), K(e));
1071
+ return K(n / t);
1072
1072
  }
1073
- function mr(e) {
1074
- return Math.round(e * 100) / 100;
1073
+ function mr(t) {
1074
+ return Math.round(t * 100) / 100;
1075
1075
  }
1076
- function Ae(e) {
1077
- return Le(e).map(Number);
1076
+ function Le(t) {
1077
+ return Ae(t).map(Number);
1078
1078
  }
1079
- function ae(e) {
1080
- return e[_e(e)];
1079
+ function ie(t) {
1080
+ return t[_e(t)];
1081
1081
  }
1082
- function _e(e) {
1083
- return Math.max(0, e.length - 1);
1082
+ function _e(t) {
1083
+ return Math.max(0, t.length - 1);
1084
1084
  }
1085
- function et(e, t) {
1086
- return t === _e(e);
1085
+ function tt(t, e) {
1086
+ return e === _e(t);
1087
1087
  }
1088
- function wt(e, t = 0) {
1089
- return Array.from(Array(e), (n, r) => t + r);
1088
+ function jt(t, e = 0) {
1089
+ return Array.from(Array(t), (n, s) => e + s);
1090
1090
  }
1091
- function Le(e) {
1092
- return Object.keys(e);
1091
+ function Ae(t) {
1092
+ return Object.keys(t);
1093
1093
  }
1094
- function Et(e, t) {
1095
- return [e, t].reduce((n, r) => (Le(r).forEach((a) => {
1096
- const s = n[a], o = r[a], d = St(s) && St(o);
1097
- n[a] = d ? Et(s, o) : o;
1094
+ function Bt(t, e) {
1095
+ return [t, e].reduce((n, s) => (Ae(s).forEach((i) => {
1096
+ const a = n[i], o = s[i], d = Ct(a) && Ct(o);
1097
+ n[i] = d ? Bt(a, o) : o;
1098
1098
  }), n), {});
1099
1099
  }
1100
- function Ye(e, t) {
1101
- return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
1100
+ function Je(t, e) {
1101
+ return typeof e.MouseEvent < "u" && t instanceof e.MouseEvent;
1102
1102
  }
1103
- function gr(e, t) {
1103
+ function gr(t, e) {
1104
1104
  const n = {
1105
- start: r,
1106
- center: a,
1107
- end: s
1105
+ start: s,
1106
+ center: i,
1107
+ end: a
1108
1108
  };
1109
- function r() {
1109
+ function s() {
1110
1110
  return 0;
1111
1111
  }
1112
- function a(l) {
1113
- return s(l) / 2;
1112
+ function i(l) {
1113
+ return a(l) / 2;
1114
1114
  }
1115
- function s(l) {
1116
- return t - l;
1115
+ function a(l) {
1116
+ return e - l;
1117
1117
  }
1118
1118
  function o(l, u) {
1119
- return Ke(e) ? n[e](l) : e(t, l, u);
1119
+ return Ye(t) ? n[t](l) : t(e, l, u);
1120
1120
  }
1121
1121
  return {
1122
1122
  measure: o
1123
1123
  };
1124
1124
  }
1125
1125
  function Fe() {
1126
- let e = [];
1127
- function t(a, s, o, d = {
1126
+ let t = [];
1127
+ function e(i, a, o, d = {
1128
1128
  passive: !0
1129
1129
  }) {
1130
1130
  let l;
1131
- if ("addEventListener" in a)
1132
- a.addEventListener(s, o, d), l = () => a.removeEventListener(s, o, d);
1131
+ if ("addEventListener" in i)
1132
+ i.addEventListener(a, o, d), l = () => i.removeEventListener(a, o, d);
1133
1133
  else {
1134
- const u = a;
1134
+ const u = i;
1135
1135
  u.addListener(o), l = () => u.removeListener(o);
1136
1136
  }
1137
- return e.push(l), r;
1137
+ return t.push(l), s;
1138
1138
  }
1139
1139
  function n() {
1140
- e = e.filter((a) => a());
1140
+ t = t.filter((i) => i());
1141
1141
  }
1142
- const r = {
1143
- add: t,
1142
+ const s = {
1143
+ add: e,
1144
1144
  clear: n
1145
1145
  };
1146
- return r;
1146
+ return s;
1147
1147
  }
1148
- function pr(e, t, n, r) {
1149
- const a = Fe(), s = 1e3 / 60;
1148
+ function pr(t, e, n, s) {
1149
+ const i = Fe(), a = 1e3 / 60;
1150
1150
  let o = null, d = 0, l = 0;
1151
1151
  function u() {
1152
- a.add(e, "visibilitychange", () => {
1153
- e.hidden && h();
1152
+ i.add(t, "visibilitychange", () => {
1153
+ t.hidden && h();
1154
1154
  });
1155
1155
  }
1156
1156
  function y() {
1157
- g(), a.clear();
1157
+ g(), i.clear();
1158
1158
  }
1159
1159
  function f(v) {
1160
1160
  if (!l) return;
1161
1161
  o || (o = v, n(), n());
1162
1162
  const p = v - o;
1163
- for (o = v, d += p; d >= s; )
1164
- n(), d -= s;
1165
- const m = d / s;
1166
- r(m), l && (l = t.requestAnimationFrame(f));
1163
+ for (o = v, d += p; d >= a; )
1164
+ n(), d -= a;
1165
+ const m = d / a;
1166
+ s(m), l && (l = e.requestAnimationFrame(f));
1167
1167
  }
1168
1168
  function k() {
1169
- l || (l = t.requestAnimationFrame(f));
1169
+ l || (l = e.requestAnimationFrame(f));
1170
1170
  }
1171
1171
  function g() {
1172
- t.cancelAnimationFrame(l), o = null, d = 0, l = 0;
1172
+ e.cancelAnimationFrame(l), o = null, d = 0, l = 0;
1173
1173
  }
1174
1174
  function h() {
1175
1175
  o = null, d = 0;
@@ -1180,83 +1180,83 @@ function pr(e, t, n, r) {
1180
1180
  start: k,
1181
1181
  stop: g,
1182
1182
  update: n,
1183
- render: r
1183
+ render: s
1184
1184
  };
1185
1185
  }
1186
- function fr(e, t) {
1187
- const n = t === "rtl", r = e === "y", a = r ? "y" : "x", s = r ? "x" : "y", o = !r && n ? -1 : 1, d = y(), l = f();
1186
+ function fr(t, e) {
1187
+ const n = e === "rtl", s = t === "y", i = s ? "y" : "x", a = s ? "x" : "y", o = !s && n ? -1 : 1, d = y(), l = f();
1188
1188
  function u(h) {
1189
1189
  const {
1190
1190
  height: b,
1191
1191
  width: v
1192
1192
  } = h;
1193
- return r ? b : v;
1193
+ return s ? b : v;
1194
1194
  }
1195
1195
  function y() {
1196
- return r ? "top" : n ? "right" : "left";
1196
+ return s ? "top" : n ? "right" : "left";
1197
1197
  }
1198
1198
  function f() {
1199
- return r ? "bottom" : n ? "left" : "right";
1199
+ return s ? "bottom" : n ? "left" : "right";
1200
1200
  }
1201
1201
  function k(h) {
1202
1202
  return h * o;
1203
1203
  }
1204
1204
  return {
1205
- scroll: a,
1206
- cross: s,
1205
+ scroll: i,
1206
+ cross: a,
1207
1207
  startEdge: d,
1208
1208
  endEdge: l,
1209
1209
  measureSize: u,
1210
1210
  direction: k
1211
1211
  };
1212
1212
  }
1213
- function fe(e = 0, t = 0) {
1214
- const n = V(e - t);
1215
- function r(u) {
1216
- return u < e;
1213
+ function fe(t = 0, e = 0) {
1214
+ const n = K(t - e);
1215
+ function s(u) {
1216
+ return u < t;
1217
1217
  }
1218
- function a(u) {
1219
- return u > t;
1218
+ function i(u) {
1219
+ return u > e;
1220
1220
  }
1221
- function s(u) {
1222
- return r(u) || a(u);
1221
+ function a(u) {
1222
+ return s(u) || i(u);
1223
1223
  }
1224
1224
  function o(u) {
1225
- return s(u) ? r(u) ? e : t : u;
1225
+ return a(u) ? s(u) ? t : e : u;
1226
1226
  }
1227
1227
  function d(u) {
1228
- return n ? u - n * Math.ceil((u - t) / n) : u;
1228
+ return n ? u - n * Math.ceil((u - e) / n) : u;
1229
1229
  }
1230
1230
  return {
1231
1231
  length: n,
1232
- max: t,
1233
- min: e,
1232
+ max: e,
1233
+ min: t,
1234
1234
  constrain: o,
1235
- reachedAny: s,
1236
- reachedMax: a,
1237
- reachedMin: r,
1235
+ reachedAny: a,
1236
+ reachedMax: i,
1237
+ reachedMin: s,
1238
1238
  removeOffset: d
1239
1239
  };
1240
1240
  }
1241
- function Nt(e, t, n) {
1241
+ function Nt(t, e, n) {
1242
1242
  const {
1243
- constrain: r
1244
- } = fe(0, e), a = e + 1;
1245
- let s = o(t);
1243
+ constrain: s
1244
+ } = fe(0, t), i = t + 1;
1245
+ let a = o(e);
1246
1246
  function o(k) {
1247
- return n ? V((a + k) % a) : r(k);
1247
+ return n ? K((i + k) % i) : s(k);
1248
1248
  }
1249
1249
  function d() {
1250
- return s;
1250
+ return a;
1251
1251
  }
1252
1252
  function l(k) {
1253
- return s = o(k), f;
1253
+ return a = o(k), f;
1254
1254
  }
1255
1255
  function u(k) {
1256
1256
  return y().set(d() + k);
1257
1257
  }
1258
1258
  function y() {
1259
- return Nt(e, d(), n);
1259
+ return Nt(t, d(), n);
1260
1260
  }
1261
1261
  const f = {
1262
1262
  get: d,
@@ -1266,96 +1266,96 @@ function Nt(e, t, n) {
1266
1266
  };
1267
1267
  return f;
1268
1268
  }
1269
- function hr(e, t, n, r, a, s, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1269
+ function hr(t, e, n, s, i, a, o, d, l, u, y, f, k, g, h, b, v, p, m) {
1270
1270
  const {
1271
1271
  cross: x,
1272
- direction: F
1273
- } = e, _ = ["INPUT", "SELECT", "TEXTAREA"], A = {
1272
+ direction: _
1273
+ } = t, F = ["INPUT", "SELECT", "TEXTAREA"], E = {
1274
1274
  passive: !1
1275
- }, w = Fe(), D = Fe(), L = fe(50, 225).constrain(g.measure(20)), z = {
1275
+ }, j = Fe(), L = Fe(), B = fe(50, 225).constrain(g.measure(20)), $ = {
1276
1276
  mouse: 300,
1277
1277
  touch: 400
1278
- }, B = {
1278
+ }, N = {
1279
1279
  mouse: 500,
1280
1280
  touch: 600
1281
- }, O = h ? 43 : 25;
1282
- let P = !1, R = 0, j = 0, Q = !1, K = !1, Y = !1, J = !1;
1283
- function te(T) {
1281
+ }, H = h ? 43 : 25;
1282
+ let M = !1, R = 0, D = 0, U = !1, ne = !1, Y = !1, q = !1;
1283
+ function re(w) {
1284
1284
  if (!m) return;
1285
- function M(U) {
1286
- (Re(m) || m(T, U)) && G(U);
1285
+ function O(Z) {
1286
+ (Re(m) || m(w, Z)) && I(Z);
1287
1287
  }
1288
- const W = t;
1289
- w.add(W, "dragstart", (U) => U.preventDefault(), A).add(W, "touchmove", () => {
1290
- }, A).add(W, "touchend", () => {
1291
- }).add(W, "touchstart", M).add(W, "mousedown", M).add(W, "touchcancel", H).add(W, "contextmenu", H).add(W, "click", ee, !0);
1288
+ const G = e;
1289
+ j.add(G, "dragstart", (Z) => Z.preventDefault(), E).add(G, "touchmove", () => {
1290
+ }, E).add(G, "touchend", () => {
1291
+ }).add(G, "touchstart", O).add(G, "mousedown", O).add(G, "touchcancel", W).add(G, "contextmenu", W).add(G, "click", J, !0);
1292
1292
  }
1293
1293
  function c() {
1294
- w.clear(), D.clear();
1294
+ j.clear(), L.clear();
1295
1295
  }
1296
- function I() {
1297
- const T = J ? n : t;
1298
- D.add(T, "touchmove", N, A).add(T, "touchend", H).add(T, "mousemove", N, A).add(T, "mouseup", H);
1296
+ function A() {
1297
+ const w = q ? n : e;
1298
+ L.add(w, "touchmove", C, E).add(w, "touchend", W).add(w, "mousemove", C, E).add(w, "mouseup", W);
1299
1299
  }
1300
- function S(T) {
1301
- const M = T.nodeName || "";
1302
- return _.includes(M);
1300
+ function P(w) {
1301
+ const O = w.nodeName || "";
1302
+ return F.includes(O);
1303
1303
  }
1304
- function E() {
1305
- return (h ? B : z)[J ? "mouse" : "touch"];
1304
+ function z() {
1305
+ return (h ? N : $)[q ? "mouse" : "touch"];
1306
1306
  }
1307
- function q(T, M) {
1308
- const W = f.add(Qe(T) * -1), U = y.byDistance(T, !h).distance;
1309
- return h || V(T) < L ? U : v && M ? U * 0.5 : y.byIndex(W.get(), 0).distance;
1307
+ function S(w, O) {
1308
+ const G = f.add(et(w) * -1), Z = y.byDistance(w, !h).distance;
1309
+ return h || K(w) < B ? Z : v && O ? Z * 0.5 : y.byIndex(G.get(), 0).distance;
1310
1310
  }
1311
- function G(T) {
1312
- const M = Ye(T, r);
1313
- J = M, Y = h && M && !T.buttons && P, P = Ie(a.get(), o.get()) >= 2, !(M && T.button !== 0) && (S(T.target) || (Q = !0, s.pointerDown(T), u.useFriction(0).useDuration(0), a.set(o), I(), R = s.readPoint(T), j = s.readPoint(T, x), k.emit("pointerDown")));
1311
+ function I(w) {
1312
+ const O = Je(w, s);
1313
+ q = O, Y = h && O && !w.buttons && M, M = Ie(i.get(), o.get()) >= 2, !(O && w.button !== 0) && (P(w.target) || (U = !0, a.pointerDown(w), u.useFriction(0).useDuration(0), i.set(o), A(), R = a.readPoint(w), D = a.readPoint(w, x), k.emit("pointerDown")));
1314
1314
  }
1315
- function N(T) {
1316
- if (!Ye(T, r) && T.touches.length >= 2) return H(T);
1317
- const W = s.readPoint(T), U = s.readPoint(T, x), ie = Ie(W, R), le = Ie(U, j);
1318
- if (!K && !J && (!T.cancelable || (K = ie > le, !K)))
1319
- return H(T);
1320
- const me = s.pointerMove(T);
1321
- ie > b && (Y = !0), u.useFriction(0.3).useDuration(0.75), d.start(), a.add(F(me)), T.preventDefault();
1315
+ function C(w) {
1316
+ if (!Je(w, s) && w.touches.length >= 2) return W(w);
1317
+ const G = a.readPoint(w), Z = a.readPoint(w, x), le = Ie(G, R), de = Ie(Z, D);
1318
+ if (!ne && !q && (!w.cancelable || (ne = le > de, !ne)))
1319
+ return W(w);
1320
+ const me = a.pointerMove(w);
1321
+ le > b && (Y = !0), u.useFriction(0.3).useDuration(0.75), d.start(), i.add(_(me)), w.preventDefault();
1322
1322
  }
1323
- function H(T) {
1324
- const W = y.byDistance(0, !1).index !== f.get(), U = s.pointerUp(T) * E(), ie = q(F(U), W), le = ur(U, ie), me = O - 10 * le, de = p + le / 50;
1325
- K = !1, Q = !1, D.clear(), u.useDuration(me).useFriction(de), l.distance(ie, !h), J = !1, k.emit("pointerUp");
1323
+ function W(w) {
1324
+ const G = y.byDistance(0, !1).index !== f.get(), Z = a.pointerUp(w) * z(), le = S(_(Z), G), de = ur(Z, le), me = H - 10 * de, ce = p + de / 50;
1325
+ ne = !1, U = !1, L.clear(), u.useDuration(me).useFriction(ce), l.distance(le, !h), q = !1, k.emit("pointerUp");
1326
1326
  }
1327
- function ee(T) {
1328
- Y && (T.stopPropagation(), T.preventDefault(), Y = !1);
1327
+ function J(w) {
1328
+ Y && (w.stopPropagation(), w.preventDefault(), Y = !1);
1329
1329
  }
1330
- function Z() {
1331
- return Q;
1330
+ function X() {
1331
+ return U;
1332
1332
  }
1333
1333
  return {
1334
- init: te,
1334
+ init: re,
1335
1335
  destroy: c,
1336
- pointerDown: Z
1336
+ pointerDown: X
1337
1337
  };
1338
1338
  }
1339
- function kr(e, t) {
1340
- let r, a;
1341
- function s(f) {
1339
+ function kr(t, e) {
1340
+ let s, i;
1341
+ function a(f) {
1342
1342
  return f.timeStamp;
1343
1343
  }
1344
1344
  function o(f, k) {
1345
- const h = `client${(k || e.scroll) === "x" ? "X" : "Y"}`;
1346
- return (Ye(f, t) ? f : f.touches[0])[h];
1345
+ const h = `client${(k || t.scroll) === "x" ? "X" : "Y"}`;
1346
+ return (Je(f, e) ? f : f.touches[0])[h];
1347
1347
  }
1348
1348
  function d(f) {
1349
- return r = f, a = f, o(f);
1349
+ return s = f, i = f, o(f);
1350
1350
  }
1351
1351
  function l(f) {
1352
- const k = o(f) - o(a), g = s(f) - s(r) > 170;
1353
- return a = f, g && (r = f), k;
1352
+ const k = o(f) - o(i), g = a(f) - a(s) > 170;
1353
+ return i = f, g && (s = f), k;
1354
1354
  }
1355
1355
  function u(f) {
1356
- if (!r || !a) return 0;
1357
- const k = o(a) - o(r), g = s(f) - s(r), h = s(f) - s(a) > 170, b = k / g;
1358
- return g && !h && V(b) > 0.1 ? b : 0;
1356
+ if (!s || !i) return 0;
1357
+ const k = o(i) - o(s), g = a(f) - a(s), h = a(f) - a(i) > 170, b = k / g;
1358
+ return g && !h && K(b) > 0.1 ? b : 0;
1359
1359
  }
1360
1360
  return {
1361
1361
  pointerDown: d,
@@ -1365,55 +1365,55 @@ function kr(e, t) {
1365
1365
  };
1366
1366
  }
1367
1367
  function br() {
1368
- function e(n) {
1368
+ function t(n) {
1369
1369
  const {
1370
- offsetTop: r,
1371
- offsetLeft: a,
1372
- offsetWidth: s,
1370
+ offsetTop: s,
1371
+ offsetLeft: i,
1372
+ offsetWidth: a,
1373
1373
  offsetHeight: o
1374
1374
  } = n;
1375
1375
  return {
1376
- top: r,
1377
- right: a + s,
1378
- bottom: r + o,
1379
- left: a,
1380
- width: s,
1376
+ top: s,
1377
+ right: i + a,
1378
+ bottom: s + o,
1379
+ left: i,
1380
+ width: a,
1381
1381
  height: o
1382
1382
  };
1383
1383
  }
1384
1384
  return {
1385
- measure: e
1385
+ measure: t
1386
1386
  };
1387
1387
  }
1388
- function vr(e) {
1389
- function t(r) {
1390
- return e * (r / 100);
1388
+ function vr(t) {
1389
+ function e(s) {
1390
+ return t * (s / 100);
1391
1391
  }
1392
1392
  return {
1393
- measure: t
1393
+ measure: e
1394
1394
  };
1395
1395
  }
1396
- function yr(e, t, n, r, a, s, o) {
1397
- const d = [e].concat(r);
1396
+ function yr(t, e, n, s, i, a, o) {
1397
+ const d = [t].concat(s);
1398
1398
  let l, u, y = [], f = !1;
1399
1399
  function k(v) {
1400
- return a.measureSize(o.measure(v));
1400
+ return i.measureSize(o.measure(v));
1401
1401
  }
1402
1402
  function g(v) {
1403
- if (!s) return;
1404
- u = k(e), y = r.map(k);
1403
+ if (!a) return;
1404
+ u = k(t), y = s.map(k);
1405
1405
  function p(m) {
1406
1406
  for (const x of m) {
1407
1407
  if (f) return;
1408
- const F = x.target === e, _ = r.indexOf(x.target), A = F ? u : y[_], w = k(F ? e : r[_]);
1409
- if (V(w - A) >= 0.5) {
1410
- v.reInit(), t.emit("resize");
1408
+ const _ = x.target === t, F = s.indexOf(x.target), E = _ ? u : y[F], j = k(_ ? t : s[F]);
1409
+ if (K(j - E) >= 0.5) {
1410
+ v.reInit(), e.emit("resize");
1411
1411
  break;
1412
1412
  }
1413
1413
  }
1414
1414
  }
1415
1415
  l = new ResizeObserver((m) => {
1416
- (Re(s) || s(v, m)) && p(m);
1416
+ (Re(a) || a(v, m)) && p(m);
1417
1417
  }), n.requestAnimationFrame(() => {
1418
1418
  d.forEach((m) => l.observe(m));
1419
1419
  });
@@ -1426,16 +1426,16 @@ function yr(e, t, n, r, a, s, o) {
1426
1426
  destroy: h
1427
1427
  };
1428
1428
  }
1429
- function xr(e, t, n, r, a, s) {
1430
- let o = 0, d = 0, l = a, u = s, y = e.get(), f = 0;
1429
+ function xr(t, e, n, s, i, a) {
1430
+ let o = 0, d = 0, l = i, u = a, y = t.get(), f = 0;
1431
1431
  function k() {
1432
- const A = r.get() - e.get(), w = !l;
1433
- let D = 0;
1434
- return w ? (o = 0, n.set(r), e.set(r), D = A) : (n.set(e), o += A / l, o *= u, y += o, e.add(o), D = y - f), d = Qe(D), f = y, _;
1432
+ const E = s.get() - t.get(), j = !l;
1433
+ let L = 0;
1434
+ return j ? (o = 0, n.set(s), t.set(s), L = E) : (n.set(t), o += E / l, o *= u, y += o, t.add(o), L = y - f), d = et(L), f = y, F;
1435
1435
  }
1436
1436
  function g() {
1437
- const A = r.get() - t.get();
1438
- return V(A) < 1e-3;
1437
+ const E = s.get() - e.get();
1438
+ return K(E) < 1e-3;
1439
1439
  }
1440
1440
  function h() {
1441
1441
  return l;
@@ -1447,18 +1447,18 @@ function xr(e, t, n, r, a, s) {
1447
1447
  return o;
1448
1448
  }
1449
1449
  function p() {
1450
- return x(a);
1450
+ return x(i);
1451
1451
  }
1452
1452
  function m() {
1453
- return F(s);
1453
+ return _(a);
1454
1454
  }
1455
- function x(A) {
1456
- return l = A, _;
1455
+ function x(E) {
1456
+ return l = E, F;
1457
1457
  }
1458
- function F(A) {
1459
- return u = A, _;
1458
+ function _(E) {
1459
+ return u = E, F;
1460
1460
  }
1461
- const _ = {
1461
+ const F = {
1462
1462
  direction: b,
1463
1463
  duration: h,
1464
1464
  velocity: v,
@@ -1466,21 +1466,21 @@ function xr(e, t, n, r, a, s) {
1466
1466
  settled: g,
1467
1467
  useBaseFriction: m,
1468
1468
  useBaseDuration: p,
1469
- useFriction: F,
1469
+ useFriction: _,
1470
1470
  useDuration: x
1471
1471
  };
1472
- return _;
1472
+ return F;
1473
1473
  }
1474
- function Tr(e, t, n, r, a) {
1475
- const s = a.measure(10), o = a.measure(50), d = fe(0.1, 0.99);
1474
+ function Tr(t, e, n, s, i) {
1475
+ const a = i.measure(10), o = i.measure(50), d = fe(0.1, 0.99);
1476
1476
  let l = !1;
1477
1477
  function u() {
1478
- return !(l || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
1478
+ return !(l || !t.reachedAny(n.get()) || !t.reachedAny(e.get()));
1479
1479
  }
1480
1480
  function y(g) {
1481
1481
  if (!u()) return;
1482
- const h = e.reachedMin(t.get()) ? "min" : "max", b = V(e[h] - t.get()), v = n.get() - t.get(), p = d.constrain(b / o);
1483
- n.subtract(v * p), !g && V(v) < s && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
1482
+ const h = t.reachedMin(e.get()) ? "min" : "max", b = K(t[h] - e.get()), v = n.get() - e.get(), p = d.constrain(b / o);
1483
+ n.subtract(v * p), !g && K(v) < a && (n.set(t.constrain(n.get())), s.useDuration(25).useBaseFriction());
1484
1484
  }
1485
1485
  function f(g) {
1486
1486
  l = !g;
@@ -1491,13 +1491,13 @@ function Tr(e, t, n, r, a) {
1491
1491
  toggleActive: f
1492
1492
  };
1493
1493
  }
1494
- function Sr(e, t, n, r, a) {
1495
- const s = fe(-t + e, 0), o = f(), d = y(), l = k();
1494
+ function Sr(t, e, n, s, i) {
1495
+ const a = fe(-e + t, 0), o = f(), d = y(), l = k();
1496
1496
  function u(h, b) {
1497
1497
  return Ie(h, b) <= 1;
1498
1498
  }
1499
1499
  function y() {
1500
- const h = o[0], b = ae(o), v = o.lastIndexOf(h), p = o.indexOf(b) + 1;
1500
+ const h = o[0], b = ie(o), v = o.lastIndexOf(h), p = o.indexOf(b) + 1;
1501
1501
  return fe(v, p);
1502
1502
  }
1503
1503
  function f() {
@@ -1505,13 +1505,13 @@ function Sr(e, t, n, r, a) {
1505
1505
  const {
1506
1506
  min: v,
1507
1507
  max: p
1508
- } = s, m = s.constrain(h), x = !b, F = et(n, b);
1509
- return x ? p : F || u(v, m) ? v : u(p, m) ? p : m;
1508
+ } = a, m = a.constrain(h), x = !b, _ = tt(n, b);
1509
+ return x ? p : _ || u(v, m) ? v : u(p, m) ? p : m;
1510
1510
  }).map((h) => parseFloat(h.toFixed(3)));
1511
1511
  }
1512
1512
  function k() {
1513
- if (t <= e + a) return [s.max];
1514
- if (r === "keepSnaps") return o;
1513
+ if (e <= t + i) return [a.max];
1514
+ if (s === "keepSnaps") return o;
1515
1515
  const {
1516
1516
  min: h,
1517
1517
  max: b
@@ -1523,54 +1523,54 @@ function Sr(e, t, n, r, a) {
1523
1523
  scrollContainLimit: d
1524
1524
  };
1525
1525
  }
1526
- function wr(e, t, n) {
1527
- const r = t[0], a = n ? r - e : ae(t);
1526
+ function wr(t, e, n) {
1527
+ const s = e[0], i = n ? s - t : ie(e);
1528
1528
  return {
1529
- limit: fe(a, r)
1529
+ limit: fe(i, s)
1530
1530
  };
1531
1531
  }
1532
- function Cr(e, t, n, r) {
1533
- const s = t.min + 0.1, o = t.max + 0.1, {
1532
+ function Cr(t, e, n, s) {
1533
+ const a = e.min + 0.1, o = e.max + 0.1, {
1534
1534
  reachedMin: d,
1535
1535
  reachedMax: l
1536
- } = fe(s, o);
1536
+ } = fe(a, o);
1537
1537
  function u(k) {
1538
1538
  return k === 1 ? l(n.get()) : k === -1 ? d(n.get()) : !1;
1539
1539
  }
1540
1540
  function y(k) {
1541
1541
  if (!u(k)) return;
1542
- const g = e * (k * -1);
1543
- r.forEach((h) => h.add(g));
1542
+ const g = t * (k * -1);
1543
+ s.forEach((h) => h.add(g));
1544
1544
  }
1545
1545
  return {
1546
1546
  loop: y
1547
1547
  };
1548
1548
  }
1549
- function jr(e) {
1549
+ function jr(t) {
1550
1550
  const {
1551
- max: t,
1551
+ max: e,
1552
1552
  length: n
1553
- } = e;
1554
- function r(s) {
1555
- const o = s - t;
1553
+ } = t;
1554
+ function s(a) {
1555
+ const o = a - e;
1556
1556
  return n ? o / -n : 0;
1557
1557
  }
1558
1558
  return {
1559
- get: r
1559
+ get: s
1560
1560
  };
1561
1561
  }
1562
- function Dr(e, t, n, r, a) {
1562
+ function Dr(t, e, n, s, i) {
1563
1563
  const {
1564
- startEdge: s,
1564
+ startEdge: a,
1565
1565
  endEdge: o
1566
- } = e, {
1566
+ } = t, {
1567
1567
  groupSlides: d
1568
- } = a, l = f().map(t.measure), u = k(), y = g();
1568
+ } = i, l = f().map(e.measure), u = k(), y = g();
1569
1569
  function f() {
1570
- return d(r).map((b) => ae(b)[o] - b[0][s]).map(V);
1570
+ return d(s).map((b) => ie(b)[o] - b[0][a]).map(K);
1571
1571
  }
1572
1572
  function k() {
1573
- return r.map((b) => n[s] - b[s]).map((b) => -V(b));
1573
+ return s.map((b) => n[a] - b[a]).map((b) => -K(b));
1574
1574
  }
1575
1575
  function g() {
1576
1576
  return d(u).map((b) => b[0]).map((b, v) => b + l[v]);
@@ -1580,24 +1580,24 @@ function Dr(e, t, n, r, a) {
1580
1580
  snapsAligned: y
1581
1581
  };
1582
1582
  }
1583
- function Ir(e, t, n, r, a, s) {
1583
+ function Ir(t, e, n, s, i, a) {
1584
1584
  const {
1585
1585
  groupSlides: o
1586
- } = a, {
1586
+ } = i, {
1587
1587
  min: d,
1588
1588
  max: l
1589
- } = r, u = y();
1589
+ } = s, u = y();
1590
1590
  function y() {
1591
- const k = o(s), g = !e || t === "keepSnaps";
1592
- return n.length === 1 ? [s] : g ? k : k.slice(d, l).map((h, b, v) => {
1593
- const p = !b, m = et(v, b);
1591
+ const k = o(a), g = !t || e === "keepSnaps";
1592
+ return n.length === 1 ? [a] : g ? k : k.slice(d, l).map((h, b, v) => {
1593
+ const p = !b, m = tt(v, b);
1594
1594
  if (p) {
1595
- const x = ae(v[0]) + 1;
1596
- return wt(x);
1595
+ const x = ie(v[0]) + 1;
1596
+ return jt(x);
1597
1597
  }
1598
1598
  if (m) {
1599
- const x = _e(s) - ae(v)[0] + 1;
1600
- return wt(x, ae(v)[0]);
1599
+ const x = _e(a) - ie(v)[0] + 1;
1600
+ return jt(x, ie(v)[0]);
1601
1601
  }
1602
1602
  return h;
1603
1603
  });
@@ -1606,20 +1606,20 @@ function Ir(e, t, n, r, a, s) {
1606
1606
  slideRegistry: u
1607
1607
  };
1608
1608
  }
1609
- function Ar(e, t, n, r, a) {
1609
+ function Lr(t, e, n, s, i) {
1610
1610
  const {
1611
- reachedAny: s,
1611
+ reachedAny: a,
1612
1612
  removeOffset: o,
1613
1613
  constrain: d
1614
- } = r;
1614
+ } = s;
1615
1615
  function l(h) {
1616
- return h.concat().sort((b, v) => V(b) - V(v))[0];
1616
+ return h.concat().sort((b, v) => K(b) - K(v))[0];
1617
1617
  }
1618
1618
  function u(h) {
1619
- const b = e ? o(h) : d(h), v = t.map((m, x) => ({
1619
+ const b = t ? o(h) : d(h), v = e.map((m, x) => ({
1620
1620
  diff: y(m - b, 0),
1621
1621
  index: x
1622
- })).sort((m, x) => V(m.diff) - V(x.diff)), {
1622
+ })).sort((m, x) => K(m.diff) - K(x.diff)), {
1623
1623
  index: p
1624
1624
  } = v[0];
1625
1625
  return {
@@ -1629,31 +1629,31 @@ function Ar(e, t, n, r, a) {
1629
1629
  }
1630
1630
  function y(h, b) {
1631
1631
  const v = [h, h + n, h - n];
1632
- if (!e) return h;
1632
+ if (!t) return h;
1633
1633
  if (!b) return l(v);
1634
- const p = v.filter((m) => Qe(m) === b);
1635
- return p.length ? l(p) : ae(v) - n;
1634
+ const p = v.filter((m) => et(m) === b);
1635
+ return p.length ? l(p) : ie(v) - n;
1636
1636
  }
1637
1637
  function f(h, b) {
1638
- const v = t[h] - a.get(), p = y(v, b);
1638
+ const v = e[h] - i.get(), p = y(v, b);
1639
1639
  return {
1640
1640
  index: h,
1641
1641
  distance: p
1642
1642
  };
1643
1643
  }
1644
1644
  function k(h, b) {
1645
- const v = a.get() + h, {
1645
+ const v = i.get() + h, {
1646
1646
  index: p,
1647
1647
  distance: m
1648
- } = u(v), x = !e && s(v);
1648
+ } = u(v), x = !t && a(v);
1649
1649
  if (!b || x) return {
1650
1650
  index: p,
1651
1651
  distance: h
1652
1652
  };
1653
- const F = t[p] - m, _ = h + y(F, 0);
1653
+ const _ = e[p] - m, F = h + y(_, 0);
1654
1654
  return {
1655
1655
  index: p,
1656
- distance: _
1656
+ distance: F
1657
1657
  };
1658
1658
  }
1659
1659
  return {
@@ -1662,17 +1662,17 @@ function Ar(e, t, n, r, a) {
1662
1662
  shortcut: y
1663
1663
  };
1664
1664
  }
1665
- function Lr(e, t, n, r, a, s, o) {
1665
+ function Ar(t, e, n, s, i, a, o) {
1666
1666
  function d(f) {
1667
- const k = f.distance, g = f.index !== t.get();
1668
- s.add(k), k && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), g && (n.set(t.get()), t.set(f.index), o.emit("select"));
1667
+ const k = f.distance, g = f.index !== e.get();
1668
+ a.add(k), k && (s.duration() ? t.start() : (t.update(), t.render(1), t.update())), g && (n.set(e.get()), e.set(f.index), o.emit("select"));
1669
1669
  }
1670
1670
  function l(f, k) {
1671
- const g = a.byDistance(f, k);
1671
+ const g = i.byDistance(f, k);
1672
1672
  d(g);
1673
1673
  }
1674
1674
  function u(f, k) {
1675
- const g = t.clone().set(f), h = a.byIndex(g.get(), k);
1675
+ const g = e.clone().set(f), h = i.byIndex(g.get(), k);
1676
1676
  d(h);
1677
1677
  }
1678
1678
  return {
@@ -1680,7 +1680,7 @@ function Lr(e, t, n, r, a, s, o) {
1680
1680
  index: u
1681
1681
  };
1682
1682
  }
1683
- function Fr(e, t, n, r, a, s, o, d) {
1683
+ function Fr(t, e, n, s, i, a, o, d) {
1684
1684
  const l = {
1685
1685
  passive: !0,
1686
1686
  capture: !0
@@ -1690,12 +1690,12 @@ function Fr(e, t, n, r, a, s, o, d) {
1690
1690
  if (!d) return;
1691
1691
  function h(b) {
1692
1692
  if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
1693
- o.emit("slideFocusStart"), e.scrollLeft = 0;
1693
+ o.emit("slideFocusStart"), t.scrollLeft = 0;
1694
1694
  const m = n.findIndex((x) => x.includes(b));
1695
- Xe(m) && (a.useDuration(0), r.index(m, 0), o.emit("slideFocus"));
1695
+ Qe(m) && (i.useDuration(0), s.index(m, 0), o.emit("slideFocus"));
1696
1696
  }
1697
- s.add(document, "keydown", f, !1), t.forEach((b, v) => {
1698
- s.add(b, "focus", (p) => {
1697
+ a.add(document, "keydown", f, !1), e.forEach((b, v) => {
1698
+ a.add(b, "focus", (p) => {
1699
1699
  (Re(d) || d(g, p)) && h(v);
1700
1700
  }, l);
1701
1701
  });
@@ -1707,33 +1707,33 @@ function Fr(e, t, n, r, a, s, o, d) {
1707
1707
  init: y
1708
1708
  };
1709
1709
  }
1710
- function De(e) {
1711
- let t = e;
1710
+ function De(t) {
1711
+ let e = t;
1712
1712
  function n() {
1713
- return t;
1713
+ return e;
1714
1714
  }
1715
- function r(l) {
1716
- t = o(l);
1715
+ function s(l) {
1716
+ e = o(l);
1717
1717
  }
1718
- function a(l) {
1719
- t += o(l);
1718
+ function i(l) {
1719
+ e += o(l);
1720
1720
  }
1721
- function s(l) {
1722
- t -= o(l);
1721
+ function a(l) {
1722
+ e -= o(l);
1723
1723
  }
1724
1724
  function o(l) {
1725
- return Xe(l) ? l : l.get();
1725
+ return Qe(l) ? l : l.get();
1726
1726
  }
1727
1727
  return {
1728
1728
  get: n,
1729
- set: r,
1730
- add: a,
1731
- subtract: s
1729
+ set: s,
1730
+ add: i,
1731
+ subtract: a
1732
1732
  };
1733
1733
  }
1734
- function Bt(e, t) {
1735
- const n = e.scroll === "x" ? o : d, r = t.style;
1736
- let a = null, s = !1;
1734
+ function Pt(t, e) {
1735
+ const n = t.scroll === "x" ? o : d, s = e.style;
1736
+ let i = null, a = !1;
1737
1737
  function o(k) {
1738
1738
  return `translate3d(${k}px,0px,0px)`;
1739
1739
  }
@@ -1741,15 +1741,15 @@ function Bt(e, t) {
1741
1741
  return `translate3d(0px,${k}px,0px)`;
1742
1742
  }
1743
1743
  function l(k) {
1744
- if (s) return;
1745
- const g = mr(e.direction(k));
1746
- g !== a && (r.transform = n(g), a = g);
1744
+ if (a) return;
1745
+ const g = mr(t.direction(k));
1746
+ g !== i && (s.transform = n(g), i = g);
1747
1747
  }
1748
1748
  function u(k) {
1749
- s = !k;
1749
+ a = !k;
1750
1750
  }
1751
1751
  function y() {
1752
- s || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
1752
+ a || (s.transform = "", e.getAttribute("style") || e.removeAttribute("style"));
1753
1753
  }
1754
1754
  return {
1755
1755
  clear: y,
@@ -1757,124 +1757,124 @@ function Bt(e, t) {
1757
1757
  toggleActive: u
1758
1758
  };
1759
1759
  }
1760
- function _r(e, t, n, r, a, s, o, d, l) {
1761
- const y = Ae(a), f = Ae(a).reverse(), k = p().concat(m());
1762
- function g(w, D) {
1763
- return w.reduce((L, z) => L - a[z], D);
1764
- }
1765
- function h(w, D) {
1766
- return w.reduce((L, z) => g(L, D) > 0 ? L.concat([z]) : L, []);
1767
- }
1768
- function b(w) {
1769
- return s.map((D, L) => ({
1770
- start: D - r[L] + 0.5 + w,
1771
- end: D + t - 0.5 + w
1760
+ function _r(t, e, n, s, i, a, o, d, l) {
1761
+ const y = Le(i), f = Le(i).reverse(), k = p().concat(m());
1762
+ function g(j, L) {
1763
+ return j.reduce((B, $) => B - i[$], L);
1764
+ }
1765
+ function h(j, L) {
1766
+ return j.reduce((B, $) => g(B, L) > 0 ? B.concat([$]) : B, []);
1767
+ }
1768
+ function b(j) {
1769
+ return a.map((L, B) => ({
1770
+ start: L - s[B] + 0.5 + j,
1771
+ end: L + e - 0.5 + j
1772
1772
  }));
1773
1773
  }
1774
- function v(w, D, L) {
1775
- const z = b(D);
1776
- return w.map((B) => {
1777
- const O = L ? 0 : -n, P = L ? n : 0, R = L ? "end" : "start", j = z[B][R];
1774
+ function v(j, L, B) {
1775
+ const $ = b(L);
1776
+ return j.map((N) => {
1777
+ const H = B ? 0 : -n, M = B ? n : 0, R = B ? "end" : "start", D = $[N][R];
1778
1778
  return {
1779
- index: B,
1780
- loopPoint: j,
1779
+ index: N,
1780
+ loopPoint: D,
1781
1781
  slideLocation: De(-1),
1782
- translate: Bt(e, l[B]),
1783
- target: () => d.get() > j ? O : P
1782
+ translate: Pt(t, l[N]),
1783
+ target: () => d.get() > D ? H : M
1784
1784
  };
1785
1785
  });
1786
1786
  }
1787
1787
  function p() {
1788
- const w = o[0], D = h(f, w);
1789
- return v(D, n, !1);
1788
+ const j = o[0], L = h(f, j);
1789
+ return v(L, n, !1);
1790
1790
  }
1791
1791
  function m() {
1792
- const w = t - o[0] - 1, D = h(y, w);
1793
- return v(D, -n, !0);
1792
+ const j = e - o[0] - 1, L = h(y, j);
1793
+ return v(L, -n, !0);
1794
1794
  }
1795
1795
  function x() {
1796
1796
  return k.every(({
1797
- index: w
1797
+ index: j
1798
1798
  }) => {
1799
- const D = y.filter((L) => L !== w);
1800
- return g(D, t) <= 0.1;
1799
+ const L = y.filter((B) => B !== j);
1800
+ return g(L, e) <= 0.1;
1801
1801
  });
1802
1802
  }
1803
- function F() {
1804
- k.forEach((w) => {
1803
+ function _() {
1804
+ k.forEach((j) => {
1805
1805
  const {
1806
- target: D,
1807
- translate: L,
1808
- slideLocation: z
1809
- } = w, B = D();
1810
- B !== z.get() && (L.to(B), z.set(B));
1806
+ target: L,
1807
+ translate: B,
1808
+ slideLocation: $
1809
+ } = j, N = L();
1810
+ N !== $.get() && (B.to(N), $.set(N));
1811
1811
  });
1812
1812
  }
1813
- function _() {
1814
- k.forEach((w) => w.translate.clear());
1813
+ function F() {
1814
+ k.forEach((j) => j.translate.clear());
1815
1815
  }
1816
1816
  return {
1817
1817
  canLoop: x,
1818
- clear: _,
1819
- loop: F,
1818
+ clear: F,
1819
+ loop: _,
1820
1820
  loopPoints: k
1821
1821
  };
1822
1822
  }
1823
- function Er(e, t, n) {
1824
- let r, a = !1;
1825
- function s(l) {
1823
+ function Er(t, e, n) {
1824
+ let s, i = !1;
1825
+ function a(l) {
1826
1826
  if (!n) return;
1827
1827
  function u(y) {
1828
1828
  for (const f of y)
1829
1829
  if (f.type === "childList") {
1830
- l.reInit(), t.emit("slidesChanged");
1830
+ l.reInit(), e.emit("slidesChanged");
1831
1831
  break;
1832
1832
  }
1833
1833
  }
1834
- r = new MutationObserver((y) => {
1835
- a || (Re(n) || n(l, y)) && u(y);
1836
- }), r.observe(e, {
1834
+ s = new MutationObserver((y) => {
1835
+ i || (Re(n) || n(l, y)) && u(y);
1836
+ }), s.observe(t, {
1837
1837
  childList: !0
1838
1838
  });
1839
1839
  }
1840
1840
  function o() {
1841
- r && r.disconnect(), a = !0;
1841
+ s && s.disconnect(), i = !0;
1842
1842
  }
1843
1843
  return {
1844
- init: s,
1844
+ init: a,
1845
1845
  destroy: o
1846
1846
  };
1847
1847
  }
1848
- function Nr(e, t, n, r) {
1849
- const a = {};
1850
- let s = null, o = null, d, l = !1;
1848
+ function Br(t, e, n, s) {
1849
+ const i = {};
1850
+ let a = null, o = null, d, l = !1;
1851
1851
  function u() {
1852
1852
  d = new IntersectionObserver((h) => {
1853
1853
  l || (h.forEach((b) => {
1854
- const v = t.indexOf(b.target);
1855
- a[v] = b;
1856
- }), s = null, o = null, n.emit("slidesInView"));
1854
+ const v = e.indexOf(b.target);
1855
+ i[v] = b;
1856
+ }), a = null, o = null, n.emit("slidesInView"));
1857
1857
  }, {
1858
- root: e.parentElement,
1859
- threshold: r
1860
- }), t.forEach((h) => d.observe(h));
1858
+ root: t.parentElement,
1859
+ threshold: s
1860
+ }), e.forEach((h) => d.observe(h));
1861
1861
  }
1862
1862
  function y() {
1863
1863
  d && d.disconnect(), l = !0;
1864
1864
  }
1865
1865
  function f(h) {
1866
- return Le(a).reduce((b, v) => {
1866
+ return Ae(i).reduce((b, v) => {
1867
1867
  const p = parseInt(v), {
1868
1868
  isIntersecting: m
1869
- } = a[p];
1869
+ } = i[p];
1870
1870
  return (h && m || !h && !m) && b.push(p), b;
1871
1871
  }, []);
1872
1872
  }
1873
1873
  function k(h = !0) {
1874
- if (h && s) return s;
1874
+ if (h && a) return a;
1875
1875
  if (!h && o) return o;
1876
1876
  const b = f(h);
1877
- return h && (s = b), h || (o = b), b;
1877
+ return h && (a = b), h || (o = b), b;
1878
1878
  }
1879
1879
  return {
1880
1880
  init: u,
@@ -1882,27 +1882,27 @@ function Nr(e, t, n, r) {
1882
1882
  get: k
1883
1883
  };
1884
1884
  }
1885
- function Br(e, t, n, r, a, s) {
1885
+ function Nr(t, e, n, s, i, a) {
1886
1886
  const {
1887
1887
  measureSize: o,
1888
1888
  startEdge: d,
1889
1889
  endEdge: l
1890
- } = e, u = n[0] && a, y = h(), f = b(), k = n.map(o), g = v();
1890
+ } = t, u = n[0] && i, y = h(), f = b(), k = n.map(o), g = v();
1891
1891
  function h() {
1892
1892
  if (!u) return 0;
1893
1893
  const m = n[0];
1894
- return V(t[d] - m[d]);
1894
+ return K(e[d] - m[d]);
1895
1895
  }
1896
1896
  function b() {
1897
1897
  if (!u) return 0;
1898
- const m = s.getComputedStyle(ae(r));
1898
+ const m = a.getComputedStyle(ie(s));
1899
1899
  return parseFloat(m.getPropertyValue(`margin-${l}`));
1900
1900
  }
1901
1901
  function v() {
1902
- return n.map((m, x, F) => {
1903
- const _ = !x, A = et(F, x);
1904
- return _ ? k[x] + y : A ? k[x] + f : F[x + 1][d] - m[d];
1905
- }).map(V);
1902
+ return n.map((m, x, _) => {
1903
+ const F = !x, E = tt(_, x);
1904
+ return F ? k[x] + y : E ? k[x] + f : _[x + 1][d] - m[d];
1905
+ }).map(K);
1906
1906
  }
1907
1907
  return {
1908
1908
  slideSizes: k,
@@ -1911,22 +1911,22 @@ function Br(e, t, n, r, a, s) {
1911
1911
  endGap: f
1912
1912
  };
1913
1913
  }
1914
- function Pr(e, t, n, r, a, s, o, d, l) {
1914
+ function Pr(t, e, n, s, i, a, o, d, l) {
1915
1915
  const {
1916
1916
  startEdge: u,
1917
1917
  endEdge: y,
1918
1918
  direction: f
1919
- } = e, k = Xe(n);
1919
+ } = t, k = Qe(n);
1920
1920
  function g(p, m) {
1921
- return Ae(p).filter((x) => x % m === 0).map((x) => p.slice(x, x + m));
1921
+ return Le(p).filter((x) => x % m === 0).map((x) => p.slice(x, x + m));
1922
1922
  }
1923
1923
  function h(p) {
1924
- return p.length ? Ae(p).reduce((m, x, F) => {
1925
- const _ = ae(m) || 0, A = _ === 0, w = x === _e(p), D = a[u] - s[_][u], L = a[u] - s[x][y], z = !r && A ? f(o) : 0, B = !r && w ? f(d) : 0, O = V(L - B - (D + z));
1926
- return F && O > t + l && m.push(x), w && m.push(p.length), m;
1927
- }, []).map((m, x, F) => {
1928
- const _ = Math.max(F[x - 1] || 0);
1929
- return p.slice(_, m);
1924
+ return p.length ? Le(p).reduce((m, x, _) => {
1925
+ const F = ie(m) || 0, E = F === 0, j = x === _e(p), L = i[u] - a[F][u], B = i[u] - a[x][y], $ = !s && E ? f(o) : 0, N = !s && j ? f(d) : 0, H = K(B - N - (L + $));
1926
+ return _ && H > e + l && m.push(x), j && m.push(p.length), m;
1927
+ }, []).map((m, x, _) => {
1928
+ const F = Math.max(_[x - 1] || 0);
1929
+ return p.slice(F, m);
1930
1930
  }) : [];
1931
1931
  }
1932
1932
  function b(p) {
@@ -1936,7 +1936,7 @@ function Pr(e, t, n, r, a, s, o, d, l) {
1936
1936
  groupSlides: b
1937
1937
  };
1938
1938
  }
1939
- function Rr(e, t, n, r, a, s, o) {
1939
+ function Mr(t, e, n, s, i, a, o) {
1940
1940
  const {
1941
1941
  align: d,
1942
1942
  axis: l,
@@ -1951,117 +1951,117 @@ function Rr(e, t, n, r, a, s, o) {
1951
1951
  skipSnaps: p,
1952
1952
  containScroll: m,
1953
1953
  watchResize: x,
1954
- watchSlides: F,
1955
- watchDrag: _,
1956
- watchFocus: A
1957
- } = s, w = 2, D = br(), L = D.measure(t), z = n.map(D.measure), B = fr(l, u), O = B.measureSize(L), P = vr(O), R = gr(d, O), j = !f && !!m, Q = f || !!m, {
1958
- slideSizes: K,
1954
+ watchSlides: _,
1955
+ watchDrag: F,
1956
+ watchFocus: E
1957
+ } = a, j = 2, L = br(), B = L.measure(e), $ = n.map(L.measure), N = fr(l, u), H = N.measureSize(B), M = vr(H), R = gr(d, H), D = !f && !!m, U = f || !!m, {
1958
+ slideSizes: ne,
1959
1959
  slideSizesWithGaps: Y,
1960
- startGap: J,
1961
- endGap: te
1962
- } = Br(B, L, z, n, Q, a), c = Pr(B, O, v, f, L, z, J, te, w), {
1963
- snaps: I,
1964
- snapsAligned: S
1965
- } = Dr(B, R, L, z, c), E = -ae(I) + ae(Y), {
1966
- snapsContained: q,
1967
- scrollContainLimit: G
1968
- } = Sr(O, E, S, m, w), N = j ? q : S, {
1969
- limit: H
1970
- } = wr(E, N, f), ee = Nt(_e(N), y, f), Z = ee.clone(), $ = Ae(n), T = ({
1960
+ startGap: q,
1961
+ endGap: re
1962
+ } = Nr(N, B, $, n, U, i), c = Pr(N, H, v, f, B, $, q, re, j), {
1963
+ snaps: A,
1964
+ snapsAligned: P
1965
+ } = Dr(N, R, B, $, c), z = -ie(A) + ie(Y), {
1966
+ snapsContained: S,
1967
+ scrollContainLimit: I
1968
+ } = Sr(H, z, P, m, j), C = D ? S : P, {
1969
+ limit: W
1970
+ } = wr(z, C, f), J = Nt(_e(C), y, f), X = J.clone(), V = Le(n), w = ({
1971
1971
  dragHandler: he,
1972
1972
  scrollBody: He,
1973
- scrollBounds: $e,
1973
+ scrollBounds: We,
1974
1974
  options: {
1975
1975
  loop: Ee
1976
1976
  }
1977
1977
  }) => {
1978
- Ee || $e.constrain(he.pointerDown()), He.seek();
1979
- }, M = ({
1978
+ Ee || We.constrain(he.pointerDown()), He.seek();
1979
+ }, O = ({
1980
1980
  scrollBody: he,
1981
1981
  translate: He,
1982
- location: $e,
1982
+ location: We,
1983
1983
  offsetLocation: Ee,
1984
- previousLocation: zt,
1985
- scrollLooper: Ot,
1984
+ previousLocation: Ot,
1985
+ scrollLooper: $t,
1986
1986
  slideLooper: Ht,
1987
- dragHandler: $t,
1988
- animation: Wt,
1989
- eventHandler: st,
1990
- scrollBounds: Vt,
1987
+ dragHandler: Wt,
1988
+ animation: Vt,
1989
+ eventHandler: at,
1990
+ scrollBounds: Gt,
1991
1991
  options: {
1992
- loop: at
1992
+ loop: it
1993
1993
  }
1994
- }, it) => {
1995
- const lt = he.settled(), Gt = !Vt.shouldConstrain(), dt = at ? lt : lt && Gt, ct = dt && !$t.pointerDown();
1996
- ct && Wt.stop();
1997
- const qt = $e.get() * it + zt.get() * (1 - it);
1998
- Ee.set(qt), at && (Ot.loop(he.direction()), Ht.loop()), He.to(Ee.get()), ct && st.emit("settle"), dt || st.emit("scroll");
1999
- }, W = pr(r, a, () => T(Oe), (he) => M(Oe, he)), U = 0.68, ie = N[ee.get()], le = De(ie), me = De(ie), de = De(ie), ge = De(ie), xe = xr(le, de, me, ge, k, U), Me = Ar(f, N, E, H, ge), ze = Lr(W, ee, Z, xe, Me, ge, o), nt = jr(H), ot = Fe(), Rt = Nr(t, n, o, b), {
2000
- slideRegistry: rt
2001
- } = Ir(j, m, N, G, c, $), Mt = Fr(e, n, rt, ze, xe, ot, o, A), Oe = {
2002
- ownerDocument: r,
2003
- ownerWindow: a,
1994
+ }, lt) => {
1995
+ const dt = he.settled(), Ut = !Gt.shouldConstrain(), ct = it ? dt : dt && Ut, ut = ct && !Wt.pointerDown();
1996
+ ut && Vt.stop();
1997
+ const Kt = We.get() * lt + Ot.get() * (1 - lt);
1998
+ Ee.set(Kt), it && ($t.loop(he.direction()), Ht.loop()), He.to(Ee.get()), ut && at.emit("settle"), ct || at.emit("scroll");
1999
+ }, G = pr(s, i, () => w($e), (he) => O($e, he)), Z = 0.68, le = C[J.get()], de = De(le), me = De(le), ce = De(le), ge = De(le), xe = xr(de, ce, me, ge, k, Z), ze = Lr(f, C, z, W, ge), Oe = Ar(G, J, X, xe, ze, ge, o), ot = jr(W), rt = Fe(), Rt = Br(e, n, o, b), {
2000
+ slideRegistry: st
2001
+ } = Ir(D, m, C, I, c, V), zt = Fr(t, n, st, Oe, xe, rt, o, E), $e = {
2002
+ ownerDocument: s,
2003
+ ownerWindow: i,
2004
2004
  eventHandler: o,
2005
- containerRect: L,
2006
- slideRects: z,
2007
- animation: W,
2008
- axis: B,
2009
- dragHandler: hr(B, e, r, a, ge, kr(B, a), le, W, ze, xe, Me, ee, o, P, g, h, p, U, _),
2010
- eventStore: ot,
2011
- percentOfView: P,
2012
- index: ee,
2013
- indexPrevious: Z,
2014
- limit: H,
2015
- location: le,
2016
- offsetLocation: de,
2005
+ containerRect: B,
2006
+ slideRects: $,
2007
+ animation: G,
2008
+ axis: N,
2009
+ dragHandler: hr(N, t, s, i, ge, kr(N, i), de, G, Oe, xe, ze, J, o, M, g, h, p, Z, F),
2010
+ eventStore: rt,
2011
+ percentOfView: M,
2012
+ index: J,
2013
+ indexPrevious: X,
2014
+ limit: W,
2015
+ location: de,
2016
+ offsetLocation: ce,
2017
2017
  previousLocation: me,
2018
- options: s,
2019
- resizeHandler: yr(t, o, a, n, B, x, D),
2018
+ options: a,
2019
+ resizeHandler: yr(e, o, i, n, N, x, L),
2020
2020
  scrollBody: xe,
2021
- scrollBounds: Tr(H, de, ge, xe, P),
2022
- scrollLooper: Cr(E, H, de, [le, de, me, ge]),
2023
- scrollProgress: nt,
2024
- scrollSnapList: N.map(nt.get),
2025
- scrollSnaps: N,
2026
- scrollTarget: Me,
2027
- scrollTo: ze,
2028
- slideLooper: _r(B, O, E, K, Y, I, N, de, n),
2029
- slideFocus: Mt,
2030
- slidesHandler: Er(t, o, F),
2021
+ scrollBounds: Tr(W, ce, ge, xe, M),
2022
+ scrollLooper: Cr(z, W, ce, [de, ce, me, ge]),
2023
+ scrollProgress: ot,
2024
+ scrollSnapList: C.map(ot.get),
2025
+ scrollSnaps: C,
2026
+ scrollTarget: ze,
2027
+ scrollTo: Oe,
2028
+ slideLooper: _r(N, H, z, ne, Y, A, C, ce, n),
2029
+ slideFocus: zt,
2030
+ slidesHandler: Er(e, o, _),
2031
2031
  slidesInView: Rt,
2032
- slideIndexes: $,
2033
- slideRegistry: rt,
2032
+ slideIndexes: V,
2033
+ slideRegistry: st,
2034
2034
  slidesToScroll: c,
2035
2035
  target: ge,
2036
- translate: Bt(B, t)
2036
+ translate: Pt(N, e)
2037
2037
  };
2038
- return Oe;
2038
+ return $e;
2039
2039
  }
2040
- function Mr() {
2041
- let e = {}, t;
2040
+ function Rr() {
2041
+ let t = {}, e;
2042
2042
  function n(u) {
2043
- t = u;
2043
+ e = u;
2044
2044
  }
2045
- function r(u) {
2046
- return e[u] || [];
2045
+ function s(u) {
2046
+ return t[u] || [];
2047
2047
  }
2048
- function a(u) {
2049
- return r(u).forEach((y) => y(t, u)), l;
2048
+ function i(u) {
2049
+ return s(u).forEach((y) => y(e, u)), l;
2050
2050
  }
2051
- function s(u, y) {
2052
- return e[u] = r(u).concat([y]), l;
2051
+ function a(u, y) {
2052
+ return t[u] = s(u).concat([y]), l;
2053
2053
  }
2054
2054
  function o(u, y) {
2055
- return e[u] = r(u).filter((f) => f !== y), l;
2055
+ return t[u] = s(u).filter((f) => f !== y), l;
2056
2056
  }
2057
2057
  function d() {
2058
- e = {};
2058
+ t = {};
2059
2059
  }
2060
2060
  const l = {
2061
2061
  init: n,
2062
- emit: a,
2062
+ emit: i,
2063
2063
  off: o,
2064
- on: s,
2064
+ on: a,
2065
2065
  clear: d
2066
2066
  };
2067
2067
  return l;
@@ -2088,189 +2088,189 @@ const zr = {
2088
2088
  watchSlides: !0,
2089
2089
  watchFocus: !0
2090
2090
  };
2091
- function Or(e) {
2092
- function t(s, o) {
2093
- return Et(s, o || {});
2091
+ function Or(t) {
2092
+ function e(a, o) {
2093
+ return Bt(a, o || {});
2094
2094
  }
2095
- function n(s) {
2096
- const o = s.breakpoints || {}, d = Le(o).filter((l) => e.matchMedia(l).matches).map((l) => o[l]).reduce((l, u) => t(l, u), {});
2097
- return t(s, d);
2095
+ function n(a) {
2096
+ const o = a.breakpoints || {}, d = Ae(o).filter((l) => t.matchMedia(l).matches).map((l) => o[l]).reduce((l, u) => e(l, u), {});
2097
+ return e(a, d);
2098
2098
  }
2099
- function r(s) {
2100
- return s.map((o) => Le(o.breakpoints || {})).reduce((o, d) => o.concat(d), []).map(e.matchMedia);
2099
+ function s(a) {
2100
+ return a.map((o) => Ae(o.breakpoints || {})).reduce((o, d) => o.concat(d), []).map(t.matchMedia);
2101
2101
  }
2102
2102
  return {
2103
- mergeOptions: t,
2103
+ mergeOptions: e,
2104
2104
  optionsAtMedia: n,
2105
- optionsMediaQueries: r
2105
+ optionsMediaQueries: s
2106
2106
  };
2107
2107
  }
2108
- function Hr(e) {
2109
- let t = [];
2110
- function n(s, o) {
2111
- return t = o.filter(({
2108
+ function $r(t) {
2109
+ let e = [];
2110
+ function n(a, o) {
2111
+ return e = o.filter(({
2112
2112
  options: d
2113
- }) => e.optionsAtMedia(d).active !== !1), t.forEach((d) => d.init(s, e)), o.reduce((d, l) => Object.assign(d, {
2113
+ }) => t.optionsAtMedia(d).active !== !1), e.forEach((d) => d.init(a, t)), o.reduce((d, l) => Object.assign(d, {
2114
2114
  [l.name]: l
2115
2115
  }), {});
2116
2116
  }
2117
- function r() {
2118
- t = t.filter((s) => s.destroy());
2117
+ function s() {
2118
+ e = e.filter((a) => a.destroy());
2119
2119
  }
2120
2120
  return {
2121
2121
  init: n,
2122
- destroy: r
2122
+ destroy: s
2123
2123
  };
2124
2124
  }
2125
- function Pe(e, t, n) {
2126
- const r = e.ownerDocument, a = r.defaultView, s = Or(a), o = Hr(s), d = Fe(), l = Mr(), {
2125
+ function Me(t, e, n) {
2126
+ const s = t.ownerDocument, i = s.defaultView, a = Or(i), o = $r(a), d = Fe(), l = Rr(), {
2127
2127
  mergeOptions: u,
2128
2128
  optionsAtMedia: y,
2129
2129
  optionsMediaQueries: f
2130
- } = s, {
2130
+ } = a, {
2131
2131
  on: k,
2132
2132
  off: g,
2133
2133
  emit: h
2134
- } = l, b = B;
2135
- let v = !1, p, m = u(zr, Pe.globalOptions), x = u(m), F = [], _, A, w;
2136
- function D() {
2134
+ } = l, b = N;
2135
+ let v = !1, p, m = u(zr, Me.globalOptions), x = u(m), _ = [], F, E, j;
2136
+ function L() {
2137
2137
  const {
2138
- container: $,
2139
- slides: T
2138
+ container: V,
2139
+ slides: w
2140
2140
  } = x;
2141
- A = (Ke($) ? e.querySelector($) : $) || e.children[0];
2142
- const W = Ke(T) ? A.querySelectorAll(T) : T;
2143
- w = [].slice.call(W || A.children);
2144
- }
2145
- function L($) {
2146
- const T = Rr(e, A, w, r, a, $, l);
2147
- if ($.loop && !T.slideLooper.canLoop()) {
2148
- const M = Object.assign({}, $, {
2141
+ E = (Ye(V) ? t.querySelector(V) : V) || t.children[0];
2142
+ const G = Ye(w) ? E.querySelectorAll(w) : w;
2143
+ j = [].slice.call(G || E.children);
2144
+ }
2145
+ function B(V) {
2146
+ const w = Mr(t, E, j, s, i, V, l);
2147
+ if (V.loop && !w.slideLooper.canLoop()) {
2148
+ const O = Object.assign({}, V, {
2149
2149
  loop: !1
2150
2150
  });
2151
- return L(M);
2151
+ return B(O);
2152
2152
  }
2153
- return T;
2153
+ return w;
2154
2154
  }
2155
- function z($, T) {
2156
- v || (m = u(m, $), x = y(m), F = T || F, D(), p = L(x), f([m, ...F.map(({
2157
- options: M
2158
- }) => M)]).forEach((M) => d.add(M, "change", B)), x.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(Z), p.eventHandler.init(Z), p.resizeHandler.init(Z), p.slidesHandler.init(Z), p.options.loop && p.slideLooper.loop(), A.offsetParent && w.length && p.dragHandler.init(Z), _ = o.init(Z, F)));
2155
+ function $(V, w) {
2156
+ v || (m = u(m, V), x = y(m), _ = w || _, L(), p = B(x), f([m, ..._.map(({
2157
+ options: O
2158
+ }) => O)]).forEach((O) => d.add(O, "change", N)), x.active && (p.translate.to(p.location.get()), p.animation.init(), p.slidesInView.init(), p.slideFocus.init(X), p.eventHandler.init(X), p.resizeHandler.init(X), p.slidesHandler.init(X), p.options.loop && p.slideLooper.loop(), E.offsetParent && j.length && p.dragHandler.init(X), F = o.init(X, _)));
2159
2159
  }
2160
- function B($, T) {
2161
- const M = c();
2162
- O(), z(u({
2163
- startIndex: M
2164
- }, $), T), l.emit("reInit");
2160
+ function N(V, w) {
2161
+ const O = c();
2162
+ H(), $(u({
2163
+ startIndex: O
2164
+ }, V), w), l.emit("reInit");
2165
2165
  }
2166
- function O() {
2166
+ function H() {
2167
2167
  p.dragHandler.destroy(), p.eventStore.clear(), p.translate.clear(), p.slideLooper.clear(), p.resizeHandler.destroy(), p.slidesHandler.destroy(), p.slidesInView.destroy(), p.animation.destroy(), o.destroy(), d.clear();
2168
2168
  }
2169
- function P() {
2170
- v || (v = !0, d.clear(), O(), l.emit("destroy"), l.clear());
2169
+ function M() {
2170
+ v || (v = !0, d.clear(), H(), l.emit("destroy"), l.clear());
2171
2171
  }
2172
- function R($, T, M) {
2173
- !x.active || v || (p.scrollBody.useBaseFriction().useDuration(T === !0 ? 0 : x.duration), p.scrollTo.index($, M || 0));
2172
+ function R(V, w, O) {
2173
+ !x.active || v || (p.scrollBody.useBaseFriction().useDuration(w === !0 ? 0 : x.duration), p.scrollTo.index(V, O || 0));
2174
2174
  }
2175
- function j($) {
2176
- const T = p.index.add(1).get();
2177
- R(T, $, -1);
2175
+ function D(V) {
2176
+ const w = p.index.add(1).get();
2177
+ R(w, V, -1);
2178
2178
  }
2179
- function Q($) {
2180
- const T = p.index.add(-1).get();
2181
- R(T, $, 1);
2179
+ function U(V) {
2180
+ const w = p.index.add(-1).get();
2181
+ R(w, V, 1);
2182
2182
  }
2183
- function K() {
2183
+ function ne() {
2184
2184
  return p.index.add(1).get() !== c();
2185
2185
  }
2186
2186
  function Y() {
2187
2187
  return p.index.add(-1).get() !== c();
2188
2188
  }
2189
- function J() {
2189
+ function q() {
2190
2190
  return p.scrollSnapList;
2191
2191
  }
2192
- function te() {
2192
+ function re() {
2193
2193
  return p.scrollProgress.get(p.offsetLocation.get());
2194
2194
  }
2195
2195
  function c() {
2196
2196
  return p.index.get();
2197
2197
  }
2198
- function I() {
2198
+ function A() {
2199
2199
  return p.indexPrevious.get();
2200
2200
  }
2201
- function S() {
2201
+ function P() {
2202
2202
  return p.slidesInView.get();
2203
2203
  }
2204
- function E() {
2204
+ function z() {
2205
2205
  return p.slidesInView.get(!1);
2206
2206
  }
2207
- function q() {
2208
- return _;
2207
+ function S() {
2208
+ return F;
2209
2209
  }
2210
- function G() {
2210
+ function I() {
2211
2211
  return p;
2212
2212
  }
2213
- function N() {
2214
- return e;
2213
+ function C() {
2214
+ return t;
2215
2215
  }
2216
- function H() {
2217
- return A;
2216
+ function W() {
2217
+ return E;
2218
2218
  }
2219
- function ee() {
2220
- return w;
2219
+ function J() {
2220
+ return j;
2221
2221
  }
2222
- const Z = {
2223
- canScrollNext: K,
2222
+ const X = {
2223
+ canScrollNext: ne,
2224
2224
  canScrollPrev: Y,
2225
- containerNode: H,
2226
- internalEngine: G,
2227
- destroy: P,
2225
+ containerNode: W,
2226
+ internalEngine: I,
2227
+ destroy: M,
2228
2228
  off: g,
2229
2229
  on: k,
2230
2230
  emit: h,
2231
- plugins: q,
2232
- previousScrollSnap: I,
2231
+ plugins: S,
2232
+ previousScrollSnap: A,
2233
2233
  reInit: b,
2234
- rootNode: N,
2235
- scrollNext: j,
2236
- scrollPrev: Q,
2237
- scrollProgress: te,
2238
- scrollSnapList: J,
2234
+ rootNode: C,
2235
+ scrollNext: D,
2236
+ scrollPrev: U,
2237
+ scrollProgress: re,
2238
+ scrollSnapList: q,
2239
2239
  scrollTo: R,
2240
2240
  selectedScrollSnap: c,
2241
- slideNodes: ee,
2242
- slidesInView: S,
2243
- slidesNotInView: E
2241
+ slideNodes: J,
2242
+ slidesInView: P,
2243
+ slidesNotInView: z
2244
2244
  };
2245
- return z(t, n), setTimeout(() => l.emit("init"), 0), Z;
2245
+ return $(e, n), setTimeout(() => l.emit("init"), 0), X;
2246
2246
  }
2247
- Pe.globalOptions = void 0;
2248
- function tt(e = {}, t = []) {
2249
- const n = qe(e), r = qe(t), [a, s] = re(), [o, d] = re(), l = oe(() => {
2250
- a && a.reInit(n.current, r.current);
2251
- }, [a]);
2252
- return se(() => {
2253
- Ze(n.current, e) || (n.current = e, l());
2254
- }, [e, l]), se(() => {
2255
- cr(r.current, t) || (r.current = t, l());
2256
- }, [t, l]), se(() => {
2247
+ Me.globalOptions = void 0;
2248
+ function nt(t = {}, e = []) {
2249
+ const n = Ke(t), s = Ke(e), [i, a] = oe(), [o, d] = oe(), l = ae(() => {
2250
+ i && i.reInit(n.current, s.current);
2251
+ }, [i]);
2252
+ return te(() => {
2253
+ Xe(n.current, t) || (n.current = t, l());
2254
+ }, [t, l]), te(() => {
2255
+ cr(s.current, e) || (s.current = e, l());
2256
+ }, [e, l]), te(() => {
2257
2257
  if (dr() && o) {
2258
- Pe.globalOptions = tt.globalOptions;
2259
- const u = Pe(o, n.current, r.current);
2260
- return s(u), () => u.destroy();
2258
+ Me.globalOptions = nt.globalOptions;
2259
+ const u = Me(o, n.current, s.current);
2260
+ return a(u), () => u.destroy();
2261
2261
  } else
2262
- s(void 0);
2263
- }, [o, s]), [d, a];
2262
+ a(void 0);
2263
+ }, [o, a]), [d, i];
2264
2264
  }
2265
- tt.globalOptions = void 0;
2266
- const $r = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slides_1bu1s_17", Gr = "_slide_1bu1s_17", qr = "_slideInner_1bu1s_37", Ur = "_loaderOverlay_1bu1s_45", Kr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", X = {
2267
- carouselContainer: $r,
2265
+ nt.globalOptions = void 0;
2266
+ const Hr = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slides_1bu1s_17", Gr = "_slide_1bu1s_17", Ur = "_slideInner_1bu1s_37", Kr = "_loaderOverlay_1bu1s_45", qr = "_image_1bu1s_55", Yr = "_loaded_1bu1s_66", Jr = "_empty_1bu1s_78", Zr = "_controls_1bu1s_84", Xr = "_arrows_1bu1s_94", Qr = "_dots_1bu1s_104", es = "_dot_1bu1s_104", ts = "_dotActive_1bu1s_130", Q = {
2267
+ carouselContainer: Hr,
2268
2268
  viewport: Wr,
2269
2269
  slides: Vr,
2270
2270
  slide: Gr,
2271
- slideInner: qr,
2272
- loaderOverlay: Ur,
2273
- image: Kr,
2271
+ slideInner: Ur,
2272
+ loaderOverlay: Kr,
2273
+ image: qr,
2274
2274
  loaded: Yr,
2275
2275
  empty: Jr,
2276
2276
  controls: Zr,
@@ -2278,13 +2278,13 @@ const $r = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2278
2278
  dots: Qr,
2279
2279
  dot: es,
2280
2280
  dotActive: ts
2281
- }, ns = dn, os = ({
2282
- images: e,
2283
- autoPlay: t = !1,
2281
+ }, ns = cn, os = ({
2282
+ images: t,
2283
+ autoPlay: e = !1,
2284
2284
  autoDelay: n = 5,
2285
- showArrows: r = !0,
2286
- showDots: a = !0,
2287
- variant: s,
2285
+ showArrows: s = !0,
2286
+ showDots: i = !0,
2287
+ variant: a,
2288
2288
  slidesPerView: o = 1,
2289
2289
  slideSpacing: d = 16,
2290
2290
  cornerRadius: l = 0,
@@ -2296,120 +2296,120 @@ const $r = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2296
2296
  align: "start",
2297
2297
  containScroll: "trimSnaps",
2298
2298
  slidesToScroll: 1
2299
- }, [k, g] = tt(f), [h, b] = re(0), [v, p] = re([]), [m, x] = re([]);
2300
- se(() => {
2301
- x(new Array((e == null ? void 0 : e.length) || 0).fill(!1));
2302
- }, [e]);
2303
- const F = oe((P) => {
2299
+ }, [k, g] = nt(f), [h, b] = oe(0), [v, p] = oe([]), [m, x] = oe([]);
2300
+ te(() => {
2301
+ x(new Array((t == null ? void 0 : t.length) || 0).fill(!1));
2302
+ }, [t]);
2303
+ const _ = ae((M) => {
2304
2304
  x((R) => {
2305
- const j = [...R];
2306
- return j[P] = !0, j;
2305
+ const D = [...R];
2306
+ return D[M] = !0, D;
2307
2307
  });
2308
- }, []), _ = ve(() => n * 1e3, [n]), A = oe(() => {
2308
+ }, []), F = ve(() => n * 1e3, [n]), E = ae(() => {
2309
2309
  g && b(g.selectedScrollSnap());
2310
- }, [g]), w = oe((P) => g && g.scrollTo(P), [g]), D = oe(() => g && g.scrollPrev(), [g]), L = oe(() => g && g.scrollNext(), [g]);
2311
- se(() => {
2310
+ }, [g]), j = ae((M) => g && g.scrollTo(M), [g]), L = ae(() => g && g.scrollPrev(), [g]), B = ae(() => g && g.scrollNext(), [g]);
2311
+ te(() => {
2312
2312
  if (g)
2313
- return g.on("select", A), g.on("reInit", A), p(g.scrollSnapList()), () => {
2314
- g.off("select", A), g.off("reInit", A);
2313
+ return g.on("select", E), g.on("reInit", E), p(g.scrollSnapList()), () => {
2314
+ g.off("select", E), g.off("reInit", E);
2315
2315
  };
2316
- }, [g, A]), se(() => {
2316
+ }, [g, E]), te(() => {
2317
2317
  g && (g.reInit(), p(g.scrollSnapList()));
2318
- }, [g, e, o, d]), se(() => {
2319
- if (!t || !g || !e || e.length <= 1) return;
2320
- const P = window.setInterval(() => {
2318
+ }, [g, t, o, d]), te(() => {
2319
+ if (!e || !g || !t || t.length <= 1) return;
2320
+ const M = window.setInterval(() => {
2321
2321
  g.canScrollNext() && g.scrollNext();
2322
- }, _);
2322
+ }, F);
2323
2323
  return () => {
2324
- window.clearInterval(P);
2324
+ window.clearInterval(M);
2325
2325
  };
2326
- }, [t, _, g, e]);
2327
- const z = Math.max(1, o), B = `${100 / z}%`, O = d / 2;
2328
- return /* @__PURE__ */ i.jsxs(
2326
+ }, [e, F, g, t]);
2327
+ const $ = Math.max(1, o), N = `${100 / $}%`, H = d / 2;
2328
+ return /* @__PURE__ */ r.jsxs(
2329
2329
  "div",
2330
2330
  {
2331
- className: X.carouselContainer,
2331
+ className: Q.carouselContainer,
2332
2332
  "data-color": u,
2333
2333
  "data-size": y,
2334
- "data-variant": s,
2334
+ "data-variant": a,
2335
2335
  children: [
2336
- /* @__PURE__ */ i.jsx("div", { className: X.viewport, ref: k, children: /* @__PURE__ */ i.jsx(
2336
+ /* @__PURE__ */ r.jsx("div", { className: Q.viewport, ref: k, children: /* @__PURE__ */ r.jsx(
2337
2337
  "div",
2338
2338
  {
2339
- className: X.slides,
2339
+ className: Q.slides,
2340
2340
  style: {
2341
- marginLeft: `-${O}px`,
2342
- marginRight: `-${O}px`
2341
+ marginLeft: `-${H}px`,
2342
+ marginRight: `-${H}px`
2343
2343
  },
2344
- children: e && e.length > 0 ? e.map((P, R) => /* @__PURE__ */ i.jsx(
2344
+ children: t && t.length > 0 ? t.map((M, R) => /* @__PURE__ */ r.jsx(
2345
2345
  "div",
2346
2346
  {
2347
- className: X.slide,
2347
+ className: Q.slide,
2348
2348
  style: {
2349
- flex: `0 0 ${B}`,
2350
- paddingLeft: `${O}px`,
2351
- paddingRight: `${O}px`,
2349
+ flex: `0 0 ${N}`,
2350
+ paddingLeft: `${H}px`,
2351
+ paddingRight: `${H}px`,
2352
2352
  borderRadius: l > 0 ? `${l}px` : void 0,
2353
2353
  overflow: "hidden"
2354
2354
  // Ensure radius clips content
2355
2355
  },
2356
- children: /* @__PURE__ */ i.jsxs("div", { className: X.slideInner, style: { borderRadius: `${l}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
2357
- !m[R] && /* @__PURE__ */ i.jsx("div", { className: X.loaderOverlay, children: /* @__PURE__ */ i.jsx(ns, { "aria-label": "Laster bilde" }) }),
2358
- /* @__PURE__ */ i.jsx(
2356
+ children: /* @__PURE__ */ r.jsxs("div", { className: Q.slideInner, style: { borderRadius: `${l}px`, overflow: "hidden", position: "relative", width: "100%", height: "100%" }, children: [
2357
+ !m[R] && /* @__PURE__ */ r.jsx("div", { className: Q.loaderOverlay, children: /* @__PURE__ */ r.jsx(ns, { "aria-label": "Laster bilde" }) }),
2358
+ /* @__PURE__ */ r.jsx(
2359
2359
  "img",
2360
2360
  {
2361
- className: `${X.image} ${m[R] ? X.loaded : X.loadingImage}`,
2362
- src: P.src,
2363
- alt: P.alt,
2364
- loading: R < z ? "eager" : "lazy",
2361
+ className: `${Q.image} ${m[R] ? Q.loaded : Q.loadingImage}`,
2362
+ src: M.src,
2363
+ alt: M.alt,
2364
+ loading: R < $ ? "eager" : "lazy",
2365
2365
  crossOrigin: "anonymous",
2366
- onLoad: () => F(R),
2367
- onError: (j) => {
2368
- j.target.style.display = "none", F(R);
2366
+ onLoad: () => _(R),
2367
+ onError: (D) => {
2368
+ D.target.style.display = "none", _(R);
2369
2369
  }
2370
2370
  }
2371
2371
  )
2372
2372
  ] })
2373
2373
  },
2374
- `image-${R}-${P.src}`
2375
- )) : /* @__PURE__ */ i.jsx("div", { className: X.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ i.jsx("div", { className: X.empty, children: "Ingen bilder" }) })
2374
+ `image-${R}-${M.src}`
2375
+ )) : /* @__PURE__ */ r.jsx("div", { className: Q.slide, style: { flex: "0 0 100%" }, children: /* @__PURE__ */ r.jsx("div", { className: Q.empty, children: "Ingen bilder" }) })
2376
2376
  }
2377
2377
  ) }),
2378
- (r || a && e && e.length > 1) && /* @__PURE__ */ i.jsxs("div", { className: X.controls, "aria-hidden": "false", children: [
2379
- r && /* @__PURE__ */ i.jsxs("div", { className: X.arrows, children: [
2380
- /* @__PURE__ */ i.jsx(
2378
+ (s || i && t && t.length > 1) && /* @__PURE__ */ r.jsxs("div", { className: Q.controls, "aria-hidden": "false", children: [
2379
+ s && /* @__PURE__ */ r.jsxs("div", { className: Q.arrows, children: [
2380
+ /* @__PURE__ */ r.jsx(
2381
2381
  ye,
2382
2382
  {
2383
2383
  variant: "primary",
2384
2384
  icon: !0,
2385
2385
  "aria-label": "Forrige bilde",
2386
- onClick: D,
2387
- disabled: !e || e.length <= 1,
2388
- children: /* @__PURE__ */ i.jsx(Zn, { "aria-hidden": !0 })
2386
+ onClick: L,
2387
+ disabled: !t || t.length <= 1,
2388
+ children: /* @__PURE__ */ r.jsx(Xn, { "aria-hidden": !0 })
2389
2389
  }
2390
2390
  ),
2391
- /* @__PURE__ */ i.jsx(
2391
+ /* @__PURE__ */ r.jsx(
2392
2392
  ye,
2393
2393
  {
2394
2394
  variant: "primary",
2395
2395
  icon: !0,
2396
2396
  "aria-label": "Neste bilde",
2397
- onClick: L,
2398
- disabled: !e || e.length <= 1,
2399
- children: /* @__PURE__ */ i.jsx(Xn, { "aria-hidden": !0 })
2397
+ onClick: B,
2398
+ disabled: !t || t.length <= 1,
2399
+ children: /* @__PURE__ */ r.jsx(Qn, { "aria-hidden": !0 })
2400
2400
  }
2401
2401
  )
2402
2402
  ] }),
2403
- a && e && e.length > 1 && /* @__PURE__ */ i.jsx("div", { className: X.dots, role: "tablist", "aria-label": "Bildeposisjon", children: v.map((P, R) => {
2404
- const j = R === h;
2405
- return /* @__PURE__ */ i.jsx(
2403
+ i && t && t.length > 1 && /* @__PURE__ */ r.jsx("div", { className: Q.dots, role: "tablist", "aria-label": "Bildeposisjon", children: v.map((M, R) => {
2404
+ const D = R === h;
2405
+ return /* @__PURE__ */ r.jsx(
2406
2406
  "button",
2407
2407
  {
2408
2408
  type: "button",
2409
- className: `${X.dot} ${j ? X.dotActive : ""}`,
2410
- onClick: () => w(R),
2409
+ className: `${Q.dot} ${D ? Q.dotActive : ""}`,
2410
+ onClick: () => j(R),
2411
2411
  "aria-label": `Gå til bilde ${R + 1}`,
2412
- "aria-selected": j,
2412
+ "aria-selected": D,
2413
2413
  role: "tab"
2414
2414
  },
2415
2415
  `dot-${R}`
@@ -2421,24 +2421,24 @@ const $r = "_carouselContainer_1bu1s_1", Wr = "_viewport_1bu1s_11", Vr = "_slide
2421
2421
  );
2422
2422
  };
2423
2423
  os.displayName = "Carousel";
2424
- const xa = cn, Ta = un, Sa = mn, ce = gn, wa = pn, Ca = fn, rs = hn, ss = kn;
2424
+ const Ca = un, ja = mn, Da = gn, ee = pn, Ia = fn, La = hn, rs = kn, ss = bn;
2425
2425
  rs.displayName = "Field.Description";
2426
2426
  ss.displayName = "Field.Counter";
2427
- const ja = Dt, as = ue((e, t) => /* @__PURE__ */ i.jsx(bn, { ref: t, ...e }));
2427
+ const Aa = It, as = ue((t, e) => /* @__PURE__ */ r.jsx(vn, { ref: e, ...t }));
2428
2428
  as.displayName = "Heading";
2429
- const Da = vn, is = ue((e, t) => /* @__PURE__ */ i.jsx(yn, { ref: t, ...e }));
2429
+ const Fa = yn, is = ue((t, e) => /* @__PURE__ */ r.jsx(xn, { ref: e, ...t }));
2430
2430
  is.displayName = "Label";
2431
- const Ge = xn, Ia = Tn, Aa = Sn, La = wn, Je = ue(
2432
- (e, t) => /* @__PURE__ */ i.jsx(Cn, { ref: t, ...e })
2431
+ const Ne = Tn, _a = Sn, Ea = wn, Ba = Cn, Ze = ue(
2432
+ (t, e) => /* @__PURE__ */ r.jsx(jn, { ref: e, ...t })
2433
2433
  );
2434
- Je.displayName = "Paragraph";
2435
- const Fa = jn, _a = Dn, Ea = In, Be = Object.assign(An, {
2436
- Button: _n,
2437
- ClearButton: Fn,
2438
- Input: Ln
2439
- }), Na = En, Ba = Nn, Pa = Bn, ls = Pn;
2434
+ Ze.displayName = "Paragraph";
2435
+ const Na = Dn, Pa = In, Ma = Ln, Pe = Object.assign(An, {
2436
+ Button: En,
2437
+ ClearButton: _n,
2438
+ Input: Fn
2439
+ }), Ra = Bn, za = Nn, Oa = Pn, ls = Mn;
2440
2440
  ls.displayName = "Suggestion";
2441
- const Ct = Rn, Ra = Mn, Ma = zn, za = On, Oa = Hn, Ha = $n, $a = Wn, Wa = Vn, ds = ue((e, t) => /* @__PURE__ */ i.jsx(Gn, { ref: t, ...e }));
2441
+ const Ue = Rn, $a = zn, Ha = On, Wa = $n, Va = Hn, Ga = Wn, Ua = Vn, Ka = Gn, ds = ue((t, e) => /* @__PURE__ */ r.jsx(Un, { ref: e, ...t }));
2442
2442
  ds.displayName = "ValidationMessage";
2443
2443
  const cs = {
2444
2444
  NO: {
@@ -3968,74 +3968,78 @@ const cs = {
3968
3968
  // Footer
3969
3969
  footer: {}
3970
3970
  }
3971
- }, Pt = Ut(void 0), Va = ({ children: e }) => {
3972
- const [t, n] = re("NO"), r = (a) => {
3973
- const s = a.split(".");
3974
- let o = cs[t];
3975
- for (const d of s) {
3971
+ }, Mt = qt(void 0), qa = ({ children: t }) => {
3972
+ const [e, n] = oe("NO"), s = (i) => {
3973
+ const a = i.split(".");
3974
+ let o = cs[e];
3975
+ for (const d of a) {
3976
3976
  if (o[d] === void 0)
3977
- return console.warn(`Translation missing for key: ${a} in language: ${t}`), a;
3977
+ return console.warn(`Translation missing for key: ${i} in language: ${e}`), i;
3978
3978
  o = o[d];
3979
3979
  }
3980
3980
  return o;
3981
3981
  };
3982
- return /* @__PURE__ */ i.jsx(Pt.Provider, { value: { language: t, setLanguage: n, t: r }, children: e });
3982
+ return /* @__PURE__ */ r.jsx(Mt.Provider, { value: { language: e, setLanguage: n, t: s }, children: t });
3983
3983
  }, us = () => {
3984
- const e = Kt(Pt);
3985
- if (e === void 0)
3984
+ const t = Yt(Mt);
3985
+ if (t === void 0)
3986
3986
  throw new Error("useLanguage must be used within a LanguageProvider");
3987
- return e;
3988
- }, ms = "_header_7c61q_1", gs = "_headerExtension_7c61q_11", ps = "_extensionContentWrapper_7c61q_25", fs = "_extensionContent_7c61q_25", hs = "_extensionDivider_7c61q_48", ks = "_languageSwitch_7c61q_54", bs = "_languageLabel_7c61q_62", vs = "_languageLink_7c61q_68", ys = "_headerInner_7c61q_82", xs = "_logoWrapper_7c61q_96", Ts = "_logo_7c61q_96", Ss = "_secondaryLogoWrapper_7c61q_115", ws = "_slotComponent_7c61q_124", Cs = "_slotContainer_7c61q_134", js = "_slotText_7c61q_142", Ds = "_secondaryLogo_7c61q_115", Is = "_redCrossLogo_7c61q_169", As = "_navItems_7c61q_175", Ls = "_navLink_7c61q_184", Fs = "_actions_7c61q_197", _s = "_ctaButton_7c61q_205", Es = "_themeToggle_7c61q_210", Ns = "_userInfo_7c61q_215", Bs = "_userName_7c61q_221", Ps = "_loginLink_7c61q_228", Rs = "_loginText_7c61q_237", Ms = "_underline_7c61q_244", zs = "_searchButtonWrapper_7c61q_250", Os = "_buttonText_7c61q_254", Hs = "_menuButton_7c61q_259", $s = "_menuOverlay_7c61q_264", Ws = "_searchOverlay_7c61q_276", Vs = "_searchContent_7c61q_294", Gs = "_menuContent_7c61q_304", qs = "_menuLeftColumn_7c61q_313", Us = "_menuRightColumn_7c61q_318", Ks = "_slotContent_7c61q_332", Ys = "_suggestionsSection_7c61q_341", Js = "_suggestionsTitle_7c61q_347", Zs = "_searchResults_7c61q_356", Xs = "_resultList_7c61q_362", Qs = "_resultItem_7c61q_368", ea = "_resultLink_7c61q_376", ta = "_suggestionIcon_7c61q_390", na = "_suggestionText_7c61q_403", oa = "_highlightedText_7c61q_410", ra = "_remainingText_7c61q_415", sa = "_viewAllLink_7c61q_428", aa = "_noResults_7c61q_463", C = {
3987
+ return t;
3988
+ }, ms = "_header_125p6_1", gs = "_languageSwitch_125p6_36", ps = "_searchOverlay_125p6_40", fs = "_headerExtension_125p6_45", hs = "_extensionContentWrapper_125p6_61", ks = "_extensionContent_125p6_61", bs = "_extensionDivider_125p6_84", vs = "_languageLabel_125p6_98", ys = "_languageLink_125p6_104", xs = "_headerInner_125p6_129", Ts = "_logoWrapper_125p6_146", Ss = "_logo_125p6_146", ws = "_secondaryLogoWrapper_125p6_169", Cs = "_slotComponent_125p6_178", js = "_slotContainer_125p6_188", Ds = "_slotText_125p6_196", Is = "_secondaryLogo_125p6_169", Ls = "_redCrossLogo_125p6_223", As = "_primaryLogo_125p6_229", Fs = "_navItems_125p6_233", _s = "_navLink_125p6_242", Es = "_actions_125p6_255", Bs = "_ctaButton_125p6_263", Ns = "_themeToggle_125p6_268", Ps = "_userInfo_125p6_273", Ms = "_userName_125p6_279", Rs = "_loginLink_125p6_286", zs = "_loginText_125p6_295", Os = "_underline_125p6_302", $s = "_searchButtonWrapper_125p6_308", Hs = "_buttonText_125p6_312", Ws = "_menuButton_125p6_317", Vs = "_menuOverlay_125p6_322", Gs = "_searchContent_125p6_356", Us = "_menuContent_125p6_366", Ks = "_menuLeftColumn_125p6_375", qs = "_menuRightColumn_125p6_381", Ys = "_slotContent_125p6_395", Js = "_navList_125p6_408", Zs = "_menuUtilities_125p6_415", Xs = "_menuBrand_125p6_422", Qs = "_suggestionsSection_125p6_426", ea = "_suggestionsTitle_125p6_432", ta = "_searchResults_125p6_441", na = "_resultList_125p6_447", oa = "_resultItem_125p6_453", ra = "_resultLink_125p6_461", sa = "_suggestionIcon_125p6_475", aa = "_suggestionText_125p6_488", ia = "_highlightedText_125p6_495", la = "_remainingText_125p6_500", da = "_viewAllLink_125p6_513", ca = "_noResults_125p6_548", T = {
3989
3989
  header: ms,
3990
- headerExtension: gs,
3991
- extensionContentWrapper: ps,
3992
- extensionContent: fs,
3993
- extensionDivider: hs,
3994
- languageSwitch: ks,
3995
- languageLabel: bs,
3996
- languageLink: vs,
3997
- headerInner: ys,
3998
- logoWrapper: xs,
3999
- logo: Ts,
4000
- secondaryLogoWrapper: Ss,
4001
- slotComponent: ws,
4002
- slotContainer: Cs,
4003
- slotText: js,
4004
- secondaryLogo: Ds,
4005
- redCrossLogo: Is,
4006
- navItems: As,
4007
- navLink: Ls,
4008
- actions: Fs,
4009
- ctaButton: _s,
4010
- themeToggle: Es,
4011
- userInfo: Ns,
4012
- userName: Bs,
4013
- loginLink: Ps,
4014
- loginText: Rs,
4015
- underline: Ms,
4016
- searchButtonWrapper: zs,
4017
- buttonText: Os,
4018
- menuButton: Hs,
4019
- menuOverlay: $s,
4020
- searchOverlay: Ws,
4021
- searchContent: Vs,
4022
- menuContent: Gs,
4023
- menuLeftColumn: qs,
4024
- menuRightColumn: Us,
4025
- slotContent: Ks,
4026
- suggestionsSection: Ys,
4027
- suggestionsTitle: Js,
4028
- searchResults: Zs,
4029
- resultList: Xs,
4030
- resultItem: Qs,
4031
- resultLink: ea,
4032
- suggestionIcon: ta,
4033
- suggestionText: na,
4034
- highlightedText: oa,
4035
- remainingText: ra,
4036
- viewAllLink: sa,
4037
- noResults: aa
4038
- }, ia = [
3990
+ languageSwitch: gs,
3991
+ searchOverlay: ps,
3992
+ headerExtension: fs,
3993
+ extensionContentWrapper: hs,
3994
+ extensionContent: ks,
3995
+ extensionDivider: bs,
3996
+ languageLabel: vs,
3997
+ languageLink: ys,
3998
+ headerInner: xs,
3999
+ logoWrapper: Ts,
4000
+ logo: Ss,
4001
+ secondaryLogoWrapper: ws,
4002
+ slotComponent: Cs,
4003
+ slotContainer: js,
4004
+ slotText: Ds,
4005
+ secondaryLogo: Is,
4006
+ redCrossLogo: Ls,
4007
+ primaryLogo: As,
4008
+ navItems: Fs,
4009
+ navLink: _s,
4010
+ actions: Es,
4011
+ ctaButton: Bs,
4012
+ themeToggle: Ns,
4013
+ userInfo: Ps,
4014
+ userName: Ms,
4015
+ loginLink: Rs,
4016
+ loginText: zs,
4017
+ underline: Os,
4018
+ searchButtonWrapper: $s,
4019
+ buttonText: Hs,
4020
+ menuButton: Ws,
4021
+ menuOverlay: Vs,
4022
+ searchContent: Gs,
4023
+ menuContent: Us,
4024
+ menuLeftColumn: Ks,
4025
+ menuRightColumn: qs,
4026
+ slotContent: Ys,
4027
+ navList: Js,
4028
+ menuUtilities: Zs,
4029
+ menuBrand: Xs,
4030
+ suggestionsSection: Qs,
4031
+ suggestionsTitle: ea,
4032
+ searchResults: ta,
4033
+ resultList: na,
4034
+ resultItem: oa,
4035
+ resultLink: ra,
4036
+ suggestionIcon: sa,
4037
+ suggestionText: aa,
4038
+ highlightedText: ia,
4039
+ remainingText: la,
4040
+ viewAllLink: da,
4041
+ noResults: ca
4042
+ }, ua = [
4039
4043
  // Pages
4040
4044
  { id: "home", title: "Hjem", category: "Page", path: "home", description: "Forsiden" },
4041
4045
  { id: "components", title: "Komponenter", category: "Page", path: "components", description: "Oversikt over alle komponenter" },
@@ -4098,16 +4102,16 @@ const cs = {
4098
4102
  { id: "komponent-kreasjon", title: "Komponent Kreasjon", category: "Code", path: "code/komponent-kreasjon", description: "Opprette nye komponenter" },
4099
4103
  { id: "progression", title: "Progresjon", category: "Code", path: "code/progression", description: "Fra design til ferdig komponent" },
4100
4104
  { id: "metadata-files", title: "Metadata filer", category: "Code", path: "code/metadata-files", description: "Struktur og bruk av metadata.json" }
4101
- ], Ga = ({
4102
- activePage: e,
4103
- setPage: t,
4105
+ ], Ya = ({
4106
+ activePage: t,
4107
+ setPage: e,
4104
4108
  children: n,
4105
- showUser: r = !0,
4106
- showSearch: a = !0,
4107
- showLogin: s = !0,
4109
+ showUser: s = !0,
4110
+ showSearch: i = !0,
4111
+ showLogin: a = !0,
4108
4112
  showCta: o = !1,
4109
4113
  ctaLabel: d,
4110
- ctaIcon: l = /* @__PURE__ */ i.jsx(to, { "aria-hidden": !0 }),
4114
+ ctaIcon: l = /* @__PURE__ */ r.jsx(to, { "aria-hidden": !0 }),
4111
4115
  onCtaClick: u,
4112
4116
  showThemeToggle: y = !1,
4113
4117
  secondaryLogo: f = !1,
@@ -4119,16 +4123,16 @@ const cs = {
4119
4123
  showMenuButton: p = !0,
4120
4124
  showHeaderExtension: m = !1,
4121
4125
  showModeToggle: x = !1,
4122
- showLanguageSwitch: F = !1
4126
+ showLanguageSwitch: _ = !1
4123
4127
  }) => {
4124
- const [_, A] = re(!1), [w, D] = re(!1), [L, z] = re(""), [B, O] = re("light"), { language: P, setLanguage: R, t: j } = us();
4125
- se(() => {
4128
+ const [F, E] = oe(!1), [j, L] = oe(!1), [B, $] = oe(""), [N, H] = oe("light"), { language: M, setLanguage: R, t: D } = us(), [U, ne] = oe(!1);
4129
+ te(() => {
4126
4130
  const S = "rk-header-inline-styles";
4127
4131
  if (typeof document > "u" || document.getElementById(S)) return;
4128
- const E = la(C), q = document.createElement("style");
4129
- q.id = S, q.textContent = E, document.head.appendChild(q);
4132
+ const I = ma(T), C = document.createElement("style");
4133
+ C.id = S, C.textContent = I, document.head.appendChild(C);
4130
4134
  }, []);
4131
- const Q = () => /* @__PURE__ */ i.jsxs(
4135
+ const Y = () => /* @__PURE__ */ r.jsxs(
4132
4136
  "svg",
4133
4137
  {
4134
4138
  width: "170",
@@ -4138,253 +4142,368 @@ const cs = {
4138
4142
  xmlns: "http://www.w3.org/2000/svg",
4139
4143
  "aria-hidden": !0,
4140
4144
  focusable: "false",
4141
- className: C.redCrossLogo,
4145
+ className: T.redCrossLogo,
4142
4146
  children: [
4143
- /* @__PURE__ */ i.jsx("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" }),
4144
- /* @__PURE__ */ i.jsx("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" }),
4145
- /* @__PURE__ */ i.jsx("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" }),
4146
- /* @__PURE__ */ i.jsx("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" }),
4147
- /* @__PURE__ */ i.jsx("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" }),
4148
- /* @__PURE__ */ i.jsx("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" }),
4149
- /* @__PURE__ */ i.jsx("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" }),
4150
- /* @__PURE__ */ i.jsx("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" }),
4151
- /* @__PURE__ */ i.jsx("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4152
- /* @__PURE__ */ i.jsx("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4147
+ /* @__PURE__ */ r.jsx("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" }),
4148
+ /* @__PURE__ */ r.jsx("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" }),
4149
+ /* @__PURE__ */ r.jsx("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" }),
4150
+ /* @__PURE__ */ r.jsx("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" }),
4151
+ /* @__PURE__ */ r.jsx("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" }),
4152
+ /* @__PURE__ */ r.jsx("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" }),
4153
+ /* @__PURE__ */ r.jsx("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" }),
4154
+ /* @__PURE__ */ r.jsx("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" }),
4155
+ /* @__PURE__ */ r.jsx("path", { d: "M50.1985 39.8037H37.1426V79.1965H50.1985V39.8037Z", fill: "#D52B1E" }),
4156
+ /* @__PURE__ */ r.jsx("path", { d: "M63.2545 52.9331H24.0869V66.0625H63.2545V52.9331Z", fill: "#D52B1E" })
4153
4157
  ]
4154
4158
  }
4155
4159
  );
4156
- se(() => {
4157
- A(!1), D(!1), z("");
4158
- }, [e]);
4159
- const K = () => {
4160
- const S = B === "light" ? "dark" : "light";
4161
- O(S), document.documentElement.setAttribute("data-color-scheme", S);
4162
- }, Y = (S) => {
4163
- t && (S.preventDefault(), t("home")), A(!1), D(!1);
4164
- }, J = () => {
4165
- A(!_), w && D(!1);
4166
- }, te = () => {
4167
- D(!w), _ && A(!1);
4168
- }, c = ve(() => {
4169
- if (!L.trim()) return [];
4170
- const S = L.toLowerCase();
4171
- return ia.filter(
4172
- (E) => E.title.toLowerCase().startsWith(S)
4160
+ te(() => {
4161
+ E(!1), L(!1), $("");
4162
+ }, [t]), te(() => {
4163
+ if (!(typeof document > "u") && F && U) {
4164
+ const S = document.body.style.overflow;
4165
+ return document.body.style.overflow = "hidden", () => {
4166
+ document.body.style.overflow = S;
4167
+ };
4168
+ }
4169
+ }, [F, U]), te(() => {
4170
+ if (typeof window > "u" || typeof window.matchMedia > "u") return;
4171
+ const S = window.matchMedia("(max-width: 850px)"), I = (C) => ne("matches" in C ? C.matches : S.matches);
4172
+ return I(S), S.addEventListener ? S.addEventListener("change", I) : S.addListener(I), () => {
4173
+ S.removeEventListener ? S.removeEventListener("change", I) : S.removeListener(I);
4174
+ };
4175
+ }, []), te(() => {
4176
+ if (typeof document > "u") return;
4177
+ const S = document.querySelector(`.${T.header}`);
4178
+ if (!S) return;
4179
+ const I = () => {
4180
+ const C = S.offsetHeight;
4181
+ document.documentElement.style.setProperty("--header-height-mobile", `${C}px`);
4182
+ };
4183
+ return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4184
+ }, [U]), te(() => {
4185
+ if (typeof document > "u") return;
4186
+ const S = document.querySelector(`.${T.logoWrapper}`);
4187
+ if (!S) return;
4188
+ const I = () => {
4189
+ const C = S.offsetWidth;
4190
+ document.documentElement.style.setProperty("--rk-logo-width", `${C}px`);
4191
+ };
4192
+ return I(), window.addEventListener("resize", I), () => window.removeEventListener("resize", I);
4193
+ }, [U]), te(() => {
4194
+ if (typeof document > "u" || !j) {
4195
+ document.documentElement.style.setProperty("--rk-search-overlay-height", "0px");
4196
+ return;
4197
+ }
4198
+ const S = document.querySelector(`.${T.searchOverlay}`);
4199
+ if (!S) return;
4200
+ const I = () => {
4201
+ const W = S.offsetHeight;
4202
+ document.documentElement.style.setProperty("--rk-search-overlay-height", `${W}px`);
4203
+ };
4204
+ requestAnimationFrame(I), window.addEventListener("resize", I);
4205
+ const C = new ResizeObserver(I);
4206
+ return C.observe(S), () => {
4207
+ window.removeEventListener("resize", I), C.disconnect();
4208
+ };
4209
+ }, [j]);
4210
+ const q = () => {
4211
+ const S = N === "light" ? "dark" : "light";
4212
+ H(S), document.documentElement.setAttribute("data-color-scheme", S);
4213
+ }, re = (S) => {
4214
+ e && (S.preventDefault(), e("home")), E(!1), L(!1);
4215
+ }, c = () => {
4216
+ E(!F), j && L(!1);
4217
+ }, A = () => {
4218
+ L(!j), F && E(!1);
4219
+ }, P = ve(() => {
4220
+ if (!B.trim()) return [];
4221
+ const S = B.toLowerCase();
4222
+ return ua.filter(
4223
+ (I) => I.title.toLowerCase().startsWith(S)
4173
4224
  );
4174
- }, [L]), I = (S) => {
4175
- t && t(S), D(!1), z("");
4225
+ }, [B]), z = (S) => {
4226
+ e && e(S), L(!1), $("");
4176
4227
  };
4177
- return /* @__PURE__ */ i.jsxs("header", { className: C.header, children: [
4178
- m && /* @__PURE__ */ i.jsx("div", { className: C.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ i.jsxs("div", { className: C.extensionContentWrapper, children: [
4179
- x && /* @__PURE__ */ i.jsx("div", { className: C.extensionContent, children: /* @__PURE__ */ i.jsx(
4180
- Ct,
4228
+ return /* @__PURE__ */ r.jsxs("header", { className: T.header, "data-open": F ? "true" : "false", children: [
4229
+ m && /* @__PURE__ */ r.jsx("div", { className: T.headerExtension, "data-color-scheme": "light", children: /* @__PURE__ */ r.jsxs("div", { className: T.extensionContentWrapper, children: [
4230
+ x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4231
+ Ue,
4181
4232
  {
4182
4233
  "data-size": "sm",
4183
- checked: B === "dark",
4184
- onChange: K,
4185
- label: j("header.darkMode"),
4234
+ checked: N === "dark",
4235
+ onChange: q,
4236
+ label: D("header.darkMode"),
4186
4237
  color: "neutral",
4187
4238
  "data-color-scheme": "light"
4188
4239
  }
4189
4240
  ) }),
4190
- x && F && /* @__PURE__ */ i.jsx("div", { className: C.extensionDivider }),
4191
- F && /* @__PURE__ */ i.jsxs("div", { className: C.languageSwitch, children: [
4192
- /* @__PURE__ */ i.jsx("span", { className: C.languageLabel, children: j("header.language") }),
4193
- /* @__PURE__ */ i.jsxs(ce.TriggerContext, { children: [
4194
- /* @__PURE__ */ i.jsxs(
4195
- ce.Trigger,
4241
+ x && _ && /* @__PURE__ */ r.jsx("div", { className: T.extensionDivider }),
4242
+ _ && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4243
+ /* @__PURE__ */ r.jsx("span", { className: T.languageLabel, children: D("header.language") }),
4244
+ /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4245
+ /* @__PURE__ */ r.jsxs(
4246
+ ee.Trigger,
4196
4247
  {
4197
- className: C.languageLink,
4198
- "aria-label": j("header.selectLanguage"),
4248
+ className: T.languageLink,
4249
+ "aria-label": D("header.selectLanguage"),
4199
4250
  style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4200
4251
  children: [
4201
- P,
4252
+ M,
4202
4253
  " ",
4203
- /* @__PURE__ */ i.jsx(Qn, { "aria-hidden": !0 })
4254
+ /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4204
4255
  ]
4205
4256
  }
4206
4257
  ),
4207
- /* @__PURE__ */ i.jsx(
4208
- ce,
4258
+ /* @__PURE__ */ r.jsx(
4259
+ ee,
4209
4260
  {
4210
- "data-color-scheme": B,
4261
+ "data-color-scheme": N,
4211
4262
  placement: "bottom-end",
4212
- children: /* @__PURE__ */ i.jsxs(ce.List, { children: [
4213
- /* @__PURE__ */ i.jsx(ce.Item, { children: /* @__PURE__ */ i.jsx(ce.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4214
- /* @__PURE__ */ i.jsx(ce.Item, { children: /* @__PURE__ */ i.jsx(ce.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4263
+ children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4264
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4265
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4215
4266
  ] })
4216
4267
  }
4217
4268
  )
4218
4269
  ] })
4219
4270
  ] })
4220
4271
  ] }) }),
4221
- /* @__PURE__ */ i.jsxs("div", { className: C.headerInner, children: [
4222
- /* @__PURE__ */ i.jsxs("div", { className: C.logoWrapper, children: [
4223
- /* @__PURE__ */ i.jsx(Ge, { href: "/", className: C.logo, "aria-label": j("header.homeAriaLabel"), onClick: Y, children: /* @__PURE__ */ i.jsx(Q, {}) }),
4224
- /* @__PURE__ */ i.jsx("div", { className: C.secondaryLogoWrapper, children: f && k ? /* @__PURE__ */ i.jsx(
4272
+ /* @__PURE__ */ r.jsxs("div", { className: T.headerInner, children: [
4273
+ /* @__PURE__ */ r.jsxs("div", { className: T.logoWrapper, children: [
4274
+ /* @__PURE__ */ r.jsx(
4275
+ Ne,
4276
+ {
4277
+ href: "/",
4278
+ className: `${T.logo} ${T.primaryLogo}`,
4279
+ "aria-label": D("header.homeAriaLabel"),
4280
+ onClick: re,
4281
+ children: /* @__PURE__ */ r.jsx(Y, {})
4282
+ }
4283
+ ),
4284
+ /* @__PURE__ */ r.jsx("div", { className: T.secondaryLogoWrapper, children: f && k ? /* @__PURE__ */ r.jsx(
4225
4285
  "img",
4226
4286
  {
4227
- src: B === "dark" && g ? g : k,
4287
+ src: N === "dark" && g ? g : k,
4228
4288
  alt: h,
4229
- className: C.secondaryLogo
4289
+ className: T.secondaryLogo
4230
4290
  }
4231
- ) : f ? /* @__PURE__ */ i.jsx("div", { className: C.slotComponent, children: /* @__PURE__ */ i.jsx("div", { className: C.slotContainer, children: /* @__PURE__ */ i.jsx("p", { className: C.slotText, children: "SLOT" }) }) }) : null })
4291
+ ) : f ? /* @__PURE__ */ r.jsx("div", { className: T.slotComponent, children: /* @__PURE__ */ r.jsx("div", { className: T.slotContainer, children: /* @__PURE__ */ r.jsx("p", { className: T.slotText, children: "SLOT" }) }) }) : null })
4232
4292
  ] }),
4233
- v && b && b.length > 0 && /* @__PURE__ */ i.jsx("nav", { className: C.navItems, children: b.map((S, E) => /* @__PURE__ */ i.jsx(
4234
- Ge,
4293
+ v && b && b.length > 0 && !U && /* @__PURE__ */ r.jsx("nav", { className: T.navItems, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4294
+ Ne,
4235
4295
  {
4236
4296
  href: S.href,
4237
- className: C.navLink,
4238
- onClick: (q) => {
4239
- t && (q.preventDefault(), t(S.href));
4297
+ className: T.navLink,
4298
+ onClick: (C) => {
4299
+ e && (C.preventDefault(), e(S.href));
4240
4300
  },
4241
4301
  children: S.label
4242
4302
  },
4243
- E
4303
+ I
4244
4304
  )) }),
4245
- /* @__PURE__ */ i.jsxs("div", { className: C.actions, children: [
4246
- o && /* @__PURE__ */ i.jsxs(
4305
+ /* @__PURE__ */ r.jsxs("div", { className: T.actions, children: [
4306
+ o && /* @__PURE__ */ r.jsxs(
4247
4307
  ye,
4248
4308
  {
4249
4309
  variant: "primary",
4250
4310
  "data-color": "main",
4251
4311
  "data-size": "md",
4252
- className: C.ctaButton,
4312
+ className: T.ctaButton,
4253
4313
  onClick: u,
4254
4314
  children: [
4255
4315
  l,
4256
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: d || j("header.supportUs") })
4316
+ /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: d || D("header.supportUs") })
4257
4317
  ]
4258
4318
  }
4259
4319
  ),
4260
- !m && y && /* @__PURE__ */ i.jsx("div", { className: C.themeToggle, children: /* @__PURE__ */ i.jsx(
4261
- Ct,
4320
+ !m && y && /* @__PURE__ */ r.jsx("div", { className: T.themeToggle, children: /* @__PURE__ */ r.jsx(
4321
+ Ue,
4262
4322
  {
4263
- checked: B === "dark",
4264
- onChange: K,
4265
- "aria-label": j("header.toggleTheme")
4323
+ checked: N === "dark",
4324
+ onChange: q,
4325
+ "aria-label": D("header.toggleTheme")
4266
4326
  }
4267
4327
  ) }),
4268
- r && /* @__PURE__ */ i.jsxs("div", { className: C.userInfo, children: [
4269
- /* @__PURE__ */ i.jsx(Je, { "data-size": "md", className: C.userName, children: "Frodo Baggins" }),
4270
- /* @__PURE__ */ i.jsx(Lt, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4328
+ s && /* @__PURE__ */ r.jsxs("div", { className: T.userInfo, children: [
4329
+ /* @__PURE__ */ r.jsx(Ze, { "data-size": "md", className: T.userName, children: "Frodo Baggins" }),
4330
+ /* @__PURE__ */ r.jsx(Ft, { "aria-label": "Frodo Baggins", "data-color": "main", variant: "circle", initials: "FB" })
4271
4331
  ] }),
4272
- s && /* @__PURE__ */ i.jsxs("a", { href: "#", className: C.loginLink, children: [
4273
- /* @__PURE__ */ i.jsx("span", { className: C.loginText, children: j("header.login") }),
4274
- /* @__PURE__ */ i.jsx("div", { className: C.underline })
4332
+ a && /* @__PURE__ */ r.jsxs("a", { href: "#", className: T.loginLink, children: [
4333
+ /* @__PURE__ */ r.jsx("span", { className: T.loginText, children: D("header.login") }),
4334
+ /* @__PURE__ */ r.jsx("div", { className: T.underline })
4275
4335
  ] }),
4276
- a && /* @__PURE__ */ i.jsx("div", { className: C.searchButtonWrapper, children: /* @__PURE__ */ i.jsxs(
4336
+ i && /* @__PURE__ */ r.jsx("div", { className: T.searchButtonWrapper, children: /* @__PURE__ */ r.jsxs(
4277
4337
  ye,
4278
4338
  {
4279
4339
  variant: "secondary",
4280
4340
  "data-color": "main",
4281
4341
  "data-size": "md",
4282
- onClick: te,
4283
- "aria-expanded": w,
4284
- "aria-label": j(w ? "header.closeSearch" : "header.openSearch"),
4342
+ onClick: A,
4343
+ "aria-expanded": j,
4344
+ "aria-label": D(j ? "header.closeSearch" : "header.openSearch"),
4285
4345
  children: [
4286
- w ? /* @__PURE__ */ i.jsx(mt, { "aria-hidden": !0 }) : /* @__PURE__ */ i.jsx(gt, { "aria-hidden": !0 }),
4287
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: j(w ? "header.close" : "header.search") })
4346
+ j ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }),
4347
+ /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: D(j ? "header.close" : "header.search") })
4288
4348
  ]
4289
4349
  }
4290
4350
  ) }),
4291
- p && /* @__PURE__ */ i.jsxs(
4351
+ (p || U) && /* @__PURE__ */ r.jsxs(
4292
4352
  ye,
4293
4353
  {
4294
4354
  variant: "primary",
4295
4355
  "data-color": "main",
4296
4356
  "data-size": "md",
4297
- onClick: J,
4298
- "aria-expanded": _,
4299
- "aria-label": j(_ ? "header.closeMenu" : "header.openMenu"),
4300
- className: C.menuButton,
4357
+ onClick: c,
4358
+ "aria-expanded": F,
4359
+ "aria-label": D(F ? "header.closeMenu" : "header.openMenu"),
4360
+ className: T.menuButton,
4301
4361
  children: [
4302
- _ ? /* @__PURE__ */ i.jsx(mt, { "aria-hidden": !0 }) : /* @__PURE__ */ i.jsx(eo, { "aria-hidden": !0 }),
4303
- /* @__PURE__ */ i.jsx("span", { className: C.buttonText, children: j(_ ? "header.close" : "header.menu") })
4362
+ F ? /* @__PURE__ */ r.jsx(pt, { "aria-hidden": !0 }) : /* @__PURE__ */ r.jsx(eo, { "aria-hidden": !0 }),
4363
+ /* @__PURE__ */ r.jsx("span", { className: T.buttonText, children: D(F ? "header.close" : "header.menu") })
4304
4364
  ]
4305
4365
  }
4306
4366
  )
4307
4367
  ] })
4308
4368
  ] }),
4309
- _ && /* @__PURE__ */ i.jsx("div", { className: C.menuOverlay, children: /* @__PURE__ */ i.jsxs("div", { className: C.menuContent, children: [
4310
- /* @__PURE__ */ i.jsx("div", { className: C.menuLeftColumn, "aria-hidden": "true" }),
4311
- /* @__PURE__ */ i.jsx("div", { className: C.menuRightColumn, children: /* @__PURE__ */ i.jsx("div", { className: C.slotContent, children: n }) })
4369
+ F && /* @__PURE__ */ r.jsx("div", { className: T.menuOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.menuContent, children: [
4370
+ /* @__PURE__ */ r.jsx("div", { className: T.menuLeftColumn }),
4371
+ /* @__PURE__ */ r.jsxs("div", { className: T.menuRightColumn, children: [
4372
+ U && (_ || x) && /* @__PURE__ */ r.jsxs("div", { className: T.menuUtilities, children: [
4373
+ _ && /* @__PURE__ */ r.jsxs("div", { className: T.languageSwitch, children: [
4374
+ /* @__PURE__ */ r.jsx("span", { className: T.languageLabel, children: D("header.language") }),
4375
+ /* @__PURE__ */ r.jsxs(ee.TriggerContext, { children: [
4376
+ /* @__PURE__ */ r.jsxs(
4377
+ ee.Trigger,
4378
+ {
4379
+ className: T.languageLink,
4380
+ "aria-label": D("header.selectLanguage"),
4381
+ style: { background: "transparent", border: "none", padding: 0, cursor: "pointer", font: "inherit" },
4382
+ children: [
4383
+ M,
4384
+ " ",
4385
+ /* @__PURE__ */ r.jsx(gt, { "aria-hidden": !0 })
4386
+ ]
4387
+ }
4388
+ ),
4389
+ /* @__PURE__ */ r.jsx(
4390
+ ee,
4391
+ {
4392
+ "data-color-scheme": N,
4393
+ placement: "bottom-start",
4394
+ children: /* @__PURE__ */ r.jsxs(ee.List, { children: [
4395
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("NO"), children: "Norsk (NO)" }) }),
4396
+ /* @__PURE__ */ r.jsx(ee.Item, { children: /* @__PURE__ */ r.jsx(ee.Button, { onClick: () => R("EN"), children: "English (EN)" }) })
4397
+ ] })
4398
+ }
4399
+ )
4400
+ ] })
4401
+ ] }),
4402
+ x && /* @__PURE__ */ r.jsx("div", { className: T.extensionContent, children: /* @__PURE__ */ r.jsx(
4403
+ Ue,
4404
+ {
4405
+ "data-size": "sm",
4406
+ checked: N === "dark",
4407
+ onChange: q,
4408
+ label: D("header.darkMode"),
4409
+ color: "neutral",
4410
+ "data-color-scheme": "light"
4411
+ }
4412
+ ) })
4413
+ ] }),
4414
+ /* @__PURE__ */ r.jsxs("div", { className: T.slotContent, children: [
4415
+ n,
4416
+ U && v && b && b.length > 0 && /* @__PURE__ */ r.jsx("nav", { className: T.navList, children: b.map((S, I) => /* @__PURE__ */ r.jsx(
4417
+ Ne,
4418
+ {
4419
+ href: S.href,
4420
+ className: T.navLink,
4421
+ onClick: (C) => {
4422
+ e && (C.preventDefault(), e(S.href));
4423
+ },
4424
+ children: S.label
4425
+ },
4426
+ I
4427
+ )) })
4428
+ ] }),
4429
+ U && /* @__PURE__ */ r.jsx("div", { className: T.menuBrand, children: /* @__PURE__ */ r.jsx(Y, {}) })
4430
+ ] })
4312
4431
  ] }) }),
4313
- w && /* @__PURE__ */ i.jsx("div", { className: C.searchOverlay, children: /* @__PURE__ */ i.jsxs("div", { className: C.searchContent, children: [
4314
- /* @__PURE__ */ i.jsxs(Be, { children: [
4315
- /* @__PURE__ */ i.jsx(
4316
- Be.Input,
4432
+ j && /* @__PURE__ */ r.jsx("div", { className: T.searchOverlay, children: /* @__PURE__ */ r.jsxs("div", { className: T.searchContent, children: [
4433
+ /* @__PURE__ */ r.jsxs(Pe, { children: [
4434
+ /* @__PURE__ */ r.jsx(
4435
+ Pe.Input,
4317
4436
  {
4318
- "aria-label": j("header.search"),
4319
- placeholder: j("header.searchPlaceholder"),
4320
- value: L,
4321
- onChange: (S) => z(S.target.value)
4437
+ "aria-label": D("header.search"),
4438
+ placeholder: D("header.searchPlaceholder"),
4439
+ value: B,
4440
+ onChange: (S) => $(S.target.value)
4322
4441
  }
4323
4442
  ),
4324
- /* @__PURE__ */ i.jsx(Be.Button, { "aria-label": j("header.search") }),
4325
- /* @__PURE__ */ i.jsx(Be.ClearButton, { onClick: () => z(""), "aria-label": j("header.clearSearch") })
4443
+ /* @__PURE__ */ r.jsx(Pe.Button, { "aria-label": D("header.search") }),
4444
+ /* @__PURE__ */ r.jsx(Pe.ClearButton, { onClick: () => $(""), "aria-label": D("header.clearSearch") })
4326
4445
  ] }),
4327
- L && /* @__PURE__ */ i.jsx("div", { className: C.searchResults, children: c.length > 0 ? /* @__PURE__ */ i.jsxs("div", { className: C.suggestionsSection, children: [
4328
- /* @__PURE__ */ i.jsx("h3", { className: C.suggestionsTitle, children: j("header.suggestions") }),
4329
- /* @__PURE__ */ i.jsx("ul", { className: C.resultList, children: c.slice(0, 5).map((S) => /* @__PURE__ */ i.jsx("li", { className: C.resultItem, children: /* @__PURE__ */ i.jsxs(
4446
+ B && /* @__PURE__ */ r.jsx("div", { className: T.searchResults, children: P.length > 0 ? /* @__PURE__ */ r.jsxs("div", { className: T.suggestionsSection, children: [
4447
+ /* @__PURE__ */ r.jsx("h3", { className: T.suggestionsTitle, children: D("header.suggestions") }),
4448
+ /* @__PURE__ */ r.jsx("ul", { className: T.resultList, children: P.slice(0, 5).map((S) => /* @__PURE__ */ r.jsx("li", { className: T.resultItem, children: /* @__PURE__ */ r.jsxs(
4330
4449
  "button",
4331
4450
  {
4332
- className: C.resultLink,
4333
- onClick: () => I(S.path),
4451
+ className: T.resultLink,
4452
+ onClick: () => z(S.path),
4334
4453
  children: [
4335
- /* @__PURE__ */ i.jsx("span", { className: C.suggestionIcon, children: /* @__PURE__ */ i.jsx(gt, { "aria-hidden": !0 }) }),
4336
- /* @__PURE__ */ i.jsx("span", { className: C.suggestionText, children: (() => {
4337
- const E = S.title.toLowerCase().indexOf(L.toLowerCase());
4338
- if (E === -1) return /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: S.title });
4339
- const q = S.title.slice(0, E), G = S.title.slice(E, E + L.length), N = S.title.slice(E + L.length);
4340
- return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
4341
- /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: q }),
4342
- /* @__PURE__ */ i.jsx("span", { className: C.highlightedText, children: G }),
4343
- /* @__PURE__ */ i.jsx("span", { className: C.remainingText, children: N })
4454
+ /* @__PURE__ */ r.jsx("span", { className: T.suggestionIcon, children: /* @__PURE__ */ r.jsx(ft, { "aria-hidden": !0 }) }),
4455
+ /* @__PURE__ */ r.jsx("span", { className: T.suggestionText, children: (() => {
4456
+ const I = S.title.toLowerCase().indexOf(B.toLowerCase());
4457
+ if (I === -1) return /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: S.title });
4458
+ const C = S.title.slice(0, I), W = S.title.slice(I, I + B.length), J = S.title.slice(I + B.length);
4459
+ return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
4460
+ /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: C }),
4461
+ /* @__PURE__ */ r.jsx("span", { className: T.highlightedText, children: W }),
4462
+ /* @__PURE__ */ r.jsx("span", { className: T.remainingText, children: J })
4344
4463
  ] });
4345
4464
  })() })
4346
4465
  ]
4347
4466
  }
4348
4467
  ) }, S.id)) }),
4349
- c.length > 5 && /* @__PURE__ */ i.jsxs(
4350
- Ge,
4468
+ P.length > 5 && /* @__PURE__ */ r.jsxs(
4469
+ Ne,
4351
4470
  {
4352
4471
  href: "#",
4353
4472
  "data-color": "neutral",
4354
- className: C.viewAllLink,
4473
+ className: T.viewAllLink,
4355
4474
  onClick: (S) => {
4356
- S.preventDefault(), t && t(`search/${L}`), D(!1), z("");
4475
+ S.preventDefault(), e && e(`search/${B}`), L(!1), $("");
4357
4476
  },
4358
4477
  children: [
4359
- j("header.viewAll"),
4478
+ D("header.viewAll"),
4360
4479
  " (",
4361
- c.length,
4480
+ P.length,
4362
4481
  ")"
4363
4482
  ]
4364
4483
  }
4365
4484
  )
4366
- ] }) : /* @__PURE__ */ i.jsx("div", { className: C.noResults, children: /* @__PURE__ */ i.jsxs(Je, { children: [
4367
- j("header.noResults"),
4485
+ ] }) : /* @__PURE__ */ r.jsx("div", { className: T.noResults, children: /* @__PURE__ */ r.jsxs(Ze, { children: [
4486
+ D("header.noResults"),
4368
4487
  ' "',
4369
- L,
4488
+ B,
4370
4489
  '"'
4371
4490
  ] }) }) })
4372
4491
  ] }) })
4373
4492
  ] });
4374
4493
  };
4375
- function la(e) {
4376
- const t = e;
4494
+ function ma(t) {
4495
+ const e = t;
4377
4496
  return `
4378
- .${t.header} {
4497
+ .${e.header} {
4379
4498
  width: 100%;
4380
4499
  background-color: var(--ds-color-neutral-background-default);
4381
- border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
4500
+ border-bottom: none;
4382
4501
  position: relative;
4383
4502
  z-index: 1000;
4384
4503
  display: flex;
4385
4504
  flex-direction: column;
4386
4505
  }
4387
- .${t.headerExtension} {
4506
+ .${e.headerExtension} {
4388
4507
  background-color: var(--ds-color-primary-color-red-base-default, #D52B1E);
4389
4508
  width: 100%;
4390
4509
  height: 44px;
@@ -4395,7 +4514,7 @@ function la(e) {
4395
4514
  box-sizing: border-box;
4396
4515
  color: white;
4397
4516
  }
4398
- .${t.extensionContentWrapper} {
4517
+ .${e.extensionContentWrapper} {
4399
4518
  width: 100%;
4400
4519
  max-width: 1364px;
4401
4520
  display: flex;
@@ -4403,138 +4522,158 @@ function la(e) {
4403
4522
  align-items: center;
4404
4523
  gap: var(--ds-size-4);
4405
4524
  }
4406
- .${t.extensionDivider} { width: 1px; height: 18px; background-color: rgba(247,233,232,1); }
4407
- .${t.languageSwitch} { display: flex; align-items: center; gap: var(--ds-size-2); }
4408
- .${t.languageLabel} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: #ECECEC; }
4409
- .${t.languageLink} { color: white; text-decoration: none; display: flex; align-items: center; gap: 4px; }
4410
- .${t.headerInner} {
4525
+ .${e.extensionDivider} { width: 1px; height: 18px; background-color: rgba(247,233,232,1); }
4526
+ .${e.languageSwitch} { display: flex; align-items: center; gap: var(--ds-size-2); }
4527
+ .${e.languageLabel} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: #ECECEC; }
4528
+ .${e.languageLink} { color: white; text-decoration: none; display: flex; align-items: center; gap: 4px; }
4529
+ .${e.languageSwitch} :global([popover]) { margin-top: 0 !important; background-color: var(--ds-color-neutral-background-default) !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
4530
+ .${e.headerInner} {
4411
4531
  display: flex; align-items: center; justify-content: space-between;
4412
4532
  min-height: 119px; width: 100%; max-width: 1364px;
4413
4533
  margin: 0 auto; padding: 0 var(--ds-size-6); box-sizing: border-box; gap: var(--ds-size-6);
4414
4534
  }
4415
- .${t.logoWrapper} { display: flex; align-items: center; height: 119px; flex-shrink: 0; background-color: white; }
4416
- .${t.logo} { display: flex; align-items: center; justify-content: center; width: 217px; height: 100%; text-decoration: none; color: inherit; flex-shrink: 0; }
4417
- .${t.redCrossLogo} { width: 169px; height: auto; display: block; }
4418
- .${t.secondaryLogoWrapper} { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--ds-size-6); background: var(--ds-color-neutral-background-default); }
4419
- .${t.secondaryLogo} { height: 24px; width: auto; display: block; }
4420
- .${t.navItems} { display: flex; gap: 40px; align-items: center; margin-left: 24px; flex-grow: 1; justify-content: center; }
4421
- .${t.navLink} { color: var(--ds-color-primary-color-red-text-default); font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); text-decoration: none; font-weight: var(--ds-font-weight-regular); letter-spacing: 0.09px; }
4422
- .${t.navLink}:hover { text-decoration: underline; }
4423
- .${t.actions} { display: flex; align-items: center; gap: var(--ds-size-6); flex-shrink: 0; margin-left: auto; }
4424
- .${t.ctaButton} { display: flex; align-items: center; }
4425
- .${t.themeToggle} { display: flex; align-items: center; }
4426
- .${t.userInfo} { display: flex; align-items: center; gap: var(--ds-size-3); }
4427
- .${t.userName} { display: block; font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); }
4428
- .${t.loginLink} { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ds-color-main-text-subtle); gap: 2px; }
4429
- .${t.loginText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); font-weight: var(--ds-font-weight-regular); line-height: 1.5; }
4430
- .${t.underline} { width: 100%; height: 1px; background-color: var(--ds-color-main-border-strong); }
4431
- .${t.searchButtonWrapper} { display: flex; }
4432
- .${t.buttonText} { display: inline-block; margin-left: var(--ds-size-2); }
4433
- .${t.menuButton} { display: flex; align-items: center; }
4434
- .${t.menuOverlay}, .${t.searchOverlay} {
4535
+ .${e.logoWrapper} { display: flex; align-items: center; height: 119px; flex-shrink: 0; background-color: white; }
4536
+ .${e.logo} { display: flex; align-items: center; justify-content: center; width: 217px; height: 100%; text-decoration: none; color: inherit; flex-shrink: 0; }
4537
+ .${e.redCrossLogo} { width: 169px; height: auto; display: block; }
4538
+ .${e.secondaryLogoWrapper} { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 var(--ds-size-6); background: var(--ds-color-neutral-background-default); }
4539
+ .${e.secondaryLogo} { height: 24px; width: auto; display: block; }
4540
+ .${e.navItems} { display: flex; gap: 40px; align-items: center; margin-left: 24px; flex-grow: 1; justify-content: flex-end; }
4541
+ .${e.navLink} { color: var(--ds-color-primary-color-red-text-default); font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); text-decoration: none; font-weight: var(--ds-font-weight-regular); letter-spacing: 0.09px; }
4542
+ .${e.navLink}:hover { text-decoration: underline; }
4543
+ .${e.actions} { display: flex; align-items: center; gap: var(--ds-size-6); flex-shrink: 0; margin-left: auto; }
4544
+ .${e.ctaButton} { display: flex; align-items: center; }
4545
+ .${e.themeToggle} { display: flex; align-items: center; }
4546
+ .${e.userInfo} { display: flex; align-items: center; gap: var(--ds-size-3); }
4547
+ .${e.userName} { display: block; font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); }
4548
+ .${e.loginLink} { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ds-color-main-text-subtle); gap: 2px; }
4549
+ .${e.loginText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); font-weight: var(--ds-font-weight-regular); line-height: 1.5; }
4550
+ .${e.underline} { width: 100%; height: 1px; background-color: var(--ds-color-main-border-strong); }
4551
+ .${e.searchButtonWrapper} { display: flex; }
4552
+ .${e.buttonText} { display: inline-block; margin-left: var(--ds-size-2); }
4553
+ .${e.menuButton} { display: flex; align-items: center; }
4554
+ .${e.menuOverlay}, .${e.searchOverlay} {
4435
4555
  position: absolute; top: 100%; left: 0; width: 100%;
4436
4556
  background-color: var(--ds-color-neutral-background-default);
4437
- border-bottom: 1px solid var(--ds-color-neutral-border-subtle);
4438
- box-shadow: var(--ds-shadow-lg); z-index: 999;
4557
+ border-bottom: none;
4558
+ box-shadow: none; z-index: 999;
4439
4559
  }
4440
- .${t.searchOverlay} { padding: var(--ds-size-10) 0; }
4441
- .${t.searchContent} {
4560
+ .${e.searchOverlay} { padding: var(--ds-size-10) 0; }
4561
+ .${e.searchOverlay}::before { display: none; }
4562
+ .${e.searchContent} {
4442
4563
  max-width: 1364px; margin: 0 auto;
4443
- padding: 0 var(--ds-size-6) 0 calc(217px + var(--ds-size-6));
4564
+ padding: var(--ds-size-6) var(--ds-size-6) var(--ds-size-6) calc(217px + var(--ds-size-6) + var(--ds-size-4));
4444
4565
  display: flex; flex-direction: column; align-items: stretch; box-sizing: border-box;
4445
4566
  }
4446
- .${t.menuContent} { max-width: 1364px; margin: 0 auto; display: flex; flex-direction: row; align-items: stretch; box-sizing: border-box; }
4447
- .${t.menuLeftColumn} { width: calc(217px + var(--ds-size-6)); flex-shrink: 0; }
4448
- .${t.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
4449
- .${t.slotContent} { width: 100%; padding: var(--ds-size-10) 0; text-align: center; color: var(--ds-color-neutral-text-subtle); font-size: var(--ds-font-size-md); border-radius: var(--ds-border-radius-md); }
4450
- .${t.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
4451
- .${t.suggestionsTitle} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-subtle); font-weight: var(--ds-font-weight-regular); margin: 0; letter-spacing: 0.09px; }
4452
- .${t.searchResults} { margin-top: var(--ds-size-4); max-height: 400px; overflow-y: auto; }
4453
- .${t.resultList} { list-style: none; padding: 0; margin: 0; }
4454
- .${t.resultItem} { border-bottom: none; }
4455
- .${t.resultLink} {
4567
+ .${e.menuContent} { max-width: 1364px; margin: 0 auto; display: flex; flex-direction: row; align-items: stretch; box-sizing: border-box; }
4568
+ .${e.menuLeftColumn} { width: calc(217px + var(--ds-size-6)); flex-shrink: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--ds-size-6); }
4569
+ .${e.menuRightColumn} { flex: 1; display: flex; flex-direction: column; padding: 48px 24px 80px 24px; gap: 24px; }
4570
+ .${e.slotContent} { width: 100%; padding: var(--ds-size-10) 0; text-align: left; color: var(--ds-color-neutral-text-subtle); font-size: var(--ds-font-size-md); border-radius: var(--ds-border-radius-md); display: flex; flex-direction: column; gap: var(--ds-size-4); align-items: flex-start; }
4571
+ .${e.navList} { display: flex; flex-direction: column; gap: var(--ds-size-3); align-items: flex-start; }
4572
+ .${e.menuBrand} { display: none; }
4573
+ .${e.menuUtilities} { display: flex; justify-content: space-between; align-items: center; width: 100%; }
4574
+ .${e.suggestionsSection} { display: flex; flex-direction: column; gap: var(--ds-size-4); }
4575
+ .${e.suggestionsTitle} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-subtle); font-weight: var(--ds-font-weight-regular); margin: 0; letter-spacing: 0.09px; }
4576
+ .${e.searchResults} { margin-top: var(--ds-size-4); max-height: 400px; overflow-y: auto; }
4577
+ .${e.resultList} { list-style: none; padding: 0; margin: 0; }
4578
+ .${e.resultItem} { border-bottom: none; }
4579
+ .${e.resultLink} {
4456
4580
  display: flex; flex-direction: row; align-items: center; width: 100%;
4457
4581
  padding: var(--ds-size-2) 0; background: none; border: none;
4458
4582
  text-align: left; cursor: pointer; gap: var(--ds-size-4); text-decoration: none;
4459
4583
  }
4460
- .${t.suggestionIcon} { font-size: 20px; color: var(--ds-color-neutral-text-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
4461
- .${t.suggestionText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); line-height: 1.5; }
4462
- .${t.highlightedText} { color: var(--ds-color-primary-color-red-text-default); font-weight: var(--ds-font-weight-medium); }
4463
- .${t.remainingText} { color: var(--ds-color-neutral-border-subtle); }
4464
- .${t.viewAllLink} { display: block; padding: var(--ds-size-3); text-align: left; font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); color: var(--ds-color-neutral-text-default); text-decoration: none; }
4465
- .${t.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
4466
- @media (max-width: 767px) {
4467
- .${t.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
4468
- .${t.navItems} { display: none; }
4469
- .${t.logoWrapper} { gap: var(--ds-size-2); }
4470
- .${t.logo} { height: 40px; }
4471
- .${t.secondaryLogo} { height: 28px; }
4472
- .${t.actions} { gap: var(--ds-size-4); }
4473
- .${t.userName} { display: none; }
4474
- .${t.menuButton} .${t.buttonText} { display: none; }
4475
- .${t.searchButtonWrapper} .${t.buttonText} { display: inline; }
4476
- .${t.menuOverlay}, .${t.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; border-bottom: 1px solid var(--ds-color-neutral-border-subtle); }
4477
- .${t.searchContent} { padding: 0 var(--ds-size-6); }
4478
- .${t.menuContent} { flex-direction: column; padding: 0; }
4479
- .${t.menuLeftColumn} { display: none; }
4480
- .${t.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); }
4584
+ .${e.suggestionIcon} { font-size: 20px; color: var(--ds-color-neutral-text-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
4585
+ .${e.suggestionText} { font-family: var(--ds-font-family); font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-text-default); line-height: 1.5; }
4586
+ .${e.highlightedText} { color: var(--ds-color-primary-color-red-text-default); font-weight: var(--ds-font-weight-medium); }
4587
+ .${e.remainingText} { color: var(--ds-color-neutral-border-subtle); }
4588
+ .${e.viewAllLink} { display: block; padding: var(--ds-size-3); text-align: left; font-size: var(--ds-font-size-sm); font-weight: var(--ds-font-weight-medium); color: var(--ds-color-neutral-text-default); text-decoration: none; }
4589
+ .${e.noResults} { padding: var(--ds-size-4); text-align: center; color: var(--ds-color-neutral-text-subtle); }
4590
+ @media (max-width: 850px) {
4591
+ .${e.header} { z-index: 10000; position: relative; }
4592
+ .${e.headerExtension} { display: none; }
4593
+ .${e.headerInner} { padding: var(--ds-size-5) var(--ds-size-6); min-height: auto; }
4594
+ .${e.navItems} { display: none; }
4595
+ .${e.logoWrapper} { gap: var(--ds-size-2); }
4596
+ .${e.logo} { height: 40px; }
4597
+ /* Mobile: always hide primary logo in header */
4598
+ .${e.primaryLogo} { display: none; }
4599
+ .${e.secondaryLogo} { height: 28px; }
4600
+ .${e.secondaryLogoWrapper} { padding: 0; }
4601
+ .${e.actions} { gap: var(--ds-size-4); }
4602
+ .${e.userName} { display: none; }
4603
+ .${e.menuButton} .${e.buttonText} { display: none; }
4604
+ .${e.searchButtonWrapper} .${e.buttonText} { display: inline; }
4605
+ .${e.menuOverlay} { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; width: 100vw; height: calc(100vh - 70px); z-index: 9999; border-radius: 0; border: none; overflow-y: auto; }
4606
+ .${e.searchOverlay} { width: 100%; right: 0; left: 0; border-radius: 0; border: none; }
4607
+ .${e.searchContent} { padding: var(--ds-size-6); }
4608
+ .${e.menuContent} { flex-direction: column; padding: 0; min-height: 100%; }
4609
+ .${e.menuRightColumn} { padding: var(--ds-size-6); gap: var(--ds-size-4); flex: 1; display: flex; flex-direction: column; min-height: 0; }
4610
+ .${e.menuLeftColumn} { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: var(--ds-size-6); }
4611
+ .${e.menuBrand} { display: flex; justify-content: flex-start; margin-top: auto; padding: var(--ds-size-6); margin-left: calc(-1 * var(--ds-size-6)); margin-right: calc(-1 * var(--ds-size-6)); margin-bottom: calc(-1 * var(--ds-size-6)); background-color: white; }
4612
+ .${e.menuUtilities} .${e.languageSwitch} :global([popover]) { background-color: var(--ds-color-neutral-background-default) !important; margin-top: 0 !important; position: fixed !important; overflow: visible; z-index: 20000 !important; }
4613
+ @media (prefers-color-scheme: light) {
4614
+ .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
4615
+ .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
4616
+ }
4617
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLabel} { color: var(--color-neutral-text-default, #2B2B2B); }
4618
+ [data-color-scheme="light"] .${e.menuUtilities} .${e.languageLink} { color: var(--color-neutral-text-default, #2B2B2B) !important; }
4619
+ .${e.searchOverlay}::before { display: none; }
4481
4620
  }
4482
4621
  `;
4483
4622
  }
4484
4623
  export {
4485
4624
  so as Alert,
4486
- Lt as Avatar,
4625
+ Ft as Avatar,
4487
4626
  ao as Badge,
4488
- ga as BadgePosition,
4489
- pa as Breadcrumbs,
4490
- ha as BreadcrumbsItem,
4491
- ka as BreadcrumbsLink,
4492
- fa as BreadcrumbsList,
4627
+ ka as BadgePosition,
4628
+ ba as Breadcrumbs,
4629
+ ya as BreadcrumbsItem,
4630
+ xa as BreadcrumbsLink,
4631
+ va as BreadcrumbsList,
4493
4632
  ye as Button,
4494
4633
  io as Card,
4495
- ba as CardBlock,
4634
+ Ta as CardBlock,
4496
4635
  os as Carousel,
4497
4636
  lo as Checkbox,
4498
- ya as Chip,
4637
+ wa as Chip,
4499
4638
  ir as DateInput,
4500
4639
  Qo as DatePicker,
4501
- xa as Details,
4502
- Ta as Dialog,
4503
- Sa as Divider,
4504
- ce as Dropdown,
4505
- wa as ErrorSummary,
4506
- Ca as Field,
4640
+ Ca as Details,
4641
+ ja as Dialog,
4642
+ Da as Divider,
4643
+ ee as Dropdown,
4644
+ Ia as ErrorSummary,
4645
+ La as Field,
4507
4646
  ss as FieldCounter,
4508
4647
  rs as FieldDescription,
4509
- ja as Fieldset,
4510
- Ga as Header,
4648
+ Aa as Fieldset,
4649
+ Ya as Header,
4511
4650
  as as Heading,
4512
- Da as Input,
4651
+ Fa as Input,
4513
4652
  is as Label,
4514
- Va as LanguageProvider,
4515
- Ge as Link,
4516
- Ia as List,
4517
- Aa as Pagination,
4518
- Je as Paragraph,
4519
- Fa as Popover,
4520
- _a as Radio,
4521
- Be as Search,
4522
- Na as Select,
4523
- Ba as SkeletonLoader,
4524
- Pa as SkipLink,
4653
+ qa as LanguageProvider,
4654
+ Ne as Link,
4655
+ _a as List,
4656
+ Ea as Pagination,
4657
+ Ze as Paragraph,
4658
+ Na as Popover,
4659
+ Pa as Radio,
4660
+ Pe as Search,
4661
+ Ra as Select,
4662
+ za as SkeletonLoader,
4663
+ Oa as SkipLink,
4525
4664
  ns as Spinner,
4526
4665
  ls as Suggestion,
4527
- Ct as Switch,
4528
- Ra as Table,
4529
- Ma as Tabs,
4530
- za as Tag,
4531
- Oa as Textarea,
4532
- Ha as Textfield,
4533
- $a as ToggleGroup,
4534
- Wa as Tooltip,
4666
+ Ue as Switch,
4667
+ $a as Table,
4668
+ Ha as Tabs,
4669
+ Wa as Tag,
4670
+ Va as Textarea,
4671
+ Ga as Textfield,
4672
+ Ua as ToggleGroup,
4673
+ Ka as Tooltip,
4535
4674
  ds as ValidationMessage,
4536
- va as useCheckboxGroup,
4675
+ Sa as useCheckboxGroup,
4537
4676
  us as useLanguage,
4538
- La as usePagination,
4539
- Ea as useRadioGroup
4677
+ Ba as usePagination,
4678
+ Ma as useRadioGroup
4540
4679
  };