@oslokommune/punkt-react 11.14.1 → 11.14.2

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,4 +1,4 @@
1
- import q, { forwardRef as F, createContext as Rt, useState as X, useContext as Pt, useEffect as oe, useRef as $e, Fragment as $t } from "react";
1
+ import K, { forwardRef as S, createContext as Rt, useState as X, useContext as Pt, useEffect as oe, useRef as $e, Fragment as $t } from "react";
2
2
  import { Link as qe } from "react-router-dom";
3
3
  function Tt(r) {
4
4
  return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
@@ -18,18 +18,18 @@ function St() {
18
18
  if (Xe)
19
19
  return le;
20
20
  Xe = 1;
21
- var r = q, n = Symbol.for("react.element"), c = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, o = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
22
- function d(s, p, u) {
23
- var k, h = {}, x = null, g = null;
24
- u !== void 0 && (x = "" + u), p.key !== void 0 && (x = "" + p.key), p.ref !== void 0 && (g = p.ref);
25
- for (k in p)
26
- i.call(p, k) && !a.hasOwnProperty(k) && (h[k] = p[k]);
27
- if (s && s.defaultProps)
28
- for (k in p = s.defaultProps, p)
29
- h[k] === void 0 && (h[k] = p[k]);
30
- return { $$typeof: n, type: s, key: x, ref: g, props: h, _owner: o.current };
21
+ var r = K, n = Symbol.for("react.element"), o = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function d(a, u, p) {
23
+ var k, h = {}, v = null, g = null;
24
+ p !== void 0 && (v = "" + p), u.key !== void 0 && (v = "" + u.key), u.ref !== void 0 && (g = u.ref);
25
+ for (k in u)
26
+ l.call(u, k) && !s.hasOwnProperty(k) && (h[k] = u[k]);
27
+ if (a && a.defaultProps)
28
+ for (k in u = a.defaultProps, u)
29
+ h[k] === void 0 && (h[k] = u[k]);
30
+ return { $$typeof: n, type: a, key: v, ref: g, props: h, _owner: c.current };
31
31
  }
32
- return le.Fragment = c, le.jsx = d, le.jsxs = d, le;
32
+ return le.Fragment = o, le.jsx = d, le.jsxs = d, le;
33
33
  }
34
34
  var ie = {};
35
35
  /**
@@ -44,45 +44,45 @@ var ie = {};
44
44
  var Ze;
45
45
  function It() {
46
46
  return Ze || (Ze = 1, process.env.NODE_ENV !== "production" && function() {
47
- var r = q, n = Symbol.for("react.element"), c = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), s = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), E = Symbol.iterator, S = "@@iterator";
47
+ var r = K, n = Symbol.for("react.element"), o = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), a = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), E = Symbol.iterator, I = "@@iterator";
48
48
  function $(t) {
49
49
  if (t === null || typeof t != "object")
50
50
  return null;
51
- var l = E && t[E] || t[S];
52
- return typeof l == "function" ? l : null;
51
+ var i = E && t[E] || t[I];
52
+ return typeof i == "function" ? i : null;
53
53
  }
54
54
  var C = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function w(t) {
56
56
  {
57
- for (var l = arguments.length, f = new Array(l > 1 ? l - 1 : 0), _ = 1; _ < l; _++)
57
+ for (var i = arguments.length, f = new Array(i > 1 ? i - 1 : 0), _ = 1; _ < i; _++)
58
58
  f[_ - 1] = arguments[_];
59
- v("error", t, f);
59
+ b("error", t, f);
60
60
  }
61
61
  }
62
- function v(t, l, f) {
62
+ function b(t, i, f) {
63
63
  {
64
64
  var _ = C.ReactDebugCurrentFrame, y = _.getStackAddendum();
65
- y !== "" && (l += "%s", f = f.concat([y]));
65
+ y !== "" && (i += "%s", f = f.concat([y]));
66
66
  var R = f.map(function(N) {
67
67
  return String(N);
68
68
  });
69
- R.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, R);
69
+ R.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, R);
70
70
  }
71
71
  }
72
- var I = !1, Y = !1, U = !1, B = !1, H = !1, W;
73
- W = Symbol.for("react.module.reference");
74
- function z(t) {
75
- return !!(typeof t == "string" || typeof t == "function" || t === i || t === a || H || t === o || t === u || t === k || B || t === g || I || Y || U || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === h || t.$$typeof === d || t.$$typeof === s || t.$$typeof === p || // This needs to include all possible module reference object
72
+ var O = !1, Y = !1, B = !1, W = !1, G = !1, V;
73
+ V = Symbol.for("react.module.reference");
74
+ function J(t) {
75
+ return !!(typeof t == "string" || typeof t == "function" || t === l || t === s || G || t === c || t === p || t === k || W || t === g || O || Y || B || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === h || t.$$typeof === d || t.$$typeof === a || t.$$typeof === u || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
- t.$$typeof === W || t.getModuleId !== void 0));
79
+ t.$$typeof === V || t.getModuleId !== void 0));
80
80
  }
81
- function M(t, l, f) {
81
+ function z(t, i, f) {
82
82
  var _ = t.displayName;
83
83
  if (_)
84
84
  return _;
85
- var y = l.displayName || l.name || "";
85
+ var y = i.displayName || i.name || "";
86
86
  return y !== "" ? f + "(" + y + ")" : f;
87
87
  }
88
88
  function A(t) {
@@ -96,33 +96,33 @@ function It() {
96
96
  if (typeof t == "string")
97
97
  return t;
98
98
  switch (t) {
99
- case i:
99
+ case l:
100
100
  return "Fragment";
101
- case c:
101
+ case o:
102
102
  return "Portal";
103
- case a:
103
+ case s:
104
104
  return "Profiler";
105
- case o:
105
+ case c:
106
106
  return "StrictMode";
107
- case u:
107
+ case p:
108
108
  return "Suspense";
109
109
  case k:
110
110
  return "SuspenseList";
111
111
  }
112
112
  if (typeof t == "object")
113
113
  switch (t.$$typeof) {
114
- case s:
115
- var l = t;
116
- return A(l) + ".Consumer";
114
+ case a:
115
+ var i = t;
116
+ return A(i) + ".Consumer";
117
117
  case d:
118
118
  var f = t;
119
119
  return A(f._context) + ".Provider";
120
- case p:
121
- return M(t, t.render, "ForwardRef");
120
+ case u:
121
+ return z(t, t.render, "ForwardRef");
122
122
  case h:
123
123
  var _ = t.displayName || null;
124
124
  return _ !== null ? _ : P(t.type) || "Memo";
125
- case x: {
125
+ case v: {
126
126
  var y = t, R = y._payload, N = y._init;
127
127
  try {
128
128
  return P(N(R));
@@ -196,7 +196,7 @@ function It() {
196
196
  }
197
197
  }
198
198
  var he = C.ReactCurrentDispatcher, _e;
199
- function pe(t, l, f) {
199
+ function pe(t, i, f) {
200
200
  {
201
201
  if (_e === void 0)
202
202
  try {
@@ -209,13 +209,13 @@ function It() {
209
209
  ` + _e + t;
210
210
  }
211
211
  }
212
- var be = !1, ue;
212
+ var xe = !1, ue;
213
213
  {
214
214
  var nt = typeof WeakMap == "function" ? WeakMap : Map;
215
215
  ue = new nt();
216
216
  }
217
- function De(t, l) {
218
- if (!t || be)
217
+ function De(t, i) {
218
+ if (!t || xe)
219
219
  return "";
220
220
  {
221
221
  var f = ue.get(t);
@@ -223,13 +223,13 @@ function It() {
223
223
  return f;
224
224
  }
225
225
  var _;
226
- be = !0;
226
+ xe = !0;
227
227
  var y = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
229
  var R;
230
230
  R = he.current, he.current = null, tt();
231
231
  try {
232
- if (l) {
232
+ if (i) {
233
233
  var N = function() {
234
234
  throw Error();
235
235
  };
@@ -240,107 +240,107 @@ function It() {
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
242
  Reflect.construct(N, []);
243
- } catch (K) {
244
- _ = K;
243
+ } catch (H) {
244
+ _ = H;
245
245
  }
246
246
  Reflect.construct(t, [], N);
247
247
  } else {
248
248
  try {
249
249
  N.call();
250
- } catch (K) {
251
- _ = K;
250
+ } catch (H) {
251
+ _ = H;
252
252
  }
253
253
  t.call(N.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
257
257
  throw Error();
258
- } catch (K) {
259
- _ = K;
258
+ } catch (H) {
259
+ _ = H;
260
260
  }
261
261
  t();
262
262
  }
263
- } catch (K) {
264
- if (K && _ && typeof K.stack == "string") {
265
- for (var j = K.stack.split(`
266
- `), V = _.stack.split(`
267
- `), T = j.length - 1, O = V.length - 1; T >= 1 && O >= 0 && j[T] !== V[O]; )
268
- O--;
269
- for (; T >= 1 && O >= 0; T--, O--)
270
- if (j[T] !== V[O]) {
271
- if (T !== 1 || O !== 1)
263
+ } catch (H) {
264
+ if (H && _ && typeof H.stack == "string") {
265
+ for (var j = H.stack.split(`
266
+ `), M = _.stack.split(`
267
+ `), T = j.length - 1, F = M.length - 1; T >= 1 && F >= 0 && j[T] !== M[F]; )
268
+ F--;
269
+ for (; T >= 1 && F >= 0; T--, F--)
270
+ if (j[T] !== M[F]) {
271
+ if (T !== 1 || F !== 1)
272
272
  do
273
- if (T--, O--, O < 0 || j[T] !== V[O]) {
274
- var G = `
273
+ if (T--, F--, F < 0 || j[T] !== M[F]) {
274
+ var q = `
275
275
  ` + j[T].replace(" at new ", " at ");
276
- return t.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, G), G;
276
+ return t.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, q), q;
277
277
  }
278
- while (T >= 1 && O >= 0);
278
+ while (T >= 1 && F >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- be = !1, he.current = R, rt(), Error.prepareStackTrace = y;
283
+ xe = !1, he.current = R, rt(), Error.prepareStackTrace = y;
284
284
  }
285
285
  var re = t ? t.displayName || t.name : "", ee = re ? pe(re) : "";
286
286
  return typeof t == "function" && ue.set(t, ee), ee;
287
287
  }
288
- function at(t, l, f) {
288
+ function st(t, i, f) {
289
289
  return De(t, !1);
290
290
  }
291
- function st(t) {
292
- var l = t.prototype;
293
- return !!(l && l.isReactComponent);
291
+ function at(t) {
292
+ var i = t.prototype;
293
+ return !!(i && i.isReactComponent);
294
294
  }
295
- function de(t, l, f) {
295
+ function de(t, i, f) {
296
296
  if (t == null)
297
297
  return "";
298
298
  if (typeof t == "function")
299
- return De(t, st(t));
299
+ return De(t, at(t));
300
300
  if (typeof t == "string")
301
301
  return pe(t);
302
302
  switch (t) {
303
- case u:
303
+ case p:
304
304
  return pe("Suspense");
305
305
  case k:
306
306
  return pe("SuspenseList");
307
307
  }
308
308
  if (typeof t == "object")
309
309
  switch (t.$$typeof) {
310
- case p:
311
- return at(t.render);
310
+ case u:
311
+ return st(t.render);
312
312
  case h:
313
- return de(t.type, l, f);
314
- case x: {
313
+ return de(t.type, i, f);
314
+ case v: {
315
315
  var _ = t, y = _._payload, R = _._init;
316
316
  try {
317
- return de(R(y), l, f);
317
+ return de(R(y), i, f);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var ae = Object.prototype.hasOwnProperty, Ae = {}, Le = C.ReactDebugCurrentFrame;
324
+ var se = Object.prototype.hasOwnProperty, Ae = {}, Le = C.ReactDebugCurrentFrame;
325
325
  function fe(t) {
326
326
  if (t) {
327
- var l = t._owner, f = de(t.type, t._source, l ? l.type : null);
327
+ var i = t._owner, f = de(t.type, t._source, i ? i.type : null);
328
328
  Le.setExtraStackFrame(f);
329
329
  } else
330
330
  Le.setExtraStackFrame(null);
331
331
  }
332
- function lt(t, l, f, _, y) {
332
+ function lt(t, i, f, _, y) {
333
333
  {
334
- var R = Function.call.bind(ae);
334
+ var R = Function.call.bind(se);
335
335
  for (var N in t)
336
336
  if (R(t, N)) {
337
337
  var j = void 0;
338
338
  try {
339
339
  if (typeof t[N] != "function") {
340
- var V = Error((_ || "React class") + ": " + f + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw V.name = "Invariant Violation", V;
340
+ var M = Error((_ || "React class") + ": " + f + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw M.name = "Invariant Violation", M;
342
342
  }
343
- j = t[N](l, N, _, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ j = t[N](i, N, _, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (T) {
345
345
  j = T;
346
346
  }
@@ -349,12 +349,12 @@ function It() {
349
349
  }
350
350
  }
351
351
  var it = Array.isArray;
352
- function xe(t) {
352
+ function ve(t) {
353
353
  return it(t);
354
354
  }
355
355
  function ot(t) {
356
356
  {
357
- var l = typeof Symbol == "function" && Symbol.toStringTag, f = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
357
+ var i = typeof Symbol == "function" && Symbol.toStringTag, f = i && t[Symbol.toStringTag] || t.constructor.name || "Object";
358
358
  return f;
359
359
  }
360
360
  }
@@ -372,39 +372,39 @@ function It() {
372
372
  if (ct(t))
373
373
  return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ot(t)), Ue(t);
374
374
  }
375
- var se = C.ReactCurrentOwner, pt = {
375
+ var ae = C.ReactCurrentOwner, pt = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
379
379
  __source: !0
380
- }, We, Ve, ve;
381
- ve = {};
380
+ }, We, Ve, be;
381
+ be = {};
382
382
  function ut(t) {
383
- if (ae.call(t, "ref")) {
384
- var l = Object.getOwnPropertyDescriptor(t, "ref").get;
385
- if (l && l.isReactWarning)
383
+ if (se.call(t, "ref")) {
384
+ var i = Object.getOwnPropertyDescriptor(t, "ref").get;
385
+ if (i && i.isReactWarning)
386
386
  return !1;
387
387
  }
388
388
  return t.ref !== void 0;
389
389
  }
390
390
  function dt(t) {
391
- if (ae.call(t, "key")) {
392
- var l = Object.getOwnPropertyDescriptor(t, "key").get;
393
- if (l && l.isReactWarning)
391
+ if (se.call(t, "key")) {
392
+ var i = Object.getOwnPropertyDescriptor(t, "key").get;
393
+ if (i && i.isReactWarning)
394
394
  return !1;
395
395
  }
396
396
  return t.key !== void 0;
397
397
  }
398
- function ft(t, l) {
399
- if (typeof t.ref == "string" && se.current && l && se.current.stateNode !== l) {
400
- var f = P(se.current.type);
401
- ve[f] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(se.current.type), t.ref), ve[f] = !0);
398
+ function ft(t, i) {
399
+ if (typeof t.ref == "string" && ae.current && i && ae.current.stateNode !== i) {
400
+ var f = P(ae.current.type);
401
+ be[f] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', P(ae.current.type), t.ref), be[f] = !0);
402
402
  }
403
403
  }
404
- function kt(t, l) {
404
+ function kt(t, i) {
405
405
  {
406
406
  var f = function() {
407
- We || (We = !0, w("%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://reactjs.org/link/special-props)", l));
407
+ We || (We = !0, w("%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://reactjs.org/link/special-props)", i));
408
408
  };
409
409
  f.isReactWarning = !0, Object.defineProperty(t, "key", {
410
410
  get: f,
@@ -412,10 +412,10 @@ function It() {
412
412
  });
413
413
  }
414
414
  }
415
- function mt(t, l) {
415
+ function mt(t, i) {
416
416
  {
417
417
  var f = function() {
418
- Ve || (Ve = !0, w("%s: `ref` 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://reactjs.org/link/special-props)", l));
418
+ Ve || (Ve = !0, w("%s: `ref` 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://reactjs.org/link/special-props)", i));
419
419
  };
420
420
  f.isReactWarning = !0, Object.defineProperty(t, "ref", {
421
421
  get: f,
@@ -423,13 +423,13 @@ function It() {
423
423
  });
424
424
  }
425
425
  }
426
- var ht = function(t, l, f, _, y, R, N) {
426
+ var ht = function(t, i, f, _, y, R, N) {
427
427
  var j = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
429
  $$typeof: n,
430
430
  // Built-in properties that belong on the element
431
431
  type: t,
432
- key: l,
432
+ key: i,
433
433
  ref: f,
434
434
  props: N,
435
435
  // Record the component responsible for creating this element.
@@ -452,38 +452,38 @@ function It() {
452
452
  value: y
453
453
  }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
454
454
  };
455
- function _t(t, l, f, _, y) {
455
+ function _t(t, i, f, _, y) {
456
456
  {
457
- var R, N = {}, j = null, V = null;
458
- f !== void 0 && (Be(f), j = "" + f), dt(l) && (Be(l.key), j = "" + l.key), ut(l) && (V = l.ref, ft(l, y));
459
- for (R in l)
460
- ae.call(l, R) && !pt.hasOwnProperty(R) && (N[R] = l[R]);
457
+ var R, N = {}, j = null, M = null;
458
+ f !== void 0 && (Be(f), j = "" + f), dt(i) && (Be(i.key), j = "" + i.key), ut(i) && (M = i.ref, ft(i, y));
459
+ for (R in i)
460
+ se.call(i, R) && !pt.hasOwnProperty(R) && (N[R] = i[R]);
461
461
  if (t && t.defaultProps) {
462
462
  var T = t.defaultProps;
463
463
  for (R in T)
464
464
  N[R] === void 0 && (N[R] = T[R]);
465
465
  }
466
- if (j || V) {
467
- var O = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
- j && kt(N, O), V && mt(N, O);
466
+ if (j || M) {
467
+ var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
+ j && kt(N, F), M && mt(N, F);
469
469
  }
470
- return ht(t, j, V, y, _, se.current, N);
470
+ return ht(t, j, M, y, _, ae.current, N);
471
471
  }
472
472
  }
473
- var je = C.ReactCurrentOwner, Ye = C.ReactDebugCurrentFrame;
473
+ var je = C.ReactCurrentOwner, Me = C.ReactDebugCurrentFrame;
474
474
  function te(t) {
475
475
  if (t) {
476
- var l = t._owner, f = de(t.type, t._source, l ? l.type : null);
477
- Ye.setExtraStackFrame(f);
476
+ var i = t._owner, f = de(t.type, t._source, i ? i.type : null);
477
+ Me.setExtraStackFrame(f);
478
478
  } else
479
- Ye.setExtraStackFrame(null);
479
+ Me.setExtraStackFrame(null);
480
480
  }
481
481
  var ge;
482
482
  ge = !1;
483
483
  function Ne(t) {
484
484
  return typeof t == "object" && t !== null && t.$$typeof === n;
485
485
  }
486
- function Me() {
486
+ function Ye() {
487
487
  {
488
488
  if (je.current) {
489
489
  var t = P(je.current.type);
@@ -495,51 +495,51 @@ Check the render method of \`` + t + "`.";
495
495
  return "";
496
496
  }
497
497
  }
498
- function bt(t) {
498
+ function xt(t) {
499
499
  {
500
500
  if (t !== void 0) {
501
- var l = t.fileName.replace(/^.*[\\\/]/, ""), f = t.lineNumber;
501
+ var i = t.fileName.replace(/^.*[\\\/]/, ""), f = t.lineNumber;
502
502
  return `
503
503
 
504
- Check your code at ` + l + ":" + f + ".";
504
+ Check your code at ` + i + ":" + f + ".";
505
505
  }
506
506
  return "";
507
507
  }
508
508
  }
509
- var Ke = {};
510
- function xt(t) {
509
+ var ze = {};
510
+ function vt(t) {
511
511
  {
512
- var l = Me();
513
- if (!l) {
512
+ var i = Ye();
513
+ if (!i) {
514
514
  var f = typeof t == "string" ? t : t.displayName || t.name;
515
- f && (l = `
515
+ f && (i = `
516
516
 
517
517
  Check the top-level render call using <` + f + ">.");
518
518
  }
519
- return l;
519
+ return i;
520
520
  }
521
521
  }
522
- function He(t, l) {
522
+ function He(t, i) {
523
523
  {
524
524
  if (!t._store || t._store.validated || t.key != null)
525
525
  return;
526
526
  t._store.validated = !0;
527
- var f = xt(l);
528
- if (Ke[f])
527
+ var f = vt(i);
528
+ if (ze[f])
529
529
  return;
530
- Ke[f] = !0;
530
+ ze[f] = !0;
531
531
  var _ = "";
532
532
  t && t._owner && t._owner !== je.current && (_ = " It was passed a child from " + P(t._owner.type) + "."), te(t), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, _), te(null);
533
533
  }
534
534
  }
535
- function ze(t, l) {
535
+ function Ke(t, i) {
536
536
  {
537
537
  if (typeof t != "object")
538
538
  return;
539
- if (xe(t))
539
+ if (ve(t))
540
540
  for (var f = 0; f < t.length; f++) {
541
541
  var _ = t[f];
542
- Ne(_) && He(_, l);
542
+ Ne(_) && He(_, i);
543
543
  }
544
544
  else if (Ne(t))
545
545
  t._store && (t._store.validated = !0);
@@ -547,39 +547,39 @@ Check the top-level render call using <` + f + ">.");
547
547
  var y = $(t);
548
548
  if (typeof y == "function" && y !== t.entries)
549
549
  for (var R = y.call(t), N; !(N = R.next()).done; )
550
- Ne(N.value) && He(N.value, l);
550
+ Ne(N.value) && He(N.value, i);
551
551
  }
552
552
  }
553
553
  }
554
- function vt(t) {
554
+ function bt(t) {
555
555
  {
556
- var l = t.type;
557
- if (l == null || typeof l == "string")
556
+ var i = t.type;
557
+ if (i == null || typeof i == "string")
558
558
  return;
559
559
  var f;
560
- if (typeof l == "function")
561
- f = l.propTypes;
562
- else if (typeof l == "object" && (l.$$typeof === p || // Note: Memo only checks outer props here.
560
+ if (typeof i == "function")
561
+ f = i.propTypes;
562
+ else if (typeof i == "object" && (i.$$typeof === u || // Note: Memo only checks outer props here.
563
563
  // Inner props are checked in the reconciler.
564
- l.$$typeof === h))
565
- f = l.propTypes;
564
+ i.$$typeof === h))
565
+ f = i.propTypes;
566
566
  else
567
567
  return;
568
568
  if (f) {
569
- var _ = P(l);
569
+ var _ = P(i);
570
570
  lt(f, t.props, "prop", _, t);
571
- } else if (l.PropTypes !== void 0 && !ge) {
571
+ } else if (i.PropTypes !== void 0 && !ge) {
572
572
  ge = !0;
573
- var y = P(l);
573
+ var y = P(i);
574
574
  w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
575
575
  }
576
- typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
+ typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
577
  }
578
578
  }
579
579
  function jt(t) {
580
580
  {
581
- for (var l = Object.keys(t.props), f = 0; f < l.length; f++) {
582
- var _ = l[f];
581
+ for (var i = Object.keys(t.props), f = 0; f < i.length; f++) {
582
+ var _ = i[f];
583
583
  if (_ !== "children" && _ !== "key") {
584
584
  te(t), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), te(null);
585
585
  break;
@@ -588,96 +588,96 @@ Check the top-level render call using <` + f + ">.");
588
588
  t.ref !== null && (te(t), w("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
589
589
  }
590
590
  }
591
- var Je = {};
592
- function Ge(t, l, f, _, y, R) {
591
+ var Ge = {};
592
+ function Je(t, i, f, _, y, R) {
593
593
  {
594
- var N = z(t);
594
+ var N = J(t);
595
595
  if (!N) {
596
596
  var j = "";
597
597
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
598
- var V = bt(y);
599
- V ? j += V : j += Me();
598
+ var M = xt(y);
599
+ M ? j += M : j += Ye();
600
600
  var T;
601
- t === null ? T = "null" : xe(t) ? T = "array" : t !== void 0 && t.$$typeof === n ? (T = "<" + (P(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, j);
601
+ t === null ? T = "null" : ve(t) ? T = "array" : t !== void 0 && t.$$typeof === n ? (T = "<" + (P(t.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, j);
602
602
  }
603
- var O = _t(t, l, f, y, R);
604
- if (O == null)
605
- return O;
603
+ var F = _t(t, i, f, y, R);
604
+ if (F == null)
605
+ return F;
606
606
  if (N) {
607
- var G = l.children;
608
- if (G !== void 0)
607
+ var q = i.children;
608
+ if (q !== void 0)
609
609
  if (_)
610
- if (xe(G)) {
611
- for (var re = 0; re < G.length; re++)
612
- ze(G[re], t);
613
- Object.freeze && Object.freeze(G);
610
+ if (ve(q)) {
611
+ for (var re = 0; re < q.length; re++)
612
+ Ke(q[re], t);
613
+ Object.freeze && Object.freeze(q);
614
614
  } else
615
615
  w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
616
616
  else
617
- ze(G, t);
617
+ Ke(q, t);
618
618
  }
619
- if (ae.call(l, "key")) {
620
- var ee = P(t), K = Object.keys(l).filter(function(Et) {
619
+ if (se.call(i, "key")) {
620
+ var ee = P(t), H = Object.keys(i).filter(function(Et) {
621
621
  return Et !== "key";
622
- }), ye = K.length > 0 ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}";
623
- if (!Je[ee + ye]) {
624
- var Ct = K.length > 0 ? "{" + K.join(": ..., ") + ": ...}" : "{}";
622
+ }), ye = H.length > 0 ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}";
623
+ if (!Ge[ee + ye]) {
624
+ var Ct = H.length > 0 ? "{" + H.join(": ..., ") + ": ...}" : "{}";
625
625
  w(`A props object containing a "key" prop is being spread into JSX:
626
626
  let props = %s;
627
627
  <%s {...props} />
628
628
  React keys must be passed directly to JSX without using spread:
629
629
  let props = %s;
630
- <%s key={someKey} {...props} />`, ye, ee, Ct, ee), Je[ee + ye] = !0;
630
+ <%s key={someKey} {...props} />`, ye, ee, Ct, ee), Ge[ee + ye] = !0;
631
631
  }
632
632
  }
633
- return t === i ? jt(O) : vt(O), O;
633
+ return t === l ? jt(F) : bt(F), F;
634
634
  }
635
635
  }
636
- function gt(t, l, f) {
637
- return Ge(t, l, f, !0);
636
+ function gt(t, i, f) {
637
+ return Je(t, i, f, !0);
638
638
  }
639
- function Nt(t, l, f) {
640
- return Ge(t, l, f, !1);
639
+ function Nt(t, i, f) {
640
+ return Je(t, i, f, !1);
641
641
  }
642
642
  var yt = Nt, wt = gt;
643
- ie.Fragment = i, ie.jsx = yt, ie.jsxs = wt;
643
+ ie.Fragment = l, ie.jsx = yt, ie.jsxs = wt;
644
644
  }()), ie;
645
645
  }
646
646
  process.env.NODE_ENV === "production" ? Re.exports = St() : Re.exports = It();
647
647
  var e = Re.exports;
648
- const Zt = F(
649
- ({ compact: r = !1, skin: n = "borderless", className: c, children: i }, o) => {
650
- const a = [
651
- c,
648
+ const tr = S(
649
+ ({ compact: r = !1, skin: n = "borderless", className: o, children: l }, c) => {
650
+ const s = [
651
+ o,
652
652
  "pkt-accordion",
653
653
  r && "pkt-accordion--compact",
654
654
  n && `pkt-accordion--${n}`
655
655
  ].filter(Boolean).join(" ");
656
- return /* @__PURE__ */ e.jsx("div", { "data-testid": "pkt-accordion", className: a, ref: o, children: i });
656
+ return /* @__PURE__ */ e.jsx("div", { "data-testid": "pkt-accordion", className: s, ref: c, children: l });
657
657
  }
658
658
  ), we = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', Ot = "https://punkt-cdn.oslo.kommune.no/11.14/icons/";
