@oslokommune/punkt-react 8.0.0 → 8.0.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,9 +1,9 @@
1
- import * as _ from "react";
2
- import G, { useState as ie, useEffect as yt, forwardRef as H, useRef as ln } from "react";
1
+ import * as b from "react";
2
+ import q, { useState as ce, useEffect as yt, forwardRef as z, useRef as ln } from "react";
3
3
  function sn(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
- var Fe = { exports: {} }, oe = {};
6
+ var $e = { exports: {} }, ie = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -16,9 +16,9 @@ var Fe = { exports: {} }, oe = {};
16
16
  var kt;
17
17
  function cn() {
18
18
  if (kt)
19
- return oe;
19
+ return ie;
20
20
  kt = 1;
21
- var e = G, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ var e = q, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
22
22
  function s(c, f, d) {
23
23
  var h, v = {}, x = null, C = null;
24
24
  d !== void 0 && (x = "" + d), f.key !== void 0 && (x = "" + f.key), f.ref !== void 0 && (C = f.ref);
@@ -29,9 +29,9 @@ function cn() {
29
29
  v[h] === void 0 && (v[h] = f[h]);
30
30
  return { $$typeof: n, type: c, key: x, ref: C, props: v, _owner: a.current };
31
31
  }
32
- return oe.Fragment = r, oe.jsx = s, oe.jsxs = s, oe;
32
+ return ie.Fragment = r, ie.jsx = s, ie.jsxs = s, ie;
33
33
  }
34
- var le = {};
34
+ var se = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -44,24 +44,24 @@ var le = {};
44
44
  var vt;
45
45
  function un() {
46
46
  return vt || (vt = 1, process.env.NODE_ENV !== "production" && function() {
47
- var e = G, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), O = Symbol.iterator, P = "@@iterator";
47
+ var e = q, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), O = Symbol.iterator, R = "@@iterator";
48
48
  function T(t) {
49
49
  if (t === null || typeof t != "object")
50
50
  return null;
51
- var u = O && t[O] || t[P];
51
+ var u = O && t[O] || t[R];
52
52
  return typeof u == "function" ? u : null;
53
53
  }
54
- var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
+ var P = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function g(t) {
56
56
  {
57
57
  for (var u = arguments.length, p = new Array(u > 1 ? u - 1 : 0), k = 1; k < u; k++)
58
58
  p[k - 1] = arguments[k];
59
- j("error", t, p);
59
+ F("error", t, p);
60
60
  }
61
61
  }
62
- function j(t, u, p) {
62
+ function F(t, u, p) {
63
63
  {
64
- var k = R.ReactDebugCurrentFrame, w = k.getStackAddendum();
64
+ var k = P.ReactDebugCurrentFrame, w = k.getStackAddendum();
65
65
  w !== "" && (u += "%s", p = p.concat([w]));
66
66
  var S = p.map(function(E) {
67
67
  return String(E);
@@ -69,23 +69,23 @@ function un() {
69
69
  S.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, S);
70
70
  }
71
71
  }
72
- var $ = !1, M = !1, A = !1, z = !1, V = !1, W;
73
- W = Symbol.for("react.module.reference");
74
- function J(t) {
75
- return !!(typeof t == "string" || typeof t == "function" || t === l || t === i || V || t === a || t === d || t === h || z || t === C || $ || M || A || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === v || t.$$typeof === s || t.$$typeof === c || t.$$typeof === f || // This needs to include all possible module reference object
72
+ var $ = !1, A = !1, U = !1, G = !1, M = !1, K;
73
+ K = Symbol.for("react.module.reference");
74
+ function B(t) {
75
+ return !!(typeof t == "string" || typeof t == "function" || t === l || t === i || M || t === a || t === d || t === h || G || t === C || $ || A || U || typeof t == "object" && t !== null && (t.$$typeof === x || t.$$typeof === v || t.$$typeof === s || t.$$typeof === c || t.$$typeof === f || // 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 === K || t.getModuleId !== void 0));
80
80
  }
81
- function K(t, u, p) {
81
+ function W(t, u, p) {
82
82
  var k = t.displayName;
83
83
  if (k)
84
84
  return k;
85
85
  var w = u.displayName || u.name || "";
86
86
  return w !== "" ? p + "(" + w + ")" : p;
87
87
  }
88
- function b(t) {
88
+ function _(t) {
89
89
  return t.displayName || "Context";
90
90
  }
91
91
  function D(t) {
@@ -113,12 +113,12 @@ function un() {
113
113
  switch (t.$$typeof) {
114
114
  case c:
115
115
  var u = t;
116
- return b(u) + ".Consumer";
116
+ return _(u) + ".Consumer";
117
117
  case s:
118
118
  var p = t;
119
- return b(p._context) + ".Provider";
119
+ return _(p._context) + ".Provider";
120
120
  case f:
121
- return K(t, t.render, "ForwardRef");
121
+ return W(t, t.render, "ForwardRef");
122
122
  case v:
123
123
  var k = t.displayName || null;
124
124
  return k !== null ? k : D(t.type) || "Memo";
@@ -133,14 +133,14 @@ function un() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var B = Object.assign, Z = 0, Ge, Ke, qe, Xe, Ze, Qe, et;
136
+ var Y = Object.assign, H = 0, Q, oe, qe, Xe, Ze, Qe, et;
137
137
  function tt() {
138
138
  }
139
139
  tt.__reactDisabledLog = !0;
140
140
  function Ft() {
141
141
  {
142
- if (Z === 0) {
143
- Ge = console.log, Ke = console.info, qe = console.warn, Xe = console.error, Ze = console.group, Qe = console.groupCollapsed, et = console.groupEnd;
142
+ if (H === 0) {
143
+ Q = console.log, oe = console.info, qe = console.warn, Xe = console.error, Ze = console.group, Qe = console.groupCollapsed, et = console.groupEnd;
144
144
  var t = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -157,77 +157,77 @@ function un() {
157
157
  groupEnd: t
158
158
  });
159
159
  }
160
- Z++;
160
+ H++;
161
161
  }
162
162
  }
163
163
  function It() {
164
164
  {
165
- if (Z--, Z === 0) {
165
+ if (H--, H === 0) {
166
166
  var t = {
167
167
  configurable: !0,
168
168
  enumerable: !0,
169
169
  writable: !0
170
170
  };
171
171
  Object.defineProperties(console, {
172
- log: B({}, t, {
173
- value: Ge
172
+ log: Y({}, t, {
173
+ value: Q
174
174
  }),
175
- info: B({}, t, {
176
- value: Ke
175
+ info: Y({}, t, {
176
+ value: oe
177
177
  }),
178
- warn: B({}, t, {
178
+ warn: Y({}, t, {
179
179
  value: qe
180
180
  }),
181
- error: B({}, t, {
181
+ error: Y({}, t, {
182
182
  value: Xe
183
183
  }),
184
- group: B({}, t, {
184
+ group: Y({}, t, {
185
185
  value: Ze
186
186
  }),
187
- groupCollapsed: B({}, t, {
187
+ groupCollapsed: Y({}, t, {
188
188
  value: Qe
189
189
  }),
190
- groupEnd: B({}, t, {
190
+ groupEnd: Y({}, t, {
191
191
  value: et
192
192
  })
193
193
  });
194
194
  }
195
- Z < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
+ H < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var xe = R.ReactCurrentDispatcher, we;
199
- function ce(t, u, p) {
198
+ var Ce = P.ReactCurrentDispatcher, Re;
199
+ function fe(t, u, p) {
200
200
  {
201
- if (we === void 0)
201
+ if (Re === void 0)
202
202
  try {
203
203
  throw Error();
204
204
  } catch (w) {
205
205
  var k = w.stack.trim().match(/\n( *(at )?)/);
206
- we = k && k[1] || "";
206
+ Re = k && k[1] || "";
207
207
  }
208
208
  return `
209
- ` + we + t;
209
+ ` + Re + t;
210
210
  }
211
211
  }
212
- var Ce = !1, ue;
212
+ var Pe = !1, pe;
213
213
  {
214
214
  var $t = typeof WeakMap == "function" ? WeakMap : Map;
215
- ue = new $t();
215
+ pe = new $t();
216
216
  }
217
217
  function nt(t, u) {
218
- if (!t || Ce)
218
+ if (!t || Pe)
219
219
  return "";
220
220
  {
221
- var p = ue.get(t);
221
+ var p = pe.get(t);
222
222
  if (p !== void 0)
223
223
  return p;
224
224
  }
225
225
  var k;
226
- Ce = !0;
226
+ Pe = !0;
227
227
  var w = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
229
  var S;
230
- S = xe.current, xe.current = null, Ft();
230
+ S = Ce.current, Ce.current = null, Ft();
231
231
  try {
232
232
  if (u) {
233
233
  var E = function() {
@@ -240,50 +240,50 @@ function un() {
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
242
  Reflect.construct(E, []);
243
- } catch (q) {
244
- k = q;
243
+ } catch (X) {
244
+ k = X;
245
245
  }
246
246
  Reflect.construct(t, [], E);
247
247
  } else {
248
248
  try {
249
249
  E.call();
250
- } catch (q) {
251
- k = q;
250
+ } catch (X) {
251
+ k = X;
252
252
  }
253
253
  t.call(E.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
257
257
  throw Error();
258
- } catch (q) {
259
- k = q;
258
+ } catch (X) {
259
+ k = X;
260
260
  }
261
261
  t();
262
262
  }
263
- } catch (q) {
264
- if (q && k && typeof q.stack == "string") {
265
- for (var N = q.stack.split(`
266
- `), U = k.stack.split(`
267
- `), L = N.length - 1, F = U.length - 1; L >= 1 && F >= 0 && N[L] !== U[F]; )
268
- F--;
269
- for (; L >= 1 && F >= 0; L--, F--)
270
- if (N[L] !== U[F]) {
271
- if (L !== 1 || F !== 1)
263
+ } catch (X) {
264
+ if (X && k && typeof X.stack == "string") {
265
+ for (var N = X.stack.split(`
266
+ `), V = k.stack.split(`
267
+ `), j = N.length - 1, L = V.length - 1; j >= 1 && L >= 0 && N[j] !== V[L]; )
268
+ L--;
269
+ for (; j >= 1 && L >= 0; j--, L--)
270
+ if (N[j] !== V[L]) {
271
+ if (j !== 1 || L !== 1)
272
272
  do
273
- if (L--, F--, F < 0 || N[L] !== U[F]) {
274
- var Y = `
275
- ` + N[L].replace(" at new ", " at ");
276
- return t.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", t.displayName)), typeof t == "function" && ue.set(t, Y), Y;
273
+ if (j--, L--, L < 0 || N[j] !== V[L]) {
274
+ var J = `
275
+ ` + N[j].replace(" at new ", " at ");
276
+ return t.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", t.displayName)), typeof t == "function" && pe.set(t, J), J;
277
277
  }
278
- while (L >= 1 && F >= 0);
278
+ while (j >= 1 && L >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- Ce = !1, xe.current = S, It(), Error.prepareStackTrace = w;
283
+ Pe = !1, Ce.current = S, It(), Error.prepareStackTrace = w;
284
284
  }
285
- var ne = t ? t.displayName || t.name : "", ht = ne ? ce(ne) : "";
286
- return typeof t == "function" && ue.set(t, ht), ht;
285
+ var re = t ? t.displayName || t.name : "", ht = re ? fe(re) : "";
286
+ return typeof t == "function" && pe.set(t, ht), ht;
287
287
  }
288
288
  function At(t, u, p) {
289
289
  return nt(t, !1);
@@ -292,64 +292,64 @@ function un() {
292
292
  var u = t.prototype;
293
293
  return !!(u && u.isReactComponent);
294
294
  }
295
- function fe(t, u, p) {
295
+ function de(t, u, p) {
296
296
  if (t == null)
297
297
  return "";
298
298
  if (typeof t == "function")
299
299
  return nt(t, Ut(t));
300
300
  if (typeof t == "string")
301
- return ce(t);
301
+ return fe(t);
302
302
  switch (t) {
303
303
  case d:
304
- return ce("Suspense");
304
+ return fe("Suspense");
305
305
  case h:
306
- return ce("SuspenseList");
306
+ return fe("SuspenseList");
307
307
  }
308
308
  if (typeof t == "object")
309
309
  switch (t.$$typeof) {
310
310
  case f:
311
311
  return At(t.render);
312
312
  case v:
313
- return fe(t.type, u, p);
313
+ return de(t.type, u, p);
314
314
  case x: {
315
315
  var k = t, w = k._payload, S = k._init;
316
316
  try {
317
- return fe(S(w), u, p);
317
+ return de(S(w), u, p);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var pe = Object.prototype.hasOwnProperty, rt = {}, at = R.ReactDebugCurrentFrame;
325
- function de(t) {
324
+ var me = Object.prototype.hasOwnProperty, rt = {}, at = P.ReactDebugCurrentFrame;
325
+ function he(t) {
326
326
  if (t) {
327
- var u = t._owner, p = fe(t.type, t._source, u ? u.type : null);
327
+ var u = t._owner, p = de(t.type, t._source, u ? u.type : null);
328
328
  at.setExtraStackFrame(p);
329
329
  } else
330
330
  at.setExtraStackFrame(null);
331
331
  }
332
332
  function Vt(t, u, p, k, w) {
333
333
  {
334
- var S = Function.call.bind(pe);
334
+ var S = Function.call.bind(me);
335
335
  for (var E in t)
336
336
  if (S(t, E)) {
337
337
  var N = void 0;
338
338
  try {
339
339
  if (typeof t[E] != "function") {
340
- var U = Error((k || "React class") + ": " + p + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw U.name = "Invariant Violation", U;
340
+ var V = Error((k || "React class") + ": " + p + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw V.name = "Invariant Violation", V;
342
342
  }
343
343
  N = t[E](u, E, k, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
- } catch (L) {
345
- N = L;
344
+ } catch (j) {
345
+ N = j;
346
346
  }
347
- N && !(N instanceof Error) && (de(w), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", k || "React class", p, E, typeof N), de(null)), N instanceof Error && !(N.message in rt) && (rt[N.message] = !0, de(w), g("Failed %s type: %s", p, N.message), de(null));
347
+ N && !(N instanceof Error) && (he(w), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", k || "React class", p, E, typeof N), he(null)), N instanceof Error && !(N.message in rt) && (rt[N.message] = !0, he(w), g("Failed %s type: %s", p, N.message), he(null));
348
348
  }
349
349
  }
350
350
  }
351
351
  var Wt = Array.isArray;
352
- function Re(t) {
352
+ function Se(t) {
353
353
  return Wt(t);
354
354
  }
355
355
  function Mt(t) {
@@ -372,15 +372,15 @@ function un() {
372
372
  if (Bt(t))
373
373
  return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Mt(t)), ot(t);
374
374
  }
375
- var ae = R.ReactCurrentOwner, Yt = {
375
+ var le = P.ReactCurrentOwner, Yt = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
379
379
  __source: !0
380
- }, it, st, Pe;
381
- Pe = {};
380
+ }, it, st, Oe;
381
+ Oe = {};
382
382
  function Jt(t) {
383
- if (pe.call(t, "ref")) {
383
+ if (me.call(t, "ref")) {
384
384
  var u = Object.getOwnPropertyDescriptor(t, "ref").get;
385
385
  if (u && u.isReactWarning)
386
386
  return !1;
@@ -388,7 +388,7 @@ function un() {
388
388
  return t.ref !== void 0;
389
389
  }
390
390
  function Ht(t) {
391
- if (pe.call(t, "key")) {
391
+ if (me.call(t, "key")) {
392
392
  var u = Object.getOwnPropertyDescriptor(t, "key").get;
393
393
  if (u && u.isReactWarning)
394
394
  return !1;
@@ -396,9 +396,9 @@ function un() {
396
396
  return t.key !== void 0;
397
397
  }
398
398
  function zt(t, u) {
399
- if (typeof t.ref == "string" && ae.current && u && ae.current.stateNode !== u) {
400
- var p = D(ae.current.type);
401
- Pe[p] || (g('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', D(ae.current.type), t.ref), Pe[p] = !0);
399
+ if (typeof t.ref == "string" && le.current && u && le.current.stateNode !== u) {
400
+ var p = D(le.current.type);
401
+ Oe[p] || (g('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', D(le.current.type), t.ref), Oe[p] = !0);
402
402
  }
403
403
  }
404
404
  function Gt(t, u) {
@@ -454,39 +454,39 @@ function un() {
454
454
  };
455
455
  function Xt(t, u, p, k, w) {
456
456
  {
457
- var S, E = {}, N = null, U = null;
458
- p !== void 0 && (lt(p), N = "" + p), Ht(u) && (lt(u.key), N = "" + u.key), Jt(u) && (U = u.ref, zt(u, w));
457
+ var S, E = {}, N = null, V = null;
458
+ p !== void 0 && (lt(p), N = "" + p), Ht(u) && (lt(u.key), N = "" + u.key), Jt(u) && (V = u.ref, zt(u, w));
459
459
  for (S in u)
460
- pe.call(u, S) && !Yt.hasOwnProperty(S) && (E[S] = u[S]);
460
+ me.call(u, S) && !Yt.hasOwnProperty(S) && (E[S] = u[S]);
461
461
  if (t && t.defaultProps) {
462
- var L = t.defaultProps;
463
- for (S in L)
464
- E[S] === void 0 && (E[S] = L[S]);
462
+ var j = t.defaultProps;
463
+ for (S in j)
464
+ E[S] === void 0 && (E[S] = j[S]);
465
465
  }
466
- if (N || U) {
467
- var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
- N && Gt(E, F), U && Kt(E, F);
466
+ if (N || V) {
467
+ var L = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
+ N && Gt(E, L), V && Kt(E, L);
469
469
  }
470
- return qt(t, N, U, w, k, ae.current, E);
470
+ return qt(t, N, V, w, k, le.current, E);
471
471
  }
472
472
  }
473
- var Se = R.ReactCurrentOwner, ct = R.ReactDebugCurrentFrame;
474
- function te(t) {
473
+ var Te = P.ReactCurrentOwner, ct = P.ReactDebugCurrentFrame;
474
+ function ne(t) {
475
475
  if (t) {
476
- var u = t._owner, p = fe(t.type, t._source, u ? u.type : null);
476
+ var u = t._owner, p = de(t.type, t._source, u ? u.type : null);
477
477
  ct.setExtraStackFrame(p);
478
478
  } else
479
479
  ct.setExtraStackFrame(null);
480
480
  }
481
- var Oe;
482
- Oe = !1;
483
- function Te(t) {
481
+ var je;
482
+ je = !1;
483
+ function De(t) {
484
484
  return typeof t == "object" && t !== null && t.$$typeof === n;
485
485
  }
486
486
  function ut() {
487
487
  {
488
- if (Se.current) {
489
- var t = D(Se.current.type);
488
+ if (Te.current) {
489
+ var t = D(Te.current.type);
490
490
  if (t)
491
491
  return `
492
492
 
@@ -529,25 +529,25 @@ Check the top-level render call using <` + p + ">.");
529
529
  return;
530
530
  ft[p] = !0;
531
531
  var k = "";
532
- t && t._owner && t._owner !== Se.current && (k = " It was passed a child from " + D(t._owner.type) + "."), te(t), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, k), te(null);
532
+ t && t._owner && t._owner !== Te.current && (k = " It was passed a child from " + D(t._owner.type) + "."), ne(t), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, k), ne(null);
533
533
  }
534
534
  }
535
535
  function dt(t, u) {
536
536
  {
537
537
  if (typeof t != "object")
538
538
  return;
539
- if (Re(t))
539
+ if (Se(t))
540
540
  for (var p = 0; p < t.length; p++) {
541
541
  var k = t[p];
542
- Te(k) && pt(k, u);
542
+ De(k) && pt(k, u);
543
543
  }
544
- else if (Te(t))
544
+ else if (De(t))
545
545
  t._store && (t._store.validated = !0);
546
546
  else if (t) {
547
547
  var w = T(t);
548
548
  if (typeof w == "function" && w !== t.entries)
549
549
  for (var S = w.call(t), E; !(E = S.next()).done; )
550
- Te(E.value) && pt(E.value, u);
550
+ De(E.value) && pt(E.value, u);
551
551
  }
552
552
  }
553
553
  }
@@ -568,8 +568,8 @@ Check the top-level render call using <` + p + ">.");
568
568
  if (p) {
569
569
  var k = D(u);
570
570
  Vt(p, t.props, "prop", k, t);
571
- } else if (u.PropTypes !== void 0 && !Oe) {
572
- Oe = !0;
571
+ } else if (u.PropTypes !== void 0 && !je) {
572
+ je = !0;
573
573
  var w = D(u);
574
574
  g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
575
575
  }
@@ -581,41 +581,41 @@ Check the top-level render call using <` + p + ">.");
581
581
  for (var u = Object.keys(t.props), p = 0; p < u.length; p++) {
582
582
  var k = u[p];
583
583
  if (k !== "children" && k !== "key") {
584
- te(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), te(null);
584
+ ne(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), ne(null);
585
585
  break;
586
586
  }
587
587
  }
588
- t.ref !== null && (te(t), g("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
588
+ t.ref !== null && (ne(t), g("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
589
589
  }
590
590
  }
591
591
  function mt(t, u, p, k, w, S) {
592
592
  {
593
- var E = J(t);
593
+ var E = B(t);
594
594
  if (!E) {
595
595
  var N = "";
596
596
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
597
- var U = Zt(w);
598
- U ? N += U : N += ut();
599
- var L;
600
- t === null ? L = "null" : Re(t) ? L = "array" : t !== void 0 && t.$$typeof === n ? (L = "<" + (D(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : L = typeof t, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", L, N);
597
+ var V = Zt(w);
598
+ V ? N += V : N += ut();
599
+ var j;
600
+ t === null ? j = "null" : Se(t) ? j = "array" : t !== void 0 && t.$$typeof === n ? (j = "<" + (D(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : j = typeof t, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, N);
601
601
  }
602
- var F = Xt(t, u, p, w, S);
603
- if (F == null)
604
- return F;
602
+ var L = Xt(t, u, p, w, S);
603
+ if (L == null)
604
+ return L;
605
605
  if (E) {
606
- var Y = u.children;
607
- if (Y !== void 0)
606
+ var J = u.children;
607
+ if (J !== void 0)
608
608
  if (k)
609
- if (Re(Y)) {
610
- for (var ne = 0; ne < Y.length; ne++)
611
- dt(Y[ne], t);
612
- Object.freeze && Object.freeze(Y);
609
+ if (Se(J)) {
610
+ for (var re = 0; re < J.length; re++)
611
+ dt(J[re], t);
612
+ Object.freeze && Object.freeze(J);
613
613
  } else
614
614
  g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
615
615
  else
616
- dt(Y, t);
616
+ dt(J, t);
617
617
  }
618
- return t === l ? tn(F) : en(F), F;
618
+ return t === l ? tn(L) : en(L), L;
619
619
  }
620
620
  }
621
621
  function nn(t, u, p) {
@@ -625,17 +625,17 @@ Check the top-level render call using <` + p + ">.");
625
625
  return mt(t, u, p, !1);
626
626
  }
627
627
  var an = rn, on = nn;
628
- le.Fragment = l, le.jsx = an, le.jsxs = on;
629
- }()), le;
628
+ se.Fragment = l, se.jsx = an, se.jsxs = on;
629
+ }()), se;
630
630
  }
631
- process.env.NODE_ENV === "production" ? Fe.exports = cn() : Fe.exports = un();
632
- var Me = Fe.exports;
633
- const X = Me.Fragment, o = Me.jsx, m = Me.jsxs, je = {}, fn = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
631
+ process.env.NODE_ENV === "production" ? $e.exports = cn() : $e.exports = un();
632
+ var Ye = $e.exports;
633
+ const Z = Ye.Fragment, o = Ye.jsx, m = Ye.jsxs, Le = {}, fn = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
634
634
  function pn(e, n) {
635
- return !je[e] && typeof window.fetch == "function" && (je[e] = window.fetch(n + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + n + e + ".svg"), fn)).then((r) => r)), Promise.resolve(je[e]);
635
+ return !Le[e] && typeof window.fetch == "function" && (Le[e] = window.fetch(n + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + n + e + ".svg"), fn)).then((r) => r)), Promise.resolve(Le[e]);
636
636
  }
637
637
  const y = ({ name: e, path: n, className: r = "", ...l }) => {
638
- const a = "https://punkt-cdn.oslo.kommune.no/8.0/icons/", [i, s] = ie(null);
638
+ const a = "https://punkt-cdn.oslo.kommune.no/8.0/icons/", [i, s] = ce(null);
639
639
  return yt(() => {
640
640
  if (!e)
641
641
  return;
@@ -648,7 +648,7 @@ const y = ({ name: e, path: n, className: r = "", ...l }) => {
648
648
  ...l
649
649
  }
650
650
  ) : null;
651
- }, dn = H(
651
+ }, dn = z(
652
652
  ({
653
653
  children: e,
654
654
  className: n,
@@ -660,7 +660,7 @@ const y = ({ name: e, path: n, className: r = "", ...l }) => {
660
660
  ariaLive: c = "polite",
661
661
  ...f
662
662
  }, d) => {
663
- const h = [n, "pkt-alert", r && `pkt-alert--${r}`].filter(Boolean).join(" "), [v, x] = ie(!0), C = () => {
663
+ const h = [n, "pkt-alert", r && `pkt-alert--${r}`].filter(Boolean).join(" "), [v, x] = ce(!0), C = () => {
664
664
  x(!1), a && a();
665
665
  };
666
666
  return v ? /* @__PURE__ */ m("div", { ...f, className: h, "aria-live": c, ref: d, children: [
@@ -690,7 +690,7 @@ const y = ({ name: e, path: n, className: r = "", ...l }) => {
690
690
  ] })
691
691
  ] }) : null;
692
692
  }
693
- ), nr = H(
693
+ ), nr = z(
694
694
  ({ href: e, text: n, onClick: r, className: l, ...a }, i) => {
695
695
  const s = [
696
696
  l,
@@ -714,15 +714,15 @@ const y = ({ name: e, path: n, className: r = "", ...l }) => {
714
714
  *
715
715
  * @license MIT
716
716
  */
717
- function Ie() {
718
- return Ie = Object.assign ? Object.assign.bind() : function(e) {
717
+ function Ae() {
718
+ return Ae = Object.assign ? Object.assign.bind() : function(e) {
719
719
  for (var n = 1; n < arguments.length; n++) {
720
720
  var r = arguments[n];
721
721
  for (var l in r)
722
722
  Object.prototype.hasOwnProperty.call(r, l) && (e[l] = r[l]);
723
723
  }
724
724
  return e;
725
- }, Ie.apply(this, arguments);
725
+ }, Ae.apply(this, arguments);
726
726
  }
727
727
  var _t;
728
728
  (function(e) {
@@ -732,7 +732,7 @@ function I(e, n) {
732
732
  if (e === !1 || e === null || typeof e > "u")
733
733
  throw new Error(n);
734
734
  }
735
- function ge(e, n) {
735
+ function ye(e, n) {
736
736
  if (!e) {
737
737
  typeof console < "u" && console.warn(n);
738
738
  try {
@@ -741,7 +741,7 @@ function ge(e, n) {
741
741
  }
742
742
  }
743
743
  }
744
- function $e(e) {
744
+ function Ue(e) {
745
745
  let {
746
746
  pathname: n = "/",
747
747
  search: r = "",
@@ -763,7 +763,7 @@ var bt;
763
763
  (function(e) {
764
764
  e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
765
765
  })(bt || (bt = {}));
766
- function Ae(e, n) {
766
+ function Ve(e, n) {
767
767
  if (n === "/")
768
768
  return e;
769
769
  if (!e.toLowerCase().startsWith(n.toLowerCase()))
@@ -790,7 +790,7 @@ function hn(e, n) {
790
790
  a === ".." ? r.length > 1 && r.pop() : a !== "." && r.push(a);
791
791
  }), r.length > 1 ? r.join("/") : "/";
792
792
  }
793
- function De(e, n, r, l) {
793
+ function Fe(e, n, r, l) {
794
794
  return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + n + "` field [" + JSON.stringify(l) + "]. Please separate it out to the ") + ("`to." + r + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
795
795
  }
796
796
  function xt(e) {
@@ -799,7 +799,7 @@ function xt(e) {
799
799
  function wt(e, n, r, l) {
800
800
  l === void 0 && (l = !1);
801
801
  let a;
802
- typeof e == "string" ? a = Et(e) : (a = Ie({}, e), I(!a.pathname || !a.pathname.includes("?"), De("?", "pathname", "search", a)), I(!a.pathname || !a.pathname.includes("#"), De("#", "pathname", "hash", a)), I(!a.search || !a.search.includes("#"), De("#", "search", "hash", a)));
802
+ typeof e == "string" ? a = Et(e) : (a = Ae({}, e), I(!a.pathname || !a.pathname.includes("?"), Fe("?", "pathname", "search", a)), I(!a.pathname || !a.pathname.includes("#"), Fe("#", "pathname", "hash", a)), I(!a.search || !a.search.includes("#"), Fe("#", "search", "hash", a)));
803
803
  let i = e === "" || a.pathname === "", s = i ? "/" : a.pathname, c;
804
804
  if (l || s == null)
805
805
  c = r;
@@ -816,7 +816,7 @@ function wt(e, n, r, l) {
816
816
  let f = mn(a, c), d = s && s !== "/" && s.endsWith("/"), h = (i || s === ".") && r.endsWith("/");
817
817
  return !f.pathname.endsWith("/") && (d || h) && (f.pathname += "/"), f;
818
818
  }
819
- const Be = (e) => e.join("/").replace(/\/\/+/g, "/"), kn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, vn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ct = ["post", "put", "patch", "delete"];
819
+ const Je = (e) => e.join("/").replace(/\/\/+/g, "/"), kn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, vn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ct = ["post", "put", "patch", "delete"];
820
820
  new Set(Ct);
821
821
  const _n = ["get", ...Ct];
822
822
  new Set(_n);
@@ -830,39 +830,39 @@ new Set(_n);
830
830
  *
831
831
  * @license MIT
832
832
  */
833
- function Ue() {
834
- return Ue = Object.assign ? Object.assign.bind() : function(e) {
833
+ function We() {
834
+ return We = Object.assign ? Object.assign.bind() : function(e) {
835
835
  for (var n = 1; n < arguments.length; n++) {
836
836
  var r = arguments[n];
837
837
  for (var l in r)
838
838
  Object.prototype.hasOwnProperty.call(r, l) && (e[l] = r[l]);
839
839
  }
840
840
  return e;
841
- }, Ue.apply(this, arguments);
841
+ }, We.apply(this, arguments);
842
842
  }
843
- const Ne = /* @__PURE__ */ _.createContext(null);
844
- process.env.NODE_ENV !== "production" && (Ne.displayName = "DataRouter");
845
- const Rt = /* @__PURE__ */ _.createContext(null);
843
+ const Ee = /* @__PURE__ */ b.createContext(null);
844
+ process.env.NODE_ENV !== "production" && (Ee.displayName = "DataRouter");
845
+ const Rt = /* @__PURE__ */ b.createContext(null);
846
846
  process.env.NODE_ENV !== "production" && (Rt.displayName = "DataRouterState");
847
- const bn = /* @__PURE__ */ _.createContext(null);
847
+ const bn = /* @__PURE__ */ b.createContext(null);
848
848
  process.env.NODE_ENV !== "production" && (bn.displayName = "Await");
849
- const Q = /* @__PURE__ */ _.createContext(null);
850
- process.env.NODE_ENV !== "production" && (Q.displayName = "Navigation");
851
- const Ye = /* @__PURE__ */ _.createContext(null);
852
- process.env.NODE_ENV !== "production" && (Ye.displayName = "Location");
853
- const re = /* @__PURE__ */ _.createContext({
849
+ const ee = /* @__PURE__ */ b.createContext(null);
850
+ process.env.NODE_ENV !== "production" && (ee.displayName = "Navigation");
851
+ const He = /* @__PURE__ */ b.createContext(null);
852
+ process.env.NODE_ENV !== "production" && (He.displayName = "Location");
853
+ const ae = /* @__PURE__ */ b.createContext({
854
854
  outlet: null,
855
855
  matches: [],
856
856
  isDataRoute: !1
857
857
  });
858
- process.env.NODE_ENV !== "production" && (re.displayName = "Route");
859
- const gn = /* @__PURE__ */ _.createContext(null);
858
+ process.env.NODE_ENV !== "production" && (ae.displayName = "Route");
859
+ const gn = /* @__PURE__ */ b.createContext(null);
860
860
  process.env.NODE_ENV !== "production" && (gn.displayName = "RouteError");
861
861
  function Nn(e, n) {
862
862
  let {
863
863
  relative: r
864
864
  } = n === void 0 ? {} : n;
865
- Je() || (process.env.NODE_ENV !== "production" ? I(
865
+ ze() || (process.env.NODE_ENV !== "production" ? I(
866
866
  !1,
867
867
  // TODO: This error is probably because they somehow have 2 versions of the
868
868
  // router loaded. We can help them understand how to avoid that.
@@ -871,95 +871,95 @@ function Nn(e, n) {
871
871
  let {
872
872
  basename: l,
873
873
  navigator: a
874
- } = _.useContext(Q), {
874
+ } = b.useContext(ee), {
875
875
  hash: i,
876
876
  pathname: s,
877
877
  search: c
878
- } = ye(e, {
878
+ } = xe(e, {
879
879
  relative: r
880
880
  }), f = s;
881
- return l !== "/" && (f = s === "/" ? l : Be([l, s])), a.createHref({
881
+ return l !== "/" && (f = s === "/" ? l : Je([l, s])), a.createHref({
882
882
  pathname: f,
883
883
  search: c,
884
884
  hash: i
885
885
  });
886
886
  }
887
- function Je() {
888
- return _.useContext(Ye) != null;
887
+ function ze() {
888
+ return b.useContext(He) != null;
889
889
  }
890
- function se() {
891
- return Je() || (process.env.NODE_ENV !== "production" ? I(
890
+ function ue() {
891
+ return ze() || (process.env.NODE_ENV !== "production" ? I(
892
892
  !1,
893
893
  // TODO: This error is probably because they somehow have 2 versions of the
894
894
  // router loaded. We can help them understand how to avoid that.
895
895
  "useLocation() may be used only in the context of a <Router> component."
896
- ) : I(!1)), _.useContext(Ye).location;
896
+ ) : I(!1)), b.useContext(He).location;
897
897
  }
898
898
  const Pt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
899
899
  function St(e) {
900
- _.useContext(Q).static || _.useLayoutEffect(e);
900
+ b.useContext(ee).static || b.useLayoutEffect(e);
901
901
  }
902
902
  function yn() {
903
903
  let {
904
904
  isDataRoute: e
905
- } = _.useContext(re);
905
+ } = b.useContext(ae);
906
906
  return e ? Rn() : En();
907
907
  }
908
908
  function En() {
909
- Je() || (process.env.NODE_ENV !== "production" ? I(
909
+ ze() || (process.env.NODE_ENV !== "production" ? I(
910
910
  !1,
911
911
  // TODO: This error is probably because they somehow have 2 versions of the
912
912
  // router loaded. We can help them understand how to avoid that.
913
913
  "useNavigate() may be used only in the context of a <Router> component."
914
914
  ) : I(!1));
915
- let e = _.useContext(Ne), {
915
+ let e = b.useContext(Ee), {
916
916
  basename: n,
917
917
  navigator: r
918
- } = _.useContext(Q), {
918
+ } = b.useContext(ee), {
919
919
  matches: l
920
- } = _.useContext(re), {
920
+ } = b.useContext(ae), {
921
921
  pathname: a
922
- } = se(), i = JSON.stringify(xt(l).map((f) => f.pathnameBase)), s = _.useRef(!1);
922
+ } = ue(), i = JSON.stringify(xt(l).map((f) => f.pathnameBase)), s = b.useRef(!1);
923
923
  return St(() => {
924
924
  s.current = !0;
925
- }), _.useCallback(function(f, d) {
926
- if (d === void 0 && (d = {}), process.env.NODE_ENV !== "production" && ge(s.current, Pt), !s.current)
925
+ }), b.useCallback(function(f, d) {
926
+ if (d === void 0 && (d = {}), process.env.NODE_ENV !== "production" && ye(s.current, Pt), !s.current)
927
927
  return;
928
928
  if (typeof f == "number") {
929
929
  r.go(f);
930
930
  return;
931
931
  }
932
932
  let h = wt(f, JSON.parse(i), a, d.relative === "path");
933
- e == null && n !== "/" && (h.pathname = h.pathname === "/" ? n : Be([n, h.pathname])), (d.replace ? r.replace : r.push)(h, d.state, d);
933
+ e == null && n !== "/" && (h.pathname = h.pathname === "/" ? n : Je([n, h.pathname])), (d.replace ? r.replace : r.push)(h, d.state, d);
934
934
  }, [n, r, i, a, e]);
935
935
  }
936
- function ye(e, n) {
936
+ function xe(e, n) {
937
937
  let {
938
938
  relative: r
939
939
  } = n === void 0 ? {} : n, {
940
940
  matches: l
941
- } = _.useContext(re), {
941
+ } = b.useContext(ae), {
942
942
  pathname: a
943
- } = se(), i = JSON.stringify(xt(l).map((s) => s.pathnameBase));
944
- return _.useMemo(() => wt(e, JSON.parse(i), a, r === "path"), [e, i, a, r]);
943
+ } = ue(), i = JSON.stringify(xt(l).map((s) => s.pathnameBase));
944
+ return b.useMemo(() => wt(e, JSON.parse(i), a, r === "path"), [e, i, a, r]);
945
945
  }
946
- var Ve;
946
+ var Me;
947
947
  (function(e) {
948
948
  e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate";
949
- })(Ve || (Ve = {}));
950
- var ve;
949
+ })(Me || (Me = {}));
950
+ var be;
951
951
  (function(e) {
952
952
  e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId";
953
- })(ve || (ve = {}));
953
+ })(be || (be = {}));
954
954
  function Ot(e) {
955
955
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
956
956
  }
957
957
  function xn(e) {
958
- let n = _.useContext(Ne);
958
+ let n = b.useContext(Ee);
959
959
  return n || (process.env.NODE_ENV !== "production" ? I(!1, Ot(e)) : I(!1)), n;
960
960
  }
961
961
  function wn(e) {
962
- let n = _.useContext(re);
962
+ let n = b.useContext(ae);
963
963
  return n || (process.env.NODE_ENV !== "production" ? I(!1, Ot(e)) : I(!1)), n;
964
964
  }
965
965
  function Tt(e) {
@@ -967,16 +967,16 @@ function Tt(e) {
967
967
  return r.route.id || (process.env.NODE_ENV !== "production" ? I(!1, e + ' can only be used on routes that contain a unique "id"') : I(!1)), r.route.id;
968
968
  }
969
969
  function Cn() {
970
- return Tt(ve.UseRouteId);
970
+ return Tt(be.UseRouteId);
971
971
  }
972
972
  function Rn() {
973
973
  let {
974
974
  router: e
975
- } = xn(Ve.UseNavigateStable), n = Tt(ve.UseNavigateStable), r = _.useRef(!1);
975
+ } = xn(Me.UseNavigateStable), n = Tt(be.UseNavigateStable), r = b.useRef(!1);
976
976
  return St(() => {
977
977
  r.current = !0;
978
- }), _.useCallback(function(a, i) {
979
- i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && ge(r.current, Pt), r.current && (typeof a == "number" ? e.navigate(a) : e.navigate(a, Ue({
978
+ }), b.useCallback(function(a, i) {
979
+ i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && ye(r.current, Pt), r.current && (typeof a == "number" ? e.navigate(a) : e.navigate(a, We({
980
980
  fromRouteId: n
981
981
  }, i)));
982
982
  }, [e, n]);
@@ -997,17 +997,17 @@ new Promise(() => {
997
997
  *
998
998
  * @license MIT
999
999
  */
1000
- function ee() {
1001
- return ee = Object.assign ? Object.assign.bind() : function(e) {
1000
+ function te() {
1001
+ return te = Object.assign ? Object.assign.bind() : function(e) {
1002
1002
  for (var n = 1; n < arguments.length; n++) {
1003
1003
  var r = arguments[n];
1004
1004
  for (var l in r)
1005
1005
  Object.prototype.hasOwnProperty.call(r, l) && (e[l] = r[l]);
1006
1006
  }
1007
1007
  return e;
1008
- }, ee.apply(this, arguments);
1008
+ }, te.apply(this, arguments);
1009
1009
  }
1010
- function He(e, n) {
1010
+ function Ge(e, n) {
1011
1011
  if (e == null)
1012
1012
  return {};
1013
1013
  var r = {}, l = Object.keys(e), a, i;
@@ -1015,18 +1015,18 @@ function He(e, n) {
1015
1015
  a = l[i], !(n.indexOf(a) >= 0) && (r[a] = e[a]);
1016
1016
  return r;
1017
1017
  }
1018
- const he = "get", ke = "application/x-www-form-urlencoded";
1019
- function Ee(e) {
1018
+ const ve = "get", _e = "application/x-www-form-urlencoded";
1019
+ function we(e) {
1020
1020
  return e != null && typeof e.tagName == "string";
1021
1021
  }
1022
1022
  function Pn(e) {
1023
- return Ee(e) && e.tagName.toLowerCase() === "button";
1023
+ return we(e) && e.tagName.toLowerCase() === "button";
1024
1024
  }
1025
1025
  function Sn(e) {
1026
- return Ee(e) && e.tagName.toLowerCase() === "form";
1026
+ return we(e) && e.tagName.toLowerCase() === "form";
1027
1027
  }
1028
1028
  function On(e) {
1029
- return Ee(e) && e.tagName.toLowerCase() === "input";
1029
+ return we(e) && e.tagName.toLowerCase() === "input";
1030
1030
  }
1031
1031
  function Tn(e) {
1032
1032
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
@@ -1036,35 +1036,35 @@ function jn(e, n) {
1036
1036
  (!n || n === "_self") && // Let browser handle "target=_blank" etc.
1037
1037
  !Tn(e);
1038
1038
  }
1039
- let me = null;
1039
+ let ke = null;
1040
1040
  function Dn() {
1041
- if (me === null)
1041
+ if (ke === null)
1042
1042
  try {
1043
1043
  new FormData(
1044
1044
  document.createElement("form"),
1045
1045
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
1046
1046
  0
1047
- ), me = !1;
1047
+ ), ke = !1;
1048
1048
  } catch {
1049
- me = !0;
1049
+ ke = !0;
1050
1050
  }
1051
- return me;
1051
+ return ke;
1052
1052
  }
1053
1053
  const Ln = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
1054
- function Le(e) {
1055
- return e != null && !Ln.has(e) ? (process.env.NODE_ENV !== "production" && ge(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + ke + '"')), null) : e;
1054
+ function Ie(e) {
1055
+ return e != null && !Ln.has(e) ? (process.env.NODE_ENV !== "production" && ye(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + _e + '"')), null) : e;
1056
1056
  }
1057
1057
  function Fn(e, n) {
1058
1058
  let r, l, a, i, s;
1059
1059
  if (Sn(e)) {
1060
1060
  let c = e.getAttribute("action");
1061
- l = c ? Ae(c, n) : null, r = e.getAttribute("method") || he, a = Le(e.getAttribute("enctype")) || ke, i = new FormData(e);
1061
+ l = c ? Ve(c, n) : null, r = e.getAttribute("method") || ve, a = Ie(e.getAttribute("enctype")) || _e, i = new FormData(e);
1062
1062
  } else if (Pn(e) || On(e) && (e.type === "submit" || e.type === "image")) {
1063
1063
  let c = e.form;
1064
1064
  if (c == null)
1065
1065
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
1066
1066
  let f = e.getAttribute("formaction") || c.getAttribute("action");
1067
- if (l = f ? Ae(f, n) : null, r = e.getAttribute("formmethod") || c.getAttribute("method") || he, a = Le(e.getAttribute("formenctype")) || Le(c.getAttribute("enctype")) || ke, i = new FormData(c, e), !Dn()) {
1067
+ if (l = f ? Ve(f, n) : null, r = e.getAttribute("formmethod") || c.getAttribute("method") || ve, a = Ie(e.getAttribute("formenctype")) || Ie(c.getAttribute("enctype")) || _e, i = new FormData(c, e), !Dn()) {
1068
1068
  let {
1069
1069
  name: d,
1070
1070
  type: h,
@@ -1077,9 +1077,9 @@ function Fn(e, n) {
1077
1077
  d && i.append(d, v);
1078
1078
  }
1079
1079
  } else {
1080
- if (Ee(e))
1080
+ if (we(e))
1081
1081
  throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
1082
- r = he, l = null, a = ke, s = e;
1082
+ r = ve, l = null, a = _e, s = e;
1083
1083
  }
1084
1084
  return i && a === "text/plain" && (s = i, i = void 0), {
1085
1085
  action: l,
@@ -1091,7 +1091,7 @@ function Fn(e, n) {
1091
1091
  }
1092
1092
  const In = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], $n = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], An = ["reloadDocument", "replace", "method", "action", "onSubmit", "submit", "relative", "preventScrollReset"];
1093
1093
  process.env.NODE_ENV;
1094
- const Un = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Vn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, _e = /* @__PURE__ */ _.forwardRef(function(n, r) {
1094
+ const Un = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Vn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ge = /* @__PURE__ */ b.forwardRef(function(n, r) {
1095
1095
  let {
1096
1096
  onClick: l,
1097
1097
  relative: a,
@@ -1101,17 +1101,17 @@ const Un = typeof window < "u" && typeof window.document < "u" && typeof window.
1101
1101
  target: f,
1102
1102
  to: d,
1103
1103
  preventScrollReset: h
1104
- } = n, v = He(n, In), {
1104
+ } = n, v = Ge(n, In), {
1105
1105
  basename: x
1106
- } = _.useContext(Q), C, O = !1;
1106
+ } = b.useContext(ee), C, O = !1;
1107
1107
  if (typeof d == "string" && Vn.test(d) && (C = d, Un))
1108
1108
  try {
1109
- let g = new URL(window.location.href), j = d.startsWith("//") ? new URL(g.protocol + d) : new URL(d), $ = Ae(j.pathname, x);
1110
- j.origin === g.origin && $ != null ? d = $ + j.search + j.hash : O = !0;
1109
+ let g = new URL(window.location.href), F = d.startsWith("//") ? new URL(g.protocol + d) : new URL(d), $ = Ve(F.pathname, x);
1110
+ F.origin === g.origin && $ != null ? d = $ + F.search + F.hash : O = !0;
1111
1111
  } catch {
1112
- process.env.NODE_ENV !== "production" && ge(!1, '<Link to="' + d + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
1112
+ process.env.NODE_ENV !== "production" && ye(!1, '<Link to="' + d + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
1113
1113
  }
1114
- let P = Nn(d, {
1114
+ let R = Nn(d, {
1115
1115
  relative: a
1116
1116
  }), T = Jn(d, {
1117
1117
  replace: s,
@@ -1120,21 +1120,21 @@ const Un = typeof window < "u" && typeof window.document < "u" && typeof window.
1120
1120
  preventScrollReset: h,
1121
1121
  relative: a
1122
1122
  });
1123
- function R(g) {
1123
+ function P(g) {
1124
1124
  l && l(g), g.defaultPrevented || T(g);
1125
1125
  }
1126
1126
  return (
1127
1127
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1128
- /* @__PURE__ */ _.createElement("a", ee({}, v, {
1129
- href: C || P,
1130
- onClick: O || i ? l : R,
1128
+ /* @__PURE__ */ b.createElement("a", te({}, v, {
1129
+ href: C || R,
1130
+ onClick: O || i ? l : P,
1131
1131
  ref: r,
1132
1132
  target: f
1133
1133
  }))
1134
1134
  );
1135
1135
  });
1136
- process.env.NODE_ENV !== "production" && (_e.displayName = "Link");
1137
- const Wn = /* @__PURE__ */ _.forwardRef(function(n, r) {
1136
+ process.env.NODE_ENV !== "production" && (ge.displayName = "Link");
1137
+ const Wn = /* @__PURE__ */ b.forwardRef(function(n, r) {
1138
1138
  let {
1139
1139
  "aria-current": l = "page",
1140
1140
  caseSensitive: a = !1,
@@ -1143,66 +1143,66 @@ const Wn = /* @__PURE__ */ _.forwardRef(function(n, r) {
1143
1143
  style: c,
1144
1144
  to: f,
1145
1145
  children: d
1146
- } = n, h = He(n, $n), v = ye(f, {
1146
+ } = n, h = Ge(n, $n), v = xe(f, {
1147
1147
  relative: h.relative
1148
- }), x = se(), C = _.useContext(Rt), {
1148
+ }), x = ue(), C = b.useContext(Rt), {
1149
1149
  navigator: O
1150
- } = _.useContext(Q), P = O.encodeLocation ? O.encodeLocation(v).pathname : v.pathname, T = x.pathname, R = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
1151
- a || (T = T.toLowerCase(), R = R ? R.toLowerCase() : null, P = P.toLowerCase());
1152
- let g = T === P || !s && T.startsWith(P) && T.charAt(P.length) === "/", j = R != null && (R === P || !s && R.startsWith(P) && R.charAt(P.length) === "/"), $ = g ? l : void 0, M;
1153
- typeof i == "function" ? M = i({
1150
+ } = b.useContext(ee), R = O.encodeLocation ? O.encodeLocation(v).pathname : v.pathname, T = x.pathname, P = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
1151
+ a || (T = T.toLowerCase(), P = P ? P.toLowerCase() : null, R = R.toLowerCase());
1152
+ let g = T === R || !s && T.startsWith(R) && T.charAt(R.length) === "/", F = P != null && (P === R || !s && P.startsWith(R) && P.charAt(R.length) === "/"), $ = g ? l : void 0, A;
1153
+ typeof i == "function" ? A = i({
1154
1154
  isActive: g,
1155
- isPending: j
1156
- }) : M = [i, g ? "active" : null, j ? "pending" : null].filter(Boolean).join(" ");
1157
- let A = typeof c == "function" ? c({
1155
+ isPending: F
1156
+ }) : A = [i, g ? "active" : null, F ? "pending" : null].filter(Boolean).join(" ");
1157
+ let U = typeof c == "function" ? c({
1158
1158
  isActive: g,
1159
- isPending: j
1159
+ isPending: F
1160
1160
  }) : c;
1161
- return /* @__PURE__ */ _.createElement(_e, ee({}, h, {
1161
+ return /* @__PURE__ */ b.createElement(ge, te({}, h, {
1162
1162
  "aria-current": $,
1163
- className: M,
1163
+ className: A,
1164
1164
  ref: r,
1165
- style: A,
1165
+ style: U,
1166
1166
  to: f
1167
1167
  }), typeof d == "function" ? d({
1168
1168
  isActive: g,
1169
- isPending: j
1169
+ isPending: F
1170
1170
  }) : d);
1171
1171
  });
1172
1172
  process.env.NODE_ENV !== "production" && (Wn.displayName = "NavLink");
1173
- const Mn = /* @__PURE__ */ _.forwardRef((e, n) => {
1173
+ const Mn = /* @__PURE__ */ b.forwardRef((e, n) => {
1174
1174
  let r = zn();
1175
- return /* @__PURE__ */ _.createElement(jt, ee({}, e, {
1175
+ return /* @__PURE__ */ b.createElement(jt, te({}, e, {
1176
1176
  submit: r,
1177
1177
  ref: n
1178
1178
  }));
1179
1179
  });
1180
1180
  process.env.NODE_ENV !== "production" && (Mn.displayName = "Form");
1181
- const jt = /* @__PURE__ */ _.forwardRef((e, n) => {
1181
+ const jt = /* @__PURE__ */ b.forwardRef((e, n) => {
1182
1182
  let {
1183
1183
  reloadDocument: r,
1184
1184
  replace: l,
1185
- method: a = he,
1185
+ method: a = ve,
1186
1186
  action: i,
1187
1187
  onSubmit: s,
1188
1188
  submit: c,
1189
1189
  relative: f,
1190
1190
  preventScrollReset: d
1191
- } = e, h = He(e, An), v = a.toLowerCase() === "get" ? "get" : "post", x = Gn(i, {
1191
+ } = e, h = Ge(e, An), v = a.toLowerCase() === "get" ? "get" : "post", x = Gn(i, {
1192
1192
  relative: f
1193
1193
  }), C = (O) => {
1194
1194
  if (s && s(O), O.defaultPrevented)
1195
1195
  return;
1196
1196
  O.preventDefault();
1197
- let P = O.nativeEvent.submitter, T = (P == null ? void 0 : P.getAttribute("formmethod")) || a;
1198
- c(P || O.currentTarget, {
1197
+ let R = O.nativeEvent.submitter, T = (R == null ? void 0 : R.getAttribute("formmethod")) || a;
1198
+ c(R || O.currentTarget, {
1199
1199
  method: T,
1200
1200
  replace: l,
1201
1201
  relative: f,
1202
1202
  preventScrollReset: d
1203
1203
  });
1204
1204
  };
1205
- return /* @__PURE__ */ _.createElement("form", ee({
1205
+ return /* @__PURE__ */ b.createElement("form", te({
1206
1206
  ref: n,
1207
1207
  method: v,
1208
1208
  action: x,
@@ -1211,10 +1211,10 @@ const jt = /* @__PURE__ */ _.forwardRef((e, n) => {
1211
1211
  });
1212
1212
  process.env.NODE_ENV !== "production" && (jt.displayName = "FormImpl");
1213
1213
  process.env.NODE_ENV;
1214
- var We;
1214
+ var Be;
1215
1215
  (function(e) {
1216
1216
  e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher";
1217
- })(We || (We = {}));
1217
+ })(Be || (Be = {}));
1218
1218
  var Nt;
1219
1219
  (function(e) {
1220
1220
  e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
@@ -1223,7 +1223,7 @@ function Bn(e) {
1223
1223
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1224
1224
  }
1225
1225
  function Yn(e) {
1226
- let n = _.useContext(Ne);
1226
+ let n = b.useContext(Ee);
1227
1227
  return n || (process.env.NODE_ENV !== "production" ? I(!1, Bn(e)) : I(!1)), n;
1228
1228
  }
1229
1229
  function Jn(e, n) {
@@ -1233,13 +1233,13 @@ function Jn(e, n) {
1233
1233
  state: a,
1234
1234
  preventScrollReset: i,
1235
1235
  relative: s
1236
- } = n === void 0 ? {} : n, c = yn(), f = se(), d = ye(e, {
1236
+ } = n === void 0 ? {} : n, c = yn(), f = ue(), d = xe(e, {
1237
1237
  relative: s
1238
1238
  });
1239
- return _.useCallback((h) => {
1239
+ return b.useCallback((h) => {
1240
1240
  if (jn(h, r)) {
1241
1241
  h.preventDefault();
1242
- let v = l !== void 0 ? l : $e(f) === $e(d);
1242
+ let v = l !== void 0 ? l : Ue(f) === Ue(d);
1243
1243
  c(e, {
1244
1244
  replace: v,
1245
1245
  state: a,
@@ -1256,10 +1256,10 @@ function Hn() {
1256
1256
  function zn() {
1257
1257
  let {
1258
1258
  router: e
1259
- } = Yn(We.UseSubmit), {
1259
+ } = Yn(Be.UseSubmit), {
1260
1260
  basename: n
1261
- } = _.useContext(Q), r = Cn();
1262
- return _.useCallback(function(l, a) {
1261
+ } = b.useContext(ee), r = Cn();
1262
+ return b.useCallback(function(l, a) {
1263
1263
  a === void 0 && (a = {}), Hn();
1264
1264
  let {
1265
1265
  action: i,
@@ -1284,18 +1284,18 @@ function Gn(e, n) {
1284
1284
  relative: r
1285
1285
  } = n === void 0 ? {} : n, {
1286
1286
  basename: l
1287
- } = _.useContext(Q), a = _.useContext(re);
1287
+ } = b.useContext(ee), a = b.useContext(ae);
1288
1288
  a || (process.env.NODE_ENV !== "production" ? I(!1, "useFormAction must be used inside a RouteContext") : I(!1));
1289
- let [i] = a.matches.slice(-1), s = ee({}, ye(e || ".", {
1289
+ let [i] = a.matches.slice(-1), s = te({}, xe(e || ".", {
1290
1290
  relative: r
1291
- })), c = se();
1291
+ })), c = ue();
1292
1292
  if (e == null && (s.search = c.search, s.hash = c.hash, i.route.index)) {
1293
1293
  let f = new URLSearchParams(s.search);
1294
1294
  f.delete("index"), s.search = f.toString() ? "?" + f.toString() : "";
1295
1295
  }
1296
- return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), l !== "/" && (s.pathname = s.pathname === "/" ? l : Be([l, s.pathname])), $e(s);
1296
+ return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), l !== "/" && (s.pathname = s.pathname === "/" ? l : Je([l, s.pathname])), Ue(s);
1297
1297
  }
1298
- const rr = H(
1298
+ const rr = z(
1299
1299
  ({ breadcrumbs: e, navigationType: n, className: r, ...l }, a) => {
1300
1300
  const i = e.slice(0, 4), s = i[i.length - 2], c = [
1301
1301
  r,
@@ -1307,7 +1307,7 @@ const rr = H(
1307
1307
  {
1308
1308
  className: "pkt-breadcrumbs__item",
1309
1309
  children: d === i.length - 1 ? /* @__PURE__ */ o("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ o("span", { className: "pkt-breadcrumbs__text", children: f.text }) }) : n === "router" ? /* @__PURE__ */ m(
1310
- _e,
1310
+ ge,
1311
1311
  {
1312
1312
  to: f.href,
1313
1313
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
@@ -1345,7 +1345,7 @@ const rr = H(
1345
1345
  `breadcrumb-${d}`
1346
1346
  )) }),
1347
1347
  n === "router" ? /* @__PURE__ */ m(
1348
- _e,
1348
+ ge,
1349
1349
  {
1350
1350
  to: s.href,
1351
1351
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
@@ -1381,7 +1381,7 @@ const rr = H(
1381
1381
  )
1382
1382
  ] });
1383
1383
  }
1384
- ), be = H(
1384
+ ), Ne = z(
1385
1385
  ({
1386
1386
  children: e,
1387
1387
  className: n,
@@ -1409,7 +1409,7 @@ const rr = H(
1409
1409
  ] });
1410
1410
  }
1411
1411
  );
1412
- be.displayName = "PktButton";
1412
+ Ne.displayName = "PktButton";
1413
1413
  const ar = ({ columnOne: e, columnTwo: n, socialLinks: r, className: l }) => {
1414
1414
  var i, s;
1415
1415
  const a = [l, "pkt-footer"].filter(Boolean).join(" ");
@@ -1492,7 +1492,7 @@ const ar = ({ columnOne: e, columnTwo: n, socialLinks: r, className: l }) => {
1492
1492
  },
1493
1493
  `sociallinks-language-${f}`
1494
1494
  )) }),
1495
- /* @__PURE__ */ o("div", { className: "pkt-footer__social-icons", children: r.filter((c) => c.iconName).map((c, f) => /* @__PURE__ */ o(G.Fragment, { children: /* @__PURE__ */ o(
1495
+ /* @__PURE__ */ o("div", { className: "pkt-footer__social-icons", children: r.filter((c) => c.iconName).map((c, f) => /* @__PURE__ */ o(q.Fragment, { children: /* @__PURE__ */ o(
1496
1496
  "a",
1497
1497
  {
1498
1498
  href: c.href,
@@ -1577,7 +1577,7 @@ var Dt = { exports: {} };
1577
1577
  })();
1578
1578
  })(Dt);
1579
1579
  var Kn = Dt.exports;
1580
- const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1580
+ const Lt = /* @__PURE__ */ sn(Kn), lr = z(
1581
1581
  ({
1582
1582
  logoLink: e = "https://www.oslo.kommune.no/",
1583
1583
  serviceName: n,
@@ -1594,32 +1594,32 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1594
1594
  openMenu: x,
1595
1595
  logOut: C,
1596
1596
  changeRepresentation: O,
1597
- ...P
1597
+ ...R
1598
1598
  }, T) => {
1599
- const R = G.useMemo(() => typeof (a == null ? void 0 : a.lastLoggedIn) == "string" ? a.lastLoggedIn : a != null && a.lastLoggedIn ? new Date(a.lastLoggedIn).toLocaleString("nb-NO", {
1599
+ const P = q.useMemo(() => typeof (a == null ? void 0 : a.lastLoggedIn) == "string" ? a.lastLoggedIn : a != null && a.lastLoggedIn ? new Date(a.lastLoggedIn).toLocaleString("nb-NO", {
1600
1600
  year: "numeric",
1601
1601
  month: "long",
1602
1602
  day: "numeric"
1603
- }) : "", [a]), [g, j] = G.useState(!1), [$, M] = G.useState(0), [A, z] = G.useState(!1), V = G.useRef(null);
1604
- G.useEffect(() => (document.addEventListener("mouseup", J), window.addEventListener("scroll", K), () => {
1605
- document.removeEventListener("mouseup", J), window.removeEventListener("scroll", K);
1603
+ }) : "", [a]), [g, F] = q.useState(!1), [$, A] = q.useState(0), [U, G] = q.useState(!1), M = q.useRef(null);
1604
+ q.useEffect(() => (document.addEventListener("mouseup", B), window.addEventListener("scroll", W), () => {
1605
+ document.removeEventListener("mouseup", B), window.removeEventListener("scroll", W);
1606
1606
  }));
1607
- const W = () => {
1608
- z(!A);
1609
- }, J = (b) => {
1610
- V.current && !V.current.contains(b.target) && z(!1);
1611
- }, K = () => {
1607
+ const K = () => {
1608
+ G(!U);
1609
+ }, B = (_) => {
1610
+ M.current && !M.current.contains(_.target) && G(!1);
1611
+ }, W = () => {
1612
1612
  if (l) {
1613
- const b = window.pageYOffset || document.documentElement.scrollTop;
1614
- if (b < 0 || Math.abs(b - $) < 60)
1613
+ const _ = window.pageYOffset || document.documentElement.scrollTop;
1614
+ if (_ < 0 || Math.abs(_ - $) < 60)
1615
1615
  return;
1616
- j(b > $), M(b);
1616
+ F(_ > $), A(_);
1617
1617
  }
1618
1618
  };
1619
1619
  return /* @__PURE__ */ m(
1620
1620
  "header",
1621
1621
  {
1622
- ...P,
1622
+ ...R,
1623
1623
  id: "pkt-header",
1624
1624
  "data-testid": "pkt-header",
1625
1625
  "aria-label": "Topp",
@@ -1660,7 +1660,7 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1660
1660
  ] }),
1661
1661
  /* @__PURE__ */ o("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ m("ul", { className: "pkt-header__actions-row", children: [
1662
1662
  h && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
1663
- be,
1663
+ Ne,
1664
1664
  {
1665
1665
  className: "pkt-header__menu-btn",
1666
1666
  skin: "secondary",
@@ -1674,8 +1674,8 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1674
1674
  "li",
1675
1675
  {
1676
1676
  "data-testid": "usermenu",
1677
- className: `pkt-header--has-dropdown ${A && !g ? "pkt-header--open-dropdown" : ""}`,
1678
- ref: V,
1677
+ className: `pkt-header--has-dropdown ${U && !g ? "pkt-header--open-dropdown" : ""}`,
1678
+ ref: M,
1679
1679
  children: [
1680
1680
  /* @__PURE__ */ m(
1681
1681
  "button",
@@ -1684,8 +1684,8 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1684
1684
  type: "button",
1685
1685
  role: "button",
1686
1686
  "aria-controls": "pktUserDropdown",
1687
- "aria-expanded": A,
1688
- onClick: W,
1687
+ "aria-expanded": U,
1688
+ onClick: K,
1689
1689
  children: [
1690
1690
  /* @__PURE__ */ o(y, { name: "user", className: "pkt-btn__icon" }),
1691
1691
  /* @__PURE__ */ o("span", { className: "pkt-header__user-fullname", children: (s == null ? void 0 : s.name) || (a == null ? void 0 : a.name) }),
@@ -1701,18 +1701,18 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1701
1701
  /* @__PURE__ */ o("div", { className: "pkt-user-menu__name", children: a.name }),
1702
1702
  a.lastLoggedIn && /* @__PURE__ */ m("div", { className: "pkt-user-menu__last-logged-in", children: [
1703
1703
  "Sist pålogget: ",
1704
- /* @__PURE__ */ o("time", { children: R })
1704
+ /* @__PURE__ */ o("time", { children: P })
1705
1705
  ] })
1706
1706
  ] }),
1707
- i && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("ul", { className: "pkt-list", children: i.map((b, D) => /* @__PURE__ */ o("li", { children: typeof b.target == "string" ? /* @__PURE__ */ m("a", { href: b.target, className: "pkt-link", children: [
1708
- b.iconName && /* @__PURE__ */ o(y, { name: b.iconName, className: "pkt-link__icon" }),
1709
- b.title
1710
- ] }) : /* @__PURE__ */ m("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: [
1711
- b.iconName && /* @__PURE__ */ o(y, { name: b.iconName, className: "pkt-link__icon" }),
1712
- b.title
1707
+ i && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("ul", { className: "pkt-list", children: i.map((_, D) => /* @__PURE__ */ o("li", { children: typeof _.target == "string" ? /* @__PURE__ */ m("a", { href: _.target, className: "pkt-link", children: [
1708
+ _.iconName && /* @__PURE__ */ o(y, { name: _.iconName, className: "pkt-link__icon" }),
1709
+ _.title
1710
+ ] }) : /* @__PURE__ */ m("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: [
1711
+ _.iconName && /* @__PURE__ */ o(y, { name: _.iconName, className: "pkt-link__icon" }),
1712
+ _.title
1713
1713
  ] }) }, `userMenu-${D}`)) }) }),
1714
1714
  (s || d) && /* @__PURE__ */ m("li", { children: [
1715
- s && /* @__PURE__ */ m(X, { children: [
1715
+ s && /* @__PURE__ */ m(Z, { children: [
1716
1716
  /* @__PURE__ */ o("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1717
1717
  /* @__PURE__ */ o("div", { className: "pkt-user-menu__name", children: s.name }),
1718
1718
  s.orgNumber && /* @__PURE__ */ m("div", { className: "pkt-user-menu__org-number", children: [
@@ -1732,26 +1732,26 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1732
1732
  }
1733
1733
  ) }) })
1734
1734
  ] }),
1735
- /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("ul", { className: "pkt-list", children: (c || !v) && /* @__PURE__ */ m(X, { children: [
1736
- c == null ? void 0 : c.map((b, D) => /* @__PURE__ */ o("li", { children: typeof b.target == "string" ? /* @__PURE__ */ m("a", { href: b.target, className: "pkt-link", children: [
1737
- b.iconName && /* @__PURE__ */ o(y, { name: b.iconName, className: "pkt-link__icon" }),
1738
- b.title
1739
- ] }) : /* @__PURE__ */ m("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: [
1740
- b.iconName && /* @__PURE__ */ o(y, { name: b.iconName, className: "pkt-link__icon" }),
1741
- b.title
1735
+ /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o("ul", { className: "pkt-list", children: (c || !v) && /* @__PURE__ */ m(Z, { children: [
1736
+ c == null ? void 0 : c.map((_, D) => /* @__PURE__ */ o("li", { children: typeof _.target == "string" ? /* @__PURE__ */ m("a", { href: _.target, className: "pkt-link", children: [
1737
+ _.iconName && /* @__PURE__ */ o(y, { name: _.iconName, className: "pkt-link__icon" }),
1738
+ _.title
1739
+ ] }) : /* @__PURE__ */ m("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: [
1740
+ _.iconName && /* @__PURE__ */ o(y, { name: _.iconName, className: "pkt-link__icon" }),
1741
+ _.title
1742
1742
  ] }) }, `userOptions-${D}`)),
1743
1743
  !v && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ m("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1744
1744
  /* @__PURE__ */ o(y, { name: "exit", className: "pkt-link__icon" }),
1745
1745
  "Logg ut"
1746
1746
  ] }) })
1747
1747
  ] }) }) }),
1748
- f && /* @__PURE__ */ o("li", { className: "footer", children: /* @__PURE__ */ o("ul", { className: "pkt-list-horizontal bordered", children: f.map((b, D) => /* @__PURE__ */ o("li", { children: typeof b.target == "string" ? /* @__PURE__ */ o("a", { href: b.target, className: "pkt-link", children: b.title }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: b.title }) }, `userMenuFooter-${D}`)) }) })
1748
+ f && /* @__PURE__ */ o("li", { className: "footer", children: /* @__PURE__ */ o("ul", { className: "pkt-list-horizontal bordered", children: f.map((_, D) => /* @__PURE__ */ o("li", { children: typeof _.target == "string" ? /* @__PURE__ */ o("a", { href: _.target, className: "pkt-link", children: _.title }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: _.title }) }, `userMenuFooter-${D}`)) }) })
1749
1749
  ] })
1750
1750
  ]
1751
1751
  }
1752
1752
  ),
1753
1753
  v && /* @__PURE__ */ o("li", { children: /* @__PURE__ */ o(
1754
- be,
1754
+ Ne,
1755
1755
  {
1756
1756
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
1757
1757
  iconName: "exit",
@@ -1767,7 +1767,7 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1767
1767
  }
1768
1768
  );
1769
1769
  }
1770
- ), qn = G.forwardRef(
1770
+ ), qn = q.forwardRef(
1771
1771
  ({ label: e, id: n, children: r, ...l }, a) => /* @__PURE__ */ m("div", { className: "pkt-form-group", children: [
1772
1772
  /* @__PURE__ */ o("label", { htmlFor: n, className: "pkt-form-label", children: e }),
1773
1773
  /* @__PURE__ */ o("input", { className: "pkt-form-input", id: n, ...l, ref: a }),
@@ -1775,7 +1775,7 @@ const Lt = /* @__PURE__ */ sn(Kn), lr = H(
1775
1775
  ] })
1776
1776
  );
1777
1777
  qn.displayName = "PktInput";
1778
- const ze = H(
1778
+ const Ke = z(
1779
1779
  ({
1780
1780
  forId: e,
1781
1781
  label: n,
@@ -1783,85 +1783,87 @@ const ze = H(
1783
1783
  helptextDropdown: l,
1784
1784
  helptextDropdownButton: a,
1785
1785
  optional: i,
1786
- required: s,
1787
- hasError: c,
1788
- errorMessage: f,
1789
- disabled: d,
1790
- inline: h,
1791
- ariaDescribedby: v,
1792
- useWrapper: x = !0,
1793
- children: C,
1794
- className: O
1786
+ optionalText: s = "Valgfritt",
1787
+ required: c,
1788
+ requiredText: f = "Må fylles ut",
1789
+ hasError: d,
1790
+ errorMessage: h,
1791
+ disabled: v,
1792
+ inline: x,
1793
+ ariaDescribedby: C,
1794
+ useWrapper: O = !0,
1795
+ children: R,
1796
+ className: T
1795
1797
  }, P) => {
1796
- const [T, R] = ie(!1), g = () => {
1797
- R(!T);
1798
- }, j = () => i ? "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" : "", $ = i ? "Valgfritt" : s ? "Må fylles ut" : "", M = d ? "pkt-inputwrapper--disabled" : "", A = h ? "pkt-inputwrapper--inline" : "", z = c ? "pkt-inputwrapper--error" : "", V = !!l && l !== "", W = a || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', J = V ? "div" : "label", K = V ? "h2" : "span", b = v || (r ? `${e}-helptext` : void 0);
1798
+ const [g, F] = ce(!1), $ = () => {
1799
+ F(!g);
1800
+ }, A = () => i ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : c ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", U = i ? s : c ? f : "", G = v ? "pkt-inputwrapper--disabled" : "", M = x ? "pkt-inputwrapper--inline" : "", K = d ? "pkt-inputwrapper--error" : "", B = !!l && l !== "", W = a || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', _ = B ? "div" : "label", D = B ? "h2" : "span", Y = C || (r ? `${e}-helptext` : void 0);
1799
1801
  return /* @__PURE__ */ m(
1800
1802
  "div",
1801
1803
  {
1802
- className: ["pkt-inputwrapper", O, M, A, z].join(
1804
+ className: ["pkt-inputwrapper", T, G, M, K].join(
1803
1805
  " "
1804
1806
  ),
1805
1807
  ref: P,
1806
1808
  children: [
1807
- x ? /* @__PURE__ */ m(X, { children: [
1809
+ O ? /* @__PURE__ */ m(Z, { children: [
1808
1810
  /* @__PURE__ */ o(
1809
- J,
1811
+ _,
1810
1812
  {
1811
1813
  htmlFor: e,
1812
1814
  className: "pkt-inputwrapper__label",
1813
- "aria-describedby": V ? "" : v,
1814
- children: /* @__PURE__ */ m(K, { id: `${e}-label`, children: [
1815
+ "aria-describedby": B ? "" : C,
1816
+ children: /* @__PURE__ */ m(D, { id: `${e}-label`, children: [
1815
1817
  n,
1816
- $ !== "" && /* @__PURE__ */ o("span", { className: j(), children: $ })
1818
+ U !== "" && /* @__PURE__ */ o("span", { className: A(), children: U })
1817
1819
  ] })
1818
1820
  }
1819
1821
  ),
1820
1822
  r && /* @__PURE__ */ o("div", { className: "pkt-inputwrapper__helptext", id: `${e}-helptext`, children: r }),
1821
- V && l !== "" && /* @__PURE__ */ m("div", { children: [
1823
+ B && l !== "" && /* @__PURE__ */ m("div", { children: [
1822
1824
  /* @__PURE__ */ o(
1823
- be,
1825
+ Ne,
1824
1826
  {
1825
1827
  skin: "tertiary",
1826
1828
  size: "small",
1827
1829
  variant: "icon-right",
1828
- iconName: T ? "chevron-thin-up" : "chevron-thin-down",
1830
+ iconName: g ? "chevron-thin-up" : "chevron-thin-down",
1829
1831
  className: "pkt-inputwrapper__helptext-expandable pkt-link pkt-link--icon-right",
1830
- onClick: g,
1832
+ onClick: $,
1831
1833
  children: /* @__PURE__ */ o("span", { dangerouslySetInnerHTML: { __html: W } })
1832
1834
  }
1833
1835
  ),
1834
1836
  /* @__PURE__ */ o(
1835
1837
  "div",
1836
1838
  {
1837
- className: `pkt-inputwrapper__helptext ${T ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1839
+ className: `pkt-inputwrapper__helptext ${g ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1838
1840
  children: /* @__PURE__ */ o("span", { dangerouslySetInnerHTML: { __html: l } })
1839
1841
  }
1840
1842
  ),
1841
- /* @__PURE__ */ o("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": b, children: n })
1843
+ /* @__PURE__ */ o("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": Y, children: n })
1842
1844
  ] }),
1843
- /* @__PURE__ */ o(X, { children: C })
1844
- ] }) : /* @__PURE__ */ m(X, { children: [
1845
+ /* @__PURE__ */ o(Z, { children: R })
1846
+ ] }) : /* @__PURE__ */ m(Z, { children: [
1845
1847
  /* @__PURE__ */ o(
1846
1848
  "label",
1847
1849
  {
1848
1850
  htmlFor: e,
1849
1851
  className: "pkt-sr-only",
1850
- "aria-describedby": b,
1852
+ "aria-describedby": Y,
1851
1853
  id: `${e}-label`,
1852
1854
  children: n
1853
1855
  }
1854
1856
  ),
1855
- C
1857
+ R
1856
1858
  ] }),
1857
- c && /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(dn, { skin: "error", "aria-live": "assertive", children: f }) })
1859
+ d && /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(dn, { skin: "error", "aria-live": "assertive", children: h }) })
1858
1860
  ]
1859
1861
  }
1860
1862
  );
1861
1863
  }
1862
1864
  );
1863
- ze.displayName = "PktInputWrapper";
1864
- const Xn = H(
1865
+ Ke.displayName = "PktInputWrapper";
1866
+ const Xn = z(
1865
1867
  ({
1866
1868
  children: e,
1867
1869
  className: n,
@@ -1905,17 +1907,17 @@ const ir = ({
1905
1907
  /* @__PURE__ */ o("div", { className: "pkt-messagebox__title", children: r }),
1906
1908
  /* @__PURE__ */ o("div", { className: "pkt-messagebox__text", children: e })
1907
1909
  ] });
1908
- }, Zn = H(
1910
+ }, Zn = z(
1909
1911
  ({ id: e, name: n, label: r, value: l, ...a }, i) => /* @__PURE__ */ m("div", { className: "pkt-form-group", children: [
1910
1912
  /* @__PURE__ */ o("input", { type: "radio", className: "pkt-form-check-input", id: e, name: n, value: l, ref: i, ...a }),
1911
1913
  /* @__PURE__ */ o("label", { className: "pkt-form-label", htmlFor: e, children: r })
1912
1914
  ] })
1913
1915
  );
1914
1916
  Zn.displayName = "PktRadio";
1915
- const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1917
+ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(Z, { children: [
1916
1918
  /* @__PURE__ */ o("p", { children: e }),
1917
1919
  /* @__PURE__ */ o("div", { className: "pkt-form-group", children: n })
1918
- ] }), Qn = ({ isResponsive: e, children: n }) => e ? /* @__PURE__ */ o("div", { className: "pkt-table-container", children: n }) : /* @__PURE__ */ o(X, { children: n }), cr = ({
1920
+ ] }), Qn = ({ isResponsive: e, children: n }) => e ? /* @__PURE__ */ o("div", { className: "pkt-table-container", children: n }) : /* @__PURE__ */ o(Z, { children: n }), cr = ({
1919
1921
  isResponsive: e,
1920
1922
  modifiers: { info: n = !1, success: r = !1, strong: l = !1, shadow: a = !1 } = {},
1921
1923
  children: i
@@ -1930,7 +1932,7 @@ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1930
1932
  }),
1931
1933
  children: i
1932
1934
  }
1933
- ) }), ur = ({ children: e }) => /* @__PURE__ */ o("td", { className: "pkt-table__th", children: e }), fr = ({ children: e }) => /* @__PURE__ */ o("th", { className: "pkt-table__th", children: e }), er = H(({
1935
+ ) }), ur = ({ children: e }) => /* @__PURE__ */ o("td", { className: "pkt-table__th", children: e }), fr = ({ children: e }) => /* @__PURE__ */ o("th", { className: "pkt-table__th", children: e }), er = z(({
1934
1936
  children: e,
1935
1937
  className: n,
1936
1938
  skin: r = "blue",
@@ -1943,15 +1945,15 @@ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1943
1945
  onClick: d = () => {
1944
1946
  }
1945
1947
  }, h) => {
1946
- const [v, x] = ie(!1), C = (R) => {
1947
- x(!0), d(R);
1948
+ const [v, x] = ce(!1), C = (P) => {
1949
+ x(!0), d(P);
1948
1950
  }, O = [
1949
1951
  "pkt-tag",
1950
1952
  a && `pkt-tag--${a}`,
1951
1953
  r && `pkt-tag--${r}`,
1952
1954
  l && `pkt-tag--${l}`,
1953
1955
  n
1954
- ].filter(Boolean).join(" "), P = [
1956
+ ].filter(Boolean).join(" "), R = [
1955
1957
  "pkt-tag",
1956
1958
  "pkt-btn",
1957
1959
  "pkt-btn--tertiary",
@@ -1962,10 +1964,10 @@ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1962
1964
  i && !s ? "pkt-btn--icon-right" : null,
1963
1965
  n
1964
1966
  ].filter(Boolean).join(" "), T = !v;
1965
- return i && s ? /* @__PURE__ */ o(X, { children: T && /* @__PURE__ */ m(
1967
+ return i && s ? /* @__PURE__ */ o(Z, { children: T && /* @__PURE__ */ m(
1966
1968
  "button",
1967
1969
  {
1968
- className: P,
1970
+ className: R,
1969
1971
  type: c,
1970
1972
  "aria-label": f,
1971
1973
  onClick: C,
@@ -1976,10 +1978,10 @@ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1976
1978
  /* @__PURE__ */ o(y, { className: "pkt-tag__close-btn", name: "close" })
1977
1979
  ]
1978
1980
  }
1979
- ) }) : i ? /* @__PURE__ */ o(X, { children: T && /* @__PURE__ */ m(
1981
+ ) }) : i ? /* @__PURE__ */ o(Z, { children: T && /* @__PURE__ */ m(
1980
1982
  "button",
1981
1983
  {
1982
- className: P,
1984
+ className: R,
1983
1985
  type: c,
1984
1986
  "aria-label": f,
1985
1987
  onClick: C,
@@ -1995,7 +1997,7 @@ const sr = ({ label: e, children: n }) => /* @__PURE__ */ m(X, { children: [
1995
1997
  ] }) : /* @__PURE__ */ o("span", { className: O, children: e });
1996
1998
  });
1997
1999
  er.displayName = "PktTag";
1998
- const pr = H(
2000
+ const pr = z(
1999
2001
  ({
2000
2002
  id: e,
2001
2003
  ariaDescribedby: n,
@@ -2012,27 +2014,29 @@ const pr = H(
2012
2014
  inline: x,
2013
2015
  label: C,
2014
2016
  name: O,
2015
- optional: P,
2016
- placeholder: T,
2017
- required: R,
2018
- rows: g,
2019
- useWrapper: j,
2020
- onChange: $,
2021
- ...M
2022
- }, A) => {
2023
- const z = [i, "pkt-textinput", "pkt-textarea"].join(" "), V = r || `${e}-label`, W = ln(null), [J, K] = ie(0), b = (D) => {
2024
- var B, Z;
2025
- if (l && K(((Z = (B = D.currentTarget) == null ? void 0 : B.value) == null ? void 0 : Z.length) || 0), $)
2026
- return $(D);
2017
+ optional: R = !1,
2018
+ optionalText: T,
2019
+ required: P = !1,
2020
+ requiredText: g,
2021
+ placeholder: F,
2022
+ rows: $,
2023
+ useWrapper: A,
2024
+ onChange: U,
2025
+ ...G
2026
+ }, M) => {
2027
+ const K = [i, "pkt-textinput", "pkt-textarea"].join(" "), B = r || `${e}-label`, W = ln(null), [_, D] = ce(0), Y = (H) => {
2028
+ var Q, oe;
2029
+ if (l && D(((oe = (Q = H.currentTarget) == null ? void 0 : Q.value) == null ? void 0 : oe.length) || 0), U)
2030
+ return U(H);
2027
2031
  };
2028
2032
  return yt(() => {
2029
- var D, B;
2030
- typeof A == "function" && A(W.current), l && K(((B = (D = W == null ? void 0 : W.current) == null ? void 0 : D.value) == null ? void 0 : B.length) || 0);
2031
- }, [A]), /* @__PURE__ */ m(
2032
- ze,
2033
+ var H, Q;
2034
+ typeof M == "function" && M(W.current), l && D(((Q = (H = W == null ? void 0 : W.current) == null ? void 0 : H.value) == null ? void 0 : Q.length) || 0);
2035
+ }, [M]), /* @__PURE__ */ m(
2036
+ Ke,
2033
2037
  {
2034
2038
  ariaDescribedby: n,
2035
- className: z,
2039
+ className: K,
2036
2040
  disabled: s,
2037
2041
  errorMessage: c,
2038
2042
  forId: e,
@@ -2042,36 +2046,38 @@ const pr = H(
2042
2046
  helptextDropdownButton: v,
2043
2047
  inline: x,
2044
2048
  label: C,
2045
- optional: P,
2046
- required: R,
2047
- useWrapper: j,
2049
+ optional: R,
2050
+ optionalText: T,
2051
+ required: P,
2052
+ requiredText: g,
2053
+ useWrapper: A,
2048
2054
  children: [
2049
2055
  /* @__PURE__ */ o(
2050
2056
  "textarea",
2051
2057
  {
2052
2058
  ref: W,
2053
- className: `pkt-input ${a && J > a ? "pkt-input--counter-error" : ""}`,
2059
+ className: `pkt-input ${a && _ > a ? "pkt-input--counter-error" : ""}`,
2054
2060
  name: O || e,
2055
2061
  id: e,
2056
- placeholder: T,
2062
+ placeholder: F,
2057
2063
  disabled: s,
2058
- rows: g,
2059
- "aria-labelledby": V,
2064
+ rows: $,
2065
+ "aria-labelledby": B,
2060
2066
  "aria-invalid": f,
2061
- "aria-required": R,
2062
- ...M,
2063
- onChange: b
2067
+ "aria-required": P,
2068
+ ...G,
2069
+ onChange: Y
2064
2070
  }
2065
2071
  ),
2066
2072
  l && /* @__PURE__ */ m("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
2067
- J || 0,
2073
+ _ || 0,
2068
2074
  a && `/${a}`
2069
2075
  ] })
2070
2076
  ]
2071
2077
  }
2072
2078
  );
2073
2079
  }
2074
- ), dr = H(
2080
+ ), dr = z(
2075
2081
  ({
2076
2082
  id: e,
2077
2083
  ariaDescribedby: n,
@@ -2088,19 +2094,21 @@ const pr = H(
2088
2094
  inline: x = !1,
2089
2095
  label: C,
2090
2096
  name: O,
2091
- optional: P = !1,
2092
- placeholder: T,
2093
- prefix: R,
2094
- required: g = !1,
2095
- suffix: j,
2096
- type: $ = "text",
2097
- useWrapper: M = !0,
2098
- value: A,
2099
- ...z
2100
- }, V) => {
2101
- const W = [a, "pkt-textinput"].join(" "), J = r || `${e}-label`;
2097
+ optional: R = !1,
2098
+ optionalText: T,
2099
+ required: P = !1,
2100
+ requiredText: g,
2101
+ placeholder: F,
2102
+ prefix: $,
2103
+ suffix: A,
2104
+ type: U = "text",
2105
+ useWrapper: G = !0,
2106
+ value: M,
2107
+ ...K
2108
+ }, B) => {
2109
+ const W = [a, "pkt-textinput"].join(" "), _ = r || `${e}-label`;
2102
2110
  return /* @__PURE__ */ o(
2103
- ze,
2111
+ Ke,
2104
2112
  {
2105
2113
  ariaDescribedby: n,
2106
2114
  className: W,
@@ -2113,34 +2121,36 @@ const pr = H(
2113
2121
  helptextDropdownButton: h,
2114
2122
  inline: x,
2115
2123
  label: C,
2116
- optional: P,
2117
- required: g,
2118
- useWrapper: M,
2124
+ optional: R,
2125
+ optionalText: T,
2126
+ required: P,
2127
+ requiredText: g,
2128
+ useWrapper: G,
2119
2129
  children: /* @__PURE__ */ m("div", { className: "pkt-input__container", children: [
2120
- R && /* @__PURE__ */ o("div", { className: "pkt-input-prefix", children: R }),
2130
+ $ && /* @__PURE__ */ o("div", { className: "pkt-input-prefix", children: $ }),
2121
2131
  /* @__PURE__ */ o(
2122
2132
  "input",
2123
2133
  {
2124
- ref: V,
2134
+ ref: B,
2125
2135
  className: "pkt-input",
2126
- type: $,
2136
+ type: U,
2127
2137
  name: O || e,
2128
2138
  id: e,
2129
- placeholder: T,
2139
+ placeholder: F,
2130
2140
  autoComplete: l,
2131
- value: A,
2141
+ value: M,
2132
2142
  disabled: i,
2133
- "aria-required": g,
2143
+ "aria-required": P,
2134
2144
  "aria-invalid": c,
2135
- "aria-labelledby": J,
2136
- ...z
2145
+ "aria-labelledby": _,
2146
+ ...K
2137
2147
  }
2138
2148
  ),
2139
- j && /* @__PURE__ */ m("p", { className: "pkt-input-suffix", children: [
2140
- j,
2149
+ A && /* @__PURE__ */ m("p", { className: "pkt-input-suffix", children: [
2150
+ A,
2141
2151
  v && /* @__PURE__ */ o(y, { className: "pkt-input-suffix-icon", name: v })
2142
2152
  ] }),
2143
- !j && v && /* @__PURE__ */ o(y, { className: "pkt-input-icon", name: v })
2153
+ !A && v && /* @__PURE__ */ o(y, { className: "pkt-input-icon", name: v })
2144
2154
  ] })
2145
2155
  }
2146
2156
  );
@@ -2150,13 +2160,13 @@ export {
2150
2160
  dn as PktAlert,
2151
2161
  nr as PktBackLink,
2152
2162
  rr as PktBreadcrumbs,
2153
- be as PktButton,
2163
+ Ne as PktButton,
2154
2164
  ar as PktFooter,
2155
2165
  or as PktFooterSimple,
2156
2166
  lr as PktHeader,
2157
2167
  y as PktIcon,
2158
2168
  qn as PktInput,
2159
- ze as PktInputWrapper,
2169
+ Ke as PktInputWrapper,
2160
2170
  Xn as PktLinkCard,
2161
2171
  ir as PktMessagebox,
2162
2172
  Zn as PktRadio,