@oslokommune/punkt-react 4.3.1 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
- import z, { forwardRef as B, useState as dr } from "react";
2
- function mr(o) {
1
+ import H, { useState as Oe, useEffect as _r, forwardRef as M } from "react";
2
+ function vr(o) {
3
3
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
4
4
  }
5
- var re = { exports: {} }, W = {};
5
+ var te = { exports: {} }, W = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.min.js
@@ -12,23 +12,23 @@ var re = { exports: {} }, W = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var Pe;
16
- function hr() {
17
- if (Pe)
15
+ var je;
16
+ function kr() {
17
+ if (je)
18
18
  return W;
19
- Pe = 1;
20
- var o = z, l = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, p = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function v(b, h, x) {
22
- var N, T = {}, P = null, O = null;
23
- x !== void 0 && (P = "" + x), h.key !== void 0 && (P = "" + h.key), h.ref !== void 0 && (O = h.ref);
24
- for (N in h)
25
- c.call(h, N) && !n.hasOwnProperty(N) && (T[N] = h[N]);
26
- if (b && b.defaultProps)
27
- for (N in h = b.defaultProps, h)
28
- T[N] === void 0 && (T[N] = h[N]);
29
- return { $$typeof: l, type: b, key: P, ref: O, props: T, _owner: p.current };
19
+ je = 1;
20
+ var o = H, l = Symbol.for("react.element"), i = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, f = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function _(k, h, w) {
22
+ var y, P = {}, T = null, O = null;
23
+ w !== void 0 && (T = "" + w), h.key !== void 0 && (T = "" + h.key), h.ref !== void 0 && (O = h.ref);
24
+ for (y in h)
25
+ c.call(h, y) && !n.hasOwnProperty(y) && (P[y] = h[y]);
26
+ if (k && k.defaultProps)
27
+ for (y in h = k.defaultProps, h)
28
+ P[y] === void 0 && (P[y] = h[y]);
29
+ return { $$typeof: l, type: k, key: T, ref: O, props: P, _owner: f.current };
30
30
  }
31
- return W.Fragment = s, W.jsx = v, W.jsxs = v, W;
31
+ return W.Fragment = i, W.jsx = _, W.jsxs = _, W;
32
32
  }
33
33
  var Y = {};
34
34
  /**
@@ -40,51 +40,51 @@ var Y = {};
40
40
  * This source code is licensed under the MIT license found in the
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
- var je;
44
- function _r() {
45
- return je || (je = 1, process.env.NODE_ENV !== "production" && function() {
46
- var o = z, l = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), ae = Symbol.iterator, Oe = "@@iterator";
47
- function $e(e) {
43
+ var Se;
44
+ function br() {
45
+ return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
46
+ var o = H, l = Symbol.for("react.element"), i = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), k = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), ne = Symbol.iterator, De = "@@iterator";
47
+ function Ie(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
- var r = ae && e[ae] || e[Oe];
50
+ var r = ne && e[ne] || e[De];
51
51
  return typeof r == "function" ? r : null;
52
52
  }
53
- var $ = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ var F = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
54
  function E(e) {
55
55
  {
56
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
57
- a[i - 1] = arguments[i];
58
- Fe("error", e, a);
56
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
57
+ t[s - 1] = arguments[s];
58
+ Ae("error", e, t);
59
59
  }
60
60
  }
61
- function Fe(e, r, a) {
61
+ function Ae(e, r, t) {
62
62
  {
63
- var i = $.ReactDebugCurrentFrame, m = i.getStackAddendum();
64
- m !== "" && (r += "%s", a = a.concat([m]));
65
- var _ = a.map(function(f) {
66
- return String(f);
63
+ var s = F.ReactDebugCurrentFrame, m = s.getStackAddendum();
64
+ m !== "" && (r += "%s", t = t.concat([m]));
65
+ var v = t.map(function(p) {
66
+ return String(p);
67
67
  });
68
- _.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, _);
68
+ v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
69
69
  }
70
70
  }
71
- var De = !1, Ie = !1, Ae = !1, We = !1, Ye = !1, ne;
72
- ne = Symbol.for("react.module.reference");
73
- function Be(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === c || e === n || Ye || e === p || e === x || e === N || We || e === O || De || Ie || Ae || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === T || e.$$typeof === v || e.$$typeof === b || e.$$typeof === h || // This needs to include all possible module reference object
71
+ var We = !1, Ye = !1, Me = !1, Le = !1, Be = !1, oe;
72
+ oe = Symbol.for("react.module.reference");
73
+ function Ve(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === c || e === n || Be || e === f || e === w || e === y || Le || e === O || We || Ye || Me || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === P || e.$$typeof === _ || e.$$typeof === k || e.$$typeof === h || // This needs to include all possible module reference object
75
75
  // types supported by any Flight configuration anywhere since
76
76
  // we don't know which Flight build this will end up being used
77
77
  // with.
78
- e.$$typeof === ne || e.getModuleId !== void 0));
78
+ e.$$typeof === oe || e.getModuleId !== void 0));
79
79
  }
80
- function Le(e, r, a) {
81
- var i = e.displayName;
82
- if (i)
83
- return i;
80
+ function Ue(e, r, t) {
81
+ var s = e.displayName;
82
+ if (s)
83
+ return s;
84
84
  var m = r.displayName || r.name || "";
85
- return m !== "" ? a + "(" + m + ")" : a;
85
+ return m !== "" ? t + "(" + m + ")" : t;
86
86
  }
87
- function oe(e) {
87
+ function le(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
90
  function j(e) {
@@ -97,34 +97,34 @@ function _r() {
97
97
  switch (e) {
98
98
  case c:
99
99
  return "Fragment";
100
- case s:
100
+ case i:
101
101
  return "Portal";
102
102
  case n:
103
103
  return "Profiler";
104
- case p:
104
+ case f:
105
105
  return "StrictMode";
106
- case x:
106
+ case w:
107
107
  return "Suspense";
108
- case N:
108
+ case y:
109
109
  return "SuspenseList";
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
- case b:
113
+ case k:
114
114
  var r = e;
115
- return oe(r) + ".Consumer";
116
- case v:
117
- var a = e;
118
- return oe(a._context) + ".Provider";
115
+ return le(r) + ".Consumer";
116
+ case _:
117
+ var t = e;
118
+ return le(t._context) + ".Provider";
119
119
  case h:
120
- return Le(e, e.render, "ForwardRef");
121
- case T:
122
- var i = e.displayName || null;
123
- return i !== null ? i : j(e.type) || "Memo";
124
- case P: {
125
- var m = e, _ = m._payload, f = m._init;
120
+ return Ue(e, e.render, "ForwardRef");
121
+ case P:
122
+ var s = e.displayName || null;
123
+ return s !== null ? s : j(e.type) || "Memo";
124
+ case T: {
125
+ var m = e, v = m._payload, p = m._init;
126
126
  try {
127
- return j(f(_));
127
+ return j(p(v));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,18 +132,18 @@ function _r() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var C = Object.assign, I = 0, ie, le, se, ce, ue, fe, pe;
136
- function de() {
135
+ var C = Object.assign, I = 0, ie, se, ce, ue, fe, pe, de;
136
+ function me() {
137
137
  }
138
- de.__reactDisabledLog = !0;
139
- function Me() {
138
+ me.__reactDisabledLog = !0;
139
+ function qe() {
140
140
  {
141
141
  if (I === 0) {
142
- ie = console.log, le = console.info, se = console.warn, ce = console.error, ue = console.group, fe = console.groupCollapsed, pe = console.groupEnd;
142
+ ie = console.log, se = console.info, ce = console.warn, ue = console.error, fe = console.group, pe = console.groupCollapsed, de = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
146
- value: de,
146
+ value: me,
147
147
  writable: !0
148
148
  };
149
149
  Object.defineProperties(console, {
@@ -159,7 +159,7 @@ function _r() {
159
159
  I++;
160
160
  }
161
161
  }
162
- function Ve() {
162
+ function He() {
163
163
  {
164
164
  if (I--, I === 0) {
165
165
  var e = {
@@ -172,213 +172,213 @@ function _r() {
172
172
  value: ie
173
173
  }),
174
174
  info: C({}, e, {
175
- value: le
175
+ value: se
176
176
  }),
177
177
  warn: C({}, e, {
178
- value: se
178
+ value: ce
179
179
  }),
180
180
  error: C({}, e, {
181
- value: ce
181
+ value: ue
182
182
  }),
183
183
  group: C({}, e, {
184
- value: ue
184
+ value: fe
185
185
  }),
186
186
  groupCollapsed: C({}, e, {
187
- value: fe
187
+ value: pe
188
188
  }),
189
189
  groupEnd: C({}, e, {
190
- value: pe
190
+ value: de
191
191
  })
192
192
  });
193
193
  }
194
194
  I < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var G = $.ReactCurrentDispatcher, J;
198
- function L(e, r, a) {
197
+ var z = F.ReactCurrentDispatcher, G;
198
+ function L(e, r, t) {
199
199
  {
200
- if (J === void 0)
200
+ if (G === void 0)
201
201
  try {
202
202
  throw Error();
203
203
  } catch (m) {
204
- var i = m.stack.trim().match(/\n( *(at )?)/);
205
- J = i && i[1] || "";
204
+ var s = m.stack.trim().match(/\n( *(at )?)/);
205
+ G = s && s[1] || "";
206
206
  }
207
207
  return `
208
- ` + J + e;
208
+ ` + G + e;
209
209
  }
210
210
  }
211
- var H = !1, M;
211
+ var J = !1, B;
212
212
  {
213
- var Ue = typeof WeakMap == "function" ? WeakMap : Map;
214
- M = new Ue();
213
+ var ze = typeof WeakMap == "function" ? WeakMap : Map;
214
+ B = new ze();
215
215
  }
216
- function me(e, r) {
217
- if (!e || H)
216
+ function he(e, r) {
217
+ if (!e || J)
218
218
  return "";
219
219
  {
220
- var a = M.get(e);
221
- if (a !== void 0)
222
- return a;
220
+ var t = B.get(e);
221
+ if (t !== void 0)
222
+ return t;
223
223
  }
224
- var i;
225
- H = !0;
224
+ var s;
225
+ J = !0;
226
226
  var m = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
- var _;
229
- _ = G.current, G.current = null, Me();
228
+ var v;
229
+ v = z.current, z.current = null, qe();
230
230
  try {
231
231
  if (r) {
232
- var f = function() {
232
+ var p = function() {
233
233
  throw Error();
234
234
  };
235
- if (Object.defineProperty(f.prototype, "props", {
235
+ if (Object.defineProperty(p.prototype, "props", {
236
236
  set: function() {
237
237
  throw Error();
238
238
  }
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
- Reflect.construct(f, []);
241
+ Reflect.construct(p, []);
242
242
  } catch (S) {
243
- i = S;
243
+ s = S;
244
244
  }
245
- Reflect.construct(e, [], f);
245
+ Reflect.construct(e, [], p);
246
246
  } else {
247
247
  try {
248
- f.call();
248
+ p.call();
249
249
  } catch (S) {
250
- i = S;
250
+ s = S;
251
251
  }
252
- e.call(f.prototype);
252
+ e.call(p.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
257
  } catch (S) {
258
- i = S;
258
+ s = S;
259
259
  }
260
260
  e();
261
261
  }
262
262
  } catch (S) {
263
- if (S && i && typeof S.stack == "string") {
263
+ if (S && s && typeof S.stack == "string") {
264
264
  for (var u = S.stack.split(`
265
- `), R = i.stack.split(`
266
- `), k = u.length - 1, g = R.length - 1; k >= 1 && g >= 0 && u[k] !== R[g]; )
265
+ `), R = s.stack.split(`
266
+ `), b = u.length - 1, g = R.length - 1; b >= 1 && g >= 0 && u[b] !== R[g]; )
267
267
  g--;
268
- for (; k >= 1 && g >= 0; k--, g--)
269
- if (u[k] !== R[g]) {
270
- if (k !== 1 || g !== 1)
268
+ for (; b >= 1 && g >= 0; b--, g--)
269
+ if (u[b] !== R[g]) {
270
+ if (b !== 1 || g !== 1)
271
271
  do
272
- if (k--, g--, g < 0 || u[k] !== R[g]) {
273
- var w = `
274
- ` + u[k].replace(" at new ", " at ");
275
- return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, w), w;
272
+ if (b--, g--, g < 0 || u[b] !== R[g]) {
273
+ var x = `
274
+ ` + u[b].replace(" at new ", " at ");
275
+ return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && B.set(e, x), x;
276
276
  }
277
- while (k >= 1 && g >= 0);
277
+ while (b >= 1 && g >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- H = !1, G.current = _, Ve(), Error.prepareStackTrace = m;
282
+ J = !1, z.current = v, He(), Error.prepareStackTrace = m;
283
283
  }
284
284
  var D = e ? e.displayName || e.name : "", Te = D ? L(D) : "";
285
- return typeof e == "function" && M.set(e, Te), Te;
285
+ return typeof e == "function" && B.set(e, Te), Te;
286
286
  }
287
- function qe(e, r, a) {
288
- return me(e, !1);
287
+ function Ge(e, r, t) {
288
+ return he(e, !1);
289
289
  }
290
- function ze(e) {
290
+ function Je(e) {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function V(e, r, a) {
294
+ function V(e, r, t) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
- return me(e, ze(e));
298
+ return he(e, Je(e));
299
299
  if (typeof e == "string")
300
300
  return L(e);
301
301
  switch (e) {
302
- case x:
302
+ case w:
303
303
  return L("Suspense");
304
- case N:
304
+ case y:
305
305
  return L("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
309
  case h:
310
- return qe(e.render);
311
- case T:
312
- return V(e.type, r, a);
313
- case P: {
314
- var i = e, m = i._payload, _ = i._init;
310
+ return Ge(e.render);
311
+ case P:
312
+ return V(e.type, r, t);
313
+ case T: {
314
+ var s = e, m = s._payload, v = s._init;
315
315
  try {
316
- return V(_(m), r, a);
316
+ return V(v(m), r, t);
317
317
  } catch {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var U = Object.prototype.hasOwnProperty, he = {}, _e = $.ReactDebugCurrentFrame;
323
+ var U = Object.prototype.hasOwnProperty, _e = {}, ve = F.ReactDebugCurrentFrame;
324
324
  function q(e) {
325
325
  if (e) {
326
- var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
327
- _e.setExtraStackFrame(a);
326
+ var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
327
+ ve.setExtraStackFrame(t);
328
328
  } else
329
- _e.setExtraStackFrame(null);
329
+ ve.setExtraStackFrame(null);
330
330
  }
331
- function Ge(e, r, a, i, m) {
331
+ function Ke(e, r, t, s, m) {
332
332
  {
333
- var _ = Function.call.bind(U);
334
- for (var f in e)
335
- if (_(e, f)) {
333
+ var v = Function.call.bind(U);
334
+ for (var p in e)
335
+ if (v(e, p)) {
336
336
  var u = void 0;
337
337
  try {
338
- if (typeof e[f] != "function") {
339
- var R = Error((i || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
+ if (typeof e[p] != "function") {
339
+ var R = Error((s || "React class") + ": " + t + " type `" + p + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[p] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
340
  throw R.name = "Invariant Violation", R;
341
341
  }
342
- u = e[f](r, f, i, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
- } catch (k) {
344
- u = k;
342
+ u = e[p](r, p, s, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ } catch (b) {
344
+ u = b;
345
345
  }
346
- u && !(u instanceof Error) && (q(m), E("%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).", i || "React class", a, f, typeof u), q(null)), u instanceof Error && !(u.message in he) && (he[u.message] = !0, q(m), E("Failed %s type: %s", a, u.message), q(null));
346
+ u && !(u instanceof Error) && (q(m), E("%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).", s || "React class", t, p, typeof u), q(null)), u instanceof Error && !(u.message in _e) && (_e[u.message] = !0, q(m), E("Failed %s type: %s", t, u.message), q(null));
347
347
  }
348
348
  }
349
349
  }
350
- var Je = Array.isArray;
350
+ var Xe = Array.isArray;
351
351
  function K(e) {
352
- return Je(e);
352
+ return Xe(e);
353
353
  }
354
- function He(e) {
354
+ function Ze(e) {
355
355
  {
356
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
- return a;
356
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
+ return t;
358
358
  }
359
359
  }
360
- function Ke(e) {
360
+ function Qe(e) {
361
361
  try {
362
- return ve(e), !1;
362
+ return ke(e), !1;
363
363
  } catch {
364
364
  return !0;
365
365
  }
366
366
  }
367
- function ve(e) {
367
+ function ke(e) {
368
368
  return "" + e;
369
369
  }
370
- function ke(e) {
371
- if (Ke(e))
372
- return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), ve(e);
370
+ function be(e) {
371
+ if (Qe(e))
372
+ return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ze(e)), ke(e);
373
373
  }
374
- var A = $.ReactCurrentOwner, Xe = {
374
+ var A = F.ReactCurrentOwner, er = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
- }, be, ge, X;
379
+ }, ge, Ne, X;
380
380
  X = {};
381
- function Ze(e) {
381
+ function rr(e) {
382
382
  if (U.call(e, "ref")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
384
384
  if (r && r.isReactWarning)
@@ -386,7 +386,7 @@ function _r() {
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
- function Qe(e) {
389
+ function tr(e) {
390
390
  if (U.call(e, "key")) {
391
391
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
392
392
  if (r && r.isReactWarning)
@@ -394,45 +394,45 @@ function _r() {
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function er(e, r) {
397
+ function ar(e, r) {
398
398
  if (typeof e.ref == "string" && A.current && r && A.current.stateNode !== r) {
399
- var a = j(A.current.type);
400
- X[a] || (E('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', j(A.current.type), e.ref), X[a] = !0);
399
+ var t = j(A.current.type);
400
+ X[t] || (E('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', j(A.current.type), e.ref), X[t] = !0);
401
401
  }
402
402
  }
403
- function rr(e, r) {
403
+ function nr(e, r) {
404
404
  {
405
- var a = function() {
406
- be || (be = !0, E("%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)", r));
405
+ var t = function() {
406
+ ge || (ge = !0, E("%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)", r));
407
407
  };
408
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
409
- get: a,
408
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
409
+ get: t,
410
410
  configurable: !0
411
411
  });
412
412
  }
413
413
  }
414
- function tr(e, r) {
414
+ function or(e, r) {
415
415
  {
416
- var a = function() {
417
- ge || (ge = !0, E("%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)", r));
416
+ var t = function() {
417
+ Ne || (Ne = !0, E("%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)", r));
418
418
  };
419
- a.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
- get: a,
419
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
+ get: t,
421
421
  configurable: !0
422
422
  });
423
423
  }
424
424
  }
425
- var ar = function(e, r, a, i, m, _, f) {
425
+ var lr = function(e, r, t, s, m, v, p) {
426
426
  var u = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
428
  $$typeof: l,
429
429
  // Built-in properties that belong on the element
430
430
  type: e,
431
431
  key: r,
432
- ref: a,
433
- props: f,
432
+ ref: t,
433
+ props: p,
434
434
  // Record the component responsible for creating this element.
435
- _owner: _
435
+ _owner: v
436
436
  };
437
437
  return u._store = {}, Object.defineProperty(u._store, "validated", {
438
438
  configurable: !1,
@@ -443,7 +443,7 @@ function _r() {
443
443
  configurable: !1,
444
444
  enumerable: !1,
445
445
  writable: !1,
446
- value: i
446
+ value: s
447
447
  }), Object.defineProperty(u, "_source", {
448
448
  configurable: !1,
449
449
  enumerable: !1,
@@ -451,38 +451,38 @@ function _r() {
451
451
  value: m
452
452
  }), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
453
453
  };
454
- function nr(e, r, a, i, m) {
454
+ function ir(e, r, t, s, m) {
455
455
  {
456
- var _, f = {}, u = null, R = null;
457
- a !== void 0 && (ke(a), u = "" + a), Qe(r) && (ke(r.key), u = "" + r.key), Ze(r) && (R = r.ref, er(r, m));
458
- for (_ in r)
459
- U.call(r, _) && !Xe.hasOwnProperty(_) && (f[_] = r[_]);
456
+ var v, p = {}, u = null, R = null;
457
+ t !== void 0 && (be(t), u = "" + t), tr(r) && (be(r.key), u = "" + r.key), rr(r) && (R = r.ref, ar(r, m));
458
+ for (v in r)
459
+ U.call(r, v) && !er.hasOwnProperty(v) && (p[v] = r[v]);
460
460
  if (e && e.defaultProps) {
461
- var k = e.defaultProps;
462
- for (_ in k)
463
- f[_] === void 0 && (f[_] = k[_]);
461
+ var b = e.defaultProps;
462
+ for (v in b)
463
+ p[v] === void 0 && (p[v] = b[v]);
464
464
  }
465
465
  if (u || R) {
466
466
  var g = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- u && rr(f, g), R && tr(f, g);
467
+ u && nr(p, g), R && or(p, g);
468
468
  }
469
- return ar(e, u, R, m, i, A.current, f);
469
+ return lr(e, u, R, m, s, A.current, p);
470
470
  }
471
471
  }
472
- var Z = $.ReactCurrentOwner, Ne = $.ReactDebugCurrentFrame;
473
- function F(e) {
472
+ var Z = F.ReactCurrentOwner, ye = F.ReactDebugCurrentFrame;
473
+ function $(e) {
474
474
  if (e) {
475
- var r = e._owner, a = V(e.type, e._source, r ? r.type : null);
476
- Ne.setExtraStackFrame(a);
475
+ var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
476
+ ye.setExtraStackFrame(t);
477
477
  } else
478
- Ne.setExtraStackFrame(null);
478
+ ye.setExtraStackFrame(null);
479
479
  }
480
480
  var Q;
481
481
  Q = !1;
482
482
  function ee(e) {
483
483
  return typeof e == "object" && e !== null && e.$$typeof === l;
484
484
  }
485
- function ye() {
485
+ function Ee() {
486
486
  {
487
487
  if (Z.current) {
488
488
  var e = j(Z.current.type);
@@ -494,41 +494,41 @@ Check the render method of \`` + e + "`.";
494
494
  return "";
495
495
  }
496
496
  }
497
- function or(e) {
497
+ function sr(e) {
498
498
  {
499
499
  if (e !== void 0) {
500
- var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
500
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
501
501
  return `
502
502
 
503
- Check your code at ` + r + ":" + a + ".";
503
+ Check your code at ` + r + ":" + t + ".";
504
504
  }
505
505
  return "";
506
506
  }
507
507
  }
508
- var Ee = {};
509
- function ir(e) {
508
+ var Re = {};
509
+ function cr(e) {
510
510
  {
511
- var r = ye();
511
+ var r = Ee();
512
512
  if (!r) {
513
- var a = typeof e == "string" ? e : e.displayName || e.name;
514
- a && (r = `
513
+ var t = typeof e == "string" ? e : e.displayName || e.name;
514
+ t && (r = `
515
515
 
516
- Check the top-level render call using <` + a + ">.");
516
+ Check the top-level render call using <` + t + ">.");
517
517
  }
518
518
  return r;
519
519
  }
520
520
  }
521
- function Re(e, r) {
521
+ function we(e, r) {
522
522
  {
523
523
  if (!e._store || e._store.validated || e.key != null)
524
524
  return;
525
525
  e._store.validated = !0;
526
- var a = ir(r);
527
- if (Ee[a])
526
+ var t = cr(r);
527
+ if (Re[t])
528
528
  return;
529
- Ee[a] = !0;
530
- var i = "";
531
- e && e._owner && e._owner !== Z.current && (i = " It was passed a child from " + j(e._owner.type) + "."), F(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, i), F(null);
529
+ Re[t] = !0;
530
+ var s = "";
531
+ e && e._owner && e._owner !== Z.current && (s = " It was passed a child from " + j(e._owner.type) + "."), $(e), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, s), $(null);
532
532
  }
533
533
  }
534
534
  function xe(e, r) {
@@ -536,37 +536,37 @@ Check the top-level render call using <` + a + ">.");
536
536
  if (typeof e != "object")
537
537
  return;
538
538
  if (K(e))
539
- for (var a = 0; a < e.length; a++) {
540
- var i = e[a];
541
- ee(i) && Re(i, r);
539
+ for (var t = 0; t < e.length; t++) {
540
+ var s = e[t];
541
+ ee(s) && we(s, r);
542
542
  }
543
543
  else if (ee(e))
544
544
  e._store && (e._store.validated = !0);
545
545
  else if (e) {
546
- var m = $e(e);
546
+ var m = Ie(e);
547
547
  if (typeof m == "function" && m !== e.entries)
548
- for (var _ = m.call(e), f; !(f = _.next()).done; )
549
- ee(f.value) && Re(f.value, r);
548
+ for (var v = m.call(e), p; !(p = v.next()).done; )
549
+ ee(p.value) && we(p.value, r);
550
550
  }
551
551
  }
552
552
  }
553
- function lr(e) {
553
+ function ur(e) {
554
554
  {
555
555
  var r = e.type;
556
556
  if (r == null || typeof r == "string")
557
557
  return;
558
- var a;
558
+ var t;
559
559
  if (typeof r == "function")
560
- a = r.propTypes;
560
+ t = r.propTypes;
561
561
  else if (typeof r == "object" && (r.$$typeof === h || // Note: Memo only checks outer props here.
562
562
  // Inner props are checked in the reconciler.
563
- r.$$typeof === T))
564
- a = r.propTypes;
563
+ r.$$typeof === P))
564
+ t = r.propTypes;
565
565
  else
566
566
  return;
567
- if (a) {
568
- var i = j(r);
569
- Ge(a, e.props, "prop", i, e);
567
+ if (t) {
568
+ var s = j(r);
569
+ Ke(t, e.props, "prop", s, e);
570
570
  } else if (r.PropTypes !== void 0 && !Q) {
571
571
  Q = !0;
572
572
  var m = j(r);
@@ -575,86 +575,102 @@ Check the top-level render call using <` + a + ">.");
575
575
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
576
  }
577
577
  }
578
- function sr(e) {
578
+ function fr(e) {
579
579
  {
580
- for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
581
- var i = r[a];
582
- if (i !== "children" && i !== "key") {
583
- F(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), F(null);
580
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
581
+ var s = r[t];
582
+ if (s !== "children" && s !== "key") {
583
+ $(e), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), $(null);
584
584
  break;
585
585
  }
586
586
  }
587
- e.ref !== null && (F(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
587
+ e.ref !== null && ($(e), E("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
588
588
  }
589
589
  }
590
- function we(e, r, a, i, m, _) {
590
+ function Pe(e, r, t, s, m, v) {
591
591
  {
592
- var f = Be(e);
593
- if (!f) {
592
+ var p = Ve(e);
593
+ if (!p) {
594
594
  var u = "";
595
595
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (u += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
- var R = or(m);
597
- R ? u += R : u += ye();
598
- var k;
599
- e === null ? k = "null" : K(e) ? k = "array" : e !== void 0 && e.$$typeof === l ? (k = "<" + (j(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, u);
596
+ var R = sr(m);
597
+ R ? u += R : u += Ee();
598
+ var b;
599
+ e === null ? b = "null" : K(e) ? b = "array" : e !== void 0 && e.$$typeof === l ? (b = "<" + (j(e.type) || "Unknown") + " />", u = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, u);
600
600
  }
601
- var g = nr(e, r, a, m, _);
601
+ var g = ir(e, r, t, m, v);
602
602
  if (g == null)
603
603
  return g;
604
- if (f) {
605
- var w = r.children;
606
- if (w !== void 0)
607
- if (i)
608
- if (K(w)) {
609
- for (var D = 0; D < w.length; D++)
610
- xe(w[D], e);
611
- Object.freeze && Object.freeze(w);
604
+ if (p) {
605
+ var x = r.children;
606
+ if (x !== void 0)
607
+ if (s)
608
+ if (K(x)) {
609
+ for (var D = 0; D < x.length; D++)
610
+ xe(x[D], e);
611
+ Object.freeze && Object.freeze(x);
612
612
  } else
613
613
  E("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
614
614
  else
615
- xe(w, e);
615
+ xe(x, e);
616
616
  }
617
- return e === c ? sr(g) : lr(g), g;
617
+ return e === c ? fr(g) : ur(g), g;
618
618
  }
619
619
  }
620
- function cr(e, r, a) {
621
- return we(e, r, a, !0);
620
+ function pr(e, r, t) {
621
+ return Pe(e, r, t, !0);
622
622
  }
623
- function ur(e, r, a) {
624
- return we(e, r, a, !1);
623
+ function dr(e, r, t) {
624
+ return Pe(e, r, t, !1);
625
625
  }
626
- var fr = ur, pr = cr;
627
- Y.Fragment = c, Y.jsx = fr, Y.jsxs = pr;
626
+ var mr = dr, hr = pr;
627
+ Y.Fragment = c, Y.jsx = mr, Y.jsxs = hr;
628
628
  }()), Y;
629
629
  }
630
- process.env.NODE_ENV === "production" ? re.exports = hr() : re.exports = _r();
631
- var te = re.exports;
632
- const Se = te.Fragment, t = te.jsx, d = te.jsxs, y = ({
633
- className: o,
634
- name: l,
635
- viewBox: s = "0 0 32 32",
636
- ...c
637
- }) => {
638
- const p = [o].filter(Boolean).join(" ");
639
- return /* @__PURE__ */ t("svg", { ...c, className: p, viewBox: s, children: /* @__PURE__ */ t("use", { href: `#${l}` }) });
640
- }, wr = B(
630
+ process.env.NODE_ENV === "production" ? te.exports = kr() : te.exports = br();
631
+ var ae = te.exports;
632
+ const Fe = ae.Fragment, a = ae.jsx, d = ae.jsxs, re = {}, Ce = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
633
+ function gr(o, l) {
634
+ return re[o] ? Promise.resolve(re[o]) : fetch(l + o + ".svg").then((i) => i.ok ? i.text() : (console.error("Missing icon: " + l + o + ".svg"), Ce)).then((i) => (i !== Ce && (re[o] = i), i));
635
+ }
636
+ const N = ({ name: o, path: l, className: i = "", ...c }) => {
637
+ const f = "https://punkt-cdn.oslo.kommune.no/5.0/icons/", [n, _] = Oe(null);
638
+ return _r(() => {
639
+ if (!o)
640
+ return;
641
+ gr(o, l || f).then((h) => _(h));
642
+ }, [o, l, f]), n ? /* @__PURE__ */ a(
643
+ "span",
644
+ {
645
+ className: `pkt-icon ${i}`,
646
+ dangerouslySetInnerHTML: { __html: n },
647
+ ...c
648
+ }
649
+ ) : null;
650
+ }, Sr = M(
641
651
  ({
642
652
  children: o,
643
653
  className: l,
644
- skin: s = "info",
654
+ skin: i = "info",
645
655
  closeAlert: c = !1,
646
- onClose: p,
656
+ onClose: f,
647
657
  title: n,
648
- date: v,
649
- ariaLive: b = "polite",
658
+ date: _,
659
+ ariaLive: k = "polite",
650
660
  ...h
651
- }, x) => {
652
- const N = [l, "pkt-alert", s && `pkt-alert--${s}`].filter(Boolean).join(" "), [T, P] = dr(!0), O = () => {
653
- P(!1), p && p();
661
+ }, w) => {
662
+ const y = [l, "pkt-alert", i && `pkt-alert--${i}`].filter(Boolean).join(" "), [P, T] = Oe(!0), O = () => {
663
+ T(!1), f && f();
654
664
  };
655
- return T ? /* @__PURE__ */ d("div", { ...h, className: N, "aria-live": b, ref: x, children: [
656
- /* @__PURE__ */ t("div", { className: "pkt-alert__icon", children: /* @__PURE__ */ t(y, { name: s === "info" ? "alert-information" : `alert-${s}` }) }),
657
- c && /* @__PURE__ */ t("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t(
665
+ return P ? /* @__PURE__ */ d("div", { ...h, className: y, "aria-live": k, ref: w, children: [
666
+ /* @__PURE__ */ a(
667
+ N,
668
+ {
669
+ className: "pkt-alert__icon",
670
+ name: i === "info" ? "alert-information" : `alert-${i}`
671
+ }
672
+ ),
673
+ c && /* @__PURE__ */ a("div", { className: "pkt-alert__close", children: /* @__PURE__ */ a(
658
674
  "button",
659
675
  {
660
676
  type: "button",
@@ -662,53 +678,53 @@ const Se = te.Fragment, t = te.jsx, d = te.jsxs, y = ({
662
678
  tabIndex: 0,
663
679
  "aria-label": "close",
664
680
  onClick: O,
665
- children: /* @__PURE__ */ t(y, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
681
+ children: /* @__PURE__ */ a(N, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
666
682
  }
667
683
  ) }),
668
- n && /* @__PURE__ */ t("div", { className: "pkt-alert__title", children: n }),
669
- /* @__PURE__ */ t("div", { className: "pkt-alert__text", children: o }),
670
- v && /* @__PURE__ */ d("div", { className: "pkt-alert__date", children: [
684
+ n && /* @__PURE__ */ a("div", { className: "pkt-alert__title", children: n }),
685
+ /* @__PURE__ */ a("div", { className: "pkt-alert__text", children: o }),
686
+ _ && /* @__PURE__ */ d("div", { className: "pkt-alert__date", children: [
671
687
  "Sist oppdatert: ",
672
- v
688
+ _
673
689
  ] })
674
690
  ] }) : null;
675
691
  }
676
- ), vr = B(
692
+ ), Nr = M(
677
693
  ({
678
694
  children: o,
679
695
  className: l,
680
- iconName: s = "user",
696
+ iconName: i = "user",
681
697
  secondIconName: c = "user",
682
- size: p = "medium",
698
+ size: f = "medium",
683
699
  skin: n = "primary",
684
- type: v = "button",
685
- variant: b = "label-only",
700
+ type: _ = "button",
701
+ variant: k = "label-only",
686
702
  ...h
687
- }, x) => {
688
- const N = [
703
+ }, w) => {
704
+ const y = [
689
705
  l,
690
706
  "pkt-btn",
691
- p && `pkt-btn--${p}`,
707
+ f && `pkt-btn--${f}`,
692
708
  n && `pkt-btn--${n}`,
693
- b && `pkt-btn--${b}`
709
+ k && `pkt-btn--${k}`
694
710
  ].filter(Boolean).join(" ");
695
- return /* @__PURE__ */ d("button", { ...h, className: N, type: v, ref: x, children: [
696
- /* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: s }),
697
- /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: o }),
698
- b === "icons-right-and-left" && /* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: c })
711
+ return /* @__PURE__ */ d("button", { ...h, className: y, type: _, ref: w, children: [
712
+ /* @__PURE__ */ a(N, { className: "pkt-btn__icon", name: i }),
713
+ /* @__PURE__ */ a("span", { className: "pkt-btn__text", children: o }),
714
+ k === "icons-right-and-left" && /* @__PURE__ */ a(N, { className: "pkt-btn__icon", name: c })
699
715
  ] });
700
716
  }
701
717
  );
702
- vr.displayName = "PktButton";
703
- const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
704
- var c, p;
705
- return /* @__PURE__ */ t("footer", { className: "pkt-footer", "data-mode": "dark", children: /* @__PURE__ */ d("div", { className: "pkt-footer__container", children: [
718
+ Nr.displayName = "PktButton";
719
+ const Cr = ({ columnOne: o, columnTwo: l, socialLinks: i }) => {
720
+ var c, f;
721
+ return /* @__PURE__ */ a("footer", { className: "pkt-footer", "data-mode": "dark", children: /* @__PURE__ */ d("div", { className: "pkt-footer__container", children: [
706
722
  /* @__PURE__ */ d("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
707
723
  /* @__PURE__ */ d("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
708
- /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: o.title }),
724
+ /* @__PURE__ */ a("h2", { className: "pkt-footer__title", children: o.title }),
709
725
  /* @__PURE__ */ d("ul", { className: "pkt-footer__list", children: [
710
- o.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: o.text }),
711
- (c = o.links) == null ? void 0 : c.map((n, v) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
726
+ o.text && /* @__PURE__ */ a("li", { className: "pkt-footer__text", children: o.text }),
727
+ (c = o.links) == null ? void 0 : c.map((n, _) => /* @__PURE__ */ a("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
712
728
  "a",
713
729
  {
714
730
  className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
@@ -716,18 +732,18 @@ const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
716
732
  target: n.openInNewTab ? "_blank" : "_self",
717
733
  rel: n.openInNewTab ? "noopener noreferrer" : void 0,
718
734
  children: [
719
- /* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
735
+ /* @__PURE__ */ a(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
720
736
  n.text
721
737
  ]
722
738
  }
723
- ) }, `links-${v}`))
739
+ ) }, `links-${_}`))
724
740
  ] })
725
741
  ] }),
726
742
  /* @__PURE__ */ d("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
727
- /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: l.title }),
743
+ /* @__PURE__ */ a("h2", { className: "pkt-footer__title", children: l.title }),
728
744
  /* @__PURE__ */ d("ul", { className: "pkt-footer__list", children: [
729
- l.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: l.text }),
730
- (p = l.links) == null ? void 0 : p.map((n, v) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
745
+ l.text && /* @__PURE__ */ a("li", { className: "pkt-footer__text", children: l.text }),
746
+ (f = l.links) == null ? void 0 : f.map((n, _) => /* @__PURE__ */ a("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
731
747
  "a",
732
748
  {
733
749
  className: `pkt-footer__link ${n.external ? "pkt-link--external" : ""}`,
@@ -735,46 +751,53 @@ const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
735
751
  target: n.openInNewTab ? "_blank" : "_self",
736
752
  rel: n.openInNewTab ? "noopener noreferrer" : void 0,
737
753
  children: [
738
- /* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
754
+ /* @__PURE__ */ a(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
739
755
  n.text
740
756
  ]
741
757
  }
742
- ) }, `links-${v}`))
758
+ ) }, `links-${_}`))
743
759
  ] })
744
760
  ] }),
745
761
  /* @__PURE__ */ d("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
746
- /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
762
+ /* @__PURE__ */ a("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
747
763
  /* @__PURE__ */ d("ul", { className: "pkt-footer__list", children: [
748
- /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
764
+ /* @__PURE__ */ a("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d(
749
765
  "a",
750
766
  {
751
767
  className: "pkt-footer__link",
752
768
  href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
753
769
  children: [
754
- /* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
770
+ /* @__PURE__ */ a(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
755
771
  "Personvern og informasjonskapsler"
756
772
  ]
757
773
  }
758
774
  ) }),
759
- /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
760
- /* @__PURE__ */ t(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
775
+ /* @__PURE__ */ a("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
776
+ /* @__PURE__ */ a(N, { className: "pkt-footer__link-icon", name: "chevron-right" }),
761
777
  "Tilgjengelighet"
762
778
  ] }) })
763
779
  ] })
764
780
  ] })
765
781
  ] }),
766
- s && /* @__PURE__ */ d("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
767
- /* @__PURE__ */ t("div", { className: "pkt-footer__social-languages", children: s.filter((n) => n.language).map((n, v) => /* @__PURE__ */ t("div", { className: "pkt-footer__social-language", children: /* @__PURE__ */ t(
768
- "a",
782
+ i && /* @__PURE__ */ d("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
783
+ /* @__PURE__ */ a("div", { className: "pkt-footer__social-languages", children: i.filter((n) => n.language).map((n, _) => /* @__PURE__ */ a(
784
+ "div",
769
785
  {
770
- href: n.href,
771
- "aria-label": `til ${n.language} versjon av nettsiden`,
772
- target: n.openInNewTab ? "_blank" : "_self",
773
- rel: n.openInNewTab ? "noopener noreferrer" : void 0,
774
- children: n.language
775
- }
776
- ) }, `sociallinks-language-${v}`)) }),
777
- /* @__PURE__ */ t("div", { className: "pkt-footer__social-icons", children: s.filter((n) => n.iconName).map((n, v) => /* @__PURE__ */ t(z.Fragment, { children: /* @__PURE__ */ t(
786
+ className: "pkt-footer__social-language",
787
+ children: /* @__PURE__ */ a(
788
+ "a",
789
+ {
790
+ href: n.href,
791
+ "aria-label": `til ${n.language} versjon av nettsiden`,
792
+ target: n.openInNewTab ? "_blank" : "_self",
793
+ rel: n.openInNewTab ? "noopener noreferrer" : void 0,
794
+ children: n.language
795
+ }
796
+ )
797
+ },
798
+ `sociallinks-language-${_}`
799
+ )) }),
800
+ /* @__PURE__ */ a("div", { className: "pkt-footer__social-icons", children: i.filter((n) => n.iconName).map((n, _) => /* @__PURE__ */ a(H.Fragment, { children: /* @__PURE__ */ a(
778
801
  "a",
779
802
  {
780
803
  href: n.href,
@@ -782,15 +805,15 @@ const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
782
805
  className: "pkt-footer__social-icon-link",
783
806
  target: n.openInNewTab ? "_blank" : "_self",
784
807
  rel: n.openInNewTab ? "noopener noreferrer" : void 0,
785
- children: /* @__PURE__ */ t("svg", { className: "pkt-footer__social-icon", viewBox: "0 0 32 32", "aria-hidden": "true", children: /* @__PURE__ */ t("use", { href: `#${n.iconName}` }) })
808
+ children: /* @__PURE__ */ a(N, { className: "pkt-footer__social-icon", name: n.iconName })
786
809
  }
787
- ) }, `sociallinks-${v}`)) })
810
+ ) }, `sociallinks-${_}`)) })
788
811
  ] })
