@oslokommune/punkt-react 12.40.9 → 12.40.10

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.
@@ -115,10 +115,10 @@ function QO() {
115
115
  {
116
116
  var ut = Ce.ReactDebugCurrentFrame, zt = ut.getStackAddendum();
117
117
  zt !== "" && (Ae += "%s", Xe = Xe.concat([zt]));
118
- var Bt = Xe.map(function(qt) {
118
+ var Mt = Xe.map(function(qt) {
119
119
  return String(qt);
120
120
  });
121
- Bt.unshift("Warning: " + Ae), Function.prototype.apply.call(console[V], console, Bt);
121
+ Mt.unshift("Warning: " + Ae), Function.prototype.apply.call(console[V], console, Mt);
122
122
  }
123
123
  }
124
124
  var J = !1, G = !1, ae = !1, pe = !1, Te = !1, ke;
@@ -175,9 +175,9 @@ function QO() {
175
175
  var ut = V.displayName || null;
176
176
  return ut !== null ? ut : tt(V.type) || "Memo";
177
177
  case R: {
178
- var zt = V, Bt = zt._payload, qt = zt._init;
178
+ var zt = V, Mt = zt._payload, qt = zt._init;
179
179
  try {
180
- return tt(qt(Bt));
180
+ return tt(qt(Mt));
181
181
  } catch {
182
182
  return null;
183
183
  }
@@ -278,8 +278,8 @@ function QO() {
278
278
  Nt = !0;
279
279
  var zt = Error.prepareStackTrace;
280
280
  Error.prepareStackTrace = void 0;
281
- var Bt;
282
- Bt = pt.current, pt.current = null, nt();
281
+ var Mt;
282
+ Mt = pt.current, pt.current = null, nt();
283
283
  try {
284
284
  if (Ae) {
285
285
  var qt = function() {
@@ -332,7 +332,7 @@ function QO() {
332
332
  }
333
333
  }
334
334
  } finally {
335
- Nt = !1, pt.current = Bt, wt(), Error.prepareStackTrace = zt;
335
+ Nt = !1, pt.current = Mt, wt(), Error.prepareStackTrace = zt;
336
336
  }
337
337
  var Ki = V ? V.displayName || V.name : "", br = Ki ? gt(Ki) : "";
338
338
  return typeof V == "function" && un.set(V, br), br;
@@ -364,9 +364,9 @@ function QO() {
364
364
  case N:
365
365
  return nr(V.type, Ae, Xe);
366
366
  case R: {
367
- var ut = V, zt = ut._payload, Bt = ut._init;
367
+ var ut = V, zt = ut._payload, Mt = ut._init;
368
368
  try {
369
- return nr(Bt(zt), Ae, Xe);
369
+ return nr(Mt(zt), Ae, Xe);
370
370
  } catch {
371
371
  }
372
372
  }
@@ -383,9 +383,9 @@ function QO() {
383
383
  }
384
384
  function vr(V, Ae, Xe, ut, zt) {
385
385
  {
386
- var Bt = Function.call.bind(Fn);
386
+ var Mt = Function.call.bind(Fn);
387
387
  for (var qt in V)
388
- if (Bt(V, qt)) {
388
+ if (Mt(V, qt)) {
389
389
  var en = void 0;
390
390
  try {
391
391
  if (typeof V[qt] != "function") {
@@ -471,7 +471,7 @@ function QO() {
471
471
  });
472
472
  }
473
473
  }
474
- var Cr = function(V, Ae, Xe, ut, zt, Bt, qt) {
474
+ var Cr = function(V, Ae, Xe, ut, zt, Mt, qt) {
475
475
  var en = {
476
476
  // This tag allows us to uniquely identify this as a React Element
477
477
  $$typeof: r,
@@ -481,7 +481,7 @@ function QO() {
481
481
  ref: Xe,
482
482
  props: qt,
483
483
  // Record the component responsible for creating this element.
484
- _owner: Bt
484
+ _owner: Mt
485
485
  };
486
486
  return en._store = {}, Object.defineProperty(en._store, "validated", {
487
487
  configurable: !1,
@@ -502,14 +502,14 @@ function QO() {
502
502
  };
503
503
  function gn(V, Ae, Xe, ut, zt) {
504
504
  {
505
- var Bt, qt = {}, en = null, yr = null;
505
+ var Mt, qt = {}, en = null, yr = null;
506
506
  Xe !== void 0 && (ee(Xe), en = "" + Xe), xt(Ae) && (ee(Ae.key), en = "" + Ae.key), We(Ae) && (yr = Ae.ref, jt(Ae, zt));
507
- for (Bt in Ae)
508
- Fn.call(Ae, Bt) && !Fe.hasOwnProperty(Bt) && (qt[Bt] = Ae[Bt]);
507
+ for (Mt in Ae)
508
+ Fn.call(Ae, Mt) && !Fe.hasOwnProperty(Mt) && (qt[Mt] = Ae[Mt]);
509
509
  if (V && V.defaultProps) {
510
510
  var Gn = V.defaultProps;
511
- for (Bt in Gn)
512
- qt[Bt] === void 0 && (qt[Bt] = Gn[Bt]);
511
+ for (Mt in Gn)
512
+ qt[Mt] === void 0 && (qt[Mt] = Gn[Mt]);
513
513
  }
514
514
  if (en || yr) {
515
515
  var Kn = typeof V == "function" ? V.displayName || V.name || "Unknown" : V;
@@ -586,7 +586,7 @@ Check the top-level render call using <` + Xe + ">.");
586
586
  else if (V) {
587
587
  var zt = Y(V);
588
588
  if (typeof zt == "function" && zt !== V.entries)
589
- for (var Bt = zt.call(V), qt; !(qt = Bt.next()).done; )
589
+ for (var Mt = zt.call(V), qt; !(qt = Mt.next()).done; )
590
590
  ha(qt.value) && Cs(qt.value, Ae);
591
591
  }
592
592
  }
@@ -629,7 +629,7 @@ Check the top-level render call using <` + Xe + ">.");
629
629
  }
630
630
  }
631
631
  var Ca = {};
632
- function aa(V, Ae, Xe, ut, zt, Bt) {
632
+ function aa(V, Ae, Xe, ut, zt, Mt) {
633
633
  {
634
634
  var qt = Ye(V);
635
635
  if (!qt) {
@@ -640,7 +640,7 @@ Check the top-level render call using <` + Xe + ">.");
640
640
  var Gn;
641
641
  V === null ? Gn = "null" : sn(V) ? Gn = "array" : V !== void 0 && V.$$typeof === r ? (Gn = "<" + (tt(V.type) || "Unknown") + " />", en = " Did you accidentally export a JSX literal instead of a component?") : Gn = typeof V, Z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Gn, en);
642
642
  }
643
- var Kn = gn(V, Ae, Xe, zt, Bt);
643
+ var Kn = gn(V, Ae, Xe, zt, Mt);
644
644
  if (Kn == null)
645
645
  return Kn;
646
646
  if (qt) {
@@ -2233,7 +2233,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
2233
2233
  }
2234
2234
  return q.useContext(F);
2235
2235
  }
2236
- function Bt(F) {
2236
+ function Mt(F) {
2237
2237
  var q = ut();
2238
2238
  return q.useState(F);
2239
2239
  }
@@ -2774,7 +2774,7 @@ Check the top-level render call using <` + fe + ">.");
2774
2774
  toArray: Cs,
2775
2775
  only: Gi
2776
2776
  };
2777
- r.Children = to, r.Component = nt, r.Fragment = h, r.Profiler = D, r.PureComponent = Nt, r.StrictMode = m, r.Suspense = N, r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ct, r.act = So, r.cloneElement = gu, r.createContext = Di, r.createElement = vl, r.createFactory = vu, r.createRef = Zt, r.forwardRef = ko, r.isValidElement = Cn, r.lazy = bo, r.memo = Xe, r.startTransition = pu, r.unstable_act = So, r.useCallback = Nr, r.useContext = zt, r.useDebugValue = _t, r.useDeferredValue = Qi, r.useEffect = yr, r.useId = xs, r.useImperativeHandle = br, r.useInsertionEffect = Gn, r.useLayoutEffect = Kn, r.useMemo = Ki, r.useReducer = qt, r.useRef = en, r.useState = Bt, r.useSyncExternalStore = dl, r.useTransition = Qt, r.version = i, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2777
+ r.Children = to, r.Component = nt, r.Fragment = h, r.Profiler = D, r.PureComponent = Nt, r.StrictMode = m, r.Suspense = N, r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ct, r.act = So, r.cloneElement = gu, r.createContext = Di, r.createElement = vl, r.createFactory = vu, r.createRef = Zt, r.forwardRef = ko, r.isValidElement = Cn, r.lazy = bo, r.memo = Xe, r.startTransition = pu, r.unstable_act = So, r.useCallback = Nr, r.useContext = zt, r.useDebugValue = _t, r.useDeferredValue = Qi, r.useEffect = yr, r.useId = xs, r.useImperativeHandle = br, r.useInsertionEffect = Gn, r.useLayoutEffect = Kn, r.useMemo = Ki, r.useReducer = qt, r.useRef = en, r.useState = Mt, r.useSyncExternalStore = dl, r.useTransition = Qt, r.version = i, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2778
2778
  }();
2779
2779
  }(t0, t0.exports)), t0.exports;
2780
2780
  }
@@ -3909,7 +3909,7 @@ function xL() {
3909
3909
  }
3910
3910
  return o.tag === 3 ? d : null;
3911
3911
  }
3912
- function Bt(a) {
3912
+ function Mt(a) {
3913
3913
  if (a.tag === 13) {
3914
3914
  var o = a.memoizedState;
3915
3915
  if (o === null && (a = a.alternate, a !== null && (o = a.memoizedState)), o !== null) return o.dehydrated;
@@ -4193,7 +4193,7 @@ function xL() {
4193
4193
  var d = zt(o);
4194
4194
  if (d !== null) {
4195
4195
  if (o = d.tag, o === 13) {
4196
- if (o = Bt(d), o !== null) {
4196
+ if (o = Mt(d), o !== null) {
4197
4197
  a.blockedOn = o, gl(a.priority, function() {
4198
4198
  Do(d);
4199
4199
  });
@@ -4281,7 +4281,7 @@ function xL() {
4281
4281
  function gu(a, o, d, v) {
4282
4282
  if (vl = null, a = fr(v), a = Tl(a), a !== null) if (o = zt(a), o === null) a = null;
4283
4283
  else if (d = o.tag, d === 13) {
4284
- if (a = Bt(o), a !== null) return a;
4284
+ if (a = Mt(o), a !== null) return a;
4285
4285
  a = null;
4286
4286
  } else if (d === 3) {
4287
4287
  if (o.stateNode.current.memoizedState.isDehydrated) return o.tag === 3 ? o.stateNode.containerInfo : null;
@@ -9016,7 +9016,7 @@ function _L() {
9016
9016
  }
9017
9017
  }
9018
9018
  }
9019
- var Ca = Symbol.for("react.element"), aa = Symbol.for("react.portal"), yo = Symbol.for("react.fragment"), Si = Symbol.for("react.strict_mode"), bo = Symbol.for("react.profiler"), ko = Symbol.for("react.provider"), V = Symbol.for("react.context"), Ae = Symbol.for("react.forward_ref"), Xe = Symbol.for("react.suspense"), ut = Symbol.for("react.suspense_list"), zt = Symbol.for("react.memo"), Bt = Symbol.for("react.lazy"), qt = Symbol.for("react.scope"), en = Symbol.for("react.debug_trace_mode"), yr = Symbol.for("react.offscreen"), Gn = Symbol.for("react.legacy_hidden"), Kn = Symbol.for("react.cache"), Nr = Symbol.for("react.tracing_marker"), Ki = Symbol.iterator, br = "@@iterator";
9019
+ var Ca = Symbol.for("react.element"), aa = Symbol.for("react.portal"), yo = Symbol.for("react.fragment"), Si = Symbol.for("react.strict_mode"), bo = Symbol.for("react.profiler"), ko = Symbol.for("react.provider"), V = Symbol.for("react.context"), Ae = Symbol.for("react.forward_ref"), Xe = Symbol.for("react.suspense"), ut = Symbol.for("react.suspense_list"), zt = Symbol.for("react.memo"), Mt = Symbol.for("react.lazy"), qt = Symbol.for("react.scope"), en = Symbol.for("react.debug_trace_mode"), yr = Symbol.for("react.offscreen"), Gn = Symbol.for("react.legacy_hidden"), Kn = Symbol.for("react.cache"), Nr = Symbol.for("react.tracing_marker"), Ki = Symbol.iterator, br = "@@iterator";
9020
9020
  function _t(e) {
9021
9021
  if (e === null || typeof e != "object")
9022
9022
  return null;
@@ -9204,7 +9204,7 @@ function _L() {
9204
9204
  return cu(e.render);
9205
9205
  case zt:
9206
9206
  return ri(e.type, t, s);
9207
- case Bt: {
9207
+ case Mt: {
9208
9208
  var u = e, p = u._payload, y = u._init;
9209
9209
  try {
9210
9210
  return ri(y(p), t, s);
@@ -9293,7 +9293,7 @@ Error generating stack: ` + u.message + `
9293
9293
  case zt:
9294
9294
  var u = e.displayName || null;
9295
9295
  return u !== null ? u : vn(e.type) || "Memo";
9296
- case Bt: {
9296
+ case Mt: {
9297
9297
  var p = e, y = p._payload, w = p._init;
9298
9298
  try {
9299
9299
  return vn(w(y));
@@ -14976,7 +14976,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
14976
14976
  // We need to do this after the Hot Reloading check above,
14977
14977
  // because hot reloading has different semantics than prod because
14978
14978
  // it doesn't resuspend. So we can't let the call below suspend.
14979
- typeof lt == "object" && lt !== null && lt.$$typeof === Bt && vx(lt) === De.type)) {
14979
+ typeof lt == "object" && lt !== null && lt.$$typeof === Mt && vx(lt) === De.type)) {
14980
14980
  var at = p(De, le.props);
14981
14981
  return at.ref = mv(se, De, le), at.return = se, at._debugSource = le._source, at._debugOwner = le._owner, at;
14982
14982
  }
@@ -15016,7 +15016,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15016
15016
  var at = TD(De, se.mode, le);
15017
15017
  return at.return = se, at;
15018
15018
  }
15019
- case Bt: {
15019
+ case Mt: {
15020
15020
  var Lt = De._payload, Gt = De._init;
15021
15021
  return re(se, Gt(Lt), le);
15022
15022
  }
@@ -15039,7 +15039,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15039
15039
  return le.key === lt ? A(se, De, le, Ie) : null;
15040
15040
  case aa:
15041
15041
  return le.key === lt ? O(se, De, le, Ie) : null;
15042
- case Bt: {
15042
+ case Mt: {
15043
15043
  var at = le._payload, Lt = le._init;
15044
15044
  return te(se, De, Lt(at), Ie);
15045
15045
  }
@@ -15065,7 +15065,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15065
15065
  var Gt = se.get(Ie.key === null ? le : Ie.key) || null;
15066
15066
  return O(De, Gt, Ie, lt);
15067
15067
  }
15068
- case Bt:
15068
+ case Mt:
15069
15069
  var Zn = Ie._payload, Nn = Ie._init;
15070
15070
  return ue(se, De, le, Nn(Zn), lt);
15071
15071
  }
@@ -15098,7 +15098,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15098
15098
  }
15099
15099
  m("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.", Ie);
15100
15100
  break;
15101
- case Bt:
15101
+ case Mt:
15102
15102
  var lt = se._payload, at = se._init;
15103
15103
  ge(at(lt), De, le);
15104
15104
  break;
@@ -15231,7 +15231,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15231
15231
  // We need to do this after the Hot Reloading check above,
15232
15232
  // because hot reloading has different semantics than prod because
15233
15233
  // it doesn't resuspend. So we can't let the call below suspend.
15234
- typeof Lt == "object" && Lt !== null && Lt.$$typeof === Bt && vx(Lt) === at.type) {
15234
+ typeof Lt == "object" && Lt !== null && Lt.$$typeof === Mt && vx(Lt) === at.type) {
15235
15235
  s(se, at.sibling);
15236
15236
  var Zn = p(at, le.props);
15237
15237
  return Zn.ref = mv(se, at, le), Zn.return = se, Zn._debugSource = le._source, Zn._debugOwner = le._owner, Zn;
@@ -15276,7 +15276,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15276
15276
  return w($t(se, De, le, Ie));
15277
15277
  case aa:
15278
15278
  return w(dn(se, De, le, Ie));
15279
- case Bt:
15279
+ case Mt:
15280
15280
  var at = le._payload, Lt = le._init;
15281
15281
  return ln(se, De, Lt(at), Ie);
15282
15282
  }
@@ -17587,7 +17587,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17587
17587
  function b1(e, t, s, u, p) {
17588
17588
  if (t.type !== t.elementType) {
17589
17589
  var y = t.elementType;
17590
- if (y.$$typeof === Bt) {
17590
+ if (y.$$typeof === Mt) {
17591
17591
  var w = y, _ = w._payload, A = w._init;
17592
17592
  try {
17593
17593
  y = A(_);
@@ -17859,7 +17859,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17859
17859
  }
17860
17860
  }
17861
17861
  var ue = "";
17862
- throw A !== null && typeof A == "object" && A.$$typeof === Bt && (ue = " Did you wrap a component in React.lazy() more than once?"), new Error("Element type is invalid. Received a promise that resolves to: " + A + ". " + ("Lazy element type must resolve to a class or function." + ue));
17862
+ throw A !== null && typeof A == "object" && A.$$typeof === Mt && (ue = " Did you wrap a component in React.lazy() more than once?"), new Error("Element type is invalid. Received a promise that resolves to: " + A + ". " + ("Lazy element type must resolve to a class or function." + ue));
17863
17863
  }
17864
17864
  function o3(e, t, s, u, p) {
17865
17865
  xk(e, t), t.tag = T;
@@ -20880,16 +20880,16 @@ This ensures that you're testing the behavior the user would see in the browser.
20880
20880
  break;
20881
20881
  }
20882
20882
  case C: {
20883
- (typeof u == "function" || y === Bt) && (p = !0);
20883
+ (typeof u == "function" || y === Mt) && (p = !0);
20884
20884
  break;
20885
20885
  }
20886
20886
  case W: {
20887
- (y === Ae || y === Bt) && (p = !0);
20887
+ (y === Ae || y === Mt) && (p = !0);
20888
20888
  break;
20889
20889
  }
20890
20890
  case ae:
20891
20891
  case pe: {
20892
- (y === zt || y === Bt) && (p = !0);
20892
+ (y === zt || y === Mt) && (p = !0);
20893
20893
  break;
20894
20894
  }
20895
20895
  default:
@@ -21138,7 +21138,7 @@ This ensures that you're testing the behavior the user would see in the browser.
21138
21138
  case zt:
21139
21139
  w = ae;
21140
21140
  break e;
21141
- case Bt:
21141
+ case Mt:
21142
21142
  w = Te, _ = null;
21143
21143
  break e;
21144
21144
  }
@@ -22474,7 +22474,7 @@ let rg = class {
22474
22474
  * Copyright 2018 Google LLC
22475
22475
  * SPDX-License-Identifier: BSD-3-Clause
22476
22476
  */
22477
- const Mt = lh(class extends rg {
22477
+ const Bt = lh(class extends rg {
22478
22478
  constructor(n) {
22479
22479
  var r;
22480
22480
  if (super(n), n.type !== nu.ATTRIBUTE || n.name !== "class" || ((r = n.strings) == null ? void 0 : r.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
@@ -22855,8 +22855,8 @@ let ru = class extends Gr {
22855
22855
  "pkt-alert__noDate": !this.date
22856
22856
  };
22857
22857
  return be`
22858
- <div class=${Mt(r)}>
22859
- <div class=${Mt(i)}>
22858
+ <div class=${Bt(r)}>
22859
+ <div class=${Bt(i)}>
22860
22860
  <pkt-icon
22861
22861
  class="pkt-alert__icon"
22862
22862
  aria-hidden="true"
@@ -22936,7 +22936,7 @@ let Qm = class extends Ym {
22936
22936
  return be`
22937
22937
  <div
22938
22938
  part="container"
22939
- class=${Mt(r)}
22939
+ class=${Bt(r)}
22940
22940
  data-testid="pkt-accordion"
22941
22941
  aria-labelledby=${this.ariaLabelledBy}
22942
22942
  >
@@ -22975,7 +22975,7 @@ let kf = class extends Gr {
22975
22975
  };
22976
22976
  return be`
22977
22977
  <details
22978
- class=${Mt(r)}
22978
+ class=${Bt(r)}
22979
22979
  id=${this.id}
22980
22980
  ?open=${this.isOpen}
22981
22981
  ${Kt(this.accordionItemRef)}
@@ -24821,7 +24821,7 @@ let lr = class extends Gr {
24821
24821
  "pkt-cal-in-range-last": this.range && this.selected.length === 2 && h === this.selected[1],
24822
24822
  "pkt-cal-range-hover": this.rangeHovered !== null && h === ei(this.rangeHovered)
24823
24823
  };
24824
- return be`<td class=${Mt(N)}>
24824
+ return be`<td class=${Bt(N)}>
24825
24825
  <div
24826
24826
  ?aria-selected=${D}
24827
24827
  role="gridcell"
@@ -25147,7 +25147,7 @@ let al = class extends Gr {
25147
25147
  };
25148
25148
  return this.closeTag ? be`
25149
25149
  <button
25150
- class=${Mt(i)}
25150
+ class=${Bt(i)}
25151
25151
  type=${this.type}
25152
25152
  @click=${this.close}
25153
25153
  aria-label=${hn(this.ariaLabel || void 0)}
@@ -25158,7 +25158,7 @@ let al = class extends Gr {
25158
25158
  <pkt-icon class="pkt-tag__close-btn" name="close"></pkt-icon>
25159
25159
  </button>
25160
25160
  ` : be`
25161
- <span class=${Mt(r)}>
25161
+ <span class=${Bt(r)}>
25162
25162
  ${this.iconName && be`<pkt-icon class="pkt-tag__icon" name=${this.iconName}></pkt-icon>`}
25163
25163
  <span ${Kt(this.defaultSlot)}></span>
25164
25164
  </span>
@@ -25238,7 +25238,7 @@ let ja = class extends Gr {
25238
25238
  }, c = ((r = this.ariaLabel) == null ? void 0 : r.trim()) || (this.heading ? `${this.heading} lenkekort` : "lenkekort"), h = ((i = this.ariaLabel) == null ? void 0 : i.trim()) || (this.heading ? this.heading : "kort");
25239
25239
  return be`
25240
25240
  <article
25241
- class=${Mt(l)}
25241
+ class=${Bt(l)}
25242
25242
  aria-label=${hn(this.clickCardLink ? c : h)}
25243
25243
  >
25244
25244
  ${this.renderImage()}
@@ -25260,7 +25260,7 @@ let ja = class extends Gr {
25260
25260
  };
25261
25261
  return be`
25262
25262
  ${this.image.src && be`
25263
- <div class=${Mt(r)}>
25263
+ <div class=${Bt(r)}>
25264
25264
  <img src=${this.image.src} alt=${this.image.alt || ""} />
25265
25265
  </div>
25266
25266
  `}
@@ -25328,7 +25328,7 @@ let ja = class extends Gr {
25328
25328
  return be`
25329
25329
  ${this.tags.length > 0 ? be`
25330
25330
  <div
25331
- class=${Mt(r)}
25331
+ class=${Bt(r)}
25332
25332
  role="list"
25333
25333
  aria-label=${this.tags.length > 1 ? "merkelapper" : "merkelapp"}
25334
25334
  >
@@ -25797,7 +25797,7 @@ let wf = class extends Gr {
25797
25797
  <span class="pkt-btn__text">${n0(this.helptextDropdownButton)}</span>
25798
25798
  </button>
25799
25799
  <div
25800
- class="${Mt({
25800
+ class="${Bt({
25801
25801
  "pkt-inputwrapper__helptext": !0,
25802
25802
  "pkt-inputwrapper__helptext-expandable-open": this.isHelpTextOpen,
25803
25803
  "pkt-inputwrapper__helptext-expandable-closed": !this.isHelpTextOpen
@@ -25860,7 +25860,7 @@ let Sr = class extends Gr {
25860
25860
  "pkt-tag--thin-text": !0,
25861
25861
  "pkt-tag--blue-light": this.optionalTag,
25862
25862
  "pkt-tag--beige": !this.optionalTag && this.requiredTag
25863
- }, l = this.ariaDescribedby ? this.ariaDescribedby : this.helptext ? `${this.forId}-helptext` : Ve, c = () => this.optionalTag || this.requiredTag ? be`<span class=${Mt(i)}
25863
+ }, l = this.ariaDescribedby ? this.ariaDescribedby : this.helptext ? `${this.forId}-helptext` : Ve, c = () => this.optionalTag || this.requiredTag ? be`<span class=${Bt(i)}
25864
25864
  >${this.optionalTag ? this.optionalText : this.requiredTag ? this.requiredText : Ve}</span
25865
25865
  >` : Ve, h = () => this.useWrapper ? this.hasFieldset ? be`<legend
25866
25866
  class="pkt-inputwrapper__legend"
@@ -25914,7 +25914,7 @@ let Sr = class extends Gr {
25914
25914
  `, $ = () => this.hasFieldset ? be`<fieldset class="pkt-inputwrapper__fieldset" aria-describedby="${l}">
25915
25915
  ${T()}
25916
25916
  </fieldset>` : be`<div class="pkt-inputwrapper__fieldset">${T()}</div>`;
25917
- return be`<div class=${Mt(r)}>${$()}</div> `;
25917
+ return be`<div class=${Bt(r)}>${$()}</div> `;
25918
25918
  }
25919
25919
  toggleDropdown(r) {
25920
25920
  this.dispatchEvent(
@@ -26029,7 +26029,7 @@ let yi = class extends Gr {
26029
26029
  render() {
26030
26030
  return be`
26031
26031
  <div
26032
- class=${Mt({
26032
+ class=${Bt({
26033
26033
  "pkt-listbox": !0,
26034
26034
  "pkt-listbox__open": this.isOpen,
26035
26035
  "pkt-txt-16-light": !0
@@ -26073,7 +26073,7 @@ let yi = class extends Gr {
26073
26073
  }}
26074
26074
  aria-selected=${r.selected ? "true" : "false"}
26075
26075
  @keydown=${this.handleOptionKeydown}
26076
- class=${Mt({
26076
+ class=${Bt({
26077
26077
  "pkt-listbox__option": !0,
26078
26078
  "pkt-listbox__option--selected": !!(!this.isMultiSelect && r.selected),
26079
26079
  "pkt-listbox__option--checkBox": this.isMultiSelect
@@ -26433,7 +26433,7 @@ let na = class extends cn {
26433
26433
  <div class="pkt-contents" ${Kt(this.helptextSlot)} name="helptext" slot="helptext"></div>
26434
26434
  <div class="pkt-combobox" @focusout=${this.handleFocusOut}>
26435
26435
  <div
26436
- class=${Mt({
26436
+ class=${Bt({
26437
26437
  "pkt-combobox__input": !0,
26438
26438
  "pkt-combobox__input--fullwidth": this.fullwidth,
26439
26439
  "pkt-combobox__input--open": this._isOptionsOpen,
@@ -26461,7 +26461,7 @@ let na = class extends cn {
26461
26461
  tabindex="${this.disabled ? "-1" : "0"}"
26462
26462
  >
26463
26463
  <pkt-icon
26464
- class=${Mt({
26464
+ class=${Bt({
26465
26465
  "pkt-combobox__arrow-icon": !0,
26466
26466
  "pkt-combobox__arrow-icon--open": this._isOptionsOpen
26467
26467
  })}
@@ -27019,15 +27019,16 @@ let il = class extends cn {
27019
27019
  r.has("defaultChecked") && !this.checked && (this.checked = this.defaultChecked), super.firstUpdated(r);
27020
27020
  }
27021
27021
  render() {
27022
- const r = Mt({
27022
+ const r = Bt({
27023
27023
  "pkt-input-check__input": !0,
27024
27024
  "pkt-input-check__input--tile": this.hasTile,
27025
27025
  "pkt-input-check__input--tile-disabled": this.disabled && this.hasTile
27026
- }), i = Mt({
27026
+ }), i = Bt({
27027
27027
  "pkt-input-check__input-checkbox": !0,
27028
27028
  "pkt-input-check__input-checkbox--error": this.hasError
27029
- }), l = Mt({
27029
+ }), l = Bt({
27030
27030
  "pkt-input-check__input-label": !0,
27031
+ "pkt-input-check__input-label--disabled": this.disabled,
27031
27032
  "pkt-input-check__input-label--left": this.labelPosition === "left",
27032
27033
  "pkt-input-check__input-label--right": this.labelPosition === "right",
27033
27034
  "pkt-sr-only": this.hideLabel
@@ -27170,7 +27171,7 @@ let ra = class extends cn {
27170
27171
  renderInput() {
27171
27172
  return be`
27172
27173
  <input
27173
- class="${Mt(this.inputClasses)}"
27174
+ class="${Bt(this.inputClasses)}"
27174
27175
  .type=${this.inputType}
27175
27176
  id="${this.id}-input"
27176
27177
  .value=${this._value[0] ?? ""}
@@ -27212,7 +27213,7 @@ let ra = class extends cn {
27212
27213
  return be`
27213
27214
  ${this.showRangeLabels ? be` <div class="pkt-input-prefix">${this.strings.generic.from}</div> ` : Ve}
27214
27215
  <input
27215
- class=${Mt(this.inputClasses)}
27216
+ class=${Bt(this.inputClasses)}
27216
27217
  .type=${this.inputType}
27217
27218
  id="${this.id}-input"
27218
27219
  .value=${this._value[0] ?? ""}
@@ -27248,12 +27249,12 @@ let ra = class extends cn {
27248
27249
  }}
27249
27250
  ${Kt(this.inputRef)}
27250
27251
  />
27251
- <div class="${Mt(n)}" id="${this.id}-to-label">
27252
+ <div class="${Bt(n)}" id="${this.id}-to-label">
27252
27253
  ${this.strings.generic.to}
27253
27254
  </div>
27254
27255
  ${this.showRangeLabels ? Ve : be` <div class="pkt-input-separator">–</div> `}
27255
27256
  <input
27256
- class=${Mt(this.inputClasses)}
27257
+ class=${Bt(this.inputClasses)}
27257
27258
  .type=${this.inputType}
27258
27259
  id="${this.id}-to"
27259
27260
  aria-labelledby="${this.id}-to-label"
@@ -27305,7 +27306,7 @@ let ra = class extends cn {
27305
27306
  renderMultipleInput() {
27306
27307
  return be`
27307
27308
  <input
27308
- class=${Mt(this.inputClasses)}
27309
+ class=${Bt(this.inputClasses)}
27309
27310
  .type=${this.inputType}
27310
27311
  id="${this.id}-input"
27311
27312
  min=${hn(this.min)}
@@ -27440,7 +27441,7 @@ let ra = class extends cn {
27440
27441
  <div class="pkt-input__container">
27441
27442
  ${this.range ? this.renderRangeInput() : this.multiple ? this.renderMultipleInput() : this.renderInput()}
27442
27443
  <button
27443
- class="${Mt(this.buttonClasses)}"
27444
+ class="${Bt(this.buttonClasses)}"
27444
27445
  type="button"
27445
27446
  @click=${this.toggleCalendar}
27446
27447
  ?disabled=${this.disabled}
@@ -27559,18 +27560,18 @@ let ah = class extends Gr {
27559
27560
  };
27560
27561
  switch (this.level) {
27561
27562
  case 2:
27562
- return be`<h2 class=${Mt(r)} ${Kt(this.defaultSlot)}></h2>`;
27563
+ return be`<h2 class=${Bt(r)} ${Kt(this.defaultSlot)}></h2>`;
27563
27564
  case 3:
27564
- return be`<h3 class=${Mt(r)} ${Kt(this.defaultSlot)}></h3>`;
27565
+ return be`<h3 class=${Bt(r)} ${Kt(this.defaultSlot)}></h3>`;
27565
27566
  case 4:
27566
- return be`<h4 class=${Mt(r)} ${Kt(this.defaultSlot)}></h4>`;
27567
+ return be`<h4 class=${Bt(r)} ${Kt(this.defaultSlot)}></h4>`;
27567
27568
  case 5:
27568
- return be`<h5 class=${Mt(r)} ${Kt(this.defaultSlot)}></h5>`;
27569
+ return be`<h5 class=${Bt(r)} ${Kt(this.defaultSlot)}></h5>`;
27569
27570
  case 6:
27570
- return be`<h6 class=${Mt(r)} ${Kt(this.defaultSlot)}></h6>`;
27571
+ return be`<h6 class=${Bt(r)} ${Kt(this.defaultSlot)}></h6>`;
27571
27572
  case 1:
27572
27573
  default:
27573
- return be`<h1 class=${Mt(r)} ${Kt(this.defaultSlot)}></h1>`;
27574
+ return be`<h1 class=${Bt(r)} ${Kt(this.defaultSlot)}></h1>`;
27574
27575
  }
27575
27576
  }
27576
27577
  };
@@ -27622,7 +27623,7 @@ let Sf = class extends Gr {
27622
27623
  "pkt-link--external": this.external
27623
27624
  };
27624
27625
  return be`<a
27625
- class=${Mt(r)}
27626
+ class=${Bt(r)}
27626
27627
  href=${this.href}
27627
27628
  .target=${this.target}
27628
27629
  .rel=${this.external ? "noopener noreferrer" : Ve}
@@ -27712,11 +27713,11 @@ let iu = class extends Gr {
27712
27713
  r.has("delay") && this.setupLoader();
27713
27714
  }
27714
27715
  render() {
27715
- const r = Mt({
27716
+ const r = Bt({
27716
27717
  "pkt-loader": !0,
27717
27718
  [`pkt-loader--${this.inline ? "inline" : "box"}`]: !0,
27718
27719
  [`pkt-loader--${this.size}`]: !0
27719
- }), i = Mt({
27720
+ }), i = Bt({
27720
27721
  "pkt-contents": !0,
27721
27722
  "pkt-hide": this.isLoading
27722
27723
  });
@@ -27812,7 +27813,7 @@ let Cf = class extends Gr {
27812
27813
  "pkt-messagebox--closable": this.closable,
27813
27814
  "pkt-hide": this._isClosed
27814
27815
  };
27815
- return be`<div class=${Mt(n)}>
27816
+ return be`<div class=${Bt(n)}>
27816
27817
  ${this.closable ? be`<div class="pkt-messagebox__close">
27817
27818
  <button
27818
27819
  @click=${this.close}
@@ -27934,7 +27935,7 @@ let Ds = class extends Gr {
27934
27935
  };
27935
27936
  return be`
27936
27937
  <dialog
27937
- class=${Mt(r)}
27938
+ class=${Bt(r)}
27938
27939
  ${Kt(this.dialogRef)}
27939
27940
  aria-labelledby="pkt-modal__headingText"
27940
27941
  aria-describedby="pkt-modal__content"
@@ -27943,13 +27944,13 @@ let Ds = class extends Gr {
27943
27944
  <div class="pkt-modal__wrapper">
27944
27945
  ${this.headingText || !this.hideCloseButton ? be`<div class="pkt-modal__header">
27945
27946
  <div class="pkt-modal__header-background"></div>
27946
- ${this.headingText ? be`<h1 id="pkt-modal__headingText" class=${Mt(i)}>
27947
+ ${this.headingText ? be`<h1 id="pkt-modal__headingText" class=${Bt(i)}>
27947
27948
  ${this.headingText}
27948
27949
  </h1>` : be`<div class="pkt-modal__headingText"></div>`}
27949
- ${this.hideCloseButton ? be`<div class="pkt-modal__noCloseButton"></div>` : be`<div class="${Mt(h)}">
27950
+ ${this.hideCloseButton ? be`<div class="pkt-modal__noCloseButton"></div>` : be`<div class="${Bt(h)}">
27950
27951
  <pkt-button
27951
27952
  @click=${(D) => this.close(D)}
27952
- class=${Mt(m)}
27953
+ class=${Bt(m)}
27953
27954
  aria-label="close"
27954
27955
  iconname="close"
27955
27956
  variant="icon-only"
@@ -27961,7 +27962,7 @@ let Ds = class extends Gr {
27961
27962
  <div class="pkt-modal__container">
27962
27963
  <div
27963
27964
  id="pkt-modal__content"
27964
- class=${Mt(l)}
27965
+ class=${Bt(l)}
27965
27966
  ${Kt(this.defaultSlot)}
27966
27967
  ></div>
27967
27968
  </div>
@@ -28050,16 +28051,16 @@ let da = class extends Gr {
28050
28051
  super.updated(r), r.has("valueCurrent") && this.labelRef.value && (this.labelWidth = this.labelRef.value.getBoundingClientRect().width || 0), r.has("id") && this.id && (this.progressBarId = this.id), (r.has("statusType") || r.has("id") || r.has("ariaLabelledby")) && (this.progressbarId = this.id || eh(), this.computedAriaLabelledby = this.ariaLabelledby || `${this.progressbarId}-title`), (r.has("ariaValueText") || r.has("valueCurrent") || r.has("valueMax")) && (this.computedAriaValueText = this.statusType === "fraction" && !this.ariaValueText ? `${this.valueCurrent} av ${this.valueMax - this.valueMin}` : this.ariaValueText || ""), this.syncAttributes();
28051
28052
  }
28052
28053
  render() {
28053
- const r = this.statusType !== "none", i = this.valueMax - this.valueMin, l = this.valueCurrent / i * 100, c = this.statusType === "fraction" ? Math.round(l) : Math.round((this.valueCurrent - this.valueMin) / (this.valueMax - this.valueMin) * 100), h = `${this.valueCurrent} av ${i}`, m = Mt({
28054
+ const r = this.statusType !== "none", i = this.valueMax - this.valueMin, l = this.valueCurrent / i * 100, c = this.statusType === "fraction" ? Math.round(l) : Math.round((this.valueCurrent - this.valueMin) / (this.valueMax - this.valueMin) * 100), h = `${this.valueCurrent} av ${i}`, m = Bt({
28054
28055
  "pkt-progressbar__bar": !0,
28055
28056
  [`pkt-progressbar__bar--${this.skin}`]: !!this.skin
28056
- }), D = Mt({
28057
+ }), D = Bt({
28057
28058
  "pkt-progressbar__title": !0,
28058
28059
  "pkt-progressbar__title-center": this.titlePosition === "center"
28059
- }), C = Mt({
28060
+ }), C = Bt({
28060
28061
  "pkt-progressbar__status": !0,
28061
28062
  "pkt-progressbar__status--center": this.statusPlacement === "center"
28062
- }), T = Mt({
28063
+ }), T = Bt({
28063
28064
  "pkt-progressbar__status-placement--following": this.statusPlacement === "following",
28064
28065
  "pkt-progressbar__status-placement--center": this.statusPlacement === "center",
28065
28066
  "pkt-progressbar__status-placement--left": this.statusPlacement === "left"
@@ -28169,14 +28170,23 @@ let ac = class extends cn {
28169
28170
  n === "defaultChecked" && (this._checked = this.defaultChecked), n === "checked" && (this._checked = this.checked === "" || this.checked === "true" || this.checked === !0), super.attributeChangedCallback(n, r, i);
28170
28171
  }
28171
28172
  render() {
28172
- const n = Mt({
28173
+ const n = Bt({
28173
28174
  "pkt-input-check__input": !0,
28174
28175
  "pkt-input-check__input--tile": this.hasTile,
28175
28176
  "pkt-input-check__input--tile-disabled": this.disabled && this.hasTile
28176
- }), r = Mt({
28177
+ }), r = Bt({
28177
28178
  "pkt-input-check__input-checkbox": !0,
28178
28179
  "pkt-input-check__input-checkbox--error": this.hasError
28179
- });
28180
+ }), i = Bt({
28181
+ "pkt-input-check__input-label": !0,
28182
+ "pkt-input-check__input-label--disabled": this.disabled,
28183
+ "pkt-sr-only": this.hideLabel
28184
+ }), l = () => be`
28185
+ <label class=${i} for=${this.id + "-internal"}>
28186
+ ${this.label}
28187
+ ${this.checkHelptext ? be`<div class="pkt-input-check__input-helptext">${this.checkHelptext}</div>` : Ve}
28188
+ </label>
28189
+ `;
28180
28190
  return be`
28181
28191
  <div class="pkt-input-check">
28182
28192
  <div class=${n}>
@@ -28195,10 +28205,7 @@ let ac = class extends cn {
28195
28205
  @focus=${this.onFocus}
28196
28206
  ?checked=${this.checked}
28197
28207
  />
28198
- <label class="pkt-input-check__input-label" for=${this.id + "-internal"}>
28199
- ${this.label}
28200
- ${this.checkHelptext ? be`<div class="pkt-input-check__input-helptext">${this.checkHelptext}</div>` : Ve}
28201
- </label>
28208
+ ${l()}
28202
28209
  </div>
28203
28210
  </div>
28204
28211
  `;
@@ -28272,7 +28279,7 @@ let ih = class extends cn {
28272
28279
  super.updated(r), r.has("value") && (this.counterCurrent = ((i = this.value) == null ? void 0 : i.length) || 0, this.valueChanged(this.value, r.get("value"))), r.has("id") && !this.name && this.id && (this.name = this.id);
28273
28280
  }
28274
28281
  render() {
28275
- const r = Mt({
28282
+ const r = Bt({
28276
28283
  "pkt-input": !0,
28277
28284
  "pkt-input--fullwidth": this.fullwidth,
28278
28285
  "pkt-input--counter-error": this.counter && this.counterMaxLength && this.value.length && this.value.length > this.counterMaxLength
@@ -28364,7 +28371,7 @@ let ol = class extends cn {
28364
28371
  super.updated(r), r.has("value") && (this.counterCurrent = ((i = this.value) == null ? void 0 : i.length) || 0, this.valueChanged(this.value, r.get("value"))), r.has("id") && !this.name && this.id && (this.name = this.id);
28365
28372
  }
28366
28373
  render() {
28367
- const r = this.type === "search" && !this.iconNameRight && !this.omitSearchIcon, i = Mt({
28374
+ const r = this.type === "search" && !this.iconNameRight && !this.omitSearchIcon, i = Bt({
28368
28375
  "pkt-input": !0,
28369
28376
  "pkt-input--fullwidth": this.fullwidth,
28370
28377
  "pkt-input--counter-error": this.counter && this.counterMaxLength && this.value.length && this.value.length > this.counterMaxLength
@@ -28653,7 +28660,7 @@ let Zm = class extends Gr {
28653
28660
  "pkt-darkmode": this.darkmode
28654
28661
  };
28655
28662
  return be`
28656
- <div class="${Mt(n)}">
28663
+ <div class="${Bt(n)}">
28657
28664
  <h1 class="pkt-txt-28">${this.string}</h1>
28658
28665
 
28659
28666
  <h2 class="pkt-txt-22">Innhold fra attributter og funksjoner</h2>
@@ -32524,10 +32531,10 @@ Expected it to be ${x}.`;
32524
32531
  return x == null ? void 0 : x.parsers[0];
32525
32532
  }
32526
32533
  var V = ko, Ae = "inline", Xe = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", select: "inline-block", option: "block", optgroup: "block" }, ut = "normal", zt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
32527
- function Bt(f) {
32534
+ function Mt(f) {
32528
32535
  return f.type === "element" && !f.hasExplicitNamespace && !["html", "svg"].includes(f.namespace);
32529
32536
  }
32530
- var qt = Bt, en = (f) => Z(!1, f, /^[\t\f\r ]*\n/gu, ""), yr = (f) => en(gn.trimEnd(f)), Gn = (f) => {
32537
+ var qt = Mt, en = (f) => Z(!1, f, /^[\t\f\r ]*\n/gu, ""), yr = (f) => en(gn.trimEnd(f)), Gn = (f) => {
32531
32538
  let g = f, k = gn.getLeadingWhitespace(g);
32532
32539
  k && (g = g.slice(k.length));
32533
32540
  let x = gn.getTrailingWhitespace(g);