659
659
  function Ft(r) {
660
660
  return new Promise((n) => setTimeout(n, r));
661
661
  }
662
662
  const Ce = {}, Dt = async (r, n) => {
663
- let c = 0;
664
- for (; Ce[n + r + ".svg"] === "fetching" && (c++, !(c > 50)); )
663
+ let o = 0;
664
+ for (; Ce[n + r + ".svg"] === "fetching" && (o++, !(o > 50)); )
665
665
  await Ft(50);
666
666
  return localStorage.getItem(n + r + ".svg") ? Promise.resolve(localStorage.getItem(n + r + ".svg")) : typeof window.fetch == "function" ? (Ce[n + r + ".svg"] = "fetching", Promise.resolve(
667
- fetch(n + r + ".svg").then((i) => i.ok ? i.text() : (console.error("Missing icon: " + n + r + ".svg"), we)).then((i) => (i !== we && localStorage.setItem(n + r + ".svg", i), Ce[n + r + ".svg"] = "fetched", i))
667
+ fetch(n + r + ".svg").then((l) => l.ok ? l.text() : (console.error("Missing icon: " + n + r + ".svg"), we)).then((l) => (l !== we && localStorage.setItem(n + r + ".svg", l), Ce[n + r + ".svg"] = "fetched", l))
668
668
  )) : Promise.resolve(we);
669
669
  }, At = {
670
670
  fetchIcon: async (r, n) => Dt(r, n || Ot)
671
- }, Lt = Rt(At), b = ({ name: r, path: n, className: c = "", ...i }) => {
672
- const [o, a] = X(null), d = Pt(Lt);
671
+ }, Lt = Rt(At), x = ({ name: r, path: n, className: o = "", ...l }) => {
672
+ const [c, s] = X(null), d = Pt(Lt);
673
673
  return oe(() => {
674
- r ? d.fetchIcon(r, n).then(a) : a(null);
675
- }, [r, n]), o ? /* @__PURE__ */ e.jsx(
674
+ r ? d.fetchIcon(r, n).then(s) : s(null);
675
+ }, [r, n]), c ? /* @__PURE__ */ e.jsx(
676
676
  "span",
677
677
  {
678
- className: `pkt-icon ${c}`,
679
- dangerouslySetInnerHTML: { __html: o },
680
- ...i
678
+ className: `pkt-icon ${o}`,
679
+ dangerouslySetInnerHTML: { __html: c },
680
+ ...l
681
681
  }
682
682
  ) : null;
683
683
  };
