@oslokommune/punkt-react 13.17.0 → 13.18.1

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.
@@ -34,9 +34,9 @@
34
34
  };
35
35
  }
36
36
  import { jsx as h, jsxs as x, Fragment as Wt } from "react/jsx-runtime";
37
- import ut, { createContext as Ea, forwardRef as Z, useContext as Oa, useState as je, useEffect as ns, useCallback as Ls, Fragment as un, createRef as mn, createElement as fn, Children as Os, isValidElement as gn, cloneElement as vn, useRef as Pa, useMemo as bn } from "react";
38
- import { Link as Ks } from "react-router-dom";
39
- const Ma = Ea({}), kn = () => Oa(Ma), yn = Z(
37
+ import mt, { createContext as Oa, forwardRef as Z, useContext as Pa, useState as je, useEffect as Qe, useCallback as Ls, useRef as Bs, Fragment as un, createRef as mn, createElement as fn, Children as Os, isValidElement as gn, cloneElement as vn, useMemo as bn } from "react";
38
+ import { Link as Gs } from "react-router-dom";
39
+ const Ma = Oa({}), kn = () => Pa(Ma), yn = Z(
40
40
  ({ compact: i = !1, skin: t = "borderless", ariaLabelledBy: e, children: s, name: a, className: n }, r) => {
41
41
  const l = [
42
42
  "pkt-accordion",
@@ -62,11 +62,11 @@ yn.displayName = "PktAccordion";
62
62
  * Copyright 2018 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- const $n = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Gs = /* @__PURE__ */ new WeakMap(), Ys = (i, t, e, s, a) => {
65
+ const $n = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), Ys = /* @__PURE__ */ new WeakMap(), Zs = (i, t, e, s, a) => {
66
66
  const n = a == null ? void 0 : a[t];
67
67
  n === void 0 ? (i[t] = e, e == null && t in HTMLElement.prototype && i.removeAttribute(t)) : e !== s && ((r, l, d) => {
68
- let p = Gs.get(r);
69
- p === void 0 && Gs.set(r, p = /* @__PURE__ */ new Map());
68
+ let p = Ys.get(r);
69
+ p === void 0 && Ys.set(r, p = /* @__PURE__ */ new Map());
70
70
  let m = p.get(l);
71
71
  d !== void 0 ? m === void 0 ? (p.set(l, m = { handleEvent: d }), r.addEventListener(l, m)) : m.handleEvent = d : m !== void 0 && (p.delete(l), r.removeEventListener(l, m));
72
72
  })(i, n, e);
@@ -77,8 +77,8 @@ const $n = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
77
77
  return i.useLayoutEffect((() => {
78
78
  if (m.current === null) return;
79
79
  const b = /* @__PURE__ */ new Map();
80
- for (const k in y) Ys(m.current, k, l[k], p.current.get(k), s), p.current.delete(k), b.set(k, l[k]);
81
- for (const [k, w] of p.current) Ys(m.current, k, void 0, w, s);
80
+ for (const k in y) Zs(m.current, k, l[k], p.current.get(k), s), p.current.delete(k), b.set(k, l[k]);
81
+ for (const [k, w] of p.current) Zs(m.current, k, void 0, w, s);
82
82
  p.current = b;
83
83
  })), i.useLayoutEffect((() => {
84
84
  var b;
@@ -94,22 +94,22 @@ const $n = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
94
94
  * Copyright 2017 Google LLC
95
95
  * SPDX-License-Identifier: BSD-3-Clause
96
96
  */
97
- const Xi = globalThis, Qi = Xi.trustedTypes, Zs = Qi ? Qi.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Da = "$lit$", ve = `lit$${Math.random().toFixed(9).slice(2)}$`, Ia = "?" + ve, _n = `<${Ia}>`, Me = document, Ni = () => Me.createComment(""), Ai = (i) => i === null || typeof i != "object" && typeof i != "function", Bs = Array.isArray, wn = (i) => Bs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", bs = `[
98
- \f\r]`, mi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Js = /-->/g, Xs = />/g, Ce = RegExp(`>|${bs}(?:([^\\s"'>=/]+)(${bs}*=${bs}*(?:[^
99
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Qs = /'/g, ta = /"/g, Ra = /^(?:script|style|textarea|title)$/i, xn = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = xn(1), wt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), ea = /* @__PURE__ */ new WeakMap(), Ee = Me.createTreeWalker(Me, 129);
97
+ const Qi = globalThis, ts = Qi.trustedTypes, Js = ts ? ts.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Da = "$lit$", ve = `lit$${Math.random().toFixed(9).slice(2)}$`, Ia = "?" + ve, _n = `<${Ia}>`, Me = document, Ai = () => Me.createComment(""), Ei = (i) => i === null || typeof i != "object" && typeof i != "function", Vs = Array.isArray, wn = (i) => Vs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", bs = `[
98
+ \f\r]`, fi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Xs = /-->/g, Qs = />/g, Ce = RegExp(`>|${bs}(?:([^\\s"'>=/]+)(${bs}*=${bs}*(?:[^
99
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ta = /'/g, ea = /"/g, Ra = /^(?:script|style|textarea|title)$/i, xn = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = xn(1), xt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), ia = /* @__PURE__ */ new WeakMap(), Ee = Me.createTreeWalker(Me, 129);
100
100
  function La(i, t) {
101
- if (!Bs(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
102
- return Zs !== void 0 ? Zs.createHTML(t) : t;
101
+ if (!Vs(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
102
+ return Js !== void 0 ? Js.createHTML(t) : t;
103
103
  }
104
104
  const Sn = (i, t) => {
105
105
  const e = i.length - 1, s = [];
106
- let a, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = mi;
106
+ let a, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = fi;
107
107
  for (let l = 0; l < e; l++) {
108
108
  const d = i[l];
109
109
  let p, m, f = -1, y = 0;
110
- for (; y < d.length && (r.lastIndex = y, m = r.exec(d), m !== null); ) y = r.lastIndex, r === mi ? m[1] === "!--" ? r = Js : m[1] !== void 0 ? r = Xs : m[2] !== void 0 ? (Ra.test(m[2]) && (a = RegExp("</" + m[2], "g")), r = Ce) : m[3] !== void 0 && (r = Ce) : r === Ce ? m[0] === ">" ? (r = a ?? mi, f = -1) : m[1] === void 0 ? f = -2 : (f = r.lastIndex - m[2].length, p = m[1], r = m[3] === void 0 ? Ce : m[3] === '"' ? ta : Qs) : r === ta || r === Qs ? r = Ce : r === Js || r === Xs ? r = mi : (r = Ce, a = void 0);
110
+ for (; y < d.length && (r.lastIndex = y, m = r.exec(d), m !== null); ) y = r.lastIndex, r === fi ? m[1] === "!--" ? r = Xs : m[1] !== void 0 ? r = Qs : m[2] !== void 0 ? (Ra.test(m[2]) && (a = RegExp("</" + m[2], "g")), r = Ce) : m[3] !== void 0 && (r = Ce) : r === Ce ? m[0] === ">" ? (r = a ?? fi, f = -1) : m[1] === void 0 ? f = -2 : (f = r.lastIndex - m[2].length, p = m[1], r = m[3] === void 0 ? Ce : m[3] === '"' ? ea : ta) : r === ea || r === ta ? r = Ce : r === Xs || r === Qs ? r = fi : (r = Ce, a = void 0);
111
111
  const b = r === Ce && i[l + 1].startsWith("/>") ? " " : "";
112
- n += r === mi ? d + _n : f >= 0 ? (s.push(p), d.slice(0, f) + Da + d.slice(f) + ve + b) : d + ve + (f === -2 ? l : b);
112
+ n += r === fi ? d + _n : f >= 0 ? (s.push(p), d.slice(0, f) + Da + d.slice(f) + ve + b) : d + ve + (f === -2 ? l : b);
113
113
  }
114
114
  return [La(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
115
115
  };
@@ -132,9 +132,9 @@ let Ps = class Ba {
132
132
  if (Ra.test(a.tagName)) {
133
133
  const f = a.textContent.split(ve), y = f.length - 1;
134
134
  if (y > 0) {
135
- a.textContent = Qi ? Qi.emptyScript : "";
136
- for (let b = 0; b < y; b++) a.append(f[b], Ni()), Ee.nextNode(), d.push({ type: 2, index: ++n });
137
- a.append(f[y], Ni());
135
+ a.textContent = ts ? ts.emptyScript : "";
136
+ for (let b = 0; b < y; b++) a.append(f[b], Ai()), Ee.nextNode(), d.push({ type: 2, index: ++n });
137
+ a.append(f[y], Ai());
138
138
  }
139
139
  }
140
140
  } else if (a.nodeType === 8) if (a.data === Ia) d.push({ type: 2, index: n });
@@ -150,12 +150,12 @@ let Ps = class Ba {
150
150
  return s.innerHTML = t, s;
151
151
  }
152
152
  };
153
- function Qe(i, t, e = i, s) {
153
+ function ti(i, t, e = i, s) {
154
154
  var a, n;
155
- if (t === wt) return t;
155
+ if (t === xt) return t;
156
156
  let r = s !== void 0 ? (a = e._$Co) == null ? void 0 : a[s] : e._$Cl;
157
- const l = Ai(t) ? void 0 : t._$litDirective$;
158
- return (r == null ? void 0 : r.constructor) !== l && ((n = r == null ? void 0 : r._$AO) == null || n.call(r, !1), l === void 0 ? r = void 0 : (r = new l(i), r._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = r : e._$Cl = r), r !== void 0 && (t = Qe(i, r._$AS(i, t.values), r, s)), t;
157
+ const l = Ei(t) ? void 0 : t._$litDirective$;
158
+ return (r == null ? void 0 : r.constructor) !== l && ((n = r == null ? void 0 : r._$AO) == null || n.call(r, !1), l === void 0 ? r = void 0 : (r = new l(i), r._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = r : e._$Cl = r), r !== void 0 && (t = ti(i, r._$AS(i, t.values), r, s)), t;
159
159
  }
160
160
  let Cn = class {
161
161
  constructor(t, e) {
@@ -204,7 +204,7 @@ let Cn = class {
204
204
  return this._$AB;
205
205
  }
206
206
  _$AI(t, e = this) {
207
- t = Qe(this, t, e), Ai(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : wn(t) ? this.k(t) : this._(t);
207
+ t = ti(this, t, e), Ei(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== xt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : wn(t) ? this.k(t) : this._(t);
208
208
  }
209
209
  O(t) {
210
210
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -213,7 +213,7 @@ let Cn = class {
213
213
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
214
214
  }
215
215
  _(t) {
216
- this._$AH !== $ && Ai(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Me.createTextNode(t)), this._$AH = t;
216
+ this._$AH !== $ && Ei(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Me.createTextNode(t)), this._$AH = t;
217
217
  }
218
218
  $(t) {
219
219
  var e;
@@ -225,14 +225,14 @@ let Cn = class {
225
225
  }
226
226
  }
227
227
  _$AC(t) {
228
- let e = ea.get(t.strings);
229
- return e === void 0 && ea.set(t.strings, e = new Ps(t)), e;
228
+ let e = ia.get(t.strings);
229
+ return e === void 0 && ia.set(t.strings, e = new Ps(t)), e;
230
230
  }
231
231
  k(t) {
232
- Bs(this._$AH) || (this._$AH = [], this._$AR());
232
+ Vs(this._$AH) || (this._$AH = [], this._$AR());
233
233
  const e = this._$AH;
234
234
  let s, a = 0;
235
- for (const n of t) a === e.length ? e.push(s = new Va(this.O(Ni()), this.O(Ni()), this, this.options)) : s = e[a], s._$AI(n), a++;
235
+ for (const n of t) a === e.length ? e.push(s = new Va(this.O(Ai()), this.O(Ai()), this, this.options)) : s = e[a], s._$AI(n), a++;
236
236
  a < e.length && (this._$AR(s && s._$AB.nextSibling, a), e.length = a);
237
237
  }
238
238
  _$AR(t = this._$AA.nextSibling, e) {
@@ -259,11 +259,11 @@ let Cn = class {
259
259
  _$AI(t, e = this, s, a) {
260
260
  const n = this.strings;
261
261
  let r = !1;
262
- if (n === void 0) t = Qe(this, t, e, 0), r = !Ai(t) || t !== this._$AH && t !== wt, r && (this._$AH = t);
262
+ if (n === void 0) t = ti(this, t, e, 0), r = !Ei(t) || t !== this._$AH && t !== xt, r && (this._$AH = t);
263
263
  else {
264
264
  const l = t;
265
265
  let d, p;
266
- for (t = n[0], d = 0; d < n.length - 1; d++) p = Qe(this, l[s + d], e, d), p === wt && (p = this._$AH[d]), r || (r = !Ai(p) || p !== this._$AH[d]), p === $ ? t = $ : t !== $ && (t += (p ?? "") + n[d + 1]), this._$AH[d] = p;
266
+ for (t = n[0], d = 0; d < n.length - 1; d++) p = ti(this, l[s + d], e, d), p === xt && (p = this._$AH[d]), r || (r = !Ei(p) || p !== this._$AH[d]), p === $ ? t = $ : t !== $ && (t += (p ?? "") + n[d + 1]), this._$AH[d] = p;
267
267
  }
268
268
  r && !a && this.j(t);
269
269
  }
@@ -289,7 +289,7 @@ let Cn = class {
289
289
  super(t, e, s, a, n), this.type = 5;
290
290
  }
291
291
  _$AI(t, e = this) {
292
- if ((t = Qe(this, t, e, 0) ?? $) === wt) return;
292
+ if ((t = ti(this, t, e, 0) ?? $) === xt) return;
293
293
  const s = this._$AH, a = t === $ && s !== $ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== $ && (s === $ || a);
294
294
  a && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
295
295
  }
@@ -305,17 +305,17 @@ let Cn = class {
305
305
  return this._$AM._$AU;
306
306
  }
307
307
  _$AI(t) {
308
- Qe(this, t);
308
+ ti(this, t);
309
309
  }
310
310
  };
311
- const On = { I: rs }, ia = Xi.litHtmlPolyfillSupport;
312
- ia == null || ia(Ps, rs), (Xi.litHtmlVersions ?? (Xi.litHtmlVersions = [])).push("3.3.1");
311
+ const On = { I: rs }, sa = Qi.litHtmlPolyfillSupport;
312
+ sa == null || sa(Ps, rs), (Qi.litHtmlVersions ?? (Qi.litHtmlVersions = [])).push("3.3.1");
313
313
  const Pn = (i, t, e) => {
314
314
  const s = (e == null ? void 0 : e.renderBefore) ?? t;
315
315
  let a = s._$litPart$;
316
316
  if (a === void 0) {
317
317
  const n = (e == null ? void 0 : e.renderBefore) ?? null;
318
- s._$litPart$ = a = new rs(t.insertBefore(Ni(), n), n, void 0, e ?? {});
318
+ s._$litPart$ = a = new rs(t.insertBefore(Ai(), n), n, void 0, e ?? {});
319
319
  }
320
320
  return a._$AI(i), a;
321
321
  };
@@ -334,7 +334,7 @@ const j = (i) => (t, e) => {
334
334
  * Copyright 2019 Google LLC
335
335
  * SPDX-License-Identifier: BSD-3-Clause
336
336
  */
337
- const Yi = globalThis, Vs = Yi.ShadowRoot && (Yi.ShadyCSS === void 0 || Yi.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ja = Symbol(), sa = /* @__PURE__ */ new WeakMap();
337
+ const Zi = globalThis, js = Zi.ShadowRoot && (Zi.ShadyCSS === void 0 || Zi.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ja = Symbol(), aa = /* @__PURE__ */ new WeakMap();
338
338
  let Mn = class {
339
339
  constructor(t, e, s) {
340
340
  if (this._$cssResult$ = !0, s !== ja) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -343,9 +343,9 @@ let Mn = class {
343
343
  get styleSheet() {
344
344
  let t = this.o;
345
345
  const e = this.t;
346
- if (Vs && t === void 0) {
346
+ if (js && t === void 0) {
347
347
  const s = e !== void 0 && e.length === 1;
348
- s && (t = sa.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && sa.set(e, t));
348
+ s && (t = aa.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && aa.set(e, t));
349
349
  }
350
350
  return t;
351
351
  }
@@ -354,12 +354,12 @@ let Mn = class {
354
354
  }
355
355
  };
356
356
  const Dn = (i) => new Mn(typeof i == "string" ? i : i + "", void 0, ja), In = (i, t) => {
357
- if (Vs) i.adoptedStyleSheets = t.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
357
+ if (js) i.adoptedStyleSheets = t.map(((e) => e instanceof CSSStyleSheet ? e : e.styleSheet));
358
358
  else for (const e of t) {
359
- const s = document.createElement("style"), a = Yi.litNonce;
359
+ const s = document.createElement("style"), a = Zi.litNonce;
360
360
  a !== void 0 && s.setAttribute("nonce", a), s.textContent = e.cssText, i.appendChild(s);
361
361
  }
362
- }, aa = Vs ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
362
+ }, na = js ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
363
363
  let e = "";
364
364
  for (const s of t.cssRules) e += s.cssText;
365
365
  return Dn(e);
@@ -369,7 +369,7 @@ const Dn = (i) => new Mn(typeof i == "string" ? i : i + "", void 0, ja), In = (i
369
369
  * Copyright 2017 Google LLC
370
370
  * SPDX-License-Identifier: BSD-3-Clause
371
371
  */
372
- const { is: Rn, defineProperty: Ln, getOwnPropertyDescriptor: Bn, getOwnPropertyNames: Vn, getOwnPropertySymbols: jn, getPrototypeOf: Fn } = Object, ti = globalThis, na = ti.trustedTypes, Un = na ? na.emptyScript : "", ra = ti.reactiveElementPolyfillSupport, Ci = (i, t) => i, ts = { toAttribute(i, t) {
372
+ const { is: Rn, defineProperty: Ln, getOwnPropertyDescriptor: Bn, getOwnPropertyNames: Vn, getOwnPropertySymbols: jn, getPrototypeOf: Fn } = Object, ei = globalThis, ra = ei.trustedTypes, Un = ra ? ra.emptyScript : "", oa = ei.reactiveElementPolyfillSupport, Ti = (i, t) => i, es = { toAttribute(i, t) {
373
373
  switch (t) {
374
374
  case Boolean:
375
375
  i = i ? Un : null;
@@ -397,8 +397,8 @@ const { is: Rn, defineProperty: Ln, getOwnPropertyDescriptor: Bn, getOwnProperty
397
397
  }
398
398
  }
399
399
  return e;
400
- } }, js = (i, t) => !Rn(i, t), oa = { attribute: !0, type: String, converter: ts, reflect: !1, useDefault: !1, hasChanged: js };
401
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ti.litPropertyMetadata ?? (ti.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
400
+ } }, Fs = (i, t) => !Rn(i, t), la = { attribute: !0, type: String, converter: es, reflect: !1, useDefault: !1, hasChanged: Fs };
401
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), ei.litPropertyMetadata ?? (ei.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
402
402
  let Ye = class extends HTMLElement {
403
403
  static addInitializer(t) {
404
404
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
@@ -406,7 +406,7 @@ let Ye = class extends HTMLElement {
406
406
  static get observedAttributes() {
407
407
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
408
408
  }
409
- static createProperty(t, e = oa) {
409
+ static createProperty(t, e = la) {
410
410
  if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
411
411
  const s = Symbol(), a = this.getPropertyDescriptor(t, s, e);
412
412
  a !== void 0 && Ln(this.prototype, t, a);
@@ -424,16 +424,16 @@ let Ye = class extends HTMLElement {
424
424
  }, configurable: !0, enumerable: !0 };
425
425
  }
426
426
  static getPropertyOptions(t) {
427
- return this.elementProperties.get(t) ?? oa;
427
+ return this.elementProperties.get(t) ?? la;
428
428
  }
429
429
  static _$Ei() {
430
- if (this.hasOwnProperty(Ci("elementProperties"))) return;
430
+ if (this.hasOwnProperty(Ti("elementProperties"))) return;
431
431
  const t = Fn(this);
432
432
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
433
433
  }
434
434
  static finalize() {
435
- if (this.hasOwnProperty(Ci("finalized"))) return;
436
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ci("properties"))) {
435
+ if (this.hasOwnProperty(Ti("finalized"))) return;
436
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ti("properties"))) {
437
437
  const e = this.properties, s = [...Vn(e), ...jn(e)];
438
438
  for (const a of s) this.createProperty(a, e[a]);
439
439
  }
@@ -453,8 +453,8 @@ let Ye = class extends HTMLElement {
453
453
  const e = [];
454
454
  if (Array.isArray(t)) {
455
455
  const s = new Set(t.flat(1 / 0).reverse());
456
- for (const a of s) e.unshift(aa(a));
457
- } else t !== void 0 && e.push(aa(t));
456
+ for (const a of s) e.unshift(na(a));
457
+ } else t !== void 0 && e.push(na(t));
458
458
  return e;
459
459
  }
460
460
  static _$Eu(t, e) {
@@ -508,7 +508,7 @@ let Ye = class extends HTMLElement {
508
508
  var s;
509
509
  const a = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, a);
510
510
  if (n !== void 0 && a.reflect === !0) {
511
- const r = (((s = a.converter) == null ? void 0 : s.toAttribute) !== void 0 ? a.converter : ts).toAttribute(e, a.type);
511
+ const r = (((s = a.converter) == null ? void 0 : s.toAttribute) !== void 0 ? a.converter : es).toAttribute(e, a.type);
512
512
  this._$Em = t, r == null ? this.removeAttribute(n) : this.setAttribute(n, r), this._$Em = null;
513
513
  }
514
514
  }
@@ -516,7 +516,7 @@ let Ye = class extends HTMLElement {
516
516
  var s, a;
517
517
  const n = this.constructor, r = n._$Eh.get(t);
518
518
  if (r !== void 0 && this._$Em !== r) {
519
- const l = n.getPropertyOptions(r), d = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((s = l.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? l.converter : ts;
519
+ const l = n.getPropertyOptions(r), d = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((s = l.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? l.converter : es;
520
520
  this._$Em = r;
521
521
  const p = d.fromAttribute(e, l.type);
522
522
  this[r] = p ?? ((a = this._$Ej) == null ? void 0 : a.get(r)) ?? p, this._$Em = null;
@@ -526,7 +526,7 @@ let Ye = class extends HTMLElement {
526
526
  var a;
527
527
  if (t !== void 0) {
528
528
  const n = this.constructor, r = this[t];
529
- if (s ?? (s = n.getPropertyOptions(t)), !((s.hasChanged ?? js)(r, e) || s.useDefault && s.reflect && r === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(n._$Eu(t, s)))) return;
529
+ if (s ?? (s = n.getPropertyOptions(t)), !((s.hasChanged ?? Fs)(r, e) || s.useDefault && s.reflect && r === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(n._$Eu(t, s)))) return;
530
530
  this.C(t, e, s);
531
531
  }
532
532
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -602,13 +602,13 @@ let Ye = class extends HTMLElement {
602
602
  firstUpdated(t) {
603
603
  }
604
604
  };
605
- Ye.elementStyles = [], Ye.shadowRootOptions = { mode: "open" }, Ye[Ci("elementProperties")] = /* @__PURE__ */ new Map(), Ye[Ci("finalized")] = /* @__PURE__ */ new Map(), ra == null || ra({ ReactiveElement: Ye }), (ti.reactiveElementVersions ?? (ti.reactiveElementVersions = [])).push("2.1.1");
605
+ Ye.elementStyles = [], Ye.shadowRootOptions = { mode: "open" }, Ye[Ti("elementProperties")] = /* @__PURE__ */ new Map(), Ye[Ti("finalized")] = /* @__PURE__ */ new Map(), oa == null || oa({ ReactiveElement: Ye }), (ei.reactiveElementVersions ?? (ei.reactiveElementVersions = [])).push("2.1.1");
606
606
  /**
607
607
  * @license
608
608
  * Copyright 2017 Google LLC
609
609
  * SPDX-License-Identifier: BSD-3-Clause
610
610
  */
611
- const Hn = { attribute: !0, type: String, converter: ts, reflect: !1, hasChanged: js }, qn = (i = Hn, t, e) => {
611
+ const Hn = { attribute: !0, type: String, converter: es, reflect: !1, hasChanged: Fs }, qn = (i = Hn, t, e) => {
612
612
  const { kind: s, metadata: a } = e;
613
613
  let n = globalThis.litPropertyMetadata.get(a);
614
614
  if (n === void 0 && globalThis.litPropertyMetadata.set(a, n = /* @__PURE__ */ new Map()), s === "setter" && ((i = Object.create(i)).wrapped = !0), n.set(e.name, i), s === "accessor") {
@@ -640,7 +640,7 @@ function o(i) {
640
640
  * Copyright 2017 Google LLC
641
641
  * SPDX-License-Identifier: BSD-3-Clause
642
642
  */
643
- const Ei = globalThis;
643
+ const Oi = globalThis;
644
644
  let Ze = class extends Ye {
645
645
  constructor() {
646
646
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
@@ -663,15 +663,15 @@ let Ze = class extends Ye {
663
663
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
664
664
  }
665
665
  render() {
666
- return wt;
666
+ return xt;
667
667
  }
668
668
  };
669
- var la;
670
- Ze._$litElement$ = !0, Ze.finalized = !0, (la = Ei.litElementHydrateSupport) == null || la.call(Ei, { LitElement: Ze });
671
- const ha = Ei.litElementPolyfillSupport;
672
- ha == null || ha({ LitElement: Ze });
673
- (Ei.litElementVersions ?? (Ei.litElementVersions = [])).push("4.2.1");
674
- const zn = { hi: "Hei!" }, Wn = { from: "Fra", to: "Til" }, Kn = { buttonAltText: "Åpne kalender", deleteDate: "Fjern dato" }, Gn = { month: "Måned", year: "År", days: ["Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], daysShort: ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], week: "Uke", prevMonth: "Forrige måned", nextMonth: "Neste måned" }, Yn = { search: { placeholder: "Søk…" }, labels: { optional: "Valgfritt", required: "Må fylles ut" }, messages: { required: "Dette feltet er påkrevd", invalid: "Ugyldig verdi", invalidPattern: "Ugyldig format", tooShort: "For kort", tooLong: "For lang", rangeUnderflow: "For lav verdi", rangeOverflow: "For høy verdi", rangeUnderflowMin: "Verdien må være større enn eller lik {min}.", rangeOverflowMax: "Verdien må være mindre enn eller lik {max}.", dateUnderflow: "For tidlig dato", dateOverflow: "For sen dato" }, helptext: { helptextDropdownButton: "Les mer" }, date: { multiple: "Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato." } }, yt = {
669
+ var ha;
670
+ Ze._$litElement$ = !0, Ze.finalized = !0, (ha = Oi.litElementHydrateSupport) == null || ha.call(Oi, { LitElement: Ze });
671
+ const da = Oi.litElementPolyfillSupport;
672
+ da == null || da({ LitElement: Ze });
673
+ (Oi.litElementVersions ?? (Oi.litElementVersions = [])).push("4.2.1");
674
+ const zn = { hi: "Hei!" }, Wn = { from: "Fra", to: "Til" }, Kn = { buttonAltText: "Åpne kalender", deleteDate: "Fjern dato" }, Gn = { month: "Måned", year: "År", days: ["Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], daysShort: ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], week: "Uke", prevMonth: "Forrige måned", nextMonth: "Neste måned" }, Yn = { search: { placeholder: "Søk…" }, labels: { optional: "Valgfritt", required: "Må fylles ut" }, messages: { required: "Dette feltet er påkrevd", invalid: "Ugyldig verdi", invalidPattern: "Ugyldig format", tooShort: "For kort", tooLong: "For lang", rangeUnderflow: "For lav verdi", rangeOverflow: "For høy verdi", rangeUnderflowMin: "Verdien må være større enn eller lik {min}.", rangeOverflowMax: "Verdien må være mindre enn eller lik {max}.", dateUnderflow: "For tidlig dato", dateOverflow: "For sen dato" }, helptext: { helptextDropdownButton: "Les mer" }, date: { multiple: "Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato." } }, _t = {
675
675
  example: zn,
676
676
  generic: Wn,
677
677
  calendar: Kn,
@@ -685,7 +685,7 @@ var Zn = Object.defineProperty, Fa = (i, t, e, s) => {
685
685
  };
686
686
  let ls = class extends Ze {
687
687
  constructor() {
688
- super(...arguments), this.strings = yt, this.role = null;
688
+ super(...arguments), this.strings = _t, this.role = null;
689
689
  }
690
690
  /**
691
691
  * Add support for Hot Module Reloading in dev mode
@@ -700,7 +700,7 @@ Fa([
700
700
  Fa([
701
701
  o({ type: String })
702
702
  ], ls.prototype, "role");
703
- let G = class extends ls {
703
+ let K = class extends ls {
704
704
  /**
705
705
  * Make sure the component renders in light DOM instead of shadow DOM
706
706
  */
@@ -714,7 +714,7 @@ let G = class extends ls {
714
714
  * SPDX-License-Identifier: BSD-3-Clause
715
715
  */
716
716
  const zt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4 }, Fe = (i) => (...t) => ({ _$litDirective$: i, values: t });
717
- let oi = class {
717
+ let li = class {
718
718
  constructor(t) {
719
719
  }
720
720
  get _$AU() {
@@ -735,7 +735,7 @@ let oi = class {
735
735
  * Copyright 2018 Google LLC
736
736
  * SPDX-License-Identifier: BSD-3-Clause
737
737
  */
738
- const O = Fe(class extends oi {
738
+ const O = Fe(class extends li {
739
739
  constructor(i) {
740
740
  var t;
741
741
  if (super(i), i.type !== zt.ATTRIBUTE || i.name !== "class" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
@@ -756,7 +756,7 @@ const O = Fe(class extends oi {
756
756
  const r = !!t[n];
757
757
  r === this.st.has(n) || (s = this.nt) != null && s.has(n) || (r ? (a.add(n), this.st.add(n)) : (a.remove(n), this.st.delete(n)));
758
758
  }
759
- return wt;
759
+ return xt;
760
760
  }
761
761
  });
762
762
  /**
@@ -770,7 +770,7 @@ function B(i) {
770
770
  function Ua(i, t) {
771
771
  return t.some((e) => e.value === i);
772
772
  }
773
- function fi(i) {
773
+ function gi(i) {
774
774
  return i.classList && (i.classList.contains("_dialog_overlay") || i.classList.contains("backdrop")) ? !0 : typeof i.hasAttribute == "function" && i.hasAttribute("data-skip");
775
775
  }
776
776
  function Je(i) {
@@ -799,7 +799,7 @@ let rt = class {
799
799
  // ********* UPDATE NODES *********
800
800
  updateNodes() {
801
801
  this.nodes = [], Array.from(this.host.childNodes).forEach((t) => {
802
- fi(t) || Je(t) && this.skipOptions || (!Ua(t, this.slots) || ks(t)) && this.nodes.push(t);
802
+ gi(t) || Je(t) && this.skipOptions || (!Ua(t, this.slots) || ks(t)) && this.nodes.push(t);
803
803
  });
804
804
  }
805
805
  // ********* UPDATE SLOTS *********
@@ -815,13 +815,13 @@ let rt = class {
815
815
  if (n.nodeType === Node.COMMENT_NODE) return !1;
816
816
  if (n.nodeType === Node.TEXT_NODE) return !!((r = n.textContent) != null && r.trim());
817
817
  if (n.nodeType === Node.ELEMENT_NODE) {
818
- if (fi(n)) return !1;
818
+ if (gi(n)) return !1;
819
819
  if ((l = n.textContent) != null && l.trim()) return !0;
820
820
  }
821
821
  return !1;
822
822
  }) && t.add(s);
823
823
  const a = this.nodes.flatMap(
824
- (n) => ks(n) || n.getAttribute && n.getAttribute("slot") == s && !fi(n) ? n : []
824
+ (n) => ks(n) || n.getAttribute && n.getAttribute("slot") == s && !gi(n) ? n : []
825
825
  ).filter(
826
826
  (n) => e.value && !e.value.contains(n) && !n.contains(e.value)
827
827
  );
@@ -839,9 +839,9 @@ let rt = class {
839
839
  let e = !1;
840
840
  t.forEach((s) => {
841
841
  s.type === "childList" && (s.addedNodes.forEach((a) => {
842
- fi(a) || Je(a) && this.skipOptions || (Jn(a, this.slots) || ks(a)) && (this.nodes.push(a), e = !0);
842
+ gi(a) || Je(a) && this.skipOptions || (Jn(a, this.slots) || ks(a)) && (this.nodes.push(a), e = !0);
843
843
  }), s.removedNodes.forEach((a) => {
844
- fi(a) || Je(a) && this.skipOptions || (this.nodes = this.nodes.filter((n) => n !== a), e = !0);
844
+ gi(a) || Je(a) && this.skipOptions || (this.nodes = this.nodes.filter((n) => n !== a), e = !0);
845
845
  }));
846
846
  }), e && this.updateSlots();
847
847
  }
@@ -861,11 +861,11 @@ let rt = class {
861
861
  * Copyright 2020 Google LLC
862
862
  * SPDX-License-Identifier: BSD-3-Clause
863
863
  */
864
- const { I: Xn } = On, Ha = (i) => i.strings === void 0, da = () => document.createComment(""), gi = (i, t, e) => {
864
+ const { I: Xn } = On, Ha = (i) => i.strings === void 0, ca = () => document.createComment(""), vi = (i, t, e) => {
865
865
  var s;
866
866
  const a = i._$AA.parentNode, n = t === void 0 ? i._$AB : t._$AA;
867
867
  if (e === void 0) {
868
- const r = a.insertBefore(da(), n), l = a.insertBefore(da(), n);
868
+ const r = a.insertBefore(ca(), n), l = a.insertBefore(ca(), n);
869
869
  e = new Xn(r, l, i, i.options);
870
870
  } else {
871
871
  const r = e._$AB.nextSibling, l = e._$AM, d = l !== i;
@@ -890,13 +890,13 @@ const { I: Xn } = On, Ha = (i) => i.strings === void 0, da = () => document.crea
890
890
  * Copyright 2017 Google LLC
891
891
  * SPDX-License-Identifier: BSD-3-Clause
892
892
  */
893
- const Ti = (i, t) => {
893
+ const Ni = (i, t) => {
894
894
  var e;
895
895
  const s = i._$AN;
896
896
  if (s === void 0) return !1;
897
- for (const a of s) (e = a._$AO) == null || e.call(a, t, !1), Ti(a, t);
897
+ for (const a of s) (e = a._$AO) == null || e.call(a, t, !1), Ni(a, t);
898
898
  return !0;
899
- }, es = (i) => {
899
+ }, is = (i) => {
900
900
  let t, e;
901
901
  do {
902
902
  if ((t = i._$AM) === void 0) break;
@@ -911,18 +911,18 @@ const Ti = (i, t) => {
911
911
  }
912
912
  };
913
913
  function er(i) {
914
- this._$AN !== void 0 ? (es(this), this._$AM = i, za(this)) : this._$AM = i;
914
+ this._$AN !== void 0 ? (is(this), this._$AM = i, za(this)) : this._$AM = i;
915
915
  }
916
916
  function ir(i, t = !1, e = 0) {
917
917
  const s = this._$AH, a = this._$AN;
918
- if (a !== void 0 && a.size !== 0) if (t) if (Array.isArray(s)) for (let n = e; n < s.length; n++) Ti(s[n], !1), es(s[n]);
919
- else s != null && (Ti(s, !1), es(s));
920
- else Ti(this, i);
918
+ if (a !== void 0 && a.size !== 0) if (t) if (Array.isArray(s)) for (let n = e; n < s.length; n++) Ni(s[n], !1), is(s[n]);
919
+ else s != null && (Ni(s, !1), is(s));
920
+ else Ni(this, i);
921
921
  }
922
922
  const sr = (i) => {
923
923
  i.type == zt.CHILD && (i._$AP ?? (i._$AP = ir), i._$AQ ?? (i._$AQ = er));
924
924
  };
925
- let ar = class extends oi {
925
+ let ar = class extends li {
926
926
  constructor() {
927
927
  super(...arguments), this._$AN = void 0;
928
928
  }
@@ -931,7 +931,7 @@ let ar = class extends oi {
931
931
  }
932
932
  _$AO(t, e = !0) {
933
933
  var s, a;
934
- t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (a = this.disconnected) == null || a.call(this)), e && (Ti(this, t), es(this));
934
+ t !== this.isConnected && (this.isConnected = t, t ? (s = this.reconnected) == null || s.call(this) : (a = this.disconnected) == null || a.call(this)), e && (Ni(this, t), is(this));
935
935
  }
936
936
  setValue(t) {
937
937
  if (Ha(this._$Ct)) this._$Ct._$AI(t, this);
@@ -989,13 +989,13 @@ function Wa(i, t, e) {
989
989
  * Copyright 2017 Google LLC
990
990
  * SPDX-License-Identifier: BSD-3-Clause
991
991
  */
992
- let is = class extends oi {
992
+ let ss = class extends li {
993
993
  constructor(t) {
994
994
  if (super(t), this.it = $, t.type !== zt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
995
995
  }
996
996
  render(t) {
997
997
  if (t === $ || t == null) return this._t = void 0, this.it = t;
998
- if (t === wt) return t;
998
+ if (t === xt) return t;
999
999
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
1000
1000
  if (t === this.it) return this._t;
1001
1001
  this.it = t;
@@ -1003,36 +1003,36 @@ let is = class extends oi {
1003
1003
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
1004
1004
  }
1005
1005
  };
1006
- is.directiveName = "unsafeHTML", is.resultType = 1;
1007
- const Zi = Fe(is);
1006
+ ss.directiveName = "unsafeHTML", ss.resultType = 1;
1007
+ const Ji = Fe(ss);
1008
1008
  /**
1009
1009
  * @license
1010
1010
  * Copyright 2017 Google LLC
1011
1011
  * SPDX-License-Identifier: BSD-3-Clause
1012
1012
  */
1013
- let Ms = class extends is {
1013
+ let Ms = class extends ss {
1014
1014
  };
1015
1015
  Ms.directiveName = "unsafeSVG", Ms.resultType = 2;
1016
- const ca = Fe(Ms);
1017
- var rr = Object.defineProperty, or = Object.getOwnPropertyDescriptor, Ii = (i, t, e, s) => {
1016
+ const pa = Fe(Ms);
1017
+ var rr = Object.defineProperty, or = Object.getOwnPropertyDescriptor, Ri = (i, t, e, s) => {
1018
1018
  for (var a = s > 1 ? void 0 : s ? or(t, e) : t, n = i.length - 1, r; n >= 0; n--)
1019
1019
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1020
1020
  return s && a && rr(t, e, a), a;
1021
1021
  };
1022
- const Ds = "https://punkt-cdn.oslo.kommune.no/13.17/icons/";
1022
+ const Ds = "https://punkt-cdn.oslo.kommune.no/13.18/icons/";
1023
1023
  typeof window < "u" && (window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch, window.pktIconPath = window.pktIconPath || Ds);
1024
- const lr = (i) => new Promise((t) => setTimeout(t, i)), Ji = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', _s = {}, hr = async (i, t) => {
1024
+ const lr = (i) => new Promise((t) => setTimeout(t, i)), Xi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', _s = {}, hr = async (i, t) => {
1025
1025
  let e = 0;
1026
1026
  for (; _s[t + i + ".svg"] === "fetching" && (e++, !(e > 50)); )
1027
1027
  await lr(50);
1028
1028
  const s = typeof Storage < "u" && typeof localStorage < "u";
1029
1029
  return s && localStorage.getItem(t + i + ".svg") ? Promise.resolve(localStorage.getItem(t + i + ".svg")) : typeof window < "u" && typeof window.pktFetch == "function" ? (_s[t + i + ".svg"] = "fetching", Promise.resolve(
1030
- window.pktFetch(t + i + ".svg").then((a) => a.ok ? a.text() : (console.error("Missing icon: " + t + i + ".svg"), Ji)).then((a) => (a !== Ji && s && localStorage.setItem(t + i + ".svg", a), _s[t + i + ".svg"] = "fetched", a))
1031
- )) : Promise.resolve(Ji);
1030
+ window.pktFetch(t + i + ".svg").then((a) => a.ok ? a.text() : (console.error("Missing icon: " + t + i + ".svg"), Xi)).then((a) => (a !== Xi && s && localStorage.setItem(t + i + ".svg", a), _s[t + i + ".svg"] = "fetched", a))
1031
+ )) : Promise.resolve(Xi);
1032
1032
  };
1033
- let De = class extends G {
1033
+ let De = class extends K {
1034
1034
  constructor() {
1035
- super(...arguments), this.path = typeof window < "u" ? window.pktIconPath : Ds, this.name = "", this.icon = ca(Ji), this._updatedProps = [];
1035
+ super(...arguments), this.path = typeof window < "u" ? window.pktIconPath : Ds, this.name = "", this.icon = pa(Xi), this._updatedProps = [];
1036
1036
  }
1037
1037
  connectedCallback() {
1038
1038
  super.connectedCallback(), this.classList.add("pkt-icon");
@@ -1044,7 +1044,7 @@ let De = class extends G {
1044
1044
  super.updated(t), (t.has("name") || t.has("path")) && this.getIcon(this.name);
1045
1045
  }
1046
1046
  async getIcon(t = "") {
1047
- this._updatedProps.length > 0 ? (this.path || (this.path = typeof window < "u" ? window.pktIconPath : Ds), this.icon = ca(
1047
+ this._updatedProps.length > 0 ? (this.path || (this.path = typeof window < "u" ? window.pktIconPath : Ds), this.icon = pa(
1048
1048
  await hr(this.name || "", this.path).then((e) => e)
1049
1049
  ), this._updatedProps = []) : this._updatedProps.includes(t) || this._updatedProps.push(t);
1050
1050
  }
@@ -1052,19 +1052,19 @@ let De = class extends G {
1052
1052
  return u`${this.name && this.icon}`;
1053
1053
  }
1054
1054
  };
1055
- Ii([
1055
+ Ri([
1056
1056
  o({ type: String, reflect: !1 })
1057
1057
  ], De.prototype, "path", 2);
1058
- Ii([
1058
+ Ri([
1059
1059
  o({ type: String, reflect: !0 })
1060
1060
  ], De.prototype, "name", 2);
1061
- Ii([
1061
+ Ri([
1062
1062
  o({ type: SVGElement })
1063
1063
  ], De.prototype, "icon", 2);
1064
- Ii([
1064
+ Ri([
1065
1065
  o({ type: Array, noAccessor: !0 })
1066
1066
  ], De.prototype, "_updatedProps", 2);
1067
- De = Ii([
1067
+ De = Ri([
1068
1068
  j("pkt-icon")
1069
1069
  ], De);
1070
1070
  /**
@@ -1073,13 +1073,13 @@ De = Ii([
1073
1073
  * SPDX-License-Identifier: BSD-3-Clause
1074
1074
  */
1075
1075
  const C = (i) => i ?? $;
1076
- var dr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, bt = (i, t, e, s) => {
1076
+ var dr = Object.defineProperty, cr = Object.getOwnPropertyDescriptor, kt = (i, t, e, s) => {
1077
1077
  for (var a = s > 1 ? void 0 : s ? cr(t, e) : t, n = i.length - 1, r; n >= 0; n--)
1078
1078
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1079
1079
  return s && a && dr(t, e, a), a;
1080
1080
  };
1081
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.17/animations/";
1082
- let mt = class extends G {
1081
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.18/animations/";
1082
+ let ft = class extends K {
1083
1083
  constructor() {
1084
1084
  super(), this.defaultSlot = A(), this.iconName = "user", this.secondIconName = "user", this.mode = "light", this.size = "medium", this.fullWidth = !1, this.fullWidthOnMobile = !1, this.skin = "primary", this.variant = "label-only", this.state = "normal", this.type = "button", this.form = void 0, this.isLoading = !1, this.disabled = !1, this.loadingAnimationPath = window.pktAnimationPath, this.slotController = new rt(this, this.defaultSlot);
1085
1085
  }
@@ -1140,55 +1140,55 @@ let mt = class extends G {
1140
1140
  `;
1141
1141
  }
1142
1142
  };
1143
- bt([
1143
+ kt([
1144
1144
  o({ type: String })
1145
- ], mt.prototype, "iconName", 2);
1146
- bt([
1145
+ ], ft.prototype, "iconName", 2);
1146
+ kt([
1147
1147
  o({ type: String })
1148
- ], mt.prototype, "secondIconName", 2);
1149
- bt([
1148
+ ], ft.prototype, "secondIconName", 2);
1149
+ kt([
1150
1150
  o({ type: String })
1151
- ], mt.prototype, "mode", 2);
1152
- bt([
1151
+ ], ft.prototype, "mode", 2);
1152
+ kt([
1153
1153
  o({ type: String })
1154
- ], mt.prototype, "size", 2);
1155
- bt([
1154
+ ], ft.prototype, "size", 2);
1155
+ kt([
1156
1156
  o({ type: Boolean, attribute: "full-width" })
1157
- ], mt.prototype, "fullWidth", 2);
1158
- bt([
1157
+ ], ft.prototype, "fullWidth", 2);
1158
+ kt([
1159
1159
  o({ type: Boolean, attribute: "full-width-on-mobile" })
1160
- ], mt.prototype, "fullWidthOnMobile", 2);
1161
- bt([
1160
+ ], ft.prototype, "fullWidthOnMobile", 2);
1161
+ kt([
1162
1162
  o({ type: String })
1163
- ], mt.prototype, "color", 2);
1164
- bt([
1163
+ ], ft.prototype, "color", 2);
1164
+ kt([
1165
1165
  o({ type: String })
1166
- ], mt.prototype, "skin", 2);
1167
- bt([
1166
+ ], ft.prototype, "skin", 2);
1167
+ kt([
1168
1168
  o({ type: String })
1169
- ], mt.prototype, "variant", 2);
1170
- bt([
1169
+ ], ft.prototype, "variant", 2);
1170
+ kt([
1171
1171
  o({ type: String, reflect: !0 })
1172
- ], mt.prototype, "state", 2);
1173
- bt([
1172
+ ], ft.prototype, "state", 2);
1173
+ kt([
1174
1174
  o({ type: String, reflect: !0 })
1175
- ], mt.prototype, "type", 2);
1176
- bt([
1175
+ ], ft.prototype, "type", 2);
1176
+ kt([
1177
1177
  o({ type: String })
1178
- ], mt.prototype, "form", 2);
1179
- bt([
1178
+ ], ft.prototype, "form", 2);
1179
+ kt([
1180
1180
  o({ type: Boolean, reflect: !0 })
1181
- ], mt.prototype, "isLoading", 2);
1182
- bt([
1181
+ ], ft.prototype, "isLoading", 2);
1182
+ kt([
1183
1183
  o({ type: Boolean, reflect: !0 })
1184
- ], mt.prototype, "disabled", 2);
1185
- bt([
1184
+ ], ft.prototype, "disabled", 2);
1185
+ kt([
1186
1186
  o({ type: String })
1187
- ], mt.prototype, "loadingAnimationPath", 2);
1188
- mt = bt([
1187
+ ], ft.prototype, "loadingAnimationPath", 2);
1188
+ ft = kt([
1189
1189
  j("pkt-button")
1190
- ], mt);
1191
- const pr = { skin: { default: "info" }, ariaLive: { default: "polite" }, compact: { default: !1 }, closeAlert: { default: !1 } }, Wi = {
1190
+ ], ft);
1191
+ const pr = { skin: { default: "info" }, ariaLive: { default: "polite" }, compact: { default: !1 }, closeAlert: { default: !1 } }, Ki = {
1192
1192
  props: pr
1193
1193
  };
1194
1194
  var ur = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, se = (i, t, e, s) => {
@@ -1196,9 +1196,9 @@ var ur = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, se = (i, t
1196
1196
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1197
1197
  return s && a && ur(t, e, a), a;
1198
1198
  };
1199
- let Kt = class extends G {
1199
+ let Kt = class extends K {
1200
1200
  constructor() {
1201
- super(), this.defaultSlot = A(), this.compact = Wi.props.compact.default, this.title = "", this.skin = Wi.props.skin.default, this.ariaLive = Wi.props.ariaLive.default, this["aria-live"] = null, this.closeAlert = Wi.props.closeAlert.default, this.date = null, this.role = "status", this._isClosed = !1, this.close = (t) => {
1201
+ super(), this.defaultSlot = A(), this.compact = Ki.props.compact.default, this.title = "", this.skin = Ki.props.skin.default, this.ariaLive = Ki.props.ariaLive.default, this["aria-live"] = null, this.closeAlert = Ki.props.closeAlert.default, this.date = null, this.role = "status", this._isClosed = !1, this.close = (t) => {
1202
1202
  this._isClosed = !0, this.dispatchEvent(
1203
1203
  new CustomEvent("close", { detail: { origin: t }, bubbles: !0, composed: !0 })
1204
1204
  ), this.dispatchEvent(
@@ -1293,12 +1293,12 @@ se([
1293
1293
  Kt = se([
1294
1294
  j("pkt-alert")
1295
1295
  ], Kt);
1296
- var fr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, Ri = (i, t, e, s) => {
1296
+ var fr = Object.defineProperty, gr = Object.getOwnPropertyDescriptor, Li = (i, t, e, s) => {
1297
1297
  for (var a = s > 1 ? void 0 : s ? gr(t, e) : t, n = i.length - 1, r; n >= 0; n--)
1298
1298
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1299
1299
  return s && a && fr(t, e, a), a;
1300
1300
  };
1301
- let ei = class extends Ze {
1301
+ let ii = class extends Ze {
1302
1302
  constructor() {
1303
1303
  super(...arguments), this.ariaLabelledBy = "", this.compact = !1, this.skin = "borderless", this.name = "";
1304
1304
  }
@@ -1339,27 +1339,27 @@ let ei = class extends Ze {
1339
1339
  `;
1340
1340
  }
1341
1341
  };
1342
- Ri([
1342
+ Li([
1343
1343
  o({ type: String, reflect: !0, attribute: "aria-labelledby" })
1344
- ], ei.prototype, "ariaLabelledBy", 2);
1345
- Ri([
1344
+ ], ii.prototype, "ariaLabelledBy", 2);
1345
+ Li([
1346
1346
  o({ type: Boolean, reflect: !0, attribute: "compact" })
1347
- ], ei.prototype, "compact", 2);
1348
- Ri([
1347
+ ], ii.prototype, "compact", 2);
1348
+ Li([
1349
1349
  o({ type: String, reflect: !0, attribute: "skin" })
1350
- ], ei.prototype, "skin", 2);
1351
- Ri([
1350
+ ], ii.prototype, "skin", 2);
1351
+ Li([
1352
1352
  o({ type: String, reflect: !0, attribute: "name" })
1353
- ], ei.prototype, "name", 2);
1354
- ei = Ri([
1353
+ ], ii.prototype, "name", 2);
1354
+ ii = Li([
1355
1355
  j("pkt-accordion")
1356
- ], ei);
1356
+ ], ii);
1357
1357
  var vr = Object.defineProperty, br = Object.getOwnPropertyDescriptor, Ue = (i, t, e, s) => {
1358
1358
  for (var a = s > 1 ? void 0 : s ? br(t, e) : t, n = i.length - 1, r; n >= 0; n--)
1359
1359
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1360
1360
  return s && a && vr(t, e, a), a;
1361
1361
  };
1362
- let ke = class extends G {
1362
+ let ke = class extends K {
1363
1363
  constructor() {
1364
1364
  super(), this.defaultOpen = !1, this.title = "", this.skin = void 0, this.compact = !1, this.isOpen = !1, this.name = void 0, this.accordionItemRef = A(), this.defaultSlot = A(), this.slotController = new rt(this, this.defaultSlot);
1365
1365
  }
@@ -1425,7 +1425,7 @@ var kr = Object.defineProperty, yr = Object.getOwnPropertyDescriptor, hs = (i, t
1425
1425
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1426
1426
  return s && a && kr(t, e, a), a;
1427
1427
  };
1428
- let ii = class extends G {
1428
+ let si = class extends K {
1429
1429
  constructor() {
1430
1430
  super(...arguments), this.href = "", this.text = "Forsiden", this.ariaLabel = "";
1431
1431
  }
@@ -1451,49 +1451,49 @@ let ii = class extends G {
1451
1451
  };
1452
1452
  hs([
1453
1453
  o({ type: String })
1454
- ], ii.prototype, "href", 2);
1454
+ ], si.prototype, "href", 2);
1455
1455
  hs([
1456
1456
  o({ type: String })
1457
- ], ii.prototype, "text", 2);
1457
+ ], si.prototype, "text", 2);
1458
1458
  hs([
1459
1459
  o({ type: String })
1460
- ], ii.prototype, "ariaLabel", 2);
1461
- ii = hs([
1460
+ ], si.prototype, "ariaLabel", 2);
1461
+ si = hs([
1462
1462
  j("pkt-backlink")
1463
- ], ii);
1464
- const Ka = 6048e5, $r = 864e5, pa = Symbol.for("constructDateFrom");
1463
+ ], si);
1464
+ const Ka = 6048e5, $r = 864e5, ua = Symbol.for("constructDateFrom");
1465
1465
  function ee(i, t) {
1466
- return typeof i == "function" ? i(t) : i && typeof i == "object" && pa in i ? i[pa](t) : i instanceof Date ? new i.constructor(t) : new Date(t);
1466
+ return typeof i == "function" ? i(t) : i && typeof i == "object" && ua in i ? i[ua](t) : i instanceof Date ? new i.constructor(t) : new Date(t);
1467
1467
  }
1468
- function Lt(i, t) {
1468
+ function Rt(i, t) {
1469
1469
  return ee(t || i, i);
1470
1470
  }
1471
1471
  function ws(i, t, e) {
1472
- const s = Lt(i, void 0);
1472
+ const s = Rt(i, void 0);
1473
1473
  return isNaN(t) ? ee(i, NaN) : (t && s.setDate(s.getDate() + t), s);
1474
1474
  }
1475
1475
  let _r = {};
1476
1476
  function ds() {
1477
1477
  return _r;
1478
1478
  }
1479
- function Oi(i, t) {
1479
+ function Pi(i, t) {
1480
1480
  var e, s, a, n;
1481
- const r = ds(), l = (t == null ? void 0 : t.weekStartsOn) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.weekStartsOn) ?? r.weekStartsOn ?? ((n = (a = r.locale) == null ? void 0 : a.options) == null ? void 0 : n.weekStartsOn) ?? 0, d = Lt(i, t == null ? void 0 : t.in), p = d.getDay(), m = (p < l ? 7 : 0) + p - l;
1481
+ const r = ds(), l = (t == null ? void 0 : t.weekStartsOn) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.weekStartsOn) ?? r.weekStartsOn ?? ((n = (a = r.locale) == null ? void 0 : a.options) == null ? void 0 : n.weekStartsOn) ?? 0, d = Rt(i, t == null ? void 0 : t.in), p = d.getDay(), m = (p < l ? 7 : 0) + p - l;
1482
1482
  return d.setDate(d.getDate() - m), d.setHours(0, 0, 0, 0), d;
1483
1483
  }
1484
- function ss(i, t) {
1485
- return Oi(i, { ...t, weekStartsOn: 1 });
1484
+ function as(i, t) {
1485
+ return Pi(i, { ...t, weekStartsOn: 1 });
1486
1486
  }
1487
1487
  function Ga(i, t) {
1488
- const e = Lt(i, void 0), s = e.getFullYear(), a = ee(e, 0);
1488
+ const e = Rt(i, void 0), s = e.getFullYear(), a = ee(e, 0);
1489
1489
  a.setFullYear(s + 1, 0, 4), a.setHours(0, 0, 0, 0);
1490
- const n = ss(a), r = ee(e, 0);
1490
+ const n = as(a), r = ee(e, 0);
1491
1491
  r.setFullYear(s, 0, 4), r.setHours(0, 0, 0, 0);
1492
- const l = ss(r);
1492
+ const l = as(r);
1493
1493
  return e.getTime() >= n.getTime() ? s + 1 : e.getTime() >= l.getTime() ? s : s - 1;
1494
1494
  }
1495
- function ua(i) {
1496
- const t = Lt(i), e = new Date(
1495
+ function ma(i) {
1496
+ const t = Rt(i), e = new Date(
1497
1497
  Date.UTC(
1498
1498
  t.getFullYear(),
1499
1499
  t.getMonth(),
@@ -1513,8 +1513,8 @@ function Ya(i, ...t) {
1513
1513
  );
1514
1514
  return t.map(e);
1515
1515
  }
1516
- function ma(i, t) {
1517
- const e = Lt(i, void 0);
1516
+ function fa(i, t) {
1517
+ const e = Rt(i, void 0);
1518
1518
  return e.setHours(0, 0, 0, 0), e;
1519
1519
  }
1520
1520
  function wr(i, t, e) {
@@ -1522,18 +1522,18 @@ function wr(i, t, e) {
1522
1522
  void 0,
1523
1523
  i,
1524
1524
  t
1525
- ), n = ma(s), r = ma(a), l = +n - ua(n), d = +r - ua(r);
1525
+ ), n = fa(s), r = fa(a), l = +n - ma(n), d = +r - ma(r);
1526
1526
  return Math.round((l - d) / $r);
1527
1527
  }
1528
1528
  function xr(i, t) {
1529
1529
  const e = Ga(i), s = ee(i, 0);
1530
- return s.setFullYear(e, 0, 4), s.setHours(0, 0, 0, 0), ss(s);
1530
+ return s.setFullYear(e, 0, 4), s.setHours(0, 0, 0, 0), as(s);
1531
1531
  }
1532
1532
  function Sr(i) {
1533
1533
  return i instanceof Date || typeof i == "object" && Object.prototype.toString.call(i) === "[object Date]";
1534
1534
  }
1535
1535
  function Cr(i) {
1536
- return !(!Sr(i) && typeof i != "number" || isNaN(+Lt(i)));
1536
+ return !(!Sr(i) && typeof i != "number" || isNaN(+Rt(i)));
1537
1537
  }
1538
1538
  function Tr(i, t) {
1539
1539
  const [e, s] = Ya(i, t.start, t.end);
@@ -1551,7 +1551,7 @@ function xs(i, t) {
1551
1551
  return a ? d.reverse() : d;
1552
1552
  }
1553
1553
  function Nr(i, t) {
1554
- const e = Lt(i, void 0);
1554
+ const e = Rt(i, void 0);
1555
1555
  return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
1556
1556
  }
1557
1557
  const Ar = {
@@ -1663,7 +1663,7 @@ const Or = {
1663
1663
  nextWeek: "eeee 'at' p",
1664
1664
  other: "P"
1665
1665
  }, Rr = (i, t, e, s) => Ir[i];
1666
- function vi(i) {
1666
+ function bi(i) {
1667
1667
  return (t, e) => {
1668
1668
  const s = e != null && e.context ? String(e.context) : "standalone";
1669
1669
  let a;
@@ -1805,31 +1805,31 @@ const Lr = {
1805
1805
  return e + "th";
1806
1806
  }, qr = {
1807
1807
  ordinalNumber: Hr,
1808
- era: vi({
1808
+ era: bi({
1809
1809
  values: Lr,
1810
1810
  defaultWidth: "wide"
1811
1811
  }),
1812
- quarter: vi({
1812
+ quarter: bi({
1813
1813
  values: Br,
1814
1814
  defaultWidth: "wide",
1815
1815
  argumentCallback: (i) => i - 1
1816
1816
  }),
1817
- month: vi({
1817
+ month: bi({
1818
1818
  values: Vr,
1819
1819
  defaultWidth: "wide"
1820
1820
  }),
1821
- day: vi({
1821
+ day: bi({
1822
1822
  values: jr,
1823
1823
  defaultWidth: "wide"
1824
1824
  }),
1825
- dayPeriod: vi({
1825
+ dayPeriod: bi({
1826
1826
  values: Fr,
1827
1827
  defaultWidth: "wide",
1828
1828
  formattingValues: Ur,
1829
1829
  defaultFormattingWidth: "wide"
1830
1830
  })
1831
1831
  };
1832
- function bi(i) {
1832
+ function ki(i) {
1833
1833
  return (t, e = {}) => {
1834
1834
  const s = e.width, a = s && i.matchPatterns[s] || i.matchPatterns[i.defaultMatchWidth], n = t.match(a);
1835
1835
  if (!n)
@@ -1942,32 +1942,32 @@ const Gr = /^(\d+)(th|st|nd|rd)?/i, Yr = /\d+/i, Zr = {
1942
1942
  parsePattern: Yr,
1943
1943
  valueCallback: (i) => parseInt(i, 10)
1944
1944
  }),
1945
- era: bi({
1945
+ era: ki({
1946
1946
  matchPatterns: Zr,
1947
1947
  defaultMatchWidth: "wide",
1948
1948
  parsePatterns: Jr,
1949
1949
  defaultParseWidth: "any"
1950
1950
  }),
1951
- quarter: bi({
1951
+ quarter: ki({
1952
1952
  matchPatterns: Xr,
1953
1953
  defaultMatchWidth: "wide",
1954
1954
  parsePatterns: Qr,
1955
1955
  defaultParseWidth: "any",
1956
1956
  valueCallback: (i) => i + 1
1957
1957
  }),
1958
- month: bi({
1958
+ month: ki({
1959
1959
  matchPatterns: to,
1960
1960
  defaultMatchWidth: "wide",
1961
1961
  parsePatterns: eo,
1962
1962
  defaultParseWidth: "any"
1963
1963
  }),
1964
- day: bi({
1964
+ day: ki({
1965
1965
  matchPatterns: io,
1966
1966
  defaultMatchWidth: "wide",
1967
1967
  parsePatterns: so,
1968
1968
  defaultParseWidth: "any"
1969
1969
  }),
1970
- dayPeriod: bi({
1970
+ dayPeriod: ki({
1971
1971
  matchPatterns: ao,
1972
1972
  defaultMatchWidth: "any",
1973
1973
  parsePatterns: no,
@@ -1986,29 +1986,29 @@ const Gr = /^(\d+)(th|st|nd|rd)?/i, Yr = /\d+/i, Zr = {
1986
1986
  }
1987
1987
  };
1988
1988
  function lo(i, t) {
1989
- const e = Lt(i, void 0);
1989
+ const e = Rt(i, void 0);
1990
1990
  return wr(e, Nr(e)) + 1;
1991
1991
  }
1992
1992
  function ho(i, t) {
1993
- const e = Lt(i, void 0), s = +ss(e) - +xr(e);
1993
+ const e = Rt(i, void 0), s = +as(e) - +xr(e);
1994
1994
  return Math.round(s / Ka) + 1;
1995
1995
  }
1996
1996
  function Za(i, t) {
1997
1997
  var e, s, a, n;
1998
- const r = Lt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = ds(), p = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((n = (a = d.locale) == null ? void 0 : a.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, m = ee((t == null ? void 0 : t.in) || i, 0);
1998
+ const r = Rt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = ds(), p = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((n = (a = d.locale) == null ? void 0 : a.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, m = ee((t == null ? void 0 : t.in) || i, 0);
1999
1999
  m.setFullYear(l + 1, 0, p), m.setHours(0, 0, 0, 0);
2000
- const f = Oi(m, t), y = ee((t == null ? void 0 : t.in) || i, 0);
2000
+ const f = Pi(m, t), y = ee((t == null ? void 0 : t.in) || i, 0);
2001
2001
  y.setFullYear(l, 0, p), y.setHours(0, 0, 0, 0);
2002
- const b = Oi(y, t);
2002
+ const b = Pi(y, t);
2003
2003
  return +r >= +f ? l + 1 : +r >= +b ? l : l - 1;
2004
2004
  }
2005
2005
  function co(i, t) {
2006
2006
  var e, s, a, n;
2007
2007
  const r = ds(), l = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((n = (a = r.locale) == null ? void 0 : a.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, d = Za(i, t), p = ee((t == null ? void 0 : t.in) || i, 0);
2008
- return p.setFullYear(d, 0, l), p.setHours(0, 0, 0, 0), Oi(p, t);
2008
+ return p.setFullYear(d, 0, l), p.setHours(0, 0, 0, 0), Pi(p, t);
2009
2009
  }
2010
2010
  function Ja(i, t) {
2011
- const e = Lt(i, t == null ? void 0 : t.in), s = +Oi(e, t) - +co(e, t);
2011
+ const e = Rt(i, t == null ? void 0 : t.in), s = +Pi(e, t) - +co(e, t);
2012
2012
  return Math.round(s / Ka) + 1;
2013
2013
  }
2014
2014
  function q(i, t) {
@@ -2076,7 +2076,7 @@ const fe = {
2076
2076
  afternoon: "afternoon",
2077
2077
  evening: "evening",
2078
2078
  night: "night"
2079
- }, fa = {
2079
+ }, ga = {
2080
2080
  // Era
2081
2081
  G: function(i, t, e) {
2082
2082
  const s = i.getFullYear() > 0 ? 1 : 0;
@@ -2551,7 +2551,7 @@ const fe = {
2551
2551
  switch (t) {
2552
2552
  // Hours and optional minutes
2553
2553
  case "X":
2554
- return va(s);
2554
+ return ba(s);
2555
2555
  // Hours, minutes and optional seconds without `:` delimiter
2556
2556
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2557
2557
  // so this token always has the same output as `XX`
@@ -2574,7 +2574,7 @@ const fe = {
2574
2574
  switch (t) {
2575
2575
  // Hours and optional minutes
2576
2576
  case "x":
2577
- return va(s);
2577
+ return ba(s);
2578
2578
  // Hours, minutes and optional seconds without `:` delimiter
2579
2579
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2580
2580
  // so this token always has the same output as `xx`
@@ -2599,7 +2599,7 @@ const fe = {
2599
2599
  case "O":
2600
2600
  case "OO":
2601
2601
  case "OOO":
2602
- return "GMT" + ga(s, ":");
2602
+ return "GMT" + va(s, ":");
2603
2603
  // Long
2604
2604
  case "OOOO":
2605
2605
  default:
@@ -2614,7 +2614,7 @@ const fe = {
2614
2614
  case "z":
2615
2615
  case "zz":
2616
2616
  case "zzz":
2617
- return "GMT" + ga(s, ":");
2617
+ return "GMT" + va(s, ":");
2618
2618
  // Long
2619
2619
  case "zzzz":
2620
2620
  default:
@@ -2631,18 +2631,18 @@ const fe = {
2631
2631
  return q(+i, t.length);
2632
2632
  }
2633
2633
  };
2634
- function ga(i, t = "") {
2634
+ function va(i, t = "") {
2635
2635
  const e = i > 0 ? "-" : "+", s = Math.abs(i), a = Math.trunc(s / 60), n = s % 60;
2636
2636
  return n === 0 ? e + String(a) : e + String(a) + t + q(n, 2);
2637
2637
  }
2638
- function va(i, t) {
2638
+ function ba(i, t) {
2639
2639
  return i % 60 === 0 ? (i > 0 ? "-" : "+") + q(Math.abs(i) / 60, 2) : Ae(i, t);
2640
2640
  }
2641
2641
  function Ae(i, t = "") {
2642
2642
  const e = i > 0 ? "-" : "+", s = Math.abs(i), a = q(Math.trunc(s / 60), 2), n = q(s % 60, 2);
2643
2643
  return e + a + t + n;
2644
2644
  }
2645
- const ba = (i, t) => {
2645
+ const ka = (i, t) => {
2646
2646
  switch (i) {
2647
2647
  case "P":
2648
2648
  return t.date({ width: "short" });
@@ -2669,7 +2669,7 @@ const ba = (i, t) => {
2669
2669
  }, po = (i, t) => {
2670
2670
  const e = i.match(/(P+)(p+)?/) || [], s = e[1], a = e[2];
2671
2671
  if (!a)
2672
- return ba(i, t);
2672
+ return ka(i, t);
2673
2673
  let n;
2674
2674
  switch (s) {
2675
2675
  case "P":
@@ -2686,7 +2686,7 @@ const ba = (i, t) => {
2686
2686
  n = t.dateTime({ width: "full" });
2687
2687
  break;
2688
2688
  }
2689
- return n.replace("{{date}}", ba(s, t)).replace("{{time}}", Xa(a, t));
2689
+ return n.replace("{{date}}", ka(s, t)).replace("{{time}}", Xa(a, t));
2690
2690
  }, uo = {
2691
2691
  p: Xa,
2692
2692
  P: po
@@ -2708,7 +2708,7 @@ function yo(i, t, e) {
2708
2708
  const $o = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, _o = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, wo = /^'([^]*?)'?$/, xo = /''/g, So = /[a-zA-Z]/;
2709
2709
  function Co(i, t, e) {
2710
2710
  var s, a, n, r;
2711
- const l = ds(), d = l.locale ?? oo, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, m = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, f = Lt(i, void 0);
2711
+ const l = ds(), d = l.locale ?? oo, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, m = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, f = Rt(i, void 0);
2712
2712
  if (!Cr(f))
2713
2713
  throw new RangeError("Invalid time value");
2714
2714
  let y = t.match(_o).map((k) => {
@@ -2724,7 +2724,7 @@ function Co(i, t, e) {
2724
2724
  const w = k[0];
2725
2725
  if (w === "'")
2726
2726
  return { isToken: !1, value: To(k) };
2727
- if (fa[w])
2727
+ if (ga[w])
2728
2728
  return { isToken: !0, value: k };
2729
2729
  if (w.match(So))
2730
2730
  throw new RangeError(
@@ -2742,7 +2742,7 @@ function Co(i, t, e) {
2742
2742
  if (!k.isToken) return k.value;
2743
2743
  const w = k.value;
2744
2744
  (bo(w) || vo(w)) && ko(w, t, String(i));
2745
- const S = fa[w[0]];
2745
+ const S = ga[w[0]];
2746
2746
  return S(f, w, d.localize, b);
2747
2747
  }).join("");
2748
2748
  }
@@ -2751,7 +2751,7 @@ function To(i) {
2751
2751
  return t ? t[1].replace(xo, "'") : i;
2752
2752
  }
2753
2753
  function No(i, t) {
2754
- const e = Lt(i, void 0).getDay();
2754
+ const e = Rt(i, void 0).getDay();
2755
2755
  return e === 0 ? 7 : e;
2756
2756
  }
2757
2757
  function Ao(i, t, e = "long") {
@@ -2762,37 +2762,37 @@ function Ao(i, t, e = "long") {
2762
2762
  timeZoneName: e
2763
2763
  }).format(t).split(/\s/g).slice(2).join(" ");
2764
2764
  }
2765
- const ka = {}, $i = {};
2765
+ const ya = {}, _i = {};
2766
2766
  function Oe(i, t) {
2767
2767
  try {
2768
- const e = (ka[i] || (ka[i] = new Intl.DateTimeFormat("en-US", {
2768
+ const e = (ya[i] || (ya[i] = new Intl.DateTimeFormat("en-US", {
2769
2769
  timeZone: i,
2770
2770
  timeZoneName: "longOffset"
2771
2771
  }).format))(t).split("GMT")[1];
2772
- return e in $i ? $i[e] : ya(e, e.split(":"));
2772
+ return e in _i ? _i[e] : $a(e, e.split(":"));
2773
2773
  } catch {
2774
- if (i in $i) return $i[i];
2774
+ if (i in _i) return _i[i];
2775
2775
  const e = i == null ? void 0 : i.match(Eo);
2776
- return e ? ya(i, e.slice(1)) : NaN;
2776
+ return e ? $a(i, e.slice(1)) : NaN;
2777
2777
  }
2778
2778
  }
2779
2779
  const Eo = /([+-]\d\d):?(\d\d)?/;
2780
- function ya(i, t) {
2780
+ function $a(i, t) {
2781
2781
  const e = +(t[0] || 0), s = +(t[1] || 0), a = +(t[2] || 0) / 60;
2782
- return $i[i] = e * 60 + s > 0 ? e * 60 + s + a : e * 60 - s - a;
2782
+ return _i[i] = e * 60 + s > 0 ? e * 60 + s + a : e * 60 - s - a;
2783
2783
  }
2784
- let _i = class wi extends Date {
2784
+ let wi = class xi extends Date {
2785
2785
  //#region static
2786
2786
  constructor(...t) {
2787
2787
  super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Oe(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Qa(this), Is(this)) : this.setTime(Date.now());
2788
2788
  }
2789
2789
  static tz(t, ...e) {
2790
- return e.length ? new wi(...e, t) : new wi(Date.now(), t);
2790
+ return e.length ? new xi(...e, t) : new xi(Date.now(), t);
2791
2791
  }
2792
2792
  //#endregion
2793
2793
  //#region time zone
2794
2794
  withTimeZone(t) {
2795
- return new wi(+this, t);
2795
+ return new xi(+this, t);
2796
2796
  }
2797
2797
  getTimezoneOffset() {
2798
2798
  const t = -Oe(this.timeZone, this);
@@ -2806,19 +2806,19 @@ let _i = class wi extends Date {
2806
2806
  //#endregion
2807
2807
  //#region date-fns integration
2808
2808
  [Symbol.for("constructDateFrom")](t) {
2809
- return new wi(+new Date(t), this.timeZone);
2809
+ return new xi(+new Date(t), this.timeZone);
2810
2810
  }
2811
2811
  //#endregion
2812
2812
  };
2813
- const $a = /^(get|set)(?!UTC)/;
2813
+ const _a = /^(get|set)(?!UTC)/;
2814
2814
  Object.getOwnPropertyNames(Date.prototype).forEach((i) => {
2815
- if (!$a.test(i)) return;
2816
- const t = i.replace($a, "$1UTC");
2817
- _i.prototype[t] && (i.startsWith("get") ? _i.prototype[i] = function() {
2815
+ if (!_a.test(i)) return;
2816
+ const t = i.replace(_a, "$1UTC");
2817
+ wi.prototype[t] && (i.startsWith("get") ? wi.prototype[i] = function() {
2818
2818
  return this.internal[t]();
2819
- } : (_i.prototype[i] = function() {
2819
+ } : (wi.prototype[i] = function() {
2820
2820
  return Date.prototype[t].apply(this.internal, arguments), Oo(this), +this;
2821
- }, _i.prototype[t] = function() {
2821
+ }, wi.prototype[t] = function() {
2822
2822
  return Date.prototype[t].apply(this, arguments), Is(this), +this;
2823
2823
  }));
2824
2824
  });
@@ -2842,14 +2842,14 @@ function Qa(i) {
2842
2842
  const y = Oe(i.timeZone, i), b = y > 0 ? Math.floor(y) : Math.ceil(y), k = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset() - b, w = b !== e, S = k - d;
2843
2843
  if (w && S) {
2844
2844
  Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + S);
2845
- const P = Oe(i.timeZone, i), T = P > 0 ? Math.floor(P) : Math.ceil(P), L = b - T;
2846
- L && (i.internal.setUTCMinutes(i.internal.getUTCMinutes() + L), Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + L));
2845
+ const P = Oe(i.timeZone, i), N = P > 0 ? Math.floor(P) : Math.ceil(P), I = b - N;
2846
+ I && (i.internal.setUTCMinutes(i.internal.getUTCMinutes() + I), Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + I));
2847
2847
  }
2848
2848
  }
2849
- let Rs = class xi extends _i {
2849
+ let Rs = class Si extends wi {
2850
2850
  //#region static
2851
2851
  static tz(t, ...e) {
2852
- return e.length ? new xi(...e, t) : new xi(Date.now(), t);
2852
+ return e.length ? new Si(...e, t) : new Si(Date.now(), t);
2853
2853
  }
2854
2854
  //#endregion
2855
2855
  //#region representation
@@ -2894,11 +2894,11 @@ let Rs = class xi extends _i {
2894
2894
  }
2895
2895
  //#endregion
2896
2896
  withTimeZone(t) {
2897
- return new xi(+this, t);
2897
+ return new Si(+this, t);
2898
2898
  }
2899
2899
  //#region date-fns integration
2900
2900
  [Symbol.for("constructDateFrom")](t) {
2901
- return new xi(+new Date(t), this.timeZone);
2901
+ return new Si(+new Date(t), this.timeZone);
2902
2902
  }
2903
2903
  //#endregion
2904
2904
  };
@@ -2928,7 +2928,7 @@ const nt = (i) => {
2928
2928
  return null;
2929
2929
  const t = ye(i);
2930
2930
  return isNaN(t.getTime()) ? null : t;
2931
- }, _a = (i, t) => {
2931
+ }, wa = (i, t) => {
2932
2932
  const e = de(i);
2933
2933
  return isNaN(e.getTime()) ? "" : Co(e, t);
2934
2934
  }, de = (i = "", t) => {
@@ -2939,7 +2939,7 @@ const nt = (i) => {
2939
2939
  return /* @__PURE__ */ new Date();
2940
2940
  const s = new Date(i, t, e);
2941
2941
  return isNaN(s.getTime()) ? /* @__PURE__ */ new Date() : s;
2942
- }, ki = (i) => {
2942
+ }, yi = (i) => {
2943
2943
  let t;
2944
2944
  return typeof i == "number" ? t = new Rs(i, window.pktTz) : t = new Rs(i, window.pktTz), t.setHours(12, 0, 0, 0), t;
2945
2945
  }, Mo = (i) => !i || isNaN(i.getTime()) ? "" : new Intl.DateTimeFormat("no", { dateStyle: "full", timeZone: window.pktTz }).format(i), Do = (i, t, e) => {
@@ -2963,12 +2963,12 @@ const nt = (i) => {
2963
2963
  }), Bo = (i, t) => {
2964
2964
  const e = $e(i), s = $e(t);
2965
2965
  return !e || !s ? !1 : e <= s;
2966
- }, Si = (i) => i ? Array.isArray(i) ? i.filter(Boolean) : String(i).split(",").map((t) => t.trim()).filter(Boolean) : [], Vo = (i) => i.join(","), sn = (i) => Si(i), jo = (i) => i ? ye(i) : null, Fo = (i) => {
2966
+ }, Ci = (i) => i ? Array.isArray(i) ? i.filter(Boolean) : String(i).split(",").map((t) => t.trim()).filter(Boolean) : [], Vo = (i) => i.join(","), sn = (i) => Ci(i), jo = (i) => i ? ye(i) : null, Fo = (i) => {
2967
2967
  if (typeof i == "string")
2968
2968
  return i.split(",").map((t) => ye(t));
2969
2969
  if (Array.isArray(i))
2970
2970
  return i.map((t) => ye(t));
2971
- }, li = {
2971
+ }, hi = {
2972
2972
  csvToArray: sn,
2973
2973
  stringToDate: jo,
2974
2974
  stringsToDate: Fo
@@ -2980,7 +2980,7 @@ var Ho = Object.defineProperty, qo = Object.getOwnPropertyDescriptor, W = (i, t,
2980
2980
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
2981
2981
  return s && a && Ho(t, e, a), a;
2982
2982
  };
2983
- let z = class extends G {
2983
+ let z = class extends K {
2984
2984
  constructor() {
2985
2985
  super(...arguments), this.multiple = Ne.props.multiple.default, this.maxMultiple = Ne.props.maxMultiple.default, this.range = Ne.props.range.default, this.weeknumbers = Ne.props.weeknumbers.default, this.withcontrols = Ne.props.withcontrols.default, this.selected = [], this.earliest = Ne.props.earliest.default, this.latest = Ne.props.latest.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.dayStrings = this.strings.dates.daysShort, this.dayStringsLong = this.strings.dates.days, this.monthStrings = this.strings.dates.months, this.weekString = this.strings.dates.week, this.prevMonthString = this.strings.dates.prevMonth, this.nextMonthString = this.strings.dates.nextMonth, this._selected = [], this.year = 0, this.month = 0, this.week = 0, this.rangeHovered = null, this.inRange = {}, this.focusedDate = null, this.selectableDates = [], this.currentmonthtouched = !1, this.tabIndexSet = 0;
2986
2986
  }
@@ -3022,9 +3022,9 @@ let z = class extends G {
3022
3022
  setCurrentMonth() {
3023
3023
  if (this.currentmonth === null && !this.currentmonthtouched && (this.currentmonthtouched = !0), this.selected.length && this.selected[0] !== "") {
3024
3024
  const t = ye(this.selected[this.selected.length - 1]);
3025
- this.currentmonth = isNaN(t.getTime()) ? ki(/* @__PURE__ */ new Date()) : t;
3026
- } else this.currentmonth === null && (this.currentmonth = ki(/* @__PURE__ */ new Date()));
3027
- (!this.currentmonth || isNaN(this.currentmonth.getTime())) && (this.currentmonth = ki(/* @__PURE__ */ new Date())), this.year = this.currentmonth.getFullYear(), this.month = this.currentmonth.getMonth();
3025
+ this.currentmonth = isNaN(t.getTime()) ? yi(/* @__PURE__ */ new Date()) : t;
3026
+ } else this.currentmonth === null && (this.currentmonth = yi(/* @__PURE__ */ new Date()));
3027
+ (!this.currentmonth || isNaN(this.currentmonth.getTime())) && (this.currentmonth = yi(/* @__PURE__ */ new Date())), this.year = this.currentmonth.getFullYear(), this.month = this.currentmonth.getMonth();
3028
3028
  }
3029
3029
  handleKeydown(t) {
3030
3030
  switch (t.key) {
@@ -3300,7 +3300,7 @@ let z = class extends G {
3300
3300
  this.changeMonth(e, t);
3301
3301
  }
3302
3302
  changeMonth(t, e) {
3303
- this.year = typeof t == "string" ? parseInt(t) : t, this.month = typeof e == "string" ? parseInt(e) : e, this.currentmonth = ki(new Date(this.year, this.month, 1)), this.tabIndexSet = 0, this.focusedDate = null, this.selectableDates = [];
3303
+ this.year = typeof t == "string" ? parseInt(t) : t, this.month = typeof e == "string" ? parseInt(e) : e, this.currentmonth = yi(new Date(this.year, this.month, 1)), this.tabIndexSet = 0, this.focusedDate = null, this.selectableDates = [];
3304
3304
  }
3305
3305
  isRangeAllowed(t) {
3306
3306
  let e = !0;
@@ -3365,7 +3365,7 @@ let z = class extends G {
3365
3365
  ), Promise.resolve();
3366
3366
  }
3367
3367
  focusOnCurrentDate() {
3368
- const t = nt(ki(/* @__PURE__ */ new Date())), e = this.querySelector(`button[data-date="${t}"]`);
3368
+ const t = nt(yi(/* @__PURE__ */ new Date())), e = this.querySelector(`button[data-date="${t}"]`);
3369
3369
  if (e instanceof HTMLButtonElement)
3370
3370
  this.focusedDate = t, e.focus();
3371
3371
  else {
@@ -3407,7 +3407,7 @@ W([
3407
3407
  o({ type: Boolean })
3408
3408
  ], z.prototype, "withcontrols", 2);
3409
3409
  W([
3410
- o({ converter: li.csvToArray })
3410
+ o({ converter: hi.csvToArray })
3411
3411
  ], z.prototype, "selected", 2);
3412
3412
  W([
3413
3413
  o({ type: String })
@@ -3416,13 +3416,13 @@ W([
3416
3416
  o({ type: String })
3417
3417
  ], z.prototype, "latest", 2);
3418
3418
  W([
3419
- o({ converter: li.stringsToDate })
3419
+ o({ converter: hi.stringsToDate })
3420
3420
  ], z.prototype, "excludedates", 2);
3421
3421
  W([
3422
- o({ converter: li.csvToArray })
3422
+ o({ converter: hi.csvToArray })
3423
3423
  ], z.prototype, "excludeweekdays", 2);
3424
3424
  W([
3425
- o({ converter: li.stringToDate })
3425
+ o({ converter: hi.stringToDate })
3426
3426
  ], z.prototype, "currentmonth", 2);
3427
3427
  W([
3428
3428
  o({ type: Array })
@@ -3475,7 +3475,7 @@ W([
3475
3475
  z = W([
3476
3476
  j("pkt-calendar")
3477
3477
  ], z);
3478
- const zo = { size: { default: "medium" }, skin: { default: "blue" }, closeTag: { default: !1 }, type: { default: "button" } }, Ki = {
3478
+ const zo = { size: { default: "medium" }, skin: { default: "blue" }, closeTag: { default: !1 }, type: { default: "button" } }, Gi = {
3479
3479
  props: zo
3480
3480
  };
3481
3481
  var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, ae = (i, t, e, s) => {
@@ -3483,9 +3483,9 @@ var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, ae = (i, t
3483
3483
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3484
3484
  return s && a && Wo(t, e, a), a;
3485
3485
  };
3486
- let Gt = class extends G {
3486
+ let Gt = class extends K {
3487
3487
  constructor() {
3488
- super(), this.defaultSlot = A(), this.closeTag = Ki.props.closeTag.default, this.size = Ki.props.size.default, this.skin = Ki.props.skin.default, this.textStyle = null, this.iconName = void 0, this.type = Ki.props.type.default, this.ariaLabel = null, this._isClosed = !1, this._ariaDescription = null, this.close = (t) => {
3488
+ super(), this.defaultSlot = A(), this.closeTag = Gi.props.closeTag.default, this.size = Gi.props.size.default, this.skin = Gi.props.skin.default, this.textStyle = null, this.iconName = void 0, this.type = Gi.props.type.default, this.ariaLabel = null, this._isClosed = !1, this._ariaDescription = null, this.close = (t) => {
3489
3489
  this._isClosed = !0, this.dispatchEvent(
3490
3490
  new CustomEvent("close", { detail: { origin: t }, bubbles: !0, composed: !0 })
3491
3491
  ), this.dispatchEvent(
@@ -3569,7 +3569,7 @@ ae([
3569
3569
  Gt = ae([
3570
3570
  j("pkt-tag")
3571
3571
  ], Gt);
3572
- var Go = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Li = (i, t, e, s) => {
3572
+ var Go = Object.defineProperty, Yo = Object.getOwnPropertyDescriptor, Bi = (i, t, e, s) => {
3573
3573
  for (var a = s > 1 ? void 0 : s ? Yo(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3574
3574
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3575
3575
  return s && a && Go(t, e, a), a;
@@ -3626,30 +3626,30 @@ let Ie = class extends ls {
3626
3626
  return u`<slot></slot>`;
3627
3627
  }
3628
3628
  };
3629
- Li([
3629
+ Bi([
3630
3630
  o({ type: String, reflect: !0 })
3631
3631
  ], Ie.prototype, "size", 2);
3632
- Li([
3632
+ Bi([
3633
3633
  o({ type: Number, reflect: !0 })
3634
3634
  ], Ie.prototype, "level", 2);
3635
- Li([
3635
+ Bi([
3636
3636
  o({ type: Boolean, reflect: !0 })
3637
3637
  ], Ie.prototype, "visuallyHidden", 2);
3638
- Li([
3638
+ Bi([
3639
3639
  o({ type: String, reflect: !0 })
3640
3640
  ], Ie.prototype, "align", 2);
3641
- Ie = Li([
3641
+ Ie = Bi([
3642
3642
  j("pkt-heading")
3643
3643
  ], Ie);
3644
3644
  const Zo = { layout: { default: "vertical" }, skin: { type: ["outlined", "outlined-beige", "gray", "blue", "beige", "green"], default: "outlined" }, padding: { default: "default" } }, Xe = {
3645
3645
  props: Zo
3646
3646
  };
3647
- var Jo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, gt = (i, t, e, s) => {
3647
+ var Jo = Object.defineProperty, Xo = Object.getOwnPropertyDescriptor, bt = (i, t, e, s) => {
3648
3648
  for (var a = s > 1 ? void 0 : s ? Xo(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3649
3649
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3650
3650
  return s && a && Jo(t, e, a), a;
3651
3651
  };
3652
- let lt = class extends G {
3652
+ let lt = class extends K {
3653
3653
  //Constructor
3654
3654
  constructor() {
3655
3655
  super(), this.defaultSlot = A(), this.ariaLabel = "", this.metaLead = null, this.borderOnHover = !0, this.clickCardLink = null, this.metaTrail = null, this.layout = Xe.props.layout.default, this.heading = "", this.headinglevel = 3, this.image = {
@@ -3801,43 +3801,43 @@ let lt = class extends G {
3801
3801
  `;
3802
3802
  }
3803
3803
  };
3804
- gt([
3804
+ bt([
3805
3805
  o({ type: String })
3806
3806
  ], lt.prototype, "ariaLabel", 2);
3807
- gt([
3807
+ bt([
3808
3808
  o({ type: String })
3809
3809
  ], lt.prototype, "metaLead", 2);
3810
- gt([
3810
+ bt([
3811
3811
  o({ type: Boolean })
3812
3812
  ], lt.prototype, "borderOnHover", 2);
3813
- gt([
3813
+ bt([
3814
3814
  o({ type: String, reflect: !0 })
3815
3815
  ], lt.prototype, "clickCardLink", 2);
3816
- gt([
3816
+ bt([
3817
3817
  o({ type: String })
3818
3818
  ], lt.prototype, "metaTrail", 2);
3819
- gt([
3819
+ bt([
3820
3820
  o({ type: String })
3821
3821
  ], lt.prototype, "layout", 2);
3822
- gt([
3822
+ bt([
3823
3823
  o({ type: String })
3824
3824
  ], lt.prototype, "heading", 2);
3825
- gt([
3825
+ bt([
3826
3826
  o({ type: Number })
3827
3827
  ], lt.prototype, "headinglevel", 2);
3828
- gt([
3828
+ bt([
3829
3829
  o({ type: Object })
3830
3830
  ], lt.prototype, "image", 2);
3831
- gt([
3831
+ bt([
3832
3832
  o({ type: String })
3833
3833
  ], lt.prototype, "imageShape", 2);
3834
- gt([
3834
+ bt([
3835
3835
  o({ type: Boolean })
3836
3836
  ], lt.prototype, "openLinkInNewTab", 2);
3837
- gt([
3837
+ bt([
3838
3838
  o({ type: String })
3839
3839
  ], lt.prototype, "padding", 2);
3840
- gt([
3840
+ bt([
3841
3841
  o({
3842
3842
  type: String,
3843
3843
  converter: {
@@ -3851,16 +3851,16 @@ gt([
3851
3851
  }
3852
3852
  })
3853
3853
  ], lt.prototype, "skin", 2);
3854
- gt([
3854
+ bt([
3855
3855
  o({ type: String })
3856
3856
  ], lt.prototype, "subheading", 2);
3857
- gt([
3857
+ bt([
3858
3858
  o({ type: String })
3859
3859
  ], lt.prototype, "tagPosition", 2);
3860
- gt([
3860
+ bt([
3861
3861
  o({ type: Array })
3862
3862
  ], lt.prototype, "tags", 2);
3863
- lt = gt([
3863
+ lt = bt([
3864
3864
  j("pkt-card")
3865
3865
  ], lt);
3866
3866
  /**
@@ -3868,11 +3868,11 @@ lt = gt([
3868
3868
  * Copyright 2017 Google LLC
3869
3869
  * SPDX-License-Identifier: BSD-3-Clause
3870
3870
  */
3871
- const wa = (i, t, e) => {
3871
+ const xa = (i, t, e) => {
3872
3872
  const s = /* @__PURE__ */ new Map();
3873
3873
  for (let a = t; a <= e; a++) s.set(i[a], a);
3874
3874
  return s;
3875
- }, Fs = Fe(class extends oi {
3875
+ }, Us = Fe(class extends li {
3876
3876
  constructor(i) {
3877
3877
  if (super(i), i.type !== zt.CHILD) throw Error("repeat() can only be used in text expressions");
3878
3878
  }
@@ -3896,36 +3896,36 @@ const wa = (i, t, e) => {
3896
3896
  else if (a[y] === null) y--;
3897
3897
  else if (l[f] === r[b]) d[b] = Te(a[f], n[b]), f++, b++;
3898
3898
  else if (l[y] === r[k]) d[k] = Te(a[y], n[k]), y--, k--;
3899
- else if (l[f] === r[k]) d[k] = Te(a[f], n[k]), gi(i, d[k + 1], a[f]), f++, k--;
3900
- else if (l[y] === r[b]) d[b] = Te(a[y], n[b]), gi(i, a[f], a[y]), y--, b++;
3901
- else if (p === void 0 && (p = wa(r, b, k), m = wa(l, f, y)), p.has(l[f])) if (p.has(l[y])) {
3899
+ else if (l[f] === r[k]) d[k] = Te(a[f], n[k]), vi(i, d[k + 1], a[f]), f++, k--;
3900
+ else if (l[y] === r[b]) d[b] = Te(a[y], n[b]), vi(i, a[f], a[y]), y--, b++;
3901
+ else if (p === void 0 && (p = xa(r, b, k), m = xa(l, f, y)), p.has(l[f])) if (p.has(l[y])) {
3902
3902
  const w = m.get(r[b]), S = w !== void 0 ? a[w] : null;
3903
3903
  if (S === null) {
3904
- const P = gi(i, a[f]);
3904
+ const P = vi(i, a[f]);
3905
3905
  Te(P, n[b]), d[b] = P;
3906
- } else d[b] = Te(S, n[b]), gi(i, a[f], S), a[w] = null;
3906
+ } else d[b] = Te(S, n[b]), vi(i, a[f], S), a[w] = null;
3907
3907
  b++;
3908
3908
  } else ys(a[y]), y--;
3909
3909
  else ys(a[f]), f++;
3910
3910
  for (; b <= k; ) {
3911
- const w = gi(i, d[k + 1]);
3911
+ const w = vi(i, d[k + 1]);
3912
3912
  Te(w, n[b]), d[b++] = w;
3913
3913
  }
3914
3914
  for (; f <= y; ) {
3915
3915
  const w = a[f++];
3916
3916
  w !== null && ys(w);
3917
3917
  }
3918
- return this.ut = r, qa(i, d), wt;
3918
+ return this.ut = r, qa(i, d), xt;
3919
3919
  }
3920
- }), xa = () => ("00000000000000000" + (Math.random() * 18446744073709552e3).toString(16)).slice(-16), Qo = (i) => new Promise((t) => setTimeout(t, i)), be = () => {
3921
- const i = xa(), t = xa();
3920
+ }), Sa = () => ("00000000000000000" + (Math.random() * 18446744073709552e3).toString(16)).slice(-16), Qo = (i) => new Promise((t) => setTimeout(t, i)), be = () => {
3921
+ const i = Sa(), t = Sa();
3922
3922
  return i.slice(0, 8) + "-" + i.slice(8, 12) + "-4" + i.slice(13) + "-a" + t.slice(1, 4) + "-" + t.slice(4);
3923
- }, tl = { helptextDropdownButton: { default: "Les mer <span class='pkt-sr-only'>om feltet</span>" }, counter: { default: !1 }, optionalTag: { default: !1 }, optionalText: { default: "Valgfritt" }, requiredTag: { default: !1 }, requiredText: { default: "Må fylles ut" }, hasError: { default: !1 }, disabled: { default: !1 }, inline: { default: !1 }, hasFieldset: { default: !1 }, useWrapper: { default: !0 } }, Dt = {
3923
+ }, tl = { helptextDropdownButton: { default: "Les mer <span class='pkt-sr-only'>om feltet</span>" }, counter: { default: !1 }, optionalTag: { default: !1 }, optionalText: { default: "Valgfritt" }, requiredTag: { default: !1 }, requiredText: { default: "Må fylles ut" }, hasError: { default: !1 }, disabled: { default: !1 }, inline: { default: !1 }, hasFieldset: { default: !1 }, useWrapper: { default: !0 } }, Mt = {
3924
3924
  props: tl
3925
3925
  };
3926
- var el = {}, Sa;
3926
+ var el = {}, Ca;
3927
3927
  function il() {
3928
- return Sa || (Sa = 1, (function() {
3928
+ return Ca || (Ca = 1, (function() {
3929
3929
  (function(i) {
3930
3930
  const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), m = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap(), S = {
3931
3931
  ariaAtomic: "aria-atomic",
@@ -3985,11 +3985,11 @@ function il() {
3985
3985
  });
3986
3986
  }
3987
3987
  };
3988
- function T(g) {
3988
+ function N(g) {
3989
3989
  const c = a.get(g), { form: v } = c;
3990
- le(g, v, c), _t(g, c.labels);
3990
+ le(g, v, c), wt(g, c.labels);
3991
3991
  }
3992
- const L = (g, c = !1) => {
3992
+ const I = (g, c = !1) => {
3993
3993
  const v = document.createTreeWalker(g, NodeFilter.SHOW_ELEMENT, {
3994
3994
  acceptNode(V) {
3995
3995
  return a.has(V) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
@@ -3998,49 +3998,49 @@ function il() {
3998
3998
  let _ = v.nextNode();
3999
3999
  const D = !c || g.disabled;
4000
4000
  for (; _; )
4001
- _.formDisabledCallback && D && Et(_, g.disabled), _ = v.nextNode();
4002
- }, N = { attributes: !0, attributeFilter: ["disabled", "name"] }, H = he() ? new MutationObserver((g) => {
4001
+ _.formDisabledCallback && D && At(_, g.disabled), _ = v.nextNode();
4002
+ }, T = { attributes: !0, attributeFilter: ["disabled", "name"] }, H = he() ? new MutationObserver((g) => {
4003
4003
  for (const c of g) {
4004
4004
  const v = c.target;
4005
- if (c.attributeName === "disabled" && (v.constructor.formAssociated ? Et(v, v.hasAttribute("disabled")) : v.localName === "fieldset" && L(v)), c.attributeName === "name" && v.constructor.formAssociated) {
4005
+ if (c.attributeName === "disabled" && (v.constructor.formAssociated ? At(v, v.hasAttribute("disabled")) : v.localName === "fieldset" && I(v)), c.attributeName === "name" && v.constructor.formAssociated) {
4006
4006
  const _ = a.get(v), D = p.get(v);
4007
4007
  _.setFormValue(D);
4008
4008
  }
4009
4009
  }
4010
4010
  }) : {};
4011
- function K(g) {
4011
+ function G(g) {
4012
4012
  g.forEach((c) => {
4013
4013
  const { addedNodes: v, removedNodes: _ } = c, D = Array.from(v), V = Array.from(_);
4014
4014
  D.forEach((U) => {
4015
- var Pt;
4016
- if (a.has(U) && U.constructor.formAssociated && T(U), m.has(U)) {
4017
- const pt = m.get(U);
4018
- Object.keys(S).filter((Mt) => pt[Mt] !== null).forEach((Mt) => {
4019
- st(U, S[Mt], pt[Mt]);
4015
+ var Ot;
4016
+ if (a.has(U) && U.constructor.formAssociated && N(U), m.has(U)) {
4017
+ const ut = m.get(U);
4018
+ Object.keys(S).filter((Pt) => ut[Pt] !== null).forEach((Pt) => {
4019
+ st(U, S[Pt], ut[Pt]);
4020
4020
  }), m.delete(U);
4021
4021
  }
4022
4022
  if (w.has(U)) {
4023
- const pt = w.get(U);
4024
- st(U, "internals-valid", pt.validity.valid.toString()), st(U, "internals-invalid", (!pt.validity.valid).toString()), st(U, "aria-invalid", (!pt.validity.valid).toString()), w.delete(U);
4023
+ const ut = w.get(U);
4024
+ st(U, "internals-valid", ut.validity.valid.toString()), st(U, "internals-invalid", (!ut.validity.valid).toString()), st(U, "aria-invalid", (!ut.validity.valid).toString()), w.delete(U);
4025
4025
  }
4026
4026
  if (U.localName === "form") {
4027
- const pt = d.get(U), Mt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4027
+ const ut = d.get(U), Pt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4028
4028
  acceptNode(vs) {
4029
- return a.has(vs) && vs.constructor.formAssociated && !(pt && pt.has(vs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4029
+ return a.has(vs) && vs.constructor.formAssociated && !(ut && ut.has(vs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4030
4030
  }
4031
4031
  });
4032
- let ui = Mt.nextNode();
4033
- for (; ui; )
4034
- T(ui), ui = Mt.nextNode();
4032
+ let mi = Pt.nextNode();
4033
+ for (; mi; )
4034
+ N(mi), mi = Pt.nextNode();
4035
4035
  }
4036
- U.localName === "fieldset" && ((Pt = H.observe) === null || Pt === void 0 || Pt.call(H, U, N), L(U, !0));
4036
+ U.localName === "fieldset" && ((Ot = H.observe) === null || Ot === void 0 || Ot.call(H, U, T), I(U, !0));
4037
4037
  }), V.forEach((U) => {
4038
- const Pt = a.get(U);
4039
- Pt && s.get(Pt) && Ot(Pt), l.has(U) && l.get(U).disconnect();
4038
+ const Ot = a.get(U);
4039
+ Ot && s.get(Ot) && Et(Ot), l.has(U) && l.get(U).disconnect();
4040
4040
  });
4041
4041
  });
4042
4042
  }
4043
- function Nt(g) {
4043
+ function Ft(g) {
4044
4044
  g.forEach((c) => {
4045
4045
  const { removedNodes: v } = c;
4046
4046
  v.forEach((_) => {
@@ -4049,30 +4049,30 @@ function il() {
4049
4049
  });
4050
4050
  });
4051
4051
  }
4052
- const At = (g) => {
4052
+ const pt = (g) => {
4053
4053
  var c, v;
4054
- const _ = new MutationObserver(Nt);
4054
+ const _ = new MutationObserver(Ft);
4055
4055
  !((c = window == null ? void 0 : window.ShadyDOM) === null || c === void 0) && c.inUse && g.mode && g.host && (g = g.host), (v = _.observe) === null || v === void 0 || v.call(_, g, { childList: !0 }), b.set(g, _);
4056
4056
  };
4057
- he() && new MutationObserver(K);
4058
- const Q = {
4057
+ he() && new MutationObserver(G);
4058
+ const J = {
4059
4059
  childList: !0,
4060
4060
  subtree: !0
4061
4061
  }, st = (g, c, v) => {
4062
4062
  g.getAttribute(c) !== v && g.setAttribute(c, v);
4063
- }, Et = (g, c) => {
4063
+ }, At = (g, c) => {
4064
4064
  g.toggleAttribute("internals-disabled", c), c ? st(g, "aria-disabled", "true") : g.removeAttribute("aria-disabled"), g.formDisabledCallback && g.formDisabledCallback.apply(g, [c]);
4065
- }, Ot = (g) => {
4065
+ }, Et = (g) => {
4066
4066
  s.get(g).forEach((c) => {
4067
4067
  c.remove();
4068
4068
  }), s.set(g, []);
4069
4069
  }, at = (g, c) => {
4070
4070
  const v = document.createElement("input");
4071
4071
  return v.type = "hidden", v.name = g.getAttribute("name"), g.after(v), s.get(c).push(v), v;
4072
- }, I = (g, c) => {
4072
+ }, R = (g, c) => {
4073
4073
  var v;
4074
- s.set(c, []), (v = H.observe) === null || v === void 0 || v.call(H, g, N);
4075
- }, _t = (g, c) => {
4074
+ s.set(c, []), (v = H.observe) === null || v === void 0 || v.call(H, g, T);
4075
+ }, wt = (g, c) => {
4076
4076
  if (c.length) {
4077
4077
  Array.from(c).forEach((_) => _.addEventListener("click", g.click.bind(g)));
4078
4078
  let v = c[0].id;
@@ -4127,7 +4127,7 @@ function il() {
4127
4127
  }, Se = (g) => {
4128
4128
  if (g.constructor.formAssociated) {
4129
4129
  const c = a.get(g), { labels: v, form: _ } = c;
4130
- _t(g, v), le(g, _, c);
4130
+ wt(g, v), le(g, _, c);
4131
4131
  }
4132
4132
  };
4133
4133
  function he() {
@@ -4138,7 +4138,7 @@ function il() {
4138
4138
  this.badInput = !1, this.customError = !1, this.patternMismatch = !1, this.rangeOverflow = !1, this.rangeUnderflow = !1, this.stepMismatch = !1, this.tooLong = !1, this.tooShort = !1, this.typeMismatch = !1, this.valid = !0, this.valueMissing = !1, Object.seal(this);
4139
4139
  }
4140
4140
  }
4141
- const Fi = (g) => (g.badInput = !1, g.customError = !1, g.patternMismatch = !1, g.rangeOverflow = !1, g.rangeUnderflow = !1, g.stepMismatch = !1, g.tooLong = !1, g.tooShort = !1, g.typeMismatch = !1, g.valid = !0, g.valueMissing = !1, g), ms = (g, c, v) => (g.valid = Ui(c), Object.keys(c).forEach((_) => g[_] = c[_]), v && Qt(v), g), Ui = (g) => {
4141
+ const Ui = (g) => (g.badInput = !1, g.customError = !1, g.patternMismatch = !1, g.rangeOverflow = !1, g.rangeUnderflow = !1, g.stepMismatch = !1, g.tooLong = !1, g.tooShort = !1, g.typeMismatch = !1, g.valid = !0, g.valueMissing = !1, g), ms = (g, c, v) => (g.valid = Hi(c), Object.keys(c).forEach((_) => g[_] = c[_]), v && Qt(v), g), Hi = (g) => {
4142
4142
  let c = !0;
4143
4143
  for (let v in g)
4144
4144
  v !== "valid" && g[v] !== !1 && (c = !1);
@@ -4147,7 +4147,7 @@ function il() {
4147
4147
  function Ke(g, c) {
4148
4148
  g.toggleAttribute(c, !0), g.part && g.part.add(c);
4149
4149
  }
4150
- class pi extends Set {
4150
+ class ui extends Set {
4151
4151
  static get isPolyfilled() {
4152
4152
  return !0;
4153
4153
  }
@@ -4176,7 +4176,7 @@ function il() {
4176
4176
  }), v;
4177
4177
  }
4178
4178
  }
4179
- function Hi(g, c, v, _) {
4179
+ function qi(g, c, v, _) {
4180
4180
  if (typeof c == "function" ? g !== c || !_ : !c.has(g)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4181
4181
  return v === "m" ? _ : v === "a" ? _.call(g) : _ ? _.value : c.get(g);
4182
4182
  }
@@ -4185,7 +4185,7 @@ function il() {
4185
4185
  return c.set(g, v), v;
4186
4186
  }
4187
4187
  var me;
4188
- class qi {
4188
+ class zi {
4189
4189
  constructor(c) {
4190
4190
  me.set(this, void 0), fs(this, me, c);
4191
4191
  for (let v = 0; v < c.length; v++) {
@@ -4195,10 +4195,10 @@ function il() {
4195
4195
  Object.freeze(this);
4196
4196
  }
4197
4197
  get length() {
4198
- return Hi(this, me, "f").length;
4198
+ return qi(this, me, "f").length;
4199
4199
  }
4200
4200
  [(me = /* @__PURE__ */ new WeakMap(), Symbol.iterator)]() {
4201
- return Hi(this, me, "f")[Symbol.iterator]();
4201
+ return qi(this, me, "f")[Symbol.iterator]();
4202
4202
  }
4203
4203
  item(c) {
4204
4204
  return this[c] == null ? null : this[c];
@@ -4207,7 +4207,7 @@ function il() {
4207
4207
  return this[c] == null ? null : this[c];
4208
4208
  }
4209
4209
  }
4210
- function zi() {
4210
+ function Wi() {
4211
4211
  const g = HTMLFormElement.prototype.checkValidity;
4212
4212
  HTMLFormElement.prototype.checkValidity = v;
4213
4213
  const c = HTMLFormElement.prototype.reportValidity;
@@ -4223,15 +4223,15 @@ function il() {
4223
4223
  const { get: D } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements");
4224
4224
  Object.defineProperty(HTMLFormElement.prototype, "elements", {
4225
4225
  get(...V) {
4226
- const U = D.call(this, ...V), Pt = Array.from(d.get(this) || []);
4227
- if (Pt.length === 0)
4226
+ const U = D.call(this, ...V), Ot = Array.from(d.get(this) || []);
4227
+ if (Ot.length === 0)
4228
4228
  return U;
4229
- const pt = Array.from(U).concat(Pt).sort((Mt, ui) => Mt.compareDocumentPosition ? Mt.compareDocumentPosition(ui) & 2 ? 1 : -1 : 0);
4230
- return new qi(pt);
4229
+ const ut = Array.from(U).concat(Ot).sort((Pt, mi) => Pt.compareDocumentPosition ? Pt.compareDocumentPosition(mi) & 2 ? 1 : -1 : 0);
4230
+ return new zi(ut);
4231
4231
  }
4232
4232
  });
4233
4233
  }
4234
- class Hs {
4234
+ class qs {
4235
4235
  static get isPolyfilled() {
4236
4236
  return !0;
4237
4237
  }
@@ -4239,7 +4239,7 @@ function il() {
4239
4239
  if (!c || !c.tagName || c.tagName.indexOf("-") === -1)
4240
4240
  throw new TypeError("Illegal constructor");
4241
4241
  const v = c.getRootNode(), _ = new us();
4242
- this.states = new pi(c), t.set(this, c), e.set(this, _), a.set(c, this), P(c, this), I(c, this), Object.seal(this), v instanceof DocumentFragment && At(v);
4242
+ this.states = new ui(c), t.set(this, c), e.set(this, _), a.set(c, this), P(c, this), R(c, this), Object.seal(this), v instanceof DocumentFragment && pt(v);
4243
4243
  }
4244
4244
  checkValidity() {
4245
4245
  const c = t.get(this);
@@ -4279,7 +4279,7 @@ function il() {
4279
4279
  }
4280
4280
  setFormValue(c) {
4281
4281
  const v = t.get(this);
4282
- if (ot(v, "Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."), Ot(this), c != null && !(c instanceof FormData)) {
4282
+ if (ot(v, "Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."), Et(this), c != null && !(c instanceof FormData)) {
4283
4283
  if (v.getAttribute("name")) {
4284
4284
  const _ = at(v, this);
4285
4285
  _.value = c;
@@ -4298,15 +4298,15 @@ function il() {
4298
4298
  throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");
4299
4299
  y.set(this, _);
4300
4300
  const V = e.get(this), U = {};
4301
- for (const Mt in c)
4302
- U[Mt] = c[Mt];
4303
- Object.keys(U).length === 0 && Fi(V);
4304
- const Pt = Object.assign(Object.assign({}, V), U);
4305
- delete Pt.valid;
4306
- const { valid: pt } = ms(V, Pt, this.form);
4307
- if (!pt && !v)
4301
+ for (const Pt in c)
4302
+ U[Pt] = c[Pt];
4303
+ Object.keys(U).length === 0 && Ui(V);
4304
+ const Ot = Object.assign(Object.assign({}, V), U);
4305
+ delete Ot.valid;
4306
+ const { valid: ut } = ms(V, Ot, this.form);
4307
+ if (!ut && !v)
4308
4308
  throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");
4309
- n.set(this, pt ? "" : v), D.isConnected ? (D.toggleAttribute("internals-invalid", !pt), D.toggleAttribute("internals-valid", pt), st(D, "aria-invalid", `${!pt}`)) : w.set(D, this);
4309
+ n.set(this, ut ? "" : v), D.isConnected ? (D.toggleAttribute("internals-invalid", !ut), D.toggleAttribute("internals-valid", ut), st(D, "aria-invalid", `${!ut}`)) : w.set(D, this);
4310
4310
  }
4311
4311
  get shadowRoot() {
4312
4312
  const c = t.get(this);
@@ -4349,22 +4349,22 @@ function il() {
4349
4349
  "reportValidity"
4350
4350
  ].every((_) => _ in v.internals);
4351
4351
  }
4352
- let qs = !1, zs = !1;
4352
+ let zs = !1, Ws = !1;
4353
4353
  function gs(g) {
4354
- zs || (zs = !0, window.CustomStateSet = pi, g && (HTMLElement.prototype.attachInternals = function(...c) {
4354
+ Ws || (Ws = !0, window.CustomStateSet = ui, g && (HTMLElement.prototype.attachInternals = function(...c) {
4355
4355
  const v = g.call(this, c);
4356
- return v.states = new pi(this), v;
4356
+ return v.states = new ui(this), v;
4357
4357
  }));
4358
4358
  }
4359
- function Ws(g = !0) {
4360
- if (!qs) {
4361
- if (qs = !0, typeof window < "u" && (window.ElementInternals = Hs), typeof CustomElementRegistry < "u") {
4359
+ function Ks(g = !0) {
4360
+ if (!zs) {
4361
+ if (zs = !0, typeof window < "u" && (window.ElementInternals = qs), typeof CustomElementRegistry < "u") {
4362
4362
  const c = CustomElementRegistry.prototype.define;
4363
4363
  CustomElementRegistry.prototype.define = function(v, _, D) {
4364
4364
  if (_.formAssociated) {
4365
4365
  const V = _.prototype.connectedCallback;
4366
4366
  _.prototype.connectedCallback = function() {
4367
- k.has(this) || (k.set(this, !0), this.hasAttribute("disabled") && Et(this, !0)), V != null && V.apply(this), Se(this);
4367
+ k.has(this) || (k.set(this, !0), this.hasAttribute("disabled") && At(this, !0)), V != null && V.apply(this), Se(this);
4368
4368
  };
4369
4369
  }
4370
4370
  c.call(this, v, _, D);
@@ -4377,23 +4377,23 @@ function il() {
4377
4377
  } else return {};
4378
4378
  if (a.has(this))
4379
4379
  throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached.");
4380
- return new Hs(this);
4380
+ return new qs(this);
4381
4381
  }), typeof Element < "u") {
4382
4382
  let c = function(..._) {
4383
4383
  const D = v.apply(this, _);
4384
4384
  if (f.set(this, D), he()) {
4385
- const V = new MutationObserver(K);
4386
- window.ShadyDOM ? V.observe(this, Q) : V.observe(D, Q), l.set(this, V);
4385
+ const V = new MutationObserver(G);
4386
+ window.ShadyDOM ? V.observe(this, J) : V.observe(D, J), l.set(this, V);
4387
4387
  }
4388
4388
  return D;
4389
4389
  };
4390
4390
  const v = Element.prototype.attachShadow;
4391
4391
  Element.prototype.attachShadow = c;
4392
4392
  }
4393
- he() && typeof document < "u" && new MutationObserver(K).observe(document.documentElement, Q), typeof HTMLFormElement < "u" && zi(), (g || typeof window < "u" && !window.CustomStateSet) && gs();
4393
+ he() && typeof document < "u" && new MutationObserver(G).observe(document.documentElement, J), typeof HTMLFormElement < "u" && Wi(), (g || typeof window < "u" && !window.CustomStateSet) && gs();
4394
4394
  }
4395
4395
  }
4396
- return customElements.polyfillWrapFlushCallback || (pn() ? typeof window < "u" && !window.CustomStateSet && gs(HTMLElement.prototype.attachInternals) : Ws(!1)), i.forceCustomStateSetPolyfill = gs, i.forceElementInternalsPolyfill = Ws, Object.defineProperty(i, "__esModule", { value: !0 }), i;
4396
+ return customElements.polyfillWrapFlushCallback || (pn() ? typeof window < "u" && !window.CustomStateSet && gs(HTMLElement.prototype.attachInternals) : Ks(!1)), i.forceCustomStateSetPolyfill = gs, i.forceElementInternalsPolyfill = Ks, Object.defineProperty(i, "__esModule", { value: !0 }), i;
4397
4397
  })({});
4398
4398
  })()), el;
4399
4399
  }
@@ -4403,26 +4403,26 @@ var sl = Object.defineProperty, F = (i, t, e, s) => {
4403
4403
  (r = i[n]) && (a = r(t, e, a) || a);
4404
4404
  return a && sl(t, e, a), a;
4405
4405
  };
4406
- let M = class extends G {
4406
+ let M = class extends K {
4407
4407
  constructor() {
4408
- super(), this.defaultValue = null, this.disabled = !1, this.readonly = !1, this.required = !1, this.max = null, this.maxlength = null, this.min = null, this.minlength = null, this.step = null, this.ariaDescribedBy = null, this.ariaLabelledby = null, this.name = "", this.pattern = null, this.placeholder = null, this.id = be(), this.counter = !1, this.hasError = !1, this.inline = !1, this.hasFieldset = !1, this.optionalTag = !1, this.requiredTag = !1, this.skipForwardTestid = !1, this.useWrapper = !0, this.fullwidth = !1, this.counterMaxLength = 0, this.errorMessage = "", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Dt.props.helptextDropdownButton.default, this.label = null, this.optionalText = yt.forms.labels.optional, this.requiredText = yt.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4408
+ super(), this.defaultValue = null, this.disabled = !1, this.readonly = !1, this.required = !1, this.max = null, this.maxlength = null, this.min = null, this.minlength = null, this.step = null, this.ariaDescribedBy = null, this.ariaLabelledby = null, this.name = "", this.pattern = null, this.placeholder = null, this.id = be(), this.counter = !1, this.hasError = !1, this.inline = !1, this.hasFieldset = !1, this.optionalTag = !1, this.requiredTag = !1, this.skipForwardTestid = !1, this.useWrapper = !0, this.fullwidth = !1, this.counterMaxLength = 0, this.errorMessage = "", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Mt.props.helptextDropdownButton.default, this.label = null, this.optionalText = _t.forms.labels.optional, this.requiredText = _t.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4409
4409
  }
4410
4410
  static get formAssociated() {
4411
4411
  return !0;
4412
4412
  }
4413
4413
  manageValidity(t) {
4414
4414
  var e, s, a, n, r, l, d, p, m, f, y;
4415
- t && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, yt.forms.messages.required, t) : (e = t.validity) != null && e.typeMismatch || (s = t.validity) != null && s.badInput ? this.internals.setValidity({ typeMismatch: !0 }, yt.forms.messages.invalid, t) : (a = t.validity) != null && a.patternMismatch ? this.internals.setValidity(
4415
+ t && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, _t.forms.messages.required, t) : (e = t.validity) != null && e.typeMismatch || (s = t.validity) != null && s.badInput ? this.internals.setValidity({ typeMismatch: !0 }, _t.forms.messages.invalid, t) : (a = t.validity) != null && a.patternMismatch ? this.internals.setValidity(
4416
4416
  { patternMismatch: !0 },
4417
- yt.forms.messages.invalidPattern,
4417
+ _t.forms.messages.invalidPattern,
4418
4418
  t
4419
- ) : (n = t.validity) != null && n.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, yt.forms.messages.tooShort, t) : (r = t.validity) != null && r.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, yt.forms.messages.tooLong, t) : (l = t.validity) != null && l.rangeUnderflow ? this.internals.setValidity(
4419
+ ) : (n = t.validity) != null && n.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, _t.forms.messages.tooShort, t) : (r = t.validity) != null && r.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, _t.forms.messages.tooLong, t) : (l = t.validity) != null && l.rangeUnderflow ? this.internals.setValidity(
4420
4420
  { rangeUnderflow: !0 },
4421
- this.min ? yt.forms.messages.rangeUnderflowMin.replace("{min}", (d = this.min) == null ? void 0 : d.toString()) : yt.forms.messages.rangeUnderflow,
4421
+ this.min ? _t.forms.messages.rangeUnderflowMin.replace("{min}", (d = this.min) == null ? void 0 : d.toString()) : _t.forms.messages.rangeUnderflow,
4422
4422
  t
4423
- ) : (p = t.validity) != null && p.stepMismatch ? this.internals.setValidity({ stepMismatch: !0 }, yt.forms.messages.invalid, t) : (m = t.validity) != null && m.rangeOverflow ? this.internals.setValidity(
4423
+ ) : (p = t.validity) != null && p.stepMismatch ? this.internals.setValidity({ stepMismatch: !0 }, _t.forms.messages.invalid, t) : (m = t.validity) != null && m.rangeOverflow ? this.internals.setValidity(
4424
4424
  { rangeOverflow: !0 },
4425
- this.max ? yt.forms.messages.rangeOverflowMax.replace("{max}", (f = this.max) == null ? void 0 : f.toString()) : yt.forms.messages.rangeOverflow,
4425
+ this.max ? _t.forms.messages.rangeOverflowMax.replace("{max}", (f = this.max) == null ? void 0 : f.toString()) : _t.forms.messages.rangeOverflow,
4426
4426
  t
4427
4427
  ) : (y = t.validity) != null && y.customError ? this.internals.setValidity({ customError: !0 }, t.validationMessage, t) : this.internals.setValidity({}));
4428
4428
  }
@@ -4663,9 +4663,9 @@ var al = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, He = (i, t
4663
4663
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
4664
4664
  return s && a && al(t, e, a), a;
4665
4665
  };
4666
- let ce = class extends G {
4666
+ let ce = class extends K {
4667
4667
  constructor() {
4668
- super(), this.defaultSlot = A(), this.forId = be(), this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Dt.props.helptextDropdownButton.default, this.isHelpTextOpen = !1, this.filledSlots = /* @__PURE__ */ new Set(), this.slotController = new rt(this, this.defaultSlot);
4668
+ super(), this.defaultSlot = A(), this.forId = be(), this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Mt.props.helptextDropdownButton.default, this.isHelpTextOpen = !1, this.filledSlots = /* @__PURE__ */ new Set(), this.slotController = new rt(this, this.defaultSlot);
4669
4669
  }
4670
4670
  updateSlots(t) {
4671
4671
  this.filledSlots = new Set(t);
@@ -4692,7 +4692,7 @@ let ce = class extends G {
4692
4692
  class="pkt-btn__icon"
4693
4693
  name="${this.isHelpTextOpen ? "chevron-thin-up" : "chevron-thin-down"}"
4694
4694
  ></pkt-icon>
4695
- <span class="pkt-btn__text">${Zi(this.helptextDropdownButton)}</span>
4695
+ <span class="pkt-btn__text">${Ji(this.helptextDropdownButton)}</span>
4696
4696
  </button>
4697
4697
  <div
4698
4698
  class="${O({
@@ -4701,13 +4701,13 @@ let ce = class extends G {
4701
4701
  "pkt-inputwrapper__helptext-expandable-closed": !this.isHelpTextOpen
4702
4702
  })}"
4703
4703
  >
4704
- ${Zi(this.helptextDropdown)}
4704
+ ${Ji(this.helptextDropdown)}
4705
4705
  </div>
4706
4706
  </div>` : $;
4707
4707
  return u`${u`<div class="${e}">
4708
4708
  <div class="pkt-inputwrapper__helptext" id="${this.forId}-helptext">
4709
4709
  <div class="pkt-contents" ${E(this.defaultSlot)} name="helptext"></div>
4710
- ${this.helptext && Zi(this.helptext)}
4710
+ ${this.helptext && Ji(this.helptext)}
4711
4711
  </div>
4712
4712
  ${s()}
4713
4713
  </div>`}`;
@@ -4734,7 +4734,7 @@ He([
4734
4734
  ce = He([
4735
4735
  j("pkt-helptext")
4736
4736
  ], ce);
4737
- var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, J = (i, t, e, s) => {
4737
+ var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, X = (i, t, e, s) => {
4738
4738
  for (var a = s > 1 ? void 0 : s ? ol(t, e) : t, n = i.length - 1, r; n >= 0; n--)
4739
4739
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
4740
4740
  return s && a && rl(t, e, a), a;
@@ -4747,9 +4747,9 @@ const ll = {
4747
4747
  return i ? "true" : "false";
4748
4748
  }
4749
4749
  };
4750
- let Y = class extends G {
4750
+ let Y = class extends K {
4751
4751
  constructor() {
4752
- super(), this.defaultSlot = A(), this.helptextSlot = A(), this.forId = be(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = Dt.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = Dt.props.optionalTag.default, this.optionalText = Dt.props.optionalText.default, this.requiredTag = Dt.props.requiredTag.default, this.requiredText = Dt.props.requiredText.default, this.tagText = null, this.hasError = Dt.props.hasError.default, this.errorMessage = "", this.disabled = Dt.props.disabled.default, this.inline = Dt.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = Dt.props.hasFieldset.default, this.role = "group", this.useWrapper = Dt.props.useWrapper.default, this.slotController = new rt(this, this.defaultSlot, this.helptextSlot);
4752
+ super(), this.defaultSlot = A(), this.helptextSlot = A(), this.forId = be(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = Mt.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = Mt.props.optionalTag.default, this.optionalText = Mt.props.optionalText.default, this.requiredTag = Mt.props.requiredTag.default, this.requiredText = Mt.props.requiredText.default, this.tagText = null, this.hasError = Mt.props.hasError.default, this.errorMessage = "", this.disabled = Mt.props.disabled.default, this.inline = Mt.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = Mt.props.hasFieldset.default, this.role = "group", this.useWrapper = Mt.props.useWrapper.default, this.slotController = new rt(this, this.defaultSlot, this.helptextSlot);
4753
4753
  }
4754
4754
  updated(t) {
4755
4755
  super.updated(t);
@@ -4790,7 +4790,7 @@ let Y = class extends G {
4790
4790
  .forId=${this.forId}
4791
4791
  .helptext=${this.helptext}
4792
4792
  .helptextDropdown=${this.helptextDropdown}
4793
- .helptextDropdownButton=${this.helptextDropdownButton || Dt.props.helptextDropdownButton.default}
4793
+ .helptextDropdownButton=${this.helptextDropdownButton || Mt.props.helptextDropdownButton.default}
4794
4794
  @toggleHelpText=${(f) => {
4795
4795
  this.toggleDropdown(f);
4796
4796
  }}
@@ -4807,7 +4807,7 @@ let Y = class extends G {
4807
4807
  aria-live="assertive"
4808
4808
  aria-atomic="true"
4809
4809
  >
4810
- ${Zi(this.errorMessage)}
4810
+ ${Ji(this.errorMessage)}
4811
4811
  </pkt-alert>` : $, p = () => u`
4812
4812
  ${n()}
4813
4813
  ${r()}
@@ -4838,84 +4838,84 @@ let Y = class extends G {
4838
4838
  );
4839
4839
  }
4840
4840
  };
4841
- J([
4841
+ X([
4842
4842
  o({ type: String })
4843
4843
  ], Y.prototype, "forId", 2);
4844
- J([
4844
+ X([
4845
4845
  o({ type: String })
4846
4846
  ], Y.prototype, "label", 2);
4847
- J([
4847
+ X([
4848
4848
  o({ type: String })
4849
4849
  ], Y.prototype, "helptext", 2);
4850
- J([
4850
+ X([
4851
4851
  o({ type: String })
4852
4852
  ], Y.prototype, "helptextDropdown", 2);
4853
- J([
4853
+ X([
4854
4854
  o({ type: String })
4855
4855
  ], Y.prototype, "helptextDropdownButton", 2);
4856
- J([
4856
+ X([
4857
4857
  o({ type: Boolean })
4858
4858
  ], Y.prototype, "counter", 2);
4859
- J([
4859
+ X([
4860
4860
  o({ type: Number })
4861
4861
  ], Y.prototype, "counterCurrent", 2);
4862
- J([
4862
+ X([
4863
4863
  o({ type: Number })
4864
4864
  ], Y.prototype, "counterMaxLength", 2);
4865
- J([
4865
+ X([
4866
4866
  o({ type: String })
4867
4867
  ], Y.prototype, "counterError", 2);
4868
- J([
4868
+ X([
4869
4869
  o({ type: String, reflect: !1 })
4870
4870
  ], Y.prototype, "counterPosition", 2);
4871
- J([
4871
+ X([
4872
4872
  o({ type: Boolean })
4873
4873
  ], Y.prototype, "optionalTag", 2);
4874
- J([
4874
+ X([
4875
4875
  o({ type: String })
4876
4876
  ], Y.prototype, "optionalText", 2);
4877
- J([
4877
+ X([
4878
4878
  o({ type: Boolean })
4879
4879
  ], Y.prototype, "requiredTag", 2);
4880
- J([
4880
+ X([
4881
4881
  o({ type: String })
4882
4882
  ], Y.prototype, "requiredText", 2);
4883
- J([
4883
+ X([
4884
4884
  o({ type: String })
4885
4885
  ], Y.prototype, "tagText", 2);
4886
- J([
4886
+ X([
4887
4887
  o({ type: Boolean })
4888
4888
  ], Y.prototype, "hasError", 2);
4889
- J([
4889
+ X([
4890
4890
  o({ type: String })
4891
4891
  ], Y.prototype, "errorMessage", 2);
4892
- J([
4892
+ X([
4893
4893
  o({ type: Boolean })
4894
4894
  ], Y.prototype, "disabled", 2);
4895
- J([
4895
+ X([
4896
4896
  o({ type: Boolean })
4897
4897
  ], Y.prototype, "inline", 2);
4898
- J([
4898
+ X([
4899
4899
  o({ type: String })
4900
4900
  ], Y.prototype, "ariaDescribedby", 2);
4901
- J([
4901
+ X([
4902
4902
  o({ type: Boolean })
4903
4903
  ], Y.prototype, "hasFieldset", 2);
4904
- J([
4904
+ X([
4905
4905
  o({ type: String, reflect: !0 })
4906
4906
  ], Y.prototype, "role", 2);
4907
- J([
4907
+ X([
4908
4908
  o({ type: Boolean, reflect: !0, converter: ll })
4909
4909
  ], Y.prototype, "useWrapper", 2);
4910
- Y = J([
4910
+ Y = X([
4911
4911
  j("pkt-input-wrapper")
4912
4912
  ], Y);
4913
- var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, kt = (i, t, e, s) => {
4913
+ var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, yt = (i, t, e, s) => {
4914
4914
  for (var a = s > 1 ? void 0 : s ? dl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
4915
4915
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
4916
4916
  return s && a && hl(t, e, a), a;
4917
4917
  };
4918
- let ft = class extends G {
4918
+ let gt = class extends K {
4919
4919
  constructor() {
4920
4920
  super(...arguments), this.id = be(), this.label = null, this.options = [], this.isOpen = !1, this.disabled = !1, this.includeSearch = !1, this.isMultiSelect = !1, this.allowUserInput = !1, this.maxIsReached = !1, this.customUserInput = null, this.searchPlaceholder = null, this.searchValue = null, this.maxLength = 0, this.userMessage = null, this._selectedOptions = 0, this._filteredOptions = [];
4921
4921
  }
@@ -4967,7 +4967,7 @@ let ft = class extends G {
4967
4967
  }
4968
4968
  renderList() {
4969
4969
  return u`
4970
- ${Fs(
4970
+ ${Us(
4971
4971
  this._filteredOptions,
4972
4972
  (t) => t.value,
4973
4973
  (t, e) => u`
@@ -5049,7 +5049,7 @@ let ft = class extends G {
5049
5049
  type="text"
5050
5050
  aria-label="Søk i listen"
5051
5051
  form=""
5052
- placeholder=${this.searchPlaceholder || yt.forms.search.placeholder}
5052
+ placeholder=${this.searchPlaceholder || _t.forms.search.placeholder}
5053
5053
  @input=${this.handleSearchInput}
5054
5054
  @keydown=${this.handleSearchKeydown}
5055
5055
  .value=${this.searchValue}
@@ -5213,54 +5213,54 @@ let ft = class extends G {
5213
5213
  ) : [];
5214
5214
  }
5215
5215
  };
5216
- kt([
5216
+ yt([
5217
5217
  o({ type: String })
5218
- ], ft.prototype, "id", 2);
5219
- kt([
5218
+ ], gt.prototype, "id", 2);
5219
+ yt([
5220
5220
  o({ type: String })
5221
- ], ft.prototype, "label", 2);
5222
- kt([
5221
+ ], gt.prototype, "label", 2);
5222
+ yt([
5223
5223
  o({ type: Array })
5224
- ], ft.prototype, "options", 2);
5225
- kt([
5224
+ ], gt.prototype, "options", 2);
5225
+ yt([
5226
5226
  o({ type: Boolean, reflect: !0 })
5227
- ], ft.prototype, "isOpen", 2);
5228
- kt([
5227
+ ], gt.prototype, "isOpen", 2);
5228
+ yt([
5229
5229
  o({ type: Boolean })
5230
- ], ft.prototype, "disabled", 2);
5231
- kt([
5230
+ ], gt.prototype, "disabled", 2);
5231
+ yt([
5232
5232
  o({ type: Boolean })
5233
- ], ft.prototype, "includeSearch", 2);
5234
- kt([
5233
+ ], gt.prototype, "includeSearch", 2);
5234
+ yt([
5235
5235
  o({ type: Boolean })
5236
- ], ft.prototype, "isMultiSelect", 2);
5237
- kt([
5236
+ ], gt.prototype, "isMultiSelect", 2);
5237
+ yt([
5238
5238
  o({ type: Boolean })
5239
- ], ft.prototype, "allowUserInput", 2);
5240
- kt([
5239
+ ], gt.prototype, "allowUserInput", 2);
5240
+ yt([
5241
5241
  o({ type: Boolean })
5242
- ], ft.prototype, "maxIsReached", 2);
5243
- kt([
5242
+ ], gt.prototype, "maxIsReached", 2);
5243
+ yt([
5244
5244
  o({ type: String })
5245
- ], ft.prototype, "customUserInput", 2);
5246
- kt([
5245
+ ], gt.prototype, "customUserInput", 2);
5246
+ yt([
5247
5247
  o({ type: String })
5248
- ], ft.prototype, "searchPlaceholder", 2);
5249
- kt([
5248
+ ], gt.prototype, "searchPlaceholder", 2);
5249
+ yt([
5250
5250
  o({ type: String })
5251
- ], ft.prototype, "searchValue", 2);
5252
- kt([
5251
+ ], gt.prototype, "searchValue", 2);
5252
+ yt([
5253
5253
  o({ type: Number })
5254
- ], ft.prototype, "maxLength", 2);
5255
- kt([
5254
+ ], gt.prototype, "maxLength", 2);
5255
+ yt([
5256
5256
  o({ type: String })
5257
- ], ft.prototype, "userMessage", 2);
5258
- kt([
5257
+ ], gt.prototype, "userMessage", 2);
5258
+ yt([
5259
5259
  B()
5260
- ], ft.prototype, "_filteredOptions", 2);
5261
- ft = kt([
5260
+ ], gt.prototype, "_filteredOptions", 2);
5261
+ gt = yt([
5262
5262
  j("pkt-listbox")
5263
- ], ft);
5263
+ ], gt);
5264
5264
  const cl = { displayValueAs: { default: "label" } }, pl = {
5265
5265
  props: cl
5266
5266
  };
@@ -5269,7 +5269,7 @@ var ul = Object.defineProperty, ml = Object.getOwnPropertyDescriptor, it = (i, t
5269
5269
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
5270
5270
  return s && a && ul(t, e, a), a;
5271
5271
  };
5272
- let X = class extends M {
5272
+ let Q = class extends M {
5273
5273
  constructor() {
5274
5274
  super(), this.helptextSlot = A(), this.value = "", this.options = [], this.defaultOptions = [], this.allowUserInput = !1, this.typeahead = !1, this.includeSearch = !1, this.searchPlaceholder = "", this.multiple = !1, this.maxlength = null, this.displayValueAs = pl.props.displayValueAs.default, this.tagPlacement = null, this._options = [], this._isOptionsOpen = !1, this._value = [], this._userInfoMessage = "", this._addValueText = null, this._maxIsReached = !1, this._search = "", this._inputFocus = !1, this._editingSingleValue = !1, this.inputRef = A(), this.arrowRef = A(), this.listboxRef = A(), this.focusRef = A(), this.optionTagRef = A(), this.optionsController = new an(this), this.slotController = new rt(this, this.helptextSlot), this.slotController.skipOptions = !0;
5275
5275
  }
@@ -5458,7 +5458,7 @@ let X = class extends M {
5458
5458
  `;
5459
5459
  }
5460
5460
  renderSingleOrMultipleValues() {
5461
- const t = !this.multiple, e = this._editingSingleValue ? null : this.renderValueTag(this.findValueInOptions(this._value[0])), s = Fs(
5461
+ const t = !this.multiple, e = this._editingSingleValue ? null : this.renderValueTag(this.findValueInOptions(this._value[0])), s = Us(
5462
5462
  this._value,
5463
5463
  (a) => a,
5464
5464
  (a) => {
@@ -5714,67 +5714,67 @@ let X = class extends M {
5714
5714
  };
5715
5715
  it([
5716
5716
  o({ type: String, reflect: !0 })
5717
- ], X.prototype, "value", 2);
5717
+ ], Q.prototype, "value", 2);
5718
5718
  it([
5719
5719
  o({ type: Array })
5720
- ], X.prototype, "options", 2);
5720
+ ], Q.prototype, "options", 2);
5721
5721
  it([
5722
5722
  o({ type: Array })
5723
- ], X.prototype, "defaultOptions", 2);
5723
+ ], Q.prototype, "defaultOptions", 2);
5724
5724
  it([
5725
5725
  o({ type: Boolean })
5726
- ], X.prototype, "allowUserInput", 2);
5726
+ ], Q.prototype, "allowUserInput", 2);
5727
5727
  it([
5728
5728
  o({ type: Boolean })
5729
- ], X.prototype, "typeahead", 2);
5729
+ ], Q.prototype, "typeahead", 2);
5730
5730
  it([
5731
5731
  o({ type: Boolean })
5732
- ], X.prototype, "includeSearch", 2);
5732
+ ], Q.prototype, "includeSearch", 2);
5733
5733
  it([
5734
5734
  o({ type: String })
5735
- ], X.prototype, "searchPlaceholder", 2);
5735
+ ], Q.prototype, "searchPlaceholder", 2);
5736
5736
  it([
5737
5737
  o({ type: Boolean })
5738
- ], X.prototype, "multiple", 2);
5738
+ ], Q.prototype, "multiple", 2);
5739
5739
  it([
5740
5740
  o({ type: Number })
5741
- ], X.prototype, "maxlength", 2);
5741
+ ], Q.prototype, "maxlength", 2);
5742
5742
  it([
5743
5743
  o({ type: String })
5744
- ], X.prototype, "displayValueAs", 2);
5744
+ ], Q.prototype, "displayValueAs", 2);
5745
5745
  it([
5746
5746
  o({ type: String })
5747
- ], X.prototype, "tagPlacement", 2);
5747
+ ], Q.prototype, "tagPlacement", 2);
5748
5748
  it([
5749
5749
  B()
5750
- ], X.prototype, "_options", 2);
5750
+ ], Q.prototype, "_options", 2);
5751
5751
  it([
5752
5752
  B()
5753
- ], X.prototype, "_isOptionsOpen", 2);
5753
+ ], Q.prototype, "_isOptionsOpen", 2);
5754
5754
  it([
5755
5755
  B()
5756
- ], X.prototype, "_value", 2);
5756
+ ], Q.prototype, "_value", 2);
5757
5757
  it([
5758
5758
  B()
5759
- ], X.prototype, "_userInfoMessage", 2);
5759
+ ], Q.prototype, "_userInfoMessage", 2);
5760
5760
  it([
5761
5761
  B()
5762
- ], X.prototype, "_addValueText", 2);
5762
+ ], Q.prototype, "_addValueText", 2);
5763
5763
  it([
5764
5764
  B()
5765
- ], X.prototype, "_maxIsReached", 2);
5765
+ ], Q.prototype, "_maxIsReached", 2);
5766
5766
  it([
5767
5767
  B()
5768
- ], X.prototype, "_search", 2);
5768
+ ], Q.prototype, "_search", 2);
5769
5769
  it([
5770
5770
  B()
5771
- ], X.prototype, "_inputFocus", 2);
5771
+ ], Q.prototype, "_inputFocus", 2);
5772
5772
  it([
5773
5773
  B()
5774
- ], X.prototype, "_editingSingleValue", 2);
5775
- X = it([
5774
+ ], Q.prototype, "_editingSingleValue", 2);
5775
+ Q = it([
5776
5776
  j("pkt-combobox")
5777
- ], X);
5777
+ ], Q);
5778
5778
  const fl = {
5779
5779
  i18n: {
5780
5780
  nb: {
@@ -5846,7 +5846,7 @@ function bl() {
5846
5846
  s.href = "https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.css", s.type = "text/css", s.rel = "stylesheet", s.id = "oslo-consent-styles", document.head.appendChild(s);
5847
5847
  }), Cs);
5848
5848
  }
5849
- let Ht = class extends G {
5849
+ let Ht = class extends K {
5850
5850
  constructor() {
5851
5851
  super(), this.devMode = !1, this.hotjarId = null, this.googleAnalyticsId = null, this.cookieDomain = null, this.cookieSecure = null, this.cookieExpiryDays = null, this.triggerType = "button", this.triggerText = null, this.i18nLanguage = "nb";
5852
5852
  }
@@ -5949,19 +5949,19 @@ var kl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, $t = (i, t
5949
5949
  };
5950
5950
  let vt = class extends M {
5951
5951
  constructor() {
5952
- super(...arguments), this.inputRef = A(), this.value = "", this.checkHelptext = null, this.defaultChecked = !1, this.hasTile = !1, this.isSwitch = !1, this.labelPosition = "right", this.hideLabel = !1, this.checked = null, this.type = "checkbox", this.tagText = null, this.optionalTag = !1, this.optionalText = "Valgfritt", this.requiredTag = !1, this.requiredText = "Må fylles ut";
5952
+ super(...arguments), this.inputRef = A(), this.value = "", this.checkHelptext = null, this.defaultChecked = !1, this.hasTile = !1, this.isSwitch = !1, this.labelPosition = "right", this.hideLabel = !1, this.checked = null, this.indeterminate = !1, this.type = "checkbox", this.tagText = null, this.optionalTag = !1, this.optionalText = "Valgfritt", this.requiredTag = !1, this.requiredText = "Må fylles ut";
5953
5953
  }
5954
5954
  connectedCallback() {
5955
5955
  super.connectedCallback();
5956
5956
  }
5957
5957
  attributeChangedCallback(t, e, s) {
5958
- t === "defaultChecked" && !this.checked && (this.checked = this.defaultChecked), t === "checked" && (this.checked = this.checked === "" || this.checked === "true" || this.checked === !0, this.inputRef.value && (this.inputRef.value.checked = this.checked)), super.attributeChangedCallback(t, e, s);
5958
+ t === "defaultChecked" && !this.checked && (this.checked = this.defaultChecked), t === "checked" && (this.checked = this.checked === "" || this.checked === "true" || this.checked === !0, this.inputRef.value && (this.inputRef.value.checked = this.checked)), t === "indeterminate" && (this.indeterminate = this.indeterminate === "" || this.indeterminate === "true" || this.indeterminate === !0, this.inputRef.value && (this.inputRef.value.indeterminate = this.indeterminate)), super.attributeChangedCallback(t, e, s);
5959
5959
  }
5960
5960
  firstUpdated(t) {
5961
- t.has("defaultChecked") && !this.checked && (this.checked = this.defaultChecked), super.firstUpdated(t);
5961
+ t.has("defaultChecked") && !this.checked && (this.checked = this.defaultChecked), this.inputRef.value && (this.inputRef.value.indeterminate = this.indeterminate === "" || this.indeterminate === "true" || this.indeterminate === !0), super.firstUpdated(t);
5962
5962
  }
5963
5963
  updated(t) {
5964
- t.has("defaultChecked") && !this.checked && (this.checked = this.defaultChecked), t.has("checked") && this.inputRef.value && (this.inputRef.value.checked = this.checked === "" || this.checked === "true" || this.checked === !0), super.updated(t);
5964
+ t.has("defaultChecked") && !this.checked && (this.checked = this.defaultChecked), t.has("checked") && this.inputRef.value && (this.inputRef.value.checked = this.checked === "" || this.checked === "true" || this.checked === !0), t.has("indeterminate") && this.inputRef.value && (this.inputRef.value.indeterminate = this.indeterminate === "" || this.indeterminate === "true" || this.indeterminate === !0), super.updated(t);
5965
5965
  }
5966
5966
  render() {
5967
5967
  const t = O({
@@ -6056,6 +6056,9 @@ $t([
6056
6056
  $t([
6057
6057
  o({ type: Boolean, reflect: !0 })
6058
6058
  ], vt.prototype, "checked", 2);
6059
+ $t([
6060
+ o({ type: Boolean, reflect: !0 })
6061
+ ], vt.prototype, "indeterminate", 2);
6059
6062
  $t([
6060
6063
  o({ type: String, reflect: !0 })
6061
6064
  ], vt.prototype, "type", 2);
@@ -6077,12 +6080,12 @@ $t([
6077
6080
  vt = $t([
6078
6081
  j("pkt-checkbox")
6079
6082
  ], vt);
6080
- var $l = Object.defineProperty, _l = Object.getOwnPropertyDescriptor, Bi = (i, t, e, s) => {
6083
+ var $l = Object.defineProperty, _l = Object.getOwnPropertyDescriptor, Vi = (i, t, e, s) => {
6081
6084
  for (var a = s > 1 ? void 0 : s ? _l(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6082
6085
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6083
6086
  return s && a && $l(t, e, a), a;
6084
6087
  };
6085
- let si = class extends G {
6088
+ let ai = class extends K {
6086
6089
  constructor() {
6087
6090
  super(...arguments), this.dates = [], this.dateformat = "dd.MM.yyyy", this.className = "pkt-datepicker__tags", this.idBase = be();
6088
6091
  }
@@ -6092,7 +6095,7 @@ let si = class extends G {
6092
6095
  [this.className]: !0
6093
6096
  }, u`
6094
6097
  <div class=${O(this.classes)} aria-live="polite">
6095
- ${Array.isArray(this.dates) && this.dates[0] ? Fs(
6098
+ ${Array.isArray(this.dates) && this.dates[0] ? Us(
6096
6099
  en((this.dates ?? []).filter(Boolean)),
6097
6100
  (t) => t,
6098
6101
  (t) => {
@@ -6103,9 +6106,9 @@ let si = class extends G {
6103
6106
  @close=${() => {
6104
6107
  this.dispatchEvent(new CustomEvent("date-tag-removed", { detail: t }));
6105
6108
  }}
6106
- .ariaLabel=${`${(e = this.strings) == null ? void 0 : e.calendar.deleteDate} ${_a(t, this.dateformat)}`}
6109
+ .ariaLabel=${`${(e = this.strings) == null ? void 0 : e.calendar.deleteDate} ${wa(t, this.dateformat)}`}
6107
6110
  >
6108
- <time datetime=${t}>${_a(t, this.dateformat)}</time>
6111
+ <time datetime=${t}>${wa(t, this.dateformat)}</time>
6109
6112
  </pkt-tag>`;
6110
6113
  }
6111
6114
  ) : $}
@@ -6113,27 +6116,27 @@ let si = class extends G {
6113
6116
  `;
6114
6117
  }
6115
6118
  };
6116
- Bi([
6119
+ Vi([
6117
6120
  o({ type: Array })
6118
- ], si.prototype, "dates", 2);
6119
- Bi([
6121
+ ], ai.prototype, "dates", 2);
6122
+ Vi([
6120
6123
  o({ type: String })
6121
- ], si.prototype, "dateformat", 2);
6122
- Bi([
6124
+ ], ai.prototype, "dateformat", 2);
6125
+ Vi([
6123
6126
  o({ type: String, attribute: "class" })
6124
- ], si.prototype, "className", 2);
6125
- Bi([
6127
+ ], ai.prototype, "className", 2);
6128
+ Vi([
6126
6129
  o({ type: String, attribute: "id-base" })
6127
- ], si.prototype, "idBase", 2);
6128
- si = Bi([
6130
+ ], ai.prototype, "idBase", 2);
6131
+ ai = Vi([
6129
6132
  j("pkt-date-tags")
6130
- ], si);
6131
- const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, yi = {
6133
+ ], ai);
6134
+ const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, $i = {
6132
6135
  props: wl
6133
6136
  }, Re = () => {
6134
6137
  const i = navigator.userAgent;
6135
6138
  return !!(/iP(hone|od|ad)/.test(i) || /Macintosh/.test(i) && "ontouchend" in document);
6136
- }, Gi = {
6139
+ }, Yi = {
6137
6140
  /**
6138
6141
  * Ensures name attribute ends with [] for multiple/range inputs
6139
6142
  */
@@ -6166,7 +6169,7 @@ const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6166
6169
  getInputType() {
6167
6170
  return Re() ? "text" : "date";
6168
6171
  }
6169
- }, Pi = {
6172
+ }, Mi = {
6170
6173
  /**
6171
6174
  * Submits the form that contains the given element
6172
6175
  */
@@ -6198,7 +6201,7 @@ const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6198
6201
  i
6199
6202
  ));
6200
6203
  }
6201
- }, as = {
6204
+ }, ns = {
6202
6205
  /**
6203
6206
  * Adds a date to selected dates if it's valid
6204
6207
  */
@@ -6218,7 +6221,7 @@ const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6218
6221
  let l = e ? "calc(100% - 30px)" : "100%";
6219
6222
  a && a.top + r > window.innerHeight && a.top - r > 0 && (l = `calc(100% - ${n}px - ${r}px)`), i.value.style.top = l;
6220
6223
  }
6221
- }, Mi = {
6224
+ }, Di = {
6222
6225
  /**
6223
6226
  * Generates input classes for datepicker
6224
6227
  */
@@ -6295,12 +6298,12 @@ const wl = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6295
6298
  (e === "Enter" || e === " " || e === "Space") && (i.preventDefault(), t(i));
6296
6299
  }
6297
6300
  };
6298
- var Sl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Bt = (i, t, e, s) => {
6301
+ var Sl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Lt = (i, t, e, s) => {
6299
6302
  for (var a = s > 1 ? void 0 : s ? Cl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6300
6303
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6301
6304
  return s && a && Sl(t, e, a), a;
6302
6305
  };
6303
- let xt = class extends G {
6306
+ let St = class extends K {
6304
6307
  constructor() {
6305
6308
  super(...arguments), this.open = !1, this.multiple = !1, this.range = !1, this.weeknumbers = !1, this.withcontrols = !1, this.maxMultiple = null, this.selected = [], this.earliest = null, this.latest = null, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.popupRef = A(), this.calendarRef = A(), this.handleDocumentClick = (t) => {
6306
6309
  if (!this.open) return;
@@ -6335,8 +6338,8 @@ let xt = class extends G {
6335
6338
  t && typeof t.focusOnCurrentDate == "function" && t.focusOnCurrentDate();
6336
6339
  }
6337
6340
  addToSelected(t, e, s) {
6338
- if (typeof as.addToSelected == "function")
6339
- return as.addToSelected(t, this.calendarRef, e, s);
6341
+ if (typeof ns.addToSelected == "function")
6342
+ return ns.addToSelected(t, this.calendarRef, e, s);
6340
6343
  }
6341
6344
  handleDateSelect(t) {
6342
6345
  const e = this.calendarRef.value;
@@ -6378,51 +6381,51 @@ let xt = class extends G {
6378
6381
  `;
6379
6382
  }
6380
6383
  };
6381
- Bt([
6384
+ Lt([
6382
6385
  o({ type: Boolean, reflect: !0 })
6383
- ], xt.prototype, "open", 2);
6384
- Bt([
6386
+ ], St.prototype, "open", 2);
6387
+ Lt([
6385
6388
  o({ type: Boolean })
6386
- ], xt.prototype, "multiple", 2);
6387
- Bt([
6389
+ ], St.prototype, "multiple", 2);
6390
+ Lt([
6388
6391
  o({ type: Boolean })
6389
- ], xt.prototype, "range", 2);
6390
- Bt([
6392
+ ], St.prototype, "range", 2);
6393
+ Lt([
6391
6394
  o({ type: Boolean })
6392
- ], xt.prototype, "weeknumbers", 2);
6393
- Bt([
6395
+ ], St.prototype, "weeknumbers", 2);
6396
+ Lt([
6394
6397
  o({ type: Boolean })
6395
- ], xt.prototype, "withcontrols", 2);
6396
- Bt([
6398
+ ], St.prototype, "withcontrols", 2);
6399
+ Lt([
6397
6400
  o({ type: Number })
6398
- ], xt.prototype, "maxMultiple", 2);
6399
- Bt([
6401
+ ], St.prototype, "maxMultiple", 2);
6402
+ Lt([
6400
6403
  o({ type: Array })
6401
- ], xt.prototype, "selected", 2);
6402
- Bt([
6404
+ ], St.prototype, "selected", 2);
6405
+ Lt([
6403
6406
  o({ type: String })
6404
- ], xt.prototype, "earliest", 2);
6405
- Bt([
6407
+ ], St.prototype, "earliest", 2);
6408
+ Lt([
6406
6409
  o({ type: String })
6407
- ], xt.prototype, "latest", 2);
6408
- Bt([
6410
+ ], St.prototype, "latest", 2);
6411
+ Lt([
6409
6412
  o({ type: Array })
6410
- ], xt.prototype, "excludedates", 2);
6411
- Bt([
6413
+ ], St.prototype, "excludedates", 2);
6414
+ Lt([
6412
6415
  o({ type: Array })
6413
- ], xt.prototype, "excludeweekdays", 2);
6414
- Bt([
6416
+ ], St.prototype, "excludeweekdays", 2);
6417
+ Lt([
6415
6418
  o({ type: String })
6416
- ], xt.prototype, "currentmonth", 2);
6417
- xt = Bt([
6419
+ ], St.prototype, "currentmonth", 2);
6420
+ St = Lt([
6418
6421
  j("pkt-datepicker-popup")
6419
- ], xt);
6422
+ ], St);
6420
6423
  var Tl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, qt = (i, t, e, s) => {
6421
6424
  for (var a = s > 1 ? void 0 : s ? Nl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6422
6425
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6423
6426
  return s && a && Tl(t, e, a), a;
6424
6427
  };
6425
- let It = class extends G {
6428
+ let Dt = class extends K {
6426
6429
  constructor() {
6427
6430
  super(...arguments), this.value = "", this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.inputClasses = {}, this.strings = { calendar: { buttonAltText: "Åpne kalender" } }, this.inputRef = A(), this.btnRef = A();
6428
6431
  }
@@ -6514,7 +6517,7 @@ let It = class extends G {
6514
6517
  @keydown=${(t) => Pe.handleInputKeydown(
6515
6518
  t,
6516
6519
  (e) => this.dispatchToggleCalendar(e),
6517
- () => Pi.submitFormOrFallback(this.internals, () => {
6520
+ () => Mi.submitFormOrFallback(this.internals, () => {
6518
6521
  var e;
6519
6522
  return (e = this.inputRef.value) == null ? void 0 : e.blur();
6520
6523
  }),
@@ -6545,7 +6548,7 @@ let It = class extends G {
6545
6548
  ${E(this.inputRef)}
6546
6549
  />
6547
6550
  <button
6548
- class="${O(Mi.getButtonClasses())}"
6551
+ class="${O(Di.getButtonClasses())}"
6549
6552
  type="button"
6550
6553
  @click=${(t) => this.dispatchToggleCalendar(t)}
6551
6554
  @keydown=${(t) => Pe.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
@@ -6561,46 +6564,46 @@ let It = class extends G {
6561
6564
  };
6562
6565
  qt([
6563
6566
  o({ type: String })
6564
- ], It.prototype, "value", 2);
6567
+ ], Dt.prototype, "value", 2);
6565
6568
  qt([
6566
6569
  o({ type: String })
6567
- ], It.prototype, "inputType", 2);
6570
+ ], Dt.prototype, "inputType", 2);
6568
6571
  qt([
6569
6572
  o({ type: String })
6570
- ], It.prototype, "id", 2);
6573
+ ], Dt.prototype, "id", 2);
6571
6574
  qt([
6572
6575
  o({ type: String })
6573
- ], It.prototype, "min", 2);
6576
+ ], Dt.prototype, "min", 2);
6574
6577
  qt([
6575
6578
  o({ type: String })
6576
- ], It.prototype, "max", 2);
6579
+ ], Dt.prototype, "max", 2);
6577
6580
  qt([
6578
6581
  o({ type: String })
6579
- ], It.prototype, "placeholder", 2);
6582
+ ], Dt.prototype, "placeholder", 2);
6580
6583
  qt([
6581
6584
  o({ type: Boolean })
6582
- ], It.prototype, "readonly", 2);
6585
+ ], Dt.prototype, "readonly", 2);
6583
6586
  qt([
6584
6587
  o({ type: Boolean })
6585
- ], It.prototype, "disabled", 2);
6588
+ ], Dt.prototype, "disabled", 2);
6586
6589
  qt([
6587
6590
  o({ type: Object })
6588
- ], It.prototype, "inputClasses", 2);
6591
+ ], Dt.prototype, "inputClasses", 2);
6589
6592
  qt([
6590
6593
  o({ type: Object })
6591
- ], It.prototype, "internals", 2);
6594
+ ], Dt.prototype, "internals", 2);
6592
6595
  qt([
6593
6596
  o({ type: Object })
6594
- ], It.prototype, "strings", 2);
6595
- It = qt([
6597
+ ], Dt.prototype, "strings", 2);
6598
+ Dt = qt([
6596
6599
  j("pkt-datepicker-single")
6597
- ], It);
6598
- var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6600
+ ], Dt);
6601
+ var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Bt = (i, t, e, s) => {
6599
6602
  for (var a = s > 1 ? void 0 : s ? El(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6600
6603
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6601
6604
  return s && a && Al(t, e, a), a;
6602
6605
  };
6603
- let St = class extends G {
6606
+ let Ct = class extends K {
6604
6607
  constructor() {
6605
6608
  super(...arguments), this.value = [], this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.showRangeLabels = !1, this.inputClasses = {}, this.strings = { generic: { from: "Fra", to: "Til" } }, this.inputRef = A(), this.inputRefTo = A(), this.btnRef = A();
6606
6609
  }
@@ -6673,7 +6676,7 @@ let St = class extends G {
6673
6676
  return this;
6674
6677
  }
6675
6678
  render() {
6676
- const t = Mi.getRangeLabelClasses(this.showRangeLabels);
6679
+ const t = Di.getRangeLabelClasses(this.showRangeLabels);
6677
6680
  return u`
6678
6681
  <div class="pkt-input__container">
6679
6682
  ${this.showRangeLabels ? u` <div class="pkt-input-prefix">${this.strings.generic.from}</div> ` : $}
@@ -6696,7 +6699,7 @@ let St = class extends G {
6696
6699
  @keydown=${(e) => Pe.handleInputKeydown(
6697
6700
  e,
6698
6701
  (s) => this.dispatchToggleCalendar(s),
6699
- () => Pi.submitFormOrFallback(
6702
+ () => Mi.submitFormOrFallback(
6700
6703
  this.internals,
6701
6704
  () => {
6702
6705
  var s;
@@ -6760,7 +6763,7 @@ let St = class extends G {
6760
6763
  @keydown=${(e) => Pe.handleInputKeydown(
6761
6764
  e,
6762
6765
  (s) => this.dispatchToggleCalendar(s),
6763
- () => Pi.submitFormOrFallback(this.internals, () => {
6766
+ () => Mi.submitFormOrFallback(this.internals, () => {
6764
6767
  var s;
6765
6768
  return (s = this.inputRefTo.value) == null ? void 0 : s.blur();
6766
6769
  }),
@@ -6797,7 +6800,7 @@ let St = class extends G {
6797
6800
  ${E(this.inputRefTo)}
6798
6801
  />
6799
6802
  <button
6800
- class="${O(Mi.getButtonClasses())}"
6803
+ class="${O(Di.getButtonClasses())}"
6801
6804
  type="button"
6802
6805
  @click=${(e) => this.dispatchToggleCalendar(e)}
6803
6806
  @keydown=${(e) => Pe.handleButtonKeydown(e, (s) => this.dispatchToggleCalendar(s))}
@@ -6811,51 +6814,51 @@ let St = class extends G {
6811
6814
  `;
6812
6815
  }
6813
6816
  };
6814
- Vt([
6817
+ Bt([
6815
6818
  o({ type: Array })
6816
- ], St.prototype, "value", 2);
6817
- Vt([
6819
+ ], Ct.prototype, "value", 2);
6820
+ Bt([
6818
6821
  o({ type: String })
6819
- ], St.prototype, "inputType", 2);
6820
- Vt([
6822
+ ], Ct.prototype, "inputType", 2);
6823
+ Bt([
6821
6824
  o({ type: String })
6822
- ], St.prototype, "id", 2);
6823
- Vt([
6825
+ ], Ct.prototype, "id", 2);
6826
+ Bt([
6824
6827
  o({ type: String })
6825
- ], St.prototype, "min", 2);
6826
- Vt([
6828
+ ], Ct.prototype, "min", 2);
6829
+ Bt([
6827
6830
  o({ type: String })
6828
- ], St.prototype, "max", 2);
6829
- Vt([
6831
+ ], Ct.prototype, "max", 2);
6832
+ Bt([
6830
6833
  o({ type: String })
6831
- ], St.prototype, "placeholder", 2);
6832
- Vt([
6834
+ ], Ct.prototype, "placeholder", 2);
6835
+ Bt([
6833
6836
  o({ type: Boolean })
6834
- ], St.prototype, "readonly", 2);
6835
- Vt([
6837
+ ], Ct.prototype, "readonly", 2);
6838
+ Bt([
6836
6839
  o({ type: Boolean })
6837
- ], St.prototype, "disabled", 2);
6838
- Vt([
6840
+ ], Ct.prototype, "disabled", 2);
6841
+ Bt([
6839
6842
  o({ type: Boolean })
6840
- ], St.prototype, "showRangeLabels", 2);
6841
- Vt([
6843
+ ], Ct.prototype, "showRangeLabels", 2);
6844
+ Bt([
6842
6845
  o({ type: Object })
6843
- ], St.prototype, "inputClasses", 2);
6844
- Vt([
6846
+ ], Ct.prototype, "inputClasses", 2);
6847
+ Bt([
6845
6848
  o({ type: Object })
6846
- ], St.prototype, "internals", 2);
6847
- Vt([
6849
+ ], Ct.prototype, "internals", 2);
6850
+ Bt([
6848
6851
  o({ type: Object })
6849
- ], St.prototype, "strings", 2);
6850
- St = Vt([
6852
+ ], Ct.prototype, "strings", 2);
6853
+ Ct = Bt([
6851
6854
  j("pkt-datepicker-range")
6852
- ], St);
6853
- var Ol = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
6855
+ ], Ct);
6856
+ var Ol = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6854
6857
  for (var a = s > 1 ? void 0 : s ? Pl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6855
6858
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6856
6859
  return s && a && Ol(t, e, a), a;
6857
6860
  };
6858
- let Ct = class extends G {
6861
+ let Tt = class extends K {
6859
6862
  constructor() {
6860
6863
  super(...arguments), this.value = [], this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.inputClasses = {}, this.strings = { calendar: { buttonAltText: "Åpne kalender" } }, this.inputRef = A(), this.btnRef = A();
6861
6864
  }
@@ -6957,7 +6960,7 @@ let Ct = class extends G {
6957
6960
  @keydown=${(t) => Pe.handleInputKeydown(
6958
6961
  t,
6959
6962
  (e) => this.dispatchToggleCalendar(e),
6960
- () => Pi.submitFormOrFallback(this.internals, () => {
6963
+ () => Mi.submitFormOrFallback(this.internals, () => {
6961
6964
  var e;
6962
6965
  return (e = this.inputRef.value) == null ? void 0 : e.blur();
6963
6966
  }),
@@ -6971,7 +6974,7 @@ let Ct = class extends G {
6971
6974
  ${E(this.inputRef)}
6972
6975
  />
6973
6976
  <button
6974
- class="${O(Mi.getButtonClasses())}"
6977
+ class="${O(Di.getButtonClasses())}"
6975
6978
  type="button"
6976
6979
  @click=${(t) => this.dispatchToggleCalendar(t)}
6977
6980
  @keydown=${(t) => Pe.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
@@ -6985,45 +6988,45 @@ let Ct = class extends G {
6985
6988
  `;
6986
6989
  }
6987
6990
  };
6988
- jt([
6991
+ Vt([
6989
6992
  o({ type: Array })
6990
- ], Ct.prototype, "value", 2);
6991
- jt([
6993
+ ], Tt.prototype, "value", 2);
6994
+ Vt([
6992
6995
  o({ type: String })
6993
- ], Ct.prototype, "inputType", 2);
6994
- jt([
6996
+ ], Tt.prototype, "inputType", 2);
6997
+ Vt([
6995
6998
  o({ type: String })
6996
- ], Ct.prototype, "id", 2);
6997
- jt([
6999
+ ], Tt.prototype, "id", 2);
7000
+ Vt([
6998
7001
  o({ type: String })
6999
- ], Ct.prototype, "min", 2);
7000
- jt([
7002
+ ], Tt.prototype, "min", 2);
7003
+ Vt([
7001
7004
  o({ type: String })
7002
- ], Ct.prototype, "max", 2);
7003
- jt([
7005
+ ], Tt.prototype, "max", 2);
7006
+ Vt([
7004
7007
  o({ type: String })
7005
- ], Ct.prototype, "placeholder", 2);
7006
- jt([
7008
+ ], Tt.prototype, "placeholder", 2);
7009
+ Vt([
7007
7010
  o({ type: Boolean })
7008
- ], Ct.prototype, "readonly", 2);
7009
- jt([
7011
+ ], Tt.prototype, "readonly", 2);
7012
+ Vt([
7010
7013
  o({ type: Boolean })
7011
- ], Ct.prototype, "disabled", 2);
7012
- jt([
7014
+ ], Tt.prototype, "disabled", 2);
7015
+ Vt([
7013
7016
  o({ type: Number })
7014
- ], Ct.prototype, "maxlength", 2);
7015
- jt([
7017
+ ], Tt.prototype, "maxlength", 2);
7018
+ Vt([
7016
7019
  o({ type: Object })
7017
- ], Ct.prototype, "inputClasses", 2);
7018
- jt([
7020
+ ], Tt.prototype, "inputClasses", 2);
7021
+ Vt([
7019
7022
  o({ type: Object })
7020
- ], Ct.prototype, "internals", 2);
7021
- jt([
7023
+ ], Tt.prototype, "internals", 2);
7024
+ Vt([
7022
7025
  o({ type: Object })
7023
- ], Ct.prototype, "strings", 2);
7024
- Ct = jt([
7026
+ ], Tt.prototype, "strings", 2);
7027
+ Tt = Vt([
7025
7028
  j("pkt-datepicker-multiple")
7026
- ], Ct);
7029
+ ], Tt);
7027
7030
  var Ml = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, dt = (i, t, e, s) => {
7028
7031
  for (var a = s > 1 ? void 0 : s ? Dl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7029
7032
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
@@ -7034,9 +7037,9 @@ let tt = class extends M {
7034
7037
  * Housekeeping / lifecycle methods
7035
7038
  */
7036
7039
  constructor() {
7037
- super(), this._valueProperty = "", this.datepickerPopupRef = A(), this._value = [], this.label = "Datovelger", this.dateformat = yi.props.dateformat.default, this.multiple = yi.props.multiple.default, this.maxlength = null, this.range = yi.props.range.default, this.showRangeLabels = !1, this.min = null, this.max = null, this.weeknumbers = yi.props.weeknumbers.default, this.withcontrols = yi.props.withcontrols.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.calendarOpen = !1, this.timezone = "Europe/Oslo", this.inputClasses = {}, this.calRef = A(), this.popupRef = A(), this.helptextSlot = A(), this.singleInputRef = A(), this.rangeInputRef = A(), this.multipleInputRef = A(), this.addToSelected = (i) => {
7040
+ super(), this._valueProperty = "", this.datepickerPopupRef = A(), this._value = [], this.label = "Datovelger", this.dateformat = $i.props.dateformat.default, this.multiple = $i.props.multiple.default, this.maxlength = null, this.range = $i.props.range.default, this.showRangeLabels = !1, this.min = null, this.max = null, this.weeknumbers = $i.props.weeknumbers.default, this.withcontrols = $i.props.withcontrols.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.calendarOpen = !1, this.timezone = "Europe/Oslo", this.inputClasses = {}, this.calRef = A(), this.popupRef = A(), this.helptextSlot = A(), this.singleInputRef = A(), this.rangeInputRef = A(), this.multipleInputRef = A(), this.addToSelected = (i) => {
7038
7041
  const t = this.datepickerPopupRef.value;
7039
- return t && typeof t.addToSelected == "function" ? t.addToSelected(i, this.min, this.max) : as.addToSelected(i, this.calRef, this.min, this.max);
7042
+ return t && typeof t.addToSelected == "function" ? t.addToSelected(i, this.min, this.max) : ns.addToSelected(i, this.calRef, this.min, this.max);
7040
7043
  }, this.slotController = new rt(this, this.helptextSlot);
7041
7044
  }
7042
7045
  get value() {
@@ -7053,7 +7056,7 @@ let tt = class extends M {
7053
7056
  return xl.getInputType();
7054
7057
  }
7055
7058
  connectedCallback() {
7056
- super.connectedCallback(), this.timezone && this.timezone !== window.pktTz && (window.pktTz = this.timezone), this.name = Gi.normalizeNameForMultiple(this.name, this.multiple, this.range) || this.name;
7059
+ super.connectedCallback(), this.timezone && this.timezone !== window.pktTz && (window.pktTz = this.timezone), this.name = Yi.normalizeNameForMultiple(this.name, this.multiple, this.range) || this.name;
7057
7060
  }
7058
7061
  disconnectedCallback() {
7059
7062
  super.disconnectedCallback();
@@ -7063,14 +7066,14 @@ let tt = class extends M {
7063
7066
  }
7064
7067
  valueChanged(i, t) {
7065
7068
  if (i === t) return;
7066
- const e = Si(i), s = this.multiple && e.length > 1 ? Gi.filterSelectableDates(
7069
+ const e = Ci(i), s = this.multiple && e.length > 1 ? Yi.filterSelectableDates(
7067
7070
  e,
7068
7071
  this.min,
7069
7072
  this.max,
7070
7073
  this.excludedates,
7071
7074
  this.excludeweekdays
7072
7075
  ) : e;
7073
- if (this.range && !Gi.validateRangeOrder(s)) {
7076
+ if (this.range && !Yi.validateRangeOrder(s)) {
7074
7077
  this._value = [], this._valueProperty = "", super.valueChanged("", t);
7075
7078
  return;
7076
7079
  }
@@ -7079,14 +7082,14 @@ let tt = class extends M {
7079
7082
  this._valueProperty !== a && (this._valueProperty = a), super.valueChanged(a, t);
7080
7083
  }
7081
7084
  attributeChangedCallback(i, t, e) {
7082
- i === "value" && this.value !== t && this.valueChanged(e, t), i === "excludedates" && typeof this.excludedates == "string" && (this.excludedates = Si(e || "")), i === "excludeweekdays" && typeof this.excludeweekdays == "string" && (this.excludeweekdays = Si(e || "")), super.attributeChangedCallback(i, t, e);
7085
+ i === "value" && this.value !== t && this.valueChanged(e, t), i === "excludedates" && typeof this.excludedates == "string" && (this.excludedates = Ci(e || "")), i === "excludeweekdays" && typeof this.excludeweekdays == "string" && (this.excludeweekdays = Ci(e || "")), super.attributeChangedCallback(i, t, e);
7083
7086
  }
7084
7087
  updated(i) {
7085
7088
  if (i.has("value")) {
7086
7089
  const t = Array.isArray(this.value) ? this.value.join(",") : this.value, e = i.get("value"), s = Array.isArray(e) ? e.join(",") : e;
7087
7090
  this.valueChanged(t, s);
7088
7091
  }
7089
- (i.has("multiple") || i.has("range")) && (this.name = Gi.normalizeNameForMultiple(this.name, this.multiple, this.range) || this.name), i.has("multiple") && (this.multiple && !Array.isArray(this._value) ? this._value = Si(this.value) : !this.multiple && Array.isArray(this._value) && (this._value = this._value.filter(Boolean)), !this.multiple && !this.range && Array.isArray(this._value) && (this._value = [this._value[0] ?? ""])), super.updated(i);
7092
+ (i.has("multiple") || i.has("range")) && (this.name = Yi.normalizeNameForMultiple(this.name, this.multiple, this.range) || this.name), i.has("multiple") && (this.multiple && !Array.isArray(this._value) ? this._value = Ci(this.value) : !this.multiple && Array.isArray(this._value) && (this._value = this._value.filter(Boolean)), !this.multiple && !this.range && Array.isArray(this._value) && (this._value = [this._value[0] ?? ""])), super.updated(i);
7090
7093
  }
7091
7094
  /**
7092
7095
  * Element references
@@ -7184,7 +7187,7 @@ let tt = class extends M {
7184
7187
  }}
7185
7188
  @manage-validity=${(i) => this.manageValidity(i.detail)}
7186
7189
  @validate-date-input=${(i) => {
7187
- Pi.validateDateInput(i.detail, this.internals, this.min, this.max, this.strings);
7190
+ Mi.validateDateInput(i.detail, this.internals, this.min, this.max, this.strings);
7188
7191
  }}
7189
7192
  @handle-date-select=${(i) => {
7190
7193
  var t, e;
@@ -7262,7 +7265,7 @@ let tt = class extends M {
7262
7265
  `;
7263
7266
  }
7264
7267
  render() {
7265
- return this.inputClasses = Mi.getInputClasses(
7268
+ return this.inputClasses = Di.getInputClasses(
7266
7269
  this.fullwidth,
7267
7270
  this.showRangeLabels,
7268
7271
  this.multiple,
@@ -7320,7 +7323,7 @@ let tt = class extends M {
7320
7323
  */
7321
7324
  handleCalendarPosition() {
7322
7325
  const i = this.multiple && !!this.maxlength;
7323
- as.handleCalendarPosition(this.popupRef, this.inputRef, i);
7326
+ ns.handleCalendarPosition(this.popupRef, this.inputRef, i);
7324
7327
  }
7325
7328
  async showCalendar() {
7326
7329
  var i;
@@ -7392,10 +7395,10 @@ dt([
7392
7395
  o({ type: Boolean, reflect: !0 })
7393
7396
  ], tt.prototype, "withcontrols", 2);
7394
7397
  dt([
7395
- o({ converter: li.csvToArray })
7398
+ o({ converter: hi.csvToArray })
7396
7399
  ], tt.prototype, "excludedates", 2);
7397
7400
  dt([
7398
- o({ converter: li.csvToArray })
7401
+ o({ converter: hi.csvToArray })
7399
7402
  ], tt.prototype, "excludeweekdays", 2);
7400
7403
  dt([
7401
7404
  o({ type: String })
@@ -7412,17 +7415,17 @@ dt([
7412
7415
  tt = dt([
7413
7416
  j("pkt-datepicker")
7414
7417
  ], tt);
7415
- const Il = { href: { default: "#" }, target: { default: "_self" } }, Ca = {
7418
+ const Il = { href: { default: "#" }, target: { default: "_self" } }, Ta = {
7416
7419
  props: Il
7417
7420
  };
7418
- var Rl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, hi = (i, t, e, s) => {
7421
+ var Rl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, di = (i, t, e, s) => {
7419
7422
  for (var a = s > 1 ? void 0 : s ? Ll(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7420
7423
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7421
7424
  return s && a && Rl(t, e, a), a;
7422
7425
  };
7423
- let Le = class extends G {
7426
+ let Le = class extends K {
7424
7427
  constructor() {
7425
- super(), this.defaultSlot = A(), this.href = Ca.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = !1, this.target = Ca.props.target.default, this.slotController = new rt(this, this.defaultSlot);
7428
+ super(), this.defaultSlot = A(), this.href = Ta.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = !1, this.target = Ta.props.target.default, this.slotController = new rt(this, this.defaultSlot);
7426
7429
  }
7427
7430
  render() {
7428
7431
  const t = {
@@ -7440,22 +7443,22 @@ let Le = class extends G {
7440
7443
  >`;
7441
7444
  }
7442
7445
  };
7443
- hi([
7446
+ di([
7444
7447
  o({ type: String, reflect: !0 })
7445
7448
  ], Le.prototype, "href", 2);
7446
- hi([
7449
+ di([
7447
7450
  o({ type: String, reflect: !0 })
7448
7451
  ], Le.prototype, "iconName", 2);
7449
- hi([
7452
+ di([
7450
7453
  o({ type: String, reflect: !0 })
7451
7454
  ], Le.prototype, "iconPosition", 2);
7452
- hi([
7455
+ di([
7453
7456
  o({ type: Boolean, reflect: !0 })
7454
7457
  ], Le.prototype, "external", 2);
7455
- hi([
7458
+ di([
7456
7459
  o({ type: String, reflect: !0 })
7457
7460
  ], Le.prototype, "target", 2);
7458
- Le = hi([
7461
+ Le = di([
7459
7462
  j("pkt-link")
7460
7463
  ], Le);
7461
7464
  var Bl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, qe = (i, t, e, s) => {
@@ -7463,7 +7466,7 @@ var Bl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, qe = (i, t
7463
7466
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7464
7467
  return s && a && Bl(t, e, a), a;
7465
7468
  };
7466
- let _e = class extends G {
7469
+ let _e = class extends K {
7467
7470
  constructor() {
7468
7471
  super(), this.defaultSlot = A(), this.title = "", this.href = "#", this.iconName = "", this.external = !1, this.openInNewTab = !1, this.skin = "normal", this.slotController = new rt(this, this.defaultSlot);
7469
7472
  }
@@ -7510,8 +7513,8 @@ var jl = Object.defineProperty, Fl = Object.getOwnPropertyDescriptor, pe = (i, t
7510
7513
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7511
7514
  return s && a && jl(t, e, a), a;
7512
7515
  };
7513
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.17/animations/";
7514
- let Yt = class extends G {
7516
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.18/animations/";
7517
+ let Yt = class extends K {
7515
7518
  constructor() {
7516
7519
  super(), this.defaultSlot = A(), this.delay = 0, this.inline = !1, this.isLoading = !0, this.message = null, this.size = "medium", this.variant = "shapes", this.loadingAnimationPath = window.pktAnimationPath, this._shouldDisplayLoader = !1, this.slotController = new rt(this, this.defaultSlot);
7517
7520
  }
@@ -7593,12 +7596,12 @@ Yt = pe([
7593
7596
  const Ul = { skin: { default: "beige" }, compact: { default: !1 }, closable: { default: !1 } }, Ns = {
7594
7597
  props: Ul
7595
7598
  };
7596
- var Hl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, di = (i, t, e, s) => {
7599
+ var Hl = Object.defineProperty, ql = Object.getOwnPropertyDescriptor, ci = (i, t, e, s) => {
7597
7600
  for (var a = s > 1 ? void 0 : s ? ql(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7598
7601
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7599
7602
  return s && a && Hl(t, e, a), a;
7600
7603
  };
7601
- let Be = class extends G {
7604
+ let Be = class extends K {
7602
7605
  constructor() {
7603
7606
  super(), this.defaultSlot = A(), this.closable = Ns.props.closable.default, this.compact = Ns.props.compact.default, this.title = "", this.skin = Ns.props.skin.default, this._isClosed = !1, this.close = (i) => {
7604
7607
  this._isClosed = !0, this.dispatchEvent(new CustomEvent("close", { detail: { origin: i }, bubbles: !0 })), this.dispatchEvent(new CustomEvent("on-close", { detail: { origin: i }, bubbles: !0 }));
@@ -7632,22 +7635,22 @@ let Be = class extends G {
7632
7635
  </div>`;
7633
7636
  }
7634
7637
  };
7635
- di([
7638
+ ci([
7636
7639
  o({ type: Boolean, reflect: !0 })
7637
7640
  ], Be.prototype, "closable", 2);
7638
- di([
7641
+ ci([
7639
7642
  o({ type: Boolean, reflect: !0 })
7640
7643
  ], Be.prototype, "compact", 2);
7641
- di([
7644
+ ci([
7642
7645
  o({ type: String, reflect: !0 })
7643
7646
  ], Be.prototype, "title", 2);
7644
- di([
7647
+ ci([
7645
7648
  o({ type: String, reflect: !0 })
7646
7649
  ], Be.prototype, "skin", 2);
7647
- di([
7650
+ ci([
7648
7651
  B()
7649
7652
  ], Be.prototype, "_isClosed", 2);
7650
- Be = di([
7653
+ Be = ci([
7651
7654
  j("pkt-messagebox")
7652
7655
  ], Be);
7653
7656
  const zl = { hideCloseButton: { default: !1 }, closeOnBackdropClick: { default: !1 }, size: { default: "medium" } }, As = {
@@ -7658,7 +7661,7 @@ var Wl = Object.defineProperty, Kl = Object.getOwnPropertyDescriptor, Xt = (i, t
7658
7661
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7659
7662
  return s && a && Wl(t, e, a), a;
7660
7663
  };
7661
- let Rt = class extends G {
7664
+ let It = class extends K {
7662
7665
  constructor() {
7663
7666
  super(), this.headingText = "", this.removePadding = !1, this.hideCloseButton = As.props.hideCloseButton.default, this.closeOnBackdropClick = As.props.closeOnBackdropClick.default, this.closeButtonSkin = "blue", this.size = As.props.size.default, this.variant = "dialog", this.drawerPosition = "right", this.transparentBackdrop = !1, this.defaultSlot = A(), this.dialogRef = A(), this._isOpen = !1, this.close = (t, e = !1) => {
7664
7667
  var s;
@@ -7764,43 +7767,43 @@ let Rt = class extends G {
7764
7767
  };
7765
7768
  Xt([
7766
7769
  o({ type: String })
7767
- ], Rt.prototype, "headingText", 2);
7770
+ ], It.prototype, "headingText", 2);
7768
7771
  Xt([
7769
7772
  o({ type: Boolean })
7770
- ], Rt.prototype, "removePadding", 2);
7773
+ ], It.prototype, "removePadding", 2);
7771
7774
  Xt([
7772
7775
  o({ type: Boolean })
7773
- ], Rt.prototype, "hideCloseButton", 2);
7776
+ ], It.prototype, "hideCloseButton", 2);
7774
7777
  Xt([
7775
7778
  o({ type: Boolean })
7776
- ], Rt.prototype, "closeOnBackdropClick", 2);
7779
+ ], It.prototype, "closeOnBackdropClick", 2);
7777
7780
  Xt([
7778
7781
  o({ type: String })
7779
- ], Rt.prototype, "closeButtonSkin", 2);
7782
+ ], It.prototype, "closeButtonSkin", 2);
7780
7783
  Xt([
7781
7784
  o({ type: String })
7782
- ], Rt.prototype, "size", 2);
7785
+ ], It.prototype, "size", 2);
7783
7786
  Xt([
7784
7787
  o({ type: String })
7785
- ], Rt.prototype, "variant", 2);
7788
+ ], It.prototype, "variant", 2);
7786
7789
  Xt([
7787
7790
  o({ type: String })
7788
- ], Rt.prototype, "drawerPosition", 2);
7791
+ ], It.prototype, "drawerPosition", 2);
7789
7792
  Xt([
7790
7793
  o({ type: Boolean })
7791
- ], Rt.prototype, "transparentBackdrop", 2);
7794
+ ], It.prototype, "transparentBackdrop", 2);
7792
7795
  Xt([
7793
7796
  B()
7794
- ], Rt.prototype, "_isOpen", 2);
7795
- Rt = Xt([
7797
+ ], It.prototype, "_isOpen", 2);
7798
+ It = Xt([
7796
7799
  j("pkt-modal")
7797
- ], Rt);
7800
+ ], It);
7798
7801
  /**
7799
7802
  * @license
7800
7803
  * Copyright 2018 Google LLC
7801
7804
  * SPDX-License-Identifier: BSD-3-Clause
7802
7805
  */
7803
- const nn = "important", Gl = " !" + nn, Yl = Fe(class extends oi {
7806
+ const nn = "important", Gl = " !" + nn, Yl = Fe(class extends li {
7804
7807
  constructor(i) {
7805
7808
  var t;
7806
7809
  if (super(i), i.type !== zt.ATTRIBUTE || i.name !== "style" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
@@ -7823,7 +7826,7 @@ const nn = "important", Gl = " !" + nn, Yl = Fe(class extends oi {
7823
7826
  s.includes("-") || n ? e.setProperty(s, n ? a.slice(0, -11) : a, n ? nn : "") : e[s] = a;
7824
7827
  }
7825
7828
  }
7826
- return wt;
7829
+ return xt;
7827
7830
  }
7828
7831
  });
7829
7832
  var Zl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, ct = (i, t, e, s) => {
@@ -7831,7 +7834,7 @@ var Zl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, ct = (i, t
7831
7834
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7832
7835
  return s && a && Zl(t, e, a), a;
7833
7836
  };
7834
- let et = class extends G {
7837
+ let et = class extends K {
7835
7838
  constructor() {
7836
7839
  super(), this.ariaLabel = null, this.ariaLabelledby = null, this.ariaValueText = null, this.ariaLive = "polite", this.id = be(), this.role = "progressbar", this.skin = "dark-blue", this.statusPlacement = "following", this.statusType = "none", this.title = "", this.titlePosition = "left", this.valueCurrent = 0, this.valueMax = 100, this.valueMin = 0, this.labelWidth = 0, this.progressbarId = this.id, this.computedAriaLabelledby = null, this.computedAriaValueText = "", this.labelRef = A(), this.progressBarRef = A();
7837
7840
  }
@@ -7945,12 +7948,12 @@ ct([
7945
7948
  et = ct([
7946
7949
  j("pkt-progressbar")
7947
7950
  ], et);
7948
- var Xl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, Ft = (i, t, e, s) => {
7951
+ var Xl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
7949
7952
  for (var a = s > 1 ? void 0 : s ? Ql(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7950
7953
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7951
7954
  return s && a && Xl(t, e, a), a;
7952
7955
  };
7953
- let Tt = class extends M {
7956
+ let Nt = class extends M {
7954
7957
  constructor() {
7955
7958
  super(...arguments), this.inputRef = A(), this.value = "", this.checkHelptext = null, this.defaultChecked = !1, this.hasTile = !1, this.checked = null, this.type = "radio", this.tagText = null, this.optionalTag = !1, this.optionalText = "Valgfritt", this.requiredTag = !1, this.requiredText = "Må fylles ut", this._checked = !1;
7956
7959
  }
@@ -8009,45 +8012,45 @@ let Tt = class extends M {
8009
8012
  i && i.preventDefault(), i && i.stopImmediatePropagation(), this.touched = !0, this.inputRef.value && (this._checked = this.inputRef.value.matches(":checked"), this.valueChecked(this._checked));
8010
8013
  }
8011
8014
  };
8012
- Ft([
8015
+ jt([
8013
8016
  o({ type: String, reflect: !0 })
8014
- ], Tt.prototype, "value", 2);
8015
- Ft([
8017
+ ], Nt.prototype, "value", 2);
8018
+ jt([
8016
8019
  o({ type: String })
8017
- ], Tt.prototype, "checkHelptext", 2);
8018
- Ft([
8020
+ ], Nt.prototype, "checkHelptext", 2);
8021
+ jt([
8019
8022
  o({ type: Boolean })
8020
- ], Tt.prototype, "defaultChecked", 2);
8021
- Ft([
8023
+ ], Nt.prototype, "defaultChecked", 2);
8024
+ jt([
8022
8025
  o({ type: Boolean })
8023
- ], Tt.prototype, "hasTile", 2);
8024
- Ft([
8026
+ ], Nt.prototype, "hasTile", 2);
8027
+ jt([
8025
8028
  o({ type: Boolean, reflect: !0 })
8026
- ], Tt.prototype, "checked", 2);
8027
- Ft([
8029
+ ], Nt.prototype, "checked", 2);
8030
+ jt([
8028
8031
  o({ type: String, reflect: !0 })
8029
- ], Tt.prototype, "type", 2);
8030
- Ft([
8032
+ ], Nt.prototype, "type", 2);
8033
+ jt([
8031
8034
  o({ type: String })
8032
- ], Tt.prototype, "tagText", 2);
8033
- Ft([
8035
+ ], Nt.prototype, "tagText", 2);
8036
+ jt([
8034
8037
  o({ type: Boolean })
8035
- ], Tt.prototype, "optionalTag", 2);
8036
- Ft([
8038
+ ], Nt.prototype, "optionalTag", 2);
8039
+ jt([
8037
8040
  o({ type: String })
8038
- ], Tt.prototype, "optionalText", 2);
8039
- Ft([
8041
+ ], Nt.prototype, "optionalText", 2);
8042
+ jt([
8040
8043
  o({ type: Boolean })
8041
- ], Tt.prototype, "requiredTag", 2);
8042
- Ft([
8044
+ ], Nt.prototype, "requiredTag", 2);
8045
+ jt([
8043
8046
  o({ type: String })
8044
- ], Tt.prototype, "requiredText", 2);
8045
- Ft([
8047
+ ], Nt.prototype, "requiredText", 2);
8048
+ jt([
8046
8049
  B()
8047
- ], Tt.prototype, "_checked", 2);
8048
- Tt = Ft([
8050
+ ], Nt.prototype, "_checked", 2);
8051
+ Nt = jt([
8049
8052
  j("pkt-radiobutton")
8050
- ], Tt);
8053
+ ], Nt);
8051
8054
  /**
8052
8055
  * @license
8053
8056
  * Copyright 2021 Google LLC
@@ -8068,7 +8071,7 @@ let rn = class extends Event {
8068
8071
  * Copyright 2021 Google LLC
8069
8072
  * SPDX-License-Identifier: BSD-3-Clause
8070
8073
  */
8071
- let Ta = class {
8074
+ let Na = class {
8072
8075
  constructor(t, e, s, a) {
8073
8076
  if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (n, r) => {
8074
8077
  this.unsubscribe && (this.unsubscribe !== r && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = n, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(n, r)), this.unsubscribe = r;
@@ -8130,7 +8133,7 @@ let eh = class extends Event {
8130
8133
  constructor(i, t) {
8131
8134
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = i, this.contextTarget = t;
8132
8135
  }
8133
- }, Na = class extends th {
8136
+ }, Aa = class extends th {
8134
8137
  constructor(t, e, s) {
8135
8138
  var a, n;
8136
8139
  super(e.context !== void 0 ? e.initialValue : s), this.onContextRequest = (r) => {
@@ -8164,11 +8167,11 @@ function ih({ context: i }) {
8164
8167
  }, set(a) {
8165
8168
  return s.get(this).setValue(a), t.set.call(this, a);
8166
8169
  }, init(a) {
8167
- return s.set(this, new Na(this, { context: i, initialValue: a })), a;
8170
+ return s.set(this, new Aa(this, { context: i, initialValue: a })), a;
8168
8171
  } };
8169
8172
  {
8170
8173
  t.constructor.addInitializer(((r) => {
8171
- s.set(r, new Na(r, { context: i }));
8174
+ s.set(r, new Aa(r, { context: i }));
8172
8175
  }));
8173
8176
  const a = Object.getOwnPropertyDescriptor(t, e);
8174
8177
  let n;
@@ -8197,23 +8200,23 @@ function ih({ context: i }) {
8197
8200
  function sh({ context: i, subscribe: t }) {
8198
8201
  return (e, s) => {
8199
8202
  typeof s == "object" ? s.addInitializer((function() {
8200
- new Ta(this, { context: i, callback: (a) => {
8203
+ new Na(this, { context: i, callback: (a) => {
8201
8204
  e.set.call(this, a);
8202
8205
  }, subscribe: t });
8203
8206
  })) : e.constructor.addInitializer(((a) => {
8204
- new Ta(a, { context: i, callback: (n) => {
8207
+ new Na(a, { context: i, callback: (n) => {
8205
8208
  a[s] = n;
8206
8209
  }, subscribe: t });
8207
8210
  }));
8208
8211
  };
8209
8212
  }
8210
8213
  const on = Symbol("pkt-tabs-context");
8211
- var ah = Object.defineProperty, nh = Object.getOwnPropertyDescriptor, ci = (i, t, e, s) => {
8214
+ var ah = Object.defineProperty, nh = Object.getOwnPropertyDescriptor, pi = (i, t, e, s) => {
8212
8215
  for (var a = s > 1 ? void 0 : s ? nh(t, e) : t, n = i.length - 1, r; n >= 0; n--)
8213
8216
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
8214
8217
  return s && a && ah(t, e, a), a;
8215
8218
  };
8216
- let Ve = class extends G {
8219
+ let Ve = class extends K {
8217
8220
  constructor() {
8218
8221
  super(), this.arrowNav = !0, this.disableArrowNav = !1, this.tabRefs = [], this.tabCount = 0, this.defaultSlot = A(), this.context = {
8219
8222
  useArrowNav: this.useArrowNav,
@@ -8263,23 +8266,23 @@ let Ve = class extends G {
8263
8266
  `;
8264
8267
  }
8265
8268
  };
8266
- ci([
8269
+ pi([
8267
8270
  o({ type: Boolean, reflect: !0, attribute: "arrow-nav" })
8268
8271
  ], Ve.prototype, "arrowNav", 2);
8269
- ci([
8272
+ pi([
8270
8273
  o({ type: Boolean, reflect: !0, attribute: "disable-arrow-nav" })
8271
8274
  ], Ve.prototype, "disableArrowNav", 2);
8272
- ci([
8275
+ pi([
8273
8276
  B()
8274
8277
  ], Ve.prototype, "tabRefs", 2);
8275
- ci([
8278
+ pi([
8276
8279
  B()
8277
8280
  ], Ve.prototype, "tabCount", 2);
8278
- ci([
8281
+ pi([
8279
8282
  ih({ context: on }),
8280
8283
  B()
8281
8284
  ], Ve.prototype, "context", 2);
8282
- Ve = ci([
8285
+ Ve = pi([
8283
8286
  j("pkt-tabs")
8284
8287
  ], Ve);
8285
8288
  var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, ue = (i, t, e, s) => {
@@ -8287,7 +8290,7 @@ var rh = Object.defineProperty, oh = Object.getOwnPropertyDescriptor, ue = (i, t
8287
8290
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
8288
8291
  return s && a && rh(t, e, a), a;
8289
8292
  };
8290
- let ie = class extends G {
8293
+ let ie = class extends K {
8291
8294
  constructor() {
8292
8295
  super(), this.active = !1, this.href = "", this.icon = "", this.controls = "", this.tag = "", this.tagSkin = "blue", this.index = 0, this.elementRef = A(), this.defaultSlot = A(), this.slotController = new rt(this, this.defaultSlot);
8293
8296
  }
@@ -8373,7 +8376,7 @@ ie = ue([
8373
8376
  * Copyright 2020 Google LLC
8374
8377
  * SPDX-License-Identifier: BSD-3-Clause
8375
8378
  */
8376
- const lh = Fe(class extends oi {
8379
+ const lh = Fe(class extends li {
8377
8380
  constructor(i) {
8378
8381
  if (super(i), i.type !== zt.PROPERTY && i.type !== zt.ATTRIBUTE && i.type !== zt.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
8379
8382
  if (!Ha(i)) throw Error("`live` bindings can only contain a single expression");
@@ -8382,22 +8385,22 @@ const lh = Fe(class extends oi {
8382
8385
  return i;
8383
8386
  }
8384
8387
  update(i, [t]) {
8385
- if (t === wt || t === $) return t;
8388
+ if (t === xt || t === $) return t;
8386
8389
  const e = i.element, s = i.name;
8387
8390
  if (i.type === zt.PROPERTY) {
8388
- if (t === e[s]) return wt;
8391
+ if (t === e[s]) return xt;
8389
8392
  } else if (i.type === zt.BOOLEAN_ATTRIBUTE) {
8390
- if (!!t === e.hasAttribute(s)) return wt;
8391
- } else if (i.type === zt.ATTRIBUTE && e.getAttribute(s) === t + "") return wt;
8393
+ if (!!t === e.hasAttribute(s)) return xt;
8394
+ } else if (i.type === zt.ATTRIBUTE && e.getAttribute(s) === t + "") return xt;
8392
8395
  return qa(i), t;
8393
8396
  }
8394
8397
  });
8395
- var hh = Object.defineProperty, dh = Object.getOwnPropertyDescriptor, Vi = (i, t, e, s) => {
8398
+ var hh = Object.defineProperty, dh = Object.getOwnPropertyDescriptor, ji = (i, t, e, s) => {
8396
8399
  for (var a = s > 1 ? void 0 : s ? dh(t, e) : t, n = i.length - 1, r; n >= 0; n--)
8397
8400
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
8398
8401
  return s && a && hh(t, e, a), a;
8399
8402
  };
8400
- let ai = class extends M {
8403
+ let ni = class extends M {
8401
8404
  constructor() {
8402
8405
  super(), this.inputRef = A(), this.helptextSlot = A(), this.value = "", this.autocomplete = "off", this.rows = null, this.counterCurrent = 0, this.slotController = new rt(this, this.helptextSlot);
8403
8406
  }
@@ -8470,21 +8473,21 @@ let ai = class extends M {
8470
8473
  </pkt-input-wrapper>`;
8471
8474
  }
8472
8475
  };
8473
- Vi([
8476
+ ji([
8474
8477
  o({ type: String, reflect: !0 })
8475
- ], ai.prototype, "value", 2);
8476
- Vi([
8478
+ ], ni.prototype, "value", 2);
8479
+ ji([
8477
8480
  o({ type: String })
8478
- ], ai.prototype, "autocomplete", 2);
8479
- Vi([
8481
+ ], ni.prototype, "autocomplete", 2);
8482
+ ji([
8480
8483
  o({ type: Number })
8481
- ], ai.prototype, "rows", 2);
8482
- Vi([
8484
+ ], ni.prototype, "rows", 2);
8485
+ ji([
8483
8486
  B()
8484
- ], ai.prototype, "counterCurrent", 2);
8485
- ai = Vi([
8487
+ ], ni.prototype, "counterCurrent", 2);
8488
+ ni = ji([
8486
8489
  j("pkt-textarea")
8487
- ], ai);
8490
+ ], ni);
8488
8491
  var ch = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, re = (i, t, e, s) => {
8489
8492
  for (var a = s > 1 ? void 0 : s ? ph(t, e) : t, n = i.length - 1, r; n >= 0; n--)
8490
8493
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
@@ -8628,7 +8631,7 @@ var uh = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, cs = (i, t
8628
8631
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
8629
8632
  return s && a && uh(t, e, a), a;
8630
8633
  };
8631
- let Di = class extends M {
8634
+ let Ii = class extends M {
8632
8635
  constructor() {
8633
8636
  super(), this.inputRef = A(), this.helptextSlot = A(), this._optionsProp = [], this.value = "", this._options = [], this.selectedIndex = -1, this.selectedOptions = void 0, this.optionsController = new an(this), this.slotController = new rt(this, this.helptextSlot), this.slotController.skipOptions = !0;
8634
8637
  }
@@ -8775,22 +8778,22 @@ let Di = class extends M {
8775
8778
  };
8776
8779
  cs([
8777
8780
  o({ type: Array, attribute: "options" })
8778
- ], Di.prototype, "_optionsProp", 2);
8781
+ ], Ii.prototype, "_optionsProp", 2);
8779
8782
  cs([
8780
8783
  o({ type: String })
8781
- ], Di.prototype, "value", 2);
8784
+ ], Ii.prototype, "value", 2);
8782
8785
  cs([
8783
8786
  B()
8784
- ], Di.prototype, "_options", 2);
8785
- Di = cs([
8787
+ ], Ii.prototype, "_options", 2);
8788
+ Ii = cs([
8786
8789
  j("pkt-select")
8787
- ], Di);
8788
- var fh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor, ji = (i, t, e, s) => {
8790
+ ], Ii);
8791
+ var fh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor, Fi = (i, t, e, s) => {
8789
8792
  for (var a = s > 1 ? void 0 : s ? gh(t, e) : t, n = i.length - 1, r; n >= 0; n--)
8790
8793
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
8791
8794
  return s && a && fh(t, e, a), a;
8792
8795
  };
8793
- let ni = class extends G {
8796
+ let ri = class extends K {
8794
8797
  constructor() {
8795
8798
  super(), this.string = "", this.strings = [], this.darkmode = !1, this._list = [], this.defaultSlot = A(), this.namedSlot = A(), this.slotController = new rt(this, this.defaultSlot, this.namedSlot);
8796
8799
  }
@@ -8832,7 +8835,7 @@ let ni = class extends G {
8832
8835
 
8833
8836
  <h2 class="pkt-txt-22">Knapp som emitter en event</h2>
8834
8837
  <button type="button" @click=${() => this.handleGreeting()}>
8835
- Si ${yt.example.hi}
8838
+ Si ${_t.example.hi}
8836
8839
  </button>
8837
8840
  </div>
8838
8841
  `;
@@ -8861,25 +8864,25 @@ let ni = class extends G {
8861
8864
  );
8862
8865
  }
8863
8866
  };
8864
- ji([
8867
+ Fi([
8865
8868
  o({ type: String })
8866
- ], ni.prototype, "string", 2);
8867
- ji([
8869
+ ], ri.prototype, "string", 2);
8870
+ Fi([
8868
8871
  o({ converter: sn })
8869
- ], ni.prototype, "strings", 2);
8870
- ji([
8872
+ ], ri.prototype, "strings", 2);
8873
+ Fi([
8871
8874
  o({ type: Boolean })
8872
- ], ni.prototype, "darkmode", 2);
8873
- ji([
8875
+ ], ri.prototype, "darkmode", 2);
8876
+ Fi([
8874
8877
  o({ type: Array })
8875
- ], ni.prototype, "_list", 2);
8876
- ni = ji([
8878
+ ], ri.prototype, "_list", 2);
8879
+ ri = Fi([
8877
8880
  j("pkt-component")
8878
- ], ni);
8879
- const R = Jt({
8881
+ ], ri);
8882
+ const L = Jt({
8880
8883
  tagName: "pkt-icon",
8881
8884
  elementClass: De,
8882
- react: ut,
8885
+ react: mt,
8883
8886
  displayName: "PktIcon",
8884
8887
  events: {}
8885
8888
  }), vh = Z(
@@ -8897,17 +8900,17 @@ const R = Jt({
8897
8900
  onToggle: m
8898
8901
  }, f) => {
8899
8902
  const [y, b] = je(i), { name: k } = kn(), w = l || k, S = n !== void 0 ? n : y;
8900
- ns(() => {
8903
+ Qe(() => {
8901
8904
  n === void 0 && b(i);
8902
8905
  }, [i, n]);
8903
- const P = (N) => {
8904
- const K = N.currentTarget.open;
8905
- n === void 0 && b(K), m == null || m(N);
8906
- }, T = (N) => {
8906
+ const P = (T) => {
8907
+ const G = T.currentTarget.open;
8908
+ n === void 0 && b(G), m == null || m(T);
8909
+ }, N = (T) => {
8907
8910
  setTimeout(() => {
8908
- p == null || p(N);
8911
+ p == null || p(T);
8909
8912
  }, 0);
8910
- }, L = [
8913
+ }, I = [
8911
8914
  "pkt-accordion-item",
8912
8915
  a && "pkt-accordion-item--compact",
8913
8916
  s && `pkt-accordion-item--${s}`,
@@ -8917,16 +8920,16 @@ const R = Jt({
8917
8920
  "details",
8918
8921
  {
8919
8922
  ref: f,
8920
- className: L,
8923
+ className: I,
8921
8924
  id: t,
8922
8925
  open: S,
8923
- onClick: T,
8926
+ onClick: N,
8924
8927
  name: w,
8925
8928
  onToggle: P,
8926
8929
  children: [
8927
8930
  /* @__PURE__ */ x("summary", { className: "pkt-accordion-item__title", id: `pkt-accordion-item-summary-${t}`, children: [
8928
8931
  e,
8929
- /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8932
+ /* @__PURE__ */ h(L, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8930
8933
  ] }),
8931
8934
  /* @__PURE__ */ h("div", { className: "pkt-accordion-item__content", id: `pkt-accordion-item__content-${t}`, role: "region", children: /* @__PURE__ */ h("div", { className: "pkt-accordion-item__content-inner", children: r }) })
8932
8935
  ]
@@ -8944,9 +8947,9 @@ var Es = { exports: {} };
8944
8947
  Licensed under the MIT License (MIT), see
8945
8948
  http://jedwatson.github.io/classnames
8946
8949
  */
8947
- var Aa;
8950
+ var Ea;
8948
8951
  function kh() {
8949
- return Aa || (Aa = 1, (function(i) {
8952
+ return Ea || (Ea = 1, (function(i) {
8950
8953
  (function() {
8951
8954
  var t = {}.hasOwnProperty;
8952
8955
  function e() {
@@ -9005,7 +9008,7 @@ const ht = /* @__PURE__ */ bh(yh), ln = ({
9005
9008
  }, [m.onClose, y]);
9006
9009
  return /* @__PURE__ */ h("div", { ...m, "aria-live": n || r, role: l, className: ht(b, p), children: /* @__PURE__ */ x("div", { className: ht(k), children: [
9007
9010
  /* @__PURE__ */ h(
9008
- R,
9011
+ L,
9009
9012
  {
9010
9013
  className: "pkt-alert__icon",
9011
9014
  "aria-hidden": "true",
@@ -9013,7 +9016,7 @@ const ht = /* @__PURE__ */ bh(yh), ln = ({
9013
9016
  }
9014
9017
  ),
9015
9018
  t && /* @__PURE__ */ h("div", { className: "pkt-alert__close", children: /* @__PURE__ */ h(
9016
- ri,
9019
+ oi,
9017
9020
  {
9018
9021
  tabIndex: 0,
9019
9022
  "aria-label": "close",
@@ -9037,8 +9040,8 @@ const ht = /* @__PURE__ */ bh(yh), ln = ({
9037
9040
  ln.displayName = "PktAlert";
9038
9041
  const $h = Jt({
9039
9042
  tagName: "pkt-backlink",
9040
- elementClass: ii,
9041
- react: ut,
9043
+ elementClass: si,
9044
+ react: mt,
9042
9045
  displayName: "PktBackLink"
9043
9046
  });
9044
9047
  $h.displayName = "PktBackLink";
@@ -9047,13 +9050,13 @@ const Kd = Z(
9047
9050
  const n = i, r = n[n.length - 2], l = [e, "pkt-breadcrumbs"].filter(Boolean).join(" ");
9048
9051
  return /* @__PURE__ */ x("nav", { ref: a, "aria-label": "brødsmulemeny", className: l, children: [
9049
9052
  /* @__PURE__ */ h("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: n.map((d, p) => /* @__PURE__ */ h("li", { className: "pkt-breadcrumbs__item", children: p === n.length - 1 ? /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text }) }) : t === "router" ? /* @__PURE__ */ x(
9050
- Ks,
9053
+ Gs,
9051
9054
  {
9052
9055
  to: d.href,
9053
9056
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9054
9057
  ...s,
9055
9058
  children: [
9056
- /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9059
+ /* @__PURE__ */ h(L, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9057
9060
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9058
9061
  ]
9059
9062
  }
@@ -9064,23 +9067,23 @@ const Kd = Z(
9064
9067
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9065
9068
  ...s,
9066
9069
  children: [
9067
- /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9070
+ /* @__PURE__ */ h(L, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9068
9071
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9069
9072
  ]
9070
9073
  }
9071
9074
  ) }, `breadcrumb-${p}`)) }),
9072
- t === "router" ? /* @__PURE__ */ x(Ks, { to: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9073
- /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9075
+ t === "router" ? /* @__PURE__ */ x(Gs, { to: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9076
+ /* @__PURE__ */ h(L, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9074
9077
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9075
9078
  ] }) : /* @__PURE__ */ x("a", { href: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9076
- /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9079
+ /* @__PURE__ */ h(L, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9077
9080
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9078
9081
  ] })
9079
9082
  ] });
9080
9083
  }
9081
9084
  );
9082
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.17/animations/";
9083
- const ri = Z(
9085
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.18/animations/";
9086
+ const oi = Z(
9084
9087
  ({
9085
9088
  children: i,
9086
9089
  className: t,
@@ -9122,20 +9125,20 @@ const ri = Z(
9122
9125
  type: d,
9123
9126
  ref: S,
9124
9127
  children: [
9125
- y && /* @__PURE__ */ h(R, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: k }),
9126
- p !== "label-only" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: e }),
9128
+ y && /* @__PURE__ */ h(L, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: k }),
9129
+ p !== "label-only" && /* @__PURE__ */ h(L, { className: "pkt-btn__icon", name: e }),
9127
9130
  /* @__PURE__ */ h("span", { className: "pkt-btn__text", children: i }),
9128
- p === "icons-right-and-left" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: s })
9131
+ p === "icons-right-and-left" && /* @__PURE__ */ h(L, { className: "pkt-btn__icon", name: s })
9129
9132
  ]
9130
9133
  }
9131
9134
  );
9132
9135
  }
9133
9136
  );
9134
- ri.displayName = "PktButton";
9137
+ oi.displayName = "PktButton";
9135
9138
  const _h = Jt({
9136
9139
  tagName: "pkt-card",
9137
9140
  elementClass: lt,
9138
- react: ut,
9141
+ react: mt,
9139
9142
  displayName: "PktCard",
9140
9143
  events: {}
9141
9144
  }), wh = Z(
@@ -9156,32 +9159,39 @@ const xh = Z(
9156
9159
  labelPosition: p = "right",
9157
9160
  defaultChecked: m,
9158
9161
  checked: f,
9159
- optionalTag: y,
9160
- optionalText: b = "Valgfritt",
9161
- requiredTag: k,
9162
- requiredText: w = "Må fylles ut",
9163
- tagText: S,
9164
- ...P
9165
- }, T) => {
9166
- const L = [r, "pkt-input-check"].filter(Boolean).join(" "), N = [
9162
+ indeterminate: y,
9163
+ optionalTag: b,
9164
+ optionalText: k = "Valgfritt",
9165
+ requiredTag: w,
9166
+ requiredText: S = "Må fylles ut",
9167
+ tagText: P,
9168
+ ...N
9169
+ }, I) => {
9170
+ const T = Bs(null);
9171
+ Qe(() => {
9172
+ T.current && y !== void 0 && (T.current.indeterminate = y);
9173
+ }, [y]), Qe(() => {
9174
+ typeof I == "function" ? I(T.current) : I && (I.current = T.current);
9175
+ }, [I]);
9176
+ const H = [r, "pkt-input-check"].filter(Boolean).join(" "), G = [
9167
9177
  "pkt-input-check__input-label",
9168
9178
  e ? "pkt-input-check__input-label--disabled" : "",
9169
9179
  `pkt-input-check__input-label--${p}`,
9170
9180
  d ? "pkt-sr-only" : ""
9171
- ].filter(Boolean).join(" "), H = [
9181
+ ].filter(Boolean).join(" "), Ft = [
9172
9182
  "pkt-input-check__input",
9173
9183
  t ? "pkt-input-check__input--tile" : "",
9174
9184
  e && t ? "pkt-input-check__input--tile-disabled" : ""
9175
- ].filter(Boolean).join(" "), K = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), Nt = () => /* @__PURE__ */ x(Wt, { children: [
9176
- S && /* @__PURE__ */ h("span", { className: K + " pkt-tag--gray", children: S }),
9177
- y && /* @__PURE__ */ h("span", { className: K + " pkt-tag--blue-light", children: b }),
9178
- k && /* @__PURE__ */ h("span", { className: K + " pkt-tag--beige", children: w })
9185
+ ].filter(Boolean).join(" "), pt = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), J = () => /* @__PURE__ */ x(Wt, { children: [
9186
+ P && /* @__PURE__ */ h("span", { className: pt + " pkt-tag--gray", children: P }),
9187
+ b && /* @__PURE__ */ h("span", { className: pt + " pkt-tag--blue-light", children: k }),
9188
+ w && /* @__PURE__ */ h("span", { className: pt + " pkt-tag--beige", children: S })
9179
9189
  ] });
9180
- return /* @__PURE__ */ h("div", { className: L, children: /* @__PURE__ */ x("div", { className: H, children: [
9181
- p === "left" && /* @__PURE__ */ x("label", { className: N, htmlFor: i, children: [
9190
+ return /* @__PURE__ */ h("div", { className: H, children: /* @__PURE__ */ x("div", { className: Ft, children: [
9191
+ p === "left" && /* @__PURE__ */ x("label", { className: G, htmlFor: i, children: [
9182
9192
  s,
9183
9193
  " ",
9184
- Nt(),
9194
+ J(),
9185
9195
  a && /* @__PURE__ */ h("div", { className: "pkt-input-check__input-helptext", children: a })
9186
9196
  ] }),
9187
9197
  /* @__PURE__ */ h(
@@ -9194,13 +9204,13 @@ const xh = Z(
9194
9204
  id: i,
9195
9205
  disabled: e,
9196
9206
  ...f !== void 0 ? { checked: f } : { defaultChecked: m },
9197
- ...P
9207
+ ...N
9198
9208
  }
9199
9209
  ),
9200
- p === "right" && /* @__PURE__ */ x("label", { className: N, htmlFor: i, children: [
9210
+ p === "right" && /* @__PURE__ */ x("label", { className: G, htmlFor: i, children: [
9201
9211
  s,
9202
9212
  " ",
9203
- Nt(),
9213
+ J(),
9204
9214
  a && /* @__PURE__ */ h("div", { className: "pkt-input-check__input-helptext", children: a })
9205
9215
  ] })
9206
9216
  ] }) });
@@ -9209,8 +9219,8 @@ const xh = Z(
9209
9219
  xh.displayName = "PktCheckbox";
9210
9220
  const Sh = Jt({
9211
9221
  tagName: "pkt-combobox",
9212
- elementClass: X,
9213
- react: ut,
9222
+ elementClass: Q,
9223
+ react: mt,
9214
9224
  displayName: "PktCombobox",
9215
9225
  events: {
9216
9226
  onClick: "click",
@@ -9226,20 +9236,20 @@ const Sh = Jt({
9226
9236
  i
9227
9237
  ] }));
9228
9238
  Ch.displayName = "PktCombobox";
9229
- const Us = Jt({
9239
+ const Hs = Jt({
9230
9240
  tagName: "pkt-consent",
9231
9241
  elementClass: Ht,
9232
- react: ut,
9242
+ react: mt,
9233
9243
  displayName: "PktConsent",
9234
9244
  events: {
9235
9245
  onToggleConsent: "toggle-consent"
9236
9246
  }
9237
9247
  });
9238
- Us.displayName = "PktConsent";
9248
+ Hs.displayName = "PktConsent";
9239
9249
  const Th = Jt({
9240
9250
  tagName: "pkt-datepicker",
9241
9251
  elementClass: tt,
9242
- react: ut,
9252
+ react: mt,
9243
9253
  displayName: "PktDatepicker",
9244
9254
  events: {
9245
9255
  onChange: "change",
@@ -9279,38 +9289,38 @@ const Gd = ({
9279
9289
  /* @__PURE__ */ h("h2", { className: "pkt-footer__title", children: i.title }),
9280
9290
  /* @__PURE__ */ x("ul", { className: "pkt-footer__list", children: [
9281
9291
  i.text && /* @__PURE__ */ h("li", { className: "pkt-footer__text", children: i.text }),
9282
- (S = i.links) == null ? void 0 : S.map((T, L) => /* @__PURE__ */ h("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ x(
9292
+ (S = i.links) == null ? void 0 : S.map((N, I) => /* @__PURE__ */ h("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ x(
9283
9293
  "a",
9284
9294
  {
9285
- className: `pkt-footer__link ${T.external ? "pkt-link--external" : ""}`,
9286
- href: T.href,
9287
- target: T.openInNewTab || a ? "_blank" : "_self",
9288
- rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9295
+ className: `pkt-footer__link ${N.external ? "pkt-link--external" : ""}`,
9296
+ href: N.href,
9297
+ target: N.openInNewTab || a ? "_blank" : "_self",
9298
+ rel: N.openInNewTab || a ? "noopener noreferrer" : void 0,
9289
9299
  children: [
9290
- /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9291
- T.text
9300
+ /* @__PURE__ */ h(L, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9301
+ N.text
9292
9302
  ]
9293
9303
  }
9294
- ) }, `links-${L}`))
9304
+ ) }, `links-${I}`))
9295
9305
  ] })
9296
9306
  ] }),
9297
9307
  /* @__PURE__ */ x("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
9298
9308
  /* @__PURE__ */ h("h2", { className: "pkt-footer__title", children: t.title }),
9299
9309
  /* @__PURE__ */ x("ul", { className: "pkt-footer__list", children: [
9300
9310
  t.text && /* @__PURE__ */ h("li", { className: "pkt-footer__text", children: t.text }),
9301
- (P = t.links) == null ? void 0 : P.map((T, L) => /* @__PURE__ */ h("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ x(
9311
+ (P = t.links) == null ? void 0 : P.map((N, I) => /* @__PURE__ */ h("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ x(
9302
9312
  "a",
9303
9313
  {
9304
- className: `pkt-footer__link ${T.external ? "pkt-link--external" : ""}`,
9305
- href: T.href,
9306
- target: T.openInNewTab || a ? "_blank" : "_self",
9307
- rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9314
+ className: `pkt-footer__link ${N.external ? "pkt-link--external" : ""}`,
9315
+ href: N.href,
9316
+ target: N.openInNewTab || a ? "_blank" : "_self",
9317
+ rel: N.openInNewTab || a ? "noopener noreferrer" : void 0,
9308
9318
  children: [
9309
- /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9310
- T.text
9319
+ /* @__PURE__ */ h(L, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9320
+ N.text
9311
9321
  ]
9312
9322
  }
9313
- ) }, `links-${L}`))
9323
+ ) }, `links-${I}`))
9314
9324
  ] })
9315
9325
  ] }),
9316
9326
  /* @__PURE__ */ x("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
@@ -9324,7 +9334,7 @@ const Gd = ({
9324
9334
  target: a ? "_blank" : "_self",
9325
9335
  rel: a ? "noopener noreferrer" : void 0,
9326
9336
  children: [
9327
- /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9337
+ /* @__PURE__ */ h(L, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9328
9338
  "Personvern og informasjonskapsler"
9329
9339
  ]
9330
9340
  }
@@ -9337,13 +9347,13 @@ const Gd = ({
9337
9347
  target: a ? "_blank" : "_self",
9338
9348
  rel: a ? "noopener noreferrer" : void 0,
9339
9349
  children: [
9340
- /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9350
+ /* @__PURE__ */ h(L, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9341
9351
  "Tilgjengelighet"
9342
9352
  ]
9343
9353
  }
9344
9354
  ) }),
9345
9355
  l && /* @__PURE__ */ h("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ h(
9346
- Us,
9356
+ Hs,
9347
9357
  {
9348
9358
  triggerType: "footerlink",
9349
9359
  hotjarId: d,
@@ -9359,27 +9369,27 @@ const Gd = ({
9359
9369
  ] })
9360
9370
  ] }),
9361
9371
  e && /* @__PURE__ */ x("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
9362
- /* @__PURE__ */ h("div", { className: "pkt-footer__social-languages", children: e.filter((T) => T.language).map((T, L) => /* @__PURE__ */ h("div", { className: "pkt-footer__social-language", children: /* @__PURE__ */ h(
9372
+ /* @__PURE__ */ h("div", { className: "pkt-footer__social-languages", children: e.filter((N) => N.language).map((N, I) => /* @__PURE__ */ h("div", { className: "pkt-footer__social-language", children: /* @__PURE__ */ h(
9363
9373
  "a",
9364
9374
  {
9365
- href: T.href,
9366
- "aria-label": `til ${T.language} versjon av nettsiden`,
9367
- target: T.openInNewTab || a ? "_blank" : "_self",
9368
- rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9369
- children: T.language
9375
+ href: N.href,
9376
+ "aria-label": `til ${N.language} versjon av nettsiden`,
9377
+ target: N.openInNewTab || a ? "_blank" : "_self",
9378
+ rel: N.openInNewTab || a ? "noopener noreferrer" : void 0,
9379
+ children: N.language
9370
9380
  }
9371
- ) }, `sociallinks-language-${L}`)) }),
9372
- /* @__PURE__ */ h("div", { className: "pkt-footer__social-icons", children: e.filter((T) => T.iconName).map((T, L) => /* @__PURE__ */ h(un, { children: /* @__PURE__ */ h(
9381
+ ) }, `sociallinks-language-${I}`)) }),
9382
+ /* @__PURE__ */ h("div", { className: "pkt-footer__social-icons", children: e.filter((N) => N.iconName).map((N, I) => /* @__PURE__ */ h(un, { children: /* @__PURE__ */ h(
9373
9383
  "a",
9374
9384
  {
9375
- href: T.href,
9376
- "aria-label": `til ${T.iconName}`,
9385
+ href: N.href,
9386
+ "aria-label": `til ${N.iconName}`,
9377
9387
  className: "pkt-footer__social-icon-link",
9378
- target: T.openInNewTab || a ? "_blank" : "_self",
9379
- rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9380
- children: /* @__PURE__ */ h(R, { className: "pkt-footer__social-icon", name: T.iconName })
9388
+ target: N.openInNewTab || a ? "_blank" : "_self",
9389
+ rel: N.openInNewTab || a ? "noopener noreferrer" : void 0,
9390
+ children: /* @__PURE__ */ h(L, { className: "pkt-footer__social-icon", name: N.iconName })
9381
9391
  }
9382
- ) }, `sociallinks-${L}`)) })
9392
+ ) }, `sociallinks-${I}`)) })
9383
9393
  ] })
9384
9394
  ] }) });
9385
9395
  }, Yd = ({
@@ -9409,7 +9419,7 @@ const Gd = ({
9409
9419
  target: k.openInNewTab || t ? "_blank" : "_self",
9410
9420
  rel: k.openInNewTab || t ? "noopener noreferrer" : void 0,
9411
9421
  children: [
9412
- /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9422
+ /* @__PURE__ */ h(L, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9413
9423
  k.text
9414
9424
  ]
9415
9425
  }
@@ -9422,7 +9432,7 @@ const Gd = ({
9422
9432
  target: t ? "_blank" : "_self",
9423
9433
  rel: t ? "noopener noreferrer" : void 0,
9424
9434
  children: [
9425
- /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9435
+ /* @__PURE__ */ h(L, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9426
9436
  "Personvern og informasjonskapsler"
9427
9437
  ]
9428
9438
  }
@@ -9435,13 +9445,13 @@ const Gd = ({
9435
9445
  target: t ? "_blank" : "_self",
9436
9446
  rel: t ? "noopener noreferrer" : void 0,
9437
9447
  children: [
9438
- /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9448
+ /* @__PURE__ */ h(L, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9439
9449
  "Tilgjengelighet"
9440
9450
  ]
9441
9451
  }
9442
9452
  ) }),
9443
9453
  a && /* @__PURE__ */ h("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ h(
9444
- Us,
9454
+ Hs,
9445
9455
  {
9446
9456
  triggerType: "footerlink",
9447
9457
  hotjarId: n,
@@ -9474,25 +9484,25 @@ const Gd = ({
9474
9484
  changeRepresentation: w,
9475
9485
  children: S,
9476
9486
  ...P
9477
- }, T) => {
9478
- const L = ut.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9487
+ }, N) => {
9488
+ const I = mt.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9479
9489
  year: "numeric",
9480
9490
  month: "long",
9481
9491
  day: "numeric"
9482
- }) : "", [n]), [N, H] = ut.useState(!1), [K, Nt] = ut.useState(0), [At, Q] = ut.useState(!1), st = ut.useRef(null);
9483
- ut.useEffect(() => (document && (document.addEventListener("mouseup", Ot), window.addEventListener("scroll", at)), () => {
9484
- document && (document.removeEventListener("mouseup", Ot), window.removeEventListener("scroll", at));
9492
+ }) : "", [n]), [T, H] = mt.useState(!1), [G, Ft] = mt.useState(0), [pt, J] = mt.useState(!1), st = mt.useRef(null);
9493
+ mt.useEffect(() => (document && (document.addEventListener("mouseup", Et), window.addEventListener("scroll", at)), () => {
9494
+ document && (document.removeEventListener("mouseup", Et), window.removeEventListener("scroll", at));
9485
9495
  }));
9486
- const Et = () => {
9487
- Q(!At);
9488
- }, Ot = (I) => {
9489
- st.current && !st.current.contains(I.target) && Q(!1);
9496
+ const At = () => {
9497
+ J(!pt);
9498
+ }, Et = (R) => {
9499
+ st.current && !st.current.contains(R.target) && J(!1);
9490
9500
  }, at = () => {
9491
9501
  if (a) {
9492
- const I = window.pageYOffset || document.documentElement.scrollTop;
9493
- if (I < 0 || Math.abs(I - K) < 60)
9502
+ const R = window.pageYOffset || document.documentElement.scrollTop;
9503
+ if (R < 0 || Math.abs(R - G) < 60)
9494
9504
  return;
9495
- H(I > K), Nt(I);
9505
+ H(R > G), Ft(R);
9496
9506
  }
9497
9507
  };
9498
9508
  return /* @__PURE__ */ x(
@@ -9505,18 +9515,18 @@ const Gd = ({
9505
9515
  className: ht(i, "pkt-header", {
9506
9516
  "pkt-header--fixed": s,
9507
9517
  "pkt-header--scroll-to-hide": a,
9508
- "pkt-header--hidden": N
9518
+ "pkt-header--hidden": T
9509
9519
  }),
9510
- ref: T,
9520
+ ref: N,
9511
9521
  children: [
9512
9522
  /* @__PURE__ */ x("div", { className: "pkt-header__logo", children: [
9513
9523
  typeof t == "string" ? /* @__PURE__ */ h("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: t, children: /* @__PURE__ */ h(
9514
- R,
9524
+ L,
9515
9525
  {
9516
9526
  name: "oslologo",
9517
9527
  className: "pkt-header__logo-svg",
9518
9528
  "aria-hidden": "true",
9519
- path: "https://punkt-cdn.oslo.kommune.no/13.17/logos/"
9529
+ path: "https://punkt-cdn.oslo.kommune.no/13.18/logos/"
9520
9530
  }
9521
9531
  ) }) : /* @__PURE__ */ h(
9522
9532
  "button",
@@ -9525,12 +9535,12 @@ const Gd = ({
9525
9535
  className: "pkt-link-button pkt-link pkt-header__logo-link",
9526
9536
  onClick: t,
9527
9537
  children: /* @__PURE__ */ h(
9528
- R,
9538
+ L,
9529
9539
  {
9530
9540
  name: "oslologo",
9531
9541
  className: "pkt-header__logo-svg",
9532
9542
  "aria-hidden": "true",
9533
- path: "https://punkt-cdn.oslo.kommune.no/13.17/logos/"
9543
+ path: "https://punkt-cdn.oslo.kommune.no/13.18/logos/"
9534
9544
  }
9535
9545
  )
9536
9546
  }
@@ -9539,7 +9549,7 @@ const Gd = ({
9539
9549
  ] }),
9540
9550
  /* @__PURE__ */ h("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ x("ul", { className: "pkt-header__actions-row", children: [
9541
9551
  f && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(
9542
- ri,
9552
+ oi,
9543
9553
  {
9544
9554
  className: "pkt-header__menu-btn",
9545
9555
  skin: "secondary",
@@ -9553,7 +9563,7 @@ const Gd = ({
9553
9563
  "li",
9554
9564
  {
9555
9565
  "data-testid": "usermenu",
9556
- className: `pkt-header--has-dropdown ${At && !N ? "pkt-header--open-dropdown" : ""}`,
9566
+ className: `pkt-header--has-dropdown ${pt && !T ? "pkt-header--open-dropdown" : ""}`,
9557
9567
  ref: st,
9558
9568
  children: [
9559
9569
  /* @__PURE__ */ x(
@@ -9563,14 +9573,14 @@ const Gd = ({
9563
9573
  type: "button",
9564
9574
  role: "button",
9565
9575
  "aria-controls": "pktUserDropdown",
9566
- "aria-expanded": At,
9567
- onClick: Et,
9576
+ "aria-expanded": pt,
9577
+ onClick: At,
9568
9578
  children: [
9569
- /* @__PURE__ */ h(R, { name: "user", className: "pkt-btn__icon" }),
9579
+ /* @__PURE__ */ h(L, { name: "user", className: "pkt-btn__icon" }),
9570
9580
  /* @__PURE__ */ h("span", { className: "pkt-header__user-fullname", translate: "no", children: (l == null ? void 0 : l.name) || (n == null ? void 0 : n.name) }),
9571
9581
  /* @__PURE__ */ h("span", { className: "pkt-header__user-shortname", translate: "no", children: (l == null ? void 0 : l.shortname) || (n == null ? void 0 : n.shortname) }),
9572
- /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9573
- /* @__PURE__ */ h(R, { name: "chevron-thin-up", className: "pkt-btn--open" })
9582
+ /* @__PURE__ */ h(L, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9583
+ /* @__PURE__ */ h(L, { name: "chevron-thin-up", className: "pkt-btn--open" })
9574
9584
  ]
9575
9585
  }
9576
9586
  ),
@@ -9580,16 +9590,16 @@ const Gd = ({
9580
9590
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__name", translate: "no", children: n.name }),
9581
9591
  n.lastLoggedIn && /* @__PURE__ */ x("div", { className: "pkt-user-menu__last-logged-in", children: [
9582
9592
  "Sist pålogget: ",
9583
- /* @__PURE__ */ h("time", { children: L })
9593
+ /* @__PURE__ */ h("time", { children: I })
9584
9594
  ] })
9585
9595
  ] }),
9586
- r && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: r.map((I, _t) => /* @__PURE__ */ h("li", { children: typeof I.target == "string" ? /* @__PURE__ */ x("a", { href: I.target, className: "pkt-link", children: [
9587
- I.iconName && /* @__PURE__ */ h(R, { name: I.iconName, className: "pkt-link__icon" }),
9588
- I.title
9589
- ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: I.target, children: [
9590
- I.iconName && /* @__PURE__ */ h(R, { name: I.iconName, className: "pkt-link__icon" }),
9591
- I.title
9592
- ] }) }, `userMenu-${_t}`)) }) }),
9596
+ r && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: r.map((R, wt) => /* @__PURE__ */ h("li", { children: typeof R.target == "string" ? /* @__PURE__ */ x("a", { href: R.target, className: "pkt-link", children: [
9597
+ R.iconName && /* @__PURE__ */ h(L, { name: R.iconName, className: "pkt-link__icon" }),
9598
+ R.title
9599
+ ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: R.target, children: [
9600
+ R.iconName && /* @__PURE__ */ h(L, { name: R.iconName, className: "pkt-link__icon" }),
9601
+ R.title
9602
+ ] }) }, `userMenu-${wt}`)) }) }),
9593
9603
  (l || m) && /* @__PURE__ */ x("li", { children: [
9594
9604
  l && /* @__PURE__ */ x(Wt, { children: [
9595
9605
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__label", children: "Representerer" }),
@@ -9600,31 +9610,31 @@ const Gd = ({
9600
9610
  ] })
9601
9611
  ] }),
9602
9612
  /* @__PURE__ */ h("ul", { className: "pkt-list mt-size-16", children: m && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: w, children: [
9603
- /* @__PURE__ */ h(R, { name: "cogwheel", className: "pkt-link__icon" }),
9613
+ /* @__PURE__ */ h(L, { name: "cogwheel", className: "pkt-link__icon" }),
9604
9614
  "Endre organisasjon"
9605
9615
  ] }) }) })
9606
9616
  ] }),
9607
9617
  /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: (d || !y) && /* @__PURE__ */ x(Wt, { children: [
9608
- d == null ? void 0 : d.map((I, _t) => /* @__PURE__ */ h("li", { children: typeof I.target == "string" ? /* @__PURE__ */ x("a", { href: I.target, className: "pkt-link", children: [
9609
- I.iconName && /* @__PURE__ */ h(R, { name: I.iconName, className: "pkt-link__icon" }),
9610
- I.title
9611
- ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: I.target, children: [
9612
- I.iconName && /* @__PURE__ */ h(R, { name: I.iconName, className: "pkt-link__icon" }),
9613
- I.title
9614
- ] }) }, `userOptions-${_t}`)),
9618
+ d == null ? void 0 : d.map((R, wt) => /* @__PURE__ */ h("li", { children: typeof R.target == "string" ? /* @__PURE__ */ x("a", { href: R.target, className: "pkt-link", children: [
9619
+ R.iconName && /* @__PURE__ */ h(L, { name: R.iconName, className: "pkt-link__icon" }),
9620
+ R.title
9621
+ ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: R.target, children: [
9622
+ R.iconName && /* @__PURE__ */ h(L, { name: R.iconName, className: "pkt-link__icon" }),
9623
+ R.title
9624
+ ] }) }, `userOptions-${wt}`)),
9615
9625
  !y && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: k, children: [
9616
- /* @__PURE__ */ h(R, { name: "exit", className: "pkt-link__icon" }),
9626
+ /* @__PURE__ */ h(L, { name: "exit", className: "pkt-link__icon" }),
9617
9627
  "Logg ut"
9618
9628
  ] }) })
9619
9629
  ] }) }) }),
9620
- p && /* @__PURE__ */ h("li", { className: "footer", children: /* @__PURE__ */ h("ul", { className: "pkt-list-horizontal bordered", children: p.map((I, _t) => /* @__PURE__ */ h("li", { children: typeof I.target == "string" ? /* @__PURE__ */ h("a", { href: I.target, className: "pkt-link", children: I.title }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: I.target, children: I.title }) }, `userMenuFooter-${_t}`)) }) })
9630
+ p && /* @__PURE__ */ h("li", { className: "footer", children: /* @__PURE__ */ h("ul", { className: "pkt-list-horizontal bordered", children: p.map((R, wt) => /* @__PURE__ */ h("li", { children: typeof R.target == "string" ? /* @__PURE__ */ h("a", { href: R.target, className: "pkt-link", children: R.title }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: R.target, children: R.title }) }, `userMenuFooter-${wt}`)) }) })
9621
9631
  ] })
9622
9632
  ]
9623
9633
  }
9624
9634
  ),
9625
9635
  S && /* @__PURE__ */ h("li", { children: S }),
9626
9636
  y && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(
9627
- ri,
9637
+ oi,
9628
9638
  {
9629
9639
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
9630
9640
  iconName: "exit",
@@ -9643,14 +9653,14 @@ const Gd = ({
9643
9653
  ), Ah = Jt({
9644
9654
  tagName: "pkt-heading",
9645
9655
  elementClass: Ie,
9646
- react: ut,
9656
+ react: mt,
9647
9657
  displayName: "PktHeading"
9648
9658
  }), Eh = Z(({ children: i, ...t }, e) => /* @__PURE__ */ h(Ah, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
9649
9659
  Eh.displayName = "PktHeading";
9650
9660
  const Oh = Jt({
9651
9661
  tagName: "pkt-helptext",
9652
9662
  elementClass: ce,
9653
- react: ut,
9663
+ react: mt,
9654
9664
  displayName: "PktHelptext",
9655
9665
  events: {
9656
9666
  onToggleHelpText: "toggleHelpText"
@@ -9687,20 +9697,20 @@ const ps = Z(
9687
9697
  disabled: w = !1,
9688
9698
  inline: S = !1,
9689
9699
  ariaDescribedby: P,
9690
- useWrapper: T = !0,
9691
- children: L,
9692
- className: N = "",
9700
+ useWrapper: N = !0,
9701
+ children: I,
9702
+ className: T = "",
9693
9703
  hasFieldset: H = !1,
9694
- role: K = "group",
9695
- counterPosition: Nt = "bottom"
9696
- }, At) => {
9697
- const [Q, st] = je(!1), Et = P || (e ? `${i}-helptext` : void 0), Ot = !!n, at = Ot && Nt === "top", I = Ot && Nt === "bottom", _t = () => st((ot) => !ot), Qt = [
9704
+ role: G = "group",
9705
+ counterPosition: Ft = "bottom"
9706
+ }, pt) => {
9707
+ const [J, st] = je(!1), At = P || (e ? `${i}-helptext` : void 0), Et = !!n, at = Et && Ft === "top", R = Et && Ft === "bottom", wt = () => st((ot) => !ot), Qt = [
9698
9708
  "pkt-inputwrapper",
9699
- N,
9709
+ T,
9700
9710
  b ? "pkt-inputwrapper--error" : "",
9701
9711
  w ? "pkt-inputwrapper--disabled" : "",
9702
9712
  S ? "pkt-inputwrapper--inline" : ""
9703
- ].filter(Boolean).join(" "), oe = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), te = () => Ot ? /* @__PURE__ */ x("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": "true", children: [
9713
+ ].filter(Boolean).join(" "), oe = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), te = () => Et ? /* @__PURE__ */ x("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": "true", children: [
9704
9714
  r,
9705
9715
  l ? `/${l}` : ""
9706
9716
  ] }) : null, we = () => /* @__PURE__ */ x(Wt, { children: [
@@ -9713,19 +9723,19 @@ const ps = Z(
9713
9723
  " ",
9714
9724
  we()
9715
9725
  ] });
9716
- return T ? H ? /* @__PURE__ */ h("legend", { className: "pkt-inputwrapper__legend", id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { className: "pkt-inputwrapper__label", htmlFor: i, "aria-describedby": Et, id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { htmlFor: i, className: "pkt-sr-only", "aria-describedby": Et, id: `${i}-label`, children: t });
9726
+ return N ? H ? /* @__PURE__ */ h("legend", { className: "pkt-inputwrapper__legend", id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { className: "pkt-inputwrapper__label", htmlFor: i, "aria-describedby": At, id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { htmlFor: i, className: "pkt-sr-only", "aria-describedby": At, id: `${i}-label`, children: t });
9717
9727
  }, le = () => !e && !s ? null : /* @__PURE__ */ x(Wt, { children: [
9718
- e && T && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__helptext", id: `${i}-helptext`, children: e }),
9728
+ e && N && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__helptext", id: `${i}-helptext`, children: e }),
9719
9729
  s && /* @__PURE__ */ x("div", { className: "pkt-inputwrapper__helptext-expandable", children: [
9720
9730
  /* @__PURE__ */ h(
9721
- ri,
9731
+ oi,
9722
9732
  {
9723
9733
  skin: "tertiary",
9724
9734
  size: "small",
9725
9735
  variant: "icon-right",
9726
- iconName: Q ? "chevron-thin-up" : "chevron-thin-down",
9736
+ iconName: J ? "chevron-thin-up" : "chevron-thin-down",
9727
9737
  className: "pkt-link pkt-link--icon-right",
9728
- onClick: _t,
9738
+ onClick: wt,
9729
9739
  children: /* @__PURE__ */ h(
9730
9740
  "span",
9731
9741
  {
@@ -9739,7 +9749,7 @@ const ps = Z(
9739
9749
  /* @__PURE__ */ h(
9740
9750
  "div",
9741
9751
  {
9742
- className: `pkt-inputwrapper__helptext ${Q ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
9752
+ className: `pkt-inputwrapper__helptext ${J ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
9743
9753
  children: s
9744
9754
  }
9745
9755
  )
@@ -9748,11 +9758,11 @@ const ps = Z(
9748
9758
  ze(),
9749
9759
  le(),
9750
9760
  at && /* @__PURE__ */ h(te, {}),
9751
- L,
9752
- I && /* @__PURE__ */ h(te, {}),
9761
+ I,
9762
+ R && /* @__PURE__ */ h(te, {}),
9753
9763
  b && k && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__alert-wrapper", children: /* @__PURE__ */ h(ln, { skin: "error", "aria-live": "assertive", role: "alert", id: `${i}-error`, compact: !0, children: k }) })
9754
9764
  ] });
9755
- return /* @__PURE__ */ h("div", { className: Qt, ref: At, role: K, children: H ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Et, children: Ut }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ut }) });
9765
+ return /* @__PURE__ */ h("div", { className: Qt, ref: pt, role: G, children: H ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": At, children: Ut }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ut }) });
9756
9766
  }
9757
9767
  );
9758
9768
  ps.displayName = "PktInputWrapper";
@@ -9779,7 +9789,7 @@ const Dh = ({
9779
9789
  target: n,
9780
9790
  rel: a ? "noopener noreferrer" : void 0,
9781
9791
  children: [
9782
- t && /* @__PURE__ */ h(R, { name: t, className: "pkt-link__icon" }),
9792
+ t && /* @__PURE__ */ h(L, { name: t, className: "pkt-link__icon" }),
9783
9793
  r
9784
9794
  ]
9785
9795
  }
@@ -9806,7 +9816,7 @@ const Ih = ({
9806
9816
  target: n ? "_blank" : "_self",
9807
9817
  rel: n ? "noopener noreferrer" : void 0,
9808
9818
  children: [
9809
- a && /* @__PURE__ */ h(R, { className: "pkt-link__icon", name: a }),
9819
+ a && /* @__PURE__ */ h(L, { className: "pkt-link__icon", name: a }),
9810
9820
  e && /* @__PURE__ */ h("div", { className: ht(m), children: e }),
9811
9821
  /* @__PURE__ */ h("div", { className: "pkt-linkcard__text", children: i })
9812
9822
  ]
@@ -9817,7 +9827,7 @@ Ih.displayName = "PktLinkCard";
9817
9827
  const Rh = Jt({
9818
9828
  tagName: "pkt-loader",
9819
9829
  elementClass: Yt,
9820
- react: ut,
9830
+ react: mt,
9821
9831
  displayName: "PktLoader",
9822
9832
  events: {}
9823
9833
  }), Lh = Z(
@@ -9850,7 +9860,7 @@ const Bh = ({
9850
9860
  onClick: y,
9851
9861
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
9852
9862
  "aria-label": "Lukk",
9853
- children: /* @__PURE__ */ h(R, { name: "close", className: "pkt-link__icon" })
9863
+ children: /* @__PURE__ */ h(L, { name: "close", className: "pkt-link__icon" })
9854
9864
  }
9855
9865
  ) }),
9856
9866
  s && /* @__PURE__ */ h("div", { className: "pkt-messagebox__title", children: s }),
@@ -9860,8 +9870,8 @@ const Bh = ({
9860
9870
  Bh.displayName = "PktMessagebox";
9861
9871
  const Vh = Jt({
9862
9872
  tagName: "pkt-modal",
9863
- elementClass: Rt,
9864
- react: ut,
9873
+ elementClass: It,
9874
+ react: mt,
9865
9875
  displayName: "PktModal",
9866
9876
  events: {}
9867
9877
  }), jh = Z(
@@ -9871,7 +9881,7 @@ jh.displayName = "PktModal";
9871
9881
  const Fh = Jt({
9872
9882
  tagName: "pkt-progressbar",
9873
9883
  elementClass: et,
9874
- react: ut,
9884
+ react: mt,
9875
9885
  displayName: "PktProgressbar",
9876
9886
  events: {}
9877
9887
  }), Uh = Z(
@@ -9897,19 +9907,19 @@ const Hh = Z(
9897
9907
  tagText: k,
9898
9908
  ...w
9899
9909
  }, S) => {
9900
- const P = [s, "pkt-input-check"].filter(Boolean).join(" "), T = [
9910
+ const P = [s, "pkt-input-check"].filter(Boolean).join(" "), N = [
9901
9911
  "pkt-input-check__input",
9902
9912
  a ? "pkt-input-check__input--tile" : "",
9903
9913
  n && a ? "pkt-input-check__input--tile-disabled" : ""
9904
- ].filter(Boolean).join(" "), L = [
9914
+ ].filter(Boolean).join(" "), I = [
9905
9915
  "pkt-input-check__input-checkbox",
9906
9916
  l ? "pkt-input-check__input-checkbox--error" : ""
9907
- ].filter(Boolean).join(" "), N = ["pkt-input-check__input-label", n ? "pkt-input-check__input-label--disabled" : ""].filter(Boolean).join(" "), H = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), K = () => /* @__PURE__ */ x(Wt, { children: [
9917
+ ].filter(Boolean).join(" "), T = ["pkt-input-check__input-label", n ? "pkt-input-check__input-label--disabled" : ""].filter(Boolean).join(" "), H = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), G = () => /* @__PURE__ */ x(Wt, { children: [
9908
9918
  k && /* @__PURE__ */ h("span", { className: H + " pkt-tag--gray", children: k }),
9909
9919
  m && /* @__PURE__ */ h("span", { className: H + " pkt-tag--blue-light", children: f }),
9910
9920
  y && /* @__PURE__ */ h("span", { className: H + " pkt-tag--beige", children: b })
9911
9921
  ] });
9912
- return /* @__PURE__ */ h("div", { className: P, children: /* @__PURE__ */ x("div", { className: T, children: [
9922
+ return /* @__PURE__ */ h("div", { className: P, children: /* @__PURE__ */ x("div", { className: N, children: [
9913
9923
  /* @__PURE__ */ h(
9914
9924
  "input",
9915
9925
  {
@@ -9918,15 +9928,15 @@ const Hh = Z(
9918
9928
  type: "radio",
9919
9929
  name: t,
9920
9930
  disabled: n,
9921
- className: L,
9931
+ className: I,
9922
9932
  ...p !== void 0 ? { checked: p } : { defaultChecked: d },
9923
9933
  ...w
9924
9934
  }
9925
9935
  ),
9926
- /* @__PURE__ */ x("label", { className: N, htmlFor: i, children: [
9936
+ /* @__PURE__ */ x("label", { className: T, htmlFor: i, children: [
9927
9937
  e,
9928
9938
  " ",
9929
- K(),
9939
+ G(),
9930
9940
  r && /* @__PURE__ */ h("div", { className: "pkt-input-check__input-helptext", children: r })
9931
9941
  ] })
9932
9942
  ] }) });
@@ -9951,13 +9961,13 @@ const Jd = Z(
9951
9961
  onSuggestionClick: b,
9952
9962
  ...k
9953
9963
  }, w) => {
9954
- const S = (N, H) => {
9955
- N ? N() : b && b(H);
9956
- }, P = (N) => {
9957
- d = N.target.value;
9958
- }, T = `pkt-searchinput pkt-searchinput--${i} ${e ? "pkt-searchinput--fullwidth" : ""}`;
9959
- let L;
9960
- return p ? L = (N) => /* @__PURE__ */ h("form", { role: "search", className: T, action: p, method: m, children: N }) : L = (N) => /* @__PURE__ */ h("div", { role: "search", className: T, children: N }), L(
9964
+ const S = (T, H) => {
9965
+ T ? T() : b && b(H);
9966
+ }, P = (T) => {
9967
+ d = T.target.value;
9968
+ }, N = `pkt-searchinput pkt-searchinput--${i} ${e ? "pkt-searchinput--fullwidth" : ""}`;
9969
+ let I;
9970
+ return p ? I = (T) => /* @__PURE__ */ h("form", { role: "search", className: N, action: p, method: m, children: T }) : I = (T) => /* @__PURE__ */ h("div", { role: "search", className: N, children: T }), I(
9961
9971
  /* @__PURE__ */ x(Wt, { children: [
9962
9972
  a && /* @__PURE__ */ h("label", { htmlFor: a ? s : void 0, className: a ? "pkt-inputwrapper__label" : "", children: a }),
9963
9973
  /* @__PURE__ */ x("div", { className: i === "local" ? "pkt-input__container" : "pkt-searchinput__field", children: [
@@ -9976,14 +9986,14 @@ const Jd = Z(
9976
9986
  ref: w,
9977
9987
  "aria-controls": `${s}-suggestions`,
9978
9988
  onChange: f || P,
9979
- onKeyUp: y && ((N) => {
9980
- N.key === "Enter" && (N.preventDefault(), y(d));
9989
+ onKeyUp: y && ((T) => {
9990
+ T.key === "Enter" && (T.preventDefault(), y(d));
9981
9991
  }),
9982
9992
  ...k
9983
9993
  }
9984
9994
  ),
9985
9995
  /* @__PURE__ */ h(
9986
- ri,
9996
+ oi,
9987
9997
  {
9988
9998
  className: `pkt-searchinput__button ${i === "local" ? "pkt-input-icon" : ""}`,
9989
9999
  variant: "icon-only",
@@ -9992,25 +10002,25 @@ const Jd = Z(
9992
10002
  color: i === "global" ? "yellow" : void 0,
9993
10003
  type: "submit",
9994
10004
  disabled: t,
9995
- onClick: y && ((N) => {
9996
- N.preventDefault(), y(d);
10005
+ onClick: y && ((T) => {
10006
+ T.preventDefault(), y(d);
9997
10007
  }),
9998
10008
  children: a || r
9999
10009
  }
10000
10010
  )
10001
10011
  ] }),
10002
- l && /* @__PURE__ */ h("ul", { id: `${s}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: l.map((N, H) => /* @__PURE__ */ h("li", { children: fn(
10003
- N.href ? "a" : N.onClick ? "button" : "div",
10012
+ l && /* @__PURE__ */ h("ul", { id: `${s}-suggestions`, className: "pkt-searchinput__suggestions", "aria-live": "assertive", children: l.map((T, H) => /* @__PURE__ */ h("li", { children: fn(
10013
+ T.href ? "a" : T.onClick ? "button" : "div",
10004
10014
  {
10005
- href: N.href,
10006
- className: `pkt-searchinput__suggestion ${N.onClick ? "pkt-link-button" : ""} ${N.href || N.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
10007
- type: N.onClick ? "button" : void 0,
10008
- onClick: () => S(N.onClick, H),
10009
- onKeyUp: (K) => K.key === "Enter" && S(N.onClick, H)
10015
+ href: T.href,
10016
+ className: `pkt-searchinput__suggestion ${T.onClick ? "pkt-link-button" : ""} ${T.href || T.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
10017
+ type: T.onClick ? "button" : void 0,
10018
+ onClick: () => S(T.onClick, H),
10019
+ onKeyUp: (G) => G.key === "Enter" && S(T.onClick, H)
10010
10020
  },
10011
10021
  /* @__PURE__ */ x(Wt, { children: [
10012
- N.title && /* @__PURE__ */ h("h3", { className: "pkt-searchinput__suggestion-title", children: N.title }),
10013
- N.text && /* @__PURE__ */ h("p", { className: "pkt-searchinput__suggestion-text", children: N.text })
10022
+ T.title && /* @__PURE__ */ h("h3", { className: "pkt-searchinput__suggestion-title", children: T.title }),
10023
+ T.text && /* @__PURE__ */ h("p", { className: "pkt-searchinput__suggestion-text", children: T.text })
10014
10024
  ] })
10015
10025
  ) }, `search-suggestion-${H}`)) })
10016
10026
  ] })
@@ -10036,15 +10046,15 @@ const Jd = Z(
10036
10046
  optionalTag: w = !1,
10037
10047
  optionalText: S,
10038
10048
  requiredTag: P = !1,
10039
- requiredText: T,
10040
- tagText: L,
10041
- ...N
10049
+ requiredText: N,
10050
+ tagText: I,
10051
+ ...T
10042
10052
  }, H) => {
10043
- const K = [s, "pkt-select"].join(" ");
10053
+ const G = [s, "pkt-select"].join(" ");
10044
10054
  return /* @__PURE__ */ h(
10045
10055
  ps,
10046
10056
  {
10047
- className: K,
10057
+ className: G,
10048
10058
  forId: `${m}-input`,
10049
10059
  label: b,
10050
10060
  helptext: l,
@@ -10053,8 +10063,8 @@ const Jd = Z(
10053
10063
  optionalTag: w,
10054
10064
  optionalText: S,
10055
10065
  requiredTag: P,
10056
- requiredText: T,
10057
- tagText: L,
10066
+ requiredText: N,
10067
+ tagText: I,
10058
10068
  hasError: r,
10059
10069
  errorMessage: n,
10060
10070
  disabled: a,
@@ -10071,7 +10081,7 @@ const Jd = Z(
10071
10081
  disabled: a,
10072
10082
  id: `${m}-input`,
10073
10083
  name: k || m,
10074
- ...N,
10084
+ ...T,
10075
10085
  children: e
10076
10086
  }
10077
10087
  )
@@ -10163,18 +10173,18 @@ const Jd = Z(
10163
10173
  }, y) => {
10164
10174
  const [b, k] = je(!1), w = Ls(() => {
10165
10175
  k(!0), d && d();
10166
- }, [k]), S = Pa(null), P = bn(() => {
10167
- var N, H;
10176
+ }, [k]), S = Bs(null), P = bn(() => {
10177
+ var T, H;
10168
10178
  if (a && !l) {
10169
- const K = (H = (N = S.current) == null ? void 0 : N.textContent) == null ? void 0 : H.trim();
10170
- return K && `Klikk for å fjerne ${K}` || m;
10179
+ const G = (H = (T = S.current) == null ? void 0 : T.textContent) == null ? void 0 : H.trim();
10180
+ return G && `Klikk for å fjerne ${G}` || m;
10171
10181
  }
10172
- }, [a, l]), T = {
10182
+ }, [a, l]), N = {
10173
10183
  "pkt-tag": !0,
10174
10184
  [`pkt-tag--${s}`]: !!s,
10175
10185
  [`pkt-tag--${t}`]: !!t,
10176
10186
  [`pkt-tag--${e}`]: !!e
10177
- }, L = {
10187
+ }, I = {
10178
10188
  "pkt-tag": !0,
10179
10189
  "pkt-btn": !0,
10180
10190
  "pkt-btn--tertiary": !0,
@@ -10188,20 +10198,20 @@ const Jd = Z(
10188
10198
  "button",
10189
10199
  {
10190
10200
  ...f,
10191
- className: ht(L, n),
10201
+ className: ht(I, n),
10192
10202
  type: p,
10193
10203
  onClick: w,
10194
10204
  "aria-label": l,
10195
10205
  "aria-description": P,
10196
10206
  ref: y,
10197
10207
  children: [
10198
- r && /* @__PURE__ */ h(R, { className: "pkt-tag__icon", name: r }),
10208
+ r && /* @__PURE__ */ h(L, { className: "pkt-tag__icon", name: r }),
10199
10209
  /* @__PURE__ */ h("span", { ref: S, children: i }),
10200
- /* @__PURE__ */ h(R, { className: "pkt-tag__close-btn", name: "close" })
10210
+ /* @__PURE__ */ h(L, { className: "pkt-tag__close-btn", name: "close" })
10201
10211
  ]
10202
10212
  }
10203
- ) : /* @__PURE__ */ x("span", { ...f, className: ht(T, n), ref: y, children: [
10204
- r && /* @__PURE__ */ h(R, { className: "pkt-tag__icon", name: r }),
10213
+ ) : /* @__PURE__ */ x("span", { ...f, className: ht(N, n), ref: y, children: [
10214
+ r && /* @__PURE__ */ h(L, { className: "pkt-tag__icon", name: r }),
10205
10215
  /* @__PURE__ */ h("span", { ref: S, children: i })
10206
10216
  ] });
10207
10217
  }
@@ -10222,7 +10232,7 @@ const dn = Z(
10222
10232
  f(d, P), typeof p == "function" ? p(P) : p && (p.current = P);
10223
10233
  }
10224
10234
  }, S = /* @__PURE__ */ x(Wt, { children: [
10225
- a && /* @__PURE__ */ h(R, { name: a, className: "pkt-icon--small" }),
10235
+ a && /* @__PURE__ */ h(L, { name: a, className: "pkt-icon--small" }),
10226
10236
  i,
10227
10237
  r && /* @__PURE__ */ h(hn, { skin: l, size: "small", children: r })
10228
10238
  ] });
@@ -10230,15 +10240,15 @@ const dn = Z(
10230
10240
  }
10231
10241
  );
10232
10242
  dn.displayName = "PktTabItem";
10233
- const cn = Ea(null), Kh = () => {
10234
- const i = Oa(cn);
10243
+ const cn = Oa(null), Kh = () => {
10244
+ const i = Pa(cn);
10235
10245
  if (!i)
10236
10246
  throw new Error("TabItem must be used within a Tabs component");
10237
10247
  return i;
10238
10248
  }, oc = Z(
10239
10249
  ({ arrowNav: i = !0, disableArrowNav: t = !1, tabs: e, onTabSelected: s, children: a }, n) => {
10240
- const r = Pa([]), l = i && !t, p = a && Os.count(a) > 0 ? Os.count(a) : (e == null ? void 0 : e.length) || 0;
10241
- ns(() => {
10250
+ const r = Bs([]), l = i && !t, p = a && Os.count(a) > 0 ? Os.count(a) : (e == null ? void 0 : e.length) || 0;
10251
+ Qe(() => {
10242
10252
  r.current = r.current.slice(0, p);
10243
10253
  }, [p]);
10244
10254
  const m = (k) => {
@@ -10289,29 +10299,29 @@ const cn = Ea(null), Kh = () => {
10289
10299
  name: w,
10290
10300
  optionalTag: S = !1,
10291
10301
  optionalText: P,
10292
- requiredTag: T = !1,
10293
- requiredText: L,
10294
- tagText: N = null,
10302
+ requiredTag: N = !1,
10303
+ requiredText: I,
10304
+ tagText: T = null,
10295
10305
  placeholder: H,
10296
- rows: K,
10297
- useWrapper: Nt = !0,
10298
- onChange: At,
10299
- value: Q,
10306
+ rows: G,
10307
+ useWrapper: Ft = !0,
10308
+ onChange: pt,
10309
+ value: J,
10300
10310
  autoComplete: st = "off",
10301
- minLength: Et,
10302
- maxLength: Ot,
10311
+ minLength: At,
10312
+ maxLength: Et,
10303
10313
  readOnly: at = !1,
10304
- skipForwardTestid: I = !1,
10305
- ..._t
10314
+ skipForwardTestid: R = !1,
10315
+ ...wt
10306
10316
  }, Qt) => {
10307
10317
  const oe = [n, "pkt-textinput", "pkt-textarea"].join(" "), te = `${i}-input`, we = `${te}-label`, ze = e || we, [le, Ut] = je(0), ot = (xe) => {
10308
10318
  var Se, he;
10309
- if (s && Ut(((he = (Se = xe.currentTarget) == null ? void 0 : Se.value) == null ? void 0 : he.length) || 0), At)
10310
- return At(xe);
10319
+ if (s && Ut(((he = (Se = xe.currentTarget) == null ? void 0 : Se.value) == null ? void 0 : he.length) || 0), pt)
10320
+ return pt(xe);
10311
10321
  };
10312
- return ns(() => {
10313
- Q !== void 0 && Ut((Q == null ? void 0 : Q.length) || 0);
10314
- }, [Q]), /* @__PURE__ */ h(
10322
+ return Qe(() => {
10323
+ J !== void 0 && Ut((J == null ? void 0 : J.length) || 0);
10324
+ }, [J]), /* @__PURE__ */ h(
10315
10325
  ps,
10316
10326
  {
10317
10327
  ariaDescribedby: t,
@@ -10327,10 +10337,10 @@ const cn = Ea(null), Kh = () => {
10327
10337
  label: k,
10328
10338
  optionalTag: S,
10329
10339
  optionalText: P,
10330
- requiredTag: T,
10331
- requiredText: L,
10332
- tagText: N,
10333
- useWrapper: Nt,
10340
+ requiredTag: N,
10341
+ requiredText: I,
10342
+ tagText: T,
10343
+ useWrapper: Ft,
10334
10344
  counter: s,
10335
10345
  counterCurrent: le,
10336
10346
  counterMaxLength: a,
@@ -10343,17 +10353,17 @@ const cn = Ea(null), Kh = () => {
10343
10353
  id: te,
10344
10354
  placeholder: H,
10345
10355
  disabled: r,
10346
- rows: K,
10356
+ rows: G,
10347
10357
  "aria-labelledby": ze,
10348
10358
  "aria-invalid": d,
10349
10359
  "aria-errormessage": `${i}-error`,
10350
- ..._t,
10360
+ ...wt,
10351
10361
  onChange: ot,
10352
- value: Q,
10362
+ value: J,
10353
10363
  autoComplete: st,
10354
- minLength: Et,
10355
- maxLength: Ot,
10356
- "data-skip-forward-testid": I ? "true" : void 0
10364
+ minLength: At,
10365
+ maxLength: Et,
10366
+ "data-skip-forward-testid": R ? "true" : void 0
10357
10367
  }
10358
10368
  )
10359
10369
  }
@@ -10379,20 +10389,20 @@ const cn = Ea(null), Kh = () => {
10379
10389
  fullwidth: w = !1,
10380
10390
  label: S,
10381
10391
  name: P,
10382
- optionalTag: T = !1,
10383
- optionalText: L,
10384
- requiredTag: N = !1,
10392
+ optionalTag: N = !1,
10393
+ optionalText: I,
10394
+ requiredTag: T = !1,
10385
10395
  requiredText: H,
10386
- tagText: K = null,
10387
- placeholder: Nt,
10388
- prefix: At,
10389
- suffix: Q,
10396
+ tagText: G = null,
10397
+ placeholder: Ft,
10398
+ prefix: pt,
10399
+ suffix: J,
10390
10400
  type: st = "text",
10391
- useWrapper: Et = !0,
10392
- omitSearchIcon: Ot = !1,
10401
+ useWrapper: At = !0,
10402
+ omitSearchIcon: Et = !1,
10393
10403
  value: at,
10394
- minLength: I,
10395
- maxLength: _t,
10404
+ minLength: R,
10405
+ maxLength: wt,
10396
10406
  min: Qt,
10397
10407
  max: oe,
10398
10408
  step: te,
@@ -10404,11 +10414,11 @@ const cn = Ea(null), Kh = () => {
10404
10414
  skipForwardTestid: xe = !1,
10405
10415
  ...Se
10406
10416
  }, he) => {
10407
- const us = [r, "pkt-textinput"].join(" "), Fi = st === "search" && !b && !Ot, ms = st === "date" && at ? at.slice(0, 10) : at, [Ui, We] = je((at == null ? void 0 : at.length) || 0), Ke = `${i}`, pi = `${Ke}-label`, Hi = e || pi, fs = (me) => {
10408
- var qi, zi;
10409
- a && We(((zi = (qi = me.currentTarget) == null ? void 0 : qi.value) == null ? void 0 : zi.length) || 0), ot && ot(me);
10417
+ const us = [r, "pkt-textinput"].join(" "), Ui = st === "search" && !b && !Et, ms = st === "date" && at ? at.slice(0, 10) : at, [Hi, We] = je((at == null ? void 0 : at.length) || 0), Ke = `${i}`, ui = `${Ke}-label`, qi = e || ui, fs = (me) => {
10418
+ var zi, Wi;
10419
+ a && We(((Wi = (zi = me.currentTarget) == null ? void 0 : zi.value) == null ? void 0 : Wi.length) || 0), ot && ot(me);
10410
10420
  };
10411
- return ns(() => {
10421
+ return Qe(() => {
10412
10422
  at !== void 0 && We((at == null ? void 0 : at.length) || 0);
10413
10423
  }, [at]), /* @__PURE__ */ h(
10414
10424
  ps,
@@ -10424,14 +10434,14 @@ const cn = Ea(null), Kh = () => {
10424
10434
  helptextDropdownButton: y,
10425
10435
  inline: k,
10426
10436
  label: S,
10427
- optionalTag: T,
10428
- optionalText: L,
10429
- requiredTag: N,
10437
+ optionalTag: N,
10438
+ optionalText: I,
10439
+ requiredTag: T,
10430
10440
  requiredText: H,
10431
- tagText: K,
10432
- useWrapper: Et,
10441
+ tagText: G,
10442
+ useWrapper: At,
10433
10443
  counter: a,
10434
- counterCurrent: Ui,
10444
+ counterCurrent: Hi,
10435
10445
  counterMaxLength: n,
10436
10446
  children: /* @__PURE__ */ x(
10437
10447
  "div",
@@ -10440,40 +10450,40 @@ const cn = Ea(null), Kh = () => {
10440
10450
  "data-testid": Ut,
10441
10451
  "data-skip-forward-testid": xe ? "true" : void 0,
10442
10452
  children: [
10443
- At && /* @__PURE__ */ h("div", { className: "pkt-input-prefix", children: At }),
10453
+ pt && /* @__PURE__ */ h("div", { className: "pkt-input-prefix", children: pt }),
10444
10454
  /* @__PURE__ */ h(
10445
10455
  "input",
10446
10456
  {
10447
10457
  ...Se,
10448
10458
  ref: he,
10449
- className: `pkt-input ${w ? "pkt-input--fullwidth" : ""} ${n && Ui > n ? "pkt-input--counter-error" : ""}`,
10459
+ className: `pkt-input ${w ? "pkt-input--fullwidth" : ""} ${n && Hi > n ? "pkt-input--counter-error" : ""}`,
10450
10460
  type: st,
10451
10461
  name: `${P || i}`,
10452
10462
  value: ms,
10453
10463
  id: Ke,
10454
- placeholder: Nt,
10464
+ placeholder: Ft,
10455
10465
  autoComplete: s,
10456
10466
  disabled: l,
10457
10467
  "aria-invalid": p,
10458
10468
  "aria-errormessage": `${i}-error`,
10459
- "aria-labelledby": Hi,
10469
+ "aria-labelledby": qi,
10460
10470
  min: Qt,
10461
10471
  max: oe,
10462
10472
  onChange: fs,
10463
10473
  step: te,
10464
- minLength: I,
10465
- maxLength: _t,
10474
+ minLength: R,
10475
+ maxLength: wt,
10466
10476
  size: we,
10467
10477
  required: le
10468
10478
  }
10469
10479
  ),
10470
- Q && /* @__PURE__ */ x("p", { className: "pkt-input-suffix", children: [
10471
- Q,
10472
- b && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: b }),
10473
- Fi && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10480
+ J && /* @__PURE__ */ x("p", { className: "pkt-input-suffix", children: [
10481
+ J,
10482
+ b && /* @__PURE__ */ h(L, { className: "pkt-input-suffix-icon", name: b }),
10483
+ Ui && /* @__PURE__ */ h(L, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10474
10484
  ] }),
10475
- !Q && b && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: b }),
10476
- !Q && Fi && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10485
+ !J && b && /* @__PURE__ */ h(L, { className: "pkt-input-icon", name: b }),
10486
+ !J && Ui && /* @__PURE__ */ h(L, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10477
10487
  ]
10478
10488
  }
10479
10489
  )
@@ -10487,18 +10497,18 @@ export {
10487
10497
  ln as PktAlert,
10488
10498
  $h as PktBackLink,
10489
10499
  Kd as PktBreadcrumbs,
10490
- ri as PktButton,
10500
+ oi as PktButton,
10491
10501
  wh as PktCard,
10492
10502
  xh as PktCheckbox,
10493
10503
  Ch as PktCombobox,
10494
- Us as PktConsent,
10504
+ Hs as PktConsent,
10495
10505
  Nh as PktDatepicker,
10496
10506
  Gd as PktFooter,
10497
10507
  Yd as PktFooterSimple,
10498
10508
  Zd as PktHeader,
10499
10509
  Eh as PktHeading,
10500
10510
  Ph as PktHelptext,
10501
- R as PktIcon,
10511
+ L as PktIcon,
10502
10512
  Mh as PktInput,
10503
10513
  ps as PktInputWrapper,
10504
10514
  Dh as PktLink,