@oslokommune/punkt-react 13.13.2 → 13.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,9 +35,9 @@
35
35
  }
36
36
  import { jsx as h, jsxs as x, Fragment as Gt } from "react/jsx-runtime";
37
37
  import * as dn from "react";
38
- import ct, { createContext as Na, forwardRef as G, useContext as Aa, useState as oi, useEffect as as, useCallback as Ea, Fragment as cn, createRef as pn, createElement as un, Children as Es, isValidElement as mn, cloneElement as fn, useRef as gn } from "react";
38
+ import pt, { createContext as Na, forwardRef as Y, useContext as Aa, useState as oi, useEffect as as, useCallback as Ea, Fragment as cn, createRef as pn, createElement as un, Children as Es, isValidElement as mn, cloneElement as fn, useRef as gn } from "react";
39
39
  import { Link as zs } from "react-router-dom";
40
- const Oa = Na({}), vn = () => Aa(Oa), bn = G(
40
+ const Oa = Na({}), vn = () => Aa(Oa), bn = Y(
41
41
  ({ compact: i = !1, skin: t = "borderless", ariaLabelledBy: e, children: s, name: a, className: n }, r) => {
42
42
  const l = [
43
43
  "pkt-accordion",
@@ -71,7 +71,7 @@ const yn = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
71
71
  let g = p.get(l);
72
72
  d !== void 0 ? g === void 0 ? (p.set(l, g = { handleEvent: d }), r.addEventListener(l, g)) : g.handleEvent = d : g !== void 0 && (p.delete(l), r.removeEventListener(l, g));
73
73
  })(i, n, e);
74
- }, Lt = ({ react: i, tagName: t, elementClass: e, events: s, displayName: a }) => {
74
+ }, zt = ({ react: i, tagName: t, elementClass: e, events: s, displayName: a }) => {
75
75
  const n = new Set(Object.keys(s ?? {})), r = i.forwardRef(((l, d) => {
76
76
  const p = i.useRef(/* @__PURE__ */ new Map()), g = i.useRef(null), f = {}, k = {};
77
77
  for (const [b, y] of Object.entries(l)) yn.has(b) ? f[b === "className" ? "class" : b] = y : n.has(b) || b in e.prototype ? k[b] = y : f[b] = y;
@@ -95,9 +95,9 @@ const yn = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
95
95
  * Copyright 2017 Google LLC
96
96
  * SPDX-License-Identifier: BSD-3-Clause
97
97
  */
98
- const Xi = globalThis, Ji = Xi.trustedTypes, Gs = Ji ? Ji.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Pa = "$lit$", be = `lit$${Math.random().toFixed(9).slice(2)}$`, Ma = "?" + be, kn = `<${Ma}>`, De = document, Ni = () => De.createComment(""), Ai = (i) => i === null || typeof i != "object" && typeof i != "function", Rs = Array.isArray, $n = (i) => Rs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", vs = `[
99
- \f\r]`, fi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ys = /-->/g, Zs = />/g, Ne = RegExp(`>|${vs}(?:([^\\s"'>=/]+)(${vs}*=${vs}*(?:[^
100
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Xs = /'/g, Js = /"/g, Ia = /^(?:script|style|textarea|title)$/i, _n = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = _n(1), wt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qs = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
98
+ const Xi = globalThis, Ji = Xi.trustedTypes, Gs = Ji ? Ji.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Pa = "$lit$", be = `lit$${Math.random().toFixed(9).slice(2)}$`, Ma = "?" + be, kn = `<${Ma}>`, Ie = document, Ni = () => Ie.createComment(""), Ai = (i) => i === null || typeof i != "object" && typeof i != "function", Rs = Array.isArray, $n = (i) => Rs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", vs = `[
99
+ \f\r]`, fi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ys = /-->/g, Zs = />/g, Te = RegExp(`>|${vs}(?:([^\\s"'>=/]+)(${vs}*=${vs}*(?:[^
100
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xs = /'/g, Js = /"/g, Ia = /^(?:script|style|textarea|title)$/i, _n = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = _n(1), wt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qs = /* @__PURE__ */ new WeakMap(), Oe = Ie.createTreeWalker(Ie, 129);
101
101
  function Da(i, t) {
102
102
  if (!Rs(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
103
103
  return Gs !== void 0 ? Gs.createHTML(t) : t;
@@ -108,8 +108,8 @@ const wn = (i, t) => {
108
108
  for (let l = 0; l < e; l++) {
109
109
  const d = i[l];
110
110
  let p, g, f = -1, k = 0;
111
- for (; k < d.length && (r.lastIndex = k, g = r.exec(d), g !== null); ) k = r.lastIndex, r === fi ? g[1] === "!--" ? r = Ys : g[1] !== void 0 ? r = Zs : g[2] !== void 0 ? (Ia.test(g[2]) && (a = RegExp("</" + g[2], "g")), r = Ne) : g[3] !== void 0 && (r = Ne) : r === Ne ? g[0] === ">" ? (r = a ?? fi, f = -1) : g[1] === void 0 ? f = -2 : (f = r.lastIndex - g[2].length, p = g[1], r = g[3] === void 0 ? Ne : g[3] === '"' ? Js : Xs) : r === Js || r === Xs ? r = Ne : r === Ys || r === Zs ? r = fi : (r = Ne, a = void 0);
112
- const b = r === Ne && i[l + 1].startsWith("/>") ? " " : "";
111
+ for (; k < d.length && (r.lastIndex = k, g = r.exec(d), g !== null); ) k = r.lastIndex, r === fi ? g[1] === "!--" ? r = Ys : g[1] !== void 0 ? r = Zs : g[2] !== void 0 ? (Ia.test(g[2]) && (a = RegExp("</" + g[2], "g")), r = Te) : g[3] !== void 0 && (r = Te) : r === Te ? g[0] === ">" ? (r = a ?? fi, f = -1) : g[1] === void 0 ? f = -2 : (f = r.lastIndex - g[2].length, p = g[1], r = g[3] === void 0 ? Te : g[3] === '"' ? Js : Xs) : r === Js || r === Xs ? r = Te : r === Ys || r === Zs ? r = fi : (r = Te, a = void 0);
112
+ const b = r === Te && i[l + 1].startsWith("/>") ? " " : "";
113
113
  n += r === fi ? d + kn : f >= 0 ? (s.push(p), d.slice(0, f) + Pa + d.slice(f) + be + b) : d + be + (f === -2 ? l : b);
114
114
  }
115
115
  return [Da(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
@@ -120,11 +120,11 @@ let Os = class Ra {
120
120
  this.parts = [];
121
121
  let n = 0, r = 0;
122
122
  const l = t.length - 1, d = this.parts, [p, g] = wn(t, e);
123
- if (this.el = Ra.createElement(p, s), Pe.currentNode = this.el.content, e === 2 || e === 3) {
123
+ if (this.el = Ra.createElement(p, s), Oe.currentNode = this.el.content, e === 2 || e === 3) {
124
124
  const f = this.el.content.firstChild;
125
125
  f.replaceWith(...f.childNodes);
126
126
  }
127
- for (; (a = Pe.nextNode()) !== null && d.length < l; ) {
127
+ for (; (a = Oe.nextNode()) !== null && d.length < l; ) {
128
128
  if (a.nodeType === 1) {
129
129
  if (a.hasAttributes()) for (const f of a.getAttributeNames()) if (f.endsWith(Pa)) {
130
130
  const k = g[r++], b = a.getAttribute(f).split(be), y = /([.?@])?(.*)/.exec(k);
@@ -134,7 +134,7 @@ let Os = class Ra {
134
134
  const f = a.textContent.split(be), k = f.length - 1;
135
135
  if (k > 0) {
136
136
  a.textContent = Ji ? Ji.emptyScript : "";
137
- for (let b = 0; b < k; b++) a.append(f[b], Ni()), Pe.nextNode(), d.push({ type: 2, index: ++n });
137
+ for (let b = 0; b < k; b++) a.append(f[b], Ni()), Oe.nextNode(), d.push({ type: 2, index: ++n });
138
138
  a.append(f[k], Ni());
139
139
  }
140
140
  }
@@ -147,7 +147,7 @@ let Os = class Ra {
147
147
  }
148
148
  }
149
149
  static createElement(t, e) {
150
- const s = De.createElement("template");
150
+ const s = Ie.createElement("template");
151
151
  return s.innerHTML = t, s;
152
152
  }
153
153
  };
@@ -169,17 +169,17 @@ let xn = class {
169
169
  return this._$AM._$AU;
170
170
  }
171
171
  u(t) {
172
- const { el: { content: e }, parts: s } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ?? De).importNode(e, !0);
173
- Pe.currentNode = a;
174
- let n = Pe.nextNode(), r = 0, l = 0, d = s[0];
172
+ const { el: { content: e }, parts: s } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ?? Ie).importNode(e, !0);
173
+ Oe.currentNode = a;
174
+ let n = Oe.nextNode(), r = 0, l = 0, d = s[0];
175
175
  for (; d !== void 0; ) {
176
176
  if (r === d.index) {
177
177
  let p;
178
178
  d.type === 2 ? p = new ns(n, n.nextSibling, this, t) : d.type === 1 ? p = new d.ctor(n, d.name, d.strings, this, t) : d.type === 6 && (p = new Nn(n, this, t)), this._$AV.push(p), d = s[++l];
179
179
  }
180
- r !== (d == null ? void 0 : d.index) && (n = Pe.nextNode(), r++);
180
+ r !== (d == null ? void 0 : d.index) && (n = Oe.nextNode(), r++);
181
181
  }
182
- return Pe.currentNode = De, a;
182
+ return Oe.currentNode = Ie, a;
183
183
  }
184
184
  p(t) {
185
185
  let e = 0;
@@ -214,7 +214,7 @@ let xn = class {
214
214
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
215
215
  }
216
216
  _(t) {
217
- this._$AH !== $ && Ai(this._$AH) ? this._$AA.nextSibling.data = t : this.T(De.createTextNode(t)), this._$AH = t;
217
+ this._$AH !== $ && Ai(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ie.createTextNode(t)), this._$AH = t;
218
218
  }
219
219
  $(t) {
220
220
  var e;
@@ -765,7 +765,7 @@ const O = Fe(class extends li {
765
765
  * Copyright 2017 Google LLC
766
766
  * SPDX-License-Identifier: BSD-3-Clause
767
767
  */
768
- function R(i) {
768
+ function L(i) {
769
769
  return o({ ...i, state: !0, attribute: !1 });
770
770
  }
771
771
  function ja(i, t) {
@@ -883,7 +883,7 @@ const { I: Zn } = An, Fa = (i) => i.strings === void 0, la = () => document.crea
883
883
  }
884
884
  }
885
885
  return e;
886
- }, Ae = (i, t, e = i) => (i._$AI(t, e), i), Xn = {}, Ua = (i, t = Xn) => i._$AH = t, Jn = (i) => i._$AH, ys = (i) => {
886
+ }, Ne = (i, t, e = i) => (i._$AI(t, e), i), Xn = {}, Ua = (i, t = Xn) => i._$AH = t, Jn = (i) => i._$AH, ys = (i) => {
887
887
  i._$AR(), i._$AA.remove();
888
888
  };
889
889
  /**
@@ -1020,7 +1020,7 @@ var ar = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, Di = (i, t
1020
1020
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1021
1021
  return s && a && ar(t, e, a), a;
1022
1022
  };
1023
- const Ms = "https://punkt-cdn.oslo.kommune.no/13.13/icons/";
1023
+ const Ms = "https://punkt-cdn.oslo.kommune.no/13.14/icons/";
1024
1024
  typeof window < "u" && (window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch, window.pktIconPath = window.pktIconPath || Ms);
1025
1025
  const rr = (i) => new Promise((t) => setTimeout(t, i)), Zi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', $s = {}, or = async (i, t) => {
1026
1026
  let e = 0;
@@ -1031,7 +1031,7 @@ const rr = (i) => new Promise((t) => setTimeout(t, i)), Zi = '<svg xmlns="http:/
1031
1031
  window.pktFetch(t + i + ".svg").then((a) => a.ok ? a.text() : (console.error("Missing icon: " + t + i + ".svg"), Zi)).then((a) => (a !== Zi && s && localStorage.setItem(t + i + ".svg", a), $s[t + i + ".svg"] = "fetched", a))
1032
1032
  )) : Promise.resolve(Zi);
1033
1033
  };
1034
- let Re = class extends K {
1034
+ let De = class extends K {
1035
1035
  constructor() {
1036
1036
  super(...arguments), this.path = typeof window < "u" ? window.pktIconPath : Ms, this.name = "", this.icon = ha(Zi), this._updatedProps = [];
1037
1037
  }
@@ -1055,19 +1055,19 @@ let Re = class extends K {
1055
1055
  };
1056
1056
  Di([
1057
1057
  o({ type: String, reflect: !1 })
1058
- ], Re.prototype, "path", 2);
1058
+ ], De.prototype, "path", 2);
1059
1059
  Di([
1060
1060
  o({ type: String, reflect: !0 })
1061
- ], Re.prototype, "name", 2);
1061
+ ], De.prototype, "name", 2);
1062
1062
  Di([
1063
1063
  o({ type: SVGElement })
1064
- ], Re.prototype, "icon", 2);
1064
+ ], De.prototype, "icon", 2);
1065
1065
  Di([
1066
1066
  o({ type: Array, noAccessor: !0 })
1067
- ], Re.prototype, "_updatedProps", 2);
1068
- Re = Di([
1067
+ ], De.prototype, "_updatedProps", 2);
1068
+ De = Di([
1069
1069
  V("pkt-icon")
1070
- ], Re);
1070
+ ], De);
1071
1071
  /**
1072
1072
  * @license
1073
1073
  * Copyright 2018 Google LLC
@@ -1079,7 +1079,7 @@ var lr = Object.defineProperty, hr = Object.getOwnPropertyDescriptor, bt = (i, t
1079
1079
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1080
1080
  return s && a && lr(t, e, a), a;
1081
1081
  };
1082
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
1082
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
1083
1083
  let ut = class extends K {
1084
1084
  constructor() {
1085
1085
  super(), this.defaultSlot = N(), 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);
@@ -1289,7 +1289,7 @@ ae([
1289
1289
  o({ type: String, reflect: !0 })
1290
1290
  ], Yt.prototype, "role", 2);
1291
1291
  ae([
1292
- R()
1292
+ L()
1293
1293
  ], Yt.prototype, "_isClosed", 2);
1294
1294
  Yt = ae([
1295
1295
  V("pkt-alert")
@@ -1466,11 +1466,11 @@ const za = 6048e5, yr = 864e5, da = Symbol.for("constructDateFrom");
1466
1466
  function ie(i, t) {
1467
1467
  return typeof i == "function" ? i(t) : i && typeof i == "object" && da in i ? i[da](t) : i instanceof Date ? new i.constructor(t) : new Date(t);
1468
1468
  }
1469
- function Bt(i, t) {
1469
+ function Lt(i, t) {
1470
1470
  return ie(t || i, i);
1471
1471
  }
1472
1472
  function _s(i, t, e) {
1473
- const s = Bt(i, void 0);
1473
+ const s = Lt(i, void 0);
1474
1474
  return isNaN(t) ? ie(i, NaN) : (t && s.setDate(s.getDate() + t), s);
1475
1475
  }
1476
1476
  let kr = {};
@@ -1479,14 +1479,14 @@ function hs() {
1479
1479
  }
1480
1480
  function Oi(i, t) {
1481
1481
  var e, s, a, n;
1482
- const r = hs(), 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 = Bt(i, t == null ? void 0 : t.in), p = d.getDay(), g = (p < l ? 7 : 0) + p - l;
1482
+ const r = hs(), 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(), g = (p < l ? 7 : 0) + p - l;
1483
1483
  return d.setDate(d.getDate() - g), d.setHours(0, 0, 0, 0), d;
1484
1484
  }
1485
1485
  function is(i, t) {
1486
1486
  return Oi(i, { ...t, weekStartsOn: 1 });
1487
1487
  }
1488
1488
  function Wa(i, t) {
1489
- const e = Bt(i, void 0), s = e.getFullYear(), a = ie(e, 0);
1489
+ const e = Lt(i, void 0), s = e.getFullYear(), a = ie(e, 0);
1490
1490
  a.setFullYear(s + 1, 0, 4), a.setHours(0, 0, 0, 0);
1491
1491
  const n = is(a), r = ie(e, 0);
1492
1492
  r.setFullYear(s, 0, 4), r.setHours(0, 0, 0, 0);
@@ -1494,7 +1494,7 @@ function Wa(i, t) {
1494
1494
  return e.getTime() >= n.getTime() ? s + 1 : e.getTime() >= l.getTime() ? s : s - 1;
1495
1495
  }
1496
1496
  function ca(i) {
1497
- const t = Bt(i), e = new Date(
1497
+ const t = Lt(i), e = new Date(
1498
1498
  Date.UTC(
1499
1499
  t.getFullYear(),
1500
1500
  t.getMonth(),
@@ -1515,7 +1515,7 @@ function Ka(i, ...t) {
1515
1515
  return t.map(e);
1516
1516
  }
1517
1517
  function pa(i, t) {
1518
- const e = Bt(i, void 0);
1518
+ const e = Lt(i, void 0);
1519
1519
  return e.setHours(0, 0, 0, 0), e;
1520
1520
  }
1521
1521
  function $r(i, t, e) {
@@ -1534,7 +1534,7 @@ function wr(i) {
1534
1534
  return i instanceof Date || typeof i == "object" && Object.prototype.toString.call(i) === "[object Date]";
1535
1535
  }
1536
1536
  function xr(i) {
1537
- return !(!wr(i) && typeof i != "number" || isNaN(+Bt(i)));
1537
+ return !(!wr(i) && typeof i != "number" || isNaN(+Lt(i)));
1538
1538
  }
1539
1539
  function Sr(i, t) {
1540
1540
  const [e, s] = Ka(i, t.start, t.end);
@@ -1552,7 +1552,7 @@ function ws(i, t) {
1552
1552
  return a ? d.reverse() : d;
1553
1553
  }
1554
1554
  function Cr(i, t) {
1555
- const e = Bt(i, void 0);
1555
+ const e = Lt(i, void 0);
1556
1556
  return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
1557
1557
  }
1558
1558
  const Tr = {
@@ -1987,16 +1987,16 @@ const Wr = /^(\d+)(th|st|nd|rd)?/i, Kr = /\d+/i, Gr = {
1987
1987
  }
1988
1988
  };
1989
1989
  function ro(i, t) {
1990
- const e = Bt(i, void 0);
1990
+ const e = Lt(i, void 0);
1991
1991
  return $r(e, Cr(e)) + 1;
1992
1992
  }
1993
1993
  function oo(i, t) {
1994
- const e = Bt(i, void 0), s = +is(e) - +_r(e);
1994
+ const e = Lt(i, void 0), s = +is(e) - +_r(e);
1995
1995
  return Math.round(s / za) + 1;
1996
1996
  }
1997
1997
  function Ga(i, t) {
1998
1998
  var e, s, a, n;
1999
- const r = Bt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = hs(), 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, g = ie((t == null ? void 0 : t.in) || i, 0);
1999
+ const r = Lt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = hs(), 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, g = ie((t == null ? void 0 : t.in) || i, 0);
2000
2000
  g.setFullYear(l + 1, 0, p), g.setHours(0, 0, 0, 0);
2001
2001
  const f = Oi(g, t), k = ie((t == null ? void 0 : t.in) || i, 0);
2002
2002
  k.setFullYear(l, 0, p), k.setHours(0, 0, 0, 0);
@@ -2009,7 +2009,7 @@ function lo(i, t) {
2009
2009
  return p.setFullYear(d, 0, l), p.setHours(0, 0, 0, 0), Oi(p, t);
2010
2010
  }
2011
2011
  function Ya(i, t) {
2012
- const e = Bt(i, t == null ? void 0 : t.in), s = +Oi(e, t) - +lo(e, t);
2012
+ const e = Lt(i, t == null ? void 0 : t.in), s = +Oi(e, t) - +lo(e, t);
2013
2013
  return Math.round(s / za) + 1;
2014
2014
  }
2015
2015
  function H(i, t) {
@@ -2558,7 +2558,7 @@ const ge = {
2558
2558
  // so this token always has the same output as `XX`
2559
2559
  case "XXXX":
2560
2560
  case "XX":
2561
- return Oe(s);
2561
+ return Ee(s);
2562
2562
  // Hours, minutes and optional seconds with `:` delimiter
2563
2563
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2564
2564
  // so this token always has the same output as `XXX`
@@ -2566,7 +2566,7 @@ const ge = {
2566
2566
  case "XXX":
2567
2567
  // Hours and minutes with `:` delimiter
2568
2568
  default:
2569
- return Oe(s, ":");
2569
+ return Ee(s, ":");
2570
2570
  }
2571
2571
  },
2572
2572
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2581,7 +2581,7 @@ const ge = {
2581
2581
  // so this token always has the same output as `xx`
2582
2582
  case "xxxx":
2583
2583
  case "xx":
2584
- return Oe(s);
2584
+ return Ee(s);
2585
2585
  // Hours, minutes and optional seconds with `:` delimiter
2586
2586
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2587
2587
  // so this token always has the same output as `xxx`
@@ -2589,7 +2589,7 @@ const ge = {
2589
2589
  case "xxx":
2590
2590
  // Hours and minutes with `:` delimiter
2591
2591
  default:
2592
- return Oe(s, ":");
2592
+ return Ee(s, ":");
2593
2593
  }
2594
2594
  },
2595
2595
  // Timezone (GMT)
@@ -2604,7 +2604,7 @@ const ge = {
2604
2604
  // Long
2605
2605
  case "OOOO":
2606
2606
  default:
2607
- return "GMT" + Oe(s, ":");
2607
+ return "GMT" + Ee(s, ":");
2608
2608
  }
2609
2609
  },
2610
2610
  // Timezone (specific non-location)
@@ -2619,7 +2619,7 @@ const ge = {
2619
2619
  // Long
2620
2620
  case "zzzz":
2621
2621
  default:
2622
- return "GMT" + Oe(s, ":");
2622
+ return "GMT" + Ee(s, ":");
2623
2623
  }
2624
2624
  },
2625
2625
  // Seconds timestamp
@@ -2637,9 +2637,9 @@ function ma(i, t = "") {
2637
2637
  return n === 0 ? e + String(a) : e + String(a) + t + H(n, 2);
2638
2638
  }
2639
2639
  function fa(i, t) {
2640
- return i % 60 === 0 ? (i > 0 ? "-" : "+") + H(Math.abs(i) / 60, 2) : Oe(i, t);
2640
+ return i % 60 === 0 ? (i > 0 ? "-" : "+") + H(Math.abs(i) / 60, 2) : Ee(i, t);
2641
2641
  }
2642
- function Oe(i, t = "") {
2642
+ function Ee(i, t = "") {
2643
2643
  const e = i > 0 ? "-" : "+", s = Math.abs(i), a = H(Math.trunc(s / 60), 2), n = H(s % 60, 2);
2644
2644
  return e + a + t + n;
2645
2645
  }
@@ -2709,7 +2709,7 @@ function bo(i, t, e) {
2709
2709
  const yo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ko = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, $o = /^'([^]*?)'?$/, _o = /''/g, wo = /[a-zA-Z]/;
2710
2710
  function xo(i, t, e) {
2711
2711
  var s, a, n, r;
2712
- const l = hs(), d = l.locale ?? no, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, g = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, f = Bt(i, void 0);
2712
+ const l = hs(), d = l.locale ?? no, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, g = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, f = Lt(i, void 0);
2713
2713
  if (!xr(f))
2714
2714
  throw new RangeError("Invalid time value");
2715
2715
  let k = t.match(ko).map((y) => {
@@ -2752,7 +2752,7 @@ function So(i) {
2752
2752
  return t ? t[1].replace(_o, "'") : i;
2753
2753
  }
2754
2754
  function Co(i, t) {
2755
- const e = Bt(i, void 0).getDay();
2755
+ const e = Lt(i, void 0).getDay();
2756
2756
  return e === 0 ? 7 : e;
2757
2757
  }
2758
2758
  function To(i, t, e = "long") {
@@ -2764,7 +2764,7 @@ function To(i, t, e = "long") {
2764
2764
  }).format(t).split(/\s/g).slice(2).join(" ");
2765
2765
  }
2766
2766
  const va = {}, _i = {};
2767
- function Me(i, t) {
2767
+ function Pe(i, t) {
2768
2768
  try {
2769
2769
  const e = (va[i] || (va[i] = new Intl.DateTimeFormat("en-US", {
2770
2770
  timeZone: i,
@@ -2785,7 +2785,7 @@ function ba(i, t) {
2785
2785
  let wi = class xi extends Date {
2786
2786
  //#region static
2787
2787
  constructor(...t) {
2788
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Me(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)), Xa(this), Is(this)) : this.setTime(Date.now());
2788
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Pe(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)), Xa(this), Is(this)) : this.setTime(Date.now());
2789
2789
  }
2790
2790
  static tz(t, ...e) {
2791
2791
  return e.length ? new xi(...e, t) : new xi(Date.now(), t);
@@ -2796,7 +2796,7 @@ let wi = class xi extends Date {
2796
2796
  return new xi(+this, t);
2797
2797
  }
2798
2798
  getTimezoneOffset() {
2799
- const t = -Me(this.timeZone, this);
2799
+ const t = -Pe(this.timeZone, this);
2800
2800
  return t > 0 ? Math.floor(t) : Math.ceil(t);
2801
2801
  }
2802
2802
  //#endregion
@@ -2824,13 +2824,13 @@ Object.getOwnPropertyNames(Date.prototype).forEach((i) => {
2824
2824
  }));
2825
2825
  });
2826
2826
  function Is(i) {
2827
- i.internal.setTime(+i), i.internal.setUTCSeconds(i.internal.getUTCSeconds() - Math.round(-Me(i.timeZone, i) * 60));
2827
+ i.internal.setTime(+i), i.internal.setUTCSeconds(i.internal.getUTCSeconds() - Math.round(-Pe(i.timeZone, i) * 60));
2828
2828
  }
2829
2829
  function Ao(i) {
2830
2830
  Date.prototype.setFullYear.call(i, i.internal.getUTCFullYear(), i.internal.getUTCMonth(), i.internal.getUTCDate()), Date.prototype.setHours.call(i, i.internal.getUTCHours(), i.internal.getUTCMinutes(), i.internal.getUTCSeconds(), i.internal.getUTCMilliseconds()), Xa(i);
2831
2831
  }
2832
2832
  function Xa(i) {
2833
- const t = Me(i.timeZone, i), e = t > 0 ? Math.floor(t) : Math.ceil(t), s = /* @__PURE__ */ new Date(+i);
2833
+ const t = Pe(i.timeZone, i), e = t > 0 ? Math.floor(t) : Math.ceil(t), s = /* @__PURE__ */ new Date(+i);
2834
2834
  s.setUTCHours(s.getUTCHours() - 1);
2835
2835
  const a = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset(), n = -(/* @__PURE__ */ new Date(+s)).getTimezoneOffset(), r = a - n, l = Date.prototype.getHours.apply(i) !== i.internal.getUTCHours();
2836
2836
  r && l && i.internal.setUTCMinutes(i.internal.getUTCMinutes() + r);
@@ -2838,12 +2838,12 @@ function Xa(i) {
2838
2838
  d && Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + d);
2839
2839
  const p = /* @__PURE__ */ new Date(+i);
2840
2840
  p.setUTCSeconds(0);
2841
- const g = a > 0 ? p.getSeconds() : (p.getSeconds() - 60) % 60, f = Math.round(-(Me(i.timeZone, i) * 60)) % 60;
2841
+ const g = a > 0 ? p.getSeconds() : (p.getSeconds() - 60) % 60, f = Math.round(-(Pe(i.timeZone, i) * 60)) % 60;
2842
2842
  (f || g) && (i.internal.setUTCSeconds(i.internal.getUTCSeconds() + f), Date.prototype.setUTCSeconds.call(i, Date.prototype.getUTCSeconds.call(i) + f + g));
2843
- const k = Me(i.timeZone, i), b = k > 0 ? Math.floor(k) : Math.ceil(k), y = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset() - b, w = b !== e, C = y - d;
2843
+ const k = Pe(i.timeZone, i), b = k > 0 ? Math.floor(k) : Math.ceil(k), y = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset() - b, w = b !== e, C = y - d;
2844
2844
  if (w && C) {
2845
2845
  Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + C);
2846
- const P = Me(i.timeZone, i), T = P > 0 ? Math.floor(P) : Math.ceil(P), F = b - T;
2846
+ const P = Pe(i.timeZone, i), T = P > 0 ? Math.floor(P) : Math.ceil(P), F = b - T;
2847
2847
  F && (i.internal.setUTCMinutes(i.internal.getUTCMinutes() + F), Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + F));
2848
2848
  }
2849
2849
  }
@@ -2976,7 +2976,7 @@ const nt = (i) => {
2976
2976
  csvToArray: Qa,
2977
2977
  stringToDate: Bo,
2978
2978
  stringsToDate: Vo
2979
- }, jo = { earliest: { default: null }, latest: { default: null }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, maxMultiple: { default: 4 }, range: { default: !1 } }, Ee = {
2979
+ }, jo = { earliest: { default: null }, latest: { default: null }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, maxMultiple: { default: 4 }, range: { default: !1 } }, Ae = {
2980
2980
  props: jo
2981
2981
  };
2982
2982
  var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, W = (i, t, e, s) => {
@@ -2986,7 +2986,7 @@ var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, W = (i, t,
2986
2986
  };
2987
2987
  let q = class extends K {
2988
2988
  constructor() {
2989
- super(...arguments), this.multiple = Ee.props.multiple.default, this.maxMultiple = Ee.props.maxMultiple.default, this.range = Ee.props.range.default, this.weeknumbers = Ee.props.weeknumbers.default, this.withcontrols = Ee.props.withcontrols.default, this.selected = [], this.earliest = Ee.props.earliest.default, this.latest = Ee.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;
2989
+ super(...arguments), this.multiple = Ae.props.multiple.default, this.maxMultiple = Ae.props.maxMultiple.default, this.range = Ae.props.range.default, this.weeknumbers = Ae.props.weeknumbers.default, this.withcontrols = Ae.props.withcontrols.default, this.selected = [], this.earliest = Ae.props.earliest.default, this.latest = Ae.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;
2990
2990
  }
2991
2991
  /**
2992
2992
  * Runs on mount, used to set up various values and whatever you need to run
@@ -3462,19 +3462,19 @@ W([
3462
3462
  o({ type: Date })
3463
3463
  ], q.prototype, "rangeHovered", 2);
3464
3464
  W([
3465
- R()
3465
+ L()
3466
3466
  ], q.prototype, "inRange", 2);
3467
3467
  W([
3468
- R()
3468
+ L()
3469
3469
  ], q.prototype, "focusedDate", 2);
3470
3470
  W([
3471
- R()
3471
+ L()
3472
3472
  ], q.prototype, "selectableDates", 2);
3473
3473
  W([
3474
- R()
3474
+ L()
3475
3475
  ], q.prototype, "currentmonthtouched", 2);
3476
3476
  W([
3477
- R()
3477
+ L()
3478
3478
  ], q.prototype, "tabIndexSet", 2);
3479
3479
  q = W([
3480
3480
  V("pkt-calendar")
@@ -3487,7 +3487,7 @@ var qo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, ne = (i, t
3487
3487
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3488
3488
  return s && a && qo(t, e, a), a;
3489
3489
  };
3490
- let qt = class extends K {
3490
+ let Ht = class extends K {
3491
3491
  constructor() {
3492
3492
  super(), this.defaultSlot = N(), 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) => {
3493
3493
  this._isClosed = !0, this.dispatchEvent(
@@ -3545,40 +3545,40 @@ let qt = class extends K {
3545
3545
  };
3546
3546
  ne([
3547
3547
  o({ type: Boolean, reflect: !0 })
3548
- ], qt.prototype, "closeTag", 2);
3548
+ ], Ht.prototype, "closeTag", 2);
3549
3549
  ne([
3550
3550
  o({ type: String, reflect: !0 })
3551
- ], qt.prototype, "size", 2);
3551
+ ], Ht.prototype, "size", 2);
3552
3552
  ne([
3553
3553
  o({ type: String, reflect: !0 })
3554
- ], qt.prototype, "skin", 2);
3554
+ ], Ht.prototype, "skin", 2);
3555
3555
  ne([
3556
3556
  o({ type: String, reflect: !0 })
3557
- ], qt.prototype, "textStyle", 2);
3557
+ ], Ht.prototype, "textStyle", 2);
3558
3558
  ne([
3559
3559
  o({ type: String, reflect: !0 })
3560
- ], qt.prototype, "iconName", 2);
3560
+ ], Ht.prototype, "iconName", 2);
3561
3561
  ne([
3562
3562
  o({ type: String })
3563
- ], qt.prototype, "type", 2);
3563
+ ], Ht.prototype, "type", 2);
3564
3564
  ne([
3565
3565
  o({ type: String })
3566
- ], qt.prototype, "ariaLabel", 2);
3566
+ ], Ht.prototype, "ariaLabel", 2);
3567
3567
  ne([
3568
- R()
3569
- ], qt.prototype, "_isClosed", 2);
3568
+ L()
3569
+ ], Ht.prototype, "_isClosed", 2);
3570
3570
  ne([
3571
- R()
3572
- ], qt.prototype, "_ariaDescription", 2);
3573
- qt = ne([
3571
+ L()
3572
+ ], Ht.prototype, "_ariaDescription", 2);
3573
+ Ht = ne([
3574
3574
  V("pkt-tag")
3575
- ], qt);
3575
+ ], Ht);
3576
3576
  var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, Li = (i, t, e, s) => {
3577
3577
  for (var a = s > 1 ? void 0 : s ? Ko(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3578
3578
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3579
3579
  return s && a && Wo(t, e, a), a;
3580
3580
  };
3581
- let Le = class extends os {
3581
+ let Re = class extends os {
3582
3582
  constructor() {
3583
3583
  super(...arguments), this.size = void 0, this.level = 2, this.visuallyHidden = !1, this.align = void 0;
3584
3584
  }
@@ -3632,23 +3632,23 @@ let Le = class extends os {
3632
3632
  };
3633
3633
  Li([
3634
3634
  o({ type: String, reflect: !0 })
3635
- ], Le.prototype, "size", 2);
3635
+ ], Re.prototype, "size", 2);
3636
3636
  Li([
3637
3637
  o({ type: Number, reflect: !0 })
3638
- ], Le.prototype, "level", 2);
3638
+ ], Re.prototype, "level", 2);
3639
3639
  Li([
3640
3640
  o({ type: Boolean, reflect: !0 })
3641
- ], Le.prototype, "visuallyHidden", 2);
3641
+ ], Re.prototype, "visuallyHidden", 2);
3642
3642
  Li([
3643
3643
  o({ type: String, reflect: !0 })
3644
- ], Le.prototype, "align", 2);
3645
- Le = Li([
3644
+ ], Re.prototype, "align", 2);
3645
+ Re = Li([
3646
3646
  V("pkt-heading")
3647
- ], Le);
3647
+ ], Re);
3648
3648
  const Go = { layout: { default: "vertical" }, skin: { type: ["outlined", "outlined-beige", "gray", "blue", "beige", "green"], default: "outlined" }, padding: { default: "default" } }, Je = {
3649
3649
  props: Go
3650
3650
  };
3651
- var Yo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, ft = (i, t, e, s) => {
3651
+ var Yo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, gt = (i, t, e, s) => {
3652
3652
  for (var a = s > 1 ? void 0 : s ? Zo(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3653
3653
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3654
3654
  return s && a && Yo(t, e, a), a;
@@ -3805,43 +3805,43 @@ let lt = class extends K {
3805
3805
  `;
3806
3806
  }
3807
3807
  };
3808
- ft([
3808
+ gt([
3809
3809
  o({ type: String })
3810
3810
  ], lt.prototype, "ariaLabel", 2);
3811
- ft([
3811
+ gt([
3812
3812
  o({ type: String })
3813
3813
  ], lt.prototype, "metaLead", 2);
3814
- ft([
3814
+ gt([
3815
3815
  o({ type: Boolean })
3816
3816
  ], lt.prototype, "borderOnHover", 2);
3817
- ft([
3817
+ gt([
3818
3818
  o({ type: String, reflect: !0 })
3819
3819
  ], lt.prototype, "clickCardLink", 2);
3820
- ft([
3820
+ gt([
3821
3821
  o({ type: String })
3822
3822
  ], lt.prototype, "metaTrail", 2);
3823
- ft([
3823
+ gt([
3824
3824
  o({ type: String })
3825
3825
  ], lt.prototype, "layout", 2);
3826
- ft([
3826
+ gt([
3827
3827
  o({ type: String })
3828
3828
  ], lt.prototype, "heading", 2);
3829
- ft([
3829
+ gt([
3830
3830
  o({ type: Number })
3831
3831
  ], lt.prototype, "headinglevel", 2);
3832
- ft([
3832
+ gt([
3833
3833
  o({ type: Object })
3834
3834
  ], lt.prototype, "image", 2);
3835
- ft([
3835
+ gt([
3836
3836
  o({ type: String })
3837
3837
  ], lt.prototype, "imageShape", 2);
3838
- ft([
3838
+ gt([
3839
3839
  o({ type: Boolean })
3840
3840
  ], lt.prototype, "openLinkInNewTab", 2);
3841
- ft([
3841
+ gt([
3842
3842
  o({ type: String })
3843
3843
  ], lt.prototype, "padding", 2);
3844
- ft([
3844
+ gt([
3845
3845
  o({
3846
3846
  type: String,
3847
3847
  converter: {
@@ -3855,16 +3855,16 @@ ft([
3855
3855
  }
3856
3856
  })
3857
3857
  ], lt.prototype, "skin", 2);
3858
- ft([
3858
+ gt([
3859
3859
  o({ type: String })
3860
3860
  ], lt.prototype, "subheading", 2);
3861
- ft([
3861
+ gt([
3862
3862
  o({ type: String })
3863
3863
  ], lt.prototype, "tagPosition", 2);
3864
- ft([
3864
+ gt([
3865
3865
  o({ type: Array })
3866
3866
  ], lt.prototype, "tags", 2);
3867
- lt = ft([
3867
+ lt = gt([
3868
3868
  V("pkt-card")
3869
3869
  ], lt);
3870
3870
  /**
@@ -3898,22 +3898,22 @@ const $a = (i, t, e) => {
3898
3898
  let p, g, f = 0, k = a.length - 1, b = 0, y = n.length - 1;
3899
3899
  for (; f <= k && b <= y; ) if (a[f] === null) f++;
3900
3900
  else if (a[k] === null) k--;
3901
- else if (l[f] === r[b]) d[b] = Ae(a[f], n[b]), f++, b++;
3902
- else if (l[k] === r[y]) d[y] = Ae(a[k], n[y]), k--, y--;
3903
- else if (l[f] === r[y]) d[y] = Ae(a[f], n[y]), vi(i, d[y + 1], a[f]), f++, y--;
3904
- else if (l[k] === r[b]) d[b] = Ae(a[k], n[b]), vi(i, a[f], a[k]), k--, b++;
3901
+ else if (l[f] === r[b]) d[b] = Ne(a[f], n[b]), f++, b++;
3902
+ else if (l[k] === r[y]) d[y] = Ne(a[k], n[y]), k--, y--;
3903
+ else if (l[f] === r[y]) d[y] = Ne(a[f], n[y]), vi(i, d[y + 1], a[f]), f++, y--;
3904
+ else if (l[k] === r[b]) d[b] = Ne(a[k], n[b]), vi(i, a[f], a[k]), k--, b++;
3905
3905
  else if (p === void 0 && (p = $a(r, b, y), g = $a(l, f, k)), p.has(l[f])) if (p.has(l[k])) {
3906
3906
  const w = g.get(r[b]), C = w !== void 0 ? a[w] : null;
3907
3907
  if (C === null) {
3908
3908
  const P = vi(i, a[f]);
3909
- Ae(P, n[b]), d[b] = P;
3910
- } else d[b] = Ae(C, n[b]), vi(i, a[f], C), a[w] = null;
3909
+ Ne(P, n[b]), d[b] = P;
3910
+ } else d[b] = Ne(C, n[b]), vi(i, a[f], C), a[w] = null;
3911
3911
  b++;
3912
3912
  } else ys(a[k]), k--;
3913
3913
  else ys(a[f]), f++;
3914
3914
  for (; b <= y; ) {
3915
3915
  const w = vi(i, d[y + 1]);
3916
- Ae(w, n[b]), d[b++] = w;
3916
+ Ne(w, n[b]), d[b++] = w;
3917
3917
  }
3918
3918
  for (; f <= k; ) {
3919
3919
  const w = a[f++];
@@ -3983,8 +3983,8 @@ function Qo() {
3983
3983
  get() {
3984
3984
  return _;
3985
3985
  },
3986
- set(L) {
3987
- _ = L, m.isConnected ? st(m, I, L) : g.set(m, c);
3986
+ set(B) {
3987
+ _ = B, m.isConnected ? st(m, I, B) : g.set(m, c);
3988
3988
  }
3989
3989
  });
3990
3990
  }
@@ -3995,8 +3995,8 @@ function Qo() {
3995
3995
  }
3996
3996
  const F = (m, c = !1) => {
3997
3997
  const v = document.createTreeWalker(m, NodeFilter.SHOW_ELEMENT, {
3998
- acceptNode(L) {
3999
- return a.has(L) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3998
+ acceptNode(B) {
3999
+ return a.has(B) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4000
4000
  }
4001
4001
  });
4002
4002
  let _ = v.nextNode();
@@ -4014,23 +4014,23 @@ function Qo() {
4014
4014
  }) : {};
4015
4015
  function Z(m) {
4016
4016
  m.forEach((c) => {
4017
- const { addedNodes: v, removedNodes: _ } = c, I = Array.from(v), L = Array.from(_);
4017
+ const { addedNodes: v, removedNodes: _ } = c, I = Array.from(v), B = Array.from(_);
4018
4018
  I.forEach((U) => {
4019
4019
  var Pt;
4020
4020
  if (a.has(U) && U.constructor.formAssociated && T(U), g.has(U)) {
4021
- const pt = g.get(U);
4022
- Object.keys(C).filter((Mt) => pt[Mt] !== null).forEach((Mt) => {
4023
- st(U, C[Mt], pt[Mt]);
4021
+ const ct = g.get(U);
4022
+ Object.keys(C).filter((Mt) => ct[Mt] !== null).forEach((Mt) => {
4023
+ st(U, C[Mt], ct[Mt]);
4024
4024
  }), g.delete(U);
4025
4025
  }
4026
4026
  if (w.has(U)) {
4027
- const pt = w.get(U);
4028
- 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);
4027
+ const ct = w.get(U);
4028
+ st(U, "internals-valid", ct.validity.valid.toString()), st(U, "internals-invalid", (!ct.validity.valid).toString()), st(U, "aria-invalid", (!ct.validity.valid).toString()), w.delete(U);
4029
4029
  }
4030
4030
  if (U.localName === "form") {
4031
- const pt = d.get(U), Mt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4031
+ const ct = d.get(U), Mt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4032
4032
  acceptNode(gs) {
4033
- return a.has(gs) && gs.constructor.formAssociated && !(pt && pt.has(gs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4033
+ return a.has(gs) && gs.constructor.formAssociated && !(ct && ct.has(gs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4034
4034
  }
4035
4035
  });
4036
4036
  let mi = Mt.nextNode();
@@ -4038,7 +4038,7 @@ function Qo() {
4038
4038
  T(mi), mi = Mt.nextNode();
4039
4039
  }
4040
4040
  U.localName === "fieldset" && ((Pt = z.observe) === null || Pt === void 0 || Pt.call(z, U, A), F(U, !0));
4041
- }), L.forEach((U) => {
4041
+ }), B.forEach((U) => {
4042
4042
  const Pt = a.get(U);
4043
4043
  Pt && s.get(Pt) && Ot(Pt), l.has(U) && l.get(U).disconnect();
4044
4044
  });
@@ -4049,7 +4049,7 @@ function Qo() {
4049
4049
  const { removedNodes: v } = c;
4050
4050
  v.forEach((_) => {
4051
4051
  const I = b.get(c.target);
4052
- a.has(_) && Te(_), I.disconnect();
4052
+ a.has(_) && Ce(_), I.disconnect();
4053
4053
  });
4054
4054
  });
4055
4055
  }
@@ -4083,13 +4083,13 @@ function Qo() {
4083
4083
  c[0].id || (v = `${c[0].htmlFor}_Label`, c[0].id = v), st(m, "aria-labelledby", v);
4084
4084
  }
4085
4085
  }, Qt = (m) => {
4086
- const c = Array.from(m.elements).filter((L) => !L.tagName.includes("-") && L.validity).map((L) => L.validity.valid), v = d.get(m) || [], _ = Array.from(v).filter((L) => L.isConnected).map((L) => a.get(L).validity.valid), I = [...c, ..._].includes(!1);
4086
+ const c = Array.from(m.elements).filter((B) => !B.tagName.includes("-") && B.validity).map((B) => B.validity.valid), v = d.get(m) || [], _ = Array.from(v).filter((B) => B.isConnected).map((B) => a.get(B).validity.valid), I = [...c, ..._].includes(!1);
4087
4087
  m.toggleAttribute("internals-invalid", I), m.toggleAttribute("internals-valid", !I);
4088
4088
  }, le = (m) => {
4089
- Qt(Ht(m.target));
4089
+ Qt(Ut(m.target));
4090
4090
  }, te = (m) => {
4091
- Qt(Ht(m.target));
4092
- }, Se = (m) => {
4091
+ Qt(Ut(m.target));
4092
+ }, xe = (m) => {
4093
4093
  const c = ["button[type=submit]", "input[type=submit]", "button:not([type])"].map((v) => `${v}:not([disabled])`).map((v) => `${v}:not([form])${m.id ? `,${v}[form='${m.id}']` : ""}`).join(",");
4094
4094
  m.addEventListener("click", (v) => {
4095
4095
  if (v.target.closest(c)) {
@@ -4111,24 +4111,24 @@ function Qo() {
4111
4111
  _.add(m);
4112
4112
  else {
4113
4113
  const I = /* @__PURE__ */ new Set();
4114
- I.add(m), d.set(c, I), Se(c), c.addEventListener("reset", ze), c.addEventListener("input", le), c.addEventListener("change", te);
4114
+ I.add(m), d.set(c, I), xe(c), c.addEventListener("reset", ze), c.addEventListener("input", le), c.addEventListener("change", te);
4115
4115
  }
4116
4116
  r.set(c, { ref: m, internals: v }), m.constructor.formAssociated && m.formAssociatedCallback && setTimeout(() => {
4117
4117
  m.formAssociatedCallback.apply(m, [c]);
4118
4118
  }, 0), Qt(c);
4119
4119
  }
4120
- }, Ht = (m) => {
4120
+ }, Ut = (m) => {
4121
4121
  let c = m.parentNode;
4122
- return c && c.tagName !== "FORM" && (c = Ht(c)), c;
4122
+ return c && c.tagName !== "FORM" && (c = Ut(c)), c;
4123
4123
  }, ot = (m, c, v = DOMException) => {
4124
4124
  if (!m.constructor.formAssociated)
4125
4125
  throw new v(c);
4126
- }, Ce = (m, c, v) => {
4126
+ }, Se = (m, c, v) => {
4127
4127
  const _ = d.get(m);
4128
4128
  return _ && _.size && _.forEach((I) => {
4129
4129
  a.get(I)[v]() || (c = !1);
4130
4130
  }), c;
4131
- }, Te = (m) => {
4131
+ }, Ce = (m) => {
4132
4132
  if (m.constructor.formAssociated) {
4133
4133
  const c = a.get(m), { labels: v, form: _ } = c;
4134
4134
  _t(m, v), he(m, _, c);
@@ -4216,22 +4216,22 @@ function Qo() {
4216
4216
  HTMLFormElement.prototype.checkValidity = v;
4217
4217
  const c = HTMLFormElement.prototype.reportValidity;
4218
4218
  HTMLFormElement.prototype.reportValidity = _;
4219
- function v(...L) {
4220
- let U = m.apply(this, L);
4221
- return Ce(this, U, "checkValidity");
4219
+ function v(...B) {
4220
+ let U = m.apply(this, B);
4221
+ return Se(this, U, "checkValidity");
4222
4222
  }
4223
- function _(...L) {
4224
- let U = c.apply(this, L);
4225
- return Ce(this, U, "reportValidity");
4223
+ function _(...B) {
4224
+ let U = c.apply(this, B);
4225
+ return Se(this, U, "reportValidity");
4226
4226
  }
4227
4227
  const { get: I } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements");
4228
4228
  Object.defineProperty(HTMLFormElement.prototype, "elements", {
4229
- get(...L) {
4230
- const U = I.call(this, ...L), Pt = Array.from(d.get(this) || []);
4229
+ get(...B) {
4230
+ const U = I.call(this, ...B), Pt = Array.from(d.get(this) || []);
4231
4231
  if (Pt.length === 0)
4232
4232
  return U;
4233
- const pt = Array.from(U).concat(Pt).sort((Mt, mi) => Mt.compareDocumentPosition ? Mt.compareDocumentPosition(mi) & 2 ? 1 : -1 : 0);
4234
- return new qi(pt);
4233
+ const ct = Array.from(U).concat(Pt).sort((Mt, mi) => Mt.compareDocumentPosition ? Mt.compareDocumentPosition(mi) & 2 ? 1 : -1 : 0);
4234
+ return new qi(ct);
4235
4235
  }
4236
4236
  });
4237
4237
  }
@@ -4264,7 +4264,7 @@ function Qo() {
4264
4264
  const c = t.get(this);
4265
4265
  ot(c, "Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");
4266
4266
  let v;
4267
- return c.constructor.formAssociated === !0 && (v = Ht(c)), v;
4267
+ return c.constructor.formAssociated === !0 && (v = Ut(c)), v;
4268
4268
  }
4269
4269
  get labels() {
4270
4270
  const c = t.get(this);
@@ -4290,8 +4290,8 @@ function Qo() {
4290
4290
  }
4291
4291
  } else c != null && c instanceof FormData && Array.from(c).reverse().forEach(([_, I]) => {
4292
4292
  if (typeof I == "string") {
4293
- const L = at(v, this);
4294
- L.name = _, L.value = I;
4293
+ const B = at(v, this);
4294
+ B.name = _, B.value = I;
4295
4295
  }
4296
4296
  });
4297
4297
  p.set(v, c);
@@ -4301,16 +4301,16 @@ function Qo() {
4301
4301
  if (ot(I, "Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !c)
4302
4302
  throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");
4303
4303
  k.set(this, _);
4304
- const L = e.get(this), U = {};
4304
+ const B = e.get(this), U = {};
4305
4305
  for (const Mt in c)
4306
4306
  U[Mt] = c[Mt];
4307
- Object.keys(U).length === 0 && Fi(L);
4308
- const Pt = Object.assign(Object.assign({}, L), U);
4307
+ Object.keys(U).length === 0 && Fi(B);
4308
+ const Pt = Object.assign(Object.assign({}, B), U);
4309
4309
  delete Pt.valid;
4310
- const { valid: pt } = us(L, Pt, this.form);
4311
- if (!pt && !v)
4310
+ const { valid: ct } = us(B, Pt, this.form);
4311
+ if (!ct && !v)
4312
4312
  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.");
4313
- n.set(this, pt ? "" : v), I.isConnected ? (I.toggleAttribute("internals-invalid", !pt), I.toggleAttribute("internals-valid", pt), st(I, "aria-invalid", `${!pt}`)) : w.set(I, this);
4313
+ n.set(this, ct ? "" : v), I.isConnected ? (I.toggleAttribute("internals-invalid", !ct), I.toggleAttribute("internals-valid", ct), st(I, "aria-invalid", `${!ct}`)) : w.set(I, this);
4314
4314
  }
4315
4315
  get shadowRoot() {
4316
4316
  const c = t.get(this);
@@ -4366,9 +4366,9 @@ function Qo() {
4366
4366
  const c = CustomElementRegistry.prototype.define;
4367
4367
  CustomElementRegistry.prototype.define = function(v, _, I) {
4368
4368
  if (_.formAssociated) {
4369
- const L = _.prototype.connectedCallback;
4369
+ const B = _.prototype.connectedCallback;
4370
4370
  _.prototype.connectedCallback = function() {
4371
- y.has(this) || (y.set(this, !0), this.hasAttribute("disabled") && Et(this, !0)), L != null && L.apply(this), Te(this);
4371
+ y.has(this) || (y.set(this, !0), this.hasAttribute("disabled") && Et(this, !0)), B != null && B.apply(this), Ce(this);
4372
4372
  };
4373
4373
  }
4374
4374
  c.call(this, v, _, I);
@@ -4386,8 +4386,8 @@ function Qo() {
4386
4386
  let c = function(..._) {
4387
4387
  const I = v.apply(this, _);
4388
4388
  if (f.set(this, I), de()) {
4389
- const L = new MutationObserver(Z);
4390
- window.ShadyDOM ? L.observe(this, Q) : L.observe(I, Q), l.set(this, L);
4389
+ const B = new MutationObserver(Z);
4390
+ window.ShadyDOM ? B.observe(this, Q) : B.observe(I, Q), l.set(this, B);
4391
4391
  }
4392
4392
  return I;
4393
4393
  };
@@ -4625,7 +4625,7 @@ j([
4625
4625
  o({ type: String, attribute: "data-testid" })
4626
4626
  ], M.prototype, "dataTestid");
4627
4627
  j([
4628
- R()
4628
+ L()
4629
4629
  ], M.prototype, "touched");
4630
4630
  let tn = class {
4631
4631
  constructor(t) {
@@ -4730,10 +4730,10 @@ He([
4730
4730
  o({ type: String })
4731
4731
  ], pe.prototype, "helptextDropdownButton", 2);
4732
4732
  He([
4733
- R()
4733
+ L()
4734
4734
  ], pe.prototype, "isHelpTextOpen", 2);
4735
4735
  He([
4736
- R()
4736
+ L()
4737
4737
  ], pe.prototype, "filledSlots", 2);
4738
4738
  pe = He([
4739
4739
  V("pkt-helptext")
@@ -4751,7 +4751,7 @@ const nl = {
4751
4751
  return i ? "true" : "false";
4752
4752
  }
4753
4753
  };
4754
- let Y = class extends K {
4754
+ let G = class extends K {
4755
4755
  constructor() {
4756
4756
  super(), this.defaultSlot = N(), this.helptextSlot = N(), this.forId = ye(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = It.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = It.props.optionalTag.default, this.optionalText = It.props.optionalText.default, this.requiredTag = It.props.requiredTag.default, this.requiredText = It.props.requiredText.default, this.tagText = null, this.hasError = It.props.hasError.default, this.errorMessage = "", this.disabled = It.props.disabled.default, this.inline = It.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = It.props.hasFieldset.default, this.role = "group", this.useWrapper = It.props.useWrapper.default, this.slotController = new rt(this, this.defaultSlot, this.helptextSlot);
4757
4757
  }
@@ -4844,76 +4844,76 @@ let Y = class extends K {
4844
4844
  };
4845
4845
  X([
4846
4846
  o({ type: String })
4847
- ], Y.prototype, "forId", 2);
4847
+ ], G.prototype, "forId", 2);
4848
4848
  X([
4849
4849
  o({ type: String })
4850
- ], Y.prototype, "label", 2);
4850
+ ], G.prototype, "label", 2);
4851
4851
  X([
4852
4852
  o({ type: String })
4853
- ], Y.prototype, "helptext", 2);
4853
+ ], G.prototype, "helptext", 2);
4854
4854
  X([
4855
4855
  o({ type: String })
4856
- ], Y.prototype, "helptextDropdown", 2);
4856
+ ], G.prototype, "helptextDropdown", 2);
4857
4857
  X([
4858
4858
  o({ type: String })
4859
- ], Y.prototype, "helptextDropdownButton", 2);
4859
+ ], G.prototype, "helptextDropdownButton", 2);
4860
4860
  X([
4861
4861
  o({ type: Boolean })
4862
- ], Y.prototype, "counter", 2);
4862
+ ], G.prototype, "counter", 2);
4863
4863
  X([
4864
4864
  o({ type: Number })
4865
- ], Y.prototype, "counterCurrent", 2);
4865
+ ], G.prototype, "counterCurrent", 2);
4866
4866
  X([
4867
4867
  o({ type: Number })
4868
- ], Y.prototype, "counterMaxLength", 2);
4868
+ ], G.prototype, "counterMaxLength", 2);
4869
4869
  X([
4870
4870
  o({ type: String })
4871
- ], Y.prototype, "counterError", 2);
4871
+ ], G.prototype, "counterError", 2);
4872
4872
  X([
4873
4873
  o({ type: String, reflect: !1 })
4874
- ], Y.prototype, "counterPosition", 2);
4874
+ ], G.prototype, "counterPosition", 2);
4875
4875
  X([
4876
4876
  o({ type: Boolean })
4877
- ], Y.prototype, "optionalTag", 2);
4877
+ ], G.prototype, "optionalTag", 2);
4878
4878
  X([
4879
4879
  o({ type: String })
4880
- ], Y.prototype, "optionalText", 2);
4880
+ ], G.prototype, "optionalText", 2);
4881
4881
  X([
4882
4882
  o({ type: Boolean })
4883
- ], Y.prototype, "requiredTag", 2);
4883
+ ], G.prototype, "requiredTag", 2);
4884
4884
  X([
4885
4885
  o({ type: String })
4886
- ], Y.prototype, "requiredText", 2);
4886
+ ], G.prototype, "requiredText", 2);
4887
4887
  X([
4888
4888
  o({ type: String })
4889
- ], Y.prototype, "tagText", 2);
4889
+ ], G.prototype, "tagText", 2);
4890
4890
  X([
4891
4891
  o({ type: Boolean })
4892
- ], Y.prototype, "hasError", 2);
4892
+ ], G.prototype, "hasError", 2);
4893
4893
  X([
4894
4894
  o({ type: String })
4895
- ], Y.prototype, "errorMessage", 2);
4895
+ ], G.prototype, "errorMessage", 2);
4896
4896
  X([
4897
4897
  o({ type: Boolean })
4898
- ], Y.prototype, "disabled", 2);
4898
+ ], G.prototype, "disabled", 2);
4899
4899
  X([
4900
4900
  o({ type: Boolean })
4901
- ], Y.prototype, "inline", 2);
4901
+ ], G.prototype, "inline", 2);
4902
4902
  X([
4903
4903
  o({ type: String })
4904
- ], Y.prototype, "ariaDescribedby", 2);
4904
+ ], G.prototype, "ariaDescribedby", 2);
4905
4905
  X([
4906
4906
  o({ type: Boolean })
4907
- ], Y.prototype, "hasFieldset", 2);
4907
+ ], G.prototype, "hasFieldset", 2);
4908
4908
  X([
4909
4909
  o({ type: String, reflect: !0 })
4910
- ], Y.prototype, "role", 2);
4910
+ ], G.prototype, "role", 2);
4911
4911
  X([
4912
4912
  o({ type: Boolean, reflect: !0, converter: nl })
4913
- ], Y.prototype, "useWrapper", 2);
4914
- Y = X([
4913
+ ], G.prototype, "useWrapper", 2);
4914
+ G = X([
4915
4915
  V("pkt-input-wrapper")
4916
- ], Y);
4916
+ ], G);
4917
4917
  var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, yt = (i, t, e, s) => {
4918
4918
  for (var a = s > 1 ? void 0 : s ? ol(t, e) : t, n = i.length - 1, r; n >= 0; n--)
4919
4919
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
@@ -5260,7 +5260,7 @@ yt([
5260
5260
  o({ type: String })
5261
5261
  ], mt.prototype, "userMessage", 2);
5262
5262
  yt([
5263
- R()
5263
+ L()
5264
5264
  ], mt.prototype, "_filteredOptions", 2);
5265
5265
  mt = yt([
5266
5266
  V("pkt-listbox")
@@ -5750,31 +5750,31 @@ it([
5750
5750
  o({ type: String })
5751
5751
  ], J.prototype, "tagPlacement", 2);
5752
5752
  it([
5753
- R()
5753
+ L()
5754
5754
  ], J.prototype, "_options", 2);
5755
5755
  it([
5756
- R()
5756
+ L()
5757
5757
  ], J.prototype, "_isOptionsOpen", 2);
5758
5758
  it([
5759
- R()
5759
+ L()
5760
5760
  ], J.prototype, "_value", 2);
5761
5761
  it([
5762
- R()
5762
+ L()
5763
5763
  ], J.prototype, "_userInfoMessage", 2);
5764
5764
  it([
5765
- R()
5765
+ L()
5766
5766
  ], J.prototype, "_addValueText", 2);
5767
5767
  it([
5768
- R()
5768
+ L()
5769
5769
  ], J.prototype, "_maxIsReached", 2);
5770
5770
  it([
5771
- R()
5771
+ L()
5772
5772
  ], J.prototype, "_search", 2);
5773
5773
  it([
5774
- R()
5774
+ L()
5775
5775
  ], J.prototype, "_inputFocus", 2);
5776
5776
  it([
5777
- R()
5777
+ L()
5778
5778
  ], J.prototype, "_editingSingleValue", 2);
5779
5779
  J = it([
5780
5780
  V("pkt-combobox")
@@ -5850,7 +5850,7 @@ function fl() {
5850
5850
  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);
5851
5851
  }), Ss);
5852
5852
  }
5853
- let zt = class extends K {
5853
+ let qt = class extends K {
5854
5854
  constructor() {
5855
5855
  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";
5856
5856
  }
@@ -5918,40 +5918,40 @@ let zt = class extends K {
5918
5918
  };
5919
5919
  re([
5920
5920
  o({ type: Boolean })
5921
- ], zt.prototype, "devMode", 2);
5921
+ ], qt.prototype, "devMode", 2);
5922
5922
  re([
5923
5923
  o({ type: String })
5924
- ], zt.prototype, "hotjarId", 2);
5924
+ ], qt.prototype, "hotjarId", 2);
5925
5925
  re([
5926
5926
  o({ type: String })
5927
- ], zt.prototype, "googleAnalyticsId", 2);
5927
+ ], qt.prototype, "googleAnalyticsId", 2);
5928
5928
  re([
5929
5929
  o({ type: String })
5930
- ], zt.prototype, "cookieDomain", 2);
5930
+ ], qt.prototype, "cookieDomain", 2);
5931
5931
  re([
5932
5932
  o({ type: String })
5933
- ], zt.prototype, "cookieSecure", 2);
5933
+ ], qt.prototype, "cookieSecure", 2);
5934
5934
  re([
5935
5935
  o({ type: String })
5936
- ], zt.prototype, "cookieExpiryDays", 2);
5936
+ ], qt.prototype, "cookieExpiryDays", 2);
5937
5937
  re([
5938
5938
  o({ type: String })
5939
- ], zt.prototype, "triggerType", 2);
5939
+ ], qt.prototype, "triggerType", 2);
5940
5940
  re([
5941
5941
  o({ type: String })
5942
- ], zt.prototype, "triggerText", 2);
5942
+ ], qt.prototype, "triggerText", 2);
5943
5943
  re([
5944
5944
  o({ type: String })
5945
- ], zt.prototype, "i18nLanguage", 2);
5946
- zt = re([
5945
+ ], qt.prototype, "i18nLanguage", 2);
5946
+ qt = re([
5947
5947
  V("pkt-consent")
5948
- ], zt);
5948
+ ], qt);
5949
5949
  var gl = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, $t = (i, t, e, s) => {
5950
5950
  for (var a = s > 1 ? void 0 : s ? vl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
5951
5951
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
5952
5952
  return s && a && gl(t, e, a), a;
5953
5953
  };
5954
- let gt = class extends M {
5954
+ let vt = class extends M {
5955
5955
  constructor() {
5956
5956
  super(...arguments), this.inputRef = N(), 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";
5957
5957
  }
@@ -6038,50 +6038,50 @@ let gt = class extends M {
6038
6038
  };
6039
6039
  $t([
6040
6040
  o({ type: String, reflect: !0 })
6041
- ], gt.prototype, "value", 2);
6041
+ ], vt.prototype, "value", 2);
6042
6042
  $t([
6043
6043
  o({ type: String })
6044
- ], gt.prototype, "checkHelptext", 2);
6044
+ ], vt.prototype, "checkHelptext", 2);
6045
6045
  $t([
6046
6046
  o({ type: Boolean })
6047
- ], gt.prototype, "defaultChecked", 2);
6047
+ ], vt.prototype, "defaultChecked", 2);
6048
6048
  $t([
6049
6049
  o({ type: Boolean })
6050
- ], gt.prototype, "hasTile", 2);
6050
+ ], vt.prototype, "hasTile", 2);
6051
6051
  $t([
6052
6052
  o({ type: Boolean })
6053
- ], gt.prototype, "isSwitch", 2);
6053
+ ], vt.prototype, "isSwitch", 2);
6054
6054
  $t([
6055
6055
  o({ type: String })
6056
- ], gt.prototype, "labelPosition", 2);
6056
+ ], vt.prototype, "labelPosition", 2);
6057
6057
  $t([
6058
6058
  o({ type: Boolean })
6059
- ], gt.prototype, "hideLabel", 2);
6059
+ ], vt.prototype, "hideLabel", 2);
6060
6060
  $t([
6061
6061
  o({ type: Boolean, reflect: !0 })
6062
- ], gt.prototype, "checked", 2);
6062
+ ], vt.prototype, "checked", 2);
6063
6063
  $t([
6064
6064
  o({ type: String, reflect: !0 })
6065
- ], gt.prototype, "type", 2);
6065
+ ], vt.prototype, "type", 2);
6066
6066
  $t([
6067
6067
  o({ type: String })
6068
- ], gt.prototype, "tagText", 2);
6068
+ ], vt.prototype, "tagText", 2);
6069
6069
  $t([
6070
6070
  o({ type: Boolean })
6071
- ], gt.prototype, "optionalTag", 2);
6071
+ ], vt.prototype, "optionalTag", 2);
6072
6072
  $t([
6073
6073
  o({ type: String })
6074
- ], gt.prototype, "optionalText", 2);
6074
+ ], vt.prototype, "optionalText", 2);
6075
6075
  $t([
6076
6076
  o({ type: Boolean })
6077
- ], gt.prototype, "requiredTag", 2);
6077
+ ], vt.prototype, "requiredTag", 2);
6078
6078
  $t([
6079
6079
  o({ type: String })
6080
- ], gt.prototype, "requiredText", 2);
6081
- gt = $t([
6080
+ ], vt.prototype, "requiredText", 2);
6081
+ vt = $t([
6082
6082
  V("pkt-checkbox")
6083
- ], gt);
6084
- const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6083
+ ], vt);
6084
+ const bl = (i) => new Promise((t) => setTimeout(t, i)), Le = {
6085
6085
  /**
6086
6086
  * Detects if the current device is iOS (iPhone, iPad, iPod)
6087
6087
  * Handles modern iPad Safari which uses desktop user agent since iOS 13
@@ -6139,7 +6139,7 @@ const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6139
6139
  * Mobile Safari does not play well with type="date" amd custom datepickers
6140
6140
  */
6141
6141
  getInputType() {
6142
- return Be.isIOS() ? "text" : "date";
6142
+ return Le.isIOS() ? "text" : "date";
6143
6143
  }
6144
6144
  }, Pi = {
6145
6145
  /**
@@ -6254,7 +6254,7 @@ const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6254
6254
  l && t[0] !== r.value && t[1] && (s(), (n = e == null ? void 0 : e.value) == null || n.handleDateSelect(l));
6255
6255
  } else t[0] && s();
6256
6256
  }
6257
- }, Ie = {
6257
+ }, Me = {
6258
6258
  /**
6259
6259
  * Handles common keyboard interactions for datepicker inputs
6260
6260
  */
@@ -6324,7 +6324,7 @@ si = Bi([
6324
6324
  const _l = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, $i = {
6325
6325
  props: _l
6326
6326
  };
6327
- var wl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6327
+ var wl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Bt = (i, t, e, s) => {
6328
6328
  for (var a = s > 1 ? void 0 : s ? xl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6329
6329
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6330
6330
  return s && a && wl(t, e, a), a;
@@ -6407,43 +6407,43 @@ let xt = class extends K {
6407
6407
  `;
6408
6408
  }
6409
6409
  };
6410
- Vt([
6410
+ Bt([
6411
6411
  o({ type: Boolean, reflect: !0 })
6412
6412
  ], xt.prototype, "open", 2);
6413
- Vt([
6413
+ Bt([
6414
6414
  o({ type: Boolean })
6415
6415
  ], xt.prototype, "multiple", 2);
6416
- Vt([
6416
+ Bt([
6417
6417
  o({ type: Boolean })
6418
6418
  ], xt.prototype, "range", 2);
6419
- Vt([
6419
+ Bt([
6420
6420
  o({ type: Boolean })
6421
6421
  ], xt.prototype, "weeknumbers", 2);
6422
- Vt([
6422
+ Bt([
6423
6423
  o({ type: Boolean })
6424
6424
  ], xt.prototype, "withcontrols", 2);
6425
- Vt([
6425
+ Bt([
6426
6426
  o({ type: Number })
6427
6427
  ], xt.prototype, "maxMultiple", 2);
6428
- Vt([
6428
+ Bt([
6429
6429
  o({ type: Array })
6430
6430
  ], xt.prototype, "selected", 2);
6431
- Vt([
6431
+ Bt([
6432
6432
  o({ type: String })
6433
6433
  ], xt.prototype, "earliest", 2);
6434
- Vt([
6434
+ Bt([
6435
6435
  o({ type: String })
6436
6436
  ], xt.prototype, "latest", 2);
6437
- Vt([
6437
+ Bt([
6438
6438
  o({ type: Array })
6439
6439
  ], xt.prototype, "excludedates", 2);
6440
- Vt([
6440
+ Bt([
6441
6441
  o({ type: Array })
6442
6442
  ], xt.prototype, "excludeweekdays", 2);
6443
- Vt([
6443
+ Bt([
6444
6444
  o({ type: String })
6445
6445
  ], xt.prototype, "currentmonth", 2);
6446
- xt = Vt([
6446
+ xt = Bt([
6447
6447
  V("pkt-datepicker-popup")
6448
6448
  ], xt);
6449
6449
  var Sl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Wt = (i, t, e, s) => {
@@ -6540,7 +6540,7 @@ let Dt = class extends K {
6540
6540
  t.preventDefault(), this.dispatchToggleCalendar(t);
6541
6541
  }}
6542
6542
  ?disabled=${this.disabled}
6543
- @keydown=${(t) => Ie.handleInputKeydown(
6543
+ @keydown=${(t) => Me.handleInputKeydown(
6544
6544
  t,
6545
6545
  (e) => this.dispatchToggleCalendar(e),
6546
6546
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -6557,7 +6557,7 @@ let Dt = class extends K {
6557
6557
  this.dispatchInput(t), t.stopImmediatePropagation();
6558
6558
  }}
6559
6559
  @focus=${() => {
6560
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6560
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6561
6561
  }}
6562
6562
  @blur=${(t) => {
6563
6563
  this.dispatchBlur(t), this.dispatchManageValidity(t.target), this.dispatchEvent(
@@ -6577,7 +6577,7 @@ let Dt = class extends K {
6577
6577
  class="${O(Mi.getButtonClasses())}"
6578
6578
  type="button"
6579
6579
  @click=${(t) => this.dispatchToggleCalendar(t)}
6580
- @keydown=${(t) => Ie.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
6580
+ @keydown=${(t) => Me.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
6581
6581
  ?disabled=${this.disabled}
6582
6582
  ${E(this.btnRef)}
6583
6583
  >
@@ -6624,7 +6624,7 @@ Wt([
6624
6624
  Dt = Wt([
6625
6625
  V("pkt-datepicker-single")
6626
6626
  ], Dt);
6627
- var Tl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
6627
+ var Tl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6628
6628
  for (var a = s > 1 ? void 0 : s ? Nl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6629
6629
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6630
6630
  return s && a && Tl(t, e, a), a;
@@ -6722,7 +6722,7 @@ let St = class extends K {
6722
6722
  @touchend=${(e) => {
6723
6723
  e.preventDefault(), this.dispatchToggleCalendar(e);
6724
6724
  }}
6725
- @keydown=${(e) => Ie.handleInputKeydown(
6725
+ @keydown=${(e) => Me.handleInputKeydown(
6726
6726
  e,
6727
6727
  (s) => this.dispatchToggleCalendar(s),
6728
6728
  () => Pi.submitFormOrFallback(
@@ -6745,7 +6745,7 @@ let St = class extends K {
6745
6745
  this.dispatchInput(e), e.stopImmediatePropagation();
6746
6746
  }}
6747
6747
  @focus=${() => {
6748
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6748
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6749
6749
  }}
6750
6750
  @blur=${(e) => {
6751
6751
  this.dispatchEvent(
@@ -6786,7 +6786,7 @@ let St = class extends K {
6786
6786
  @touchend=${(e) => {
6787
6787
  e.preventDefault(), this.dispatchToggleCalendar(e);
6788
6788
  }}
6789
- @keydown=${(e) => Ie.handleInputKeydown(
6789
+ @keydown=${(e) => Me.handleInputKeydown(
6790
6790
  e,
6791
6791
  (s) => this.dispatchToggleCalendar(s),
6792
6792
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -6803,7 +6803,7 @@ let St = class extends K {
6803
6803
  this.dispatchInput(e), e.stopImmediatePropagation();
6804
6804
  }}
6805
6805
  @focus=${() => {
6806
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6806
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6807
6807
  }}
6808
6808
  @blur=${(e) => {
6809
6809
  this.dispatchBlur(e), e.target.value && (this.dispatchManageValidity(e.target), this.dispatchEvent(
@@ -6829,7 +6829,7 @@ let St = class extends K {
6829
6829
  class="${O(Mi.getButtonClasses())}"
6830
6830
  type="button"
6831
6831
  @click=${(e) => this.dispatchToggleCalendar(e)}
6832
- @keydown=${(e) => Ie.handleButtonKeydown(e, (s) => this.dispatchToggleCalendar(s))}
6832
+ @keydown=${(e) => Me.handleButtonKeydown(e, (s) => this.dispatchToggleCalendar(s))}
6833
6833
  ?disabled=${this.disabled}
6834
6834
  ${E(this.btnRef)}
6835
6835
  >
@@ -6840,46 +6840,46 @@ let St = class extends K {
6840
6840
  `;
6841
6841
  }
6842
6842
  };
6843
- jt([
6843
+ Vt([
6844
6844
  o({ type: Array })
6845
6845
  ], St.prototype, "value", 2);
6846
- jt([
6846
+ Vt([
6847
6847
  o({ type: String })
6848
6848
  ], St.prototype, "inputType", 2);
6849
- jt([
6849
+ Vt([
6850
6850
  o({ type: String })
6851
6851
  ], St.prototype, "id", 2);
6852
- jt([
6852
+ Vt([
6853
6853
  o({ type: String })
6854
6854
  ], St.prototype, "min", 2);
6855
- jt([
6855
+ Vt([
6856
6856
  o({ type: String })
6857
6857
  ], St.prototype, "max", 2);
6858
- jt([
6858
+ Vt([
6859
6859
  o({ type: String })
6860
6860
  ], St.prototype, "placeholder", 2);
6861
- jt([
6861
+ Vt([
6862
6862
  o({ type: Boolean })
6863
6863
  ], St.prototype, "readonly", 2);
6864
- jt([
6864
+ Vt([
6865
6865
  o({ type: Boolean })
6866
6866
  ], St.prototype, "disabled", 2);
6867
- jt([
6867
+ Vt([
6868
6868
  o({ type: Boolean })
6869
6869
  ], St.prototype, "showRangeLabels", 2);
6870
- jt([
6870
+ Vt([
6871
6871
  o({ type: Object })
6872
6872
  ], St.prototype, "inputClasses", 2);
6873
- jt([
6873
+ Vt([
6874
6874
  o({ type: Object })
6875
6875
  ], St.prototype, "internals", 2);
6876
- jt([
6876
+ Vt([
6877
6877
  o({ type: Object })
6878
6878
  ], St.prototype, "strings", 2);
6879
- St = jt([
6879
+ St = Vt([
6880
6880
  V("pkt-datepicker-range")
6881
6881
  ], St);
6882
- var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Ft = (i, t, e, s) => {
6882
+ var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
6883
6883
  for (var a = s > 1 ? void 0 : s ? El(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6884
6884
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6885
6885
  return s && a && Al(t, e, a), a;
@@ -6981,9 +6981,9 @@ let Ct = class extends K {
6981
6981
  this.dispatchInput(t), t.stopImmediatePropagation();
6982
6982
  }}
6983
6983
  @focus=${() => {
6984
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6984
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6985
6985
  }}
6986
- @keydown=${(t) => Ie.handleInputKeydown(
6986
+ @keydown=${(t) => Me.handleInputKeydown(
6987
6987
  t,
6988
6988
  (e) => this.dispatchToggleCalendar(e),
6989
6989
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -7003,7 +7003,7 @@ let Ct = class extends K {
7003
7003
  class="${O(Mi.getButtonClasses())}"
7004
7004
  type="button"
7005
7005
  @click=${(t) => this.dispatchToggleCalendar(t)}
7006
- @keydown=${(t) => Ie.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
7006
+ @keydown=${(t) => Me.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
7007
7007
  ?disabled=${this.disabled}
7008
7008
  ${E(this.btnRef)}
7009
7009
  >
@@ -7014,43 +7014,43 @@ let Ct = class extends K {
7014
7014
  `;
7015
7015
  }
7016
7016
  };
7017
- Ft([
7017
+ jt([
7018
7018
  o({ type: Array })
7019
7019
  ], Ct.prototype, "value", 2);
7020
- Ft([
7020
+ jt([
7021
7021
  o({ type: String })
7022
7022
  ], Ct.prototype, "inputType", 2);
7023
- Ft([
7023
+ jt([
7024
7024
  o({ type: String })
7025
7025
  ], Ct.prototype, "id", 2);
7026
- Ft([
7026
+ jt([
7027
7027
  o({ type: String })
7028
7028
  ], Ct.prototype, "min", 2);
7029
- Ft([
7029
+ jt([
7030
7030
  o({ type: String })
7031
7031
  ], Ct.prototype, "max", 2);
7032
- Ft([
7032
+ jt([
7033
7033
  o({ type: String })
7034
7034
  ], Ct.prototype, "placeholder", 2);
7035
- Ft([
7035
+ jt([
7036
7036
  o({ type: Boolean })
7037
7037
  ], Ct.prototype, "readonly", 2);
7038
- Ft([
7038
+ jt([
7039
7039
  o({ type: Boolean })
7040
7040
  ], Ct.prototype, "disabled", 2);
7041
- Ft([
7041
+ jt([
7042
7042
  o({ type: Number })
7043
7043
  ], Ct.prototype, "maxlength", 2);
7044
- Ft([
7044
+ jt([
7045
7045
  o({ type: Object })
7046
7046
  ], Ct.prototype, "inputClasses", 2);
7047
- Ft([
7047
+ jt([
7048
7048
  o({ type: Object })
7049
7049
  ], Ct.prototype, "internals", 2);
7050
- Ft([
7050
+ jt([
7051
7051
  o({ type: Object })
7052
7052
  ], Ct.prototype, "strings", 2);
7053
- Ct = Ft([
7053
+ Ct = jt([
7054
7054
  V("pkt-datepicker-multiple")
7055
7055
  ], Ct);
7056
7056
  var Ol = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, ht = (i, t, e, s) => {
@@ -7355,10 +7355,10 @@ let tt = class extends M {
7355
7355
  var i;
7356
7356
  const t = this.datepickerPopupRef.value;
7357
7357
  if (this.calendarOpen = !0, t && typeof t.show == "function") {
7358
- t.show(), Be.isIOS() && t.focusOnCurrentDate();
7358
+ t.show(), Le.isIOS() && t.focusOnCurrentDate();
7359
7359
  return;
7360
7360
  }
7361
- await bl(20), this.handleCalendarPosition(), Be.isIOS() && ((i = this.calRef.value) == null || i.focusOnCurrentDate());
7361
+ await bl(20), this.handleCalendarPosition(), Le.isIOS() && ((i = this.calRef.value) == null || i.focusOnCurrentDate());
7362
7362
  }
7363
7363
  hideCalendar() {
7364
7364
  const i = this.datepickerPopupRef.value;
@@ -7430,7 +7430,7 @@ ht([
7430
7430
  o({ type: String })
7431
7431
  ], tt.prototype, "timezone", 2);
7432
7432
  ht([
7433
- R()
7433
+ L()
7434
7434
  ], tt.prototype, "inputClasses", 2);
7435
7435
  tt = ht([
7436
7436
  V("pkt-datepicker")
@@ -7443,7 +7443,7 @@ var Il = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, di = (i, t
7443
7443
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7444
7444
  return s && a && Il(t, e, a), a;
7445
7445
  };
7446
- let we = class extends K {
7446
+ let Be = class extends K {
7447
7447
  constructor() {
7448
7448
  super(), this.defaultSlot = N(), this.href = xa.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = !1, this.target = xa.props.target.default, this.slotController = new rt(this, this.defaultSlot);
7449
7449
  }
@@ -7465,28 +7465,28 @@ let we = class extends K {
7465
7465
  };
7466
7466
  di([
7467
7467
  o({ type: String, reflect: !0 })
7468
- ], we.prototype, "href", 2);
7468
+ ], Be.prototype, "href", 2);
7469
7469
  di([
7470
7470
  o({ type: String, reflect: !0 })
7471
- ], we.prototype, "iconName", 2);
7471
+ ], Be.prototype, "iconName", 2);
7472
7472
  di([
7473
7473
  o({ type: String, reflect: !0 })
7474
- ], we.prototype, "iconPosition", 2);
7474
+ ], Be.prototype, "iconPosition", 2);
7475
7475
  di([
7476
7476
  o({ type: Boolean, reflect: !0 })
7477
- ], we.prototype, "external", 2);
7477
+ ], Be.prototype, "external", 2);
7478
7478
  di([
7479
7479
  o({ type: String, reflect: !0 })
7480
- ], we.prototype, "target", 2);
7481
- we = di([
7480
+ ], Be.prototype, "target", 2);
7481
+ Be = di([
7482
7482
  V("pkt-link")
7483
- ], we);
7483
+ ], Be);
7484
7484
  var Rl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, qe = (i, t, e, s) => {
7485
7485
  for (var a = s > 1 ? void 0 : s ? Ll(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7486
7486
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7487
7487
  return s && a && Rl(t, e, a), a;
7488
7488
  };
7489
- let xe = class extends K {
7489
+ let we = class extends K {
7490
7490
  constructor() {
7491
7491
  super(), this.defaultSlot = N(), this.title = "", this.href = "#", this.iconName = "", this.external = !1, this.openInNewTab = !1, this.skin = "normal", this.slotController = new rt(this, this.defaultSlot);
7492
7492
  }
@@ -7509,31 +7509,31 @@ let xe = class extends K {
7509
7509
  };
7510
7510
  qe([
7511
7511
  o({ type: String, reflect: !0 })
7512
- ], xe.prototype, "title", 2);
7512
+ ], we.prototype, "title", 2);
7513
7513
  qe([
7514
7514
  o({ type: String, reflect: !0 })
7515
- ], xe.prototype, "href", 2);
7515
+ ], we.prototype, "href", 2);
7516
7516
  qe([
7517
7517
  o({ type: String, reflect: !0 })
7518
- ], xe.prototype, "iconName", 2);
7518
+ ], we.prototype, "iconName", 2);
7519
7519
  qe([
7520
7520
  o({ type: Boolean, reflect: !0 })
7521
- ], xe.prototype, "external", 2);
7521
+ ], we.prototype, "external", 2);
7522
7522
  qe([
7523
7523
  o({ type: Boolean, reflect: !0 })
7524
- ], xe.prototype, "openInNewTab", 2);
7524
+ ], we.prototype, "openInNewTab", 2);
7525
7525
  qe([
7526
7526
  o({ type: String, reflect: !0 })
7527
- ], xe.prototype, "skin", 2);
7528
- xe = qe([
7527
+ ], we.prototype, "skin", 2);
7528
+ we = qe([
7529
7529
  V("pkt-linkcard")
7530
- ], xe);
7530
+ ], we);
7531
7531
  var Bl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, ue = (i, t, e, s) => {
7532
7532
  for (var a = s > 1 ? void 0 : s ? Vl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7533
7533
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7534
7534
  return s && a && Bl(t, e, a), a;
7535
7535
  };
7536
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
7536
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
7537
7537
  let Zt = class extends K {
7538
7538
  constructor() {
7539
7539
  super(), this.defaultSlot = N(), 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);
@@ -7608,7 +7608,7 @@ ue([
7608
7608
  o({ type: String })
7609
7609
  ], Zt.prototype, "loadingAnimationPath", 2);
7610
7610
  ue([
7611
- R()
7611
+ L()
7612
7612
  ], Zt.prototype, "_shouldDisplayLoader", 2);
7613
7613
  Zt = ue([
7614
7614
  V("pkt-loader")
@@ -7668,7 +7668,7 @@ ci([
7668
7668
  o({ type: String, reflect: !0 })
7669
7669
  ], Ve.prototype, "skin", 2);
7670
7670
  ci([
7671
- R()
7671
+ L()
7672
7672
  ], Ve.prototype, "_isClosed", 2);
7673
7673
  Ve = ci([
7674
7674
  V("pkt-messagebox")
@@ -7813,7 +7813,7 @@ Jt([
7813
7813
  o({ type: Boolean })
7814
7814
  ], Rt.prototype, "transparentBackdrop", 2);
7815
7815
  Jt([
7816
- R()
7816
+ L()
7817
7817
  ], Rt.prototype, "_isOpen", 2);
7818
7818
  Rt = Jt([
7819
7819
  V("pkt-modal")
@@ -7954,21 +7954,21 @@ dt([
7954
7954
  o({ type: Number })
7955
7955
  ], et.prototype, "valueMin", 2);
7956
7956
  dt([
7957
- R()
7957
+ L()
7958
7958
  ], et.prototype, "labelWidth", 2);
7959
7959
  dt([
7960
- R()
7960
+ L()
7961
7961
  ], et.prototype, "progressbarId", 2);
7962
7962
  dt([
7963
- R()
7963
+ L()
7964
7964
  ], et.prototype, "computedAriaLabelledby", 2);
7965
7965
  dt([
7966
- R()
7966
+ L()
7967
7967
  ], et.prototype, "computedAriaValueText", 2);
7968
7968
  et = dt([
7969
7969
  V("pkt-progressbar")
7970
7970
  ], et);
7971
- var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Ut = (i, t, e, s) => {
7971
+ var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Ft = (i, t, e, s) => {
7972
7972
  for (var a = s > 1 ? void 0 : s ? Xl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7973
7973
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7974
7974
  return s && a && Zl(t, e, a), a;
@@ -8032,43 +8032,43 @@ let Tt = class extends M {
8032
8032
  i && i.preventDefault(), i && i.stopImmediatePropagation(), this.touched = !0, this.inputRef.value && (this._checked = this.inputRef.value.matches(":checked"), this.valueChecked(this._checked));
8033
8033
  }
8034
8034
  };
8035
- Ut([
8035
+ Ft([
8036
8036
  o({ type: String, reflect: !0 })
8037
8037
  ], Tt.prototype, "value", 2);
8038
- Ut([
8038
+ Ft([
8039
8039
  o({ type: String })
8040
8040
  ], Tt.prototype, "checkHelptext", 2);
8041
- Ut([
8041
+ Ft([
8042
8042
  o({ type: Boolean })
8043
8043
  ], Tt.prototype, "defaultChecked", 2);
8044
- Ut([
8044
+ Ft([
8045
8045
  o({ type: Boolean })
8046
8046
  ], Tt.prototype, "hasTile", 2);
8047
- Ut([
8047
+ Ft([
8048
8048
  o({ type: Boolean, reflect: !0 })
8049
8049
  ], Tt.prototype, "checked", 2);
8050
- Ut([
8050
+ Ft([
8051
8051
  o({ type: String, reflect: !0 })
8052
8052
  ], Tt.prototype, "type", 2);
8053
- Ut([
8053
+ Ft([
8054
8054
  o({ type: String })
8055
8055
  ], Tt.prototype, "tagText", 2);
8056
- Ut([
8056
+ Ft([
8057
8057
  o({ type: Boolean })
8058
8058
  ], Tt.prototype, "optionalTag", 2);
8059
- Ut([
8059
+ Ft([
8060
8060
  o({ type: String })
8061
8061
  ], Tt.prototype, "optionalText", 2);
8062
- Ut([
8062
+ Ft([
8063
8063
  o({ type: Boolean })
8064
8064
  ], Tt.prototype, "requiredTag", 2);
8065
- Ut([
8065
+ Ft([
8066
8066
  o({ type: String })
8067
8067
  ], Tt.prototype, "requiredText", 2);
8068
- Ut([
8069
- R()
8068
+ Ft([
8069
+ L()
8070
8070
  ], Tt.prototype, "_checked", 2);
8071
- Tt = Ut([
8071
+ Tt = Ft([
8072
8072
  V("pkt-radiobutton")
8073
8073
  ], Tt);
8074
8074
  /**
@@ -8293,14 +8293,14 @@ pi([
8293
8293
  o({ type: Boolean, reflect: !0, attribute: "disable-arrow-nav" })
8294
8294
  ], je.prototype, "disableArrowNav", 2);
8295
8295
  pi([
8296
- R()
8296
+ L()
8297
8297
  ], je.prototype, "tabRefs", 2);
8298
8298
  pi([
8299
- R()
8299
+ L()
8300
8300
  ], je.prototype, "tabCount", 2);
8301
8301
  pi([
8302
8302
  th({ context: an }),
8303
- R()
8303
+ L()
8304
8304
  ], je.prototype, "context", 2);
8305
8305
  je = pi([
8306
8306
  V("pkt-tabs")
@@ -8503,7 +8503,7 @@ Vi([
8503
8503
  o({ type: Number })
8504
8504
  ], ai.prototype, "rows", 2);
8505
8505
  Vi([
8506
- R()
8506
+ L()
8507
8507
  ], ai.prototype, "counterCurrent", 2);
8508
8508
  ai = Vi([
8509
8509
  V("pkt-textarea")
@@ -8641,7 +8641,7 @@ oe([
8641
8641
  o({ type: Boolean })
8642
8642
  ], Xt.prototype, "omitSearchIcon", 2);
8643
8643
  oe([
8644
- R()
8644
+ L()
8645
8645
  ], Xt.prototype, "counterCurrent", 2);
8646
8646
  Xt = oe([
8647
8647
  V("pkt-textinput")
@@ -8803,7 +8803,7 @@ ds([
8803
8803
  o({ type: String })
8804
8804
  ], Ii.prototype, "value", 2);
8805
8805
  ds([
8806
- R()
8806
+ L()
8807
8807
  ], Ii.prototype, "_options", 2);
8808
8808
  Ii = ds([
8809
8809
  V("pkt-select")
@@ -8899,13 +8899,13 @@ ji([
8899
8899
  ni = ji([
8900
8900
  V("pkt-component")
8901
8901
  ], ni);
8902
- const B = Lt({
8902
+ const R = zt({
8903
8903
  tagName: "pkt-icon",
8904
- elementClass: Re,
8905
- react: ct,
8904
+ elementClass: De,
8905
+ react: pt,
8906
8906
  displayName: "PktIcon",
8907
8907
  events: {}
8908
- }), fh = G(
8908
+ }), fh = Y(
8909
8909
  ({
8910
8910
  defaultOpen: i = !1,
8911
8911
  id: t,
@@ -8949,7 +8949,7 @@ const B = Lt({
8949
8949
  children: [
8950
8950
  /* @__PURE__ */ x("summary", { className: "pkt-accordion-item__title", id: `pkt-accordion-item-summary-${t}`, children: [
8951
8951
  e,
8952
- /* @__PURE__ */ h(B, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8952
+ /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8953
8953
  ] }),
8954
8954
  /* @__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 }) })
8955
8955
  ]
@@ -9001,7 +9001,7 @@ function vh() {
9001
9001
  })(As)), As.exports;
9002
9002
  }
9003
9003
  var bh = vh();
9004
- const vt = /* @__PURE__ */ gh(bh), nn = ({
9004
+ const ft = /* @__PURE__ */ gh(bh), nn = ({
9005
9005
  children: i,
9006
9006
  closeAlert: t,
9007
9007
  compact: e,
@@ -9025,9 +9025,9 @@ const vt = /* @__PURE__ */ gh(bh), nn = ({
9025
9025
  }, y = Ea(() => {
9026
9026
  f(!0), p.onClose && p.onClose(new CustomEvent("close", { detail: { origin: event }, bubbles: !0, composed: !0 }));
9027
9027
  }, [p.onClose, f]);
9028
- return /* @__PURE__ */ h("div", { ...p, "aria-live": n || r, role: l, className: vt(k), children: /* @__PURE__ */ x("div", { className: vt(b), children: [
9028
+ return /* @__PURE__ */ h("div", { ...p, "aria-live": n || r, role: l, className: ft(k), children: /* @__PURE__ */ x("div", { className: ft(b), children: [
9029
9029
  /* @__PURE__ */ h(
9030
- B,
9030
+ R,
9031
9031
  {
9032
9032
  className: "pkt-alert__icon",
9033
9033
  "aria-hidden": "true",
@@ -9057,14 +9057,14 @@ const vt = /* @__PURE__ */ gh(bh), nn = ({
9057
9057
  ] }) });
9058
9058
  };
9059
9059
  nn.displayName = "PktAlert";
9060
- const yh = Lt({
9060
+ const yh = zt({
9061
9061
  tagName: "pkt-backlink",
9062
9062
  elementClass: ii,
9063
- react: ct,
9063
+ react: pt,
9064
9064
  displayName: "PktBackLink"
9065
9065
  });
9066
9066
  yh.displayName = "PktBackLink";
9067
- const Wd = G(
9067
+ const zd = Y(
9068
9068
  ({ breadcrumbs: i, navigationType: t, className: e, ...s }, a) => {
9069
9069
  const n = i, r = n[n.length - 2], l = [e, "pkt-breadcrumbs"].filter(Boolean).join(" ");
9070
9070
  return /* @__PURE__ */ x("nav", { ref: a, "aria-label": "brødsmulemeny", className: l, children: [
@@ -9075,7 +9075,7 @@ const Wd = G(
9075
9075
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9076
9076
  ...s,
9077
9077
  children: [
9078
- /* @__PURE__ */ h(B, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9078
+ /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9079
9079
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9080
9080
  ]
9081
9081
  }
@@ -9086,23 +9086,23 @@ const Wd = G(
9086
9086
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9087
9087
  ...s,
9088
9088
  children: [
9089
- /* @__PURE__ */ h(B, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9089
+ /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9090
9090
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9091
9091
  ]
9092
9092
  }
9093
9093
  ) }, `breadcrumb-${p}`)) }),
9094
9094
  t === "router" ? /* @__PURE__ */ x(zs, { to: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9095
- /* @__PURE__ */ h(B, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9095
+ /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9096
9096
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9097
9097
  ] }) : /* @__PURE__ */ x("a", { href: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9098
- /* @__PURE__ */ h(B, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9098
+ /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9099
9099
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9100
9100
  ] })
9101
9101
  ] });
9102
9102
  }
9103
9103
  );
9104
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
9105
- const ri = G(
9104
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
9105
+ const ri = Y(
9106
9106
  ({
9107
9107
  children: i,
9108
9108
  className: t,
@@ -9144,27 +9144,27 @@ const ri = G(
9144
9144
  type: d,
9145
9145
  ref: C,
9146
9146
  children: [
9147
- k && /* @__PURE__ */ h(B, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: y }),
9148
- p !== "label-only" && /* @__PURE__ */ h(B, { className: "pkt-btn__icon", name: e }),
9147
+ k && /* @__PURE__ */ h(R, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: y }),
9148
+ p !== "label-only" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: e }),
9149
9149
  /* @__PURE__ */ h("span", { className: "pkt-btn__text", children: i }),
9150
- p === "icons-right-and-left" && /* @__PURE__ */ h(B, { className: "pkt-btn__icon", name: s })
9150
+ p === "icons-right-and-left" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: s })
9151
9151
  ]
9152
9152
  }
9153
9153
  );
9154
9154
  }
9155
9155
  );
9156
9156
  ri.displayName = "PktButton";
9157
- const kh = Lt({
9157
+ const kh = zt({
9158
9158
  tagName: "pkt-card",
9159
9159
  elementClass: lt,
9160
- react: ct,
9160
+ react: pt,
9161
9161
  displayName: "PktCard",
9162
9162
  events: {}
9163
- }), $h = G(
9163
+ }), $h = Y(
9164
9164
  ({ children: i, ...t }, e) => /* @__PURE__ */ h(kh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9165
9165
  );
9166
9166
  $h.displayName = "PktCard";
9167
- const _h = G(
9167
+ const _h = Y(
9168
9168
  ({
9169
9169
  id: i,
9170
9170
  hasTile: t = !1,
@@ -9229,10 +9229,10 @@ const _h = G(
9229
9229
  }
9230
9230
  );
9231
9231
  _h.displayName = "PktCheckbox";
9232
- const wh = Lt({
9232
+ const wh = zt({
9233
9233
  tagName: "pkt-combobox",
9234
9234
  elementClass: J,
9235
- react: ct,
9235
+ react: pt,
9236
9236
  displayName: "PktCombobox",
9237
9237
  events: {
9238
9238
  onClick: "click",
@@ -9243,25 +9243,25 @@ const wh = Lt({
9243
9243
  onValueChange: "value-change",
9244
9244
  onToggleHelpText: "toggleHelpText"
9245
9245
  }
9246
- }), xh = G(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(wh, { ...e, ref: s, children: [
9246
+ }), xh = Y(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(wh, { ...e, ref: s, children: [
9247
9247
  t && /* @__PURE__ */ h("div", { slot: "helptext", className: "pkt-contents", children: t }),
9248
9248
  i
9249
9249
  ] }));
9250
9250
  xh.displayName = "PktCombobox";
9251
- const js = Lt({
9251
+ const js = zt({
9252
9252
  tagName: "pkt-consent",
9253
- elementClass: zt,
9254
- react: ct,
9253
+ elementClass: qt,
9254
+ react: pt,
9255
9255
  displayName: "PktConsent",
9256
9256
  events: {
9257
9257
  onToggleConsent: "toggle-consent"
9258
9258
  }
9259
9259
  });
9260
9260
  js.displayName = "PktConsent";
9261
- const Sh = Lt({
9261
+ const Sh = zt({
9262
9262
  tagName: "pkt-datepicker",
9263
9263
  elementClass: tt,
9264
- react: ct,
9264
+ react: pt,
9265
9265
  displayName: "PktDatepicker",
9266
9266
  events: {
9267
9267
  onChange: "change",
@@ -9270,11 +9270,11 @@ const Sh = Lt({
9270
9270
  onValueChange: "value-change",
9271
9271
  onToggleHelpText: "toggleHelpText"
9272
9272
  }
9273
- }), Ch = G(
9273
+ }), Ch = Y(
9274
9274
  ({ helptext: i, ...t }, e) => /* @__PURE__ */ h(Sh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", slot: "helptext", children: i }) })
9275
9275
  );
9276
9276
  Ch.displayName = "PktDatepicker";
9277
- const Kd = ({
9277
+ const Wd = ({
9278
9278
  columnOne: i,
9279
9279
  columnTwo: t,
9280
9280
  socialLinks: e,
@@ -9309,7 +9309,7 @@ const Kd = ({
9309
9309
  target: T.openInNewTab || a ? "_blank" : "_self",
9310
9310
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9311
9311
  children: [
9312
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9312
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9313
9313
  T.text
9314
9314
  ]
9315
9315
  }
@@ -9328,7 +9328,7 @@ const Kd = ({
9328
9328
  target: T.openInNewTab || a ? "_blank" : "_self",
9329
9329
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9330
9330
  children: [
9331
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9331
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9332
9332
  T.text
9333
9333
  ]
9334
9334
  }
@@ -9346,7 +9346,7 @@ const Kd = ({
9346
9346
  target: a ? "_blank" : "_self",
9347
9347
  rel: a ? "noopener noreferrer" : void 0,
9348
9348
  children: [
9349
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9349
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9350
9350
  "Personvern og informasjonskapsler"
9351
9351
  ]
9352
9352
  }
@@ -9359,7 +9359,7 @@ const Kd = ({
9359
9359
  target: a ? "_blank" : "_self",
9360
9360
  rel: a ? "noopener noreferrer" : void 0,
9361
9361
  children: [
9362
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9362
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9363
9363
  "Tilgjengelighet"
9364
9364
  ]
9365
9365
  }
@@ -9399,12 +9399,12 @@ const Kd = ({
9399
9399
  className: "pkt-footer__social-icon-link",
9400
9400
  target: T.openInNewTab || a ? "_blank" : "_self",
9401
9401
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9402
- children: /* @__PURE__ */ h(B, { className: "pkt-footer__social-icon", name: T.iconName })
9402
+ children: /* @__PURE__ */ h(R, { className: "pkt-footer__social-icon", name: T.iconName })
9403
9403
  }
9404
9404
  ) }, `sociallinks-${F}`)) })
9405
9405
  ] })
9406
9406
  ] }) });
9407
- }, Gd = ({
9407
+ }, Kd = ({
9408
9408
  links: i = [],
9409
9409
  openLinksInNewTab: t = !1,
9410
9410
  personvernOgInfoLink: e = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
@@ -9431,7 +9431,7 @@ const Kd = ({
9431
9431
  target: y.openInNewTab || t ? "_blank" : "_self",
9432
9432
  rel: y.openInNewTab || t ? "noopener noreferrer" : void 0,
9433
9433
  children: [
9434
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9434
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9435
9435
  y.text
9436
9436
  ]
9437
9437
  }
@@ -9444,7 +9444,7 @@ const Kd = ({
9444
9444
  target: t ? "_blank" : "_self",
9445
9445
  rel: t ? "noopener noreferrer" : void 0,
9446
9446
  children: [
9447
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9447
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9448
9448
  "Personvern og informasjonskapsler"
9449
9449
  ]
9450
9450
  }
@@ -9457,7 +9457,7 @@ const Kd = ({
9457
9457
  target: t ? "_blank" : "_self",
9458
9458
  rel: t ? "noopener noreferrer" : void 0,
9459
9459
  children: [
9460
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9460
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9461
9461
  "Tilgjengelighet"
9462
9462
  ]
9463
9463
  }
@@ -9476,7 +9476,7 @@ const Kd = ({
9476
9476
  }
9477
9477
  ) })
9478
9478
  ] }) }) });
9479
- }, Yd = G(
9479
+ }, Gd = Y(
9480
9480
  ({
9481
9481
  className: i,
9482
9482
  logoLink: t = "https://www.oslo.kommune.no/",
@@ -9497,12 +9497,12 @@ const Kd = ({
9497
9497
  children: C,
9498
9498
  ...P
9499
9499
  }, T) => {
9500
- const F = ct.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9500
+ const F = pt.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9501
9501
  year: "numeric",
9502
9502
  month: "long",
9503
9503
  day: "numeric"
9504
- }) : "", [n]), [A, z] = ct.useState(!1), [Z, Nt] = ct.useState(0), [At, Q] = ct.useState(!1), st = ct.useRef(null);
9505
- ct.useEffect(() => (document && (document.addEventListener("mouseup", Ot), window.addEventListener("scroll", at)), () => {
9504
+ }) : "", [n]), [A, z] = pt.useState(!1), [Z, Nt] = pt.useState(0), [At, Q] = pt.useState(!1), st = pt.useRef(null);
9505
+ pt.useEffect(() => (document && (document.addEventListener("mouseup", Ot), window.addEventListener("scroll", at)), () => {
9506
9506
  document && (document.removeEventListener("mouseup", Ot), window.removeEventListener("scroll", at));
9507
9507
  }));
9508
9508
  const Et = () => {
@@ -9524,7 +9524,7 @@ const Kd = ({
9524
9524
  id: "pkt-header",
9525
9525
  "data-testid": "pkt-header",
9526
9526
  "aria-label": "Topp",
9527
- className: vt(i, "pkt-header", {
9527
+ className: ft(i, "pkt-header", {
9528
9528
  "pkt-header--fixed": s,
9529
9529
  "pkt-header--scroll-to-hide": a,
9530
9530
  "pkt-header--hidden": A
@@ -9533,12 +9533,12 @@ const Kd = ({
9533
9533
  children: [
9534
9534
  /* @__PURE__ */ x("div", { className: "pkt-header__logo", children: [
9535
9535
  typeof t == "string" ? /* @__PURE__ */ h("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: t, children: /* @__PURE__ */ h(
9536
- B,
9536
+ R,
9537
9537
  {
9538
9538
  name: "oslologo",
9539
9539
  className: "pkt-header__logo-svg",
9540
9540
  "aria-hidden": "true",
9541
- path: "https://punkt-cdn.oslo.kommune.no/13.13/logos/"
9541
+ path: "https://punkt-cdn.oslo.kommune.no/13.14/logos/"
9542
9542
  }
9543
9543
  ) }) : /* @__PURE__ */ h(
9544
9544
  "button",
@@ -9547,12 +9547,12 @@ const Kd = ({
9547
9547
  className: "pkt-link-button pkt-link pkt-header__logo-link",
9548
9548
  onClick: t,
9549
9549
  children: /* @__PURE__ */ h(
9550
- B,
9550
+ R,
9551
9551
  {
9552
9552
  name: "oslologo",
9553
9553
  className: "pkt-header__logo-svg",
9554
9554
  "aria-hidden": "true",
9555
- path: "https://punkt-cdn.oslo.kommune.no/13.13/logos/"
9555
+ path: "https://punkt-cdn.oslo.kommune.no/13.14/logos/"
9556
9556
  }
9557
9557
  )
9558
9558
  }
@@ -9588,11 +9588,11 @@ const Kd = ({
9588
9588
  "aria-expanded": At,
9589
9589
  onClick: Et,
9590
9590
  children: [
9591
- /* @__PURE__ */ h(B, { name: "user", className: "pkt-btn__icon" }),
9591
+ /* @__PURE__ */ h(R, { name: "user", className: "pkt-btn__icon" }),
9592
9592
  /* @__PURE__ */ h("span", { className: "pkt-header__user-fullname", translate: "no", children: (l == null ? void 0 : l.name) || (n == null ? void 0 : n.name) }),
9593
9593
  /* @__PURE__ */ h("span", { className: "pkt-header__user-shortname", translate: "no", children: (l == null ? void 0 : l.shortname) || (n == null ? void 0 : n.shortname) }),
9594
- /* @__PURE__ */ h(B, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9595
- /* @__PURE__ */ h(B, { name: "chevron-thin-up", className: "pkt-btn--open" })
9594
+ /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9595
+ /* @__PURE__ */ h(R, { name: "chevron-thin-up", className: "pkt-btn--open" })
9596
9596
  ]
9597
9597
  }
9598
9598
  ),
@@ -9606,10 +9606,10 @@ const Kd = ({
9606
9606
  ] })
9607
9607
  ] }),
9608
9608
  r && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: r.map((D, _t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9609
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9609
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9610
9610
  D.title
9611
9611
  ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: [
9612
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9612
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9613
9613
  D.title
9614
9614
  ] }) }, `userMenu-${_t}`)) }) }),
9615
9615
  (l || g) && /* @__PURE__ */ x("li", { children: [
@@ -9622,20 +9622,20 @@ const Kd = ({
9622
9622
  ] })
9623
9623
  ] }),
9624
9624
  /* @__PURE__ */ h("ul", { className: "pkt-list mt-size-16", children: g && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: w, children: [
9625
- /* @__PURE__ */ h(B, { name: "cogwheel", className: "pkt-link__icon" }),
9625
+ /* @__PURE__ */ h(R, { name: "cogwheel", className: "pkt-link__icon" }),
9626
9626
  "Endre organisasjon"
9627
9627
  ] }) }) })
9628
9628
  ] }),
9629
9629
  /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: (d || !k) && /* @__PURE__ */ x(Gt, { children: [
9630
9630
  d == null ? void 0 : d.map((D, _t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9631
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9631
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9632
9632
  D.title
9633
9633
  ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: [
9634
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9634
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9635
9635
  D.title
9636
9636
  ] }) }, `userOptions-${_t}`)),
9637
9637
  !k && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: y, children: [
9638
- /* @__PURE__ */ h(B, { name: "exit", className: "pkt-link__icon" }),
9638
+ /* @__PURE__ */ h(R, { name: "exit", className: "pkt-link__icon" }),
9639
9639
  "Logg ut"
9640
9640
  ] }) })
9641
9641
  ] }) }) }),
@@ -9662,26 +9662,26 @@ const Kd = ({
9662
9662
  }
9663
9663
  );
9664
9664
  }
9665
- ), Th = Lt({
9665
+ ), Th = zt({
9666
9666
  tagName: "pkt-heading",
9667
- elementClass: Le,
9668
- react: ct,
9667
+ elementClass: Re,
9668
+ react: pt,
9669
9669
  displayName: "PktHeading"
9670
- }), Nh = G(({ children: i, ...t }, e) => /* @__PURE__ */ h(Th, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
9670
+ }), Nh = Y(({ children: i, ...t }, e) => /* @__PURE__ */ h(Th, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
9671
9671
  Nh.displayName = "PktHeading";
9672
- const Ah = Lt({
9672
+ const Ah = zt({
9673
9673
  tagName: "pkt-helptext",
9674
9674
  elementClass: pe,
9675
- react: ct,
9675
+ react: pt,
9676
9676
  displayName: "PktHelptext",
9677
9677
  events: {
9678
9678
  onToggleHelpText: "toggleHelpText"
9679
9679
  }
9680
- }), Eh = G(
9680
+ }), Eh = Y(
9681
9681
  ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ah, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9682
9682
  );
9683
9683
  Eh.displayName = "PktHelptext";
9684
- const Oh = G(
9684
+ const Oh = Y(
9685
9685
  ({ label: i, id: t, children: e, ...s }, a) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
9686
9686
  /* @__PURE__ */ h("label", { htmlFor: t, className: "pkt-form-label", children: i }),
9687
9687
  /* @__PURE__ */ h("input", { className: "pkt-form-input", id: t, ...s, ref: a }),
@@ -9689,7 +9689,7 @@ const Oh = G(
9689
9689
  ] })
9690
9690
  );
9691
9691
  Oh.displayName = "PktInput";
9692
- const cs = G(
9692
+ const cs = Y(
9693
9693
  ({
9694
9694
  forId: i,
9695
9695
  label: t,
@@ -9725,7 +9725,7 @@ const cs = G(
9725
9725
  ].filter(Boolean).join(" "), le = ["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: [
9726
9726
  r,
9727
9727
  l ? `/${l}` : ""
9728
- ] }) : null, Se = () => /* @__PURE__ */ x(Gt, { children: [
9728
+ ] }) : null, xe = () => /* @__PURE__ */ x(Gt, { children: [
9729
9729
  k && /* @__PURE__ */ h("span", { className: le + " pkt-tag--gray", children: k }),
9730
9730
  d && /* @__PURE__ */ h("span", { className: le + " pkt-tag--blue-light", children: p }),
9731
9731
  g && /* @__PURE__ */ h("span", { className: le + " pkt-tag--beige", children: f })
@@ -9733,7 +9733,7 @@ const cs = G(
9733
9733
  const ot = /* @__PURE__ */ x(Gt, { children: [
9734
9734
  t,
9735
9735
  " ",
9736
- Se()
9736
+ xe()
9737
9737
  ] });
9738
9738
  return T ? z ? /* @__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 });
9739
9739
  }, he = () => !e && !s ? null : /* @__PURE__ */ x(Gt, { children: [
@@ -9766,7 +9766,7 @@ const cs = G(
9766
9766
  }
9767
9767
  )
9768
9768
  ] })
9769
- ] }), Ht = /* @__PURE__ */ x(Gt, { children: [
9769
+ ] }), Ut = /* @__PURE__ */ x(Gt, { children: [
9770
9770
  ze(),
9771
9771
  he(),
9772
9772
  at && /* @__PURE__ */ h(te, {}),
@@ -9774,20 +9774,40 @@ const cs = G(
9774
9774
  D && /* @__PURE__ */ h(te, {}),
9775
9775
  b && y && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__alert-wrapper", children: /* @__PURE__ */ h(nn, { skin: "error", "aria-live": "assertive", role: "alert", id: `${i}-error`, compact: !0, children: y }) })
9776
9776
  ] });
9777
- return /* @__PURE__ */ h("div", { className: Qt, ref: At, role: Z, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Et, children: Ht }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ht }) });
9777
+ return /* @__PURE__ */ h("div", { className: Qt, ref: At, role: Z, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Et, children: Ut }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ut }) });
9778
9778
  }
9779
9779
  );
9780
9780
  cs.displayName = "PktInputWrapper";
9781
- const Ph = Lt({
9782
- tagName: "pkt-link",
9783
- elementClass: we,
9784
- react: ct,
9785
- displayName: "PktLink"
9786
- }), Mh = G(
9787
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ph, { ...t, ref: e, children: /* @__PURE__ */ h("span", { className: "pkt-contents", children: i }) })
9781
+ const Ph = ({
9782
+ href: i,
9783
+ iconName: t,
9784
+ className: e,
9785
+ iconPosition: s,
9786
+ external: a,
9787
+ target: n,
9788
+ children: r,
9789
+ ...l
9790
+ }) => /* @__PURE__ */ x(
9791
+ "a",
9792
+ {
9793
+ ...l,
9794
+ className: ft({
9795
+ "pkt-link": !0,
9796
+ "pkt-link--icon-left": !!t && s === "left" || !!(t && !s),
9797
+ "pkt-link--icon-right": !!t && s === "right",
9798
+ "pkt-link--external": a
9799
+ }, e),
9800
+ href: i,
9801
+ target: n,
9802
+ rel: a ? "noopener noreferrer" : void 0,
9803
+ children: [
9804
+ t && /* @__PURE__ */ h(R, { name: t, className: "pkt-link__icon" }),
9805
+ r
9806
+ ]
9807
+ }
9788
9808
  );
9789
- Mh.displayName = "PktLink";
9790
- const Ih = ({
9809
+ Ph.displayName = "PktLink";
9810
+ const Mh = ({
9791
9811
  children: i,
9792
9812
  skin: t,
9793
9813
  title: e,
@@ -9804,29 +9824,29 @@ const Ih = ({
9804
9824
  {
9805
9825
  ...d,
9806
9826
  href: s,
9807
- className: vt(p, l),
9827
+ className: ft(p, l),
9808
9828
  target: n ? "_blank" : "_self",
9809
9829
  rel: n ? "noopener noreferrer" : void 0,
9810
9830
  children: [
9811
- a && /* @__PURE__ */ h(B, { className: "pkt-link__icon", name: a }),
9812
- e && /* @__PURE__ */ h("div", { className: vt(g), children: e }),
9831
+ a && /* @__PURE__ */ h(R, { className: "pkt-link__icon", name: a }),
9832
+ e && /* @__PURE__ */ h("div", { className: ft(g), children: e }),
9813
9833
  /* @__PURE__ */ h("div", { className: "pkt-linkcard__text", children: i })
9814
9834
  ]
9815
9835
  }
9816
9836
  );
9817
9837
  };
9818
- Ih.displayName = "PktLinkCard";
9819
- const Dh = Lt({
9838
+ Mh.displayName = "PktLinkCard";
9839
+ const Ih = zt({
9820
9840
  tagName: "pkt-loader",
9821
9841
  elementClass: Zt,
9822
- react: ct,
9842
+ react: pt,
9823
9843
  displayName: "PktLoader",
9824
9844
  events: {}
9825
- }), Rh = G(
9826
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Dh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9845
+ }), Dh = Y(
9846
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ih, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9827
9847
  );
9828
- Rh.displayName = "PktLoader";
9829
- const Lh = ({
9848
+ Dh.displayName = "PktLoader";
9849
+ const Rh = ({
9830
9850
  children: i,
9831
9851
  className: t,
9832
9852
  skin: e,
@@ -9845,42 +9865,42 @@ const Lh = ({
9845
9865
  }, f = pn(), k = Ea(() => {
9846
9866
  p(!0), r && r();
9847
9867
  }, [p, r]);
9848
- return /* @__PURE__ */ x("div", { ...l, className: vt(g, t), ref: f, children: [
9868
+ return /* @__PURE__ */ x("div", { ...l, className: ft(g, t), ref: f, children: [
9849
9869
  n && /* @__PURE__ */ h("div", { className: '"pkt-messagebox__close"', children: /* @__PURE__ */ h(
9850
9870
  "button",
9851
9871
  {
9852
9872
  onClick: k,
9853
9873
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
9854
9874
  "aria-label": "Lukk",
9855
- children: /* @__PURE__ */ h(B, { name: "close", className: "pkt-link__icon" })
9875
+ children: /* @__PURE__ */ h(R, { name: "close", className: "pkt-link__icon" })
9856
9876
  }
9857
9877
  ) }),
9858
9878
  /* @__PURE__ */ h("div", { className: "pkt-messagebox__title", children: s }),
9859
9879
  /* @__PURE__ */ h("div", { className: "pkt-messagebox__text", children: i })
9860
9880
  ] });
9861
9881
  };
9862
- Lh.displayName = "PktMessagebox";
9863
- const Bh = Lt({
9882
+ Rh.displayName = "PktMessagebox";
9883
+ const Lh = zt({
9864
9884
  tagName: "pkt-modal",
9865
9885
  elementClass: Rt,
9866
- react: ct,
9886
+ react: pt,
9867
9887
  displayName: "PktModal",
9868
9888
  events: {}
9869
- }), Vh = G(
9870
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Bh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9889
+ }), Bh = Y(
9890
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Lh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9871
9891
  );
9872
- Vh.displayName = "PktModal";
9873
- const jh = Lt({
9892
+ Bh.displayName = "PktModal";
9893
+ const Vh = zt({
9874
9894
  tagName: "pkt-progressbar",
9875
9895
  elementClass: et,
9876
- react: ct,
9896
+ react: pt,
9877
9897
  displayName: "PktProgressbar",
9878
9898
  events: {}
9879
- }), Fh = G(
9880
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(jh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9899
+ }), jh = Y(
9900
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Vh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9881
9901
  );
9882
- Fh.displayName = "PktProgressbar";
9883
- const Uh = G(
9902
+ jh.displayName = "PktProgressbar";
9903
+ const Fh = Y(
9884
9904
  ({
9885
9905
  id: i,
9886
9906
  name: t,
@@ -9934,8 +9954,8 @@ const Uh = G(
9934
9954
  ] }) });
9935
9955
  }
9936
9956
  );
9937
- Uh.displayName = "PktRadioButton";
9938
- const Zd = G(
9957
+ Fh.displayName = "PktRadioButton";
9958
+ const Yd = Y(
9939
9959
  ({
9940
9960
  appearance: i = "local",
9941
9961
  disabled: t = !1,
@@ -10018,7 +10038,7 @@ const Zd = G(
10018
10038
  ] })
10019
10039
  );
10020
10040
  }
10021
- ), Xd = G(
10041
+ ), Zd = Y(
10022
10042
  ({
10023
10043
  ariaDescribedby: i,
10024
10044
  ariaLabelledby: t,
@@ -10080,22 +10100,22 @@ const Zd = G(
10080
10100
  }
10081
10101
  );
10082
10102
  }
10083
- ), Hh = /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), qh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10103
+ ), Uh = /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), Hh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10084
10104
  /* @__PURE__ */ h("circle", { opacity: ".15", cx: "12", cy: "12", r: "12", fill: "#2A2859" }),
10085
10105
  /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "6", fill: "#2A2859" })
10086
- ] }), zh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10106
+ ] }), qh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10087
10107
  /* @__PURE__ */ h("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
10088
10108
  /* @__PURE__ */ h("path", { d: "m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z", fill: "#F1FDFF" })
10089
- ] }), Jd = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: vt("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
10109
+ ] }), Xd = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: ft("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
10090
10110
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--1", "aria-hidden": !0 }),
10091
10111
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--2", "aria-hidden": !0 }),
10092
- /* @__PURE__ */ h("span", { className: vt("pkt-step__indicator"), children: e === "current" ? qh : e === "completed" ? zh : Hh }),
10112
+ /* @__PURE__ */ h("span", { className: ft("pkt-step__indicator"), children: e === "current" ? Hh : e === "completed" ? qh : Uh }),
10093
10113
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--3", "aria-hidden": !0 }),
10094
10114
  /* @__PURE__ */ x("div", { className: "pkt-step__wrapper", children: [
10095
10115
  /* @__PURE__ */ h("div", { className: "pkt-step__title", children: s }),
10096
10116
  /* @__PURE__ */ h("div", { className: "pkt-step__content", children: i })
10097
10117
  ] })
10098
- ] }), Qd = G(
10118
+ ] }), Jd = Y(
10099
10119
  ({
10100
10120
  activeStep: i,
10101
10121
  className: t,
@@ -10105,19 +10125,19 @@ const Zd = G(
10105
10125
  orientation: n = "vertical",
10106
10126
  ...r
10107
10127
  }, l) => {
10108
- const d = vt(
10128
+ const d = ft(
10109
10129
  t,
10110
10130
  "pkt-stepper",
10111
10131
  n === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
10112
10132
  ), p = Es.map(e, (g, f) => mn(g) ? fn(g, {
10113
- className: vt(g.props.className, {
10133
+ className: ft(g.props.className, {
10114
10134
  "pkt-step--hideStep": s && f !== i,
10115
10135
  "pkt-step--hideContent": a && f !== i
10116
10136
  })
10117
10137
  }) : g);
10118
10138
  return /* @__PURE__ */ h("ol", { "data-testid": "pkt-stepper", className: d, ref: l, ...r, children: p });
10119
10139
  }
10120
- ), tc = ({
10140
+ ), Qd = ({
10121
10141
  className: i,
10122
10142
  compact: t = !1,
10123
10143
  skin: e = "basic",
@@ -10128,7 +10148,7 @@ const Zd = G(
10128
10148
  "table",
10129
10149
  {
10130
10150
  "data-testid": "pkt-table",
10131
- className: vt(i, "pkt-table", {
10151
+ className: ft(i, "pkt-table", {
10132
10152
  "pkt-table--responsive": s,
10133
10153
  "pkt-table--compact": t,
10134
10154
  "pkt-table--basic": e === "basic",
@@ -10138,31 +10158,31 @@ const Zd = G(
10138
10158
  ...n,
10139
10159
  children: a
10140
10160
  }
10141
- ), ec = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: vt(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), ic = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
10161
+ ), tc = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: ft(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), ec = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
10142
10162
  "td",
10143
10163
  {
10144
- className: vt(t, "pkt-table__data-cell", {}),
10164
+ className: ft(t, "pkt-table__data-cell", {}),
10145
10165
  "data-label": e,
10146
10166
  role: "cell",
10147
10167
  "data-testid": "pkt-table__data-cell",
10148
10168
  ...s,
10149
10169
  children: i
10150
10170
  }
10151
- ), sc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: vt(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), ac = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: vt(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), nc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: vt(i, "pkt-table__row", {}), role: "row", ...e, children: t }), Wh = Lt({
10171
+ ), ic = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: ft(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), sc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: ft(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), ac = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: ft(i, "pkt-table__row", {}), role: "row", ...e, children: t }), zh = zt({
10152
10172
  tagName: "pkt-tag",
10153
- elementClass: qt,
10173
+ elementClass: Ht,
10154
10174
  react: dn,
10155
10175
  displayName: "PktTag",
10156
10176
  events: {
10157
10177
  onClose: "close"
10158
10178
  }
10159
- }), rn = G(
10160
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Wh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10179
+ }), rn = Y(
10180
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(zh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10161
10181
  );
10162
10182
  rn.displayName = "PktTag";
10163
- const on = G(
10183
+ const on = Y(
10164
10184
  ({ children: i, active: t, href: e, onClick: s, icon: a, controls: n, tag: r, tagSkin: l, index: d = 0 }, p) => {
10165
- const { arrowNav: g, registerTabRef: f, handleKeyPress: k, selectTab: b } = Kh(), w = {
10185
+ const { arrowNav: g, registerTabRef: f, handleKeyPress: k, selectTab: b } = Wh(), w = {
10166
10186
  "aria-selected": g ? !!t : void 0,
10167
10187
  "aria-controls": n,
10168
10188
  role: g ? "tab" : void 0,
@@ -10175,7 +10195,7 @@ const on = G(
10175
10195
  f(d, P), typeof p == "function" ? p(P) : p && (p.current = P);
10176
10196
  }
10177
10197
  }, C = /* @__PURE__ */ x(Gt, { children: [
10178
- a && /* @__PURE__ */ h(B, { name: a, className: "pkt-icon--small" }),
10198
+ a && /* @__PURE__ */ h(R, { name: a, className: "pkt-icon--small" }),
10179
10199
  i,
10180
10200
  r && /* @__PURE__ */ h(rn, { skin: l, size: "small", children: r })
10181
10201
  ] });
@@ -10183,12 +10203,12 @@ const on = G(
10183
10203
  }
10184
10204
  );
10185
10205
  on.displayName = "PktTabItem";
10186
- const ln = Na(null), Kh = () => {
10206
+ const ln = Na(null), Wh = () => {
10187
10207
  const i = Aa(ln);
10188
10208
  if (!i)
10189
10209
  throw new Error("TabItem must be used within a Tabs component");
10190
10210
  return i;
10191
- }, rc = G(
10211
+ }, nc = Y(
10192
10212
  ({ arrowNav: i = !0, disableArrowNav: t = !1, tabs: e, onTabSelected: s, children: a }, n) => {
10193
10213
  const r = gn([]), l = i && !t, p = a && Es.count(a) > 0 ? Es.count(a) : (e == null ? void 0 : e.length) || 0;
10194
10214
  as(() => {
@@ -10222,7 +10242,7 @@ const ln = Na(null), Kh = () => {
10222
10242
  });
10223
10243
  return /* @__PURE__ */ h(ln.Provider, { value: { arrowNav: l, registerTabRef: k, handleKeyPress: f, selectTab: g }, children: /* @__PURE__ */ h("div", { className: "pkt-tabs", ref: n, children: /* @__PURE__ */ h("div", { className: "pkt-tabs__list", role: l ? "tablist" : "navigation", children: a || b }) }) });
10224
10244
  }
10225
- ), oc = G(
10245
+ ), rc = Y(
10226
10246
  ({
10227
10247
  id: i,
10228
10248
  ariaDescribedby: t,
@@ -10257,13 +10277,13 @@ const ln = Na(null), Kh = () => {
10257
10277
  skipForwardTestid: D = !1,
10258
10278
  ..._t
10259
10279
  }, Qt) => {
10260
- const le = [n, "pkt-textinput", "pkt-textarea"].join(" "), te = `${i}-input`, Se = `${te}-label`, ze = e || Se, [he, Ht] = oi(0), ot = (Ce) => {
10261
- var Te, de;
10262
- if (s && Ht(((de = (Te = Ce.currentTarget) == null ? void 0 : Te.value) == null ? void 0 : de.length) || 0), At)
10263
- return At(Ce);
10280
+ const le = [n, "pkt-textinput", "pkt-textarea"].join(" "), te = `${i}-input`, xe = `${te}-label`, ze = e || xe, [he, Ut] = oi(0), ot = (Se) => {
10281
+ var Ce, de;
10282
+ if (s && Ut(((de = (Ce = Se.currentTarget) == null ? void 0 : Ce.value) == null ? void 0 : de.length) || 0), At)
10283
+ return At(Se);
10264
10284
  };
10265
10285
  return as(() => {
10266
- Q !== void 0 && Ht((Q == null ? void 0 : Q.length) || 0);
10286
+ Q !== void 0 && Ut((Q == null ? void 0 : Q.length) || 0);
10267
10287
  }, [Q]), /* @__PURE__ */ h(
10268
10288
  cs,
10269
10289
  {
@@ -10312,7 +10332,7 @@ const ln = Na(null), Kh = () => {
10312
10332
  }
10313
10333
  );
10314
10334
  }
10315
- ), lc = G(
10335
+ ), oc = Y(
10316
10336
  ({
10317
10337
  id: i,
10318
10338
  ariaDescribedby: t,
@@ -10349,13 +10369,13 @@ const ln = Na(null), Kh = () => {
10349
10369
  min: Qt,
10350
10370
  max: le,
10351
10371
  step: te,
10352
- size: Se,
10372
+ size: xe,
10353
10373
  readonly: ze,
10354
10374
  required: he,
10355
- dataTestid: Ht,
10375
+ dataTestid: Ut,
10356
10376
  onChange: ot,
10357
- skipForwardTestid: Ce = !1,
10358
- ...Te
10377
+ skipForwardTestid: Se = !1,
10378
+ ...Ce
10359
10379
  }, de) => {
10360
10380
  const ps = [r, "pkt-textinput"].join(" "), Fi = st === "search" && !b && !Ot, us = st === "date" && at ? at.slice(0, 10) : at, [Ui, We] = oi((at == null ? void 0 : at.length) || 0), Ke = `${i}`, ui = `${Ke}-label`, Hi = e || ui, ms = (fe) => {
10361
10381
  var qi, zi;
@@ -10390,14 +10410,14 @@ const ln = Na(null), Kh = () => {
10390
10410
  "div",
10391
10411
  {
10392
10412
  className: "pkt-input__container",
10393
- "data-testid": Ht,
10394
- "data-skip-forward-testid": Ce ? "true" : void 0,
10413
+ "data-testid": Ut,
10414
+ "data-skip-forward-testid": Se ? "true" : void 0,
10395
10415
  children: [
10396
10416
  At && /* @__PURE__ */ h("div", { className: "pkt-input-prefix", children: At }),
10397
10417
  /* @__PURE__ */ h(
10398
10418
  "input",
10399
10419
  {
10400
- ...Te,
10420
+ ...Ce,
10401
10421
  ref: de,
10402
10422
  className: `pkt-input ${w ? "pkt-input--fullwidth" : ""} ${n && Ui > n ? "pkt-input--counter-error" : ""}`,
10403
10423
  type: st,
@@ -10416,17 +10436,17 @@ const ln = Na(null), Kh = () => {
10416
10436
  step: te,
10417
10437
  minLength: D,
10418
10438
  maxLength: _t,
10419
- size: Se,
10439
+ size: xe,
10420
10440
  required: he
10421
10441
  }
10422
10442
  ),
10423
10443
  Q && /* @__PURE__ */ x("p", { className: "pkt-input-suffix", children: [
10424
10444
  Q,
10425
- b && /* @__PURE__ */ h(B, { className: "pkt-input-suffix-icon", name: b }),
10426
- Fi && /* @__PURE__ */ h(B, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10445
+ b && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: b }),
10446
+ Fi && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10427
10447
  ] }),
10428
- !Q && b && /* @__PURE__ */ h(B, { className: "pkt-input-icon", name: b }),
10429
- !Q && Fi && /* @__PURE__ */ h(B, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10448
+ !Q && b && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: b }),
10449
+ !Q && Fi && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10430
10450
  ]
10431
10451
  }
10432
10452
  )
@@ -10439,41 +10459,41 @@ export {
10439
10459
  fh as PktAccordionItem,
10440
10460
  nn as PktAlert,
10441
10461
  yh as PktBackLink,
10442
- Wd as PktBreadcrumbs,
10462
+ zd as PktBreadcrumbs,
10443
10463
  ri as PktButton,
10444
10464
  $h as PktCard,
10445
10465
  _h as PktCheckbox,
10446
10466
  xh as PktCombobox,
10447
10467
  js as PktConsent,
10448
10468
  Ch as PktDatepicker,
10449
- Kd as PktFooter,
10450
- Gd as PktFooterSimple,
10451
- Yd as PktHeader,
10469
+ Wd as PktFooter,
10470
+ Kd as PktFooterSimple,
10471
+ Gd as PktHeader,
10452
10472
  Nh as PktHeading,
10453
10473
  Eh as PktHelptext,
10454
- B as PktIcon,
10474
+ R as PktIcon,
10455
10475
  Oh as PktInput,
10456
10476
  cs as PktInputWrapper,
10457
- Mh as PktLink,
10458
- Ih as PktLinkCard,
10459
- Rh as PktLoader,
10460
- Lh as PktMessagebox,
10461
- Vh as PktModal,
10462
- Fh as PktProgressbar,
10463
- Uh as PktRadioButton,
10464
- Zd as PktSearchInput,
10465
- Xd as PktSelect,
10466
- Jd as PktStep,
10467
- Qd as PktStepper,
10477
+ Ph as PktLink,
10478
+ Mh as PktLinkCard,
10479
+ Dh as PktLoader,
10480
+ Rh as PktMessagebox,
10481
+ Bh as PktModal,
10482
+ jh as PktProgressbar,
10483
+ Fh as PktRadioButton,
10484
+ Yd as PktSearchInput,
10485
+ Zd as PktSelect,
10486
+ Xd as PktStep,
10487
+ Jd as PktStepper,
10468
10488
  on as PktTabItem,
10469
- tc as PktTable,
10470
- ec as PktTableBody,
10471
- ic as PktTableDataCell,
10472
- sc as PktTableHeader,
10473
- ac as PktTableHeaderCell,
10474
- nc as PktTableRow,
10475
- rc as PktTabs,
10489
+ Qd as PktTable,
10490
+ tc as PktTableBody,
10491
+ ec as PktTableDataCell,
10492
+ ic as PktTableHeader,
10493
+ sc as PktTableHeaderCell,
10494
+ ac as PktTableRow,
10495
+ nc as PktTabs,
10476
10496
  rn as PktTag,
10477
- oc as PktTextarea,
10478
- lc as PktTextinput
10497
+ rc as PktTextarea,
10498
+ oc as PktTextinput
10479
10499
  };