@@ -690,83 +690,83 @@ var et = { exports: {} };
690
690
  (function(r) {
691
691
  (function() {
692
692
  var n = {}.hasOwnProperty;
693
- function c() {
694
- for (var a = "", d = 0; d < arguments.length; d++) {
695
- var s = arguments[d];
696
- s && (a = o(a, i(s)));
693
+ function o() {
694
+ for (var s = "", d = 0; d < arguments.length; d++) {
695
+ var a = arguments[d];
696
+ a && (s = c(s, l(a)));
697
697
  }
698
- return a;
698
+ return s;
699
699
  }
700
- function i(a) {
701
- if (typeof a == "string" || typeof a == "number")
702
- return a;
703
- if (typeof a != "object")
700
+ function l(s) {
701
+ if (typeof s == "string" || typeof s == "number")
702
+ return s;
703
+ if (typeof s != "object")
704
704
  return "";
705
- if (Array.isArray(a))
706
- return c.apply(null, a);
707
- if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]"))
708
- return a.toString();
705
+ if (Array.isArray(s))
706
+ return o.apply(null, s);
707
+ if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
708
+ return s.toString();
709
709
  var d = "";
710
- for (var s in a)
711
- n.call(a, s) && a[s] && (d = o(d, s));
710
+ for (var a in s)
711
+ n.call(s, a) && s[a] && (d = c(d, a));
712
712
  return d;
713
713
  }
714
- function o(a, d) {
715
- return d ? a ? a + " " + d : a + d : a;
714
+ function c(s, d) {
715
+ return d ? s ? s + " " + d : s + d : s;
716
716
  }
717
- r.exports ? (c.default = c, r.exports = c) : window.classNames = c;
717
+ r.exports ? (o.default = o, r.exports = o) : window.classNames = o;
718
718
  })();
719
719
  })(et);
720
720
  var Ut = et.exports;
721
- const J = /* @__PURE__ */ Tt(Ut), Qt = F(
722
- ({ title: r, className: n, children: c, toggleProps: i, defaultOpen: o = !1, id: a }, d) => {
723
- const [s, p] = X(o), u = i ? i.isOpen : s, k = (g) => g ?? void 0, h = (g, E) => {
724
- g.preventDefault(), i !== void 0 && i.onToggleClick(g, E), p(!u);
725
- }, x = J(n, "pkt-accordion-item");
721
+ const U = /* @__PURE__ */ Tt(Ut), rr = S(
722
+ ({ title: r, className: n, children: o, toggleProps: l, defaultOpen: c = !1, id: s }, d) => {
723
+ const [a, u] = X(c), p = l ? l.isOpen : a, k = (g) => g ?? void 0, h = (g, E) => {
724
+ g.preventDefault(), l !== void 0 && l.onToggleClick(g, E), u(!p);
725
+ }, v = U(n, "pkt-accordion-item");
726
726
  return /* @__PURE__ */ e.jsxs(
727
727
  "details",
728
728
  {
729
- className: x,
729
+ className: v,
730
730
  ref: d,
731
- id: a,
732
- open: k(i ? i.isOpen : s),
731
+ id: s,
732
+ open: k(l ? l.isOpen : a),
733
733
  children: [
734
734
  /* @__PURE__ */ e.jsxs(
735
735
  "summary",
736
736
  {
737
737
  className: "pkt-accordion-item__title",
738
- id: `pkt-accordion-item-summary-${a}`,
739
- onClick: (g) => h(g, a),
738
+ id: `pkt-accordion-item-summary-${s}`,
739
+ onClick: (g) => h(g, s),
740
740
  children: [
741
741
  r,
742
- /* @__PURE__ */ e.jsx(b, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
742
+ /* @__PURE__ */ e.jsx(x, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
743
743
  ]
744
744
  }
745
745
  ),
746
- /* @__PURE__ */ e.jsx("div", { id: `pkt-accordion-item-content-${a}`, role: "region", className: "pkt-accordion-item__content", children: c })
746
+ /* @__PURE__ */ e.jsx("div", { id: `pkt-accordion-item-content-${s}`, role: "region", className: "pkt-accordion-item__content", children: o })
747
747
  ]
748
748
  }
749
749
  );
750
750
  }
751
- ), Bt = F(
751
+ ), Bt = S(
752
752
  ({
753
753
  children: r,
754
754
  className: n,
755
- skin: c = "info",
756
- closeAlert: i = !1,
757
- onClose: o,
758
- title: a,
755
+ skin: o = "info",
756
+ closeAlert: l = !1,
757
+ onClose: c,
758
+ title: s,
759
759
  date: d,
760
- ariaLive: s = "polite",
761
- compact: p = !1,
762
- ...u
760
+ ariaLive: a = "polite",
761
+ compact: u = !1,
762
+ ...p
763
763
  }, k) => {
764
- const h = [n, "pkt-alert", c && `pkt-alert--${c}`, p && "pkt-alert--compact"].filter(Boolean).join(" "), [x, g] = X(!0), E = () => {
765
- g(!1), o && o();
764
+ const h = [n, "pkt-alert", o && `pkt-alert--${o}`, u && "pkt-alert--compact"].filter(Boolean).join(" "), [v, g] = X(!0), E = () => {
765
+ g(!1), c && c();
766
766
  };
767
- return x ? /* @__PURE__ */ e.jsxs("div", { ...u, className: h, "aria-live": s, ref: k, children: [
768
- /* @__PURE__ */ e.jsx(b, { className: "pkt-alert__icon", name: c === "info" ? "alert-information" : `alert-${c}` }),
769
- i && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__close", children: /* @__PURE__ */ e.jsx(
767
+ return v ? /* @__PURE__ */ e.jsxs("div", { ...p, className: h, "aria-live": a, ref: k, children: [
768
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-alert__icon", name: o === "info" ? "alert-information" : `alert-${o}` }),
769
+ l && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__close", children: /* @__PURE__ */ e.jsx(
770
770
  "button",
771
771
  {
772
772
  type: "button",
@@ -774,10 +774,10 @@ const J = /* @__PURE__ */ Tt(Ut), Qt = F(
774
774
  tabIndex: 0,
775
775
  "aria-label": "close",
776
776
  onClick: E,
777
- children: /* @__PURE__ */ e.jsx(b, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
777
+ children: /* @__PURE__ */ e.jsx(x, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
778
778
  }
779
779
  ) }),
780
- a && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__title", children: a }),
780
+ s && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__title", children: s }),
781
781
  /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__text", children: r }),
782
782
  d && /* @__PURE__ */ e.jsxs("div", { className: "pkt-alert__date", children: [
783
783
  "Sist oppdatert: ",
@@ -785,77 +785,77 @@ const J = /* @__PURE__ */ Tt(Ut), Qt = F(
785
785
  ] })
786
786
  ] }) : null;
787
787
  }
788
- ), er = F(
789
- ({ href: r, text: n, onClick: c, className: i, ...o }, a) => {
788
+ ), nr = S(
789
+ ({ href: r, text: n, onClick: o, className: l, ...c }, s) => {
790
790
  const d = [
791
- i,
791
+ l,
792
792
  "pkt-back-link"
793
- ].filter(Boolean).join(" "), s = (p) => {
794
- c && c(p);
793
+ ].filter(Boolean).join(" "), a = (u) => {
794
+ o && o(u);
795
795
  };
796
- return /* @__PURE__ */ e.jsx("nav", { ref: a, className: d, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ e.jsxs("a", { href: r || "/", className: "pkt-link pkt-link--icon-left", onClick: s, ...o, children: [
797
- /* @__PURE__ */ e.jsx(b, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
796
+ return /* @__PURE__ */ e.jsx("nav", { ref: s, className: d, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ e.jsxs("a", { href: r || "/", className: "pkt-link pkt-link--icon-left", onClick: a, ...c, children: [
797
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
798
798
  /* @__PURE__ */ e.jsx("span", { className: "pkt-back-link__text", children: n || "Forsiden" })
799
799
  ] }) });
800
800
  }
801
- ), tr = F(
802
- ({ breadcrumbs: r, navigationType: n, className: c, ...i }, o) => {
803
- const a = r.slice(0, 4), d = a[a.length - 2], s = [
804
- c,
801
+ ), sr = S(
802
+ ({ breadcrumbs: r, navigationType: n, className: o, ...l }, c) => {
803
+ const s = r.slice(0, 4), d = s[s.length - 2], a = [
804
+ o,
805
805
  "pkt-breadcrumbs"
806
806
  ].filter(Boolean).join(" ");
807
- return /* @__PURE__ */ e.jsxs("nav", { ref: o, "aria-label": "brødsmulemeny", className: s, children: [
808
- /* @__PURE__ */ e.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: a.map((p, u) => /* @__PURE__ */ e.jsx(
807
+ return /* @__PURE__ */ e.jsxs("nav", { ref: c, "aria-label": "brødsmulemeny", className: a, children: [
808
+ /* @__PURE__ */ e.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: s.map((u, p) => /* @__PURE__ */ e.jsx(
809
809
  "li",
810
810
  {
811
811
  className: "pkt-breadcrumbs__item",
812
- children: u === a.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text }) }) : n === "router" ? /* @__PURE__ */ e.jsxs(
812
+ children: p === s.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: u.text }) }) : n === "router" ? /* @__PURE__ */ e.jsxs(
813
813
  qe,
814
814
  {
815
- to: p.href,
815
+ to: u.href,
816
816
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
817
- ...i,
817
+ ...l,
818
818
  children: [
819
819
  /* @__PURE__ */ e.jsx(
820
- b,
820
+ x,
821
821
  {
822
822
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
823
823
  name: "chevron-thin-right"
824
824
  }
825
825
  ),
826
- /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text })
826
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: u.text })
827
827
  ]
828
828
  }
829
829
  ) : /* @__PURE__ */ e.jsxs(
830
830
  "a",
831
831
  {
832
- href: p.href,
832
+ href: u.href,
833
833
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
834
- ...i,
834
+ ...l,
835
835
  children: [
836
836
  /* @__PURE__ */ e.jsx(
837
- b,
837
+ x,
838
838
  {
839
839
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
840
840
  name: "chevron-thin-right"
841
841
  }
842
842
  ),
843
- /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text })
843
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: u.text })
844
844
  ]
845
845
  }
846
846
  )
847
847
  },
848
- `breadcrumb-${u}`
848
+ `breadcrumb-${p}`
849
849
  )) }),
850
850
  n === "router" ? /* @__PURE__ */ e.jsxs(
851
851
  qe,
852
852
  {
853
853
  to: d.href,
854
854
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
855
- ...i,
855
+ ...l,
856
856
  children: [
857
857
  /* @__PURE__ */ e.jsx(
858
- b,
858
+ x,
859
859
  {
860
860
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
861
861
  name: "chevron-thin-left"
@@ -869,10 +869,10 @@ const J = /* @__PURE__ */ Tt(Ut), Qt = F(
869
869
  {
870
870
  href: d.href,
871
871
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
872
- ...i,
872
+ ...l,
873
873
  children: [
874
874
  /* @__PURE__ */ e.jsx(
875
- b,
875
+ x,
876
876
  {
877
877
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
878
878
  name: "chevron-thin-left"
@@ -884,72 +884,72 @@ const J = /* @__PURE__ */ Tt(Ut), Qt = F(
884
884
  )
885
885
  ] });
886
886
  }
887
- ), ce = F(
887
+ ), ce = S(
888
888
  ({
889
889
  children: r,
890
890
  className: n,
891
- iconName: c = "user",
892
- secondIconName: i = "user",
893
- size: o = "medium",
894
- skin: a = "primary",
891
+ iconName: o = "user",
892
+ secondIconName: l = "user",
893
+ size: c = "medium",
894
+ skin: s = "primary",
895
895
  type: d = "button",
896
- variant: s = "label-only",
897
- color: p,
898
- isLoading: u = !1,
896
+ variant: a = "label-only",
897
+ color: u,
898
+ isLoading: p = !1,
899
899
  ...k
900
900
  }, h) => {
901
- const x = [
901
+ const v = [
902
902
  n,
903
903
  "pkt-btn",
904
- o && `pkt-btn--${o}`,
905
- a && `pkt-btn--${a}`,
904
+ c && `pkt-btn--${c}`,
906
905
  s && `pkt-btn--${s}`,
907
- p && `pkt-btn--${p}`,
908
- u && "pkt-btn--active"
906
+ a && `pkt-btn--${a}`,
907
+ u && `pkt-btn--${u}`,
908
+ p && "pkt-btn--active"
909
909
  ].filter(Boolean).join(" ");
910
- return /* @__PURE__ */ e.jsxs("button", { ...k, className: x, type: d, ref: h, children: [
911
- u && /* @__PURE__ */ e.jsx(
912
- b,
910
+ return /* @__PURE__ */ e.jsxs("button", { ...k, className: v, type: d, ref: h, children: [
911
+ p && /* @__PURE__ */ e.jsx(
912
+ x,
913
913
  {
914
914
  className: "pkt-btn__icon pkt-btn__spinner",
915
915
  name: "spinner-blue",
916
916
  path: "https://punkt-cdn.oslo.kommune.no/11.14/animations/"
917
917
  }
918
918
  ),
919
- s !== "label-only" && /* @__PURE__ */ e.jsx(b, { className: "pkt-btn__icon", name: c }),
919
+ a !== "label-only" && /* @__PURE__ */ e.jsx(x, { className: "pkt-btn__icon", name: o }),
920
920
  /* @__PURE__ */ e.jsx("span", { className: "pkt-btn__text", children: r }),
921
- s === "icons-right-and-left" && /* @__PURE__ */ e.jsx(b, { className: "pkt-btn__icon", name: i })
921
+ a === "icons-right-and-left" && /* @__PURE__ */ e.jsx(x, { className: "pkt-btn__icon", name: l })
922
922
  ] });
923
923
  }
924
924
  );
925
925
  ce.displayName = "PktButton";
926
- const Wt = F(
926
+ const Wt = S(
927
927
  ({
928
928
  id: r,
929
929
  hasTile: n = !1,
930
- disabled: c = !1,
931
- label: i,
932
- labelPosition: o = "right",
933
- hideLabel: a = !1,
930
+ disabled: o = !1,
931
+ label: l,
932
+ labelPosition: c = "right",
933
+ hideLabel: s = !1,
934
934
  checkHelptext: d,
935
- hasError: s = !1,
936
- isSwitch: p = !1,
937
- className: u,
935
+ hasError: a = !1,
936
+ isSwitch: u = !1,
937
+ className: p,
938
938
  ...k
939
939
  }, h) => {
940
- const x = [u, "pkt-input-check"].filter(Boolean).join(" ");
941
- return /* @__PURE__ */ e.jsx("div", { className: x, children: /* @__PURE__ */ e.jsxs(
940
+ const v = [p, "pkt-input-check"].filter(Boolean).join(" ");
941
+ return /* @__PURE__ */ e.jsx("div", { className: v, children: /* @__PURE__ */ e.jsxs(
942
942
  "div",
943
943
  {
944
- className: `pkt-input-check__input ${n ? "pkt-input-check__input--tile" : ""} ${c && n ? "pkt-input-check__input--tile-disabled" : ""}`,
944
+ className: `pkt-input-check__input ${n ? "pkt-input-check__input--tile" : ""} ${o && n ? "pkt-input-check__input--tile-disabled" : ""}`,
945
945
  children: [
946
- i && o === "left" && /* @__PURE__ */ e.jsxs(
946
+ l && c === "left" && /* @__PURE__ */ e.jsxs(
947
947
  "label",
948
948
  {
949
- className: `pkt-input-check__input-label ${a ? "pkt-sr-only" : ""}`,
949
+ className: `pkt-input-check__input-label ${s ? "pkt-sr-only" : ""}`,
950
950
  htmlFor: r,
951
951
  children: [
952
- i,
952
+ l,
953
953
  d && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: d })
954
954
  ]
955
955
  }
@@ -958,21 +958,21 @@ const Wt = F(
958
958
  "input",
959
959
  {
960
960
  ref: h,
961
- className: `pkt-input-check__input-checkbox ${s ? "pkt-input-check__input-checkbox--error" : ""}`,
961
+ className: `pkt-input-check__input-checkbox ${a ? "pkt-input-check__input-checkbox--error" : ""}`,
962
962
  type: "checkbox",
963
- role: p ? "switch" : "checkbox",
963
+ role: u ? "switch" : "checkbox",
964
964
  id: r,
965
- disabled: c,
965
+ disabled: o,
966
966
  ...k
967
967
  }
968
968
  ),
969
- i && o === "right" && /* @__PURE__ */ e.jsxs(
969
+ l && c === "right" && /* @__PURE__ */ e.jsxs(
970
970
  "label",
971
971
  {
972
- className: `pkt-input-check__input-label ${a ? "pkt-sr-only" : ""}`,
972
+ className: `pkt-input-check__input-label ${s ? "pkt-sr-only" : ""}`,
973
973
  htmlFor: r,
974
974
  children: [
975
- i,
975
+ l,
976
976
  d && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: d })
977
977
  ]
978
978
  }
@@ -983,32 +983,32 @@ const Wt = F(
983
983
  }
984
984
  );
985
985
  Wt.displayName = "PktCheckbox";
986
- const rr = ({
986
+ const ar = ({
987
987
  columnOne: r,
988
988
  columnTwo: n,
989
- socialLinks: c,
990
- className: i,
991
- personvernOgInfoLink: o = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
992
- tilgjengelighetLink: a = "https://www.oslo.kommune.no/tilgjengelighet/"
989
+ socialLinks: o,
990
+ className: l,
991
+ personvernOgInfoLink: c = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
992
+ tilgjengelighetLink: s = "https://www.oslo.kommune.no/tilgjengelighet/"
993
993
  }) => {
994
- var s, p;
995
- const d = [i, "pkt-footer"].filter(Boolean).join(" ");
994
+ var a, u;
995
+ const d = [l, "pkt-footer"].filter(Boolean).join(" ");
996
996
  return /* @__PURE__ */ e.jsx("footer", { className: d, "data-mode": "dark", children: /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__container", children: [
997
997
  /* @__PURE__ */ e.jsxs("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
998
998
  /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
999
999
  /* @__PURE__ */ e.jsx("h2", { className: "pkt-footer__title", children: r.title }),
1000
1000
  /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer__list", children: [
1001
1001
  r.text && /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__text", children: r.text }),
1002
- (s = r.links) == null ? void 0 : s.map((u, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1002
+ (a = r.links) == null ? void 0 : a.map((p, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1003
1003
  "a",
1004
1004
  {
1005
- className: `pkt-footer__link ${u.external ? "pkt-link--external" : ""}`,
1006
- href: u.href,
1007
- target: u.openInNewTab ? "_blank" : "_self",
1008
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1005
+ className: `pkt-footer__link ${p.external ? "pkt-link--external" : ""}`,
1006
+ href: p.href,
1007
+ target: p.openInNewTab ? "_blank" : "_self",
1008
+ rel: p.openInNewTab ? "noopener noreferrer" : void 0,
1009
1009
  children: [
1010
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1011
- u.text
1010
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1011
+ p.text
1012
1012
  ]
1013
1013
  }
1014
1014
  ) }, `links-${k}`))
@@ -1018,16 +1018,16 @@ const rr = ({
1018
1018
  /* @__PURE__ */ e.jsx("h2", { className: "pkt-footer__title", children: n.title }),
1019
1019
  /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer__list", children: [
1020
1020
  n.text && /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__text", children: n.text }),
1021
- (p = n.links) == null ? void 0 : p.map((u, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1021
+ (u = n.links) == null ? void 0 : u.map((p, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1022
1022
  "a",
1023
1023
  {
1024
- className: `pkt-footer__link ${u.external ? "pkt-link--external" : ""}`,
1025
- href: u.href,
1026
- target: u.openInNewTab ? "_blank" : "_self",
1027
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1024
+ className: `pkt-footer__link ${p.external ? "pkt-link--external" : ""}`,
1025
+ href: p.href,
1026
+ target: p.openInNewTab ? "_blank" : "_self",
1027
+ rel: p.openInNewTab ? "noopener noreferrer" : void 0,
1028
1028
  children: [
1029
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1030
- u.text
1029
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1030
+ p.text
1031
1031
  ]
1032
1032
  }
1033
1033
  ) }, `links-${k}`))
@@ -1040,126 +1040,126 @@ const rr = ({
1040
1040
  "a",
1041
1041
  {
1042
1042
  className: "pkt-footer__link",
1043
- href: o,
1043
+ href: c,
1044
1044
  children: [
1045
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1045
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1046
1046
  "Personvern og informasjonskapsler"
1047
1047
  ]
1048
1048
  }
1049
1049
  ) }),
1050
- /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer__link", href: a, children: [
1051
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1050
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer__link", href: s, children: [
1051
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1052
1052
  "Tilgjengelighet"
1053
1053
  ] }) })
1054
1054
  ] })
1055
1055
  ] })
1056
1056
  ] }),
1057
- c && /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
1058
- /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-languages", children: c.filter((u) => u.language).map((u, k) => /* @__PURE__ */ e.jsx(
1057
+ o && /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
1058
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-languages", children: o.filter((p) => p.language).map((p, k) => /* @__PURE__ */ e.jsx(
1059
1059
  "div",
1060
1060
  {
1061
1061
  className: "pkt-footer__social-language",
1062
1062
  children: /* @__PURE__ */ e.jsx(
1063
1063
  "a",
1064
1064
  {
1065
- href: u.href,
1066
- "aria-label": `til ${u.language} versjon av nettsiden`,
1067
- target: u.openInNewTab ? "_blank" : "_self",
1068
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1069
- children: u.language
1065
+ href: p.href,
1066
+ "aria-label": `til ${p.language} versjon av nettsiden`,
1067
+ target: p.openInNewTab ? "_blank" : "_self",
1068
+ rel: p.openInNewTab ? "noopener noreferrer" : void 0,
1069
+ children: p.language
1070
1070
  }
1071
1071
  )
1072
1072
  },
1073
1073
  `sociallinks-language-${k}`
1074
1074
  )) }),
1075
- /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-icons", children: c.filter((u) => u.iconName).map((u, k) => /* @__PURE__ */ e.jsx(q.Fragment, { children: /* @__PURE__ */ e.jsx(
1075
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-icons", children: o.filter((p) => p.iconName).map((p, k) => /* @__PURE__ */ e.jsx(K.Fragment, { children: /* @__PURE__ */ e.jsx(
1076
1076
  "a",
1077
1077
  {
1078
- href: u.href,
1079
- "aria-label": `til ${u.iconName}`,
1078
+ href: p.href,
1079
+ "aria-label": `til ${p.iconName}`,
1080
1080
  className: "pkt-footer__social-icon-link",
1081
- target: u.openInNewTab ? "_blank" : "_self",
1082
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1083
- children: /* @__PURE__ */ e.jsx(b, { className: "pkt-footer__social-icon", name: u.iconName })
1081
+ target: p.openInNewTab ? "_blank" : "_self",
1082
+ rel: p.openInNewTab ? "noopener noreferrer" : void 0,
1083
+ children: /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__social-icon", name: p.iconName })
1084
1084
  }
1085
1085
  ) }, `sociallinks-${k}`)) })
1086
1086
  ] })
1087
1087
  ] }) });
1088
- }, nr = ({
1088
+ }, lr = ({
1089
1089
  links: r = [],
1090
1090
  personvernOgInfoLink: n = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
1091
- tilgjengelighetLink: c = "https://www.oslo.kommune.no/tilgjengelighet/",
1092
- className: i
1091
+ tilgjengelighetLink: o = "https://www.oslo.kommune.no/tilgjengelighet/",
1092
+ className: l
1093
1093
  }) => {
1094
- const o = [i, "pkt-footer-simple"].filter(Boolean).join(" ");
1095
- return /* @__PURE__ */ e.jsx("footer", { className: o, "data-mode": "dark", children: /* @__PURE__ */ e.jsx("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer-simple__list", children: [
1096
- r.map((a, d) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs(
1094
+ const c = [l, "pkt-footer-simple"].filter(Boolean).join(" ");
1095
+ return /* @__PURE__ */ e.jsx("footer", { className: c, "data-mode": "dark", children: /* @__PURE__ */ e.jsx("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer-simple__list", children: [
1096
+ r.map((s, d) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs(
1097
1097
  "a",
1098
1098
  {
1099
- className: `pkt-footer-simple__link ${a.external ? " pkt-link--external" : ""}`,
1100
- href: a.href,
1101
- target: a.openInNewTab ? "_blank" : "_self",
1102
- rel: a.openInNewTab ? "noopener noreferrer" : void 0,
1099
+ className: `pkt-footer-simple__link ${s.external ? " pkt-link--external" : ""}`,
1100
+ href: s.href,
1101
+ target: s.openInNewTab ? "_blank" : "_self",
1102
+ rel: s.openInNewTab ? "noopener noreferrer" : void 0,
1103
1103
  children: [
1104
1104
  /* @__PURE__ */ e.jsx(
1105
- b,
1105
+ x,
1106
1106
  {
1107
1107
  className: "pkt-footer-simple__link-icon",
1108
1108
  name: "chevron-right"
1109
1109
  }
1110
1110
  ),
1111
- a.text
1111
+ s.text
1112
1112
  ]
1113
1113
  }
1114
1114
  ) }, d)),
1115
1115
  /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer-simple__link", href: n, children: [
1116
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1116
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1117
1117
  "Personvern og informasjonskapsler"
1118
1118
  ] }) }),
1119
- /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer-simple__link", href: c, children: [
1120
- /* @__PURE__ */ e.jsx(b, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1119
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer-simple__link", href: o, children: [
1120
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1121
1121
  "Tilgjengelighet"
1122
1122
  ] }) })
1123
1123
  ] }) }) });
1124
- }, ar = F(
1124
+ }, ir = S(
1125
1125
  ({
1126
1126
  className: r,
1127
1127
  logoLink: n = "https://www.oslo.kommune.no/",
1128
- serviceName: c,
1129
- fixed: i = !0,
1130
- scrollToHide: o = !0,
1131
- user: a,
1128
+ serviceName: o,
1129
+ fixed: l = !0,
1130
+ scrollToHide: c = !0,
1131
+ user: s,
1132
1132
  userMenu: d,
1133
- representing: s,
1134
- userOptions: p,
1135
- userMenuFooter: u,
1133
+ representing: a,
1134
+ userOptions: u,
1135
+ userMenuFooter: p,
1136
1136
  canChangeRepresentation: k = !0,
1137
1137
  showMenuButton: h = !1,
1138
- showLogOutButton: x = !1,
1138
+ showLogOutButton: v = !1,
1139
1139
  openMenu: g,
1140
1140
  logOut: E,
1141
- changeRepresentation: S,
1141
+ changeRepresentation: I,
1142
1142
  children: $,
1143
1143
  ...C
1144
1144
  }, w) => {
1145
- const v = q.useMemo(() => typeof (a == null ? void 0 : a.lastLoggedIn) == "string" ? a.lastLoggedIn : a != null && a.lastLoggedIn ? new Date(a.lastLoggedIn).toLocaleString("nb-NO", {
1145
+ const b = K.useMemo(() => typeof (s == null ? void 0 : s.lastLoggedIn) == "string" ? s.lastLoggedIn : s != null && s.lastLoggedIn ? new Date(s.lastLoggedIn).toLocaleString("nb-NO", {
1146
1146
  year: "numeric",
1147
1147
  month: "long",
1148
1148
  day: "numeric"
1149
- }) : "", [a]), [I, Y] = q.useState(!1), [U, B] = q.useState(0), [H, W] = q.useState(!1), z = q.useRef(null);
1150
- q.useEffect(() => (document.addEventListener("mouseup", A), window.addEventListener("scroll", P), () => {
1149
+ }) : "", [s]), [O, Y] = K.useState(!1), [B, W] = K.useState(0), [G, V] = K.useState(!1), J = K.useRef(null);
1150
+ K.useEffect(() => (document.addEventListener("mouseup", A), window.addEventListener("scroll", P), () => {
1151
1151
  document.removeEventListener("mouseup", A), window.removeEventListener("scroll", P);
1152
1152
  }));
1153
- const M = () => {
1154
- W(!H);
1153
+ const z = () => {
1154
+ V(!G);
1155
1155
  }, A = (m) => {
1156
- z.current && !z.current.contains(m.target) && W(!1);
1156
+ J.current && !J.current.contains(m.target) && V(!1);
1157
1157
  }, P = () => {
1158
- if (o) {
1158
+ if (c) {
1159
1159
  const m = window.pageYOffset || document.documentElement.scrollTop;
1160
- if (m < 0 || Math.abs(m - U) < 60)
1160
+ if (m < 0 || Math.abs(m - B) < 60)
1161
1161
  return;
1162
- Y(m > U), B(m);
1162
+ Y(m > B), W(m);
1163
1163
  }
1164
1164
  };
1165
1165
  return /* @__PURE__ */ e.jsxs(
@@ -1169,16 +1169,16 @@ const rr = ({
1169
1169
  id: "pkt-header",
1170
1170
  "data-testid": "pkt-header",
1171
1171
  "aria-label": "Topp",
1172
- className: J(r, "pkt-header", {
1173
- "pkt-header--fixed": i,
1174
- "pkt-header--scroll-to-hide": o,
1175
- "pkt-header--hidden": I
1172
+ className: U(r, "pkt-header", {
1173
+ "pkt-header--fixed": l,
1174
+ "pkt-header--scroll-to-hide": c,
1175
+ "pkt-header--hidden": O
1176
1176
  }),
1177
1177
  ref: w,
1178
1178
  children: [
1179
1179
  /* @__PURE__ */ e.jsxs("div", { className: "pkt-header__logo", children: [
1180
1180
  typeof n == "string" ? /* @__PURE__ */ e.jsx("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: n, children: /* @__PURE__ */ e.jsx(
1181
- b,
1181
+ x,
1182
1182
  {
1183
1183
  name: "oslologo",
1184
1184
  className: "pkt-header__logo-svg",
@@ -1192,7 +1192,7 @@ const rr = ({
1192
1192
  className: "pkt-link-button pkt-link pkt-header__logo-link",
1193
1193
  onClick: n,
1194
1194
  children: /* @__PURE__ */ e.jsx(
1195
- b,
1195
+ x,
1196
1196
  {
1197
1197
  name: "oslologo",
1198
1198
  className: "pkt-header__logo-svg",
@@ -1202,7 +1202,7 @@ const rr = ({
1202
1202
  )
1203
1203
  }
1204
1204
  ),
1205
- /* @__PURE__ */ e.jsx("span", { className: "pkt-header__logo-service", children: c })
1205
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__logo-service", children: o })
1206
1206
  ] }),
1207
1207
  /* @__PURE__ */ e.jsx("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ e.jsxs("ul", { className: "pkt-header__actions-row", children: [
1208
1208
  h && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
@@ -1216,12 +1216,12 @@ const rr = ({
1216
1216
  children: "Meny"
1217
1217
  }
1218
1218
  ) }),
1219
- (a || s) && /* @__PURE__ */ e.jsxs(
1219
+ (s || a) && /* @__PURE__ */ e.jsxs(
1220
1220
  "li",
1221
1221
  {
1222
1222
  "data-testid": "usermenu",
1223
- className: `pkt-header--has-dropdown ${H && !I ? "pkt-header--open-dropdown" : ""}`,
1224
- ref: z,
1223
+ className: `pkt-header--has-dropdown ${G && !O ? "pkt-header--open-dropdown" : ""}`,
1224
+ ref: J,
1225
1225
  children: [
1226
1226
  /* @__PURE__ */ e.jsxs(
1227
1227
  "button",
@@ -1230,67 +1230,67 @@ const rr = ({
1230
1230
  type: "button",
1231
1231
  role: "button",
1232
1232
  "aria-controls": "pktUserDropdown",
1233
- "aria-expanded": H,
1234
- onClick: M,
1233
+ "aria-expanded": G,
1234
+ onClick: z,
1235
1235
  children: [
1236
- /* @__PURE__ */ e.jsx(b, { name: "user", className: "pkt-btn__icon" }),
1237
- /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-fullname", children: (s == null ? void 0 : s.name) || (a == null ? void 0 : a.name) }),
1238
- /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-shortname", children: (s == null ? void 0 : s.shortname) || (a == null ? void 0 : a.shortname) }),
1239
- /* @__PURE__ */ e.jsx(b, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1240
- /* @__PURE__ */ e.jsx(b, { name: "chevron-thin-up", className: "pkt-btn--open" })
1236
+ /* @__PURE__ */ e.jsx(x, { name: "user", className: "pkt-btn__icon" }),
1237
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-fullname", children: (a == null ? void 0 : a.name) || (s == null ? void 0 : s.name) }),
1238
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-shortname", children: (a == null ? void 0 : a.shortname) || (s == null ? void 0 : s.shortname) }),
1239
+ /* @__PURE__ */ e.jsx(x, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1240
+ /* @__PURE__ */ e.jsx(x, { name: "chevron-thin-up", className: "pkt-btn--open" })
1241
1241
  ]
1242
1242
  }
1243
1243
  ),
1244
1244
  /* @__PURE__ */ e.jsxs("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1245
- a && /* @__PURE__ */ e.jsxs("li", { children: [
1245
+ s && /* @__PURE__ */ e.jsxs("li", { children: [
1246
1246
  /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
1247
- /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: a.name }),
1248
- a.lastLoggedIn && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__last-logged-in", children: [
1247
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: s.name }),
1248
+ s.lastLoggedIn && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__last-logged-in", children: [
1249
1249
  "Sist pålogget: ",
1250
- /* @__PURE__ */ e.jsx("time", { children: v })
1250
+ /* @__PURE__ */ e.jsx("time", { children: b })
1251
1251
  ] })
1252
1252
  ] }),
1253
1253
  d && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list", children: d.map((m, D) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsxs("a", { href: m.target, className: "pkt-link", children: [
1254
- m.iconName && /* @__PURE__ */ e.jsx(b, { name: m.iconName, className: "pkt-link__icon" }),
1254
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1255
1255
  m.title
1256
1256
  ] }) : /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: [
1257
- m.iconName && /* @__PURE__ */ e.jsx(b, { name: m.iconName, className: "pkt-link__icon" }),
1257
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1258
1258
  m.title
1259
1259
  ] }) }, `userMenu-${D}`)) }) }),
1260
- (s || k) && /* @__PURE__ */ e.jsxs("li", { children: [
1261
- s && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1260
+ (a || k) && /* @__PURE__ */ e.jsxs("li", { children: [
1261
+ a && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1262
1262
  /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1263
- /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: s.name }),
1264
- s.orgNumber && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__org-number", children: [
1263
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: a.name }),
1264
+ a.orgNumber && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__org-number", children: [
1265
1265
  "Org.nr. ",
1266
- s.orgNumber
1266
+ a.orgNumber
1267
1267
  ] })
1268
1268
  ] }),
1269
- /* @__PURE__ */ e.jsx("ul", { className: "pkt-list mt-size-16", children: k && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: S, children: [
1270
- /* @__PURE__ */ e.jsx(b, { name: "cogwheel", className: "pkt-link__icon" }),
1269
+ /* @__PURE__ */ e.jsx("ul", { className: "pkt-list mt-size-16", children: k && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: I, children: [
1270
+ /* @__PURE__ */ e.jsx(x, { name: "cogwheel", className: "pkt-link__icon" }),
1271
1271
  "Endre organisasjon"
1272
1272
  ] }) }) })
1273
1273
  ] }),
1274
- /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list", children: (p || !x) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1275
- p == null ? void 0 : p.map((m, D) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsxs("a", { href: m.target, className: "pkt-link", children: [
1276
- m.iconName && /* @__PURE__ */ e.jsx(b, { name: m.iconName, className: "pkt-link__icon" }),
1274
+ /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list", children: (u || !v) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1275
+ u == null ? void 0 : u.map((m, D) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsxs("a", { href: m.target, className: "pkt-link", children: [
1276
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1277
1277
  m.title
1278
1278
  ] }) : /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: [
1279
- m.iconName && /* @__PURE__ */ e.jsx(b, { name: m.iconName, className: "pkt-link__icon" }),
1279
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1280
1280
  m.title
1281
1281
  ] }) }, `userOptions-${D}`)),
1282
- !x && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: E, children: [
1283
- /* @__PURE__ */ e.jsx(b, { name: "exit", className: "pkt-link__icon" }),
1282
+ !v && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: E, children: [
1283
+ /* @__PURE__ */ e.jsx(x, { name: "exit", className: "pkt-link__icon" }),
1284
1284
  "Logg ut"
1285
1285
  ] }) })