789
812
  ] }) });
790
- }, Pr = ({
813
+ }, Or = ({
791
814
  links: o = []
792
- }) => /* @__PURE__ */ t("footer", { className: "pkt-footer-simple", "data-mode": "dark", children: /* @__PURE__ */ t("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ d("ul", { className: "pkt-footer-simple__list", children: [
793
- o.map((l, s) => /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d(
815
+ }) => /* @__PURE__ */ a("footer", { className: "pkt-footer-simple", "data-mode": "dark", children: /* @__PURE__ */ a("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ d("ul", { className: "pkt-footer-simple__list", children: [
816
+ o.map((l, i) => /* @__PURE__ */ a("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d(
794
817
  "a",
795
818
  {
796
819
  className: `pkt-footer-simple__link ${l.external ? " pkt-link--external" : ""}`,
@@ -798,8 +821,8 @@ const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
798
821
  target: l.openInNewTab ? "_blank" : "_self",
799
822
  rel: l.openInNewTab ? "noopener noreferrer" : void 0,
800
823
  children: [
801
- /* @__PURE__ */ t(
802
- y,
824
+ /* @__PURE__ */ a(
825
+ N,
803
826
  {
804
827
  className: "pkt-footer-simple__link-icon",
805
828
  name: "chevron-right"
@@ -808,145 +831,137 @@ const Tr = ({ columnOne: o, columnTwo: l, socialLinks: s }) => {
808
831
  l.text
809
832
  ]
810
833
  }
811
- ) }, s)),
812
- /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
813
- /* @__PURE__ */ t(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
834
+ ) }, i)),
835
+ /* @__PURE__ */ a("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
836
+ /* @__PURE__ */ a(N, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
814
837
  "Personvern og informasjonskapsler"
815
838
  ] }) }),
816
- /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
817
- /* @__PURE__ */ t(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
839
+ /* @__PURE__ */ a("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ d("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
840
+ /* @__PURE__ */ a(N, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
818
841
  "Tilgjengelighet"
819
842
  ] }) })
820
- ] }) }) }), jr = ({
843
+ ] }) }) }), Fr = ({
821
844
  className: o,
822
845
  logoLink: l = "https://www.oslo.kommune.no/",
823
- isLoggedIn: s = !1,
846
+ isLoggedIn: i = !1,
824
847
  representing: c = "",
825
- canChangeRepresentation: p = !1,
848
+ canChangeRepresentation: f = !1,
826
849
  showLogInButton: n = !0,
827
- onLogIn: v,
828
- onLogOut: b,
850
+ onLogIn: _,
851
+ onLogOut: k,
829
852
  onChangeRepresentation: h
830
853
  }) => {
831
- const x = [o, "pkt-header"].filter(Boolean).join(" ");
832
- return /* @__PURE__ */ d("header", { id: "pkt-header", className: x, "aria-label": "Topp", children: [
833
- /* @__PURE__ */ t("div", { className: "pkt-header__logo", children: /* @__PURE__ */ t("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: l, children: /* @__PURE__ */ t(
834
- y,
835
- {
836
- name: "oslologo",
837
- className: "pkt-header__logo-svg",
838
- viewBox: "0 0 60 31",
839
- "aria-hidden": "true"
840
- }
841
- ) }) }),
854
+ const w = [o, "pkt-header"].filter(Boolean).join(" ");
855
+ return /* @__PURE__ */ d("header", { id: "pkt-header", className: w, "aria-label": "Topp", children: [
856
+ /* @__PURE__ */ a("div", { className: "pkt-header__logo", children: /* @__PURE__ */ a("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: l, children: /* @__PURE__ */ a(N, { name: "oslologo", className: "pkt-header__logo-svg", "aria-hidden": "true" }) }) }),
842
857
  /* @__PURE__ */ d("div", { className: "pkt-header__actions", children: [
843
- s && p && /* @__PURE__ */ d(
858
+ i && f && /* @__PURE__ */ d(
844
859
  "button",
845
860
  {
846
861
  className: "pkt-btn pkt-btn--secondary pkt-btn--icon-right",
847
862
  "aria-label": `Bytt bruker fra ${c}`,
848
863
  onClick: h,
849
864
  children: [
850
- /* @__PURE__ */ t(y, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
851
- /* @__PURE__ */ t("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
852
- /* @__PURE__ */ t("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
853
- /* @__PURE__ */ t("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: c })
865
+ /* @__PURE__ */ a(N, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
866
+ /* @__PURE__ */ a("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
867
+ /* @__PURE__ */ a("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
868
+ /* @__PURE__ */ a("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: c })
854
869
  ]
855
870
  }
856
871
  ),
857
- s && !p && /* @__PURE__ */ d("div", { className: "pkt-header__action", children: [
858
- /* @__PURE__ */ t("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ t("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline pkt-truncate-text", children: c }) }),
859
- /* @__PURE__ */ t("span", { className: "pkt-header__action-icon pkt-show-phablet-up", children: /* @__PURE__ */ t(y, { name: "user" }) })
872
+ i && !f && /* @__PURE__ */ d("div", { className: "pkt-header__action", children: [
873
+ /* @__PURE__ */ a("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ a("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline pkt-truncate-text", children: c }) }),
874
+ /* @__PURE__ */ a(N, { className: "pkt-header__action-icon pkt-show-phablet-up", name: "user" })
860
875
  ] }),
861
- n && s && /* @__PURE__ */ d(
876
+ n && i && /* @__PURE__ */ d(
862
877
  "button",
863
878
  {
864
879
  className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
865
880
  "aria-label": "Logg ut",
866
- onClick: b,
881
+ onClick: k,
867
882
  children: [
868
- /* @__PURE__ */ t(y, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
869
- /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: "Logg ut" })
883
+ /* @__PURE__ */ a(N, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
884
+ /* @__PURE__ */ a("span", { className: "pkt-btn__text", children: "Logg ut" })
870
885
  ]
871
886
  }
872
887
  ),
873
- n && !s && /* @__PURE__ */ d(
888
+ n && !i && /* @__PURE__ */ d(
874
889
  "button",
875
890
  {
876
891
  className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
877
892
  "aria-label": "Logg inn",
878
- onClick: v,
893
+ onClick: _,
879
894
  children: [
880
- /* @__PURE__ */ t(y, { className: "pkt-btn__icon", name: "user" }),
881
- /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: "Logg inn" })
895
+ /* @__PURE__ */ a(N, { className: "pkt-btn__icon", name: "user" }),
896
+ /* @__PURE__ */ a("span", { className: "pkt-btn__text", children: "Logg inn" })
882
897
  ]
883
898
  }
884
899
  )
885
900
  ] })
886
901
  ] });
887
- }, kr = z.forwardRef(
888
- ({ label: o, id: l, children: s, ...c }, p) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
889
- /* @__PURE__ */ t("label", { htmlFor: l, className: "pkt-form-label", children: o }),
890
- /* @__PURE__ */ t("input", { className: "pkt-form-input", id: l, ...c, ref: p }),
891
- s
902
+ }, yr = H.forwardRef(
903
+ ({ label: o, id: l, children: i, ...c }, f) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
904
+ /* @__PURE__ */ a("label", { htmlFor: l, className: "pkt-form-label", children: o }),
905
+ /* @__PURE__ */ a("input", { className: "pkt-form-input", id: l, ...c, ref: f }),
906
+ i
892
907
  ] })
893
908
  );
894
- kr.displayName = "PktInput";
895
- const br = B(
909
+ yr.displayName = "PktInput";
910
+ const Er = M(
896
911
  ({
897
912
  children: o,
898
913
  className: l,
899
- iconName: s = "user",
914
+ iconName: i = "user",
900
915
  openInNewTab: c = !1,
901
- skin: p = "normal",
916
+ skin: f = "normal",
902
917
  href: n = "#",
903
- external: v = !1,
904
- title: b
918
+ external: _ = !1,
919
+ title: k
905
920
  }, h) => {
906
- const x = [l, "pkt-linkcard", p && `pkt-linkcard--${p}`].filter(Boolean).join(" ");
921
+ const w = [l, "pkt-linkcard", f && `pkt-linkcard--${f}`].filter(Boolean).join(" ");
907
922
  return /* @__PURE__ */ d(
908
923
  "a",
909
924
  {
910
925
  href: n,
911
- className: `pkt-linkcard pkt-link ${x}`,
926
+ className: `pkt-linkcard pkt-link ${w}`,
912
927
  target: c ? "_blank" : "_self",
913
928
  rel: c ? "noopener noreferrer" : void 0,
914
929
  ref: h,
915
930
  children: [
916
- /* @__PURE__ */ t(y, { className: "pkt-link__icon", name: s }),
931
+ /* @__PURE__ */ a(N, { className: "pkt-link__icon", name: i }),
917
932
  /* @__PURE__ */ d("div", { className: "pkt-linkcard__content", children: [
918
- /* @__PURE__ */ t("div", { className: `pkt-linkcard__title ${v ? "pkt-link pkt-link--external" : ""}`, children: b }),
919
- /* @__PURE__ */ t("div", { className: "pkt-linkcard__text", children: o })
933
+ /* @__PURE__ */ a("div", { className: `pkt-linkcard__title ${_ ? "pkt-link pkt-link--external" : ""}`, children: k }),
934
+ /* @__PURE__ */ a("div", { className: "pkt-linkcard__text", children: o })
920
935
  ] })
921
936
  ]
922
937
  }
923
938
  );
924
939
  }
925
940
  );
926
- br.displayName = "PktLinkCard";
927
- const Sr = ({
941
+ Er.displayName = "PktLinkCard";
942
+ const $r = ({
928
943
  children: o,
929
944
  skin: l = "beige",
930
- title: s,
945
+ title: i,
931
946
  ...c
932
947
  }) => {
933
- const p = ["pkt-messagebox", l && `pkt-messagebox--${l}`].filter(Boolean).join(" ");
934
- return /* @__PURE__ */ d("div", { ...c, className: p, children: [
935
- /* @__PURE__ */ t("div", { className: "pkt-messagebox__title", children: s }),
936
- /* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: o })
948
+ const f = ["pkt-messagebox", l && `pkt-messagebox--${l}`].filter(Boolean).join(" ");
949
+ return /* @__PURE__ */ d("div", { ...c, className: f, children: [
950
+ /* @__PURE__ */ a("div", { className: "pkt-messagebox__title", children: i }),
951
+ /* @__PURE__ */ a("div", { className: "pkt-messagebox__text", children: o })
937
952
  ] });
938
- }, gr = B(
939
- ({ id: o, name: l, label: s, value: c, ...p }, n) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
940
- /* @__PURE__ */ t("input", { type: "radio", className: "pkt-form-check-input", id: o, name: l, value: c, ref: n, ...p }),
941
- /* @__PURE__ */ t("label", { className: "pkt-form-label", htmlFor: o, children: s })
953
+ }, Rr = M(
954
+ ({ id: o, name: l, label: i, value: c, ...f }, n) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
955
+ /* @__PURE__ */ a("input", { type: "radio", className: "pkt-form-check-input", id: o, name: l, value: c, ref: n, ...f }),
956
+ /* @__PURE__ */ a("label", { className: "pkt-form-label", htmlFor: o, children: i })
942
957
  ] })
943
958
  );
944
- gr.displayName = "PktRadio";
945
- const Cr = ({ label: o, children: l }) => /* @__PURE__ */ d(Se, { children: [
946
- /* @__PURE__ */ t("p", { children: o }),
947
- /* @__PURE__ */ t("div", { className: "pkt-form-group", children: l })
959
+ Rr.displayName = "PktRadio";
960
+ const Dr = ({ label: o, children: l }) => /* @__PURE__ */ d(Fe, { children: [
961
+ /* @__PURE__ */ a("p", { children: o }),
962
+ /* @__PURE__ */ a("div", { className: "pkt-form-group", children: l })
948
963
  ] });
949
- var Ce = { exports: {} };
964
+ var $e = { exports: {} };
950
965
  /*!
951
966
  Copyright (c) 2018 Jed Watson.
952
967
  Licensed under the MIT License (MIT), see
@@ -955,19 +970,19 @@ var Ce = { exports: {} };
955
970
  (function(o) {
956
971
  (function() {
957
972
  var l = {}.hasOwnProperty;
958
- function s() {
959
- for (var c = [], p = 0; p < arguments.length; p++) {
960
- var n = arguments[p];
973
+ function i() {
974
+ for (var c = [], f = 0; f < arguments.length; f++) {
975
+ var n = arguments[f];
961
976
  if (n) {
962
- var v = typeof n;
963
- if (v === "string" || v === "number")
977
+ var _ = typeof n;
978
+ if (_ === "string" || _ === "number")
964
979
  c.push(n);
965
980
  else if (Array.isArray(n)) {
966
981
  if (n.length) {
967
- var b = s.apply(null, n);
968
- b && c.push(b);
982
+ var k = i.apply(null, n);
983
+ k && c.push(k);
969
984
  }
970
- } else if (v === "object") {
985
+ } else if (_ === "object") {
971
986
  if (n.toString !== Object.prototype.toString && !n.toString.toString().includes("[native code]")) {
972
987
  c.push(n.toString());
973
988
  continue;
@@ -979,45 +994,45 @@ var Ce = { exports: {} };
979
994
  }
980
995
  return c.join(" ");
981
996
  }
982
- o.exports ? (s.default = s, o.exports = s) : window.classNames = s;
997
+ o.exports ? (i.default = i, o.exports = i) : window.classNames = i;
983
998
  })();
984
- })(Ce);
985
- var Nr = Ce.exports;
986
- const yr = /* @__PURE__ */ mr(Nr), Er = ({ isResponsive: o, children: l }) => o ? /* @__PURE__ */ t("div", { className: "pkt-table-container", children: l }) : /* @__PURE__ */ t(Se, { children: l }), Or = ({
999
+ })($e);
1000
+ var wr = $e.exports;
1001
+ const xr = /* @__PURE__ */ vr(wr), Pr = ({ isResponsive: o, children: l }) => o ? /* @__PURE__ */ a("div", { className: "pkt-table-container", children: l }) : /* @__PURE__ */ a(Fe, { children: l }), Ir = ({
987
1002
  isResponsive: o,
988
- modifiers: { info: l = !1, success: s = !1, strong: c = !1, shadow: p = !1 } = {},
1003
+ modifiers: { info: l = !1, success: i = !1, strong: c = !1, shadow: f = !1 } = {},
989
1004
  children: n
990
- }) => /* @__PURE__ */ t(Er, { isResponsive: o, children: /* @__PURE__ */ t(
1005
+ }) => /* @__PURE__ */ a(Pr, { isResponsive: o, children: /* @__PURE__ */ a(
991
1006
  "table",
992
1007
  {
993
- className: yr("pkt-table", {
1008
+ className: xr("pkt-table", {
994
1009
  "pkt-table--info": l,
995
- "pkt-table--success": s,
1010
+ "pkt-table--success": i,
996
1011
  "pkt-table--strong": c,
997
- "pkt-table--shadow": p
1012
+ "pkt-table--shadow": f
998
1013
  }),
999
1014
  children: n
1000
1015
  }
1001
- ) }), $r = ({ children: o }) => /* @__PURE__ */ t("td", { className: "pkt-table__th", children: o }), Fr = ({ children: o }) => /* @__PURE__ */ t("th", { className: "pkt-table__th", children: o }), Rr = B(
1002
- ({ id: o, label: l, ...s }, c) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
1003
- /* @__PURE__ */ t("label", { htmlFor: o, className: "pkt-form-label", children: l }),
1004
- /* @__PURE__ */ t("textarea", { className: "pkt-form-textarea", id: o, ref: c, ...s })
1016
+ ) }), Ar = ({ children: o }) => /* @__PURE__ */ a("td", { className: "pkt-table__th", children: o }), Wr = ({ children: o }) => /* @__PURE__ */ a("th", { className: "pkt-table__th", children: o }), Tr = M(
1017
+ ({ id: o, label: l, ...i }, c) => /* @__PURE__ */ d("div", { className: "pkt-form-group", children: [
1018
+ /* @__PURE__ */ a("label", { htmlFor: o, className: "pkt-form-label", children: l }),
1019
+ /* @__PURE__ */ a("textarea", { className: "pkt-form-textarea", id: o, ref: c, ...i })
1005
1020
  ] })
1006
1021
  );
1007
- Rr.displayName = "PktTextarea";
1022
+ Tr.displayName = "PktTextarea";
1008
1023
  export {
1009
- wr as PktAlert,
1010
- vr as PktButton,
1011
- Tr as PktFooter,
1012
- Pr as PktFooterSimple,
1013
- jr as PktHeader,
1014
- kr as PktInput,
1015
- br as PktLinkCard,
1016
- Sr as PktMessagebox,
1017
- gr as PktRadio,
1018
- Cr as PktRadioGroup,
1019
- Or as PktTable,
1020
- $r as PktTableData,
1021
- Fr as PktTableHeader,
1022
- Rr as PktTextarea
1024
+ Sr as PktAlert,
1025
+ Nr as PktButton,
1026
+ Cr as PktFooter,
1027
+ Or as PktFooterSimple,
1028
+ Fr as PktHeader,
1029
+ yr as PktInput,
1030
+ Er as PktLinkCard,
1031
+ $r as PktMessagebox,
1032
+ Rr as PktRadio,
1033
+ Dr as PktRadioGroup,
1034
+ Ir as PktTable,
1035
+ Ar as PktTableData,
1036
+ Wr as PktTableHeader,
1037
+ Tr as PktTextarea
1023
1038
  };