@oslokommune/punkt-react 11.13.3 → 11.13.6

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,10 +1,9 @@
1
- import * as g from "react";
2
- import X, { createContext as fn, useState as te, useContext as dn, useEffect as ze, forwardRef as V, useRef as yt, Fragment as mn } from "react";
3
- import "react-dom";
4
- function hn(e) {
5
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1
+ import J, { createContext as yt, useState as Z, useContext as wt, useEffect as Ee, forwardRef as D, useRef as Ge, Fragment as Et } from "react";
2
+ import { Link as He } from "react-router-dom";
3
+ function Ct(r) {
4
+ return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
6
5
  }
7
- var Be = { exports: {} }, pe = {};
6
+ var ye = { exports: {} }, se = {};
8
7
  /**
9
8
  * @license React
10
9
  * react-jsx-runtime.production.min.js
@@ -14,25 +13,25 @@ var Be = { exports: {} }, pe = {};
14
13
  * This source code is licensed under the MIT license found in the
15
14
  * LICENSE file in the root directory of this source tree.
16
15
  */
17
- var _t;
18
- function kn() {
19
- if (_t)
20
- return pe;
21
- _t = 1;
22
- var e = X, r = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
23
- function c(o, p, u) {
24
- var d, h = {}, k = null, C = null;
25
- u !== void 0 && (k = "" + u), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (C = p.ref);
26
- for (d in p)
27
- i.call(p, d) && !s.hasOwnProperty(d) && (h[d] = p[d]);
28
- if (o && o.defaultProps)
29
- for (d in p = o.defaultProps, p)
30
- h[d] === void 0 && (h[d] = p[d]);
31
- return { $$typeof: r, type: o, key: k, ref: C, props: h, _owner: l.current };
16
+ var ze;
17
+ function Pt() {
18
+ if (ze)
19
+ return se;
20
+ ze = 1;
21
+ var r = J, l = Symbol.for("react.element"), d = Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, u = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function c(a, o, i) {
23
+ var k, _ = {}, b = null, C = null;
24
+ i !== void 0 && (b = "" + i), o.key !== void 0 && (b = "" + o.key), o.ref !== void 0 && (C = o.ref);
25
+ for (k in o)
26
+ p.call(o, k) && !n.hasOwnProperty(k) && (_[k] = o[k]);
27
+ if (a && a.defaultProps)
28
+ for (k in o = a.defaultProps, o)
29
+ _[k] === void 0 && (_[k] = o[k]);
30
+ return { $$typeof: l, type: a, key: b, ref: C, props: _, _owner: u.current };
32
31
  }
33
- return pe.Fragment = a, pe.jsx = c, pe.jsxs = c, pe;
32
+ return se.Fragment = d, se.jsx = c, se.jsxs = c, se;
34
33
  }
35
- var fe = {};
34
+ var le = {};
36
35
  /**
37
36
  * @license React
38
37
  * react-jsx-runtime.development.js
@@ -42,91 +41,91 @@ var fe = {};
42
41
  * This source code is licensed under the MIT license found in the
43
42
  * LICENSE file in the root directory of this source tree.
44
43
  */
45
- var bt;
46
- function vn() {
47
- return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
48
- var e = X, r = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), o = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), j = Symbol.iterator, S = "@@iterator";
49
- function O(n) {
50
- if (n === null || typeof n != "object")
44
+ var Je;
45
+ function Rt() {
46
+ return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
47
+ var r = J, l = Symbol.for("react.element"), d = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), a = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), i = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), P = Symbol.iterator, O = "@@iterator";
48
+ function F(t) {
49
+ if (t === null || typeof t != "object")
51
50
  return null;
52
- var f = j && n[j] || n[S];
53
- return typeof f == "function" ? f : null;
51
+ var s = P && t[P] || t[O];
52
+ return typeof s == "function" ? s : null;
54
53
  }
55
- var R = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
- function _(n) {
54
+ var E = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
+ function y(t) {
57
56
  {
58
- for (var f = arguments.length, m = new Array(f > 1 ? f - 1 : 0), x = 1; x < f; x++)
59
- m[x - 1] = arguments[x];
60
- v("error", n, m);
57
+ for (var s = arguments.length, f = new Array(s > 1 ? s - 1 : 0), h = 1; h < s; h++)
58
+ f[h - 1] = arguments[h];
59
+ j("error", t, f);
61
60
  }
62
61
  }
63
- function v(n, f, m) {
62
+ function j(t, s, f) {
64
63
  {
65
- var x = R.ReactDebugCurrentFrame, P = x.getStackAddendum();
66
- P !== "" && (f += "%s", m = m.concat([P]));
67
- var T = m.map(function(E) {
68
- return String(E);
64
+ var h = E.ReactDebugCurrentFrame, N = h.getStackAddendum();
65
+ N !== "" && (s += "%s", f = f.concat([N]));
66
+ var w = f.map(function(g) {
67
+ return String(g);
69
68
  });
70
- T.unshift("Warning: " + f), Function.prototype.apply.call(console[n], console, T);
69
+ w.unshift("Warning: " + s), Function.prototype.apply.call(console[t], console, w);
71
70
  }
72
71
  }
73
- var y = !1, A = !1, U = !1, W = !1, B = !1, M;
72
+ var I = !1, U = !1, W = !1, Y = !1, H = !1, M;
74
73
  M = Symbol.for("react.module.reference");
75
- function Y(n) {
76
- return !!(typeof n == "string" || typeof n == "function" || n === i || n === s || B || n === l || n === u || n === d || W || n === C || y || A || U || typeof n == "object" && n !== null && (n.$$typeof === k || n.$$typeof === h || n.$$typeof === c || n.$$typeof === o || n.$$typeof === p || // This needs to include all possible module reference object
74
+ function z(t) {
75
+ return !!(typeof t == "string" || typeof t == "function" || t === p || t === n || H || t === u || t === i || t === k || Y || t === C || I || U || W || typeof t == "object" && t !== null && (t.$$typeof === b || t.$$typeof === _ || t.$$typeof === c || t.$$typeof === a || t.$$typeof === o || // This needs to include all possible module reference object
77
76
  // types supported by any Flight configuration anywhere since
78
77
  // we don't know which Flight build this will end up being used
79
78
  // with.
80
- n.$$typeof === M || n.getModuleId !== void 0));
79
+ t.$$typeof === M || t.getModuleId !== void 0));
81
80
  }
82
- function z(n, f, m) {
83
- var x = n.displayName;
84
- if (x)
85
- return x;
86
- var P = f.displayName || f.name || "";
87
- return P !== "" ? m + "(" + P + ")" : m;
81
+ function V(t, s, f) {
82
+ var h = t.displayName;
83
+ if (h)
84
+ return h;
85
+ var N = s.displayName || s.name || "";
86
+ return N !== "" ? f + "(" + N + ")" : f;
88
87
  }
89
- function K(n) {
90
- return n.displayName || "Context";
88
+ function A(t) {
89
+ return t.displayName || "Context";
91
90
  }
92
- function I(n) {
93
- if (n == null)
91
+ function T(t) {
92
+ if (t == null)
94
93
  return null;
95
- if (typeof n.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
96
- return n.displayName || n.name || null;
97
- if (typeof n == "string")
98
- return n;
99
- switch (n) {
100
- case i:
94
+ if (typeof t.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
95
+ return t.displayName || t.name || null;
96
+ if (typeof t == "string")
97
+ return t;
98
+ switch (t) {
99
+ case p:
101
100
  return "Fragment";
102
- case a:
101
+ case d:
103
102
  return "Portal";
104
- case s:
103
+ case n:
105
104
  return "Profiler";
106
- case l:
107
- return "StrictMode";
108
105
  case u:
106
+ return "StrictMode";
107
+ case i:
109
108
  return "Suspense";
110
- case d:
109
+ case k:
111
110
  return "SuspenseList";
112
111
  }
113
- if (typeof n == "object")
114
- switch (n.$$typeof) {
115
- case o:
116
- var f = n;
117
- return K(f) + ".Consumer";
112
+ if (typeof t == "object")
113
+ switch (t.$$typeof) {
114
+ case a:
115
+ var s = t;
116
+ return A(s) + ".Consumer";
118
117
  case c:
119
- var m = n;
120
- return K(m._context) + ".Provider";
121
- case p:
122
- return z(n, n.render, "ForwardRef");
123
- case h:
124
- var x = n.displayName || null;
125
- return x !== null ? x : I(n.type) || "Memo";
126
- case k: {
127
- var P = n, T = P._payload, E = P._init;
118
+ var f = t;
119
+ return A(f._context) + ".Provider";
120
+ case o:
121
+ return V(t, t.render, "ForwardRef");
122
+ case _:
123
+ var h = t.displayName || null;
124
+ return h !== null ? h : T(t.type) || "Memo";
125
+ case b: {
126
+ var N = t, w = N._payload, g = N._init;
128
127
  try {
129
- return I(E(T));
128
+ return T(g(w));
130
129
  } catch {
131
130
  return null;
132
131
  }
@@ -134,1443 +133,769 @@ function vn() {
134
133
  }
135
134
  return null;
136
135
  }
137
- var b = Object.assign, L = 0, Z, Q, oe, Qe, et, tt, nt;
138
- function rt() {
136
+ var m = Object.assign, S = 0, G, q, re, Ce, Pe, Re, Te;
137
+ function $e() {
139
138
  }
140
- rt.__reactDisabledLog = !0;
141
- function At() {
139
+ $e.__reactDisabledLog = !0;
140
+ function Xe() {
142
141
  {
143
- if (L === 0) {
144
- Z = console.log, Q = console.info, oe = console.warn, Qe = console.error, et = console.group, tt = console.groupCollapsed, nt = console.groupEnd;
145
- var n = {
142
+ if (S === 0) {
143
+ G = console.log, q = console.info, re = console.warn, Ce = console.error, Pe = console.group, Re = console.groupCollapsed, Te = console.groupEnd;
144
+ var t = {
146
145
  configurable: !0,
147
146
  enumerable: !0,
148
- value: rt,
147
+ value: $e,
149
148
  writable: !0
150
149
  };
151
150
  Object.defineProperties(console, {
152
- info: n,
153
- log: n,
154
- warn: n,
155
- error: n,
156
- group: n,
157
- groupCollapsed: n,
158
- groupEnd: n
151
+ info: t,
152
+ log: t,
153
+ warn: t,
154
+ error: t,
155
+ group: t,
156
+ groupCollapsed: t,
157
+ groupEnd: t
159
158
  });
160
159
  }
161
- L++;
160
+ S++;
162
161
  }
163
162
  }
164
- function Ut() {
163
+ function Ze() {
165
164
  {
166
- if (L--, L === 0) {
167
- var n = {
165
+ if (S--, S === 0) {
166
+ var t = {
168
167
  configurable: !0,
169
168
  enumerable: !0,
170
169
  writable: !0
171
170
  };
172
171
  Object.defineProperties(console, {
173
- log: b({}, n, {
174
- value: Z
172
+ log: m({}, t, {
173
+ value: G
175
174
  }),
176
- info: b({}, n, {
177
- value: Q
175
+ info: m({}, t, {
176
+ value: q
178
177
  }),
179
- warn: b({}, n, {
180
- value: oe
178
+ warn: m({}, t, {
179
+ value: re
181
180
  }),
182
- error: b({}, n, {
183
- value: Qe
181
+ error: m({}, t, {
182
+ value: Ce
184
183
  }),
185
- group: b({}, n, {
186
- value: et
184
+ group: m({}, t, {
185
+ value: Pe
187
186
  }),
188
- groupCollapsed: b({}, n, {
189
- value: tt
187
+ groupCollapsed: m({}, t, {
188
+ value: Re
190
189
  }),
191
- groupEnd: b({}, n, {
192
- value: nt
190
+ groupEnd: m({}, t, {
191
+ value: Te
193
192
  })
194
193
  });
195
194
  }
196
- L < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
+ S < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
197
196
  }
198
197
  }
199
- var Pe = R.ReactCurrentDispatcher, Se;
200
- function ve(n, f, m) {
198
+ var fe = E.ReactCurrentDispatcher, ke;
199
+ function oe(t, s, f) {
201
200
  {
202
- if (Se === void 0)
201
+ if (ke === void 0)
203
202
  try {
204
203
  throw Error();
205
- } catch (P) {
206
- var x = P.stack.trim().match(/\n( *(at )?)/);
207
- Se = x && x[1] || "";
204
+ } catch (N) {
205
+ var h = N.stack.trim().match(/\n( *(at )?)/);
206
+ ke = h && h[1] || "";
208
207
  }
209
208
  return `
210
- ` + Se + n;
209
+ ` + ke + t;
211
210
  }
212
211
  }
213
- var Te = !1, _e;
212
+ var me = !1, ce;
214
213
  {
215
- var Vt = typeof WeakMap == "function" ? WeakMap : Map;
216
- _e = new Vt();
214
+ var Qe = typeof WeakMap == "function" ? WeakMap : Map;
215
+ ce = new Qe();
217
216
  }
218
- function at(n, f) {
219
- if (!n || Te)
217
+ function Se(t, s) {
218
+ if (!t || me)
220
219
  return "";
221
220
  {
222
- var m = _e.get(n);
223
- if (m !== void 0)
224
- return m;
221
+ var f = ce.get(t);
222
+ if (f !== void 0)
223
+ return f;
225
224
  }
226
- var x;
227
- Te = !0;
228
- var P = Error.prepareStackTrace;
225
+ var h;
226
+ me = !0;
227
+ var N = Error.prepareStackTrace;
229
228
  Error.prepareStackTrace = void 0;
230
- var T;
231
- T = Pe.current, Pe.current = null, At();
229
+ var w;
230
+ w = fe.current, fe.current = null, Xe();
232
231
  try {
233
- if (f) {
234
- var E = function() {
232
+ if (s) {
233
+ var g = function() {
235
234
  throw Error();
236
235
  };
237
- if (Object.defineProperty(E.prototype, "props", {
236
+ if (Object.defineProperty(g.prototype, "props", {
238
237
  set: function() {
239
238
  throw Error();
240
239
  }
241
240
  }), typeof Reflect == "object" && Reflect.construct) {
242
241
  try {
243
- Reflect.construct(E, []);
244
- } catch (G) {
245
- x = G;
242
+ Reflect.construct(g, []);
243
+ } catch (B) {
244
+ h = B;
246
245
  }
247
- Reflect.construct(n, [], E);
246
+ Reflect.construct(t, [], g);
248
247
  } else {
249
248
  try {
250
- E.call();
251
- } catch (G) {
252
- x = G;
249
+ g.call();
250
+ } catch (B) {
251
+ h = B;
253
252
  }
254
- n.call(E.prototype);
253
+ t.call(g.prototype);
255
254
  }
256
255
  } else {
257
256
  try {
258
257
  throw Error();
259
- } catch (G) {
260
- x = G;
258
+ } catch (B) {
259
+ h = B;
261
260
  }
262
- n();
261
+ t();
263
262
  }
264
- } catch (G) {
265
- if (G && x && typeof G.stack == "string") {
266
- for (var w = G.stack.split(`
267
- `), J = x.stack.split(`
268
- `), $ = w.length - 1, F = J.length - 1; $ >= 1 && F >= 0 && w[$] !== J[F]; )
269
- F--;
270
- for (; $ >= 1 && F >= 0; $--, F--)
271
- if (w[$] !== J[F]) {
272
- if ($ !== 1 || F !== 1)
263
+ } catch (B) {
264
+ if (B && h && typeof B.stack == "string") {
265
+ for (var v = B.stack.split(`
266
+ `), L = h.stack.split(`
267
+ `), R = v.length - 1, $ = L.length - 1; R >= 1 && $ >= 0 && v[R] !== L[$]; )
268
+ $--;
269
+ for (; R >= 1 && $ >= 0; R--, $--)
270
+ if (v[R] !== L[$]) {
271
+ if (R !== 1 || $ !== 1)
273
272
  do
274
- if ($--, F--, F < 0 || w[$] !== J[F]) {
275
- var q = `
276
- ` + w[$].replace(" at new ", " at ");
277
- return n.displayName && q.includes("<anonymous>") && (q = q.replace("<anonymous>", n.displayName)), typeof n == "function" && _e.set(n, q), q;
273
+ if (R--, $--, $ < 0 || v[R] !== L[$]) {
274
+ var K = `
275
+ ` + v[R].replace(" at new ", " at ");
276
+ return t.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", t.displayName)), typeof t == "function" && ce.set(t, K), K;
278
277
  }
279
- while ($ >= 1 && F >= 0);
278
+ while (R >= 1 && $ >= 0);
280
279
  break;
281
280
  }
282
281
  }
283
282
  } finally {
284
- Te = !1, Pe.current = T, Ut(), Error.prepareStackTrace = P;
283
+ me = !1, fe.current = w, Ze(), Error.prepareStackTrace = N;
285
284
  }
286
- var ae = n ? n.displayName || n.name : "", ee = ae ? ve(ae) : "";
287
- return typeof n == "function" && _e.set(n, ee), ee;
285
+ var te = t ? t.displayName || t.name : "", X = te ? oe(te) : "";
286
+ return typeof t == "function" && ce.set(t, X), X;
288
287
  }
289
- function Wt(n, f, m) {
290
- return at(n, !1);
288
+ function et(t, s, f) {
289
+ return Se(t, !1);
291
290
  }
292
- function Bt(n) {
293
- var f = n.prototype;
294
- return !!(f && f.isReactComponent);
291
+ function tt(t) {
292
+ var s = t.prototype;
293
+ return !!(s && s.isReactComponent);
295
294
  }
296
- function be(n, f, m) {
297
- if (n == null)
295
+ function ue(t, s, f) {
296
+ if (t == null)
298
297
  return "";
299
- if (typeof n == "function")
300
- return at(n, Bt(n));
301
- if (typeof n == "string")
302
- return ve(n);
303
- switch (n) {
304
- case u:
305
- return ve("Suspense");
306
- case d:
307
- return ve("SuspenseList");
298
+ if (typeof t == "function")
299
+ return Se(t, tt(t));
300
+ if (typeof t == "string")
301
+ return oe(t);
302
+ switch (t) {
303
+ case i:
304
+ return oe("Suspense");
305
+ case k:
306
+ return oe("SuspenseList");
308
307
  }
309
- if (typeof n == "object")
310
- switch (n.$$typeof) {
311
- case p:
312
- return Wt(n.render);
313
- case h:
314
- return be(n.type, f, m);
315
- case k: {
316
- var x = n, P = x._payload, T = x._init;
308
+ if (typeof t == "object")
309
+ switch (t.$$typeof) {
310
+ case o:
311
+ return et(t.render);
312
+ case _:
313
+ return ue(t.type, s, f);
314
+ case b: {
315
+ var h = t, N = h._payload, w = h._init;
317
316
  try {
318
- return be(T(P), f, m);
317
+ return ue(w(N), s, f);
319
318
  } catch {
320
319
  }
321
320
  }
322
321
  }
323
322
  return "";
324
323
  }
325
- var ce = Object.prototype.hasOwnProperty, st = {}, lt = R.ReactDebugCurrentFrame;
326
- function xe(n) {
327
- if (n) {
328
- var f = n._owner, m = be(n.type, n._source, f ? f.type : null);
329
- lt.setExtraStackFrame(m);
324
+ var ne = Object.prototype.hasOwnProperty, Oe = {}, Ie = E.ReactDebugCurrentFrame;
325
+ function pe(t) {
326
+ if (t) {
327
+ var s = t._owner, f = ue(t.type, t._source, s ? s.type : null);
328
+ Ie.setExtraStackFrame(f);
330
329
  } else
331
- lt.setExtraStackFrame(null);
330
+ Ie.setExtraStackFrame(null);
332
331
  }
333
- function Mt(n, f, m, x, P) {
332
+ function rt(t, s, f, h, N) {
334
333
  {
335
- var T = Function.call.bind(ce);
336
- for (var E in n)
337
- if (T(n, E)) {
338
- var w = void 0;
334
+ var w = Function.call.bind(ne);
335
+ for (var g in t)
336
+ if (w(t, g)) {
337
+ var v = void 0;
339
338
  try {
340
- if (typeof n[E] != "function") {
341
- var J = Error((x || "React class") + ": " + m + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
- throw J.name = "Invariant Violation", J;
339
+ if (typeof t[g] != "function") {
340
+ var L = Error((h || "React class") + ": " + f + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw L.name = "Invariant Violation", L;
343
342
  }
344
- w = n[E](f, E, x, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
- } catch ($) {
346
- w = $;
343
+ v = t[g](s, g, h, f, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
+ } catch (R) {
345
+ v = R;
347
346
  }
348
- w && !(w instanceof Error) && (xe(P), _("%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).", x || "React class", m, E, typeof w), xe(null)), w instanceof Error && !(w.message in st) && (st[w.message] = !0, xe(P), _("Failed %s type: %s", m, w.message), xe(null));
347
+ v && !(v instanceof Error) && (pe(N), y("%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).", h || "React class", f, g, typeof v), pe(null)), v instanceof Error && !(v.message in Oe) && (Oe[v.message] = !0, pe(N), y("Failed %s type: %s", f, v.message), pe(null));
349
348
  }
350
349
  }
351
350
  }
352
- var Yt = Array.isArray;
353
- function Oe(n) {
354
- return Yt(n);
351
+ var nt = Array.isArray;
352
+ function he(t) {
353
+ return nt(t);
355
354
  }
356
- function Kt(n) {
355
+ function at(t) {
357
356
  {
358
- var f = typeof Symbol == "function" && Symbol.toStringTag, m = f && n[Symbol.toStringTag] || n.constructor.name || "Object";
359
- return m;
357
+ var s = typeof Symbol == "function" && Symbol.toStringTag, f = s && t[Symbol.toStringTag] || t.constructor.name || "Object";
358
+ return f;
360
359
  }
361
360
  }
362
- function Jt(n) {
361
+ function st(t) {
363
362
  try {
364
- return it(n), !1;
363
+ return Fe(t), !1;
365
364
  } catch {
366
365
  return !0;
367
366
  }
368
367
  }
369
- function it(n) {
370
- return "" + n;
368
+ function Fe(t) {
369
+ return "" + t;
371
370
  }
372
- function ot(n) {
373
- if (Jt(n))
374
- return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Kt(n)), it(n);
371
+ function De(t) {
372
+ if (st(t))
373
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(t)), Fe(t);
375
374
  }
376
- var ue = R.ReactCurrentOwner, zt = {
375
+ var ae = E.ReactCurrentOwner, lt = {
377
376
  key: !0,
378
377
  ref: !0,
379
378
  __self: !0,
380
379
  __source: !0
381
- }, ct, ut, $e;
382
- $e = {};
383
- function Gt(n) {
384
- if (ce.call(n, "ref")) {
385
- var f = Object.getOwnPropertyDescriptor(n, "ref").get;
386
- if (f && f.isReactWarning)
380
+ }, Ae, Le, _e;
381
+ _e = {};
382
+ function it(t) {
383
+ if (ne.call(t, "ref")) {
384
+ var s = Object.getOwnPropertyDescriptor(t, "ref").get;
385
+ if (s && s.isReactWarning)
387
386
  return !1;
388
387
  }
389
- return n.ref !== void 0;
388
+ return t.ref !== void 0;
390
389
  }
391
- function qt(n) {
392
- if (ce.call(n, "key")) {
393
- var f = Object.getOwnPropertyDescriptor(n, "key").get;
394
- if (f && f.isReactWarning)
390
+ function ot(t) {
391
+ if (ne.call(t, "key")) {
392
+ var s = Object.getOwnPropertyDescriptor(t, "key").get;
393
+ if (s && s.isReactWarning)
395
394
  return !1;
396
395
  }
397
- return n.key !== void 0;
396
+ return t.key !== void 0;
398
397
  }
399
- function Xt(n, f) {
400
- if (typeof n.ref == "string" && ue.current && f && ue.current.stateNode !== f) {
401
- var m = I(ue.current.type);
402
- $e[m] || (_('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', I(ue.current.type), n.ref), $e[m] = !0);
398
+ function ct(t, s) {
399
+ if (typeof t.ref == "string" && ae.current && s && ae.current.stateNode !== s) {
400
+ var f = T(ae.current.type);
401
+ _e[f] || (y('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', T(ae.current.type), t.ref), _e[f] = !0);
403
402
  }
404
403
  }
405
- function Ht(n, f) {
404
+ function ut(t, s) {
406
405
  {
407
- var m = function() {
408
- ct || (ct = !0, _("%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)", f));
406
+ var f = function() {
407
+ Ae || (Ae = !0, y("%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)", s));
409
408
  };
410
- m.isReactWarning = !0, Object.defineProperty(n, "key", {
411
- get: m,
409
+ f.isReactWarning = !0, Object.defineProperty(t, "key", {
410
+ get: f,
412
411
  configurable: !0
413
412
  });
414
413
  }
415
414
  }
416
- function Zt(n, f) {
415
+ function pt(t, s) {
417
416
  {
418
- var m = function() {
419
- ut || (ut = !0, _("%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)", f));
417
+ var f = function() {
418
+ Le || (Le = !0, y("%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)", s));
420
419
  };
421
- m.isReactWarning = !0, Object.defineProperty(n, "ref", {
422
- get: m,
420
+ f.isReactWarning = !0, Object.defineProperty(t, "ref", {
421
+ get: f,
423
422
  configurable: !0
424
423
  });
425
424
  }
426
425
  }
427
- var Qt = function(n, f, m, x, P, T, E) {
428
- var w = {
426
+ var dt = function(t, s, f, h, N, w, g) {
427
+ var v = {
429
428
  // This tag allows us to uniquely identify this as a React Element
430
- $$typeof: r,
429
+ $$typeof: l,
431
430
  // Built-in properties that belong on the element
432
- type: n,
433
- key: f,
434
- ref: m,
435
- props: E,
431
+ type: t,
432
+ key: s,
433
+ ref: f,
434
+ props: g,
436
435
  // Record the component responsible for creating this element.
437
- _owner: T
436
+ _owner: w
438
437
  };
439
- return w._store = {}, Object.defineProperty(w._store, "validated", {
438
+ return v._store = {}, Object.defineProperty(v._store, "validated", {
440
439
  configurable: !1,
441
440
  enumerable: !1,
442
441
  writable: !0,
443
442
  value: !1
444
- }), Object.defineProperty(w, "_self", {
443
+ }), Object.defineProperty(v, "_self", {
445
444
  configurable: !1,
446
445
  enumerable: !1,
447
446
  writable: !1,
448
- value: x
449
- }), Object.defineProperty(w, "_source", {
447
+ value: h
448
+ }), Object.defineProperty(v, "_source", {
450
449
  configurable: !1,
451
450
  enumerable: !1,
452
451
  writable: !1,
453
- value: P
454
- }), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
452
+ value: N
453
+ }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
455
454
  };
456
- function en(n, f, m, x, P) {
455
+ function ft(t, s, f, h, N) {
457
456
  {
458
- var T, E = {}, w = null, J = null;
459
- m !== void 0 && (ot(m), w = "" + m), qt(f) && (ot(f.key), w = "" + f.key), Gt(f) && (J = f.ref, Xt(f, P));
460
- for (T in f)
461
- ce.call(f, T) && !zt.hasOwnProperty(T) && (E[T] = f[T]);
462
- if (n && n.defaultProps) {
463
- var $ = n.defaultProps;
464
- for (T in $)
465
- E[T] === void 0 && (E[T] = $[T]);
457
+ var w, g = {}, v = null, L = null;
458
+ f !== void 0 && (De(f), v = "" + f), ot(s) && (De(s.key), v = "" + s.key), it(s) && (L = s.ref, ct(s, N));
459
+ for (w in s)
460
+ ne.call(s, w) && !lt.hasOwnProperty(w) && (g[w] = s[w]);
461
+ if (t && t.defaultProps) {
462
+ var R = t.defaultProps;
463
+ for (w in R)
464
+ g[w] === void 0 && (g[w] = R[w]);
466
465
  }
467
- if (w || J) {
468
- var F = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
469
- w && Ht(E, F), J && Zt(E, F);
466
+ if (v || L) {
467
+ var $ = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
+ v && ut(g, $), L && pt(g, $);
470
469
  }
471
- return Qt(n, w, J, P, x, ue.current, E);
470
+ return dt(t, v, L, N, h, ae.current, g);
472
471
  }
473
472
  }
474
- var De = R.ReactCurrentOwner, pt = R.ReactDebugCurrentFrame;
475
- function re(n) {
476
- if (n) {
477
- var f = n._owner, m = be(n.type, n._source, f ? f.type : null);
478
- pt.setExtraStackFrame(m);
473
+ var xe = E.ReactCurrentOwner, Be = E.ReactDebugCurrentFrame;
474
+ function ee(t) {
475
+ if (t) {
476
+ var s = t._owner, f = ue(t.type, t._source, s ? s.type : null);
477
+ Be.setExtraStackFrame(f);
479
478
  } else
480
- pt.setExtraStackFrame(null);
479
+ Be.setExtraStackFrame(null);
481
480
  }
482
- var Ie;
483
- Ie = !1;
484
- function Fe(n) {
485
- return typeof n == "object" && n !== null && n.$$typeof === r;
481
+ var ve;
482
+ ve = !1;
483
+ function be(t) {
484
+ return typeof t == "object" && t !== null && t.$$typeof === l;
486
485
  }
487
- function ft() {
486
+ function We() {
488
487
  {
489
- if (De.current) {
490
- var n = I(De.current.type);
491
- if (n)
488
+ if (xe.current) {
489
+ var t = T(xe.current.type);
490
+ if (t)
492
491
  return `
493
492
 
494
- Check the render method of \`` + n + "`.";
493
+ Check the render method of \`` + t + "`.";
495
494
  }
496
495
  return "";
497
496
  }
498
497
  }
499
- function tn(n) {
498
+ function kt(t) {
500
499
  {
501
- if (n !== void 0) {
502
- var f = n.fileName.replace(/^.*[\\\/]/, ""), m = n.lineNumber;
500
+ if (t !== void 0) {
501
+ var s = t.fileName.replace(/^.*[\\\/]/, ""), f = t.lineNumber;
503
502
  return `
504
503
 
505
- Check your code at ` + f + ":" + m + ".";
504
+ Check your code at ` + s + ":" + f + ".";
506
505
  }
507
506
  return "";
508
507
  }
509
508
  }
510
- var dt = {};
511
- function nn(n) {
509
+ var Me = {};
510
+ function mt(t) {
512
511
  {
513
- var f = ft();
514
- if (!f) {
515
- var m = typeof n == "string" ? n : n.displayName || n.name;
516
- m && (f = `
512
+ var s = We();
513
+ if (!s) {
514
+ var f = typeof t == "string" ? t : t.displayName || t.name;
515
+ f && (s = `
517
516
 
518
- Check the top-level render call using <` + m + ">.");
517
+ Check the top-level render call using <` + f + ">.");
519
518
  }
520
- return f;
519
+ return s;
521
520
  }
522
521
  }
523
- function mt(n, f) {
522
+ function Ue(t, s) {
524
523
  {
525
- if (!n._store || n._store.validated || n.key != null)
524
+ if (!t._store || t._store.validated || t.key != null)
526
525
  return;
527
- n._store.validated = !0;
528
- var m = nn(f);
529
- if (dt[m])
526
+ t._store.validated = !0;
527
+ var f = mt(s);
528
+ if (Me[f])
530
529
  return;
531
- dt[m] = !0;
532
- var x = "";
533
- n && n._owner && n._owner !== De.current && (x = " It was passed a child from " + I(n._owner.type) + "."), re(n), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, x), re(null);
530
+ Me[f] = !0;
531
+ var h = "";
532
+ t && t._owner && t._owner !== xe.current && (h = " It was passed a child from " + T(t._owner.type) + "."), ee(t), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', f, h), ee(null);
534
533
  }
535
534
  }
536
- function ht(n, f) {
535
+ function Ye(t, s) {
537
536
  {
538
- if (typeof n != "object")
537
+ if (typeof t != "object")
539
538
  return;
540
- if (Oe(n))
541
- for (var m = 0; m < n.length; m++) {
542
- var x = n[m];
543
- Fe(x) && mt(x, f);
539
+ if (he(t))
540
+ for (var f = 0; f < t.length; f++) {
541
+ var h = t[f];
542
+ be(h) && Ue(h, s);
544
543
  }
545
- else if (Fe(n))
546
- n._store && (n._store.validated = !0);
547
- else if (n) {
548
- var P = O(n);
549
- if (typeof P == "function" && P !== n.entries)
550
- for (var T = P.call(n), E; !(E = T.next()).done; )
551
- Fe(E.value) && mt(E.value, f);
544
+ else if (be(t))
545
+ t._store && (t._store.validated = !0);
546
+ else if (t) {
547
+ var N = F(t);
548
+ if (typeof N == "function" && N !== t.entries)
549
+ for (var w = N.call(t), g; !(g = w.next()).done; )
550
+ be(g.value) && Ue(g.value, s);
552
551
  }
553
552
  }
554
553
  }
555
- function rn(n) {
554
+ function ht(t) {
556
555
  {
557
- var f = n.type;
558
- if (f == null || typeof f == "string")
556
+ var s = t.type;
557
+ if (s == null || typeof s == "string")
559
558
  return;
560
- var m;
561
- if (typeof f == "function")
562
- m = f.propTypes;
563
- else if (typeof f == "object" && (f.$$typeof === p || // Note: Memo only checks outer props here.
559
+ var f;
560
+ if (typeof s == "function")
561
+ f = s.propTypes;
562
+ else if (typeof s == "object" && (s.$$typeof === o || // Note: Memo only checks outer props here.
564
563
  // Inner props are checked in the reconciler.
565
- f.$$typeof === h))
566
- m = f.propTypes;
564
+ s.$$typeof === _))
565
+ f = s.propTypes;
567
566
  else
568
567
  return;
569
- if (m) {
570
- var x = I(f);
571
- Mt(m, n.props, "prop", x, n);
572
- } else if (f.PropTypes !== void 0 && !Ie) {
573
- Ie = !0;
574
- var P = I(f);
575
- _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", P || "Unknown");
568
+ if (f) {
569
+ var h = T(s);
570
+ rt(f, t.props, "prop", h, t);
571
+ } else if (s.PropTypes !== void 0 && !ve) {
572
+ ve = !0;
573
+ var N = T(s);
574
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
576
575
  }
577
- typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
+ typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
578
577
  }
579
578
  }
580
- function an(n) {
579
+ function _t(t) {
581
580
  {
582
- for (var f = Object.keys(n.props), m = 0; m < f.length; m++) {
583
- var x = f[m];
584
- if (x !== "children" && x !== "key") {
585
- re(n), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), re(null);
581
+ for (var s = Object.keys(t.props), f = 0; f < s.length; f++) {
582
+ var h = s[f];
583
+ if (h !== "children" && h !== "key") {
584
+ ee(t), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), ee(null);
586
585
  break;
587
586
  }
588
587
  }
589
- n.ref !== null && (re(n), _("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
588
+ t.ref !== null && (ee(t), y("Invalid attribute `ref` supplied to `React.Fragment`."), ee(null));
590
589
  }
591
590
  }
592
- var kt = {};
593
- function vt(n, f, m, x, P, T) {
591
+ var Ve = {};
592
+ function Ke(t, s, f, h, N, w) {
594
593
  {
595
- var E = Y(n);
596
- if (!E) {
597
- var w = "";
598
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (w += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
599
- var J = tn(P);
600
- J ? w += J : w += ft();
601
- var $;
602
- n === null ? $ = "null" : Oe(n) ? $ = "array" : n !== void 0 && n.$$typeof === r ? ($ = "<" + (I(n.type) || "Unknown") + " />", w = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof n, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, w);
594
+ var g = z(t);
595
+ if (!g) {
596
+ var v = "";
597
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (v += " 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 L = kt(N);
599
+ L ? v += L : v += We();
600
+ var R;
601
+ t === null ? R = "null" : he(t) ? R = "array" : t !== void 0 && t.$$typeof === l ? (R = "<" + (T(t.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : R = typeof t, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, v);
603
602
  }
604
- var F = en(n, f, m, P, T);
605
- if (F == null)
606
- return F;
607
- if (E) {
608
- var q = f.children;
609
- if (q !== void 0)
610
- if (x)
611
- if (Oe(q)) {
612
- for (var ae = 0; ae < q.length; ae++)
613
- ht(q[ae], n);
614
- Object.freeze && Object.freeze(q);
603
+ var $ = ft(t, s, f, N, w);
604
+ if ($ == null)
605
+ return $;
606
+ if (g) {
607
+ var K = s.children;
608
+ if (K !== void 0)
609
+ if (h)
610
+ if (he(K)) {
611
+ for (var te = 0; te < K.length; te++)
612
+ Ye(K[te], t);
613
+ Object.freeze && Object.freeze(K);
615
614
  } else
616
- _("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
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
616
  else
618
- ht(q, n);
617
+ Ye(K, t);
619
618
  }
620
- if (ce.call(f, "key")) {
621
- var ee = I(n), G = Object.keys(f).filter(function(pn) {
622
- return pn !== "key";
623
- }), Le = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
624
- if (!kt[ee + Le]) {
625
- var un = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
626
- _(`A props object containing a "key" prop is being spread into JSX:
619
+ if (ne.call(s, "key")) {
620
+ var X = T(t), B = Object.keys(s).filter(function(Nt) {
621
+ return Nt !== "key";
622
+ }), je = B.length > 0 ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}";
623
+ if (!Ve[X + je]) {
624
+ var gt = B.length > 0 ? "{" + B.join(": ..., ") + ": ...}" : "{}";
625
+ y(`A props object containing a "key" prop is being spread into JSX:
627
626
  let props = %s;
628
627
  <%s {...props} />
629
628
  React keys must be passed directly to JSX without using spread:
630
629
  let props = %s;
631
- <%s key={someKey} {...props} />`, Le, ee, un, ee), kt[ee + Le] = !0;
630
+ <%s key={someKey} {...props} />`, je, X, gt, X), Ve[X + je] = !0;
632
631
  }
633
632
  }
634
- return n === i ? an(F) : rn(F), F;
633
+ return t === p ? _t($) : ht($), $;
635
634
  }
636
635
  }
637
- function sn(n, f, m) {
638
- return vt(n, f, m, !0);
636
+ function xt(t, s, f) {
637
+ return Ke(t, s, f, !0);
639
638
  }
640
- function ln(n, f, m) {
641
- return vt(n, f, m, !1);
639
+ function vt(t, s, f) {
640
+ return Ke(t, s, f, !1);
642
641
  }
643
- var on = ln, cn = sn;
644
- fe.Fragment = i, fe.jsx = on, fe.jsxs = cn;
645
- }()), fe;
642
+ var bt = vt, jt = xt;
643
+ le.Fragment = p, le.jsx = bt, le.jsxs = jt;
644
+ }()), le;
646
645
  }
647
- process.env.NODE_ENV === "production" ? Be.exports = kn() : Be.exports = vn();
648
- var t = Be.exports;
649
- const Ae = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', _n = "https://punkt-cdn.oslo.kommune.no/11.13/icons/";
650
- function bn(e) {
651
- return new Promise((r) => setTimeout(r, e));
646
+ process.env.NODE_ENV === "production" ? ye.exports = Pt() : ye.exports = Rt();
647
+ var e = ye.exports;
648
+ const ge = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', Tt = "https://punkt-cdn.oslo.kommune.no/11.13/icons/";
649
+ function $t(r) {
650
+ return new Promise((l) => setTimeout(l, r));
652
651
  }
653
- const Ue = {}, xn = async (e, r) => {
654
- let a = 0;
655
- for (; Ue[r + e + ".svg"] === "fetching" && (a++, !(a > 50)); )
656
- await bn(50);
657
- return localStorage.getItem(r + e + ".svg") ? Promise.resolve(localStorage.getItem(r + e + ".svg")) : typeof window.fetch == "function" ? (Ue[r + e + ".svg"] = "fetching", Promise.resolve(
658
- fetch(r + e + ".svg").then((i) => i.ok ? i.text() : (console.error("Missing icon: " + r + e + ".svg"), Ae)).then((i) => (i !== Ae && localStorage.setItem(r + e + ".svg", i), Ue[r + e + ".svg"] = "fetched", i))
659
- )) : Promise.resolve(Ae);
660
- }, gn = {
661
- fetchIcon: async (e, r) => xn(e, r || _n)
662
- }, Nn = fn(gn), N = ({ name: e, path: r, className: a = "", ...i }) => {
663
- const [l, s] = te(null), c = dn(Nn);
664
- return ze(() => {
665
- e ? c.fetchIcon(e, r).then(s) : s(null);
666
- }, [e, r]), l ? /* @__PURE__ */ t.jsx(
652
+ const Ne = {}, St = async (r, l) => {
653
+ let d = 0;
654
+ for (; Ne[l + r + ".svg"] === "fetching" && (d++, !(d > 50)); )
655
+ await $t(50);
656
+ return localStorage.getItem(l + r + ".svg") ? Promise.resolve(localStorage.getItem(l + r + ".svg")) : typeof window.fetch == "function" ? (Ne[l + r + ".svg"] = "fetching", Promise.resolve(
657
+ fetch(l + r + ".svg").then((p) => p.ok ? p.text() : (console.error("Missing icon: " + l + r + ".svg"), ge)).then((p) => (p !== ge && localStorage.setItem(l + r + ".svg", p), Ne[l + r + ".svg"] = "fetched", p))
658
+ )) : Promise.resolve(ge);
659
+ }, Ot = {
660
+ fetchIcon: async (r, l) => St(r, l || Tt)
661
+ }, It = yt(Ot), x = ({ name: r, path: l, className: d = "", ...p }) => {
662
+ const [u, n] = Z(null), c = wt(It);
663
+ return Ee(() => {
664
+ r ? c.fetchIcon(r, l).then(n) : n(null);
665
+ }, [r, l]), u ? /* @__PURE__ */ e.jsx(
667
666
  "span",
668
667
  {
669
- className: `pkt-icon ${a}`,
670
- dangerouslySetInnerHTML: { __html: l },
671
- ...i
668
+ className: `pkt-icon ${d}`,
669
+ dangerouslySetInnerHTML: { __html: u },
670
+ ...p
672
671
  }
673
672
  ) : null;
674
- }, jn = V(
673
+ }, Ft = D(
675
674
  ({
676
- children: e,
677
- className: r,
678
- skin: a = "info",
679
- closeAlert: i = !1,
680
- onClose: l,
681
- title: s,
675
+ children: r,
676
+ className: l,
677
+ skin: d = "info",
678
+ closeAlert: p = !1,
679
+ onClose: u,
680
+ title: n,
682
681
  date: c,
683
- ariaLive: o = "polite",
684
- compact: p = !1,
685
- ...u
686
- }, d) => {
687
- const h = [r, "pkt-alert", a && `pkt-alert--${a}`, p && "pkt-alert--compact"].filter(Boolean).join(" "), [k, C] = te(!0), j = () => {
688
- C(!1), l && l();
682
+ ariaLive: a = "polite",
683
+ compact: o = !1,
684
+ ...i
685
+ }, k) => {
686
+ const _ = [l, "pkt-alert", d && `pkt-alert--${d}`, o && "pkt-alert--compact"].filter(Boolean).join(" "), [b, C] = Z(!0), P = () => {
687
+ C(!1), u && u();
689
688
  };
690
- return k ? /* @__PURE__ */ t.jsxs("div", { ...u, className: h, "aria-live": o, ref: d, children: [
691
- /* @__PURE__ */ t.jsx(N, { className: "pkt-alert__icon", name: a === "info" ? "alert-information" : `alert-${a}` }),
692
- i && /* @__PURE__ */ t.jsx("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t.jsx(
689
+ return b ? /* @__PURE__ */ e.jsxs("div", { ...i, className: _, "aria-live": a, ref: k, children: [
690
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-alert__icon", name: d === "info" ? "alert-information" : `alert-${d}` }),
691
+ p && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__close", children: /* @__PURE__ */ e.jsx(
693
692
  "button",
694
693
  {
695
694
  type: "button",
696
695
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
697
696
  tabIndex: 0,
698
697
  "aria-label": "close",
699
- onClick: j,
700
- children: /* @__PURE__ */ t.jsx(N, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
698
+ onClick: P,
699
+ children: /* @__PURE__ */ e.jsx(x, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
701
700
  }
702
701
  ) }),
703
- s && /* @__PURE__ */ t.jsx("div", { className: "pkt-alert__title", children: s }),
704
- /* @__PURE__ */ t.jsx("div", { className: "pkt-alert__text", children: e }),
705
- c && /* @__PURE__ */ t.jsxs("div", { className: "pkt-alert__date", children: [
702
+ n && /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__title", children: n }),
703
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-alert__text", children: r }),
704
+ c && /* @__PURE__ */ e.jsxs("div", { className: "pkt-alert__date", children: [
706
705
  "Sist oppdatert: ",
707
706
  c
708
707
  ] })
709
708
  ] }) : null;
710
709
  }
711
- ), _r = V(
712
- ({ href: e, text: r, onClick: a, className: i, ...l }, s) => {
710
+ ), Yt = D(
711
+ ({ href: r, text: l, onClick: d, className: p, ...u }, n) => {
713
712
  const c = [
714
- i,
713
+ p,
715
714
  "pkt-back-link"
716
- ].filter(Boolean).join(" "), o = (p) => {
717
- a && a(p);
715
+ ].filter(Boolean).join(" "), a = (o) => {
716
+ d && d(o);
718
717
  };
719
- return /* @__PURE__ */ t.jsx("nav", { ref: s, className: c, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ t.jsxs("a", { href: e || "/", className: "pkt-link pkt-link--icon-left", onClick: o, ...l, children: [
720
- /* @__PURE__ */ t.jsx(N, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
721
- /* @__PURE__ */ t.jsx("span", { className: "pkt-back-link__text", children: r || "Forsiden" })
718
+ return /* @__PURE__ */ e.jsx("nav", { ref: n, className: c, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ e.jsxs("a", { href: r || "/", className: "pkt-link pkt-link--icon-left", onClick: a, ...u, children: [
719
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
720
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-back-link__text", children: l || "Forsiden" })
722
721
  ] }) });
723
722
  }
724
- );
725
- /**
726
- * @remix-run/router v1.16.0
727
- *
728
- * Copyright (c) Remix Software Inc.
729
- *
730
- * This source code is licensed under the MIT license found in the
731
- * LICENSE.md file in the root directory of this source tree.
732
- *
733
- * @license MIT
734
- */
735
- function Me() {
736
- return Me = Object.assign ? Object.assign.bind() : function(e) {
737
- for (var r = 1; r < arguments.length; r++) {
738
- var a = arguments[r];
739
- for (var i in a)
740
- Object.prototype.hasOwnProperty.call(a, i) && (e[i] = a[i]);
741
- }
742
- return e;
743
- }, Me.apply(this, arguments);
744
- }
745
- var xt;
746
- (function(e) {
747
- e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
748
- })(xt || (xt = {}));
749
- function D(e, r) {
750
- if (e === !1 || e === null || typeof e > "u")
751
- throw new Error(r);
752
- }
753
- function me(e, r) {
754
- if (!e) {
755
- typeof console < "u" && console.warn(r);
756
- try {
757
- throw new Error(r);
758
- } catch {
759
- }
760
- }
761
- }
762
- function Ye(e) {
763
- let {
764
- pathname: r = "/",
765
- search: a = "",
766
- hash: i = ""
767
- } = e;
768
- return a && a !== "?" && (r += a.charAt(0) === "?" ? a : "?" + a), i && i !== "#" && (r += i.charAt(0) === "#" ? i : "#" + i), r;
769
- }
770
- function wt(e) {
771
- let r = {};
772
- if (e) {
773
- let a = e.indexOf("#");
774
- a >= 0 && (r.hash = e.substr(a), e = e.substr(0, a));
775
- let i = e.indexOf("?");
776
- i >= 0 && (r.search = e.substr(i), e = e.substr(0, i)), e && (r.pathname = e);
777
- }
778
- return r;
779
- }
780
- var gt;
781
- (function(e) {
782
- e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
783
- })(gt || (gt = {}));
784
- function Nt(e, r) {
785
- typeof e == "string" && (e = {
786
- path: e,
787
- caseSensitive: !1,
788
- end: !0
789
- });
790
- let [a, i] = yn(e.path, e.caseSensitive, e.end), l = r.match(a);
791
- if (!l)
792
- return null;
793
- let s = l[0], c = s.replace(/(.)\/+$/, "$1"), o = l.slice(1);
794
- return {
795
- params: i.reduce((u, d, h) => {
796
- let {
797
- paramName: k,
798
- isOptional: C
799
- } = d;
800
- if (k === "*") {
801
- let S = o[h] || "";
802
- c = s.slice(0, s.length - S.length).replace(/(.)\/+$/, "$1");
803
- }
804
- const j = o[h];
805
- return C && !j ? u[k] = void 0 : u[k] = (j || "").replace(/%2F/g, "/"), u;
806
- }, {}),
807
- pathname: s,
808
- pathnameBase: c,
809
- pattern: e
810
- };
811
- }
812
- function yn(e, r, a) {
813
- r === void 0 && (r = !1), a === void 0 && (a = !0), me(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
814
- let i = [], l = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (c, o, p) => (i.push({
815
- paramName: o,
816
- isOptional: p != null
817
- }), p ? "/?([^\\/]+)?" : "/([^\\/]+)"));
818
- return e.endsWith("*") ? (i.push({
819
- paramName: "*"
820
- }), l += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : a ? l += "\\/*$" : e !== "" && e !== "/" && (l += "(?:(?=\\/|$))"), [new RegExp(l, r ? void 0 : "i"), i];
821
- }
822
- function se(e, r) {
823
- if (r === "/")
824
- return e;
825
- if (!e.toLowerCase().startsWith(r.toLowerCase()))
826
- return null;
827
- let a = r.endsWith("/") ? r.length - 1 : r.length, i = e.charAt(a);
828
- return i && i !== "/" ? null : e.slice(a) || "/";
829
- }
830
- function wn(e, r) {
831
- r === void 0 && (r = "/");
832
- let {
833
- pathname: a,
834
- search: i = "",
835
- hash: l = ""
836
- } = typeof e == "string" ? wt(e) : e;
837
- return {
838
- pathname: a ? a.startsWith("/") ? a : En(a, r) : r,
839
- search: Rn(i),
840
- hash: Pn(l)
841
- };
842
- }
843
- function En(e, r) {
844
- let a = r.replace(/\/+$/, "").split("/");
845
- return e.split("/").forEach((l) => {
846
- l === ".." ? a.length > 1 && a.pop() : l !== "." && a.push(l);
847
- }), a.length > 1 ? a.join("/") : "/";
848
- }
849
- function Ve(e, r, a, i) {
850
- return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + r + "` field [" + JSON.stringify(i) + "]. Please separate it out to the ") + ("`to." + a + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
851
- }
852
- function Cn(e) {
853
- return e.filter((r, a) => a === 0 || r.route.path && r.route.path.length > 0);
854
- }
855
- function Et(e, r) {
856
- let a = Cn(e);
857
- return r ? a.map((i, l) => l === e.length - 1 ? i.pathname : i.pathnameBase) : a.map((i) => i.pathnameBase);
858
- }
859
- function Ct(e, r, a, i) {
860
- i === void 0 && (i = !1);
861
- let l;
862
- typeof e == "string" ? l = wt(e) : (l = Me({}, e), D(!l.pathname || !l.pathname.includes("?"), Ve("?", "pathname", "search", l)), D(!l.pathname || !l.pathname.includes("#"), Ve("#", "pathname", "hash", l)), D(!l.search || !l.search.includes("#"), Ve("#", "search", "hash", l)));
863
- let s = e === "" || l.pathname === "", c = s ? "/" : l.pathname, o;
864
- if (c == null)
865
- o = a;
866
- else {
867
- let h = r.length - 1;
868
- if (!i && c.startsWith("..")) {
869
- let k = c.split("/");
870
- for (; k[0] === ".."; )
871
- k.shift(), h -= 1;
872
- l.pathname = k.join("/");
873
- }
874
- o = h >= 0 ? r[h] : "/";
875
- }
876
- let p = wn(l, o), u = c && c !== "/" && c.endsWith("/"), d = (s || c === ".") && a.endsWith("/");
877
- return !p.pathname.endsWith("/") && (u || d) && (p.pathname += "/"), p;
878
- }
879
- const Ge = (e) => e.join("/").replace(/\/\/+/g, "/"), Rn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Pn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Rt = ["post", "put", "patch", "delete"];
880
- new Set(Rt);
881
- const Sn = ["get", ...Rt];
882
- new Set(Sn);
883
- /**
884
- * React Router v6.23.0
885
- *
886
- * Copyright (c) Remix Software Inc.
887
- *
888
- * This source code is licensed under the MIT license found in the
889
- * LICENSE.md file in the root directory of this source tree.
890
- *
891
- * @license MIT
892
- */
893
- function Ke() {
894
- return Ke = Object.assign ? Object.assign.bind() : function(e) {
895
- for (var r = 1; r < arguments.length; r++) {
896
- var a = arguments[r];
897
- for (var i in a)
898
- Object.prototype.hasOwnProperty.call(a, i) && (e[i] = a[i]);
899
- }
900
- return e;
901
- }, Ke.apply(this, arguments);
902
- }
903
- const Ee = /* @__PURE__ */ g.createContext(null);
904
- process.env.NODE_ENV !== "production" && (Ee.displayName = "DataRouter");
905
- const Pt = /* @__PURE__ */ g.createContext(null);
906
- process.env.NODE_ENV !== "production" && (Pt.displayName = "DataRouterState");
907
- const Tn = /* @__PURE__ */ g.createContext(null);
908
- process.env.NODE_ENV !== "production" && (Tn.displayName = "Await");
909
- const H = /* @__PURE__ */ g.createContext(null);
910
- process.env.NODE_ENV !== "production" && (H.displayName = "Navigation");
911
- const qe = /* @__PURE__ */ g.createContext(null);
912
- process.env.NODE_ENV !== "production" && (qe.displayName = "Location");
913
- const ie = /* @__PURE__ */ g.createContext({
914
- outlet: null,
915
- matches: [],
916
- isDataRoute: !1
917
- });
918
- process.env.NODE_ENV !== "production" && (ie.displayName = "Route");
919
- const On = /* @__PURE__ */ g.createContext(null);
920
- process.env.NODE_ENV !== "production" && (On.displayName = "RouteError");
921
- function $n(e, r) {
922
- let {
923
- relative: a
924
- } = r === void 0 ? {} : r;
925
- Xe() || (process.env.NODE_ENV !== "production" ? D(
926
- !1,
927
- // TODO: This error is probably because they somehow have 2 versions of the
928
- // router loaded. We can help them understand how to avoid that.
929
- "useHref() may be used only in the context of a <Router> component."
930
- ) : D(!1));
931
- let {
932
- basename: i,
933
- navigator: l
934
- } = g.useContext(H), {
935
- hash: s,
936
- pathname: c,
937
- search: o
938
- } = ke(e, {
939
- relative: a
940
- }), p = c;
941
- return i !== "/" && (p = c === "/" ? i : Ge([i, c])), l.createHref({
942
- pathname: p,
943
- search: o,
944
- hash: s
945
- });
946
- }
947
- function Xe() {
948
- return g.useContext(qe) != null;
949
- }
950
- function he() {
951
- return Xe() || (process.env.NODE_ENV !== "production" ? D(
952
- !1,
953
- // TODO: This error is probably because they somehow have 2 versions of the
954
- // router loaded. We can help them understand how to avoid that.
955
- "useLocation() may be used only in the context of a <Router> component."
956
- ) : D(!1)), g.useContext(qe).location;
957
- }
958
- const St = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
959
- function Tt(e) {
960
- g.useContext(H).static || g.useLayoutEffect(e);
961
- }
962
- function Dn() {
963
- let {
964
- isDataRoute: e
965
- } = g.useContext(ie);
966
- return e ? Un() : In();
967
- }
968
- function In() {
969
- Xe() || (process.env.NODE_ENV !== "production" ? D(
970
- !1,
971
- // TODO: This error is probably because they somehow have 2 versions of the
972
- // router loaded. We can help them understand how to avoid that.
973
- "useNavigate() may be used only in the context of a <Router> component."
974
- ) : D(!1));
975
- let e = g.useContext(Ee), {
976
- basename: r,
977
- future: a,
978
- navigator: i
979
- } = g.useContext(H), {
980
- matches: l
981
- } = g.useContext(ie), {
982
- pathname: s
983
- } = he(), c = JSON.stringify(Et(l, a.v7_relativeSplatPath)), o = g.useRef(!1);
984
- return Tt(() => {
985
- o.current = !0;
986
- }), g.useCallback(function(u, d) {
987
- if (d === void 0 && (d = {}), process.env.NODE_ENV !== "production" && me(o.current, St), !o.current)
988
- return;
989
- if (typeof u == "number") {
990
- i.go(u);
991
- return;
992
- }
993
- let h = Ct(u, JSON.parse(c), s, d.relative === "path");
994
- e == null && r !== "/" && (h.pathname = h.pathname === "/" ? r : Ge([r, h.pathname])), (d.replace ? i.replace : i.push)(h, d.state, d);
995
- }, [r, i, c, s, e]);
996
- }
997
- function ke(e, r) {
998
- let {
999
- relative: a
1000
- } = r === void 0 ? {} : r, {
1001
- future: i
1002
- } = g.useContext(H), {
1003
- matches: l
1004
- } = g.useContext(ie), {
1005
- pathname: s
1006
- } = he(), c = JSON.stringify(Et(l, i.v7_relativeSplatPath));
1007
- return g.useMemo(() => Ct(e, JSON.parse(c), s, a === "path"), [e, c, s, a]);
1008
- }
1009
- var Ot = /* @__PURE__ */ function(e) {
1010
- return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
1011
- }(Ot || {}), He = /* @__PURE__ */ function(e) {
1012
- return 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", e;
1013
- }(He || {});
1014
- function $t(e) {
1015
- return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1016
- }
1017
- function Fn(e) {
1018
- let r = g.useContext(Ee);
1019
- return r || (process.env.NODE_ENV !== "production" ? D(!1, $t(e)) : D(!1)), r;
1020
- }
1021
- function Ln(e) {
1022
- let r = g.useContext(ie);
1023
- return r || (process.env.NODE_ENV !== "production" ? D(!1, $t(e)) : D(!1)), r;
1024
- }
1025
- function Dt(e) {
1026
- let r = Ln(e), a = r.matches[r.matches.length - 1];
1027
- return a.route.id || (process.env.NODE_ENV !== "production" ? D(!1, e + ' can only be used on routes that contain a unique "id"') : D(!1)), a.route.id;
1028
- }
1029
- function An() {
1030
- return Dt(He.UseRouteId);
1031
- }
1032
- function Un() {
1033
- let {
1034
- router: e
1035
- } = Fn(Ot.UseNavigateStable), r = Dt(He.UseNavigateStable), a = g.useRef(!1);
1036
- return Tt(() => {
1037
- a.current = !0;
1038
- }), g.useCallback(function(l, s) {
1039
- s === void 0 && (s = {}), process.env.NODE_ENV !== "production" && me(a.current, St), a.current && (typeof l == "number" ? e.navigate(l) : e.navigate(l, Ke({
1040
- fromRouteId: r
1041
- }, s)));
1042
- }, [e, r]);
1043
- }
1044
- new Promise(() => {
1045
- });
1046
- /**
1047
- * React Router DOM v6.23.0
1048
- *
1049
- * Copyright (c) Remix Software Inc.
1050
- *
1051
- * This source code is licensed under the MIT license found in the
1052
- * LICENSE.md file in the root directory of this source tree.
1053
- *
1054
- * @license MIT
1055
- */
1056
- function le() {
1057
- return le = Object.assign ? Object.assign.bind() : function(e) {
1058
- for (var r = 1; r < arguments.length; r++) {
1059
- var a = arguments[r];
1060
- for (var i in a)
1061
- Object.prototype.hasOwnProperty.call(a, i) && (e[i] = a[i]);
1062
- }
1063
- return e;
1064
- }, le.apply(this, arguments);
1065
- }
1066
- function Ze(e, r) {
1067
- if (e == null)
1068
- return {};
1069
- var a = {}, i = Object.keys(e), l, s;
1070
- for (s = 0; s < i.length; s++)
1071
- l = i[s], !(r.indexOf(l) >= 0) && (a[l] = e[l]);
1072
- return a;
1073
- }
1074
- const Ne = "get", je = "application/x-www-form-urlencoded";
1075
- function Ce(e) {
1076
- return e != null && typeof e.tagName == "string";
1077
- }
1078
- function Vn(e) {
1079
- return Ce(e) && e.tagName.toLowerCase() === "button";
1080
- }
1081
- function Wn(e) {
1082
- return Ce(e) && e.tagName.toLowerCase() === "form";
1083
- }
1084
- function Bn(e) {
1085
- return Ce(e) && e.tagName.toLowerCase() === "input";
1086
- }
1087
- function Mn(e) {
1088
- return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1089
- }
1090
- function Yn(e, r) {
1091
- return e.button === 0 && // Ignore everything but left clicks
1092
- (!r || r === "_self") && // Let browser handle "target=_blank" etc.
1093
- !Mn(e);
1094
- }
1095
- let ge = null;
1096
- function Kn() {
1097
- if (ge === null)
1098
- try {
1099
- new FormData(
1100
- document.createElement("form"),
1101
- // @ts-expect-error if FormData supports the submitter parameter, this will throw
1102
- 0
1103
- ), ge = !1;
1104
- } catch {
1105
- ge = !0;
1106
- }
1107
- return ge;
1108
- }
1109
- const Jn = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
1110
- function We(e) {
1111
- return e != null && !Jn.has(e) ? (process.env.NODE_ENV !== "production" && me(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + je + '"')), null) : e;
1112
- }
1113
- function zn(e, r) {
1114
- let a, i, l, s, c;
1115
- if (Wn(e)) {
1116
- let o = e.getAttribute("action");
1117
- i = o ? se(o, r) : null, a = e.getAttribute("method") || Ne, l = We(e.getAttribute("enctype")) || je, s = new FormData(e);
1118
- } else if (Vn(e) || Bn(e) && (e.type === "submit" || e.type === "image")) {
1119
- let o = e.form;
1120
- if (o == null)
1121
- throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
1122
- let p = e.getAttribute("formaction") || o.getAttribute("action");
1123
- if (i = p ? se(p, r) : null, a = e.getAttribute("formmethod") || o.getAttribute("method") || Ne, l = We(e.getAttribute("formenctype")) || We(o.getAttribute("enctype")) || je, s = new FormData(o, e), !Kn()) {
1124
- let {
1125
- name: u,
1126
- type: d,
1127
- value: h
1128
- } = e;
1129
- if (d === "image") {
1130
- let k = u ? u + "." : "";
1131
- s.append(k + "x", "0"), s.append(k + "y", "0");
1132
- } else
1133
- u && s.append(u, h);
1134
- }
1135
- } else {
1136
- if (Ce(e))
1137
- throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
1138
- a = Ne, i = null, l = je, c = e;
1139
- }
1140
- return s && l === "text/plain" && (c = s, s = void 0), {
1141
- action: i,
1142
- method: a.toLowerCase(),
1143
- encType: l,
1144
- formData: s,
1145
- body: c
1146
- };
1147
- }
1148
- const Gn = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], qn = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], Xn = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], Hn = "6";
1149
- try {
1150
- window.__reactRouterVersion = Hn;
1151
- } catch {
1152
- }
1153
- const It = /* @__PURE__ */ g.createContext({
1154
- isTransitioning: !1
1155
- });
1156
- process.env.NODE_ENV !== "production" && (It.displayName = "ViewTransition");
1157
- const Zn = /* @__PURE__ */ g.createContext(/* @__PURE__ */ new Map());
1158
- process.env.NODE_ENV !== "production" && (Zn.displayName = "Fetchers");
1159
- process.env.NODE_ENV;
1160
- const Qn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", er = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ye = /* @__PURE__ */ g.forwardRef(function(r, a) {
1161
- let {
1162
- onClick: i,
1163
- relative: l,
1164
- reloadDocument: s,
1165
- replace: c,
1166
- state: o,
1167
- target: p,
1168
- to: u,
1169
- preventScrollReset: d,
1170
- unstable_viewTransition: h
1171
- } = r, k = Ze(r, Gn), {
1172
- basename: C
1173
- } = g.useContext(H), j, S = !1;
1174
- if (typeof u == "string" && er.test(u) && (j = u, Qn))
1175
- try {
1176
- let v = new URL(window.location.href), y = u.startsWith("//") ? new URL(v.protocol + u) : new URL(u), A = se(y.pathname, C);
1177
- y.origin === v.origin && A != null ? u = A + y.search + y.hash : S = !0;
1178
- } catch {
1179
- process.env.NODE_ENV !== "production" && me(!1, '<Link to="' + u + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
1180
- }
1181
- let O = $n(u, {
1182
- relative: l
1183
- }), R = ar(u, {
1184
- replace: c,
1185
- state: o,
1186
- target: p,
1187
- preventScrollReset: d,
1188
- relative: l,
1189
- unstable_viewTransition: h
1190
- });
1191
- function _(v) {
1192
- i && i(v), v.defaultPrevented || R(v);
1193
- }
1194
- return (
1195
- // eslint-disable-next-line jsx-a11y/anchor-has-content
1196
- /* @__PURE__ */ g.createElement("a", le({}, k, {
1197
- href: j || O,
1198
- onClick: S || s ? i : _,
1199
- ref: a,
1200
- target: p
1201
- }))
1202
- );
1203
- });
1204
- process.env.NODE_ENV !== "production" && (ye.displayName = "Link");
1205
- const tr = /* @__PURE__ */ g.forwardRef(function(r, a) {
1206
- let {
1207
- "aria-current": i = "page",
1208
- caseSensitive: l = !1,
1209
- className: s = "",
1210
- end: c = !1,
1211
- style: o,
1212
- to: p,
1213
- unstable_viewTransition: u,
1214
- children: d
1215
- } = r, h = Ze(r, qn), k = ke(p, {
1216
- relative: h.relative
1217
- }), C = he(), j = g.useContext(Pt), {
1218
- navigator: S,
1219
- basename: O
1220
- } = g.useContext(H), R = j != null && // Conditional usage is OK here because the usage of a data router is static
1221
- // eslint-disable-next-line react-hooks/rules-of-hooks
1222
- ur(k) && u === !0, _ = S.encodeLocation ? S.encodeLocation(k).pathname : k.pathname, v = C.pathname, y = j && j.navigation && j.navigation.location ? j.navigation.location.pathname : null;
1223
- l || (v = v.toLowerCase(), y = y ? y.toLowerCase() : null, _ = _.toLowerCase()), y && O && (y = se(y, O) || y);
1224
- const A = _ !== "/" && _.endsWith("/") ? _.length - 1 : _.length;
1225
- let U = v === _ || !c && v.startsWith(_) && v.charAt(A) === "/", W = y != null && (y === _ || !c && y.startsWith(_) && y.charAt(_.length) === "/"), B = {
1226
- isActive: U,
1227
- isPending: W,
1228
- isTransitioning: R
1229
- }, M = U ? i : void 0, Y;
1230
- typeof s == "function" ? Y = s(B) : Y = [s, U ? "active" : null, W ? "pending" : null, R ? "transitioning" : null].filter(Boolean).join(" ");
1231
- let z = typeof o == "function" ? o(B) : o;
1232
- return /* @__PURE__ */ g.createElement(ye, le({}, h, {
1233
- "aria-current": M,
1234
- className: Y,
1235
- ref: a,
1236
- style: z,
1237
- to: p,
1238
- unstable_viewTransition: u
1239
- }), typeof d == "function" ? d(B) : d);
1240
- });
1241
- process.env.NODE_ENV !== "production" && (tr.displayName = "NavLink");
1242
- const nr = /* @__PURE__ */ g.forwardRef((e, r) => {
1243
- let {
1244
- fetcherKey: a,
1245
- navigate: i,
1246
- reloadDocument: l,
1247
- replace: s,
1248
- state: c,
1249
- method: o = Ne,
1250
- action: p,
1251
- onSubmit: u,
1252
- relative: d,
1253
- preventScrollReset: h,
1254
- unstable_viewTransition: k
1255
- } = e, C = Ze(e, Xn), j = or(), S = cr(p, {
1256
- relative: d
1257
- }), O = o.toLowerCase() === "get" ? "get" : "post", R = (_) => {
1258
- if (u && u(_), _.defaultPrevented)
1259
- return;
1260
- _.preventDefault();
1261
- let v = _.nativeEvent.submitter, y = (v == null ? void 0 : v.getAttribute("formmethod")) || o;
1262
- j(v || _.currentTarget, {
1263
- fetcherKey: a,
1264
- method: y,
1265
- navigate: i,
1266
- replace: s,
1267
- state: c,
1268
- relative: d,
1269
- preventScrollReset: h,
1270
- unstable_viewTransition: k
1271
- });
1272
- };
1273
- return /* @__PURE__ */ g.createElement("form", le({
1274
- ref: r,
1275
- method: O,
1276
- action: S,
1277
- onSubmit: l ? u : R
1278
- }, C));
1279
- });
1280
- process.env.NODE_ENV !== "production" && (nr.displayName = "Form");
1281
- process.env.NODE_ENV;
1282
- var we;
1283
- (function(e) {
1284
- e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
1285
- })(we || (we = {}));
1286
- var jt;
1287
- (function(e) {
1288
- e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
1289
- })(jt || (jt = {}));
1290
- function rr(e) {
1291
- return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1292
- }
1293
- function Ft(e) {
1294
- let r = g.useContext(Ee);
1295
- return r || (process.env.NODE_ENV !== "production" ? D(!1, rr(e)) : D(!1)), r;
1296
- }
1297
- function ar(e, r) {
1298
- let {
1299
- target: a,
1300
- replace: i,
1301
- state: l,
1302
- preventScrollReset: s,
1303
- relative: c,
1304
- unstable_viewTransition: o
1305
- } = r === void 0 ? {} : r, p = Dn(), u = he(), d = ke(e, {
1306
- relative: c
1307
- });
1308
- return g.useCallback((h) => {
1309
- if (Yn(h, a)) {
1310
- h.preventDefault();
1311
- let k = i !== void 0 ? i : Ye(u) === Ye(d);
1312
- p(e, {
1313
- replace: k,
1314
- state: l,
1315
- preventScrollReset: s,
1316
- relative: c,
1317
- unstable_viewTransition: o
1318
- });
1319
- }
1320
- }, [u, p, d, i, l, a, e, s, c, o]);
1321
- }
1322
- function sr() {
1323
- if (typeof document > "u")
1324
- throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
1325
- }
1326
- let lr = 0, ir = () => "__" + String(++lr) + "__";
1327
- function or() {
1328
- let {
1329
- router: e
1330
- } = Ft(we.UseSubmit), {
1331
- basename: r
1332
- } = g.useContext(H), a = An();
1333
- return g.useCallback(function(i, l) {
1334
- l === void 0 && (l = {}), sr();
1335
- let {
1336
- action: s,
1337
- method: c,
1338
- encType: o,
1339
- formData: p,
1340
- body: u
1341
- } = zn(i, r);
1342
- if (l.navigate === !1) {
1343
- let d = l.fetcherKey || ir();
1344
- e.fetch(d, a, l.action || s, {
1345
- preventScrollReset: l.preventScrollReset,
1346
- formData: p,
1347
- body: u,
1348
- formMethod: l.method || c,
1349
- formEncType: l.encType || o,
1350
- unstable_flushSync: l.unstable_flushSync
1351
- });
1352
- } else
1353
- e.navigate(l.action || s, {
1354
- preventScrollReset: l.preventScrollReset,
1355
- formData: p,
1356
- body: u,
1357
- formMethod: l.method || c,
1358
- formEncType: l.encType || o,
1359
- replace: l.replace,
1360
- state: l.state,
1361
- fromRouteId: a,
1362
- unstable_flushSync: l.unstable_flushSync,
1363
- unstable_viewTransition: l.unstable_viewTransition
1364
- });
1365
- }, [e, r, a]);
1366
- }
1367
- function cr(e, r) {
1368
- let {
1369
- relative: a
1370
- } = r === void 0 ? {} : r, {
1371
- basename: i
1372
- } = g.useContext(H), l = g.useContext(ie);
1373
- l || (process.env.NODE_ENV !== "production" ? D(!1, "useFormAction must be used inside a RouteContext") : D(!1));
1374
- let [s] = l.matches.slice(-1), c = le({}, ke(e || ".", {
1375
- relative: a
1376
- })), o = he();
1377
- if (e == null) {
1378
- c.search = o.search;
1379
- let p = new URLSearchParams(c.search);
1380
- p.has("index") && p.get("index") === "" && (p.delete("index"), c.search = p.toString() ? "?" + p.toString() : "");
1381
- }
1382
- return (!e || e === ".") && s.route.index && (c.search = c.search ? c.search.replace(/^\?/, "?index&") : "?index"), i !== "/" && (c.pathname = c.pathname === "/" ? i : Ge([i, c.pathname])), Ye(c);
1383
- }
1384
- function ur(e, r) {
1385
- r === void 0 && (r = {});
1386
- let a = g.useContext(It);
1387
- a == null && (process.env.NODE_ENV !== "production" ? D(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : D(!1));
1388
- let {
1389
- basename: i
1390
- } = Ft(we.useViewTransitionState), l = ke(e, {
1391
- relative: r.relative
1392
- });
1393
- if (!a.isTransitioning)
1394
- return !1;
1395
- let s = se(a.currentLocation.pathname, i) || a.currentLocation.pathname, c = se(a.nextLocation.pathname, i) || a.nextLocation.pathname;
1396
- return Nt(l.pathname, c) != null || Nt(l.pathname, s) != null;
1397
- }
1398
- const br = V(
1399
- ({ breadcrumbs: e, navigationType: r, className: a, ...i }, l) => {
1400
- const s = e.slice(0, 4), c = s[s.length - 2], o = [
1401
- a,
723
+ ), Vt = D(
724
+ ({ breadcrumbs: r, navigationType: l, className: d, ...p }, u) => {
725
+ const n = r.slice(0, 4), c = n[n.length - 2], a = [
726
+ d,
1402
727
  "pkt-breadcrumbs"
1403
728
  ].filter(Boolean).join(" ");
1404
- return /* @__PURE__ */ t.jsxs("nav", { ref: l, "aria-label": "brødsmulemeny", className: o, children: [
1405
- /* @__PURE__ */ t.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: s.map((p, u) => /* @__PURE__ */ t.jsx(
729
+ return /* @__PURE__ */ e.jsxs("nav", { ref: u, "aria-label": "brødsmulemeny", className: a, children: [
730
+ /* @__PURE__ */ e.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: n.map((o, i) => /* @__PURE__ */ e.jsx(
1406
731
  "li",
1407
732
  {
1408
733
  className: "pkt-breadcrumbs__item",
1409
- children: u === s.length - 1 ? /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text }) }) : r === "router" ? /* @__PURE__ */ t.jsxs(
1410
- ye,
734
+ children: i === n.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: o.text }) }) : l === "router" ? /* @__PURE__ */ e.jsxs(
735
+ He,
1411
736
  {
1412
- to: p.href,
737
+ to: o.href,
1413
738
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
1414
- ...i,
739
+ ...p,
1415
740
  children: [
1416
- /* @__PURE__ */ t.jsx(
1417
- N,
741
+ /* @__PURE__ */ e.jsx(
742
+ x,
1418
743
  {
1419
744
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
1420
745
  name: "chevron-thin-right"
1421
746
  }
1422
747
  ),
1423
- /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text })
748
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: o.text })
1424
749
  ]
1425
750
  }
1426
- ) : /* @__PURE__ */ t.jsxs(
751
+ ) : /* @__PURE__ */ e.jsxs(
1427
752
  "a",
1428
753
  {
1429
- href: p.href,
754
+ href: o.href,
1430
755
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
1431
- ...i,
756
+ ...p,
1432
757
  children: [
1433
- /* @__PURE__ */ t.jsx(
1434
- N,
758
+ /* @__PURE__ */ e.jsx(
759
+ x,
1435
760
  {
1436
761
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
1437
762
  name: "chevron-thin-right"
1438
763
  }
1439
764
  ),
1440
- /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__text", children: p.text })
765
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: o.text })
1441
766
  ]
1442
767
  }
1443
768
  )
1444
769
  },
1445
- `breadcrumb-${u}`
770
+ `breadcrumb-${i}`
1446
771
  )) }),
1447
- r === "router" ? /* @__PURE__ */ t.jsxs(
1448
- ye,
772
+ l === "router" ? /* @__PURE__ */ e.jsxs(
773
+ He,
1449
774
  {
1450
775
  to: c.href,
1451
776
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
1452
- ...i,
777
+ ...p,
1453
778
  children: [
1454
- /* @__PURE__ */ t.jsx(
1455
- N,
779
+ /* @__PURE__ */ e.jsx(
780
+ x,
1456
781
  {
1457
782
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
1458
783
  name: "chevron-thin-left"
1459
784
  }
1460
785
  ),
1461
- /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__text", children: c.text })
786
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: c.text })
1462
787
  ]
1463
788
  }
1464
- ) : /* @__PURE__ */ t.jsxs(
789
+ ) : /* @__PURE__ */ e.jsxs(
1465
790
  "a",
1466
791
  {
1467
792
  href: c.href,
1468
793
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
1469
- ...i,
794
+ ...p,
1470
795
  children: [
1471
- /* @__PURE__ */ t.jsx(
1472
- N,
796
+ /* @__PURE__ */ e.jsx(
797
+ x,
1473
798
  {
1474
799
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
1475
800
  name: "chevron-thin-left"
1476
801
  }
1477
802
  ),
1478
- /* @__PURE__ */ t.jsx("span", { className: "pkt-breadcrumbs__text", children: c.text })
803
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-breadcrumbs__text", children: c.text })
1479
804
  ]
1480
805
  }
1481
806
  )
1482
807
  ] });
1483
808
  }
1484
- ), de = V(
809
+ ), ie = D(
1485
810
  ({
1486
- children: e,
1487
- className: r,
1488
- iconName: a = "user",
1489
- secondIconName: i = "user",
1490
- size: l = "medium",
1491
- skin: s = "primary",
811
+ children: r,
812
+ className: l,
813
+ iconName: d = "user",
814
+ secondIconName: p = "user",
815
+ size: u = "medium",
816
+ skin: n = "primary",
1492
817
  type: c = "button",
1493
- variant: o = "label-only",
1494
- color: p,
1495
- isLoading: u = !1,
1496
- ...d
1497
- }, h) => {
1498
- const k = [
1499
- r,
818
+ variant: a = "label-only",
819
+ color: o,
820
+ isLoading: i = !1,
821
+ ...k
822
+ }, _) => {
823
+ const b = [
824
+ l,
1500
825
  "pkt-btn",
1501
- l && `pkt-btn--${l}`,
1502
- s && `pkt-btn--${s}`,
826
+ u && `pkt-btn--${u}`,
827
+ n && `pkt-btn--${n}`,
828
+ a && `pkt-btn--${a}`,
1503
829
  o && `pkt-btn--${o}`,
1504
- p && `pkt-btn--${p}`,
1505
- u && "pkt-btn--active"
830
+ i && "pkt-btn--active"
1506
831
  ].filter(Boolean).join(" ");
1507
- return /* @__PURE__ */ t.jsxs("button", { ...d, className: k, type: c, ref: h, children: [
1508
- u && /* @__PURE__ */ t.jsx(
1509
- N,
832
+ return /* @__PURE__ */ e.jsxs("button", { ...k, className: b, type: c, ref: _, children: [
833
+ i && /* @__PURE__ */ e.jsx(
834
+ x,
1510
835
  {
1511
836
  className: "pkt-btn__icon pkt-btn__spinner",
1512
837
  name: "spinner-blue",
1513
838
  path: "https://punkt-cdn.oslo.kommune.no/11.13/animations/"
1514
839
  }
1515
840
  ),
1516
- o !== "label-only" && /* @__PURE__ */ t.jsx(N, { className: "pkt-btn__icon", name: a }),
1517
- /* @__PURE__ */ t.jsx("span", { className: "pkt-btn__text", children: e }),
1518
- o === "icons-right-and-left" && /* @__PURE__ */ t.jsx(N, { className: "pkt-btn__icon", name: i })
841
+ a !== "label-only" && /* @__PURE__ */ e.jsx(x, { className: "pkt-btn__icon", name: d }),
842
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-btn__text", children: r }),
843
+ a === "icons-right-and-left" && /* @__PURE__ */ e.jsx(x, { className: "pkt-btn__icon", name: p })
1519
844
  ] });
1520
845
  }
1521
846
  );
1522
- de.displayName = "PktButton";
1523
- const pr = V(
847
+ ie.displayName = "PktButton";
848
+ const Dt = D(
1524
849
  ({
1525
- id: e,
1526
- hasTile: r = !1,
1527
- disabled: a = !1,
1528
- label: i,
1529
- labelPosition: l = "right",
1530
- hideLabel: s = !1,
850
+ id: r,
851
+ hasTile: l = !1,
852
+ disabled: d = !1,
853
+ label: p,
854
+ labelPosition: u = "right",
855
+ hideLabel: n = !1,
1531
856
  checkHelptext: c,
1532
- hasError: o = !1,
1533
- isSwitch: p = !1,
1534
- className: u,
1535
- ...d
1536
- }, h) => {
1537
- const k = [u, "pkt-input-check"].filter(Boolean).join(" ");
1538
- return /* @__PURE__ */ t.jsx("div", { className: k, children: /* @__PURE__ */ t.jsxs(
857
+ hasError: a = !1,
858
+ isSwitch: o = !1,
859
+ className: i,
860
+ ...k
861
+ }, _) => {
862
+ const b = [i, "pkt-input-check"].filter(Boolean).join(" ");
863
+ return /* @__PURE__ */ e.jsx("div", { className: b, children: /* @__PURE__ */ e.jsxs(
1539
864
  "div",
1540
865
  {
1541
- className: `pkt-input-check__input ${r ? "pkt-input-check__input--tile" : ""} ${a && r ? "pkt-input-check__input--tile-disabled" : ""}`,
866
+ className: `pkt-input-check__input ${l ? "pkt-input-check__input--tile" : ""} ${d && l ? "pkt-input-check__input--tile-disabled" : ""}`,
1542
867
  children: [
1543
- i && l === "left" && /* @__PURE__ */ t.jsxs(
868
+ p && u === "left" && /* @__PURE__ */ e.jsxs(
1544
869
  "label",
1545
870
  {
1546
- className: `pkt-input-check__input-label ${s ? "pkt-sr-only" : ""}`,
1547
- htmlFor: e,
871
+ className: `pkt-input-check__input-label ${n ? "pkt-sr-only" : ""}`,
872
+ htmlFor: r,
1548
873
  children: [
1549
- i,
1550
- c && /* @__PURE__ */ t.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
874
+ p,
875
+ c && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
1551
876
  ]
1552
877
  }
1553
878
  ),
1554
- /* @__PURE__ */ t.jsx(
879
+ /* @__PURE__ */ e.jsx(
1555
880
  "input",
1556
881
  {
1557
- ref: h,
1558
- className: `pkt-input-check__input-checkbox ${o ? "pkt-input-check__input-checkbox--error" : ""}`,
882
+ ref: _,
883
+ className: `pkt-input-check__input-checkbox ${a ? "pkt-input-check__input-checkbox--error" : ""}`,
1559
884
  type: "checkbox",
1560
- role: p ? "switch" : "checkbox",
1561
- id: e,
1562
- disabled: a,
1563
- ...d
885
+ role: o ? "switch" : "checkbox",
886
+ id: r,
887
+ disabled: d,
888
+ ...k
1564
889
  }
1565
890
  ),
1566
- i && l === "right" && /* @__PURE__ */ t.jsxs(
891
+ p && u === "right" && /* @__PURE__ */ e.jsxs(
1567
892
  "label",
1568
893
  {
1569
- className: `pkt-input-check__input-label ${s ? "pkt-sr-only" : ""}`,
1570
- htmlFor: e,
894
+ className: `pkt-input-check__input-label ${n ? "pkt-sr-only" : ""}`,
895
+ htmlFor: r,
1571
896
  children: [
1572
- i,
1573
- c && /* @__PURE__ */ t.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
897
+ p,
898
+ c && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
1574
899
  ]
1575
900
  }
1576
901
  )
@@ -1579,255 +904,255 @@ const pr = V(
1579
904
  ) });
1580
905
  }
1581
906
  );
1582
- pr.displayName = "PktCheckbox";
1583
- const xr = ({
1584
- columnOne: e,
1585
- columnTwo: r,
1586
- socialLinks: a,
1587
- className: i,
1588
- personvernOgInfoLink: l = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
1589
- tilgjengelighetLink: s = "https://www.oslo.kommune.no/tilgjengelighet/"
907
+ Dt.displayName = "PktCheckbox";
908
+ const Kt = ({
909
+ columnOne: r,
910
+ columnTwo: l,
911
+ socialLinks: d,
912
+ className: p,
913
+ personvernOgInfoLink: u = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
914
+ tilgjengelighetLink: n = "https://www.oslo.kommune.no/tilgjengelighet/"
1590
915
  }) => {
1591
- var o, p;
1592
- const c = [i, "pkt-footer"].filter(Boolean).join(" ");
1593
- return /* @__PURE__ */ t.jsx("footer", { className: c, "data-mode": "dark", children: /* @__PURE__ */ t.jsxs("div", { className: "pkt-footer__container", children: [
1594
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
1595
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
1596
- /* @__PURE__ */ t.jsx("h2", { className: "pkt-footer__title", children: e.title }),
1597
- /* @__PURE__ */ t.jsxs("ul", { className: "pkt-footer__list", children: [
1598
- e.text && /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__text", children: e.text }),
1599
- (o = e.links) == null ? void 0 : o.map((u, d) => /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ t.jsxs(
916
+ var a, o;
917
+ const c = [p, "pkt-footer"].filter(Boolean).join(" ");
918
+ return /* @__PURE__ */ e.jsx("footer", { className: c, "data-mode": "dark", children: /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__container", children: [
919
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
920
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
921
+ /* @__PURE__ */ e.jsx("h2", { className: "pkt-footer__title", children: r.title }),
922
+ /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer__list", children: [
923
+ r.text && /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__text", children: r.text }),
924
+ (a = r.links) == null ? void 0 : a.map((i, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1600
925
  "a",
1601
926
  {
1602
- className: `pkt-footer__link ${u.external ? "pkt-link--external" : ""}`,
1603
- href: u.href,
1604
- target: u.openInNewTab ? "_blank" : "_self",
1605
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
927
+ className: `pkt-footer__link ${i.external ? "pkt-link--external" : ""}`,
928
+ href: i.href,
929
+ target: i.openInNewTab ? "_blank" : "_self",
930
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
1606
931
  children: [
1607
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1608
- u.text
932
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
933
+ i.text
1609
934
  ]
1610
935
  }
1611
- ) }, `links-${d}`))
936
+ ) }, `links-${k}`))
1612
937
  ] })
1613
938
  ] }),
1614
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
1615
- /* @__PURE__ */ t.jsx("h2", { className: "pkt-footer__title", children: r.title }),
1616
- /* @__PURE__ */ t.jsxs("ul", { className: "pkt-footer__list", children: [
1617
- r.text && /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__text", children: r.text }),
1618
- (p = r.links) == null ? void 0 : p.map((u, d) => /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ t.jsxs(
939
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
940
+ /* @__PURE__ */ e.jsx("h2", { className: "pkt-footer__title", children: l.title }),
941
+ /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer__list", children: [
942
+ l.text && /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__text", children: l.text }),
943
+ (o = l.links) == null ? void 0 : o.map((i, k) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1619
944
  "a",
1620
945
  {
1621
- className: `pkt-footer__link ${u.external ? "pkt-link--external" : ""}`,
1622
- href: u.href,
1623
- target: u.openInNewTab ? "_blank" : "_self",
1624
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
946
+ className: `pkt-footer__link ${i.external ? "pkt-link--external" : ""}`,
947
+ href: i.href,
948
+ target: i.openInNewTab ? "_blank" : "_self",
949
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
1625
950
  children: [
1626
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1627
- u.text
951
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
952
+ i.text
1628
953
  ]
1629
954
  }
1630
- ) }, `links-${d}`))
955
+ ) }, `links-${k}`))
1631
956
  ] })
1632
957
  ] }),
1633
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
1634
- /* @__PURE__ */ t.jsx("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
1635
- /* @__PURE__ */ t.jsxs("ul", { className: "pkt-footer__list", children: [
1636
- /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ t.jsxs(
958
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
959
+ /* @__PURE__ */ e.jsx("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
960
+ /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer__list", children: [
961
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs(
1637
962
  "a",
1638
963
  {
1639
964
  className: "pkt-footer__link",
1640
- href: l,
965
+ href: u,
1641
966
  children: [
1642
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
967
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1643
968
  "Personvern og informasjonskapsler"
1644
969
  ]
1645
970
  }
1646
971
  ) }),
1647
- /* @__PURE__ */ t.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ t.jsxs("a", { className: "pkt-footer__link", href: s, children: [
1648
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
972
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer__link", href: n, children: [
973
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1649
974
  "Tilgjengelighet"
1650
975
  ] }) })
1651
976
  ] })
1652
977
  ] })
1653
978
  ] }),
1654
- a && /* @__PURE__ */ t.jsxs("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
1655
- /* @__PURE__ */ t.jsx("div", { className: "pkt-footer__social-languages", children: a.filter((u) => u.language).map((u, d) => /* @__PURE__ */ t.jsx(
979
+ d && /* @__PURE__ */ e.jsxs("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
980
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-languages", children: d.filter((i) => i.language).map((i, k) => /* @__PURE__ */ e.jsx(
1656
981
  "div",
1657
982
  {
1658
983
  className: "pkt-footer__social-language",
1659
- children: /* @__PURE__ */ t.jsx(
984
+ children: /* @__PURE__ */ e.jsx(
1660
985
  "a",
1661
986
  {
1662
- href: u.href,
1663
- "aria-label": `til ${u.language} versjon av nettsiden`,
1664
- target: u.openInNewTab ? "_blank" : "_self",
1665
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1666
- children: u.language
987
+ href: i.href,
988
+ "aria-label": `til ${i.language} versjon av nettsiden`,
989
+ target: i.openInNewTab ? "_blank" : "_self",
990
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
991
+ children: i.language
1667
992
  }
1668
993
  )
1669
994
  },
1670
- `sociallinks-language-${d}`
995
+ `sociallinks-language-${k}`
1671
996
  )) }),
1672
- /* @__PURE__ */ t.jsx("div", { className: "pkt-footer__social-icons", children: a.filter((u) => u.iconName).map((u, d) => /* @__PURE__ */ t.jsx(X.Fragment, { children: /* @__PURE__ */ t.jsx(
997
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-footer__social-icons", children: d.filter((i) => i.iconName).map((i, k) => /* @__PURE__ */ e.jsx(J.Fragment, { children: /* @__PURE__ */ e.jsx(
1673
998
  "a",
1674
999
  {
1675
- href: u.href,
1676
- "aria-label": `til ${u.iconName}`,
1000
+ href: i.href,
1001
+ "aria-label": `til ${i.iconName}`,
1677
1002
  className: "pkt-footer__social-icon-link",
1678
- target: u.openInNewTab ? "_blank" : "_self",
1679
- rel: u.openInNewTab ? "noopener noreferrer" : void 0,
1680
- children: /* @__PURE__ */ t.jsx(N, { className: "pkt-footer__social-icon", name: u.iconName })
1003
+ target: i.openInNewTab ? "_blank" : "_self",
1004
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
1005
+ children: /* @__PURE__ */ e.jsx(x, { className: "pkt-footer__social-icon", name: i.iconName })
1681
1006
  }
1682
- ) }, `sociallinks-${d}`)) })
1007
+ ) }, `sociallinks-${k}`)) })
1683
1008
  ] })
1684
1009
  ] }) });
1685
- }, gr = ({
1686
- links: e = [],
1687
- personvernOgInfoLink: r = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
1688
- tilgjengelighetLink: a = "https://www.oslo.kommune.no/tilgjengelighet/",
1689
- className: i
1010
+ }, Ht = ({
1011
+ links: r = [],
1012
+ personvernOgInfoLink: l = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
1013
+ tilgjengelighetLink: d = "https://www.oslo.kommune.no/tilgjengelighet/",
1014
+ className: p
1690
1015
  }) => {
1691
- const l = [i, "pkt-footer-simple"].filter(Boolean).join(" ");
1692
- return /* @__PURE__ */ t.jsx("footer", { className: l, "data-mode": "dark", children: /* @__PURE__ */ t.jsx("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ t.jsxs("ul", { className: "pkt-footer-simple__list", children: [
1693
- e.map((s, c) => /* @__PURE__ */ t.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ t.jsxs(
1016
+ const u = [p, "pkt-footer-simple"].filter(Boolean).join(" ");
1017
+ return /* @__PURE__ */ e.jsx("footer", { className: u, "data-mode": "dark", children: /* @__PURE__ */ e.jsx("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ e.jsxs("ul", { className: "pkt-footer-simple__list", children: [
1018
+ r.map((n, c) => /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs(
1694
1019
  "a",
1695
1020
  {
1696
- className: `pkt-footer-simple__link ${s.external ? " pkt-link--external" : ""}`,
1697
- href: s.href,
1698
- target: s.openInNewTab ? "_blank" : "_self",
1699
- rel: s.openInNewTab ? "noopener noreferrer" : void 0,
1021
+ className: `pkt-footer-simple__link ${n.external ? " pkt-link--external" : ""}`,
1022
+ href: n.href,
1023
+ target: n.openInNewTab ? "_blank" : "_self",
1024
+ rel: n.openInNewTab ? "noopener noreferrer" : void 0,
1700
1025
  children: [
1701
- /* @__PURE__ */ t.jsx(
1702
- N,
1026
+ /* @__PURE__ */ e.jsx(
1027
+ x,
1703
1028
  {
1704
1029
  className: "pkt-footer-simple__link-icon",
1705
1030
  name: "chevron-right"
1706
1031
  }
1707
1032
  ),
1708
- s.text
1033
+ n.text
1709
1034
  ]
1710
1035
  }
1711
1036
  ) }, c)),
1712
- /* @__PURE__ */ t.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ t.jsxs("a", { className: "pkt-footer-simple__link", href: r, children: [
1713
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1037
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer-simple__link", href: l, children: [
1038
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1714
1039
  "Personvern og informasjonskapsler"
1715
1040
  ] }) }),
1716
- /* @__PURE__ */ t.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ t.jsxs("a", { className: "pkt-footer-simple__link", href: a, children: [
1717
- /* @__PURE__ */ t.jsx(N, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1041
+ /* @__PURE__ */ e.jsx("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ e.jsxs("a", { className: "pkt-footer-simple__link", href: d, children: [
1042
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1718
1043
  "Tilgjengelighet"
1719
1044
  ] }) })
1720
1045
  ] }) }) });
1721
1046
  };
1722
- var Lt = { exports: {} };
1047
+ var qe = { exports: {} };
1723
1048
  /*!
1724
1049
  Copyright (c) 2018 Jed Watson.
1725
1050
  Licensed under the MIT License (MIT), see
1726
1051
  http://jedwatson.github.io/classnames
1727
1052
  */
1728
- (function(e) {
1053
+ (function(r) {
1729
1054
  (function() {
1730
- var r = {}.hasOwnProperty;
1731
- function a() {
1732
- for (var s = "", c = 0; c < arguments.length; c++) {
1733
- var o = arguments[c];
1734
- o && (s = l(s, i(o)));
1055
+ var l = {}.hasOwnProperty;
1056
+ function d() {
1057
+ for (var n = "", c = 0; c < arguments.length; c++) {
1058
+ var a = arguments[c];
1059
+ a && (n = u(n, p(a)));
1735
1060
  }
1736
- return s;
1061
+ return n;
1737
1062
  }
1738
- function i(s) {
1739
- if (typeof s == "string" || typeof s == "number")
1740
- return s;
1741
- if (typeof s != "object")
1063
+ function p(n) {
1064
+ if (typeof n == "string" || typeof n == "number")
1065
+ return n;
1066
+ if (typeof n != "object")
1742
1067
  return "";
1743
- if (Array.isArray(s))
1744
- return a.apply(null, s);
1745
- if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
1746
- return s.toString();
1068
+ if (Array.isArray(n))
1069
+ return d.apply(null, n);
1070
+ if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]"))
1071
+ return n.toString();
1747
1072
  var c = "";
1748
- for (var o in s)
1749
- r.call(s, o) && s[o] && (c = l(c, o));
1073
+ for (var a in n)
1074
+ l.call(n, a) && n[a] && (c = u(c, a));
1750
1075
  return c;
1751
1076
  }
1752
- function l(s, c) {
1753
- return c ? s ? s + " " + c : s + c : s;
1077
+ function u(n, c) {
1078
+ return c ? n ? n + " " + c : n + c : n;
1754
1079
  }
1755
- e.exports ? (a.default = a, e.exports = a) : window.classNames = a;
1080
+ r.exports ? (d.default = d, r.exports = d) : window.classNames = d;
1756
1081
  })();
1757
- })(Lt);
1758
- var fr = Lt.exports;
1759
- const ne = /* @__PURE__ */ hn(fr), Nr = V(
1082
+ })(qe);
1083
+ var At = qe.exports;
1084
+ const Q = /* @__PURE__ */ Ct(At), zt = D(
1760
1085
  ({
1761
- className: e,
1762
- logoLink: r = "https://www.oslo.kommune.no/",
1763
- serviceName: a,
1764
- fixed: i = !0,
1765
- scrollToHide: l = !0,
1766
- user: s,
1086
+ className: r,
1087
+ logoLink: l = "https://www.oslo.kommune.no/",
1088
+ serviceName: d,
1089
+ fixed: p = !0,
1090
+ scrollToHide: u = !0,
1091
+ user: n,
1767
1092
  userMenu: c,
1768
- representing: o,
1769
- userOptions: p,
1770
- userMenuFooter: u,
1771
- canChangeRepresentation: d = !0,
1772
- showMenuButton: h = !1,
1773
- showLogOutButton: k = !1,
1093
+ representing: a,
1094
+ userOptions: o,
1095
+ userMenuFooter: i,
1096
+ canChangeRepresentation: k = !0,
1097
+ showMenuButton: _ = !1,
1098
+ showLogOutButton: b = !1,
1774
1099
  openMenu: C,
1775
- logOut: j,
1776
- changeRepresentation: S,
1777
- children: O,
1778
- ...R
1779
- }, _) => {
1780
- const v = X.useMemo(() => typeof (s == null ? void 0 : s.lastLoggedIn) == "string" ? s.lastLoggedIn : s != null && s.lastLoggedIn ? new Date(s.lastLoggedIn).toLocaleString("nb-NO", {
1100
+ logOut: P,
1101
+ changeRepresentation: O,
1102
+ children: F,
1103
+ ...E
1104
+ }, y) => {
1105
+ const j = J.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
1781
1106
  year: "numeric",
1782
1107
  month: "long",
1783
1108
  day: "numeric"
1784
- }) : "", [s]), [y, A] = X.useState(!1), [U, W] = X.useState(0), [B, M] = X.useState(!1), Y = X.useRef(null);
1785
- X.useEffect(() => (document.addEventListener("mouseup", K), window.addEventListener("scroll", I), () => {
1786
- document.removeEventListener("mouseup", K), window.removeEventListener("scroll", I);
1109
+ }) : "", [n]), [I, U] = J.useState(!1), [W, Y] = J.useState(0), [H, M] = J.useState(!1), z = J.useRef(null);
1110
+ J.useEffect(() => (document.addEventListener("mouseup", A), window.addEventListener("scroll", T), () => {
1111
+ document.removeEventListener("mouseup", A), window.removeEventListener("scroll", T);
1787
1112
  }));
1788
- const z = () => {
1789
- M(!B);
1790
- }, K = (b) => {
1791
- Y.current && !Y.current.contains(b.target) && M(!1);
1792
- }, I = () => {
1793
- if (l) {
1794
- const b = window.pageYOffset || document.documentElement.scrollTop;
1795
- if (b < 0 || Math.abs(b - U) < 60)
1113
+ const V = () => {
1114
+ M(!H);
1115
+ }, A = (m) => {
1116
+ z.current && !z.current.contains(m.target) && M(!1);
1117
+ }, T = () => {
1118
+ if (u) {
1119
+ const m = window.pageYOffset || document.documentElement.scrollTop;
1120
+ if (m < 0 || Math.abs(m - W) < 60)
1796
1121
  return;
1797
- A(b > U), W(b);
1122
+ U(m > W), Y(m);
1798
1123
  }
1799
1124
  };
1800
- return /* @__PURE__ */ t.jsxs(
1125
+ return /* @__PURE__ */ e.jsxs(
1801
1126
  "header",
1802
1127
  {
1803
- ...R,
1128
+ ...E,
1804
1129
  id: "pkt-header",
1805
1130
  "data-testid": "pkt-header",
1806
1131
  "aria-label": "Topp",
1807
- className: ne(e, "pkt-header", {
1808
- "pkt-header--fixed": i,
1809
- "pkt-header--scroll-to-hide": l,
1810
- "pkt-header--hidden": y
1132
+ className: Q(r, "pkt-header", {
1133
+ "pkt-header--fixed": p,
1134
+ "pkt-header--scroll-to-hide": u,
1135
+ "pkt-header--hidden": I
1811
1136
  }),
1812
- ref: _,
1137
+ ref: y,
1813
1138
  children: [
1814
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-header__logo", children: [
1815
- typeof r == "string" ? /* @__PURE__ */ t.jsx("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: r, children: /* @__PURE__ */ t.jsx(
1816
- N,
1139
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-header__logo", children: [
1140
+ typeof l == "string" ? /* @__PURE__ */ e.jsx("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: l, children: /* @__PURE__ */ e.jsx(
1141
+ x,
1817
1142
  {
1818
1143
  name: "oslologo",
1819
1144
  className: "pkt-header__logo-svg",
1820
1145
  "aria-hidden": "true",
1821
1146
  path: "https://punkt-cdn.oslo.kommune.no/11.13/logos/"
1822
1147
  }
1823
- ) }) : /* @__PURE__ */ t.jsx(
1148
+ ) }) : /* @__PURE__ */ e.jsx(
1824
1149
  "button",
1825
1150
  {
1826
1151
  "aria-label": "Tilbake til forside",
1827
1152
  className: "pkt-link-button pkt-link pkt-header__logo-link",
1828
- onClick: r,
1829
- children: /* @__PURE__ */ t.jsx(
1830
- N,
1153
+ onClick: l,
1154
+ children: /* @__PURE__ */ e.jsx(
1155
+ x,
1831
1156
  {
1832
1157
  name: "oslologo",
1833
1158
  className: "pkt-header__logo-svg",
@@ -1837,11 +1162,11 @@ const ne = /* @__PURE__ */ hn(fr), Nr = V(
1837
1162
  )
1838
1163
  }
1839
1164
  ),
1840
- /* @__PURE__ */ t.jsx("span", { className: "pkt-header__logo-service", children: a })
1165
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__logo-service", children: d })
1841
1166
  ] }),
1842
- /* @__PURE__ */ t.jsx("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ t.jsxs("ul", { className: "pkt-header__actions-row", children: [
1843
- h && /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx(
1844
- de,
1167
+ /* @__PURE__ */ e.jsx("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ e.jsxs("ul", { className: "pkt-header__actions-row", children: [
1168
+ _ && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1169
+ ie,
1845
1170
  {
1846
1171
  className: "pkt-header__menu-btn",
1847
1172
  skin: "secondary",
@@ -1851,87 +1176,87 @@ const ne = /* @__PURE__ */ hn(fr), Nr = V(
1851
1176
  children: "Meny"
1852
1177
  }
1853
1178
  ) }),
1854
- (s || o) && /* @__PURE__ */ t.jsxs(
1179
+ (n || a) && /* @__PURE__ */ e.jsxs(
1855
1180
  "li",
1856
1181
  {
1857
1182
  "data-testid": "usermenu",
1858
- className: `pkt-header--has-dropdown ${B && !y ? "pkt-header--open-dropdown" : ""}`,
1859
- ref: Y,
1183
+ className: `pkt-header--has-dropdown ${H && !I ? "pkt-header--open-dropdown" : ""}`,
1184
+ ref: z,
1860
1185
  children: [
1861
- /* @__PURE__ */ t.jsxs(
1186
+ /* @__PURE__ */ e.jsxs(
1862
1187
  "button",
1863
1188
  {
1864
1189
  className: "pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",
1865
1190
  type: "button",
1866
1191
  role: "button",
1867
1192
  "aria-controls": "pktUserDropdown",
1868
- "aria-expanded": B,
1869
- onClick: z,
1193
+ "aria-expanded": H,
1194
+ onClick: V,
1870
1195
  children: [
1871
- /* @__PURE__ */ t.jsx(N, { name: "user", className: "pkt-btn__icon" }),
1872
- /* @__PURE__ */ t.jsx("span", { className: "pkt-header__user-fullname", children: (o == null ? void 0 : o.name) || (s == null ? void 0 : s.name) }),
1873
- /* @__PURE__ */ t.jsx("span", { className: "pkt-header__user-shortname", children: (o == null ? void 0 : o.shortname) || (s == null ? void 0 : s.shortname) }),
1874
- /* @__PURE__ */ t.jsx(N, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1875
- /* @__PURE__ */ t.jsx(N, { name: "chevron-thin-up", className: "pkt-btn--open" })
1196
+ /* @__PURE__ */ e.jsx(x, { name: "user", className: "pkt-btn__icon" }),
1197
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-fullname", children: (a == null ? void 0 : a.name) || (n == null ? void 0 : n.name) }),
1198
+ /* @__PURE__ */ e.jsx("span", { className: "pkt-header__user-shortname", children: (a == null ? void 0 : a.shortname) || (n == null ? void 0 : n.shortname) }),
1199
+ /* @__PURE__ */ e.jsx(x, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1200
+ /* @__PURE__ */ e.jsx(x, { name: "chevron-thin-up", className: "pkt-btn--open" })
1876
1201
  ]
1877
1202
  }
1878
1203
  ),
1879
- /* @__PURE__ */ t.jsxs("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1880
- s && /* @__PURE__ */ t.jsxs("li", { children: [
1881
- /* @__PURE__ */ t.jsx("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
1882
- /* @__PURE__ */ t.jsx("div", { className: "pkt-user-menu__name", children: s.name }),
1883
- s.lastLoggedIn && /* @__PURE__ */ t.jsxs("div", { className: "pkt-user-menu__last-logged-in", children: [
1204
+ /* @__PURE__ */ e.jsxs("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1205
+ n && /* @__PURE__ */ e.jsxs("li", { children: [
1206
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
1207
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: n.name }),
1208
+ n.lastLoggedIn && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__last-logged-in", children: [
1884
1209
  "Sist pålogget: ",
1885
- /* @__PURE__ */ t.jsx("time", { children: v })
1210
+ /* @__PURE__ */ e.jsx("time", { children: j })
1886
1211
  ] })
1887
1212
  ] }),
1888
- c && /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx("ul", { className: "pkt-list", children: c.map((b, L) => /* @__PURE__ */ t.jsx("li", { children: typeof b.target == "string" ? /* @__PURE__ */ t.jsxs("a", { href: b.target, className: "pkt-link", children: [
1889
- b.iconName && /* @__PURE__ */ t.jsx(N, { name: b.iconName, className: "pkt-link__icon" }),
1890
- b.title
1891
- ] }) : /* @__PURE__ */ t.jsxs("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: [
1892
- b.iconName && /* @__PURE__ */ t.jsx(N, { name: b.iconName, className: "pkt-link__icon" }),
1893
- b.title
1894
- ] }) }, `userMenu-${L}`)) }) }),
1895
- (o || d) && /* @__PURE__ */ t.jsxs("li", { children: [
1896
- o && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1897
- /* @__PURE__ */ t.jsx("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1898
- /* @__PURE__ */ t.jsx("div", { className: "pkt-user-menu__name", children: o.name }),
1899
- o.orgNumber && /* @__PURE__ */ t.jsxs("div", { className: "pkt-user-menu__org-number", children: [
1213
+ c && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list", children: c.map((m, S) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsxs("a", { href: m.target, className: "pkt-link", children: [
1214
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1215
+ m.title
1216
+ ] }) : /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: [
1217
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1218
+ m.title
1219
+ ] }) }, `userMenu-${S}`)) }) }),
1220
+ (a || k) && /* @__PURE__ */ e.jsxs("li", { children: [
1221
+ a && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1222
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1223
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-user-menu__name", children: a.name }),
1224
+ a.orgNumber && /* @__PURE__ */ e.jsxs("div", { className: "pkt-user-menu__org-number", children: [
1900
1225
  "Org.nr. ",
1901
- o.orgNumber
1226
+ a.orgNumber
1902
1227
  ] })
1903
1228
  ] }),
1904
- /* @__PURE__ */ t.jsx("ul", { className: "pkt-list mt-size-16", children: d && /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("button", { className: "pkt-link-button pkt-link", onClick: S, children: [
1905
- /* @__PURE__ */ t.jsx(N, { name: "cogwheel", className: "pkt-link__icon" }),
1229
+ /* @__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: O, children: [
1230
+ /* @__PURE__ */ e.jsx(x, { name: "cogwheel", className: "pkt-link__icon" }),
1906
1231
  "Endre organisasjon"
1907
1232
  ] }) }) })
1908
1233
  ] }),
1909
- /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx("ul", { className: "pkt-list", children: (p || !k) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1910
- p == null ? void 0 : p.map((b, L) => /* @__PURE__ */ t.jsx("li", { children: typeof b.target == "string" ? /* @__PURE__ */ t.jsxs("a", { href: b.target, className: "pkt-link", children: [
1911
- b.iconName && /* @__PURE__ */ t.jsx(N, { name: b.iconName, className: "pkt-link__icon" }),
1912
- b.title
1913
- ] }) : /* @__PURE__ */ t.jsxs("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: [
1914
- b.iconName && /* @__PURE__ */ t.jsx(N, { name: b.iconName, className: "pkt-link__icon" }),
1915
- b.title
1916
- ] }) }, `userOptions-${L}`)),
1917
- !k && /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsxs("button", { className: "pkt-link-button pkt-link", onClick: j, children: [
1918
- /* @__PURE__ */ t.jsx(N, { name: "exit", className: "pkt-link__icon" }),
1234
+ /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list", children: (o || !b) && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1235
+ o == null ? void 0 : o.map((m, S) => /* @__PURE__ */ e.jsx("li", { children: typeof m.target == "string" ? /* @__PURE__ */ e.jsxs("a", { href: m.target, className: "pkt-link", children: [
1236
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1237
+ m.title
1238
+ ] }) : /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: m.target, children: [
1239
+ m.iconName && /* @__PURE__ */ e.jsx(x, { name: m.iconName, className: "pkt-link__icon" }),
1240
+ m.title
1241
+ ] }) }, `userOptions-${S}`)),
1242
+ !b && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs("button", { className: "pkt-link-button pkt-link", onClick: P, children: [
1243
+ /* @__PURE__ */ e.jsx(x, { name: "exit", className: "pkt-link__icon" }),
1919
1244
  "Logg ut"
1920
1245
  ] }) })
1921
1246
  ] }) }) }),
1922
- u && /* @__PURE__ */ t.jsx("li", { className: "footer", children: /* @__PURE__ */ t.jsx("ul", { className: "pkt-list-horizontal bordered", children: u.map((b, L) => /* @__PURE__ */ t.jsx("li", { children: typeof b.target == "string" ? /* @__PURE__ */ t.jsx("a", { href: b.target, className: "pkt-link", children: b.title }) : /* @__PURE__ */ t.jsx("button", { className: "pkt-link-button pkt-link", onClick: b.target, children: b.title }) }, `userMenuFooter-${L}`)) }) })
1247
+ i && /* @__PURE__ */ e.jsx("li", { className: "footer", children: /* @__PURE__ */ e.jsx("ul", { className: "pkt-list-horizontal bordered", children: i.map((m, S) => /* @__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-${S}`)) }) })
1923
1248
  ] })
1924
1249
  ]
1925
1250
  }
1926
1251
  ),
1927
- O && /* @__PURE__ */ t.jsx("li", { children: O }),
1928
- k && /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx(
1929
- de,
1252
+ F && /* @__PURE__ */ e.jsx("li", { children: F }),
1253
+ b && /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
1254
+ ie,
1930
1255
  {
1931
1256
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
1932
1257
  iconName: "exit",
1933
1258
  role: "button",
1934
- onClick: j,
1259
+ onClick: P,
1935
1260
  skin: "secondary",
1936
1261
  variant: "icon-right",
1937
1262
  children: "Logg ut"
@@ -1942,721 +1267,721 @@ const ne = /* @__PURE__ */ hn(fr), Nr = V(
1942
1267
  }
1943
1268
  );
1944
1269
  }
1945
- ), dr = X.forwardRef(
1946
- ({ label: e, id: r, children: a, ...i }, l) => /* @__PURE__ */ t.jsxs("div", { className: "pkt-form-group", children: [
1947
- /* @__PURE__ */ t.jsx("label", { htmlFor: r, className: "pkt-form-label", children: e }),
1948
- /* @__PURE__ */ t.jsx("input", { className: "pkt-form-input", id: r, ...i, ref: l }),
1949
- a
1270
+ ), Lt = J.forwardRef(
1271
+ ({ label: r, id: l, children: d, ...p }, u) => /* @__PURE__ */ e.jsxs("div", { className: "pkt-form-group", children: [
1272
+ /* @__PURE__ */ e.jsx("label", { htmlFor: l, className: "pkt-form-label", children: r }),
1273
+ /* @__PURE__ */ e.jsx("input", { className: "pkt-form-input", id: l, ...p, ref: u }),
1274
+ d
1950
1275
  ] })
1951
1276
  );
1952
- dr.displayName = "PktInput";
1953
- const Re = V(
1277
+ Lt.displayName = "PktInput";
1278
+ const de = D(
1954
1279
  ({
1955
- forId: e,
1956
- label: r,
1957
- helptext: a,
1958
- helptextDropdown: i,
1959
- helptextDropdownButton: l,
1960
- optionalTag: s = !1,
1280
+ forId: r,
1281
+ label: l,
1282
+ helptext: d,
1283
+ helptextDropdown: p,
1284
+ helptextDropdownButton: u,
1285
+ optionalTag: n = !1,
1961
1286
  optionalText: c = "Valgfritt",
1962
- requiredTag: o = !1,
1963
- requiredText: p = "Må fylles ut",
1964
- hasError: u,
1965
- errorMessage: d,
1966
- disabled: h,
1967
- inline: k,
1287
+ requiredTag: a = !1,
1288
+ requiredText: o = "Må fylles ut",
1289
+ hasError: i,
1290
+ errorMessage: k,
1291
+ disabled: _,
1292
+ inline: b,
1968
1293
  ariaDescribedby: C,
1969
- useWrapper: j = !0,
1970
- children: S,
1971
- className: O,
1972
- hasFieldset: R = !1
1973
- }, _) => {
1974
- const [v, y] = te(!1), A = () => {
1975
- y(!v);
1976
- }, U = () => s ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : o ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", W = s ? c : o ? p : "", B = h ? "pkt-inputwrapper--disabled" : "", M = k ? "pkt-inputwrapper--inline" : "", Y = u ? "pkt-inputwrapper--error" : "", z = !!i && i !== "", K = l || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', I = R ? "fieldset" : z ? "div" : "label", b = R ? "legend" : z ? "h2" : "span", L = C || (a ? `${e}-helptext` : void 0);
1977
- return /* @__PURE__ */ t.jsxs("div", { className: ["pkt-inputwrapper", O, B, M, Y].join(" "), ref: _, children: [
1978
- j ? /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsxs(
1979
- I,
1294
+ useWrapper: P = !0,
1295
+ children: O,
1296
+ className: F,
1297
+ hasFieldset: E = !1
1298
+ }, y) => {
1299
+ const [j, I] = Z(!1), U = () => {
1300
+ I(!j);
1301
+ }, W = () => n ? "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" : "", Y = n ? c : a ? o : "", H = _ ? "pkt-inputwrapper--disabled" : "", M = b ? "pkt-inputwrapper--inline" : "", z = i ? "pkt-inputwrapper--error" : "", V = !!p && p !== "", A = u || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', T = E ? "fieldset" : V ? "div" : "label", m = E ? "legend" : V ? "h2" : "span", S = C || (d ? `${r}-helptext` : void 0);
1302
+ return /* @__PURE__ */ e.jsxs("div", { className: ["pkt-inputwrapper", F, H, M, z].join(" "), ref: y, children: [
1303
+ P ? /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs(
1304
+ T,
1980
1305
  {
1981
- htmlFor: R ? void 0 : e,
1982
- "aria-describedby": z ? void 0 : C,
1983
- className: `pkt-inputwrapper__label${R ? " pkt-inputwrapper__fieldset" : ""}`,
1306
+ htmlFor: E ? void 0 : r,
1307
+ "aria-describedby": V ? void 0 : C,
1308
+ className: `pkt-inputwrapper__label${E ? " pkt-inputwrapper__fieldset" : ""}`,
1984
1309
  children: [
1985
- /* @__PURE__ */ t.jsxs(b, { id: `${e}-label`, className: `${R ? " pkt-inputwrapper__legend" : ""}`, children: [
1986
- r,
1987
- W !== "" && /* @__PURE__ */ t.jsx("span", { className: U(), children: W })
1310
+ /* @__PURE__ */ e.jsxs(m, { id: `${r}-label`, className: `${E ? " pkt-inputwrapper__legend" : ""}`, children: [
1311
+ l,
1312
+ Y !== "" && /* @__PURE__ */ e.jsx("span", { className: W(), children: Y })
1988
1313
  ] }),
1989
- a && /* @__PURE__ */ t.jsx(
1314
+ d && /* @__PURE__ */ e.jsx(
1990
1315
  "div",
1991
1316
  {
1992
1317
  className: "pkt-inputwrapper__helptext",
1993
- id: `${e}-helptext`,
1994
- dangerouslySetInnerHTML: { __html: a }
1318
+ id: `${r}-helptext`,
1319
+ dangerouslySetInnerHTML: { __html: d }
1995
1320
  }
1996
1321
  ),
1997
- z && i !== "" && /* @__PURE__ */ t.jsxs("div", { children: [
1998
- /* @__PURE__ */ t.jsx(
1999
- de,
1322
+ V && p !== "" && /* @__PURE__ */ e.jsxs("div", { children: [
1323
+ /* @__PURE__ */ e.jsx(
1324
+ ie,
2000
1325
  {
2001
1326
  skin: "tertiary",
2002
1327
  size: "small",
2003
1328
  variant: "icon-right",
2004
- iconName: v ? "chevron-thin-up" : "chevron-thin-down",
1329
+ iconName: j ? "chevron-thin-up" : "chevron-thin-down",
2005
1330
  className: "pkt-inputwrapper__helptext-expandable pkt-link pkt-link--icon-right",
2006
- onClick: A,
2007
- children: /* @__PURE__ */ t.jsx("span", { dangerouslySetInnerHTML: { __html: K } })
1331
+ onClick: U,
1332
+ children: /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: A } })
2008
1333
  }
2009
1334
  ),
2010
- /* @__PURE__ */ t.jsx(
1335
+ /* @__PURE__ */ e.jsx(
2011
1336
  "div",
2012
1337
  {
2013
- className: `pkt-inputwrapper__helptext ${v ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
2014
- children: /* @__PURE__ */ t.jsx("span", { dangerouslySetInnerHTML: { __html: i } })
1338
+ className: `pkt-inputwrapper__helptext ${j ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1339
+ children: /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: p } })
2015
1340
  }
2016
1341
  ),
2017
- !R && /* @__PURE__ */ t.jsx("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": L, children: r })
1342
+ !E && /* @__PURE__ */ e.jsx("label", { htmlFor: r, className: "pkt-sr-only", "aria-describedby": S, children: l })
2018
1343
  ] }),
2019
- /* @__PURE__ */ t.jsx(t.Fragment, { children: S })
1344
+ /* @__PURE__ */ e.jsx(e.Fragment, { children: O })
2020
1345
  ]
2021
1346
  }
2022
- ) }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2023
- !R && /* @__PURE__ */ t.jsx("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": L, id: `${e}-label`, children: r }),
2024
- S
1347
+ ) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1348
+ !E && /* @__PURE__ */ e.jsx("label", { htmlFor: r, className: "pkt-sr-only", "aria-describedby": S, id: `${r}-label`, children: l }),
1349
+ O
2025
1350
  ] }),
2026
- u && d && /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(jn, { skin: "error", "aria-live": "assertive", id: `${e}-error`, compact: !0, children: d }) })
1351
+ i && k && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(Ft, { skin: "error", "aria-live": "assertive", id: `${r}-error`, compact: !0, children: k }) })
2027
1352
  ] });
2028
1353
  }
2029
1354
  );
2030
- Re.displayName = "PktInputWrapper";
2031
- const mr = V(
1355
+ de.displayName = "PktInputWrapper";
1356
+ const Bt = D(
2032
1357
  ({
2033
- children: e,
2034
- className: r,
2035
- iconName: a = "user",
2036
- openInNewTab: i = !1,
2037
- skin: l = "normal",
2038
- href: s = "#",
1358
+ children: r,
1359
+ className: l,
1360
+ iconName: d = "user",
1361
+ openInNewTab: p = !1,
1362
+ skin: u = "normal",
1363
+ href: n = "#",
2039
1364
  external: c = !1,
2040
- title: o,
2041
- ...p
2042
- }, u) => {
2043
- const d = [r, "pkt-linkcard", l && `pkt-linkcard--${l}`].filter(Boolean).join(" ");
2044
- return /* @__PURE__ */ t.jsxs(
1365
+ title: a,
1366
+ ...o
1367
+ }, i) => {
1368
+ const k = [l, "pkt-linkcard", u && `pkt-linkcard--${u}`].filter(Boolean).join(" ");
1369
+ return /* @__PURE__ */ e.jsxs(
2045
1370
  "a",
2046
1371
  {
2047
- ...p,
2048
- href: s,
2049
- className: `pkt-linkcard pkt-link ${d}`,
2050
- target: i ? "_blank" : "_self",
2051
- rel: i ? "noopener noreferrer" : void 0,
2052
- ref: u,
1372
+ ...o,
1373
+ href: n,
1374
+ className: `pkt-linkcard pkt-link ${k}`,
1375
+ target: p ? "_blank" : "_self",
1376
+ rel: p ? "noopener noreferrer" : void 0,
1377
+ ref: i,
2053
1378
  children: [
2054
- /* @__PURE__ */ t.jsx(N, { className: "pkt-link__icon", name: a }),
2055
- /* @__PURE__ */ t.jsxs("div", { className: "pkt-linkcard__content", children: [
2056
- /* @__PURE__ */ t.jsx("div", { className: `pkt-linkcard__title ${c ? "pkt-link pkt-link--external" : ""}`, children: o }),
2057
- /* @__PURE__ */ t.jsx("div", { className: "pkt-linkcard__text", children: e })
1379
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-link__icon", name: d }),
1380
+ /* @__PURE__ */ e.jsxs("div", { className: "pkt-linkcard__content", children: [
1381
+ /* @__PURE__ */ e.jsx("div", { className: `pkt-linkcard__title ${c ? "pkt-link pkt-link--external" : ""}`, children: a }),
1382
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-linkcard__text", children: r })
2058
1383
  ] })
2059
1384
  ]
2060
1385
  }
2061
1386
  );
2062
1387
  }
2063
1388
  );
2064
- mr.displayName = "PktLinkCard";
2065
- const jr = V(
1389
+ Bt.displayName = "PktLinkCard";
1390
+ const Jt = D(
2066
1391
  ({
2067
- className: e,
2068
- message: r,
2069
- size: a = "medium",
2070
- inline: i = !1,
2071
- isLoading: l = !0,
2072
- variant: s = "rainbow",
1392
+ className: r,
1393
+ message: l,
1394
+ size: d = "medium",
1395
+ inline: p = !1,
1396
+ isLoading: u = !0,
1397
+ variant: n = "rainbow",
2073
1398
  delay: c = 0,
2074
- children: o,
2075
- ...p
2076
- }, u) => {
2077
- const d = `pkt-loader pkt-loader--${a}`, [h, k] = te(!(c > 0));
1399
+ children: a,
1400
+ ...o
1401
+ }, i) => {
1402
+ const k = `pkt-loader pkt-loader--${d}`, [_, b] = Z(!(c > 0));
2078
1403
  c > 0 && setTimeout(() => {
2079
- k(!0);
1404
+ b(!0);
2080
1405
  }, c);
2081
- const C = (j) => j === "shapes" ? "loader" : j === "blue" ? "spinner-blue" : "spinner";
2082
- return /* @__PURE__ */ t.jsx(
1406
+ const C = (P) => P === "shapes" ? "loader" : P === "blue" ? "spinner-blue" : "spinner";
1407
+ return /* @__PURE__ */ e.jsx(
2083
1408
  "div",
2084
1409
  {
2085
1410
  role: "status",
2086
1411
  "aria-live": "polite",
2087
- "aria-busy": l,
2088
- className: `pkt-loader--${i ? "inline" : "box"} ${e || ""}`,
2089
- children: l ? /* @__PURE__ */ t.jsx(t.Fragment, { children: h ? /* @__PURE__ */ t.jsxs("div", { className: d, "data-testid": "pkt-loader", ref: u, ...p, children: [
2090
- /* @__PURE__ */ t.jsx(
2091
- N,
1412
+ "aria-busy": u,
1413
+ className: `pkt-loader--${p ? "inline" : "box"} ${r || ""}`,
1414
+ children: u ? /* @__PURE__ */ e.jsx(e.Fragment, { children: _ ? /* @__PURE__ */ e.jsxs("div", { className: k, "data-testid": "pkt-loader", ref: i, ...o, children: [
1415
+ /* @__PURE__ */ e.jsx(
1416
+ x,
2092
1417
  {
2093
- name: C(s),
1418
+ name: C(n),
2094
1419
  "aria-label": "loading",
2095
1420
  path: "https://punkt-cdn.oslo.kommune.no/11.13/animations/",
2096
- className: `pkt-loader__svg pkt-loader__${s}`
1421
+ className: `pkt-loader__svg pkt-loader__${n}`
2097
1422
  }
2098
1423
  ),
2099
- r && /* @__PURE__ */ t.jsx("p", { children: r })
2100
- ] }) : null }) : o
1424
+ l && /* @__PURE__ */ e.jsx("p", { children: l })
1425
+ ] }) : null }) : a
2101
1426
  }
2102
1427
  );
2103
1428
  }
2104
- ), yr = V(
1429
+ ), Gt = D(
2105
1430
  ({
2106
- children: e,
2107
- className: r,
2108
- compact: a = !1,
2109
- closable: i = !1,
2110
- skin: l = "beige",
2111
- title: s,
1431
+ children: r,
1432
+ className: l,
1433
+ compact: d = !1,
1434
+ closable: p = !1,
1435
+ skin: u = "beige",
1436
+ title: n,
2112
1437
  onClose: c,
2113
- ...o
2114
- }, p) => {
2115
- const [u, d] = te(!0), h = () => {
2116
- d(!1), c && c();
2117
- }, k = [
2118
- r,
1438
+ ...a
1439
+ }, o) => {
1440
+ const [i, k] = Z(!0), _ = () => {
1441
+ k(!1), c && c();
1442
+ }, b = [
1443
+ l,
2119
1444
  "pkt-messagebox",
2120
- l && `pkt-messagebox--${l}`,
2121
- a && "pkt-messagebox--compact"
1445
+ u && `pkt-messagebox--${u}`,
1446
+ d && "pkt-messagebox--compact"
2122
1447
  ].filter(Boolean).join(" ");
2123
- return u ? /* @__PURE__ */ t.jsxs("div", { ...o, className: k, ref: p, children: [
2124
- i && /* @__PURE__ */ t.jsx("div", { className: "pkt-messagebox__close", children: /* @__PURE__ */ t.jsx(
1448
+ return i ? /* @__PURE__ */ e.jsxs("div", { ...a, className: b, ref: o, children: [
1449
+ p && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__close", children: /* @__PURE__ */ e.jsx(
2125
1450
  "button",
2126
1451
  {
2127
1452
  type: "button",
2128
1453
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
2129
1454
  tabIndex: 0,
2130
1455
  "aria-label": "close",
2131
- onClick: h,
2132
- children: /* @__PURE__ */ t.jsx(N, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
1456
+ onClick: _,
1457
+ children: /* @__PURE__ */ e.jsx(x, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
2133
1458
  }
2134
1459
  ) }),
2135
- s && /* @__PURE__ */ t.jsx("div", { className: "pkt-messagebox__title", children: s }),
2136
- /* @__PURE__ */ t.jsx("div", { className: "pkt-messagebox__text", children: e })
1460
+ n && /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__title", children: n }),
1461
+ /* @__PURE__ */ e.jsx("div", { className: "pkt-messagebox__text", children: r })
2137
1462
  ] }) : null;
2138
1463
  }
2139
- ), hr = V(
1464
+ ), Wt = D(
2140
1465
  ({
2141
- id: e,
2142
- name: r,
2143
- label: a,
2144
- className: i,
2145
- hasTile: l = !1,
2146
- disabled: s = !1,
1466
+ id: r,
1467
+ name: l,
1468
+ label: d,
1469
+ className: p,
1470
+ hasTile: u = !1,
1471
+ disabled: n = !1,
2147
1472
  checkHelptext: c,
2148
- hasError: o = !1,
2149
- ...p
2150
- }, u) => {
2151
- const d = [
2152
- i,
1473
+ hasError: a = !1,
1474
+ ...o
1475
+ }, i) => {
1476
+ const k = [
1477
+ p,
2153
1478
  "pkt-input-check"
2154
1479
  ].filter(Boolean).join(" ");
2155
- return /* @__PURE__ */ t.jsx("div", { className: d, children: /* @__PURE__ */ t.jsxs("div", { className: `pkt-input-check__input ${l ? "pkt-input-check__input--tile" : ""} ${s && l ? "pkt-input-check__input--tile-disabled" : ""}`, children: [
2156
- /* @__PURE__ */ t.jsx(
1480
+ return /* @__PURE__ */ e.jsx("div", { className: k, children: /* @__PURE__ */ e.jsxs("div", { className: `pkt-input-check__input ${u ? "pkt-input-check__input--tile" : ""} ${n && u ? "pkt-input-check__input--tile-disabled" : ""}`, children: [
1481
+ /* @__PURE__ */ e.jsx(
2157
1482
  "input",
2158
1483
  {
2159
- ref: u,
2160
- className: `pkt-input-check__input-checkbox ${o ? "pkt-input-check__input-checkbox--error" : ""}`,
1484
+ ref: i,
1485
+ className: `pkt-input-check__input-checkbox ${a ? "pkt-input-check__input-checkbox--error" : ""}`,
2161
1486
  type: "radio",
2162
- id: e,
2163
- disabled: s,
2164
- name: r,
2165
- ...p
1487
+ id: r,
1488
+ disabled: n,
1489
+ name: l,
1490
+ ...o
2166
1491
  }
2167
1492
  ),
2168
- /* @__PURE__ */ t.jsxs("label", { className: "pkt-input-check__input-label", htmlFor: e, children: [
2169
- a,
2170
- c && /* @__PURE__ */ t.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
1493
+ /* @__PURE__ */ e.jsxs("label", { className: "pkt-input-check__input-label", htmlFor: r, children: [
1494
+ d,
1495
+ c && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-check__input-helptext", children: c })
2171
1496
  ] })
2172
1497
  ] }) });
2173
1498
  }
2174
1499
  );
2175
- hr.displayName = "PktRadioButton";
2176
- const wr = V(
1500
+ Wt.displayName = "PktRadioButton";
1501
+ const qt = D(
2177
1502
  ({
2178
- action: e,
2179
- appearance: r = "local",
2180
- disabled: a = !1,
2181
- fullwidth: i = !1,
2182
- id: l,
2183
- label: s,
1503
+ action: r,
1504
+ appearance: l = "local",
1505
+ disabled: d = !1,
1506
+ fullwidth: p = !1,
1507
+ id: u,
1508
+ label: n,
2184
1509
  method: c = "get",
2185
- name: o,
2186
- placeholder: p = "Søk…",
2187
- suggestions: u,
2188
- value: d = "",
2189
- onSearch: h,
2190
- onSuggestionClick: k,
1510
+ name: a,
1511
+ placeholder: o = "Søk…",
1512
+ suggestions: i,
1513
+ value: k = "",
1514
+ onSearch: _,
1515
+ onSuggestionClick: b,
2191
1516
  ...C
2192
- }, j) => {
2193
- const S = (v, y) => {
2194
- v ? v() : k && k(y);
2195
- }, O = `pkt-searchinput pkt-searchinput--${r} ${i ? "pkt-searchinput--fullwidth" : ""}`, R = e ? "form" : "div", _ = s ? "label" : "div";
2196
- return /* @__PURE__ */ t.jsxs(
2197
- R,
1517
+ }, P) => {
1518
+ const O = (j, I) => {
1519
+ j ? j() : b && b(I);
1520
+ }, F = `pkt-searchinput pkt-searchinput--${l} ${p ? "pkt-searchinput--fullwidth" : ""}`, E = r ? "form" : "div", y = n ? "label" : "div";
1521
+ return /* @__PURE__ */ e.jsxs(
1522
+ E,
2198
1523
  {
2199
- className: O,
2200
- onSubmit: h && (() => h(d)),
2201
- action: e || void 0,
2202
- method: e ? c : void 0,
1524
+ className: F,
1525
+ onSubmit: _ && (() => _(k)),
1526
+ action: r || void 0,
1527
+ method: r ? c : void 0,
2203
1528
  role: "search",
2204
- ref: j,
1529
+ ref: P,
2205
1530
  ...C,
2206
1531
  children: [
2207
- /* @__PURE__ */ t.jsxs(_, { htmlFor: s ? l : void 0, className: s ? "pkt-inputwrapper__label" : "", children: [
2208
- s && /* @__PURE__ */ t.jsx(t.Fragment, { children: s }),
2209
- /* @__PURE__ */ t.jsxs("div", { className: r === "local" ? "pkt-input__container" : "pkt-searchinput__field", children: [
2210
- /* @__PURE__ */ t.jsx(
1532
+ /* @__PURE__ */ e.jsxs(y, { htmlFor: n ? u : void 0, className: n ? "pkt-inputwrapper__label" : "", children: [
1533
+ n && /* @__PURE__ */ e.jsx(e.Fragment, { children: n }),
1534
+ /* @__PURE__ */ e.jsxs("div", { className: l === "local" ? "pkt-input__container" : "pkt-searchinput__field", children: [
1535
+ /* @__PURE__ */ e.jsx(
2211
1536
  "input",
2212
1537
  {
2213
- className: `pkt-input ${i ? "pkt-input--fullwidth" : ""}`,
1538
+ className: `pkt-input ${p ? "pkt-input--fullwidth" : ""}`,
2214
1539
  type: "search",
2215
- name: o || l,
2216
- id: l,
2217
- placeholder: p,
2218
- defaultValue: d,
2219
- disabled: a,
2220
- onInput: h && ((v) => h(v.currentTarget.value)),
1540
+ name: a || u,
1541
+ id: u,
1542
+ placeholder: o,
1543
+ defaultValue: k,
1544
+ disabled: d,
1545
+ onInput: _ && ((j) => _(j.currentTarget.value)),
2221
1546
  autoComplete: "off",
2222
1547
  "aria-autocomplete": "list",
2223
- "aria-controls": `${l}-suggestions`
1548
+ "aria-controls": `${u}-suggestions`
2224
1549
  }
2225
1550
  ),
2226
- /* @__PURE__ */ t.jsx(
2227
- de,
1551
+ /* @__PURE__ */ e.jsx(
1552
+ ie,
2228
1553
  {
2229
- className: `pkt-searchinput__button ${r === "local" ? "pkt-input-icon" : ""}`,
1554
+ className: `pkt-searchinput__button ${l === "local" ? "pkt-input-icon" : ""}`,
2230
1555
  variant: "icon-only",
2231
1556
  iconName: "magnifying-glass-big",
2232
- skin: r === "local" ? "tertiary" : "primary",
2233
- color: r === "global" ? "yellow" : void 0,
1557
+ skin: l === "local" ? "tertiary" : "primary",
1558
+ color: l === "global" ? "yellow" : void 0,
2234
1559
  type: "submit",
2235
- disabled: a,
2236
- onClick: h && (() => h(d)),
2237
- onKeyUp: h && ((v) => v.key === "Enter" && h(d)),
2238
- children: s || p
1560
+ disabled: d,
1561
+ onClick: _ && (() => _(k)),
1562
+ onKeyUp: _ && ((j) => j.key === "Enter" && _(k)),
1563
+ children: n || o
2239
1564
  }
2240
1565
  )
2241
1566
  ] })
2242
1567
  ] }),
2243
- u && /* @__PURE__ */ t.jsx("ul", { id: `${l}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: u.map((v, y) => /* @__PURE__ */ t.jsx("li", { children: X.createElement(
2244
- v.href ? "a" : v.onClick ? "button" : "div",
1568
+ i && /* @__PURE__ */ e.jsx("ul", { id: `${u}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: i.map((j, I) => /* @__PURE__ */ e.jsx("li", { children: J.createElement(
1569
+ j.href ? "a" : j.onClick ? "button" : "div",
2245
1570
  {
2246
- href: v.href,
2247
- className: `pkt-searchinput__suggestion ${v.onClick ? "pkt-link-button" : ""} ${v.href || v.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
2248
- type: v.onClick ? "button" : void 0,
2249
- onClick: () => S(v.onClick, y),
2250
- onKeyUp: () => S(v.onClick, y)
1571
+ href: j.href,
1572
+ className: `pkt-searchinput__suggestion ${j.onClick ? "pkt-link-button" : ""} ${j.href || j.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
1573
+ type: j.onClick ? "button" : void 0,
1574
+ onClick: () => O(j.onClick, I),
1575
+ onKeyUp: () => O(j.onClick, I)
2251
1576
  },
2252
- /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2253
- v.title && /* @__PURE__ */ t.jsx("h3", { className: "pkt-searchinput__suggestion-title", children: v.title }),
2254
- v.text && /* @__PURE__ */ t.jsx("p", { className: "pkt-searchinput__suggestion-text", children: v.text })
1577
+ /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1578
+ j.title && /* @__PURE__ */ e.jsx("h3", { className: "pkt-searchinput__suggestion-title", children: j.title }),
1579
+ j.text && /* @__PURE__ */ e.jsx("p", { className: "pkt-searchinput__suggestion-text", children: j.text })
2255
1580
  ] })
2256
- ) }, `search-suggestion-${y}`)) })
1581
+ ) }, `search-suggestion-${I}`)) })
2257
1582
  ]
2258
1583
  }
2259
1584
  );
2260
1585
  }
2261
- ), Er = V(
1586
+ ), Xt = D(
2262
1587
  ({
2263
- ariaDescribedby: e,
2264
- ariaLabelledby: r,
2265
- children: a,
2266
- className: i,
2267
- disabled: l = !1,
2268
- errorMessage: s,
1588
+ ariaDescribedby: r,
1589
+ ariaLabelledby: l,
1590
+ children: d,
1591
+ className: p,
1592
+ disabled: u = !1,
1593
+ errorMessage: n,
2269
1594
  hasError: c,
2270
- helptext: o,
2271
- helptextDropdown: p,
2272
- helptextDropdownButton: u,
2273
- id: d,
2274
- inline: h = !1,
2275
- fullwidth: k = !1,
1595
+ helptext: a,
1596
+ helptextDropdown: o,
1597
+ helptextDropdownButton: i,
1598
+ id: k,
1599
+ inline: _ = !1,
1600
+ fullwidth: b = !1,
2276
1601
  label: C,
2277
- name: j,
2278
- optionalTag: S = !1,
2279
- optionalText: O,
2280
- requiredTag: R = !1,
2281
- requiredText: _,
2282
- ...v
2283
- }, y) => {
2284
- const A = [i, "pkt-select"].join(" ");
2285
- return /* @__PURE__ */ t.jsx(
2286
- Re,
1602
+ name: P,
1603
+ optionalTag: O = !1,
1604
+ optionalText: F,
1605
+ requiredTag: E = !1,
1606
+ requiredText: y,
1607
+ ...j
1608
+ }, I) => {
1609
+ const U = [p, "pkt-select"].join(" ");
1610
+ return /* @__PURE__ */ e.jsx(
1611
+ de,
2287
1612
  {
2288
- className: A,
2289
- forId: d,
1613
+ className: U,
1614
+ forId: k,
2290
1615
  label: C,
2291
- helptext: o,
2292
- helptextDropdown: p,
2293
- helptextDropdownButton: u,
2294
- optionalTag: S,
2295
- optionalText: O,
2296
- requiredTag: R,
2297
- requiredText: _,
1616
+ helptext: a,
1617
+ helptextDropdown: o,
1618
+ helptextDropdownButton: i,
1619
+ optionalTag: O,
1620
+ optionalText: F,
1621
+ requiredTag: E,
1622
+ requiredText: y,
2298
1623
  hasError: c,
2299
- errorMessage: s,
2300
- disabled: l,
2301
- inline: h,
2302
- ariaDescribedby: e,
2303
- children: /* @__PURE__ */ t.jsx(
1624
+ errorMessage: n,
1625
+ disabled: u,
1626
+ inline: _,
1627
+ ariaDescribedby: r,
1628
+ children: /* @__PURE__ */ e.jsx(
2304
1629
  "select",
2305
1630
  {
2306
- ref: y,
2307
- className: `pkt-input ${k ? "pkt-input--fullwidth" : ""}`,
1631
+ ref: I,
1632
+ className: `pkt-input ${b ? "pkt-input--fullwidth" : ""}`,
2308
1633
  "aria-invalid": c,
2309
- "aria-errormessage": `${d}-error`,
2310
- "aria-labelledby": r || `${d}-label`,
2311
- disabled: l,
2312
- id: d,
2313
- name: j || d,
2314
- ...v,
2315
- children: a
1634
+ "aria-errormessage": `${k}-error`,
1635
+ "aria-labelledby": l || `${k}-label`,
1636
+ disabled: u,
1637
+ id: k,
1638
+ name: P || k,
1639
+ ...j,
1640
+ children: d
2316
1641
  }
2317
1642
  )
2318
1643
  }
2319
1644
  );
2320
1645
  }
2321
- ), Cr = ({
2322
- className: e,
2323
- compact: r = !1,
2324
- skin: a = "basic",
2325
- responsiveView: i = !0,
2326
- children: l
2327
- }) => /* @__PURE__ */ t.jsx(
1646
+ ), Zt = ({
1647
+ className: r,
1648
+ compact: l = !1,
1649
+ skin: d = "basic",
1650
+ responsiveView: p = !0,
1651
+ children: u
1652
+ }) => /* @__PURE__ */ e.jsx(
2328
1653
  "table",
2329
1654
  {
2330
1655
  "data-testid": "pkt-table",
2331
- className: ne(e, "pkt-table", {
2332
- "pkt-table--responsive": i,
2333
- "pkt-table--compact": r,
2334
- "pkt-table--basic": a === "basic",
2335
- "pkt-table--zebra-blue": a === "zebra-blue"
1656
+ className: Q(r, "pkt-table", {
1657
+ "pkt-table--responsive": p,
1658
+ "pkt-table--compact": l,
1659
+ "pkt-table--basic": d === "basic",
1660
+ "pkt-table--zebra-blue": d === "zebra-blue"
2336
1661
  }),
2337
1662
  role: "table",
2338
- children: l
1663
+ children: u
2339
1664
  }
2340
- ), Rr = ({ children: e, className: r, dataLabel: a }) => /* @__PURE__ */ t.jsx(
1665
+ ), Qt = ({ children: r, className: l, dataLabel: d }) => /* @__PURE__ */ e.jsx(
2341
1666
  "td",
2342
1667
  {
2343
- className: ne(r, "pkt-table__data-cell", {}),
2344
- "data-label": a,
1668
+ className: Q(l, "pkt-table__data-cell", {}),
1669
+ "data-label": d,
2345
1670
  role: "cell",
2346
1671
  "data-testid": "pkt-table__data-cell",
2347
- children: e
1672
+ children: r
2348
1673
  }
2349
- ), Pr = ({ className: e, children: r }) => /* @__PURE__ */ t.jsx("th", { className: ne(e, "pkt-table__header-cell", {}), role: "columnheader", children: r }), Sr = ({ className: e, children: r }) => /* @__PURE__ */ t.jsx("thead", { className: ne(e, "pkt-table__header", {}), role: "rowgroup", children: r }), Tr = ({ className: e, children: r }) => /* @__PURE__ */ t.jsx("tr", { className: ne(e, "pkt-table__row", {}), role: "row", children: r }), Or = ({ children: e, className: r }) => /* @__PURE__ */ t.jsx("tbody", { className: ne(r, "pkt-table__body", {}), role: "rowgroup", children: e }), Je = V(({
2350
- children: e,
2351
- className: r,
2352
- skin: a = "blue",
2353
- textStyle: i = "normal-text",
2354
- size: l = "medium",
2355
- closeTag: s = !1,
1674
+ ), er = ({ className: r, children: l }) => /* @__PURE__ */ e.jsx("th", { className: Q(r, "pkt-table__header-cell", {}), role: "columnheader", children: l }), tr = ({ className: r, children: l }) => /* @__PURE__ */ e.jsx("thead", { className: Q(r, "pkt-table__header", {}), role: "rowgroup", children: l }), rr = ({ className: r, children: l }) => /* @__PURE__ */ e.jsx("tr", { className: Q(r, "pkt-table__row", {}), role: "row", children: l }), nr = ({ children: r, className: l }) => /* @__PURE__ */ e.jsx("tbody", { className: Q(l, "pkt-table__body", {}), role: "rowgroup", children: r }), we = D(({
1675
+ children: r,
1676
+ className: l,
1677
+ skin: d = "blue",
1678
+ textStyle: p = "normal-text",
1679
+ size: u = "medium",
1680
+ closeTag: n = !1,
2356
1681
  iconName: c = "",
2357
- type: o = "button",
2358
- ariaLabel: p = "close",
2359
- onClick: u = () => {
1682
+ type: a = "button",
1683
+ ariaLabel: o = "close",
1684
+ onClick: i = () => {
2360
1685
  }
2361
- }, d) => {
2362
- const [h, k] = te(!1), C = (R) => {
2363
- k(!0), u(R);
2364
- }, j = [
1686
+ }, k) => {
1687
+ const [_, b] = Z(!1), C = (E) => {
1688
+ b(!0), i(E);
1689
+ }, P = [
2365
1690
  "pkt-tag",
2366
- l && `pkt-tag--${l}`,
2367
- a && `pkt-tag--${a}`,
2368
- i && `pkt-tag--${i}`,
2369
- r
2370
- ].filter(Boolean).join(" "), S = [
1691
+ u && `pkt-tag--${u}`,
1692
+ d && `pkt-tag--${d}`,
1693
+ p && `pkt-tag--${p}`,
1694
+ l
1695
+ ].filter(Boolean).join(" "), O = [
2371
1696
  "pkt-tag",
2372
1697
  "pkt-btn",
2373
1698
  "pkt-btn--tertiary",
2374
- l && `pkt-tag--${l}`,
2375
- a && `pkt-tag--${a}`,
2376
- i && `pkt-tag--${i}`,
2377
- c && s ? "pkt-btn--icons-right-and-left" : null,
2378
- s && !c ? "pkt-btn--icon-right" : null,
2379
- r
2380
- ].filter(Boolean).join(" "), O = !h;
2381
- return s && c ? /* @__PURE__ */ t.jsx(t.Fragment, { children: O && /* @__PURE__ */ t.jsxs(
1699
+ u && `pkt-tag--${u}`,
1700
+ d && `pkt-tag--${d}`,
1701
+ p && `pkt-tag--${p}`,
1702
+ c && n ? "pkt-btn--icons-right-and-left" : null,
1703
+ n && !c ? "pkt-btn--icon-right" : null,
1704
+ l
1705
+ ].filter(Boolean).join(" "), F = !_;
1706
+ return n && c ? /* @__PURE__ */ e.jsx(e.Fragment, { children: F && /* @__PURE__ */ e.jsxs(
2382
1707
  "button",
2383
1708
  {
2384
- className: S,
2385
- type: o,
2386
- "aria-label": p,
1709
+ className: O,
1710
+ type: a,
1711
+ "aria-label": o,
2387
1712
  onClick: C,
2388
- ref: d,
1713
+ ref: k,
2389
1714
  children: [
2390
- /* @__PURE__ */ t.jsx(N, { className: "pkt-tag__icon", name: c }),
2391
- e,
2392
- /* @__PURE__ */ t.jsx(N, { className: "pkt-tag__close-btn", name: "close" })
1715
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__icon", name: c }),
1716
+ r,
1717
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__close-btn", name: "close" })
2393
1718
  ]
2394
1719
  }
2395
- ) }) : s ? /* @__PURE__ */ t.jsx(t.Fragment, { children: O && /* @__PURE__ */ t.jsxs(
1720
+ ) }) : n ? /* @__PURE__ */ e.jsx(e.Fragment, { children: F && /* @__PURE__ */ e.jsxs(
2396
1721
  "button",
2397
1722
  {
2398
- className: S,
2399
- type: o,
2400
- "aria-label": p,
1723
+ className: O,
1724
+ type: a,
1725
+ "aria-label": o,
2401
1726
  onClick: C,
2402
- ref: d,
1727
+ ref: k,
2403
1728
  children: [
2404
- /* @__PURE__ */ t.jsx(N, { className: "pkt-tag__close-btn", name: "close" }),
2405
- e
1729
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__close-btn", name: "close" }),
1730
+ r
2406
1731
  ]
2407
1732
  }
2408
- ) }) : c ? /* @__PURE__ */ t.jsxs("span", { className: j, children: [
2409
- /* @__PURE__ */ t.jsx(N, { className: "pkt-tag__icon", name: c }),
2410
- e
2411
- ] }) : /* @__PURE__ */ t.jsx("span", { className: j, children: e });
1733
+ ) }) : c ? /* @__PURE__ */ e.jsxs("span", { className: P, children: [
1734
+ /* @__PURE__ */ e.jsx(x, { className: "pkt-tag__icon", name: c }),
1735
+ r
1736
+ ] }) : /* @__PURE__ */ e.jsx("span", { className: P, children: r });
2412
1737
  });
2413
- Je.displayName = "PktTag";
2414
- const $r = V(
2415
- ({ arrowNav: e = !0, tabs: r, onTabSelected: a }, i) => {
2416
- const l = yt([]);
2417
- ze(() => {
2418
- l.current = l.current.slice(0, r.length);
2419
- }, [r]);
2420
- const s = (o, p) => {
2421
- p.action && p.action(o), a && a(o);
2422
- }, c = (o, p) => {
2423
- var u, d;
2424
- e && (p.code === "ArrowLeft" && o !== 0 && ((u = l.current[o - 1]) == null || u.focus()), p.code === "ArrowRight" && o < r.length - 1 && ((d = l.current[o + 1]) == null || d.focus()), (p.code === "ArrowDown" || p.code === "Space") && s(o, r[o]));
1738
+ we.displayName = "PktTag";
1739
+ const ar = D(
1740
+ ({ arrowNav: r = !0, tabs: l, onTabSelected: d }, p) => {
1741
+ const u = Ge([]);
1742
+ Ee(() => {
1743
+ u.current = u.current.slice(0, l.length);
1744
+ }, [l]);
1745
+ const n = (a, o) => {
1746
+ o.action && o.action(a), d && d(a);
1747
+ }, c = (a, o) => {
1748
+ var i, k;
1749
+ r && (o.code === "ArrowLeft" && a !== 0 && ((i = u.current[a - 1]) == null || i.focus()), o.code === "ArrowRight" && a < l.length - 1 && ((k = u.current[a + 1]) == null || k.focus()), (o.code === "ArrowDown" || o.code === "Space") && n(a, l[a]));
2425
1750
  };
2426
- return /* @__PURE__ */ t.jsx("div", { className: "pkt-tabs", ref: i, children: /* @__PURE__ */ t.jsx("div", { className: "pkt-tabs__list", role: e ? "tablist" : "navigation", children: r.map((o, p) => /* @__PURE__ */ t.jsx(mn, { children: o.href ? /* @__PURE__ */ t.jsxs(
1751
+ return /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs", ref: p, children: /* @__PURE__ */ e.jsx("div", { className: "pkt-tabs__list", role: r ? "tablist" : "navigation", children: l.map((a, o) => /* @__PURE__ */ e.jsx(Et, { children: a.href ? /* @__PURE__ */ e.jsxs(
2427
1752
  "a",
2428
1753
  {
2429
- "aria-selected": !!o.active,
2430
- role: e ? "tab" : void 0,
2431
- href: o.href,
2432
- "aria-controls": o.controls,
2433
- className: `pkt-tabs__link ${o.active ? "active" : ""}`,
2434
- onKeyUp: (u) => c(p, u),
2435
- onClick: () => s(p, o),
2436
- tabIndex: o.active || !e ? void 0 : -1,
2437
- ref: (u) => {
2438
- l.current[p] = u;
1754
+ "aria-selected": !!a.active,
1755
+ role: r ? "tab" : void 0,
1756
+ href: a.href,
1757
+ "aria-controls": a.controls,
1758
+ className: `pkt-tabs__link ${a.active ? "active" : ""}`,
1759
+ onKeyUp: (i) => c(o, i),
1760
+ onClick: () => n(o, a),
1761
+ tabIndex: a.active || !r ? void 0 : -1,
1762
+ ref: (i) => {
1763
+ u.current[o] = i;
2439
1764
  },
2440
1765
  children: [
2441
- o.icon && /* @__PURE__ */ t.jsx(N, { name: o.icon, className: "pkt-icon--small" }),
2442
- o.text,
2443
- o.tag && /* @__PURE__ */ t.jsx(Je, { skin: o.tag.skin, size: "small", children: o.tag.text })
1766
+ a.icon && /* @__PURE__ */ e.jsx(x, { name: a.icon, className: "pkt-icon--small" }),
1767
+ a.text,
1768
+ a.tag && /* @__PURE__ */ e.jsx(we, { skin: a.tag.skin, size: "small", children: a.tag.text })
2444
1769
  ]
2445
1770
  }
2446
- ) : /* @__PURE__ */ t.jsxs(
1771
+ ) : /* @__PURE__ */ e.jsxs(
2447
1772
  "button",
2448
1773
  {
2449
- "aria-selected": !!o.active,
2450
- role: e ? "tab" : void 0,
1774
+ "aria-selected": !!a.active,
1775
+ role: r ? "tab" : void 0,
2451
1776
  type: "button",
2452
- "aria-controls": o.controls,
2453
- className: `pkt-tabs__button pkt-link-button ${o.active ? "active" : ""}`,
2454
- onKeyUp: (u) => c(p, u),
2455
- onClick: () => s(p, o),
2456
- tabIndex: o.active || !e ? void 0 : -1,
2457
- ref: (u) => {
2458
- l.current[p] = u;
1777
+ "aria-controls": a.controls,
1778
+ className: `pkt-tabs__button pkt-link-button ${a.active ? "active" : ""}`,
1779
+ onKeyUp: (i) => c(o, i),
1780
+ onClick: () => n(o, a),
1781
+ tabIndex: a.active || !r ? void 0 : -1,
1782
+ ref: (i) => {
1783
+ u.current[o] = i;
2459
1784
  },
2460
1785
  children: [
2461
- o.icon && /* @__PURE__ */ t.jsx(N, { name: o.icon, className: "pkt-icon--small" }),
2462
- o.text,
2463
- o.tag && /* @__PURE__ */ t.jsx(Je, { skin: o.tag.skin, size: "small", children: o.tag.text })
1786
+ a.icon && /* @__PURE__ */ e.jsx(x, { name: a.icon, className: "pkt-icon--small" }),
1787
+ a.text,
1788
+ a.tag && /* @__PURE__ */ e.jsx(we, { skin: a.tag.skin, size: "small", children: a.tag.text })
2464
1789
  ]
2465
1790
  },
2466
- "b-" + p
2467
- ) }, p)) }) });
1791
+ "b-" + o
1792
+ ) }, o)) }) });
2468
1793
  }
2469
- ), Dr = V(
1794
+ ), sr = D(
2470
1795
  ({
2471
- id: e,
2472
- ariaDescribedby: r,
2473
- ariaLabelledby: a,
2474
- counter: i,
2475
- counterMaxLength: l,
2476
- className: s,
1796
+ id: r,
1797
+ ariaDescribedby: l,
1798
+ ariaLabelledby: d,
1799
+ counter: p,
1800
+ counterMaxLength: u,
1801
+ className: n,
2477
1802
  disabled: c,
2478
- errorMessage: o,
2479
- hasError: p,
2480
- helptext: u,
2481
- helptextDropdown: d,
2482
- helptextDropdownButton: h,
2483
- inline: k,
1803
+ errorMessage: a,
1804
+ hasError: o,
1805
+ helptext: i,
1806
+ helptextDropdown: k,
1807
+ helptextDropdownButton: _,
1808
+ inline: b,
2484
1809
  fullwidth: C = !1,
2485
- label: j,
2486
- name: S,
2487
- optionalTag: O = !1,
2488
- optionalText: R,
2489
- requiredTag: _ = !1,
2490
- requiredText: v,
2491
- placeholder: y,
2492
- rows: A,
2493
- useWrapper: U = !0,
2494
- onChange: W,
2495
- ...B
1810
+ label: P,
1811
+ name: O,
1812
+ optionalTag: F = !1,
1813
+ optionalText: E,
1814
+ requiredTag: y = !1,
1815
+ requiredText: j,
1816
+ placeholder: I,
1817
+ rows: U,
1818
+ useWrapper: W = !0,
1819
+ onChange: Y,
1820
+ ...H
2496
1821
  }, M) => {
2497
- const Y = [s, "pkt-textinput", "pkt-textarea"].join(" "), z = a || `${e}-label`, K = yt(null), [I, b] = te(0), L = (Z) => {
2498
- var Q, oe;
2499
- if (i && b(((oe = (Q = Z.currentTarget) == null ? void 0 : Q.value) == null ? void 0 : oe.length) || 0), W)
2500
- return W(Z);
1822
+ const z = [n, "pkt-textinput", "pkt-textarea"].join(" "), V = d || `${r}-label`, A = Ge(null), [T, m] = Z(0), S = (G) => {
1823
+ var q, re;
1824
+ if (p && m(((re = (q = G.currentTarget) == null ? void 0 : q.value) == null ? void 0 : re.length) || 0), Y)
1825
+ return Y(G);
2501
1826
  };
2502
- return ze(() => {
2503
- var Z, Q;
2504
- typeof M == "function" && M(K.current), i && b(((Q = (Z = K == null ? void 0 : K.current) == null ? void 0 : Z.value) == null ? void 0 : Q.length) || 0);
2505
- }, [M]), /* @__PURE__ */ t.jsxs(
2506
- Re,
1827
+ return Ee(() => {
1828
+ var G, q;
1829
+ typeof M == "function" && M(A.current), p && m(((q = (G = A == null ? void 0 : A.current) == null ? void 0 : G.value) == null ? void 0 : q.length) || 0);
1830
+ }, [M]), /* @__PURE__ */ e.jsxs(
1831
+ de,
2507
1832
  {
2508
- ariaDescribedby: r,
2509
- className: Y,
1833
+ ariaDescribedby: l,
1834
+ className: z,
2510
1835
  disabled: c,
2511
- errorMessage: o,
2512
- forId: e,
2513
- hasError: p,
2514
- helptext: u,
2515
- helptextDropdown: d,
2516
- helptextDropdownButton: h,
2517
- inline: k,
2518
- label: j,
2519
- optionalTag: O,
2520
- optionalText: R,
2521
- requiredTag: _,
2522
- requiredText: v,
2523
- useWrapper: U,
1836
+ errorMessage: a,
1837
+ forId: r,
1838
+ hasError: o,
1839
+ helptext: i,
1840
+ helptextDropdown: k,
1841
+ helptextDropdownButton: _,
1842
+ inline: b,
1843
+ label: P,
1844
+ optionalTag: F,
1845
+ optionalText: E,
1846
+ requiredTag: y,
1847
+ requiredText: j,
1848
+ useWrapper: W,
2524
1849
  children: [
2525
- /* @__PURE__ */ t.jsx(
1850
+ /* @__PURE__ */ e.jsx(
2526
1851
  "textarea",
2527
1852
  {
2528
- ref: K,
2529
- className: `pkt-input ${C ? "pkt-input--fullwidth" : ""} ${l && I > l ? "pkt-input--counter-error" : ""}`,
2530
- name: S || e,
2531
- id: e,
2532
- placeholder: y,
1853
+ ref: A,
1854
+ className: `pkt-input ${C ? "pkt-input--fullwidth" : ""} ${u && T > u ? "pkt-input--counter-error" : ""}`,
1855
+ name: O || r,
1856
+ id: r,
1857
+ placeholder: I,
2533
1858
  disabled: c,
2534
- rows: A,
2535
- "aria-labelledby": z,
2536
- "aria-invalid": p,
2537
- "aria-errormessage": `${e}-error`,
2538
- ...B,
2539
- onChange: L
1859
+ rows: U,
1860
+ "aria-labelledby": V,
1861
+ "aria-invalid": o,
1862
+ "aria-errormessage": `${r}-error`,
1863
+ ...H,
1864
+ onChange: S
2540
1865
  }
2541
1866
  ),
2542
- i && /* @__PURE__ */ t.jsxs("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
2543
- I || 0,
2544
- l && `/${l}`
1867
+ p && /* @__PURE__ */ e.jsxs("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
1868
+ T || 0,
1869
+ u && `/${u}`
2545
1870
  ] })
2546
1871
  ]
2547
1872
  }
2548
1873
  );
2549
1874
  }
2550
- ), Ir = V(
1875
+ ), lr = D(
2551
1876
  ({
2552
- id: e,
2553
- ariaDescribedby: r,
2554
- ariaLabelledby: a,
2555
- autocomplete: i = "off",
2556
- className: l,
2557
- disabled: s = !1,
1877
+ id: r,
1878
+ ariaDescribedby: l,
1879
+ ariaLabelledby: d,
1880
+ autocomplete: p = "off",
1881
+ className: u,
1882
+ disabled: n = !1,
2558
1883
  errorMessage: c,
2559
- hasError: o = !1,
2560
- helptext: p,
2561
- helptextDropdown: u,
2562
- helptextDropdownButton: d,
2563
- iconNameRight: h,
2564
- inline: k = !1,
1884
+ hasError: a = !1,
1885
+ helptext: o,
1886
+ helptextDropdown: i,
1887
+ helptextDropdownButton: k,
1888
+ iconNameRight: _,
1889
+ inline: b = !1,
2565
1890
  fullwidth: C = !1,
2566
- label: j,
2567
- name: S,
2568
- optionalTag: O = !1,
2569
- optionalText: R,
2570
- requiredTag: _ = !1,
2571
- requiredText: v,
2572
- placeholder: y,
2573
- prefix: A,
2574
- suffix: U,
2575
- type: W = "text",
2576
- useWrapper: B = !0,
1891
+ label: P,
1892
+ name: O,
1893
+ optionalTag: F = !1,
1894
+ optionalText: E,
1895
+ requiredTag: y = !1,
1896
+ requiredText: j,
1897
+ placeholder: I,
1898
+ prefix: U,
1899
+ suffix: W,
1900
+ type: Y = "text",
1901
+ useWrapper: H = !0,
2577
1902
  omitSearchIcon: M = !1,
2578
- value: Y,
2579
- ...z
2580
- }, K) => {
2581
- const I = [l, "pkt-textinput"].join(" "), b = a || `${e}-label`, L = W === "search" && !h && !M;
2582
- return /* @__PURE__ */ t.jsx(
2583
- Re,
1903
+ value: z,
1904
+ ...V
1905
+ }, A) => {
1906
+ const T = [u, "pkt-textinput"].join(" "), m = d || `${r}-label`, S = Y === "search" && !_ && !M;
1907
+ return /* @__PURE__ */ e.jsx(
1908
+ de,
2584
1909
  {
2585
- ariaDescribedby: r,
2586
- className: I,
2587
- disabled: s,
1910
+ ariaDescribedby: l,
1911
+ className: T,
1912
+ disabled: n,
2588
1913
  errorMessage: c,
2589
- forId: e,
2590
- hasError: o,
2591
- helptext: p,
2592
- helptextDropdown: u,
2593
- helptextDropdownButton: d,
2594
- inline: k,
2595
- label: j,
2596
- optionalTag: O,
2597
- optionalText: R,
2598
- requiredTag: _,
2599
- requiredText: v,
2600
- useWrapper: B,
2601
- children: /* @__PURE__ */ t.jsxs("div", { className: "pkt-input__container", children: [
2602
- A && /* @__PURE__ */ t.jsx("div", { className: "pkt-input-prefix", children: A }),
2603
- /* @__PURE__ */ t.jsx(
1914
+ forId: r,
1915
+ hasError: a,
1916
+ helptext: o,
1917
+ helptextDropdown: i,
1918
+ helptextDropdownButton: k,
1919
+ inline: b,
1920
+ label: P,
1921
+ optionalTag: F,
1922
+ optionalText: E,
1923
+ requiredTag: y,
1924
+ requiredText: j,
1925
+ useWrapper: H,
1926
+ children: /* @__PURE__ */ e.jsxs("div", { className: "pkt-input__container", children: [
1927
+ U && /* @__PURE__ */ e.jsx("div", { className: "pkt-input-prefix", children: U }),
1928
+ /* @__PURE__ */ e.jsx(
2604
1929
  "input",
2605
1930
  {
2606
- ref: K,
1931
+ ref: A,
2607
1932
  className: `pkt-input ${C ? "pkt-input--fullwidth" : ""}`,
2608
- type: W,
2609
- name: S || e,
2610
- id: e,
2611
- placeholder: y,
2612
- autoComplete: i,
2613
- value: Y,
2614
- disabled: s,
2615
- "aria-invalid": o,
2616
- "aria-errormessage": `${e}-error`,
2617
- "aria-labelledby": b,
2618
- ...z
1933
+ type: Y,
1934
+ name: O || r,
1935
+ id: r,
1936
+ placeholder: I,
1937
+ autoComplete: p,
1938
+ value: z,
1939
+ disabled: n,
1940
+ "aria-invalid": a,
1941
+ "aria-errormessage": `${r}-error`,
1942
+ "aria-labelledby": m,
1943
+ ...V
2619
1944
  }
2620
1945
  ),
2621
- U && /* @__PURE__ */ t.jsxs("p", { className: "pkt-input-suffix", children: [
2622
- U,
2623
- h && /* @__PURE__ */ t.jsx(N, { className: "pkt-input-suffix-icon", name: h }),
2624
- L && /* @__PURE__ */ t.jsx(N, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
1946
+ W && /* @__PURE__ */ e.jsxs("p", { className: "pkt-input-suffix", children: [
1947
+ W,
1948
+ _ && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-suffix-icon", name: _ }),
1949
+ S && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
2625
1950
  ] }),
2626
- !U && h && /* @__PURE__ */ t.jsx(N, { className: "pkt-input-icon", name: h }),
2627
- !U && L && /* @__PURE__ */ t.jsx(N, { className: "pkt-input-icon", name: "magnifying-glass-big" })
1951
+ !W && _ && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-icon", name: _ }),
1952
+ !W && S && /* @__PURE__ */ e.jsx(x, { className: "pkt-input-icon", name: "magnifying-glass-big" })
2628
1953
  ] })
2629
1954
  }
2630
1955
  );
2631
1956
  }
2632
1957
  );
2633
1958
  export {
2634
- jn as PktAlert,
2635
- _r as PktBackLink,
2636
- br as PktBreadcrumbs,
2637
- de as PktButton,
2638
- pr as PktCheckbox,
2639
- xr as PktFooter,
2640
- gr as PktFooterSimple,
2641
- Nr as PktHeader,
2642
- N as PktIcon,
2643
- Nn as PktIconContext,
2644
- dr as PktInput,
2645
- Re as PktInputWrapper,
2646
- mr as PktLinkCard,
2647
- jr as PktLoader,
2648
- yr as PktMessagebox,
2649
- hr as PktRadioButton,
2650
- wr as PktSearchInput,
2651
- Er as PktSelect,
2652
- Cr as PktTable,
2653
- Or as PktTableBody,
2654
- Rr as PktTableDataCell,
2655
- Sr as PktTableHeader,
2656
- Pr as PktTableHeaderCell,
2657
- Tr as PktTableRow,
2658
- $r as PktTabs,
2659
- Je as PktTag,
2660
- Dr as PktTextarea,
2661
- Ir as PktTextinput
1959
+ Ft as PktAlert,
1960
+ Yt as PktBackLink,
1961
+ Vt as PktBreadcrumbs,
1962
+ ie as PktButton,
1963
+ Dt as PktCheckbox,
1964
+ Kt as PktFooter,
1965
+ Ht as PktFooterSimple,
1966
+ zt as PktHeader,
1967
+ x as PktIcon,
1968
+ It as PktIconContext,
1969
+ Lt as PktInput,
1970
+ de as PktInputWrapper,
1971
+ Bt as PktLinkCard,
1972
+ Jt as PktLoader,
1973
+ Gt as PktMessagebox,
1974
+ Wt as PktRadioButton,
1975
+ qt as PktSearchInput,
1976
+ Xt as PktSelect,
1977
+ Zt as PktTable,
1978
+ nr as PktTableBody,
1979
+ Qt as PktTableDataCell,
1980
+ tr as PktTableHeader,
1981
+ er as PktTableHeaderCell,
1982
+ rr as PktTableRow,
1983
+ ar as PktTabs,
1984
+ we as PktTag,
1985
+ sr as PktTextarea,
1986
+ lr as PktTextinput
2662
1987
  };