1286
1286
  ] }) }) }),
1287
- u && /* @__PURE__ */ e.jsx("li", { className: "footer", children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list-horizontal bordered", children: u.map((m, D) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsx("a", { href: m.target, className: "pkt-link", children: m.title }) : /* @__PURE__ */ e.jsx("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: m.title }) }, `userMenuFooter-${D}`)) }) })
1287
+ p && /* @__PURE__ */ e.jsx("li", { className: "footer", children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list-horizontal bordered", children: p.map((m, D) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsx("a", { href: m.target, className: "pkt-link", children: m.title }) : /* @__PURE__ */ e.jsx("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: m.title }) }, `userMenuFooter-${D}`)) }) })
1288
1288
  ] })
1289
1289
  ]
1290
1290
  }
1291
1291
  ),
1292
1292
  $ && /* @__PURE__ */ e.jsx("li", { children: $ }),
1293
- x && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1293
+ v && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1294
1294
  ce,
1295
1295
  {
1296
1296
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
@@ -1307,66 +1307,66 @@ const rr = ({
1307
1307
  }
1308
1308
  );
1309
1309
  }
1310
- ), Vt = q.forwardRef(
1311
- ({ label: r, id: n, children: c, ...i }, o) => /* @__PURE__ */ e.jsxs("div", { className: "pkt-form-group", children: [
1310
+ ), Vt = K.forwardRef(
1311
+ ({ label: r, id: n, children: o, ...l }, c) => /* @__PURE__ */ e.jsxs("div", { className: "pkt-form-group", children: [
1312
1312
  /* @__PURE__ */ e.jsx("label", { htmlFor: n, className: "pkt-form-label", children: r }),
1313
- /* @__PURE__ */ e.jsx("input", { className: "pkt-form-input", id: n, ...i, ref: o }),
1314
- c
1313
+ /* @__PURE__ */ e.jsx("input", { className: "pkt-form-input", id: n, ...l, ref: c }),
1314
+ o
1315
1315
  ] })
1316
1316
  );
1317
1317
  Vt.displayName = "PktInput";
1318
- const me = F(
1318
+ const me = S(
1319
1319
  ({
1320
1320
  forId: r,
1321
1321
  label: n,
1322
- helptext: c,
1323
- helptextDropdown: i,
1324
- helptextDropdownButton: o,
1325
- optionalTag: a = !1,
1322
+ helptext: o,
1323
+ helptextDropdown: l,
1324
+ helptextDropdownButton: c,
1325
+ optionalTag: s = !1,
1326
1326
  optionalText: d = "Valgfritt",
1327
- requiredTag: s = !1,
1328
- requiredText: p = "Må fylles ut",
1329
- hasError: u,
1327
+ requiredTag: a = !1,
1328
+ requiredText: u = "Må fylles ut",
1329
+ hasError: p,
1330
1330
  errorMessage: k,
1331
1331
  disabled: h,
1332
- inline: x,
1332
+ inline: v,
1333
1333
  ariaDescribedby: g,
1334
1334
  useWrapper: E = !0,
1335
- children: S,
1335
+ children: I,
1336
1336
  className: $,
1337
1337
  hasFieldset: C = !1
1338
1338
  }, w) => {
1339
- const [v, I] = X(!1), Y = () => {
1340
- I(!v);
1341
- }, U = () => a ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : s ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", B = a ? d : s ? p : "", H = h ? "pkt-inputwrapper--disabled" : "", W = x ? "pkt-inputwrapper--inline" : "", z = u ? "pkt-inputwrapper--error" : "", M = !!i && i !== "", A = o || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', P = C ? "fieldset" : M ? "div" : "label", m = C ? "legend" : M ? "h2" : "span", D = g || (c ? `${r}-helptext` : void 0);
1342
- return /* @__PURE__ */ e.jsxs("div", { className: ["pkt-inputwrapper", $, H, W, z].join(" "), ref: w, children: [
1339
+ const [b, O] = X(!1), Y = () => {
1340
+ O(!b);
1341
+ }, B = () => s ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : a ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", W = s ? d : a ? u : "", G = h ? "pkt-inputwrapper--disabled" : "", V = v ? "pkt-inputwrapper--inline" : "", J = p ? "pkt-inputwrapper--error" : "", z = !!l && l !== "", A = c || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', P = C ? "fieldset" : z ? "div" : "label", m = C ? "legend" : z ? "h2" : "span", D = g || (o ? `${r}-helptext` : void 0);
1342
+ return /* @__PURE__ */ e.jsxs("div", { className: ["pkt-inputwrapper", $, G, V, J].join(" "), ref: w, children: [
1343
1343
  E ? /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs(
1344
1344
  P,
1345
1345
  {
1346
1346
  htmlFor: C ? void 0 : r,
1347
- "aria-describedby": M ? void 0 : g,
1347
+ "aria-describedby": z ? void 0 : g,
1348
1348
  className: `pkt-inputwrapper__label${C ? " pkt-inputwrapper__fieldset" : ""}`,
1349
1349
  children: [
1350
1350
  /* @__PURE__ */ e.jsxs(m, { id: `${r}-label`, className: `${C ? " pkt-inputwrapper__legend" : ""}`, children: [
1351
1351
  n,
1352
- B !== "" && /* @__PURE__ */ e.jsx("span", { className: U(), children: B })
1352
+ W !== "" && /* @__PURE__ */ e.jsx("span", { className: B(), children: W })
1353
1353
  ] }),
1354
- c && /* @__PURE__ */ e.jsx(
1354
+ o && /* @__PURE__ */ e.jsx(
1355
1355
  "div",
1356
1356
  {
1357
1357
  className: "pkt-inputwrapper__helptext",
1358
1358
  id: `${r}-helptext`,
1359
- dangerouslySetInnerHTML: { __html: c }
1359
+ dangerouslySetInnerHTML: { __html: o }
1360
1360
  }
1361
1361
  ),
1362
- M && i !== "" && /* @__PURE__ */ e.jsxs("div", { className: "pkt-inputwrapper__helptext-expandable", children: [
1362
+ z && l !== "" && /* @__PURE__ */ e.jsxs("div", { className: "pkt-inputwrapper__helptext-expandable", children: [
1363
1363
  /* @__PURE__ */ e.jsx(
1364
1364
  ce,
1365
1365
  {
1366
1366
  skin: "tertiary",
1367
1367
  size: "small",
1368
1368
  variant: "icon-right",
1369
- iconName: v ? "chevron-thin-up" : "chevron-thin-down",
1369
+ iconName: b ? "chevron-thin-up" : "chevron-thin-down",
1370
1370
  className: "pkt-link pkt-link--icon-right",
1371
1371
  onClick: Y,
1372
1372
  children: /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: A } })
@@ -1375,50 +1375,50 @@ const me = F(
1375
1375
  /* @__PURE__ */ e.jsx(
1376
1376
  "div",
1377
1377
  {
1378
- className: `pkt-inputwrapper__helptext ${v ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1379
- children: /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: i } })
1378
+ className: `pkt-inputwrapper__helptext ${b ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1379
+ children: /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: l } })
1380
1380
  }
1381
1381
  ),
1382
1382
  !C && /* @__PURE__ */ e.jsx("label", { htmlFor: r, className: "pkt-sr-only", "aria-describedby": D, children: n })
1383
1383
  ] }),
1384
- /* @__PURE__ */ e.jsx(e.Fragment, { children: S })
1384
+ /* @__PURE__ */ e.jsx(e.Fragment, { children: I })
1385
1385
  ]
1386
1386
  }
1387
1387
  ) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1388
1388
  !C && /* @__PURE__ */ e.jsx("label", { htmlFor: r, className: "pkt-sr-only", "aria-describedby": D, id: `${r}-label`, children: n }),
1389
- S
1389
+ I
1390
1390
  ] }),
1391
- u && k && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(Bt, { skin: "error", "aria-live": "assertive", id: `${r}-error`, compact: !0, children: k }) })
1391
+ p && k && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(Bt, { skin: "error", "aria-live": "assertive", id: `${r}-error`, compact: !0, children: k }) })
1392
1392
  ] });
1393
1393
  }
1394
1394
  );
1395
1395
  me.displayName = "PktInputWrapper";
1396
- const Yt = F(
1396
+ const Mt = S(
1397
1397
  ({
1398
1398
  children: r,
1399
1399
  className: n,
1400
- iconName: c = "user",
1401
- openInNewTab: i = !1,
1402
- skin: o = "normal",
1403
- href: a = "#",
1400
+ iconName: o = "user",
1401
+ openInNewTab: l = !1,
1402
+ skin: c = "normal",
1403
+ href: s = "#",
1404
1404
  external: d = !1,
1405
- title: s,
1406
- ...p
1407
- }, u) => {
1408
- const k = [n, "pkt-linkcard", o && `pkt-linkcard--${o}`].filter(Boolean).join(" ");
1405
+ title: a,
1406
+ ...u
1407
+ }, p) => {
1408
+ const k = [n, "pkt-linkcard", c && `pkt-linkcard--${c}`].filter(Boolean).join(" ");
1409
1409
  return /* @__PURE__ */ e.jsxs(
1410
1410
  "a",
1411
1411
  {
1412
- ...p,
1413
- href: a,
1412
+ ...u,
1413
+ href: s,
1414
1414
  className: `pkt-linkcard pkt-link ${k}`,
1415
- target: i ? "_blank" : "_self",
1416
- rel: i ? "noopener noreferrer" : void 0,
1417
- ref: u,
1415
+ target: l ? "_blank" : "_self",
1416
+ rel: l ? "noopener noreferrer" : void 0,
1417
+ ref: p,
1418
1418
  children: [
1419
- /* @__PURE__ */ e.jsx(b, { className: "pkt-link__icon", name: c }),
1419
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-link__icon", name: o }),
1420
1420
  /* @__PURE__ */ e.jsxs("div", { className: "pkt-linkcard__content", children: [
1421
- /* @__PURE__ */ e.jsx("div", { className: `pkt-linkcard__title ${d ? "pkt-link pkt-link--external" : ""}`, children: s }),
1421
+ /* @__PURE__ */ e.jsx("div", { className: `pkt-linkcard__title ${d ? "pkt-link pkt-link--external" : ""}`, children: a }),
1422
1422
  /* @__PURE__ */ e.jsx("div", { className: "pkt-linkcard__text", children: r })
1423
1423
  ] })
1424
1424
  ]
@@ -1426,22 +1426,22 @@ const Yt = F(
1426
1426
  );
1427
1427
  }
1428
1428
  );
1429
- Yt.displayName = "PktLinkCard";
1430
- const sr = F(
1429
+ Mt.displayName = "PktLinkCard";
1430
+ const or = S(
1431
1431
  ({
1432
1432
  className: r,
1433
1433
  message: n,
1434
- size: c = "medium",
1435
- inline: i = !1,
1436
- isLoading: o = !0,
1437
- variant: a = "rainbow",
1434
+ size: o = "medium",
1435
+ inline: l = !1,
1436
+ isLoading: c = !0,
1437
+ variant: s = "rainbow",
1438
1438
  delay: d = 0,
1439
- children: s,
1440
- ...p
1441
- }, u) => {
1442
- const k = `pkt-loader pkt-loader--${c}`, [h, x] = X(!(d > 0));
1439
+ children: a,
1440
+ ...u
1441
+ }, p) => {
1442
+ const k = `pkt-loader pkt-loader--${o}`, [h, v] = X(!(d > 0));
1443
1443
  d > 0 && setTimeout(() => {
1444
- x(!0);
1444
+ v(!0);
1445
1445
  }, d);
1446
1446
  const g = (E) => E === "shapes" ? "loader" : E === "blue" ? "spinner-blue" : "spinner";
1447
1447
  return /* @__PURE__ */ e.jsx(
@@ -1449,44 +1449,44 @@ const sr = F(
1449
1449
  {
1450
1450
  role: "status",
1451
1451
  "aria-live": "polite",
1452
- "aria-busy": o,
1453
- className: `pkt-loader--${i ? "inline" : "box"} ${r || ""}`,
1454
- children: o ? /* @__PURE__ */ e.jsx(e.Fragment, { children: h ? /* @__PURE__ */ e.jsxs("div", { className: k, "data-testid": "pkt-loader", ref: u, ...p, children: [
1452
+ "aria-busy": c,
1453
+ className: `pkt-loader--${l ? "inline" : "box"} ${r || ""}`,
1454
+ children: c ? /* @__PURE__ */ e.jsx(e.Fragment, { children: h ? /* @__PURE__ */ e.jsxs("div", { className: k, "data-testid": "pkt-loader", ref: p, ...u, children: [
1455
1455
  /* @__PURE__ */ e.jsx(
1456
- b,
1456
+ x,
1457
1457
  {
1458
- name: g(a),
1458
+ name: g(s),
1459
1459
  "aria-label": "loading",
1460
1460
  path: "https://punkt-cdn.oslo.kommune.no/11.14/animations/",
1461
- className: `pkt-loader__svg pkt-loader__${a}`
1461
+ className: `pkt-loader__svg pkt-loader__${s}`
1462
1462
  }
1463
1463
  ),
1464
1464
  n && /* @__PURE__ */ e.jsx("p", { children: n })
1465
- ] }) : null }) : s
1465
+ ] }) : null }) : a
1466
1466
  }
1467
1467
  );
1468
1468
  }
1469
- ), lr = F(
1469
+ ), cr = S(
1470
1470
  ({
1471
1471
  children: r,
1472
1472
  className: n,
1473
- compact: c = !1,
1474
- closable: i = !1,
1475
- skin: o = "beige",
1476
- title: a,
1473
+ compact: o = !1,
1474
+ closable: l = !1,
1475
+ skin: c = "beige",
1476
+ title: s,
1477
1477
  onClose: d,
1478
- ...s
1479
- }, p) => {
1480
- const [u, k] = X(!0), h = () => {
1478
+ ...a
1479
+ }, u) => {
1480
+ const [p, k] = X(!0), h = () => {
1481
1481
  k(!1), d && d();
1482
- }, x = [
1482
+ }, v = [
1483
1483
  n,
1484
1484
  "pkt-messagebox",
1485
- o && `pkt-messagebox--${o}`,
1486
- c && "pkt-messagebox--compact"
1485
+ c && `pkt-messagebox--${c}`,
1486
+ o && "pkt-messagebox--compact"
1487
1487
  ].filter(Boolean).join(" ");
1488
- return u ? /* @__PURE__ */ e.jsxs("div", { ...s, className: x, ref: p, children: [
1489
- i && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__close", children: /* @__PURE__ */ e.jsx(
1488
+ return p ? /* @__PURE__ */ e.jsxs("div", { ...a, className: v, ref: u, children: [
1489
+ l && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__close", children: /* @__PURE__ */ e.jsx(
1490
1490
  "button",
1491
1491
  {
1492
1492
  type: "button",
@@ -1494,10 +1494,10 @@ const sr = F(
1494
1494
  tabIndex: 0,
1495
1495
  "aria-label": "close",
1496
1496
  onClick: h,
1497
- children: /* @__PURE__ */ e.jsx(b, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
1497
+ children: /* @__PURE__ */ e.jsx(x, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
1498
1498
  }
1499
1499
  ) }),
1500
- a && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__title", children: a }),
1500
+ s && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__title", children: s }),
1501
1501
  /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__text", children: r })
1502
1502
  ] }) : null;
1503
1503
  }
@@ -1505,157 +1505,157 @@ const sr = F(
1505
1505
  var L = [];
1506
1506
  for (var Ee = 0; Ee < 256; ++Ee)
1507
1507
  L.push((Ee + 256).toString(16).slice(1));
1508
- function Mt(r, n = 0) {
1508
+ function Yt(r, n = 0) {
1509
1509
  return (L[r[n + 0]] + L[r[n + 1]] + L[r[n + 2]] + L[r[n + 3]] + "-" + L[r[n + 4]] + L[r[n + 5]] + "-" + L[r[n + 6]] + L[r[n + 7]] + "-" + L[r[n + 8]] + L[r[n + 9]] + "-" + L[r[n + 10]] + L[r[n + 11]] + L[r[n + 12]] + L[r[n + 13]] + L[r[n + 14]] + L[r[n + 15]]).toLowerCase();
1510
1510
  }
1511
- var ke, Kt = new Uint8Array(16);
1511
+ var ke, zt = new Uint8Array(16);
1512
1512
  function Ht() {
1513
1513
  if (!ke && (ke = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ke))
1514
1514
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1515
- return ke(Kt);
1515
+ return ke(zt);
1516
1516
  }
1517
- var zt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1517
+ var Kt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1518
1518
  const Qe = {
1519
- randomUUID: zt
1519
+ randomUUID: Kt
1520
1520
  };
1521
- function Jt(r, n, c) {
1521
+ function Gt(r, n, o) {
1522
1522
  if (Qe.randomUUID && !n && !r)
1523
1523
  return Qe.randomUUID();
1524
1524
  r = r || {};
1525
- var i = r.random || (r.rng || Ht)();
1526
- if (i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, n) {
1527
- c = c || 0;
1528
- for (var o = 0; o < 16; ++o)
1529
- n[c + o] = i[o];
1525
+ var l = r.random || (r.rng || Ht)();
1526
+ if (l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, n) {
1527
+ o = o || 0;
1528
+ for (var c = 0; c < 16; ++c)
1529
+ n[o + c] = l[c];
1530
1530
  return n;
1531
1531
  }
1532
- return Mt(i);
1532
+ return Yt(l);
1533
1533
  }
1534
- const ir = F(
1534
+ const pr = S(
1535
1535
  ({
1536
1536
  valueCurrent: r,
1537
1537
  valueMin: n = 0,
1538
- valueMax: c = 100,
1539
- skin: i = "dark-blue",
1540
- title: o,
1541
- titlePosition: a = "left",
1538
+ valueMax: o = 100,
1539
+ skin: l = "dark-blue",
1540
+ title: c,
1541
+ titlePosition: s = "left",
1542
1542
  statusType: d = "none",
1543
- statusPlacement: s = "following",
1544
- id: p,
1545
- ariaLabel: u,
1543
+ statusPlacement: a = "following",
1544
+ id: u,
1545
+ ariaLabel: p,
1546
1546
  ariaLabelledby: k,
1547
1547
  role: h = "progressbar",
1548
- className: x,
1548
+ className: v,
1549
1549
  ariaValueText: g,
1550
1550
  ...E
1551
- }, S) => {
1552
- const $ = $e(null), [C, w] = X(0), [v, I] = X(p);
1551
+ }, I) => {
1552
+ const $ = $e(null), [C, w] = X(0), [b, O] = X(u);
1553
1553
  oe(() => {
1554
- p || I(Jt());
1555
- }, [p]), oe(() => {
1554
+ u || O(Gt());
1555
+ }, [u]), oe(() => {
1556
1556
  if ($.current) {
1557
1557
  const m = $.current;
1558
1558
  w(m.getBoundingClientRect().width);
1559
1559
  }
1560
1560
  });
1561
- const Y = c - n, U = r / Y * 100, B = c !== 100 || n !== 0 ? Math.round(U) : r, H = `${r} av ${c}`, W = d !== "none", z = J("pkt-progressbar__bar", { [`pkt-progressbar__bar--${i}`]: i }), M = J("pkt-progressbar__title", {
1562
- "pkt-progressbar__title-center": a === "center"
1563
- }), A = J("pkt-progressbar__status", {
1564
- "pkt-progressbar__status--center": s === "center"
1565
- }), P = J({
1566
- "pkt-progressbar__status-placement--following": s === "following",
1567
- "pkt-progressbar__status-placement--center": s === "center",
1568
- "pkt-progressbar__status-placement--left": s === "left"
1561
+ const Y = o - n, B = r / Y * 100, W = o !== 100 || n !== 0 ? Math.round(B) : r, G = `${r} av ${o}`, V = d !== "none", J = U("pkt-progressbar__bar", { [`pkt-progressbar__bar--${l}`]: l }), z = U("pkt-progressbar__title", {
1562
+ "pkt-progressbar__title-center": s === "center"
1563
+ }), A = U("pkt-progressbar__status", {
1564
+ "pkt-progressbar__status--center": a === "center"
1565
+ }), P = U({
1566
+ "pkt-progressbar__status-placement--following": a === "following",
1567
+ "pkt-progressbar__status-placement--center": a === "center",
1568
+ "pkt-progressbar__status-placement--left": a === "left"
1569
1569
  });
1570
1570
  return /* @__PURE__ */ e.jsxs(
1571
1571
  "div",
1572
1572
  {
1573
1573
  ...E,
1574
- ref: S,
1575
- className: J("pkt-progressbar__container", x),
1576
- id: v,
1574
+ ref: I,
1575
+ className: U("pkt-progressbar__container", v),
1576
+ id: b,
1577
1577
  style: {
1578
1578
  "--pkt-progress-label-width": `${C}px`,
1579
- "--pkt-progress-width": `${B}%`
1579
+ "--pkt-progress-width": `${W}%`
1580
1580
  },
1581
1581
  children: [
1582
- o && /* @__PURE__ */ e.jsx("p", { id: `${v}-title`, className: M, children: o }),
1582
+ c && /* @__PURE__ */ e.jsx("p", { id: `${b}-title`, className: z, children: c }),
1583
1583
  /* @__PURE__ */ e.jsx(
1584
1584
  "div",
1585
1585
  {
1586
1586
  role: h,
1587
1587
  className: "pkt-progressbar__bar-wrapper",
1588
1588
  "aria-valuemin": n,
1589
- "aria-valuemax": c,
1589
+ "aria-valuemax": o,
1590
1590
  "aria-valuenow": r,
1591
- "aria-labelledby": k || o && `${v}-title`,
1592
- "aria-label": u,
1591
+ "aria-labelledby": k || c && `${b}-title`,
1592
+ "aria-label": p,
1593
1593
  "aria-valuetext": g,
1594
- children: /* @__PURE__ */ e.jsx("div", { className: z })
1594
+ children: /* @__PURE__ */ e.jsx("div", { className: J })
1595
1595
  }
1596
1596
  ),
1597
- W && /* @__PURE__ */ e.jsx("div", { className: A, children: /* @__PURE__ */ e.jsx("span", { className: P, ref: $, children: d === "percentage" ? `${B}%` : H }) })
1597
+ V && /* @__PURE__ */ e.jsx("div", { className: A, children: /* @__PURE__ */ e.jsx("span", { className: P, ref: $, children: d === "percentage" ? `${W}%` : G }) })
1598
1598
  ]
1599
1599
  }
1600
1600
  );
1601
1601
  }
1602
- ), Gt = F(
1602
+ ), Jt = S(
1603
1603
  ({
1604
1604
  id: r,
1605
1605
  name: n,
1606
- label: c,
1607
- className: i,
1608
- hasTile: o = !1,
1609
- disabled: a = !1,
1606
+ label: o,
1607
+ className: l,
1608
+ hasTile: c = !1,
1609
+ disabled: s = !1,
1610
1610
  checkHelptext: d,
1611
- hasError: s = !1,
1612
- ...p
1613
- }, u) => {
1611
+ hasError: a = !1,
1612
+ ...u
1613
+ }, p) => {
1614
1614
  const k = [
1615
- i,
1615
+ l,
1616
1616
  "pkt-input-check"
1617
1617
  ].filter(Boolean).join(" ");
1618
- return /* @__PURE__ */ e.jsx("div", { className: k, children: /* @__PURE__ */ e.jsxs("div", { className: `pkt-input-check__input ${o ? "pkt-input-check__input--tile" : ""} ${a && o ? "pkt-input-check__input--tile-disabled" : ""}`, children: [
1618
+ return /* @__PURE__ */ e.jsx("div", { className: k, children: /* @__PURE__ */ e.jsxs("div", { className: `pkt-input-check__input ${c ? "pkt-input-check__input--tile" : ""} ${s && c ? "pkt-input-check__input--tile-disabled" : ""}`, children: [
1619
1619
  /* @__PURE__ */ e.jsx(
1620
1620
  "input",
1621
1621
  {
1622
- ref: u,
1623
- className: `pkt-input-check__input-checkbox ${s ? "pkt-input-check__input-checkbox--error" : ""}`,
1622
+ ref: p,
1623
+ className: `pkt-input-check__input-checkbox ${a ? "pkt-input-check__input-checkbox--error" : ""}`,
1624
1624
  type: "radio",
1625
1625
  id: r,
1626
- disabled: a,
1626
+ disabled: s,
1627
1627
  name: n,
1628
- ...p
1628
+ ...u
1629
1629
  }
1630
1630
  ),
1631
1631
  /* @__PURE__ */ e.jsxs("label", { className: "pkt-input-check__input-label", htmlFor: r, children: [
1632
- c,
1632
+ o,
1633
1633
  d && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: d })
1634
1634
  ] })
1635
1635
  ] }) });
1636
1636
  }
1637
1637
  );
1638
- Gt.displayName = "PktRadioButton";
1639
- const or = F(
1638
+ Jt.displayName = "PktRadioButton";
1639
+ const ur = S(
1640
1640
  ({
1641
1641
  action: r,
1642
1642
  appearance: n = "local",
1643
- disabled: c = !1,
1644
- fullwidth: i = !1,
1645
- id: o,
1646
- label: a,
1643
+ disabled: o = !1,
1644
+ fullwidth: l = !1,
1645
+ id: c,
1646
+ label: s,
1647
1647
  method: d = "get",
1648
- name: s,
1649
- placeholder: p = "Søk…",
1650
- suggestions: u,
1648
+ name: a,
1649
+ placeholder: u = "Søk…",
1650
+ suggestions: p,
1651
1651
  value: k = "",
1652
1652
  onSearch: h,
1653
- onSuggestionClick: x,
1653
+ onSuggestionClick: v,
1654
1654
  ...g
1655
1655
  }, E) => {
1656
- const S = (v, I) => {
1657
- v ? v() : x && x(I);
1658
- }, $ = `pkt-searchinput pkt-searchinput--${n} ${i ? "pkt-searchinput--fullwidth" : ""}`, C = r ? "form" : "div", w = a ? "label" : "div";
1656
+ const I = (b, O) => {
1657
+ b ? b() : v && v(O);
1658
+ }, $ = `pkt-searchinput pkt-searchinput--${n} ${l ? "pkt-searchinput--fullwidth" : ""}`, C = r ? "form" : "div", w = s ? "label" : "div";
1659
1659
  return /* @__PURE__ */ e.jsxs(
1660
1660
  C,
1661
1661
  {
@@ -1667,23 +1667,23 @@ const or = F(
1667
1667
  ref: E,
1668
1668
  ...g,
1669
1669
  children: [
1670
- /* @__PURE__ */ e.jsxs(w, { htmlFor: a ? o : void 0, className: a ? "pkt-inputwrapper__label" : "", children: [
1671
- a && /* @__PURE__ */ e.jsx(e.Fragment, { children: a }),
1670
+ /* @__PURE__ */ e.jsxs(w, { htmlFor: s ? c : void 0, className: s ? "pkt-inputwrapper__label" : "", children: [
1671
+ s && /* @__PURE__ */ e.jsx(e.Fragment, { children: s }),
1672
1672
  /* @__PURE__ */ e.jsxs("div", { className: n === "local" ? "pkt-input__container" : "pkt-searchinput__field", children: [
1673
1673
  /* @__PURE__ */ e.jsx(
1674
1674
  "input",
1675
1675
  {
1676
- className: `pkt-input ${i ? "pkt-input--fullwidth" : ""}`,
1676
+ className: `pkt-input ${l ? "pkt-input--fullwidth" : ""}`,
1677
1677
  type: "search",
1678
- name: s || o,
1679
- id: o,
1680
- placeholder: p,
1678
+ name: a || c,
1679
+ id: c,
1680
+ placeholder: u,
1681
1681
  defaultValue: k,
1682
- disabled: c,
1683
- onInput: h && ((v) => h(v.currentTarget.value)),
1682
+ disabled: o,
1683
+ onInput: h && ((b) => h(b.currentTarget.value)),
1684
1684
  autoComplete: "off",
1685
1685
  "aria-autocomplete": "list",
1686
- "aria-controls": `${o}-suggestions`
1686
+ "aria-controls": `${c}-suggestions`
1687
1687
  }
1688
1688
  ),
1689
1689
  /* @__PURE__ */ e.jsx(
@@ -1695,372 +1695,407 @@ const or = F(
1695
1695
  skin: n === "local" ? "tertiary" : "primary",
1696
1696
  color: n === "global" ? "yellow" : void 0,
1697
1697
  type: "submit",
1698
- disabled: c,
1698
+ disabled: o,
1699
1699
  onClick: h && (() => h(k)),
1700
- onKeyUp: h && ((v) => v.key === "Enter" && h(k)),
1701
- children: a || p
1700
+ onKeyUp: h && ((b) => b.key === "Enter" && h(k)),
1701
+ children: s || u
1702
1702
  }
1703
1703
  )
1704
1704
  ] })
1705
1705
  ] }),
1706
- u && /* @__PURE__ */ e.jsx("ul", { id: `${o}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: u.map((v, I) => /* @__PURE__ */ e.jsx("li", { children: q.createElement(
1707
- v.href ? "a" : v.onClick ? "button" : "div",
1706
+ p && /* @__PURE__ */ e.jsx("ul", { id: `${c}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: p.map((b, O) => /* @__PURE__ */ e.jsx("li", { children: K.createElement(
1707
+ b.href ? "a" : b.onClick ? "button" : "div",
1708
1708
  {
1709
- href: v.href,
1710
- className: `pkt-searchinput__suggestion ${v.onClick ? "pkt-link-button" : ""} ${v.href || v.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
1711
- type: v.onClick ? "button" : void 0,
1712
- onClick: () => S(v.onClick, I),
1713
- onKeyUp: () => S(v.onClick, I)
1709
+ href: b.href,
1710
+ className: `pkt-searchinput__suggestion ${b.onClick ? "pkt-link-button" : ""} ${b.href || b.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
1711
+ type: b.onClick ? "button" : void 0,
1712
+ onClick: () => I(b.onClick, O),
1713
+ onKeyUp: () => I(b.onClick, O)
1714
1714
  },
1715
1715
  /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1716
- v.title && /* @__PURE__ */ e.jsx("h3", { className: "pkt-searchinput__suggestion-title", children: v.title }),
1717
- v.text && /* @__PURE__ */ e.jsx("p", { className: "pkt-searchinput__suggestion-text", children: v.text })
1716
+ b.title && /* @__PURE__ */ e.jsx("h3", { className: "pkt-searchinput__suggestion-title", children: b.title }),
1717
+ b.text && /* @__PURE__ */ e.jsx("p", { className: "pkt-searchinput__suggestion-text", children: b.text })
1718
1718
  ] })
1719
- ) }, `search-suggestion-${I}`)) })
1719
+ ) }, `search-suggestion-${O}`)) })
1720
1720
  ]
1721
1721
  }
1722
1722
  );
1723
1723
  }
1724
- ), cr = F(
1724
+ ), dr = S(
1725
1725
  ({
1726
1726
  ariaDescribedby: r,
1727
1727
  ariaLabelledby: n,
1728
- children: c,
1729
- className: i,
1730
- disabled: o = !1,
1731
- errorMessage: a,
1728
+ children: o,
1729
+ className: l,
1730
+ disabled: c = !1,
1731
+ errorMessage: s,
1732
1732
  hasError: d,
1733
- helptext: s,
1734
- helptextDropdown: p,
1735
- helptextDropdownButton: u,
1733
+ helptext: a,
1734
+ helptextDropdown: u,
1735
+ helptextDropdownButton: p,
1736
1736
  id: k,
1737
1737
  inline: h = !1,
1738
- fullwidth: x = !1,
1738
+ fullwidth: v = !1,
1739
1739
  label: g,
1740
1740
  name: E,
1741
- optionalTag: S = !1,
1741
+ optionalTag: I = !1,
1742
1742
  optionalText: $,
1743
1743
  requiredTag: C = !1,
1744
1744
  requiredText: w,
1745
- ...v
1746
- }, I) => {
1747
- const Y = [i, "pkt-select"].join(" ");
1745
+ ...b
1746
+ }, O) => {
1747
+ const Y = [l, "pkt-select"].join(" ");
1748
1748
  return /* @__PURE__ */ e.jsx(
1749
1749
  me,
1750
1750
  {
1751
1751
  className: Y,
1752
1752
  forId: k,
1753
1753
  label: g,
1754
- helptext: s,
1755
- helptextDropdown: p,
1756
- helptextDropdownButton: u,
1757
- optionalTag: S,
1754
+ helptext: a,
1755
+ helptextDropdown: u,
1756
+ helptextDropdownButton: p,
1757
+ optionalTag: I,
1758
1758
  optionalText: $,
1759
1759
  requiredTag: C,
1760
1760
  requiredText: w,
1761
1761
  hasError: d,
1762
- errorMessage: a,
1763
- disabled: o,
1762
+ errorMessage: s,
1763
+ disabled: c,
1764
1764
  inline: h,
1765
1765
  ariaDescribedby: r,
1766
1766
  children: /* @__PURE__ */ e.jsx(
1767
1767
  "select",
1768
1768
  {
1769
- ref: I,
1770
- className: `pkt-input ${x ? "pkt-input--fullwidth" : ""}`,
1769
+ ref: O,
1770
+ className: `pkt-input ${v ? "pkt-input--fullwidth" : ""}`,
1771
1771
  "aria-invalid": d,
1772
1772
  "aria-errormessage": `${k}-error`,
1773
1773
  "aria-labelledby": n || `${k}-label`,
1774
- disabled: o,
1774
+ disabled: c,
1775
1775
  id: k,
1776
1776
  name: E || k,
1777
- ...v,
1778
- children: c
1777
+ ...b,
1778
+ children: o
1779
1779
  }
1780
1780
  )
1781
1781
  }
1782
1782
  );
1783
1783
  }
1784
- ), pr = ({
1784
+ ), fr = S(
1785
+ ({
1786
+ activeStep: r,
1787
+ className: n,
1788
+ children: o,
1789
+ hideNonActiveStepsContent: l = !0,
1790
+ orientation: c = "vertical",
1791
+ ...s
1792
+ }, d) => {
1793
+ const a = U(
1794
+ n,
1795
+ "pkt-stepper",
1796
+ c === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
1797
+ ), u = K.Children.map(o, (p, k) => K.isValidElement(p) ? K.cloneElement(p, {
1798
+ className: U(p.props.className, {
1799
+ "pkt-step--hidden": l && k !== r
1800
+ })
1801
+ }) : p);
1802
+ return /* @__PURE__ */ e.jsx("ol", { "data-testid": "pkt-stepper", className: a, ref: d, ...s, children: u });
1803
+ }
1804
+ ), qt = /* @__PURE__ */ e.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), Xt = /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
1805
+ /* @__PURE__ */ e.jsx("circle", { opacity: ".15", cx: "12", cy: "12", r: "12", fill: "#2A2859" }),
1806
+ /* @__PURE__ */ e.jsx("circle", { cx: "12", cy: "12", r: "6", fill: "#2A2859" })
1807
+ ] }), Zt = /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
1808
+ /* @__PURE__ */ e.jsx("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
1809
+ /* @__PURE__ */ e.jsx("path", { d: "m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z", fill: "#F1FDFF" })
1810
+ ] }), kr = ({ children: r, className: n, status: o = "incomplete", title: l }) => /* @__PURE__ */ e.jsxs("li", { className: U("pkt-step", n, `pkt-step--${o}`), "data-testid": "pkt-step", children: [
1811
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-step__line pkt-step__line--1" }),
1812
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-step__line pkt-step__line--2" }),
1813
+ /* @__PURE__ */ e.jsx("span", { className: U("pkt-step__indicator"), children: o === "current" ? Xt : o === "completed" ? Zt : qt }),
1814
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-step__line pkt-step__line--3", role: "separator" }),
1815
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-step__wrapper", children: [
1816
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-step__title", children: l }),
1817
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-step__content", children: r })
1818
+ ] })
1819
+ ] }), mr = ({
1785
1820
  className: r,
1786
1821
  compact: n = !1,
1787
- skin: c = "basic",
1788
- responsiveView: i = !0,
1789
- children: o
1822
+ skin: o = "basic",
1823
+ responsiveView: l = !0,
1824
+ children: c
1790
1825
  }) => /* @__PURE__ */ e.jsx(
1791
1826
  "table",
1792
1827
  {
1793
1828
  "data-testid": "pkt-table",
1794
- className: J(r, "pkt-table", {
1795
- "pkt-table--responsive": i,
1829
+ className: U(r, "pkt-table", {
1830
+ "pkt-table--responsive": l,
1796
1831
  "pkt-table--compact": n,
1797
- "pkt-table--basic": c === "basic",
1798
- "pkt-table--zebra-blue": c === "zebra-blue"
1832
+ "pkt-table--basic": o === "basic",
1833
+ "pkt-table--zebra-blue": o === "zebra-blue"
1799
1834
  }),
1800
1835
  role: "table",
1801
- children: o
1836
+ children: c
1802
1837
  }
1803
- ), ur = ({ children: r, className: n, dataLabel: c }) => /* @__PURE__ */ e.jsx(
1838
+ ), hr = ({ children: r, className: n, dataLabel: o }) => /* @__PURE__ */ e.jsx(
1804
1839
  "td",
1805
1840
  {
1806
- className: J(n, "pkt-table__data-cell", {}),
1807
- "data-label": c,
1841
+ className: U(n, "pkt-table__data-cell", {}),
1842
+ "data-label": o,
1808
1843
  role: "cell",
1809
1844
  "data-testid": "pkt-table__data-cell",
1810
1845
  children: r
1811
1846
  }
1812
- ), dr = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("th", { className: J(r, "pkt-table__header-cell", {}), role: "columnheader", children: n }), fr = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("thead", { className: J(r, "pkt-table__header", {}), role: "rowgroup", children: n }), kr = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("tr", { className: J(r, "pkt-table__row", {}), role: "row", children: n }), mr = ({ children: r, className: n }) => /* @__PURE__ */ e.jsx("tbody", { className: J(n, "pkt-table__body", {}), role: "rowgroup", children: r }), Pe = F(({
1847
+ ), _r = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("th", { className: U(r, "pkt-table__header-cell", {}), role: "columnheader", children: n }), xr = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("thead", { className: U(r, "pkt-table__header", {}), role: "rowgroup", children: n }), vr = ({ className: r, children: n }) => /* @__PURE__ */ e.jsx("tr", { className: U(r, "pkt-table__row", {}), role: "row", children: n }), br = ({ children: r, className: n }) => /* @__PURE__ */ e.jsx("tbody", { className: U(n, "pkt-table__body", {}), role: "rowgroup", children: r }), Pe = S(({
1813
1848
  children: r,
1814
1849
  className: n,
1815
- skin: c = "blue",
1816
- textStyle: i = "normal-text",
1817
- size: o = "medium",
1818
- closeTag: a = !1,
1850
+ skin: o = "blue",
1851
+ textStyle: l = "normal-text",
1852
+ size: c = "medium",
1853
+ closeTag: s = !1,
1819
1854
  iconName: d = "",
1820
- type: s = "button",
1821
- ariaLabel: p = "close",
1822
- onClick: u = () => {
1855
+ type: a = "button",
1856
+ ariaLabel: u = "close",
1857
+ onClick: p = () => {
1823
1858
  }
1824
1859
  }, k) => {
1825
- const [h, x] = X(!1), g = (C) => {
1826
- x(!0), u(C);
1860
+ const [h, v] = X(!1), g = (C) => {
1861
+ v(!0), p(C);
1827
1862
  }, E = [
1828
1863
  "pkt-tag",
1829
- o && `pkt-tag--${o}`,
1830
1864
  c && `pkt-tag--${c}`,
1831
- i && `pkt-tag--${i}`,
1865
+ o && `pkt-tag--${o}`,
1866
+ l && `pkt-tag--${l}`,
1832
1867
  n
1833
- ].filter(Boolean).join(" "), S = [
1868
+ ].filter(Boolean).join(" "), I = [
1834
1869
  "pkt-tag",
1835
1870
  "pkt-btn",
1836
1871
  "pkt-btn--tertiary",
1837
- o && `pkt-tag--${o}`,
1838
1872
  c && `pkt-tag--${c}`,
1839
- i && `pkt-tag--${i}`,
1840
- d && a ? "pkt-btn--icons-right-and-left" : null,
1841
- a && !d ? "pkt-btn--icon-right" : null,
1873
+ o && `pkt-tag--${o}`,
1874
+ l && `pkt-tag--${l}`,
1875
+ d && s ? "pkt-btn--icons-right-and-left" : null,
1876
+ s && !d ? "pkt-btn--icon-right" : null,
1842
1877
  n
1843
1878
  ].filter(Boolean).join(" "), $ = !h;
1844
- return a && d ? /* @__PURE__ */ e.jsx(e.Fragment, { children: $ && /* @__PURE__ */ e.jsxs(
1879
+ return s && d ? /* @__PURE__ */ e.jsx(e.Fragment, { children: $ && /* @__PURE__ */ e.jsxs(
1845
1880
  "button",
1846
1881
  {
1847
- className: S,
1848
- type: s,
1849
- "aria-label": p,
1882
+ className: I,
1883
+ type: a,
1884
+ "aria-label": u,
1850
1885
  onClick: g,
1851
1886
  ref: k,
1852
1887
  children: [
1853
- /* @__PURE__ */ e.jsx(b, { className: "pkt-tag__icon", name: d }),
1888
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__icon", name: d }),
1854
1889
  r,
1855
- /* @__PURE__ */ e.jsx(b, { className: "pkt-tag__close-btn", name: "close" })
1890
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__close-btn", name: "close" })
1856
1891
  ]
1857
1892
  }
1858
- ) }) : a ? /* @__PURE__ */ e.jsx(e.Fragment, { children: $ && /* @__PURE__ */ e.jsxs(
1893
+ ) }) : s ? /* @__PURE__ */ e.jsx(e.Fragment, { children: $ && /* @__PURE__ */ e.jsxs(
1859
1894
  "button",
1860
1895
  {
1861
- className: S,
1862
- type: s,
1863
- "aria-label": p,
1896
+ className: I,
1897
+ type: a,
1898
+ "aria-label": u,
1864
1899
  onClick: g,
1865
1900
  ref: k,
1866
1901
  children: [
1867
- /* @__PURE__ */ e.jsx(b, { className: "pkt-tag__close-btn", name: "close" }),
1902
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__close-btn", name: "close" }),
1868
1903
  r
1869
1904
  ]
1870
1905
  }
1871
1906
  ) }) : d ? /* @__PURE__ */ e.jsxs("span", { className: E, children: [
1872
- /* @__PURE__ */ e.jsx(b, { className: "pkt-tag__icon", name: d }),
1907
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__icon", name: d }),
1873
1908
  r
1874
1909
  ] }) : /* @__PURE__ */ e.jsx("span", { className: E, children: r });
1875
1910
  });
1876
1911
  Pe.displayName = "PktTag";
1877
- const hr = F(
1878
- ({ arrowNav: r = !0, tabs: n, onTabSelected: c }, i) => {
1879
- const o = $e([]);
1912
+ const jr = S(
1913
+ ({ arrowNav: r = !0, tabs: n, onTabSelected: o }, l) => {
1914
+ const c = $e([]);
1880
1915
  oe(() => {
1881
- o.current = o.current.slice(0, n.length);
1916
+ c.current = c.current.slice(0, n.length);
1882
1917
  }, [n]);
1883
- const a = (s, p) => {
1884
- p.action && p.action(s), c && c(s);
1885
- }, d = (s, p) => {
1886
- var u, k;
1887
- r && (p.code === "ArrowLeft" && s !== 0 && ((u = o.current[s - 1]) == null || u.focus()), p.code === "ArrowRight" && s < n.length - 1 && ((k = o.current[s + 1]) == null || k.focus()), (p.code === "ArrowDown" || p.code === "Space") && a(s, n[s]));
1918
+ const s = (a, u) => {
1919
+ u.action && u.action(a), o && o(a);
1920
+ }, d = (a, u) => {
1921
+ var p, k;
1922
+ r && (u.code === "ArrowLeft" && a !== 0 && ((p = c.current[a - 1]) == null || p.focus()), u.code === "ArrowRight" && a < n.length - 1 && ((k = c.current[a + 1]) == null || k.focus()), (u.code === "ArrowDown" || u.code === "Space") && s(a, n[a]));
1888
1923
  };
1889
- return /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs", ref: i, children: /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs__list", role: r ? "tablist" : "navigation", children: n.map((s, p) => /* @__PURE__ */ e.jsx($t, { children: s.href ? /* @__PURE__ */ e.jsxs(
1924
+ return /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs", ref: l, children: /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs__list", role: r ? "tablist" : "navigation", children: n.map((a, u) => /* @__PURE__ */ e.jsx($t, { children: a.href ? /* @__PURE__ */ e.jsxs(
1890
1925
  "a",
1891
1926
  {
1892
- "aria-selected": !!s.active,
1927
+ "aria-selected": !!a.active,
1893
1928
  role: r ? "tab" : void 0,
1894
- href: s.href,
1895
- "aria-controls": s.controls,
1896
- className: `pkt-tabs__link ${s.active ? "active" : ""}`,
1897
- onKeyUp: (u) => d(p, u),
1898
- onClick: () => a(p, s),
1899
- tabIndex: s.active || !r ? void 0 : -1,
1900
- ref: (u) => {
1901
- o.current[p] = u;
1929
+ href: a.href,
1930
+ "aria-controls": a.controls,
1931
+ className: `pkt-tabs__link ${a.active ? "active" : ""}`,
1932
+ onKeyUp: (p) => d(u, p),
1933
+ onClick: () => s(u, a),
1934
+ tabIndex: a.active || !r ? void 0 : -1,
1935
+ ref: (p) => {
1936
+ c.current[u] = p;
1902
1937
  },
1903
1938
  children: [
1904
- s.icon && /* @__PURE__ */ e.jsx(b, { name: s.icon, className: "pkt-icon--small" }),
1905
- s.text,
1906
- s.tag && /* @__PURE__ */ e.jsx(Pe, { skin: s.tag.skin, size: "small", children: s.tag.text })
1939
+ a.icon && /* @__PURE__ */ e.jsx(x, { name: a.icon, className: "pkt-icon--small" }),
1940
+ a.text,
1941
+ a.tag && /* @__PURE__ */ e.jsx(Pe, { skin: a.tag.skin, size: "small", children: a.tag.text })
1907
1942
  ]
1908
1943
  }
1909
1944
  ) : /* @__PURE__ */ e.jsxs(
1910
1945
  "button",
1911
1946
  {
1912
- "aria-selected": !!s.active,
1947
+ "aria-selected": !!a.active,
1913
1948
  role: r ? "tab" : void 0,
1914
1949
  type: "button",
1915
- "aria-controls": s.controls,
1916
- className: `pkt-tabs__button pkt-link-button ${s.active ? "active" : ""}`,
1917
- onKeyUp: (u) => d(p, u),
1918
- onClick: () => a(p, s),
1919
- tabIndex: s.active || !r ? void 0 : -1,
1920
- ref: (u) => {
1921
- o.current[p] = u;
1950
+ "aria-controls": a.controls,
1951
+ className: `pkt-tabs__button pkt-link-button ${a.active ? "active" : ""}`,
1952
+ onKeyUp: (p) => d(u, p),
1953
+ onClick: () => s(u, a),
1954
+ tabIndex: a.active || !r ? void 0 : -1,
1955
+ ref: (p) => {
1956
+ c.current[u] = p;
1922
1957
  },
1923
1958
  children: [
1924
- s.icon && /* @__PURE__ */ e.jsx(b, { name: s.icon, className: "pkt-icon--small" }),
1925
- s.text,
1926
- s.tag && /* @__PURE__ */ e.jsx(Pe, { skin: s.tag.skin, size: "small", children: s.tag.text })
1959
+ a.icon && /* @__PURE__ */ e.jsx(x, { name: a.icon, className: "pkt-icon--small" }),
1960
+ a.text,
1961
+ a.tag && /* @__PURE__ */ e.jsx(Pe, { skin: a.tag.skin, size: "small", children: a.tag.text })
1927
1962
  ]
1928
1963
  },
1929
- "b-" + p
1930
- ) }, p)) }) });
1964
+ "b-" + u
1965
+ ) }, u)) }) });
1931
1966
  }
1932
- ), _r = F(
1967
+ ), gr = S(
1933
1968
  ({
1934
1969
  id: r,
1935
1970
  ariaDescribedby: n,
1936
- ariaLabelledby: c,
1937
- counter: i,
1938
- counterMaxLength: o,
1939
- className: a,
1971
+ ariaLabelledby: o,
1972
+ counter: l,
1973
+ counterMaxLength: c,
1974
+ className: s,
1940
1975
  disabled: d,
1941
- errorMessage: s,
1942
- hasError: p,
1943
- helptext: u,
1976
+ errorMessage: a,
1977
+ hasError: u,
1978
+ helptext: p,
1944
1979
  helptextDropdown: k,
1945
1980
  helptextDropdownButton: h,
1946
- inline: x,
1981
+ inline: v,
1947
1982
  fullwidth: g = !1,
1948
1983
  label: E,
1949
- name: S,
1984
+ name: I,
1950
1985
  optionalTag: $ = !1,
1951
1986
  optionalText: C,
1952
1987
  requiredTag: w = !1,
1953
- requiredText: v,
1954
- placeholder: I,
1988
+ requiredText: b,
1989
+ placeholder: O,
1955
1990
  rows: Y,
1956
- useWrapper: U = !0,
1957
- onChange: B,
1958
- ...H
1959
- }, W) => {
1960
- const z = [a, "pkt-textinput", "pkt-textarea"].join(" "), M = c || `${r}-label`, A = $e(null), [P, m] = X(0), D = (Z) => {
1991
+ useWrapper: B = !0,
1992
+ onChange: W,
1993
+ ...G
1994
+ }, V) => {
1995
+ const J = [s, "pkt-textinput", "pkt-textarea"].join(" "), z = o || `${r}-label`, A = $e(null), [P, m] = X(0), D = (Z) => {
1961
1996
  var Q, ne;
1962
- if (i && m(((ne = (Q = Z.currentTarget) == null ? void 0 : Q.value) == null ? void 0 : ne.length) || 0), B)
1963
- return B(Z);
1997
+ if (l && m(((ne = (Q = Z.currentTarget) == null ? void 0 : Q.value) == null ? void 0 : ne.length) || 0), W)
1998
+ return W(Z);
1964
1999
  };
1965
2000
  return oe(() => {
1966
2001
  var Z, Q;
1967
- typeof W == "function" && W(A.current), i && m(((Q = (Z = A == null ? void 0 : A.current) == null ? void 0 : Z.value) == null ? void 0 : Q.length) || 0);
1968
- }, [W]), /* @__PURE__ */ e.jsxs(
2002
+ typeof V == "function" && V(A.current), l && m(((Q = (Z = A == null ? void 0 : A.current) == null ? void 0 : Z.value) == null ? void 0 : Q.length) || 0);
2003
+ }, [V]), /* @__PURE__ */ e.jsxs(
1969
2004
  me,
1970
2005
  {
1971
2006
  ariaDescribedby: n,
1972
- className: z,
2007
+ className: J,
1973
2008
  disabled: d,
1974
- errorMessage: s,
2009
+ errorMessage: a,
1975
2010
  forId: r,
1976
- hasError: p,
1977
- helptext: u,
2011
+ hasError: u,
2012
+ helptext: p,
1978
2013
  helptextDropdown: k,
1979
2014
  helptextDropdownButton: h,
1980
- inline: x,
2015
+ inline: v,
1981
2016
  label: E,
1982
2017
  optionalTag: $,
1983
2018
  optionalText: C,
1984
2019
  requiredTag: w,
1985
- requiredText: v,
1986
- useWrapper: U,
2020
+ requiredText: b,
2021
+ useWrapper: B,
1987
2022
  children: [
1988
2023
  /* @__PURE__ */ e.jsx(
1989
2024
  "textarea",
1990
2025
  {
1991
2026
  ref: A,
1992
- className: `pkt-input ${g ? "pkt-input--fullwidth" : ""} ${o && P > o ? "pkt-input--counter-error" : ""}`,
1993
- name: S || r,
2027
+ className: `pkt-input ${g ? "pkt-input--fullwidth" : ""} ${c && P > c ? "pkt-input--counter-error" : ""}`,
2028
+ name: I || r,
1994
2029
  id: r,
1995
- placeholder: I,
2030
+ placeholder: O,
1996
2031
  disabled: d,
1997
2032
  rows: Y,
1998
- "aria-labelledby": M,
1999
- "aria-invalid": p,
2033
+ "aria-labelledby": z,
2034
+ "aria-invalid": u,
2000
2035
  "aria-errormessage": `${r}-error`,
2001
- ...H,
2036
+ ...G,
2002
2037
  onChange: D
2003
2038
  }
2004
2039
  ),
2005
- i && /* @__PURE__ */ e.jsxs("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
2040
+ l && /* @__PURE__ */ e.jsxs("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
2006
2041
  P || 0,
2007
- o && `/${o}`
2042
+ c && `/${c}`
2008
2043
  ] })
2009
2044
  ]
2010
2045
  }
2011
2046
  );
2012
2047
  }
2013
- ), br = F(
2048
+ ), Nr = S(
2014
2049
  ({
2015
2050
  id: r,
2016
2051
  ariaDescribedby: n,
2017
- ariaLabelledby: c,
2018
- autocomplete: i = "off",
2019
- className: o,
2020
- disabled: a = !1,
2052
+ ariaLabelledby: o,
2053
+ autocomplete: l = "off",
2054
+ className: c,
2055
+ disabled: s = !1,
2021
2056
  errorMessage: d,
2022
- hasError: s = !1,
2023
- helptext: p,
2024
- helptextDropdown: u,
2057
+ hasError: a = !1,
2058
+ helptext: u,
2059
+ helptextDropdown: p,
2025
2060
  helptextDropdownButton: k,
2026
2061
  iconNameRight: h,
2027
- inline: x = !1,
2062
+ inline: v = !1,
2028
2063
  fullwidth: g = !1,
2029
2064
  label: E,
2030
- name: S,
2065
+ name: I,
2031
2066
  optionalTag: $ = !1,
2032
2067
  optionalText: C,
2033
2068
  requiredTag: w = !1,
2034
- requiredText: v,
2035
- placeholder: I,
2069
+ requiredText: b,
2070
+ placeholder: O,
2036
2071
  prefix: Y,
2037
- suffix: U,
2038
- type: B = "text",
2039
- useWrapper: H = !0,
2040
- omitSearchIcon: W = !1,
2041
- value: z,
2042
- ...M
2072
+ suffix: B,
2073
+ type: W = "text",
2074
+ useWrapper: G = !0,
2075
+ omitSearchIcon: V = !1,
2076
+ value: J,
2077
+ ...z
2043
2078
  }, A) => {
2044
- const P = [o, "pkt-textinput"].join(" "), m = c || `${r}-label`, D = B === "search" && !h && !W;
2079
+ const P = [c, "pkt-textinput"].join(" "), m = o || `${r}-label`, D = W === "search" && !h && !V;
2045
2080
  return /* @__PURE__ */ e.jsx(
2046
2081
  me,
2047
2082
  {
2048
2083
  ariaDescribedby: n,
2049
2084
  className: P,
2050
- disabled: a,
2085
+ disabled: s,
2051
2086
  errorMessage: d,
2052
2087
  forId: r,
2053
- hasError: s,
2054
- helptext: p,
2055
- helptextDropdown: u,
2088
+ hasError: a,
2089
+ helptext: u,
2090
+ helptextDropdown: p,
2056
2091
  helptextDropdownButton: k,
2057
- inline: x,
2092
+ inline: v,
2058
2093
  label: E,
2059
2094
  optionalTag: $,
2060
2095
  optionalText: C,
2061
2096
  requiredTag: w,
2062
- requiredText: v,
2063
- useWrapper: H,
2097
+ requiredText: b,
2098
+ useWrapper: G,
2064
2099
  children: /* @__PURE__ */ e.jsxs("div", { className: "pkt-input__container", children: [
2065
2100
  Y && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-prefix", children: Y }),
2066
2101
  /* @__PURE__ */ e.jsx(
@@ -2068,61 +2103,63 @@ const hr = F(
2068
2103
  {
2069
2104
  ref: A,
2070
2105
  className: `pkt-input ${g ? "pkt-input--fullwidth" : ""}`,
2071
- type: B,
2072
- name: S || r,
2106
+ type: W,
2107
+ name: I || r,
2073
2108
  id: r,
2074
- placeholder: I,
2075
- autoComplete: i,
2076
- value: z,
2077
- disabled: a,
2078
- "aria-invalid": s,
2109
+ placeholder: O,
2110
+ autoComplete: l,
2111
+ value: J,
2112
+ disabled: s,
2113
+ "aria-invalid": a,
2079
2114
  "aria-errormessage": `${r}-error`,
2080
2115
  "aria-labelledby": m,
2081
- ...M
2116
+ ...z
2082
2117
  }
2083
2118
  ),
2084
- U && /* @__PURE__ */ e.jsxs("p", { className: "pkt-input-suffix", children: [
2085
- U,
2086
- h && /* @__PURE__ */ e.jsx(b, { className: "pkt-input-suffix-icon", name: h }),
2087
- D && /* @__PURE__ */ e.jsx(b, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
2119
+ B && /* @__PURE__ */ e.jsxs("p", { className: "pkt-input-suffix", children: [
2120
+ B,
2121
+ h && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-suffix-icon", name: h }),
2122
+ D && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
2088
2123
  ] }),
2089
- !U && h && /* @__PURE__ */ e.jsx(b, { className: "pkt-input-icon", name: h }),
2090
- !U && D && /* @__PURE__ */ e.jsx(b, { className: "pkt-input-icon", name: "magnifying-glass-big" })
2124
+ !B && h && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-icon", name: h }),
2125
+ !B && D && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-icon", name: "magnifying-glass-big" })
2091
2126
  ] })
2092
2127
  }
2093
2128
  );
2094
2129
  }
2095
2130
  );
2096
2131
  export {
2097
- Zt as PktAccordion,
2098
- Qt as PktAccordionItem,
2132
+ tr as PktAccordion,
2133
+ rr as PktAccordionItem,
2099
2134
  Bt as PktAlert,
2100
- er as PktBackLink,
2101
- tr as PktBreadcrumbs,
2135
+ nr as PktBackLink,
2136
+ sr as PktBreadcrumbs,
2102
2137
  ce as PktButton,
2103
2138
  Wt as PktCheckbox,
2104
- rr as PktFooter,
2105
- nr as PktFooterSimple,
2106
- ar as PktHeader,
2107
- b as PktIcon,
2139
+ ar as PktFooter,
2140
+ lr as PktFooterSimple,
2141
+ ir as PktHeader,
2142
+ x as PktIcon,
2108
2143
  Lt as PktIconContext,
2109
2144
  Vt as PktInput,
2110
2145
  me as PktInputWrapper,
2111
- Yt as PktLinkCard,
2112
- sr as PktLoader,
2113
- lr as PktMessagebox,
2114
- ir as PktProgressbar,
2115
- Gt as PktRadioButton,
2116
- or as PktSearchInput,
2117
- cr as PktSelect,
2118
- pr as PktTable,
2119
- mr as PktTableBody,
2120
- ur as PktTableDataCell,
2121
- fr as PktTableHeader,
2122
- dr as PktTableHeaderCell,
2123
- kr as PktTableRow,
2124
- hr as PktTabs,
2146
+ Mt as PktLinkCard,
2147
+ or as PktLoader,
2148
+ cr as PktMessagebox,
2149
+ pr as PktProgressbar,
2150
+ Jt as PktRadioButton,
2151
+ ur as PktSearchInput,
2152
+ dr as PktSelect,
2153
+ kr as PktStep,
2154
+ fr as PktStepper,
2155
+ mr as PktTable,
2156
+ br as PktTableBody,
2157
+ hr as PktTableDataCell,
2158
+ xr as PktTableHeader,
2159
+ _r as PktTableHeaderCell,
2160
+ vr as PktTableRow,
2161
+ jr as PktTabs,
2125
2162
  Pe as PktTag,
2126
- _r as PktTextarea,
2127
- br as PktTextinput
2163
+ gr as PktTextarea,
2164
+ Nr as PktTextinput
2128
2165
  };