@oslokommune/punkt-react 12.3.9 → 12.3.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.
@@ -37,8 +37,8 @@
37
37
  var zm = (e, t, n) => t in e ? Wm(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
38
38
  var nr = (e, t, n) => zm(e, typeof t != "symbol" ? t + "" : t, n);
39
39
  import * as Vm from "react";
40
- import xe, { forwardRef as Ne, createContext as Ym, useState as Ve, useContext as Gm, useEffect as oa, Fragment as fo, isValidElement as ta, useRef as ga, cloneElement as Km } from "react";
41
- import { Link as ou } from "react-router-dom";
40
+ import xe, { forwardRef as Ne, createContext as Ym, useState as Ve, useContext as Gm, useEffect as oa, Fragment as mo, isValidElement as ta, useRef as ga, cloneElement as Km } from "react";
41
+ import { Link as lu } from "react-router-dom";
42
42
  function Jm(e, t) {
43
43
  for (var n = 0; n < t.length; n++) {
44
44
  const r = t[n];
@@ -59,7 +59,7 @@ var gn = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
59
59
  function _i(e) {
60
60
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
61
61
  }
62
- var zs = { exports: {} }, Ur = {};
62
+ var Vs = { exports: {} }, Ur = {};
63
63
  /**
64
64
  * @license React
65
65
  * react-jsx-runtime.production.min.js
@@ -69,10 +69,10 @@ var zs = { exports: {} }, Ur = {};
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
71
  */
72
- var lu;
72
+ var uu;
73
73
  function Xm() {
74
- if (lu) return Ur;
75
- lu = 1;
74
+ if (uu) return Ur;
75
+ uu = 1;
76
76
  var e = xe, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
77
77
  function u(c, d, h) {
78
78
  var g, v = {}, D = null, b = null;
@@ -93,9 +93,9 @@ var Wr = {};
93
93
  * This source code is licensed under the MIT license found in the
94
94
  * LICENSE file in the root directory of this source tree.
95
95
  */
96
- var uu;
96
+ var cu;
97
97
  function Qm() {
98
- return uu || (uu = 1, process.env.NODE_ENV !== "production" && function() {
98
+ return cu || (cu = 1, process.env.NODE_ENV !== "production" && function() {
99
99
  var e = xe, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), k = Symbol.iterator, _ = "@@iterator";
100
100
  function C(w) {
101
101
  if (w === null || typeof w != "object")
@@ -687,8 +687,8 @@ React keys must be passed directly to JSX without using spread:
687
687
  Wr.Fragment = r, Wr.jsx = Qi, Wr.jsxs = Kn;
688
688
  }()), Wr;
689
689
  }
690
- process.env.NODE_ENV === "production" ? zs.exports = Xm() : zs.exports = Qm();
691
- var m = zs.exports;
690
+ process.env.NODE_ENV === "production" ? Vs.exports = Xm() : Vs.exports = Qm();
691
+ var m = Vs.exports;
692
692
  const u_ = Ne(
693
693
  ({ compact: e = !1, skin: t = "borderless", className: n, children: r }, i) => {
694
694
  const o = [
@@ -848,7 +848,7 @@ const p_ = Ne(
848
848
  const o = e.slice(0, 4), u = o[o.length - 2], c = [n, "pkt-breadcrumbs"].filter(Boolean).join(" ");
849
849
  return /* @__PURE__ */ m.jsxs("nav", { ref: i, "aria-label": "brødsmulemeny", className: c, children: [
850
850
  /* @__PURE__ */ m.jsx("ol", { className: "pkt-breadcrumbs__list pkt-breadcrumbs--desktop", children: o.map((d, h) => /* @__PURE__ */ m.jsx("li", { className: "pkt-breadcrumbs__item", children: h === o.length - 1 ? /* @__PURE__ */ m.jsx("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ m.jsx("span", { className: "pkt-breadcrumbs__text", children: d.text }) }) : t === "router" ? /* @__PURE__ */ m.jsxs(
851
- ou,
851
+ lu,
852
852
  {
853
853
  to: d.href,
854
854
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
@@ -870,7 +870,7 @@ const p_ = Ne(
870
870
  ]
871
871
  }
872
872
  ) }, `breadcrumb-${h}`)) }),
873
- t === "router" ? /* @__PURE__ */ m.jsxs(ou, { to: u.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...r, children: [
873
+ t === "router" ? /* @__PURE__ */ m.jsxs(lu, { to: u.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...r, children: [
874
874
  /* @__PURE__ */ m.jsx(ee, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
875
875
  /* @__PURE__ */ m.jsx("span", { className: "pkt-breadcrumbs__text", children: u.text })
876
876
  ] }) : /* @__PURE__ */ m.jsxs("a", { href: u.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...r, children: [
@@ -925,23 +925,23 @@ fr.displayName = "PktButton";
925
925
  * Copyright 2018 Google LLC
926
926
  * SPDX-License-Identifier: BSD-3-Clause
927
927
  */
928
- const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), cu = /* @__PURE__ */ new WeakMap(), pu = (e, t, n, r, i) => {
928
+ const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), pu = /* @__PURE__ */ new WeakMap(), du = (e, t, n, r, i) => {
929
929
  const o = i == null ? void 0 : i[t];
930
930
  o === void 0 ? (e[t] = n, n == null && t in HTMLElement.prototype && e.removeAttribute(t)) : n !== r && ((u, c, d) => {
931
- let h = cu.get(u);
932
- h === void 0 && cu.set(u, h = /* @__PURE__ */ new Map());
931
+ let h = pu.get(u);
932
+ h === void 0 && pu.set(u, h = /* @__PURE__ */ new Map());
933
933
  let g = h.get(c);
934
934
  d !== void 0 ? g === void 0 ? (h.set(c, g = { handleEvent: d }), u.addEventListener(c, g)) : g.handleEvent = d : g !== void 0 && (h.delete(c), u.removeEventListener(c, g));
935
935
  })(e, o, n);
936
- }, mo = ({ react: e, tagName: t, elementClass: n, events: r, displayName: i }) => {
936
+ }, go = ({ react: e, tagName: t, elementClass: n, events: r, displayName: i }) => {
937
937
  const o = new Set(Object.keys(r ?? {})), u = e.forwardRef((c, d) => {
938
938
  const h = e.useRef(/* @__PURE__ */ new Map()), g = e.useRef(null), v = {}, D = {};
939
939
  for (const [b, k] of Object.entries(c)) sg.has(b) ? v[b === "className" ? "class" : b] = k : o.has(b) || b in n.prototype ? D[b] = k : v[b] = k;
940
940
  return e.useLayoutEffect(() => {
941
941
  if (g.current === null) return;
942
942
  const b = /* @__PURE__ */ new Map();
943
- for (const k in D) pu(g.current, k, c[k], h.current.get(k), r), h.current.delete(k), b.set(k, c[k]);
944
- for (const [k, _] of h.current) pu(g.current, k, void 0, _, r);
943
+ for (const k in D) du(g.current, k, c[k], h.current.get(k), r), h.current.delete(k), b.set(k, c[k]);
944
+ for (const [k, _] of h.current) du(g.current, k, void 0, _, r);
945
945
  h.current = b;
946
946
  }), e.useLayoutEffect(() => {
947
947
  var b;
@@ -957,7 +957,7 @@ const sg = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
957
957
  * Copyright 2019 Google LLC
958
958
  * SPDX-License-Identifier: BSD-3-Clause
959
959
  */
960
- const li = globalThis, go = li.ShadowRoot && (li.ShadyCSS === void 0 || li.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wc = Symbol(), du = /* @__PURE__ */ new WeakMap();
960
+ const li = globalThis, vo = li.ShadowRoot && (li.ShadyCSS === void 0 || li.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wc = Symbol(), hu = /* @__PURE__ */ new WeakMap();
961
961
  let og = class {
962
962
  constructor(t, n, r) {
963
963
  if (this._$cssResult$ = !0, r !== Wc) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -966,9 +966,9 @@ let og = class {
966
966
  get styleSheet() {
967
967
  let t = this.o;
968
968
  const n = this.t;
969
- if (go && t === void 0) {
969
+ if (vo && t === void 0) {
970
970
  const r = n !== void 0 && n.length === 1;
971
- r && (t = du.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && du.set(n, t));
971
+ r && (t = hu.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && hu.set(n, t));
972
972
  }
973
973
  return t;
974
974
  }
@@ -977,12 +977,12 @@ let og = class {
977
977
  }
978
978
  };
979
979
  const lg = (e) => new og(typeof e == "string" ? e : e + "", void 0, Wc), ug = (e, t) => {
980
- if (go) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
980
+ if (vo) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
981
981
  else for (const n of t) {
982
982
  const r = document.createElement("style"), i = li.litNonce;
983
983
  i !== void 0 && r.setAttribute("nonce", i), r.textContent = n.cssText, e.appendChild(r);
984
984
  }
985
- }, hu = go ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
985
+ }, fu = vo ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
986
986
  let n = "";
987
987
  for (const r of t.cssRules) n += r.cssText;
988
988
  return lg(n);
@@ -992,7 +992,7 @@ const lg = (e) => new og(typeof e == "string" ? e : e + "", void 0, Wc), ug = (e
992
992
  * Copyright 2017 Google LLC
993
993
  * SPDX-License-Identifier: BSD-3-Clause
994
994
  */
995
- const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnPropertyNames: hg, getOwnPropertySymbols: fg, getPrototypeOf: mg } = Object, mr = globalThis, fu = mr.trustedTypes, gg = fu ? fu.emptyScript : "", mu = mr.reactiveElementPolyfillSupport, na = (e, t) => e, gi = { toAttribute(e, t) {
995
+ const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnPropertyNames: hg, getOwnPropertySymbols: fg, getPrototypeOf: mg } = Object, mr = globalThis, mu = mr.trustedTypes, gg = mu ? mu.emptyScript : "", gu = mr.reactiveElementPolyfillSupport, na = (e, t) => e, gi = { toAttribute(e, t) {
996
996
  switch (t) {
997
997
  case Boolean:
998
998
  e = e ? gg : null;
@@ -1020,7 +1020,7 @@ const { is: cg, defineProperty: pg, getOwnPropertyDescriptor: dg, getOwnProperty
1020
1020
  }
1021
1021
  }
1022
1022
  return n;
1023
- } }, vo = (e, t) => !cg(e, t), gu = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: vo };
1023
+ } }, Do = (e, t) => !cg(e, t), vu = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: Do };
1024
1024
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), mr.litPropertyMetadata ?? (mr.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1025
1025
  let or = class extends HTMLElement {
1026
1026
  static addInitializer(t) {
@@ -1029,7 +1029,7 @@ let or = class extends HTMLElement {
1029
1029
  static get observedAttributes() {
1030
1030
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1031
1031
  }
1032
- static createProperty(t, n = gu) {
1032
+ static createProperty(t, n = vu) {
1033
1033
  if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
1034
1034
  const r = Symbol(), i = this.getPropertyDescriptor(t, r, n);
1035
1035
  i !== void 0 && pg(this.prototype, t, i);
@@ -1049,7 +1049,7 @@ let or = class extends HTMLElement {
1049
1049
  }, configurable: !0, enumerable: !0 };
1050
1050
  }
1051
1051
  static getPropertyOptions(t) {
1052
- return this.elementProperties.get(t) ?? gu;
1052
+ return this.elementProperties.get(t) ?? vu;
1053
1053
  }
1054
1054
  static _$Ei() {
1055
1055
  if (this.hasOwnProperty(na("elementProperties"))) return;
@@ -1078,8 +1078,8 @@ let or = class extends HTMLElement {
1078
1078
  const n = [];
1079
1079
  if (Array.isArray(t)) {
1080
1080
  const r = new Set(t.flat(1 / 0).reverse());
1081
- for (const i of r) n.unshift(hu(i));
1082
- } else t !== void 0 && n.push(hu(t));
1081
+ for (const i of r) n.unshift(fu(i));
1082
+ } else t !== void 0 && n.push(fu(t));
1083
1083
  return n;
1084
1084
  }
1085
1085
  static _$Eu(t, n) {
@@ -1147,7 +1147,7 @@ let or = class extends HTMLElement {
1147
1147
  }
1148
1148
  requestUpdate(t, n, r) {
1149
1149
  if (t !== void 0) {
1150
- if (r ?? (r = this.constructor.getPropertyOptions(t)), !(r.hasChanged ?? vo)(this[t], n)) return;
1150
+ if (r ?? (r = this.constructor.getPropertyOptions(t)), !(r.hasChanged ?? Do)(this[t], n)) return;
1151
1151
  this.P(t, n, r);
1152
1152
  }
1153
1153
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -1220,18 +1220,18 @@ let or = class extends HTMLElement {
1220
1220
  firstUpdated(t) {
1221
1221
  }
1222
1222
  };
1223
- or.elementStyles = [], or.shadowRootOptions = { mode: "open" }, or[na("elementProperties")] = /* @__PURE__ */ new Map(), or[na("finalized")] = /* @__PURE__ */ new Map(), mu == null || mu({ ReactiveElement: or }), (mr.reactiveElementVersions ?? (mr.reactiveElementVersions = [])).push("2.0.4");
1223
+ or.elementStyles = [], or.shadowRootOptions = { mode: "open" }, or[na("elementProperties")] = /* @__PURE__ */ new Map(), or[na("finalized")] = /* @__PURE__ */ new Map(), gu == null || gu({ ReactiveElement: or }), (mr.reactiveElementVersions ?? (mr.reactiveElementVersions = [])).push("2.0.4");
1224
1224
  /**
1225
1225
  * @license
1226
1226
  * Copyright 2017 Google LLC
1227
1227
  * SPDX-License-Identifier: BSD-3-Clause
1228
1228
  */
1229
- const vi = globalThis, Di = vi.trustedTypes, vu = Di ? Di.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Do = "$lit$", Jt = `lit$${Math.random().toFixed(9).slice(2)}$`, yo = "?" + Jt, vg = `<${yo}>`, In = document, la = () => In.createComment(""), ua = (e) => e === null || typeof e != "object" && typeof e != "function", bo = Array.isArray, zc = (e) => bo(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", _s = `[
1230
- \f\r]`, zr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Du = /-->/g, yu = />/g, Fn = RegExp(`>|${_s}(?:([^\\s"'>=/]+)(${_s}*=${_s}*(?:[^
1231
- \f\r"'\`<>=]|("|')|))|$)`, "g"), bu = /'/g, ku = /"/g, Vc = /^(?:script|style|textarea|title)$/i, Dg = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), J = Dg(1), Qt = Symbol.for("lit-noChange"), te = Symbol.for("lit-nothing"), wu = /* @__PURE__ */ new WeakMap(), Ln = In.createTreeWalker(In, 129);
1229
+ const vi = globalThis, Di = vi.trustedTypes, Du = Di ? Di.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, yo = "$lit$", Jt = `lit$${Math.random().toFixed(9).slice(2)}$`, bo = "?" + Jt, vg = `<${bo}>`, In = document, la = () => In.createComment(""), ua = (e) => e === null || typeof e != "object" && typeof e != "function", ko = Array.isArray, zc = (e) => ko(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", _s = `[
1230
+ \f\r]`, zr = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yu = /-->/g, bu = />/g, Fn = RegExp(`>|${_s}(?:([^\\s"'>=/]+)(${_s}*=${_s}*(?:[^
1231
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ku = /'/g, wu = /"/g, Vc = /^(?:script|style|textarea|title)$/i, Dg = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), J = Dg(1), Qt = Symbol.for("lit-noChange"), te = Symbol.for("lit-nothing"), Cu = /* @__PURE__ */ new WeakMap(), Ln = In.createTreeWalker(In, 129);
1232
1232
  function Yc(e, t) {
1233
- if (!bo(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
1234
- return vu !== void 0 ? vu.createHTML(t) : t;
1233
+ if (!ko(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
1234
+ return Du !== void 0 ? Du.createHTML(t) : t;
1235
1235
  }
1236
1236
  const Gc = (e, t) => {
1237
1237
  const n = e.length - 1, r = [];
@@ -1239,13 +1239,13 @@ const Gc = (e, t) => {
1239
1239
  for (let c = 0; c < n; c++) {
1240
1240
  const d = e[c];
1241
1241
  let h, g, v = -1, D = 0;
1242
- for (; D < d.length && (u.lastIndex = D, g = u.exec(d), g !== null); ) D = u.lastIndex, u === zr ? g[1] === "!--" ? u = Du : g[1] !== void 0 ? u = yu : g[2] !== void 0 ? (Vc.test(g[2]) && (i = RegExp("</" + g[2], "g")), u = Fn) : g[3] !== void 0 && (u = Fn) : u === Fn ? g[0] === ">" ? (u = i ?? zr, v = -1) : g[1] === void 0 ? v = -2 : (v = u.lastIndex - g[2].length, h = g[1], u = g[3] === void 0 ? Fn : g[3] === '"' ? ku : bu) : u === ku || u === bu ? u = Fn : u === Du || u === yu ? u = zr : (u = Fn, i = void 0);
1242
+ for (; D < d.length && (u.lastIndex = D, g = u.exec(d), g !== null); ) D = u.lastIndex, u === zr ? g[1] === "!--" ? u = yu : g[1] !== void 0 ? u = bu : g[2] !== void 0 ? (Vc.test(g[2]) && (i = RegExp("</" + g[2], "g")), u = Fn) : g[3] !== void 0 && (u = Fn) : u === Fn ? g[0] === ">" ? (u = i ?? zr, v = -1) : g[1] === void 0 ? v = -2 : (v = u.lastIndex - g[2].length, h = g[1], u = g[3] === void 0 ? Fn : g[3] === '"' ? wu : ku) : u === wu || u === ku ? u = Fn : u === yu || u === bu ? u = zr : (u = Fn, i = void 0);
1243
1243
  const b = u === Fn && e[c + 1].startsWith("/>") ? " " : "";
1244
- o += u === zr ? d + vg : v >= 0 ? (r.push(h), d.slice(0, v) + Do + d.slice(v) + Jt + b) : d + Jt + (v === -2 ? c : b);
1244
+ o += u === zr ? d + vg : v >= 0 ? (r.push(h), d.slice(0, v) + yo + d.slice(v) + Jt + b) : d + Jt + (v === -2 ? c : b);
1245
1245
  }
1246
1246
  return [Yc(e, o + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), r];
1247
1247
  };
1248
- let Vs = class Kc {
1248
+ let Ys = class Kc {
1249
1249
  constructor({ strings: t, _$litType$: n }, r) {
1250
1250
  let i;
1251
1251
  this.parts = [];
@@ -1257,7 +1257,7 @@ let Vs = class Kc {
1257
1257
  }
1258
1258
  for (; (i = Ln.nextNode()) !== null && d.length < c; ) {
1259
1259
  if (i.nodeType === 1) {
1260
- if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(Do)) {
1260
+ if (i.hasAttributes()) for (const v of i.getAttributeNames()) if (v.endsWith(yo)) {
1261
1261
  const D = g[u++], b = i.getAttribute(v).split(Jt), k = /([.?@])?(.*)/.exec(D);
1262
1262
  d.push({ type: 1, index: o, name: k[2], strings: b, ctor: k[1] === "." ? Qc : k[1] === "?" ? Zc : k[1] === "@" ? ep : va }), i.removeAttribute(v);
1263
1263
  } else v.startsWith(Jt) && (d.push({ type: 6, index: o }), i.removeAttribute(v));
@@ -1269,7 +1269,7 @@ let Vs = class Kc {
1269
1269
  i.append(v[D], la());
1270
1270
  }
1271
1271
  }
1272
- } else if (i.nodeType === 8) if (i.data === yo) d.push({ type: 2, index: o });
1272
+ } else if (i.nodeType === 8) if (i.data === bo) d.push({ type: 2, index: o });
1273
1273
  else {
1274
1274
  let v = -1;
1275
1275
  for (; (v = i.data.indexOf(Jt, v + 1)) !== -1; ) d.push({ type: 7, index: o }), v += Jt.length - 1;
@@ -1349,7 +1349,7 @@ let Jc = class {
1349
1349
  }
1350
1350
  $(t) {
1351
1351
  var n;
1352
- const { values: r, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Vs.createElement(Yc(i.h, i.h[0]), this.options)), i);
1352
+ const { values: r, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Ys.createElement(Yc(i.h, i.h[0]), this.options)), i);
1353
1353
  if (((n = this._$AH) == null ? void 0 : n._$AD) === o) this._$AH.p(r);
1354
1354
  else {
1355
1355
  const u = new Jc(o, this), c = u.u(this.options);
@@ -1357,11 +1357,11 @@ let Jc = class {
1357
1357
  }
1358
1358
  }
1359
1359
  _$AC(t) {
1360
- let n = wu.get(t.strings);
1361
- return n === void 0 && wu.set(t.strings, n = new Vs(t)), n;
1360
+ let n = Cu.get(t.strings);
1361
+ return n === void 0 && Cu.set(t.strings, n = new Ys(t)), n;
1362
1362
  }
1363
1363
  k(t) {
1364
- bo(this._$AH) || (this._$AH = [], this._$AR());
1364
+ ko(this._$AH) || (this._$AH = [], this._$AR());
1365
1365
  const n = this._$AH;
1366
1366
  let r, i = 0;
1367
1367
  for (const o of t) i === n.length ? n.push(r = new Xc(this.O(la()), this.O(la()), this, this.options)) : r = n[i], r._$AI(o), i++;
@@ -1440,8 +1440,8 @@ let Jc = class {
1440
1440
  Mn(this, t);
1441
1441
  }
1442
1442
  };
1443
- const yg = { M: Do, P: Jt, A: yo, C: 1, L: Gc, R: Jc, D: zc, V: Mn, I: Si, H: va, N: Zc, U: ep, B: Qc, F: tp }, Cu = vi.litHtmlPolyfillSupport;
1444
- Cu == null || Cu(Vs, Si), (vi.litHtmlVersions ?? (vi.litHtmlVersions = [])).push("3.2.0");
1443
+ const yg = { M: yo, P: Jt, A: bo, C: 1, L: Gc, R: Jc, D: zc, V: Mn, I: Si, H: va, N: Zc, U: ep, B: Qc, F: tp }, xu = vi.litHtmlPolyfillSupport;
1444
+ xu == null || xu(Ys, Si), (vi.litHtmlVersions ?? (vi.litHtmlVersions = [])).push("3.2.0");
1445
1445
  const bg = (e, t, n) => {
1446
1446
  const r = (n == null ? void 0 : n.renderBefore) ?? t;
1447
1447
  let i = r._$litPart$;
@@ -1481,17 +1481,17 @@ let ra = class extends or {
1481
1481
  return Qt;
1482
1482
  }
1483
1483
  };
1484
- var xu;
1485
- ra._$litElement$ = !0, ra.finalized = !0, (xu = globalThis.litElementHydrateSupport) == null || xu.call(globalThis, { LitElement: ra });
1486
- const _u = globalThis.litElementPolyfillSupport;
1487
- _u == null || _u({ LitElement: ra });
1484
+ var _u;
1485
+ ra._$litElement$ = !0, ra.finalized = !0, (_u = globalThis.litElementHydrateSupport) == null || _u.call(globalThis, { LitElement: ra });
1486
+ const Su = globalThis.litElementPolyfillSupport;
1487
+ Su == null || Su({ LitElement: ra });
1488
1488
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
1489
1489
  /**
1490
1490
  * @license
1491
1491
  * Copyright 2017 Google LLC
1492
1492
  * SPDX-License-Identifier: BSD-3-Clause
1493
1493
  */
1494
- const kg = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: vo }, wg = (e = kg, t, n) => {
1494
+ const kg = { attribute: !0, type: String, converter: gi, reflect: !1, hasChanged: Do }, wg = (e = kg, t, n) => {
1495
1495
  const { kind: r, metadata: i } = n;
1496
1496
  let o = globalThis.litPropertyMetadata.get(i);
1497
1497
  if (o === void 0 && globalThis.litPropertyMetadata.set(i, o = /* @__PURE__ */ new Map()), o.set(n.name, e), r === "accessor") {
@@ -1539,12 +1539,12 @@ function _g() {
1539
1539
  return ni(xg);
1540
1540
  }
1541
1541
  var Sg = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1542
- const Su = {
1542
+ const Eu = {
1543
1543
  randomUUID: Sg
1544
1544
  };
1545
1545
  function np(e, t, n) {
1546
- if (Su.randomUUID && !t && !e)
1547
- return Su.randomUUID();
1546
+ if (Eu.randomUUID && !t && !e)
1547
+ return Eu.randomUUID();
1548
1548
  e = e || {};
1549
1549
  var r = e.random || (e.rng || _g)();
1550
1550
  return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, Cg(r);
@@ -1662,7 +1662,7 @@ let Ht = class extends ra {
1662
1662
  Ge([
1663
1663
  O({ type: Object })
1664
1664
  ], Ht.prototype, "strings");
1665
- let Ke = class extends Ht {
1665
+ class Ke extends Ht {
1666
1666
  constructor() {
1667
1667
  super(), this.id = np(), this.name = this.id, this.required = !1, this.disabled = !1, this.placeholder = "", this.min = null, this.max = null, this.minlength = 0, this.maxlength = 0, this.pattern = "", this.optionalTag = !1, this.optionalText = Nt.forms.labels.optional, this.requiredTag = !1, this.requiredText = Nt.forms.labels.required, this.hasError = !1, this.errorMessage = "", this.touched = !1, this.internals = this.attachInternals();
1668
1668
  }
@@ -1725,7 +1725,7 @@ let Ke = class extends Ht {
1725
1725
  firstUpdated(t) {
1726
1726
  super.firstUpdated(t), this.required && (this.internals.ariaRequired = !0), this.disabled && (this.internals.disabled = !0, this.internals.ariaDisabled = !0), this.internals.setFormValue(this.value), this.manageValidity(this.inputRef.value);
1727
1727
  }
1728
- };
1728
+ }
1729
1729
  Ge([
1730
1730
  O({ type: String, reflect: !0 })
1731
1731
  ], Ke.prototype, "id");
@@ -1877,10 +1877,10 @@ const ri = ya(yi);
1877
1877
  * Copyright 2017 Google LLC
1878
1878
  * SPDX-License-Identifier: BSD-3-Clause
1879
1879
  */
1880
- let Ys = class extends yi {
1880
+ let Gs = class extends yi {
1881
1881
  };
1882
- Ys.directiveName = "unsafeSVG", Ys.resultType = 2;
1883
- const Eu = ya(Ys);
1882
+ Gs.directiveName = "unsafeSVG", Gs.resultType = 2;
1883
+ const Fu = ya(Gs);
1884
1884
  var jg = Object.defineProperty, Pg = Object.getOwnPropertyDescriptor, ba = (e, t, n, r) => {
1885
1885
  for (var i = r > 1 ? void 0 : r ? Pg(t, n) : t, o = e.length - 1, u; o >= 0; o--)
1886
1886
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
@@ -1898,13 +1898,13 @@ const Lg = (e) => new Promise((t) => setTimeout(t, e)), ui = '<svg xmlns="http:/
1898
1898
  };
1899
1899
  let gr = class extends Ht {
1900
1900
  constructor() {
1901
- super(), this.path = window.pktIconPath, this.name = "", this.icon = Eu(ui), this._updatedProps = [], this.classList.add("pkt-icon");
1901
+ super(), this.path = window.pktIconPath, this.name = "", this.icon = Fu(ui), this._updatedProps = [], this.classList.add("pkt-icon");
1902
1902
  }
1903
1903
  willUpdate(t) {
1904
1904
  super.willUpdate(t), t.has("class") && this.classList.add("my-element");
1905
1905
  }
1906
1906
  async attributeChangedCallback(t, n, r) {
1907
- super.attributeChangedCallback(t, n, r), this._updatedProps.length > 0 ? (this.icon = Eu(
1907
+ super.attributeChangedCallback(t, n, r), this._updatedProps.length > 0 ? (this.icon = Fu(
1908
1908
  await Og(this.name || "", this.path).then((i) => i)
1909
1909
  ), this._updatedProps = []) : this._updatedProps.includes(t) || this._updatedProps.push(t);
1910
1910
  }
@@ -2401,6 +2401,20 @@ let Ee = class extends Ht {
2401
2401
  })
2402
2402
  ), Promise.resolve();
2403
2403
  }
2404
+ focusOnCurrentDate() {
2405
+ const t = this.formatISODate(/* @__PURE__ */ new Date()), n = this.querySelector(`div[data-date="${t}"]`);
2406
+ if (n instanceof HTMLDivElement)
2407
+ n.focus();
2408
+ else {
2409
+ const r = this.selectableDates.find((i) => !i.isDisabled);
2410
+ if (r) {
2411
+ const i = this.querySelector(
2412
+ `div[data-date="${r.currentDateISO}"]`
2413
+ );
2414
+ i instanceof HTMLDivElement && i.focus();
2415
+ }
2416
+ }
2417
+ }
2404
2418
  closeEvent(t) {
2405
2419
  this.contains(t.relatedTarget) || this.close();
2406
2420
  }
@@ -2524,11 +2538,11 @@ let kr = class {
2524
2538
  * Copyright 2020 Google LLC
2525
2539
  * SPDX-License-Identifier: BSD-3-Clause
2526
2540
  */
2527
- const { I: Yg } = yg, Gg = (e) => e.strings === void 0, Fu = () => document.createComment(""), Vr = (e, t, n) => {
2541
+ const { I: Yg } = yg, Gg = (e) => e.strings === void 0, Au = () => document.createComment(""), Vr = (e, t, n) => {
2528
2542
  var r;
2529
2543
  const i = e._$AA.parentNode, o = t === void 0 ? e._$AB : t._$AA;
2530
2544
  if (n === void 0) {
2531
- const u = i.insertBefore(Fu(), o), c = i.insertBefore(Fu(), o);
2545
+ const u = i.insertBefore(Au(), o), c = i.insertBefore(Au(), o);
2532
2546
  n = new Yg(u, c, e, e.options);
2533
2547
  } else {
2534
2548
  const u = n._$AB.nextSibling, c = n._$AM, d = c !== e;
@@ -2883,7 +2897,7 @@ const lv = "pkt-card", uv = !0, cv = {
2883
2897
  default: {
2884
2898
  description: "Innholdet i kortet"
2885
2899
  }
2886
- }, Au = {
2900
+ }, $u = {
2887
2901
  name: lv,
2888
2902
  "css-class": "pkt-card",
2889
2903
  isElement: uv,
@@ -2897,7 +2911,7 @@ var dv = Object.defineProperty, hv = Object.getOwnPropertyDescriptor, Hn = (e, t
2897
2911
  };
2898
2912
  let Zt = class extends Ht {
2899
2913
  constructor() {
2900
- super(), this.defaultSlot = Ft(), this.skin = Au.props.skin.default, this.direction = Au.props.direction.default, this.image = {
2914
+ super(), this.defaultSlot = Ft(), this.skin = $u.props.skin.default, this.direction = $u.props.direction.default, this.image = {
2901
2915
  src: "",
2902
2916
  alt: ""
2903
2917
  }, this.heading = "", this.subheading = "", this.tags = [], this.slotController = new kr(this, this.defaultSlot);
@@ -3346,11 +3360,11 @@ function op(e) {
3346
3360
  const u = ki(o);
3347
3361
  return t.getTime() >= i.getTime() ? n + 1 : t.getTime() >= u.getTime() ? n : n - 1;
3348
3362
  }
3349
- function $u(e) {
3363
+ function Tu(e) {
3350
3364
  const t = pt(e);
3351
3365
  return t.setHours(0, 0, 0, 0), t;
3352
3366
  }
3353
- function Tu(e) {
3367
+ function Bu(e) {
3354
3368
  const t = pt(e), n = new Date(
3355
3369
  Date.UTC(
3356
3370
  t.getFullYear(),
@@ -3365,7 +3379,7 @@ function Tu(e) {
3365
3379
  return n.setUTCFullYear(t.getFullYear()), +e - +n;
3366
3380
  }
3367
3381
  function wv(e, t) {
3368
- const n = $u(e), r = $u(t), i = +n - Tu(n), o = +r - Tu(r);
3382
+ const n = Tu(e), r = Tu(t), i = +n - Bu(n), o = +r - Bu(r);
3369
3383
  return Math.round((i - o) / Ig);
3370
3384
  }
3371
3385
  function Cv(e) {
@@ -3891,7 +3905,7 @@ const fn = {
3891
3905
  afternoon: "afternoon",
3892
3906
  evening: "evening",
3893
3907
  night: "night"
3894
- }, Bu = {
3908
+ }, Nu = {
3895
3909
  // Era
3896
3910
  G: function(e, t, n) {
3897
3911
  const r = e.getFullYear() > 0 ? 1 : 0;
@@ -4317,7 +4331,7 @@ const fn = {
4317
4331
  return "Z";
4318
4332
  switch (t) {
4319
4333
  case "X":
4320
- return ju(r);
4334
+ return Pu(r);
4321
4335
  case "XXXX":
4322
4336
  case "XX":
4323
4337
  return Bn(r);
@@ -4332,7 +4346,7 @@ const fn = {
4332
4346
  const r = e.getTimezoneOffset();
4333
4347
  switch (t) {
4334
4348
  case "x":
4335
- return ju(r);
4349
+ return Pu(r);
4336
4350
  case "xxxx":
4337
4351
  case "xx":
4338
4352
  return Bn(r);
@@ -4349,7 +4363,7 @@ const fn = {
4349
4363
  case "O":
4350
4364
  case "OO":
4351
4365
  case "OOO":
4352
- return "GMT" + Nu(r, ":");
4366
+ return "GMT" + ju(r, ":");
4353
4367
  case "OOOO":
4354
4368
  default:
4355
4369
  return "GMT" + Bn(r, ":");
@@ -4362,7 +4376,7 @@ const fn = {
4362
4376
  case "z":
4363
4377
  case "zz":
4364
4378
  case "zzz":
4365
- return "GMT" + Nu(r, ":");
4379
+ return "GMT" + ju(r, ":");
4366
4380
  case "zzzz":
4367
4381
  default:
4368
4382
  return "GMT" + Bn(r, ":");
@@ -4379,18 +4393,18 @@ const fn = {
4379
4393
  return we(r, t.length);
4380
4394
  }
4381
4395
  };
4382
- function Nu(e, t = "") {
4396
+ function ju(e, t = "") {
4383
4397
  const n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), o = r % 60;
4384
4398
  return o === 0 ? n + String(i) : n + String(i) + t + we(o, 2);
4385
4399
  }
4386
- function ju(e, t) {
4400
+ function Pu(e, t) {
4387
4401
  return e % 60 === 0 ? (e > 0 ? "-" : "+") + we(Math.abs(e) / 60, 2) : Bn(e, t);
4388
4402
  }
4389
4403
  function Bn(e, t = "") {
4390
4404
  const n = e > 0 ? "-" : "+", r = Math.abs(e), i = we(Math.trunc(r / 60), 2), o = we(r % 60, 2);
4391
4405
  return n + i + t + o;
4392
4406
  }
4393
- const Pu = (e, t) => {
4407
+ const Lu = (e, t) => {
4394
4408
  switch (e) {
4395
4409
  case "P":
4396
4410
  return t.date({ width: "short" });
@@ -4417,7 +4431,7 @@ const Pu = (e, t) => {
4417
4431
  }, l2 = (e, t) => {
4418
4432
  const n = e.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
4419
4433
  if (!i)
4420
- return Pu(e, t);
4434
+ return Lu(e, t);
4421
4435
  let o;
4422
4436
  switch (r) {
4423
4437
  case "P":
@@ -4434,7 +4448,7 @@ const Pu = (e, t) => {
4434
4448
  o = t.dateTime({ width: "full" });
4435
4449
  break;
4436
4450
  }
4437
- return o.replace("{{date}}", Pu(r, t)).replace("{{time}}", lp(i, t));
4451
+ return o.replace("{{date}}", Lu(r, t)).replace("{{time}}", lp(i, t));
4438
4452
  }, u2 = {
4439
4453
  p: lp,
4440
4454
  P: l2
@@ -4472,7 +4486,7 @@ function w2(e, t, n) {
4472
4486
  const _ = k[0];
4473
4487
  if (_ === "'")
4474
4488
  return { isToken: !1, value: C2(k) };
4475
- if (Bu[_])
4489
+ if (Nu[_])
4476
4490
  return { isToken: !0, value: k };
4477
4491
  if (_.match(k2))
4478
4492
  throw new RangeError(
@@ -4490,7 +4504,7 @@ function w2(e, t, n) {
4490
4504
  if (!k.isToken) return k.value;
4491
4505
  const _ = k.value;
4492
4506
  (f2(_) || h2(_)) && m2(_, t, String(e));
4493
- const C = Bu[_[0]];
4507
+ const C = Nu[_[0]];
4494
4508
  return C(v, _, d.localize, b);
4495
4509
  }).join("");
4496
4510
  }
@@ -4503,7 +4517,7 @@ function C2(e) {
4503
4517
  * Copyright 2017 Google LLC
4504
4518
  * SPDX-License-Identifier: BSD-3-Clause
4505
4519
  */
4506
- const Lu = (e, t, n) => {
4520
+ const Ou = (e, t, n) => {
4507
4521
  const r = /* @__PURE__ */ new Map();
4508
4522
  for (let i = t; i <= n; i++) r.set(e[i], i);
4509
4523
  return r;
@@ -4533,7 +4547,7 @@ const Lu = (e, t, n) => {
4533
4547
  else if (c[D] === u[k]) d[k] = $n(i[D], o[k]), D--, k--;
4534
4548
  else if (c[v] === u[k]) d[k] = $n(i[v], o[k]), Vr(e, d[k + 1], i[v]), v++, k--;
4535
4549
  else if (c[D] === u[b]) d[b] = $n(i[D], o[b]), Vr(e, i[v], i[D]), D--, b++;
4536
- else if (h === void 0 && (h = Lu(u, b, k), g = Lu(c, v, D)), h.has(c[v])) if (h.has(c[D])) {
4550
+ else if (h === void 0 && (h = Ou(u, b, k), g = Ou(c, v, D)), h.has(c[v])) if (h.has(c[D])) {
4537
4551
  const _ = g.get(u[b]), C = _ !== void 0 ? i[_] : null;
4538
4552
  if (C === null) {
4539
4553
  const T = Vr(e, i[v]);
@@ -4739,7 +4753,7 @@ var A2 = Object.defineProperty, $2 = Object.getOwnPropertyDescriptor, Je = (e, t
4739
4753
  (u = e[o]) && (i = (r ? u(t, n, i) : u(i)) || i);
4740
4754
  return r && i && A2(t, n, i), i;
4741
4755
  };
4742
- const Ou = (e) => new Promise((t) => setTimeout(t, e));
4756
+ const Ns = (e) => new Promise((t) => setTimeout(t, e));
4743
4757
  let qe = class extends Ke {
4744
4758
  constructor() {
4745
4759
  super(...arguments), this.value = "", this._value = this.value ? Array.isArray(this.value) ? this.value : this.value.split(",") : [], this.label = "Datovelger", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Gt.props.helptextDropdownButton.default, this.dateformat = Gt.props.dateformat.default, this.multiple = Gt.props.multiple.default, this.maxlength = Gt.props.maxlength.default, this.range = Gt.props.range.default, this.weeknumbers = Gt.props.weeknumbers.default, this.withcontrols = Gt.props.withcontrols.default, this.fullwidth = !1, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = this.formatISODate(/* @__PURE__ */ new Date()), this.calendarOpen = !1, this.inputRef = Ft(), this.inputRefTo = Ft(), this.btnRef = Ft(), this.calRef = Ft(), this.popupRef = Ft(), this.inputClasses = {
@@ -4771,10 +4785,10 @@ let qe = class extends Ke {
4771
4785
  * Housekeeping / lifecycle methods
4772
4786
  */
4773
4787
  async connectedCallback() {
4774
- super.connectedCallback(), document && document.body.addEventListener("click", (e) => {
4788
+ super.connectedCallback(), this.isMobileSafari = /iP(ad|od|hone)/i.test(window.navigator.userAgent) && !!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/), this.inputType = this.isMobileSafari ? "text" : "date", document && document.body.addEventListener("click", (e) => {
4775
4789
  var t, n;
4776
4790
  (t = this.inputRef) != null && t.value && (n = this.btnRef) != null && n.value && !this.inputRef.value.contains(e.target) && !(this.inputRefTo.value && this.inputRefTo.value.contains(e.target)) && !this.btnRef.value.contains(e.target) && !e.target.closest(".pkt-calendar-popup") && this.hideCalendar();
4777
- }), this.value.length && this._value.length === 0 && (this._value = Array.isArray(this.value) ? this.value : this.value.split(",")), this.min = this.min || Gt.props.min.default, this.max = this.max || Gt.props.max.default, typeof this.excludedates == "string" && (this.excludedates = this.excludedates.split(",")), typeof this.excludeweekdays == "string" && (this.excludeweekdays = this.excludeweekdays.split(",")), (this.multiple || this.range) && this.name && !this.name.endsWith("[]") && (this.name = this.name + "[]"), this.calendarOpen && (await Ou(20), this.handleCalendarPosition());
4791
+ }), this.value.length && this._value.length === 0 && (this._value = Array.isArray(this.value) ? this.value : this.value.split(",")), this.min = this.min || Gt.props.min.default, this.max = this.max || Gt.props.max.default, typeof this.excludedates == "string" && (this.excludedates = this.excludedates.split(",")), typeof this.excludeweekdays == "string" && (this.excludeweekdays = this.excludeweekdays.split(",")), (this.multiple || this.range) && this.name && !this.name.endsWith("[]") && (this.name = this.name + "[]"), this.calendarOpen && (await Ns(20), this.handleCalendarPosition());
4778
4792
  }
4779
4793
  disconnectedCallback() {
4780
4794
  super.disconnectedCallback(), document && document.body.removeEventListener("click", (e) => {
@@ -4804,7 +4818,7 @@ let qe = class extends Ke {
4804
4818
  return J`
4805
4819
  <input
4806
4820
  class="${Ye(this.inputClasses)}"
4807
- type="date"
4821
+ .type=${this.inputType}
4808
4822
  id="${this.id}-input"
4809
4823
  .value=${this._value[0] ?? ""}
4810
4824
  min=${this.min}
@@ -4813,6 +4827,13 @@ let qe = class extends Ke {
4813
4827
  e.preventDefault(), this.showCalendar();
4814
4828
  }}
4815
4829
  ?disabled=${this.disabled}
4830
+ @keydown=${(e) => {
4831
+ var t;
4832
+ (e.key === "," || e.key === "Enter") && ((t = this.inputRef.value) == null || t.blur());
4833
+ }}
4834
+ @focus=${() => {
4835
+ this.isMobileSafari && this.showCalendar();
4836
+ }}
4816
4837
  @blur=${(e) => {
4817
4838
  this.manageValidity(e.target), this.value = e.target.value;
4818
4839
  }}
@@ -4828,7 +4849,7 @@ let qe = class extends Ke {
4828
4849
  <div class="pkt-input-prefix">Fra</div>
4829
4850
  <input
4830
4851
  class=${Ye(this.inputClasses)}
4831
- type="date"
4852
+ .type=${this.inputType}
4832
4853
  id="${this.id}-input"
4833
4854
  .value=${this._value[0] ?? ""}
4834
4855
  min=${this.min}
@@ -4837,6 +4858,13 @@ let qe = class extends Ke {
4837
4858
  e.preventDefault(), this.showCalendar();
4838
4859
  }}
4839
4860
  ?disabled=${this.disabled}
4861
+ @keydown=${(e) => {
4862
+ var t;
4863
+ (e.key === "," || e.key === "Enter") && ((t = this.inputRef.value) == null || t.blur());
4864
+ }}
4865
+ @focus=${() => {
4866
+ this.isMobileSafari && this.showCalendar();
4867
+ }}
4840
4868
  @blur=${(e) => {
4841
4869
  var t, n;
4842
4870
  if (e.target.value) {
@@ -4853,7 +4881,7 @@ let qe = class extends Ke {
4853
4881
  <div class="pkt-input-prefix">Til</div>
4854
4882
  <input
4855
4883
  class=${Ye(this.inputClasses)}
4856
- type="date"
4884
+ .type=${this.inputType}
4857
4885
  id="${this.id}-to"
4858
4886
  .value=${this._value[1] ?? ""}
4859
4887
  min=${this.min}
@@ -4862,6 +4890,13 @@ let qe = class extends Ke {
4862
4890
  e.preventDefault(), this.showCalendar();
4863
4891
  }}
4864
4892
  ?disabled=${this.disabled}
4893
+ @keydown=${(e) => {
4894
+ var t;
4895
+ (e.key === "," || e.key === "Enter") && ((t = this.inputRefTo.value) == null || t.blur());
4896
+ }}
4897
+ @focus=${() => {
4898
+ this.isMobileSafari && this.showCalendar();
4899
+ }}
4865
4900
  @blur=${(e) => {
4866
4901
  var t, n;
4867
4902
  if (e.target.value) {
@@ -4891,7 +4926,7 @@ let qe = class extends Ke {
4891
4926
  return J`
4892
4927
  <input
4893
4928
  class=${Ye(this.inputClasses)}
4894
- type="date"
4929
+ .type=${this.inputType}
4895
4930
  id="${this.id}-input"
4896
4931
  min=${this.min}
4897
4932
  max=${this.max}
@@ -4900,6 +4935,9 @@ let qe = class extends Ke {
4900
4935
  }}
4901
4936
  @blur=${(e) => {
4902
4937
  this.addToSelected(e);
4938
+ }}
4939
+ @focus=${() => {
4940
+ this.isMobileSafari && this.showCalendar();
4903
4941
  }}
4904
4942
  @keydown=${(e) => {
4905
4943
  (e.key === "," || e.key === "Enter") && (e.preventDefault(), this.addToSelected(e));
@@ -4973,6 +5011,7 @@ let qe = class extends Ke {
4973
5011
  ?required=${this.required}
4974
5012
  ?optionalTag=${this.optionalTag}
4975
5013
  ?requiredTag=${this.requiredTag}
5014
+ ?focusPreventDefault=${!0}
4976
5015
  .optionalText=${this.optionalText}
4977
5016
  .requiredText=${this.requiredText}
4978
5017
  .errorMessage=${this.errorMessage}
@@ -4988,6 +5027,7 @@ let qe = class extends Ke {
4988
5027
  <button
4989
5028
  class="${Ye(this.buttonClasses)}"
4990
5029
  @click=${this.toggleCalendar}
5030
+ ?disabled=${this.disabled}
4991
5031
  ${ct(this.btnRef)}
4992
5032
  >
4993
5033
  <pkt-icon name="calendar"></pkt-icon>
@@ -5014,13 +5054,15 @@ let qe = class extends Ke {
5014
5054
  this.contains(e.target) || this.hideCalendar();
5015
5055
  }
5016
5056
  async showCalendar() {
5017
- this.calendarOpen = !0, await Ou(20), this.handleCalendarPosition();
5057
+ var e;
5058
+ this.calendarOpen = !0, await Ns(20), this.handleCalendarPosition(), this.isMobileSafari && ((e = this.calRef.value) == null || e.focusOnCurrentDate());
5018
5059
  }
5019
5060
  hideCalendar() {
5020
5061
  this.calendarOpen = !1;
5021
5062
  }
5022
- toggleCalendar(e) {
5023
- e.preventDefault(), this.calendarOpen ? this.hideCalendar() : this.showCalendar();
5063
+ async toggleCalendar(e) {
5064
+ var t;
5065
+ e.preventDefault(), this.calendarOpen ? this.hideCalendar() : this.showCalendar(), await Ns(20), this.isMobileSafari && ((t = this.calRef.value) == null || t.focusOnCurrentDate());
5024
5066
  }
5025
5067
  };
5026
5068
  Je([
@@ -5118,7 +5160,7 @@ const T2 = "pkt-link", B2 = !0, N2 = {
5118
5160
  default: {
5119
5161
  description: "Innholdet i lenken"
5120
5162
  }
5121
- }, Ns = {
5163
+ }, js = {
5122
5164
  name: T2,
5123
5165
  "css-class": "pkt-link",
5124
5166
  "dark-mode": !0,
@@ -5133,7 +5175,7 @@ var P2 = Object.defineProperty, L2 = Object.getOwnPropertyDescriptor, wr = (e, t
5133
5175
  };
5134
5176
  let vn = class extends Ht {
5135
5177
  constructor() {
5136
- super(), this.defaultSlot = Ft(), this.href = Ns.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = Ns.props.external.default, this.target = Ns.props.target.default, this.slotController = new kr(this, this.defaultSlot);
5178
+ super(), this.defaultSlot = Ft(), this.href = js.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = js.props.external.default, this.target = js.props.target.default, this.slotController = new kr(this, this.defaultSlot);
5137
5179
  }
5138
5180
  render() {
5139
5181
  const e = {
@@ -5232,7 +5274,7 @@ Un([
5232
5274
  Dn = Un([
5233
5275
  tn("pkt-messagebox")
5234
5276
  ], Dn);
5235
- const M2 = mo({
5277
+ const M2 = go({
5236
5278
  tagName: "pkt-card",
5237
5279
  elementClass: Zt,
5238
5280
  react: xe,
@@ -5242,7 +5284,7 @@ const M2 = mo({
5242
5284
  ({ children: e, ...t }, n) => /* @__PURE__ */ m.jsx(M2, { ...t, ref: n, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-contents", children: e }) })
5243
5285
  );
5244
5286
  R2.displayName = "PktCard";
5245
- const Gs = Ne(
5287
+ const Ks = Ne(
5246
5288
  ({
5247
5289
  id: e,
5248
5290
  hasTile: t = !1,
@@ -5287,8 +5329,8 @@ const Gs = Ne(
5287
5329
  ) });
5288
5330
  }
5289
5331
  );
5290
- Gs.displayName = "PktCheckbox";
5291
- const q2 = mo({
5332
+ Ks.displayName = "PktCheckbox";
5333
+ const q2 = go({
5292
5334
  tagName: "pkt-datepicker",
5293
5335
  elementClass: qe,
5294
5336
  react: xe,
@@ -5298,7 +5340,7 @@ const q2 = mo({
5298
5340
  onValueChange: "value-change",
5299
5341
  onToggleHelpText: "toggleHelpText"
5300
5342
  }
5301
- }), N_ = ({
5343
+ }), B_ = ({
5302
5344
  columnOne: e,
5303
5345
  columnTwo: t,
5304
5346
  socialLinks: n,
@@ -5386,7 +5428,7 @@ const q2 = mo({
5386
5428
  ) }, `sociallinks-${g}`)) })
5387
5429
  ] })
5388
5430
  ] }) });
5389
- }, j_ = ({
5431
+ }, N_ = ({
5390
5432
  links: e = [],
5391
5433
  personvernOgInfoLink: t = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
5392
5434
  tilgjengelighetLink: n = "https://www.oslo.kommune.no/tilgjengelighet/",
@@ -5416,7 +5458,7 @@ const q2 = mo({
5416
5458
  "Tilgjengelighet"
5417
5459
  ] }) })
5418
5460
  ] }) }) });
5419
- }, P_ = Ne(
5461
+ }, j_ = Ne(
5420
5462
  ({
5421
5463
  className: e,
5422
5464
  logoLink: t = "https://www.oslo.kommune.no/",
@@ -5688,7 +5730,7 @@ const wa = Ne(
5688
5730
  }
5689
5731
  );
5690
5732
  wa.displayName = "PktInputWrapper";
5691
- const U2 = mo({
5733
+ const U2 = go({
5692
5734
  tagName: "pkt-link",
5693
5735
  elementClass: vn,
5694
5736
  react: xe,
@@ -5912,7 +5954,7 @@ function pi(e, t, n) {
5912
5954
  ` ? "\\n" : "\\r";
5913
5955
  }), i.singleQuotes ? (e = e.replace(/\\?'/g, "\\'"), "'" + e + "'") : (e = e.replace(/"/g, '\\"'), '"' + e + '"');
5914
5956
  }
5915
- var Z2 = up.prettyPrint = pi, Ks = { exports: {} }, ye = {};
5957
+ var Z2 = up.prettyPrint = pi, Js = { exports: {} }, ye = {};
5916
5958
  /**
5917
5959
  * @license React
5918
5960
  * react-is.production.min.js
@@ -6090,8 +6132,8 @@ function tD() {
6090
6132
  be.ContextConsumer = $, be.ContextProvider = P, be.Element = I, be.ForwardRef = j, be.Fragment = W, be.Lazy = G, be.Memo = V, be.Portal = L, be.Profiler = N, be.StrictMode = q, be.Suspense = X, be.SuspenseList = de, be.isAsyncMode = he, be.isConcurrentMode = re, be.isContextConsumer = ge, be.isContextProvider = at, be.isElement = Be, be.isForwardRef = _e, be.isFragment = Le, be.isLazy = ce, be.isMemo = dt, be.isPortal = jt, be.isProfiler = Dt, be.isStrictMode = yt, be.isSuspense = cn, be.isSuspenseList = bt, be.isValidElementType = A, be.typeOf = x;
6091
6133
  }()), be;
6092
6134
  }
6093
- process.env.NODE_ENV === "production" ? Ks.exports = eD() : Ks.exports = tD();
6094
- var Mt = Ks.exports, Xt = function(e, t) {
6135
+ process.env.NODE_ENV === "production" ? Js.exports = eD() : Js.exports = tD();
6136
+ var Mt = Js.exports, Xt = function(e, t) {
6095
6137
  return e === 0 ? "" : new Array(e * t).fill(" ").join("");
6096
6138
  };
6097
6139
  function pa(e) {
@@ -6106,20 +6148,20 @@ function qu(e) {
6106
6148
  return nD(e) || rD(e) || aD(e) || iD();
6107
6149
  }
6108
6150
  function nD(e) {
6109
- if (Array.isArray(e)) return Js(e);
6151
+ if (Array.isArray(e)) return Xs(e);
6110
6152
  }
6111
6153
  function rD(e) {
6112
6154
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
6113
6155
  }
6114
6156
  function aD(e, t) {
6115
6157
  if (e) {
6116
- if (typeof e == "string") return Js(e, t);
6158
+ if (typeof e == "string") return Xs(e, t);
6117
6159
  var n = Object.prototype.toString.call(e).slice(8, -1);
6118
6160
  if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
6119
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Js(e, t);
6161
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Xs(e, t);
6120
6162
  }
6121
6163
  }
6122
- function Js(e, t) {
6164
+ function Xs(e, t) {
6123
6165
  (t == null || t > e.length) && (t = e.length);
6124
6166
  for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
6125
6167
  return r;
@@ -6128,15 +6170,15 @@ function iD() {
6128
6170
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
6129
6171
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6130
6172
  }
6131
- function Xs(e, t) {
6173
+ function Qs(e, t) {
6132
6174
  return e === null || pa(e) !== "object" || e instanceof Date || e instanceof RegExp || /* @__PURE__ */ Vm.isValidElement(e) ? e : (t.add(e), Array.isArray(e) ? e.map(function(n) {
6133
- return Xs(n, t);
6175
+ return Qs(n, t);
6134
6176
  }) : Object.keys(e).sort().reduce(function(n, r) {
6135
- return r === "_owner" || (r === "current" || t.has(e[r]) ? n[r] = "[Circular]" : n[r] = Xs(e[r], t)), n;
6177
+ return r === "_owner" || (r === "current" || t.has(e[r]) ? n[r] = "[Circular]" : n[r] = Qs(e[r], t)), n;
6136
6178
  }, {}));
6137
6179
  }
6138
6180
  function sD(e) {
6139
- return Xs(e, /* @__PURE__ */ new WeakSet());
6181
+ return Qs(e, /* @__PURE__ */ new WeakSet());
6140
6182
  }
6141
6183
  var cp = function(t) {
6142
6184
  return {
@@ -6162,7 +6204,7 @@ var cp = function(t) {
6162
6204
  key: t,
6163
6205
  childrens: n
6164
6206
  };
6165
- }, cD = !!fo, pp = function(t) {
6207
+ }, cD = !!mo, pp = function(t) {
6166
6208
  return !t.name || t.name === "_default" ? "No Display Name" : t.name;
6167
6209
  }, pD = function e(t) {
6168
6210
  switch (!0) {
@@ -6210,7 +6252,7 @@ var cp = function(t) {
6210
6252
  }).forEach(function(i) {
6211
6253
  return r[i] = t[i];
6212
6254
  }), r;
6213
- }, ko = function e(t, n) {
6255
+ }, wo = function e(t, n) {
6214
6256
  var r = n.displayName, i = r === void 0 ? dD : r;
6215
6257
  if (typeof t == "string")
6216
6258
  return cp(t);
@@ -6225,7 +6267,7 @@ var cp = function(t) {
6225
6267
  var d = Uu(t.type.defaultProps || {}, Hu), h = xe.Children.toArray(t.props.children).filter(hD).map(function(g) {
6226
6268
  return e(g, n);
6227
6269
  });
6228
- return cD && t.type === fo ? uD(c, h) : lD(o, u, d, h);
6270
+ return cD && t.type === mo ? uD(c, h) : lD(o, u, d, h);
6229
6271
  };
6230
6272
  function fD() {
6231
6273
  }
@@ -6241,7 +6283,7 @@ var mD = function(t) {
6241
6283
  var i = sD(e), o = Z2(i, {
6242
6284
  transform: function(c, d, h) {
6243
6285
  var g = c[d];
6244
- return g && /* @__PURE__ */ ta(g) ? $i(ko(g, r), !0, n, r) : typeof g == "function" ? dp(g, r) : h;
6286
+ return g && /* @__PURE__ */ ta(g) ? $i(wo(g, r), !0, n, r) : typeof g == "function" ? dp(g, r) : h;
6245
6287
  }
6246
6288
  });
6247
6289
  return t ? o.replace(/\s+/g, " ").replace(/{ /g, "{").replace(/ }/g, "}").replace(/\[ /g, "[").replace(/ ]/g, "]") : o.replace(/\t/g, Xt(1, r.tabStop)).replace(/\n([^$])/g, `
@@ -6257,7 +6299,7 @@ var mD = function(t) {
6257
6299
  var o = t.valueOf().toString().replace(/Symbol\((.*)\)/, "$1");
6258
6300
  return o ? "{Symbol('".concat(o, "')}") : "{Symbol()}";
6259
6301
  }
6260
- return typeof t == "function" ? "{".concat(dp(t, i), "}") : /* @__PURE__ */ ta(t) ? "{".concat($i(ko(t, i), !0, r, i), "}") : t instanceof Date ? isNaN(t.valueOf()) ? "{new Date(NaN)}" : '{new Date("'.concat(t.toISOString(), '")}') : G2(t) || Array.isArray(t) ? "{".concat(gD(t, n, r, i), "}") : "{".concat(String(t), "}");
6302
+ return typeof t == "function" ? "{".concat(dp(t, i), "}") : /* @__PURE__ */ ta(t) ? "{".concat($i(wo(t, i), !0, r, i), "}") : t instanceof Date ? isNaN(t.valueOf()) ? "{new Date(NaN)}" : '{new Date("'.concat(t.toISOString(), '")}') : G2(t) || Array.isArray(t) ? "{".concat(gD(t, n, r, i), "}") : "{".concat(String(t), "}");
6261
6303
  }, yD = function(e, t, n, r, i, o, u, c) {
6262
6304
  if (!t && !r)
6263
6305
  throw new Error('The prop "'.concat(e, '" has no value and no default: could not be formatted'));
@@ -6397,27 +6439,27 @@ var xD = function(t, n, r, i, o) {
6397
6439
  maxInlineAttributesLineLength: F,
6398
6440
  displayName: S
6399
6441
  };
6400
- return OD(ko(t, A), A);
6442
+ return OD(wo(t, A), A);
6401
6443
  }, MD = Object.create, Ti = Object.defineProperty, RD = Object.getOwnPropertyDescriptor, qD = Object.getOwnPropertyNames, HD = Object.getPrototypeOf, UD = Object.prototype.hasOwnProperty, mp = (e) => {
6402
6444
  throw TypeError(e);
6403
- }, WD = (e, t) => () => (e && (t = e(e = 0)), t), wo = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Bi = (e, t) => {
6445
+ }, WD = (e, t) => () => (e && (t = e(e = 0)), t), Co = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Bi = (e, t) => {
6404
6446
  for (var n in t) Ti(e, n, { get: t[n], enumerable: !0 });
6405
6447
  }, gp = (e, t, n, r) => {
6406
6448
  if (t && typeof t == "object" || typeof t == "function") for (let i of qD(t)) !UD.call(e, i) && i !== n && Ti(e, i, { get: () => t[i], enumerable: !(r = RD(t, i)) || r.enumerable });
6407
6449
  return e;
6408
- }, Ni = (e, t, n) => (n = e != null ? MD(HD(e)) : {}, gp(Ti(n, "default", { value: e, enumerable: !0 }), e)), zD = (e) => gp(Ti({}, "__esModule", { value: !0 }), e), VD = (e, t, n) => t.has(e) || mp("Cannot " + n), YD = (e, t, n) => t.has(e) ? mp("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Jr = (e, t, n) => (VD(e, t, "access private method"), n), Co = wo((e, t) => {
6450
+ }, Ni = (e, t, n) => (n = e != null ? MD(HD(e)) : {}, gp(Ti(n, "default", { value: e, enumerable: !0 }), e)), zD = (e) => gp(Ti({}, "__esModule", { value: !0 }), e), VD = (e, t, n) => t.has(e) || mp("Cannot " + n), YD = (e, t, n) => t.has(e) ? mp("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Jr = (e, t, n) => (VD(e, t, "access private method"), n), xo = Co((e, t) => {
6409
6451
  var n = new Proxy(String, { get: () => n });
6410
6452
  t.exports = n;
6411
6453
  }), vp = {};
6412
6454
  Bi(vp, { default: () => yp, shouldHighlight: () => Dp });
6413
6455
  var Dp, yp, GD = WD(() => {
6414
6456
  Dp = () => !1, yp = String;
6415
- }), KD = wo((e, t) => {
6457
+ }), KD = Co((e, t) => {
6416
6458
  var n = String, r = function() {
6417
6459
  return { isColorSupported: !1, reset: n, bold: n, dim: n, italic: n, underline: n, inverse: n, hidden: n, strikethrough: n, black: n, red: n, green: n, yellow: n, blue: n, magenta: n, cyan: n, white: n, gray: n, bgBlack: n, bgRed: n, bgGreen: n, bgYellow: n, bgBlue: n, bgMagenta: n, bgCyan: n, bgWhite: n };
6418
6460
  };
6419
6461
  t.exports = r(), t.exports.createColors = r;
6420
- }), JD = wo((e) => {
6462
+ }), JD = Co((e) => {
6421
6463
  Object.defineProperty(e, "__esModule", { value: !0 }), e.codeFrameColumns = b, e.default = k;
6422
6464
  var t = (GD(), zD(vp)), n = i(KD(), !0);
6423
6465
  function r(_) {
@@ -6495,7 +6537,7 @@ ${V}`), F ? S.reset(V) : V;
6495
6537
  return T = Math.max(T, 0), b(_, { start: { column: T, line: C } }, F);
6496
6538
  }
6497
6539
  }), XD = {};
6498
- Bi(XD, { __debug: () => Zb, check: () => Xb, doc: () => id, format: () => Oo, formatWithCursor: () => od, getSupportInfo: () => Qb, util: () => sd, version: () => Eb });
6540
+ Bi(XD, { __debug: () => Zb, check: () => Xb, doc: () => id, format: () => Io, formatWithCursor: () => od, getSupportInfo: () => Qb, util: () => sd, version: () => Eb });
6499
6541
  var QD = (e, t, n, r) => {
6500
6542
  if (!(e && t == null)) return t.replaceAll ? t.replaceAll(n, r) : n.global ? t.replace(n, r) : t.split(n).join(r);
6501
6543
  }, ji = QD;
@@ -6630,25 +6672,25 @@ da.castInput = function(e) {
6630
6672
  var t = this.options, n = t.undefinedReplacement, r = t.stringifyReplacer, i = r === void 0 ? function(o, u) {
6631
6673
  return typeof u > "u" ? n : u;
6632
6674
  } : r;
6633
- return typeof e == "string" ? e : JSON.stringify(Qs(e, null, null, i), i, " ");
6675
+ return typeof e == "string" ? e : JSON.stringify(Zs(e, null, null, i), i, " ");
6634
6676
  };
6635
6677
  da.equals = function(e, t) {
6636
6678
  return bn.prototype.equals.call(da, e.replace(/,([\r\n])/g, "$1"), t.replace(/,([\r\n])/g, "$1"));
6637
6679
  };
6638
- function Qs(e, t, n, r, i) {
6680
+ function Zs(e, t, n, r, i) {
6639
6681
  t = t || [], n = n || [], r && (e = r(i, e));
6640
6682
  var o;
6641
6683
  for (o = 0; o < t.length; o += 1) if (t[o] === e) return n[o];
6642
6684
  var u;
6643
6685
  if (ny.call(e) === "[object Array]") {
6644
- for (t.push(e), u = new Array(e.length), n.push(u), o = 0; o < e.length; o += 1) u[o] = Qs(e[o], t, n, r, i);
6686
+ for (t.push(e), u = new Array(e.length), n.push(u), o = 0; o < e.length; o += 1) u[o] = Zs(e[o], t, n, r, i);
6645
6687
  return t.pop(), n.pop(), u;
6646
6688
  }
6647
6689
  if (e && e.toJSON && (e = e.toJSON()), di(e) === "object" && e !== null) {
6648
6690
  t.push(e), u = {}, n.push(u);
6649
6691
  var c = [], d;
6650
6692
  for (d in e) e.hasOwnProperty(d) && c.push(d);
6651
- for (c.sort(), o = 0; o < c.length; o += 1) d = c[o], u[d] = Qs(e[d], t, n, r, d);
6693
+ for (c.sort(), o = 0; o < c.length; o += 1) d = c[o], u[d] = Zs(e[d], t, n, r, d);
6652
6694
  t.pop(), n.pop();
6653
6695
  } else u = e;
6654
6696
  return u;
@@ -6668,7 +6710,7 @@ function ay(e) {
6668
6710
  return t >= 0 ? e.charAt(t + 1) === `
6669
6711
  ` ? "crlf" : "cr" : "lf";
6670
6712
  }
6671
- function xo(e) {
6713
+ function _o(e) {
6672
6714
  switch (e) {
6673
6715
  case "cr":
6674
6716
  return "\r";
@@ -6775,7 +6817,7 @@ function cy(e, t, n, r) {
6775
6817
  }
6776
6818
  }
6777
6819
  }
6778
- var _o = cy, py = () => {
6820
+ var So = cy, py = () => {
6779
6821
  }, dy = py;
6780
6822
  function xi(e) {
6781
6823
  return { type: rn, contents: e };
@@ -6807,10 +6849,10 @@ function vy(e, t = "", n = {}) {
6807
6849
  function Dy(e, t) {
6808
6850
  return { type: on, contents: e, groupId: t.groupId, negate: t.negate };
6809
6851
  }
6810
- function Zs(e) {
6852
+ function eo(e) {
6811
6853
  return { type: ln, contents: e };
6812
6854
  }
6813
- var yy = { type: un }, Pi = { type: At }, by = { type: sn }, So = { type: rt, hard: !0 }, Sp = { type: rt, hard: !0, literal: !0 }, Ep = { type: rt }, ky = { type: rt, soft: !0 }, On = [So, Pi], Fp = [Sp, Pi], eo = { type: zn };
6855
+ var yy = { type: un }, Pi = { type: At }, by = { type: sn }, Eo = { type: rt, hard: !0 }, Sp = { type: rt, hard: !0, literal: !0 }, Ep = { type: rt }, ky = { type: rt, soft: !0 }, On = [Eo, Pi], Fp = [Sp, Pi], to = { type: zn };
6814
6856
  function Ap(e, t) {
6815
6857
  let n = [];
6816
6858
  for (let r = 0; r < t.length; r++) r !== 0 && n.push(e), n.push(t[r]);
@@ -6909,7 +6951,7 @@ function $y(e) {
6909
6951
  }
6910
6952
  return t;
6911
6953
  }
6912
- var Eo = $y;
6954
+ var Fo = $y;
6913
6955
  function Li(e, t) {
6914
6956
  if (typeof e == "string") return t(e);
6915
6957
  let n = /* @__PURE__ */ new Map();
@@ -6949,20 +6991,20 @@ function Li(e, t) {
6949
6991
  }
6950
6992
  }
6951
6993
  }
6952
- function Fo(e, t, n) {
6994
+ function Ao(e, t, n) {
6953
6995
  let r = n, i = !1;
6954
6996
  function o(u) {
6955
6997
  if (i) return !1;
6956
6998
  let c = t(u);
6957
6999
  c !== void 0 && (i = !0, r = c);
6958
7000
  }
6959
- return _o(e, o), r;
7001
+ return So(e, o), r;
6960
7002
  }
6961
7003
  function Ty(e) {
6962
7004
  if (e.type === vt && e.break || e.type === rt && e.hard || e.type === At) return !0;
6963
7005
  }
6964
7006
  function By(e) {
6965
- return Fo(e, Ty, !1);
7007
+ return Ao(e, Ty, !1);
6966
7008
  }
6967
7009
  function Ku(e) {
6968
7010
  if (e.length > 0) {
@@ -6982,7 +7024,7 @@ function Ny(e) {
6982
7024
  function i(o) {
6983
7025
  o.type === vt && n.pop().break && Ku(n);
6984
7026
  }
6985
- _o(e, r, i, !0);
7027
+ So(e, r, i, !0);
6986
7028
  }
6987
7029
  function jy(e) {
6988
7030
  return e.type === rt && !e.hard ? e.soft ? "" : " " : e.type === Ct ? e.flatContents : e;
@@ -7082,7 +7124,7 @@ function My(e) {
7082
7124
  if (e.type === rt) return !0;
7083
7125
  }
7084
7126
  function Ry(e) {
7085
- return Fo(e, My, !1);
7127
+ return Ao(e, My, !1);
7086
7128
  }
7087
7129
  function Bp(e, t) {
7088
7130
  return e.type === Wt ? { ...e, contents: t(e.contents) } : t(e);
@@ -7092,12 +7134,12 @@ function Np() {
7092
7134
  return { value: "", length: 0, queue: [] };
7093
7135
  }
7094
7136
  function qy(e, t) {
7095
- return to(e, { type: "indent" }, t);
7137
+ return no(e, { type: "indent" }, t);
7096
7138
  }
7097
7139
  function Hy(e, t, n) {
7098
- return t === Number.NEGATIVE_INFINITY ? e.root || Np() : t < 0 ? to(e, { type: "dedent" }, n) : t ? t.type === "root" ? { ...e, root: e } : to(e, { type: typeof t == "string" ? "stringAlign" : "numberAlign", n: t }, n) : e;
7140
+ return t === Number.NEGATIVE_INFINITY ? e.root || Np() : t < 0 ? no(e, { type: "dedent" }, n) : t ? t.type === "root" ? { ...e, root: e } : no(e, { type: typeof t == "string" ? "stringAlign" : "numberAlign", n: t }, n) : e;
7099
7141
  }
7100
- function to(e, t, n) {
7142
+ function no(e, t, n) {
7101
7143
  let r = t.type === "dedent" ? e.queue.slice(0, -1) : [...e.queue, t], i = "", o = 0, u = 0, c = 0;
7102
7144
  for (let k of r) switch (k.type) {
7103
7145
  case "indent":
@@ -7132,7 +7174,7 @@ function to(e, t, n) {
7132
7174
  u = 0, c = 0;
7133
7175
  }
7134
7176
  }
7135
- function no(e) {
7177
+ function ro(e) {
7136
7178
  let t = 0, n = 0, r = e.length;
7137
7179
  e: for (; r--; ) {
7138
7180
  let i = e[r];
@@ -7164,7 +7206,7 @@ function ai(e, t, n, r, i, o) {
7164
7206
  let { mode: h, doc: g } = c.pop(), v = Vn(g);
7165
7207
  switch (v) {
7166
7208
  case Wn:
7167
- d.push(g), n -= Eo(g);
7209
+ d.push(g), n -= Fo(g);
7168
7210
  break;
7169
7211
  case en:
7170
7212
  case Ut: {
@@ -7179,7 +7221,7 @@ function ai(e, t, n, r, i, o) {
7179
7221
  c.push({ mode: h, doc: g.contents });
7180
7222
  break;
7181
7223
  case sn:
7182
- n += no(d);
7224
+ n += ro(d);
7183
7225
  break;
7184
7226
  case vt: {
7185
7227
  if (o && g.break) return !1;
@@ -7207,7 +7249,7 @@ function ai(e, t, n, r, i, o) {
7207
7249
  return !1;
7208
7250
  }
7209
7251
  function Oi(e, t) {
7210
- let n = {}, r = t.printWidth, i = xo(t.endOfLine), o = 0, u = [{ ind: Np(), mode: gt, doc: e }], c = [], d = !1, h = [], g = 0;
7252
+ let n = {}, r = t.printWidth, i = _o(t.endOfLine), o = 0, u = [{ ind: Np(), mode: gt, doc: e }], c = [], d = !1, h = [], g = 0;
7211
7253
  for (Ny(e); u.length > 0; ) {
7212
7254
  let { ind: D, mode: b, doc: k } = u.pop();
7213
7255
  switch (Vn(k)) {
@@ -7215,7 +7257,7 @@ function Oi(e, t) {
7215
7257
  let _ = i !== `
7216
7258
  ` ? ji(!1, k, `
7217
7259
  `, i) : k;
7218
- c.push(_), u.length > 0 && (o += Eo(_));
7260
+ c.push(_), u.length > 0 && (o += Fo(_));
7219
7261
  break;
7220
7262
  }
7221
7263
  case en:
@@ -7232,7 +7274,7 @@ function Oi(e, t) {
7232
7274
  u.push({ ind: Hy(D, k.n, t), mode: b, doc: k.contents });
7233
7275
  break;
7234
7276
  case sn:
7235
- o -= no(c);
7277
+ o -= ro(c);
7236
7278
  break;
7237
7279
  case vt:
7238
7280
  switch (b) {
@@ -7301,7 +7343,7 @@ function Oi(e, t) {
7301
7343
  h.push({ ind: D, mode: b, doc: k.contents });
7302
7344
  break;
7303
7345
  case un:
7304
- h.length > 0 && u.push({ ind: D, mode: b, doc: So });
7346
+ h.length > 0 && u.push({ ind: D, mode: b, doc: Eo });
7305
7347
  break;
7306
7348
  case rt:
7307
7349
  switch (b) {
@@ -7316,7 +7358,7 @@ function Oi(e, t) {
7316
7358
  u.push({ ind: D, mode: b, doc: k }, ...h.reverse()), h.length = 0;
7317
7359
  break;
7318
7360
  }
7319
- k.literal ? D.root ? (c.push(i, D.root.value), o = D.root.length) : (c.push(i), o = 0) : (o -= no(c), c.push(i + D.value), o = D.length);
7361
+ k.literal ? D.root ? (c.push(i, D.root.value), o = D.root.length) : (c.push(i), o = 0) : (o -= ro(c), c.push(i + D.value), o = D.length);
7320
7362
  break;
7321
7363
  }
7322
7364
  break;
@@ -7342,7 +7384,7 @@ function Uy(e, t, n = 0) {
7342
7384
  for (let i = n; i < e.length; ++i) e[i] === " " ? r = r + t - r % t : r++;
7343
7385
  return r;
7344
7386
  }
7345
- var Ao = Uy, Nn, ro, hi, Wy = class {
7387
+ var $o = Uy, Nn, ao, hi, Wy = class {
7346
7388
  constructor(e) {
7347
7389
  YD(this, Nn), this.stack = [e];
7348
7390
  }
@@ -7401,7 +7443,7 @@ var Ao = Uy, Nn, ro, hi, Wy = class {
7401
7443
  return ze(!1, this.stack, -1);
7402
7444
  }
7403
7445
  getNode(e = 0) {
7404
- let t = Jr(this, Nn, ro).call(this, e);
7446
+ let t = Jr(this, Nn, ao).call(this, e);
7405
7447
  return t === -1 ? null : this.stack[t];
7406
7448
  }
7407
7449
  getParentNode(e = 0) {
@@ -7417,7 +7459,7 @@ var Ao = Uy, Nn, ro, hi, Wy = class {
7417
7459
  }
7418
7460
  }
7419
7461
  callParent(e, t = 0) {
7420
- let n = Jr(this, Nn, ro).call(this, t + 1), r = this.stack.splice(n + 1);
7462
+ let n = Jr(this, Nn, ao).call(this, t + 1), r = this.stack.splice(n + 1);
7421
7463
  try {
7422
7464
  return e(this);
7423
7465
  } finally {
@@ -7457,7 +7499,7 @@ var Ao = Uy, Nn, ro, hi, Wy = class {
7457
7499
  return !1;
7458
7500
  }
7459
7501
  };
7460
- Nn = /* @__PURE__ */ new WeakSet(), ro = function(e) {
7502
+ Nn = /* @__PURE__ */ new WeakSet(), ao = function(e) {
7461
7503
  let { stack: t } = this;
7462
7504
  for (let n = t.length - 1; n >= 0; n -= 2) if (!Array.isArray(t[n]) && --e < 0) return n;
7463
7505
  return -1;
@@ -7469,7 +7511,7 @@ Nn = /* @__PURE__ */ new WeakSet(), ro = function(e) {
7469
7511
  }
7470
7512
  };
7471
7513
  var zy = Wy, jp = new Proxy(() => {
7472
- }, { get: () => jp }), ao = jp;
7514
+ }, { get: () => jp }), io = jp;
7473
7515
  function Vy(e) {
7474
7516
  return e !== null && typeof e == "object";
7475
7517
  }
@@ -7540,28 +7582,28 @@ function n0(e) {
7540
7582
  let t = e.type || e.kind || "(unknown type)", n = String(e.name || e.id && (typeof e.id == "object" ? e.id.name : e.id) || e.key && (typeof e.key == "object" ? e.key.name : e.key) || e.value && (typeof e.value == "object" ? "" : String(e.value)) || e.operator || "");
7541
7583
  return n.length > 20 && (n = n.slice(0, 19) + "…"), t + (n ? " " + n : "");
7542
7584
  }
7543
- function $o(e, t) {
7585
+ function To(e, t) {
7544
7586
  (e.comments ?? (e.comments = [])).push(t), t.printed = !1, t.nodeDescription = n0(e);
7545
7587
  }
7546
7588
  function ur(e, t) {
7547
- t.leading = !0, t.trailing = !1, $o(e, t);
7589
+ t.leading = !0, t.trailing = !1, To(e, t);
7548
7590
  }
7549
7591
  function jn(e, t, n) {
7550
- t.leading = !1, t.trailing = !1, n && (t.marker = n), $o(e, t);
7592
+ t.leading = !1, t.trailing = !1, n && (t.marker = n), To(e, t);
7551
7593
  }
7552
7594
  function cr(e, t) {
7553
- t.leading = !1, t.trailing = !0, $o(e, t);
7595
+ t.leading = !1, t.trailing = !0, To(e, t);
7554
7596
  }
7555
- var js = /* @__PURE__ */ new WeakMap();
7556
- function To(e, t) {
7557
- if (js.has(e)) return js.get(e);
7597
+ var Ps = /* @__PURE__ */ new WeakMap();
7598
+ function Bo(e, t) {
7599
+ if (Ps.has(e)) return Ps.get(e);
7558
7600
  let { printer: { getCommentChildNodes: n, canAttachComment: r, getVisitorKeys: i }, locStart: o, locEnd: u } = t;
7559
7601
  if (!r) return [];
7560
- let c = ((n == null ? void 0 : n(e, t)) ?? [...Pp(e, { getVisitorKeys: Ii(i) })]).flatMap((d) => r(d) ? [d] : To(d, t));
7561
- return c.sort((d, h) => o(d) - o(h) || u(d) - u(h)), js.set(e, c), c;
7602
+ let c = ((n == null ? void 0 : n(e, t)) ?? [...Pp(e, { getVisitorKeys: Ii(i) })]).flatMap((d) => r(d) ? [d] : Bo(d, t));
7603
+ return c.sort((d, h) => o(d) - o(h) || u(d) - u(h)), Ps.set(e, c), c;
7562
7604
  }
7563
7605
  function Mp(e, t, n, r) {
7564
- let { locStart: i, locEnd: o } = n, u = i(t), c = o(t), d = To(e, n), h, g, v = 0, D = d.length;
7606
+ let { locStart: i, locEnd: o } = n, u = i(t), c = o(t), d = Bo(e, n), h, g, v = 0, D = d.length;
7565
7607
  for (; v < D; ) {
7566
7608
  let b = v + D >> 1, k = d[b], _ = i(k), C = o(k);
7567
7609
  if (_ <= u && c <= C) return Mp(k, t, n, k);
@@ -7576,16 +7618,16 @@ function Mp(e, t, n, r) {
7576
7618
  throw new Error("Comment location overlaps with node location");
7577
7619
  }
7578
7620
  if ((r == null ? void 0 : r.type) === "TemplateLiteral") {
7579
- let { quasis: b } = r, k = Ls(b, t, n);
7580
- h && Ls(b, h, n) !== k && (h = null), g && Ls(b, g, n) !== k && (g = null);
7621
+ let { quasis: b } = r, k = Os(b, t, n);
7622
+ h && Os(b, h, n) !== k && (h = null), g && Os(b, g, n) !== k && (g = null);
7581
7623
  }
7582
7624
  return { enclosingNode: r, precedingNode: h, followingNode: g };
7583
7625
  }
7584
- var Ps = () => !1;
7626
+ var Ls = () => !1;
7585
7627
  function r0(e, t) {
7586
7628
  let { comments: n } = e;
7587
7629
  if (delete e.comments, !Zy(n) || !t.printer.canAttachComment) return;
7588
- let r = [], { locStart: i, locEnd: o, printer: { experimentalFeatures: { avoidAstMutation: u = !1 } = {}, handleComments: c = {} }, originalText: d } = t, { ownLine: h = Ps, endOfLine: g = Ps, remaining: v = Ps } = c, D = n.map((b, k) => ({ ...Mp(e, b, t), comment: b, text: d, options: t, ast: e, isLastComment: n.length - 1 === k }));
7630
+ let r = [], { locStart: i, locEnd: o, printer: { experimentalFeatures: { avoidAstMutation: u = !1 } = {}, handleComments: c = {} }, originalText: d } = t, { ownLine: h = Ls, endOfLine: g = Ls, remaining: v = Ls } = c, D = n.map((b, k) => ({ ...Mp(e, b, t), comment: b, text: d, options: t, ast: e, isLastComment: n.length - 1 === k }));
7589
7631
  for (let [b, k] of D.entries()) {
7590
7632
  let { comment: _, precedingNode: C, enclosingNode: T, followingNode: F, text: S, options: A, ast: x, isLastComment: $ } = k;
7591
7633
  if (A.parser === "json" || A.parser === "json5" || A.parser === "jsonc" || A.parser === "__js_expression" || A.parser === "__ts_expression" || A.parser === "__vue_expression" || A.parser === "__vue_ts_expression") {
@@ -7634,7 +7676,7 @@ function Xu(e, t) {
7634
7676
  let { precedingNode: o, followingNode: u } = e[0], c = t.locStart(u), d;
7635
7677
  for (d = i; d > 0; --d) {
7636
7678
  let { comment: h, precedingNode: g, followingNode: v } = e[d - 1];
7637
- ao.strictEqual(g, o), ao.strictEqual(v, u);
7679
+ io.strictEqual(g, o), io.strictEqual(v, u);
7638
7680
  let D = t.originalText.slice(t.locEnd(h), c);
7639
7681
  if (((r = (n = t.printer).isGap) == null ? void 0 : r.call(n, D, t)) ?? /^[\s(]*$/u.test(D)) c = t.locStart(h);
7640
7682
  else break;
@@ -7643,7 +7685,7 @@ function Xu(e, t) {
7643
7685
  for (let h of [o, u]) h.comments && h.comments.length > 1 && h.comments.sort((g, v) => t.locStart(g) - t.locStart(v));
7644
7686
  e.length = 0;
7645
7687
  }
7646
- function Ls(e, t, n) {
7688
+ function Os(e, t, n) {
7647
7689
  let r = n.locStart(t) - 1;
7648
7690
  for (let i = 1; i < e.length; ++i) if (r < n.locStart(e[i])) return i - 1;
7649
7691
  return 0;
@@ -7654,7 +7696,7 @@ function s0(e, t) {
7654
7696
  let r = qn(e, n, { backwards: !0 });
7655
7697
  return n !== r;
7656
7698
  }
7657
- var Bo = s0;
7699
+ var No = s0;
7658
7700
  function qp(e, t) {
7659
7701
  let n = e.node;
7660
7702
  return n.printed = !0, t.printer.printComment(e, t);
@@ -7673,10 +7715,10 @@ function l0(e, t, n) {
7673
7715
  var r;
7674
7716
  let i = e.node, o = qp(e, t), { printer: u, originalText: c, locStart: d } = t, h = (r = u.isBlockComment) == null ? void 0 : r.call(u, i);
7675
7717
  if (n != null && n.hasLineSuffix && !(n != null && n.isBlock) || mn(c, d(i), { backwards: !0 })) {
7676
- let g = Bo(c, d(i));
7677
- return { doc: Zs([On, g ? On : "", o]), isBlock: h, hasLineSuffix: !0 };
7718
+ let g = No(c, d(i));
7719
+ return { doc: eo([On, g ? On : "", o]), isBlock: h, hasLineSuffix: !0 };
7678
7720
  }
7679
- return !h || n != null && n.hasLineSuffix ? { doc: [Zs([" ", o]), Pi], isBlock: h, hasLineSuffix: !0 } : { doc: [" ", o], isBlock: h, hasLineSuffix: !1 };
7721
+ return !h || n != null && n.hasLineSuffix ? { doc: [eo([" ", o]), Pi], isBlock: h, hasLineSuffix: !0 } : { doc: [" ", o], isBlock: h, hasLineSuffix: !1 };
7680
7722
  }
7681
7723
  function u0(e, t) {
7682
7724
  let n = e.node;
@@ -7761,10 +7803,10 @@ var D0 = v0, pr = { key: (e) => /^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e) ? e : JSON.
7761
7803
  if (Array.isArray(e)) return `[${e.map((n) => pr.value(n)).join(", ")}]`;
7762
7804
  let t = Object.keys(e);
7763
7805
  return t.length === 0 ? "{}" : `{ ${t.map((n) => `${pr.key(n)}: ${pr.value(e[n])}`).join(", ")} }`;
7764
- }, pair: ({ key: e, value: t }) => pr.value({ [e]: t }) }, ec = Ni(Co()), y0 = (e, t, { descriptor: n }) => {
7806
+ }, pair: ({ key: e, value: t }) => pr.value({ [e]: t }) }, ec = Ni(xo()), y0 = (e, t, { descriptor: n }) => {
7765
7807
  let r = [`${ec.default.yellow(typeof e == "string" ? n.key(e) : n.pair(e))} is deprecated`];
7766
7808
  return t && r.push(`we now treat it as ${ec.default.blue(typeof t == "string" ? n.key(t) : n.pair(t))}`), r.join("; ") + ".";
7767
- }, dr = Ni(Co()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"), fi = Symbol.for("vnopts.VALUE_UNCHANGED"), tc = " ".repeat(2), b0 = (e, t, n) => {
7809
+ }, dr = Ni(xo()), Wp = Symbol.for("vnopts.VALUE_NOT_EXIST"), fi = Symbol.for("vnopts.VALUE_UNCHANGED"), tc = " ".repeat(2), b0 = (e, t, n) => {
7768
7810
  let { text: r, list: i } = n.normalizeExpectedResult(n.schemas[e].expected(n)), o = [];
7769
7811
  return r && o.push(nc(e, t, r, n.descriptor)), i && o.push([nc(e, t, i.title, n.descriptor)].concat(i.values.map((u) => zp(u, n.loggerPrintWidth))).join(`
7770
7812
  `)), Vp(o, n.loggerPrintWidth);
@@ -7783,7 +7825,7 @@ function Vp(e, t) {
7783
7825
  `, 1)[0].length);
7784
7826
  return i > t && i > o ? r : n;
7785
7827
  }
7786
- var rc = Ni(Co()), Os = [], ac = [];
7828
+ var rc = Ni(xo()), Is = [], ac = [];
7787
7829
  function k0(e, t) {
7788
7830
  if (e === t) return 0;
7789
7831
  let n = e;
@@ -7794,8 +7836,8 @@ function k0(e, t) {
7794
7836
  for (; o < r && e.charCodeAt(o) === t.charCodeAt(o); ) o++;
7795
7837
  if (r -= o, i -= o, r === 0) return i;
7796
7838
  let u, c, d, h, g = 0, v = 0;
7797
- for (; g < r; ) ac[g] = e.charCodeAt(o + g), Os[g] = ++g;
7798
- for (; v < i; ) for (u = t.charCodeAt(o + v), d = v++, c = v, g = 0; g < r; g++) h = u === ac[g] ? d : d + 1, d = Os[g], c = Os[g] = d > c ? h > c ? c + 1 : h : h > d ? d + 1 : h;
7839
+ for (; g < r; ) ac[g] = e.charCodeAt(o + g), Is[g] = ++g;
7840
+ for (; v < i; ) for (u = t.charCodeAt(o + v), d = v++, c = v, g = 0; g < r; g++) h = u === ac[g] ? d : d + 1, d = Is[g], c = Is[g] = d > c ? h > c ? c + 1 : h : h > d ? d + 1 : h;
7799
7841
  return c;
7800
7842
  }
7801
7843
  var Yp = (e, t, { descriptor: n, logger: r, schemas: i }) => {
@@ -7979,11 +8021,11 @@ function lc(e, t, n = !1) {
7979
8021
  function uc(e, t) {
7980
8022
  return typeof e == "string" || "key" in e ? { from: t, to: e } : "from" in e ? { from: e.from, to: e.to } : { from: t, to: e.to };
7981
8023
  }
7982
- function io(e, t) {
8024
+ function so(e, t) {
7983
8025
  return e === void 0 ? [] : Array.isArray(e) ? e.map((n) => uc(n, t)) : [uc(e, t)];
7984
8026
  }
7985
8027
  function cc(e, t) {
7986
- let n = io(typeof e == "object" && "redirect" in e ? e.redirect : e, t);
8028
+ let n = so(typeof e == "object" && "redirect" in e ? e.redirect : e, t);
7987
8029
  return n.length === 0 ? { remain: t, redirect: n } : typeof e == "object" && "remain" in e ? { remain: e.remain, redirect: n } : { redirect: n };
7988
8030
  }
7989
8031
  function L0(e, t) {
@@ -8037,7 +8079,7 @@ var O0 = class extends kn {
8037
8079
  constructor(e, t) {
8038
8080
  let { logger: n = console, loggerPrintWidth: r = 80, descriptor: i = R0, unknown: o = q0, invalid: u = H0, deprecated: c = U0, missing: d = () => !1, required: h = () => !1, preprocess: g = (D) => D, postprocess: v = () => fi } = t || {};
8039
8081
  this._utils = { descriptor: i, logger: n || { warn: () => {
8040
- } }, loggerPrintWidth: r, schemas: A0(e, "name"), normalizeDefaultResult: sc, normalizeExpectedResult: Gp, normalizeDeprecatedResult: lc, normalizeForwardResult: io, normalizeRedirectResult: cc, normalizeValidateResult: oc }, this._unknownHandler = o, this._invalidHandler = P0(u), this._deprecatedHandler = c, this._identifyMissing = (D, b) => !(D in b) || d(D, b), this._identifyRequired = h, this._preprocess = g, this._postprocess = v, this.cleanHistory();
8082
+ } }, loggerPrintWidth: r, schemas: A0(e, "name"), normalizeDefaultResult: sc, normalizeExpectedResult: Gp, normalizeDeprecatedResult: lc, normalizeForwardResult: so, normalizeRedirectResult: cc, normalizeValidateResult: oc }, this._unknownHandler = o, this._invalidHandler = P0(u), this._deprecatedHandler = c, this._identifyMissing = (D, b) => !(D in b) || d(D, b), this._identifyRequired = h, this._preprocess = g, this._postprocess = v, this.cleanHistory();
8041
8083
  }
8042
8084
  cleanHistory() {
8043
8085
  this._hasDeprecationWarned = T0();
@@ -8083,7 +8125,7 @@ var O0 = class extends kn {
8083
8125
  }
8084
8126
  }
8085
8127
  };
8086
- io(u.forward(c, this._utils), c).forEach(d);
8128
+ so(u.forward(c, this._utils), c).forEach(d);
8087
8129
  let g = cc(u.redirect(c, this._utils), c);
8088
8130
  if (g.redirect.forEach(d), "remain" in g) {
8089
8131
  let v = g.remain;
@@ -8138,7 +8180,7 @@ var O0 = class extends kn {
8138
8180
  }
8139
8181
  }
8140
8182
  }
8141
- }, Is;
8183
+ }, Ms;
8142
8184
  function z0(e, t, { logger: n = !1, isCLI: r = !1, passThrough: i = !1, FlagSchema: o, descriptor: u } = {}) {
8143
8185
  if (r) {
8144
8186
  if (!o) throw new Error("'FlagSchema' option is required.");
@@ -8148,9 +8190,9 @@ function z0(e, t, { logger: n = !1, isCLI: r = !1, passThrough: i = !1, FlagSche
8148
8190
  let { _, ...C } = k.schemas;
8149
8191
  return Yp(D, b, { ...k, schemas: C });
8150
8192
  }, d = V0(t, { isCLI: r, FlagSchema: o }), h = new W0(d, { logger: n, unknown: c, descriptor: u }), g = n !== !1;
8151
- g && Is && (h._hasDeprecationWarned = Is);
8193
+ g && Ms && (h._hasDeprecationWarned = Ms);
8152
8194
  let v = h.normalize(e);
8153
- return g && (Is = h._hasDeprecationWarned), v;
8195
+ return g && (Ms = h._hasDeprecationWarned), v;
8154
8196
  }
8155
8197
  function V0(e, { isCLI: t, FlagSchema: n }) {
8156
8198
  let r = [];
@@ -8323,7 +8365,7 @@ async function Mi(e, t) {
8323
8365
  function hc(e, t, n, r, i) {
8324
8366
  var o;
8325
8367
  let { node: u } = e, { printer: c } = t, d;
8326
- return (o = c.hasPrettierIgnore) != null && o.call(c, e) ? d = ib(e, t) : i.has(u) ? d = i.get(u) : d = c.print(e, t, n, r), u === t.cursorNode && (d = Bp(d, (h) => [eo, h, eo])), c.printComment && (!c.willPrintOwnComments || !c.willPrintOwnComments(e, t)) && (d = c0(e, d, t)), d;
8368
+ return (o = c.hasPrettierIgnore) != null && o.call(c, e) ? d = ib(e, t) : i.has(u) ? d = i.get(u) : d = c.print(e, t, n, r), u === t.cursorNode && (d = Bp(d, (h) => [to, h, to])), c.printComment && (!c.willPrintOwnComments || !c.willPrintOwnComments(e, t)) && (d = c0(e, d, t)), d;
8327
8369
  }
8328
8370
  async function Zp(e, t) {
8329
8371
  let n = e.comments ?? [];
@@ -8383,11 +8425,11 @@ function fb(e, t, { locStart: n, locEnd: r }) {
8383
8425
  }
8384
8426
  return { startNode: i, endNode: o };
8385
8427
  }
8386
- function so(e, t, n, r, i = [], o) {
8428
+ function oo(e, t, n, r, i = [], o) {
8387
8429
  let { locStart: u, locEnd: c } = n, d = u(e), h = c(e);
8388
8430
  if (!(t > h || t < d || o === "rangeEnd" && t === d || o === "rangeStart" && t === h)) {
8389
- for (let g of To(e, n)) {
8390
- let v = so(g, t, n, r, [e, ...i], o);
8431
+ for (let g of Bo(e, n)) {
8432
+ let v = oo(g, t, n, r, [e, ...i], o);
8391
8433
  if (v) return v;
8392
8434
  }
8393
8435
  if (!r || r(e, i[0])) return { node: e, parentNodes: i };
@@ -8424,10 +8466,10 @@ function mc(e, t, n) {
8424
8466
  }
8425
8467
  function vb(e, t, n) {
8426
8468
  let { rangeStart: r, rangeEnd: i, locStart: o, locEnd: u } = t;
8427
- ao.ok(i > r);
8469
+ io.ok(i > r);
8428
8470
  let c = e.slice(r, i).search(/\S/u), d = c === -1;
8429
8471
  if (!d) for (r += c; i > r && !/\S/u.test(e[i - 1]); --i) ;
8430
- let h = so(n, r, t, (b, k) => mc(t, b, k), [], "rangeStart"), g = d ? h : so(n, i, t, (b) => mc(t, b), [], "rangeEnd");
8472
+ let h = oo(n, r, t, (b, k) => mc(t, b, k), [], "rangeStart"), g = d ? h : oo(n, i, t, (b) => mc(t, b), [], "rangeEnd");
8431
8473
  if (!h || !g) return { rangeStart: 0, rangeEnd: 0 };
8432
8474
  let v, D;
8433
8475
  if (db(t)) {
@@ -8446,7 +8488,7 @@ async function nd(e, t, n = 0) {
8446
8488
  let u = Oi(o, t);
8447
8489
  if (n > 0) {
8448
8490
  let d = u.formatted.trim();
8449
- u.cursorNodeStart !== void 0 && (u.cursorNodeStart -= u.formatted.indexOf(d)), u.formatted = d + xo(t.endOfLine);
8491
+ u.cursorNodeStart !== void 0 && (u.cursorNodeStart -= u.formatted.indexOf(d)), u.formatted = d + _o(t.endOfLine);
8450
8492
  }
8451
8493
  let c = t[Symbol.for("comments")];
8452
8494
  if (t.cursorOffset >= 0) {
@@ -8464,11 +8506,11 @@ async function nd(e, t, n = 0) {
8464
8506
  }
8465
8507
  async function Db(e, t) {
8466
8508
  let { ast: n, text: r } = await xa(e, t), { rangeStart: i, rangeEnd: o } = vb(r, t, n), u = r.slice(i, o), c = Math.min(i, r.lastIndexOf(`
8467
- `, i) + 1), d = r.slice(c, i).match(/^\s*/u)[0], h = Ao(d, t.tabWidth), g = await nd(u, { ...t, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: t.cursorOffset > i && t.cursorOffset <= o ? t.cursorOffset - i : -1, endOfLine: "lf" }, h), v = g.formatted.trimEnd(), { cursorOffset: D } = t;
8509
+ `, i) + 1), d = r.slice(c, i).match(/^\s*/u)[0], h = $o(d, t.tabWidth), g = await nd(u, { ...t, rangeStart: 0, rangeEnd: Number.POSITIVE_INFINITY, cursorOffset: t.cursorOffset > i && t.cursorOffset <= o ? t.cursorOffset - i : -1, endOfLine: "lf" }, h), v = g.formatted.trimEnd(), { cursorOffset: D } = t;
8468
8510
  D > o ? D += v.length - u.length : g.cursorOffset >= 0 && (D = g.cursorOffset + i);
8469
8511
  let b = r.slice(0, i) + v + r.slice(o);
8470
8512
  if (t.endOfLine !== "lf") {
8471
- let k = xo(t.endOfLine);
8513
+ let k = _o(t.endOfLine);
8472
8514
  D >= 0 && k === `\r
8473
8515
  ` && (D += wp(b.slice(0, D), `
8474
8516
  `)), b = ji(!1, b, `
@@ -8476,12 +8518,12 @@ async function Db(e, t) {
8476
8518
  }
8477
8519
  return { formatted: b, cursorOffset: D, comments: g.comments };
8478
8520
  }
8479
- function Ms(e, t, n) {
8521
+ function Rs(e, t, n) {
8480
8522
  return typeof t != "number" || Number.isNaN(t) || t < 0 || t > e.length ? n : t;
8481
8523
  }
8482
8524
  function vc(e, t) {
8483
8525
  let { cursorOffset: n, rangeStart: r, rangeEnd: i } = t;
8484
- return n = Ms(e, n, -1), r = Ms(e, r, 0), i = Ms(e, i, e.length), { ...t, cursorOffset: n, rangeStart: r, rangeEnd: i };
8526
+ return n = Rs(e, n, -1), r = Rs(e, r, 0), i = Rs(e, i, e.length), { ...t, cursorOffset: n, rangeStart: r, rangeEnd: i };
8485
8527
  }
8486
8528
  function rd(e, t) {
8487
8529
  let { cursorOffset: n, rangeStart: r, rangeEnd: i, endOfLine: o } = vc(e, t), u = e.charAt(0) === td;
@@ -8525,8 +8567,8 @@ async function Cb(e, t) {
8525
8567
  }
8526
8568
  var id = {};
8527
8569
  Bi(id, { builders: () => xb, printer: () => _b, utils: () => Sb });
8528
- var xb = { join: Ap, line: Ep, softline: ky, hardline: On, literalline: Fp, group: xp, conditionalGroup: gy, fill: _p, lineSuffix: Zs, lineSuffixBoundary: yy, cursor: eo, breakParent: Pi, ifBreak: vy, trim: by, indent: xi, indentIfBreak: Dy, align: yr, addAlignmentToDoc: $p, markAsRoot: fy, dedentToRoot: hy, dedent: my, hardlineWithoutBreakParent: So, literallineWithoutBreakParent: Sp, label: wy, concat: (e) => e }, _b = { printDocToString: Oi }, Sb = { willBreak: By, traverseDoc: _o, findInDoc: Fo, mapDoc: Li, removeLines: Py, stripTrailingHardline: Tp, replaceEndOfLine: Iy, canBreak: Ry }, Eb = "3.3.3", sd = {};
8529
- Bi(sd, { addDanglingComment: () => jn, addLeadingComment: () => ur, addTrailingComment: () => cr, getAlignmentSize: () => Ao, getIndentSize: () => Nb, getMaxContinuousCount: () => Lb, getNextNonSpaceNonCommentCharacter: () => Ib, getNextNonSpaceNonCommentCharacterIndex: () => Vb, getStringWidth: () => Eo, hasNewline: () => mn, hasNewlineInRange: () => Rb, hasSpaces: () => Hb, isNextLineEmpty: () => Jb, isNextLineEmptyAfterIndex: () => Lo, isPreviousLineEmpty: () => Gb, makeString: () => Wb, skip: () => Ca, skipEverythingButNewLine: () => Op, skipInlineComment: () => No, skipNewline: () => qn, skipSpaces: () => yn, skipToLineEnd: () => Lp, skipTrailingComment: () => jo, skipWhitespace: () => Ky });
8570
+ var xb = { join: Ap, line: Ep, softline: ky, hardline: On, literalline: Fp, group: xp, conditionalGroup: gy, fill: _p, lineSuffix: eo, lineSuffixBoundary: yy, cursor: to, breakParent: Pi, ifBreak: vy, trim: by, indent: xi, indentIfBreak: Dy, align: yr, addAlignmentToDoc: $p, markAsRoot: fy, dedentToRoot: hy, dedent: my, hardlineWithoutBreakParent: Eo, literallineWithoutBreakParent: Sp, label: wy, concat: (e) => e }, _b = { printDocToString: Oi }, Sb = { willBreak: By, traverseDoc: So, findInDoc: Ao, mapDoc: Li, removeLines: Py, stripTrailingHardline: Tp, replaceEndOfLine: Iy, canBreak: Ry }, Eb = "3.3.3", sd = {};
8571
+ Bi(sd, { addDanglingComment: () => jn, addLeadingComment: () => ur, addTrailingComment: () => cr, getAlignmentSize: () => $o, getIndentSize: () => Nb, getMaxContinuousCount: () => Lb, getNextNonSpaceNonCommentCharacter: () => Ib, getNextNonSpaceNonCommentCharacterIndex: () => Vb, getStringWidth: () => Fo, hasNewline: () => mn, hasNewlineInRange: () => Rb, hasSpaces: () => Hb, isNextLineEmpty: () => Jb, isNextLineEmptyAfterIndex: () => Oo, isPreviousLineEmpty: () => Gb, makeString: () => Wb, skip: () => Ca, skipEverythingButNewLine: () => Op, skipInlineComment: () => jo, skipNewline: () => qn, skipSpaces: () => yn, skipToLineEnd: () => Lp, skipTrailingComment: () => Po, skipWhitespace: () => Ky });
8530
8572
  function Fb(e, t) {
8531
8573
  if (t === !1) return !1;
8532
8574
  if (e.charAt(t) === "/" && e.charAt(t + 1) === "*") {
@@ -8534,27 +8576,27 @@ function Fb(e, t) {
8534
8576
  }
8535
8577
  return t;
8536
8578
  }
8537
- var No = Fb;
8579
+ var jo = Fb;
8538
8580
  function Ab(e, t) {
8539
8581
  return t === !1 ? !1 : e.charAt(t) === "/" && e.charAt(t + 1) === "/" ? Op(e, t) : t;
8540
8582
  }
8541
- var jo = Ab;
8583
+ var Po = Ab;
8542
8584
  function $b(e, t) {
8543
8585
  let n = null, r = t;
8544
- for (; r !== n; ) n = r, r = yn(e, r), r = No(e, r), r = jo(e, r), r = qn(e, r);
8586
+ for (; r !== n; ) n = r, r = yn(e, r), r = jo(e, r), r = Po(e, r), r = qn(e, r);
8545
8587
  return r;
8546
8588
  }
8547
- var Po = $b;
8589
+ var Lo = $b;
8548
8590
  function Tb(e, t) {
8549
8591
  let n = null, r = t;
8550
- for (; r !== n; ) n = r, r = Lp(e, r), r = No(e, r), r = yn(e, r);
8551
- return r = jo(e, r), r = qn(e, r), r !== !1 && mn(e, r);
8592
+ for (; r !== n; ) n = r, r = Lp(e, r), r = jo(e, r), r = yn(e, r);
8593
+ return r = Po(e, r), r = qn(e, r), r !== !1 && mn(e, r);
8552
8594
  }
8553
- var Lo = Tb;
8595
+ var Oo = Tb;
8554
8596
  function Bb(e, t) {
8555
8597
  let n = e.lastIndexOf(`
8556
8598
  `);
8557
- return n === -1 ? 0 : Ao(e.slice(n + 1).match(/^[\t ]*/u)[0], t);
8599
+ return n === -1 ? 0 : $o(e.slice(n + 1).match(/^[\t ]*/u)[0], t);
8558
8600
  }
8559
8601
  var Nb = Bb;
8560
8602
  function jb(e) {
@@ -8567,7 +8609,7 @@ function Pb(e, t) {
8567
8609
  }
8568
8610
  var Lb = Pb;
8569
8611
  function Ob(e, t) {
8570
- let n = Po(e, t);
8612
+ let n = Lo(e, t);
8571
8613
  return n === !1 ? "" : e.charAt(n);
8572
8614
  }
8573
8615
  var Ib = Ob;
@@ -8587,22 +8629,22 @@ function Ub(e, t, n) {
8587
8629
  }
8588
8630
  var Wb = Ub;
8589
8631
  function zb(e, t, n) {
8590
- return Po(e, n(t));
8632
+ return Lo(e, n(t));
8591
8633
  }
8592
8634
  function Vb(e, t) {
8593
- return arguments.length === 2 || typeof t == "number" ? Po(e, t) : zb(...arguments);
8635
+ return arguments.length === 2 || typeof t == "number" ? Lo(e, t) : zb(...arguments);
8594
8636
  }
8595
8637
  function Yb(e, t, n) {
8596
- return Bo(e, n(t));
8638
+ return No(e, n(t));
8597
8639
  }
8598
8640
  function Gb(e, t) {
8599
- return arguments.length === 2 || typeof t == "number" ? Bo(e, t) : Yb(...arguments);
8641
+ return arguments.length === 2 || typeof t == "number" ? No(e, t) : Yb(...arguments);
8600
8642
  }
8601
8643
  function Kb(e, t, n) {
8602
- return Lo(e, n(t));
8644
+ return Oo(e, n(t));
8603
8645
  }
8604
8646
  function Jb(e, t) {
8605
- return arguments.length === 2 || typeof t == "number" ? Lo(e, t) : Kb(...arguments);
8647
+ return arguments.length === 2 || typeof t == "number" ? Oo(e, t) : Kb(...arguments);
8606
8648
  }
8607
8649
  function Pn(e, t = 1) {
8608
8650
  return async (...n) => {
@@ -8611,12 +8653,12 @@ function Pn(e, t = 1) {
8611
8653
  };
8612
8654
  }
8613
8655
  var od = Pn(ad);
8614
- async function Oo(e, t) {
8656
+ async function Io(e, t) {
8615
8657
  let { formatted: n } = await od(e, { ...t, cursorOffset: -1 });
8616
8658
  return n;
8617
8659
  }
8618
8660
  async function Xb(e, t) {
8619
- return await Oo(e, t) === e;
8661
+ return await Io(e, t) === e;
8620
8662
  }
8621
8663
  var Qb = Pn(Up, 0), Zb = { parse: Pn(yb), formatAST: Pn(bb), formatDoc: Pn(kb), printToDoc: Pn(wb), printDocToString: Pn(Cb) }, ld = { exports: {} };
8622
8664
  (function(e, t) {
@@ -8635,7 +8677,7 @@ var Qb = Pn(Up, 0), Zb = { parse: Pn(yb), formatAST: Pn(bb), formatDoc: Pn(kb),
8635
8677
  if (s && typeof s == "object" || typeof s == "function") for (let f of i(s)) !o.call(a, f) && f !== l && n(a, f, { get: () => s[f], enumerable: !(p = r(s, f)) || p.enumerable });
8636
8678
  return a;
8637
8679
  }, h = (a) => d(n({}, "__esModule", { value: !0 }), a), g = (a, s, l) => s.has(a) || u("Cannot " + l), v = (a, s, l) => (g(a, s, "read from private field"), s.get(a)), D = (a, s, l) => s.has(a) ? u("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(a) : s.set(a, l), b = (a, s, l, p) => (g(a, s, "write to private field"), s.set(a, l), l), k = {};
8638
- c(k, { languages: () => jf, options: () => Lf, parsers: () => Al, printers: () => Hm });
8680
+ c(k, { languages: () => jf, options: () => Lf, parsers: () => $l, printers: () => Hm });
8639
8681
  var _ = (a, s, l, p) => {
8640
8682
  if (!(a && s == null)) return s.replaceAll ? s.replaceAll(l, p) : l.global ? s.replace(l, p) : s.split(l).join(p);
8641
8683
  }, C = _, T = "string", F = "array", S = "cursor", A = "indent", x = "align", $ = "trim", P = "group", I = "fill", j = "if-break", W = "indent-if-break", G = "line-suffix", V = "line-suffix-boundary", L = "line", N = "label", q = "break-parent", X = /* @__PURE__ */ new Set([S, A, x, $, P, I, j, W, G, V, L, N, q]);
@@ -8945,7 +8987,7 @@ Expected it to be ${p}.`;
8945
8987
  return Qe(a) || a.type === "interpolation" || La(a);
8946
8988
  }
8947
8989
  function La(a) {
8948
- return ll(a).startsWith("pre");
8990
+ return ul(a).startsWith("pre");
8949
8991
  }
8950
8992
  function Zi(a, s) {
8951
8993
  var l, p;
@@ -8966,27 +9008,27 @@ Expected it to be ${p}.`;
8966
9008
  return Tt(a) || a.next && a.sourceSpan.end && a.sourceSpan.end.line + 1 < a.next.sourceSpan.start.line;
8967
9009
  }
8968
9010
  function Wd(a) {
8969
- return tl(a) || a.type === "element" && a.children.length > 0 && (["body", "script", "style"].includes(a.name) || a.children.some((s) => Vd(s))) || a.firstChild && a.firstChild === a.lastChild && a.firstChild.type !== "text" && rl(a.firstChild) && (!a.lastChild.isTrailingSpaceSensitive || al(a.lastChild));
9011
+ return nl(a) || a.type === "element" && a.children.length > 0 && (["body", "script", "style"].includes(a.name) || a.children.some((s) => Vd(s))) || a.firstChild && a.firstChild === a.lastChild && a.firstChild.type !== "text" && al(a.firstChild) && (!a.lastChild.isTrailingSpaceSensitive || il(a.lastChild));
8970
9012
  }
8971
- function tl(a) {
9013
+ function nl(a) {
8972
9014
  return a.type === "element" && a.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(a.name) || a.cssDisplay.startsWith("table") && a.cssDisplay !== "table-cell");
8973
9015
  }
8974
9016
  function es(a) {
8975
- return il(a) || a.prev && zd(a.prev) || nl(a);
9017
+ return sl(a) || a.prev && zd(a.prev) || rl(a);
8976
9018
  }
8977
9019
  function zd(a) {
8978
- return il(a) || a.type === "element" && a.fullName === "br" || nl(a);
8979
- }
8980
- function nl(a) {
8981
- return rl(a) && al(a);
9020
+ return sl(a) || a.type === "element" && a.fullName === "br" || rl(a);
8982
9021
  }
8983
9022
  function rl(a) {
8984
- return a.hasLeadingSpaces && (a.prev ? a.prev.sourceSpan.end.line < a.sourceSpan.start.line : a.parent.type === "root" || a.parent.startSourceSpan.end.line < a.sourceSpan.start.line);
9023
+ return al(a) && il(a);
8985
9024
  }
8986
9025
  function al(a) {
8987
- return a.hasTrailingSpaces && (a.next ? a.next.sourceSpan.start.line > a.sourceSpan.end.line : a.parent.type === "root" || a.parent.endSourceSpan && a.parent.endSourceSpan.start.line > a.sourceSpan.end.line);
9026
+ return a.hasLeadingSpaces && (a.prev ? a.prev.sourceSpan.end.line < a.sourceSpan.start.line : a.parent.type === "root" || a.parent.startSourceSpan.end.line < a.sourceSpan.start.line);
8988
9027
  }
8989
9028
  function il(a) {
9029
+ return a.hasTrailingSpaces && (a.next ? a.next.sourceSpan.start.line > a.sourceSpan.end.line : a.parent.type === "root" || a.parent.endSourceSpan && a.parent.endSourceSpan.start.line > a.sourceSpan.end.line);
9030
+ }
9031
+ function sl(a) {
8990
9032
  switch (a.type) {
8991
9033
  case "ieConditionalComment":
8992
9034
  case "comment":
@@ -9004,7 +9046,7 @@ Expected it to be ${p}.`;
9004
9046
  var s;
9005
9047
  return (s = a.children) == null ? void 0 : s.some((l) => l.type !== "text");
9006
9048
  }
9007
- function sl(a) {
9049
+ function ol(a) {
9008
9050
  if (a) switch (a) {
9009
9051
  case "module":
9010
9052
  case "text/javascript":
@@ -9027,21 +9069,21 @@ Expected it to be ${p}.`;
9027
9069
  let { name: l, attrMap: p } = a;
9028
9070
  if (l !== "script" || Object.prototype.hasOwnProperty.call(p, "src")) return;
9029
9071
  let { type: f, lang: y } = a.attrMap;
9030
- return !y && !f ? "babel" : Kn(s, { language: y }) ?? sl(f);
9072
+ return !y && !f ? "babel" : Kn(s, { language: y }) ?? ol(f);
9031
9073
  }
9032
9074
  function Gd(a, s) {
9033
9075
  if (!ns(a, s)) return;
9034
9076
  let { attrMap: l } = a;
9035
9077
  if (Object.prototype.hasOwnProperty.call(l, "src")) return;
9036
9078
  let { type: p, lang: f } = l;
9037
- return Kn(s, { language: f }) ?? sl(p);
9079
+ return Kn(s, { language: f }) ?? ol(p);
9038
9080
  }
9039
9081
  function Kd(a, s) {
9040
9082
  if (a.name !== "style") return;
9041
9083
  let { lang: l } = a.attrMap;
9042
9084
  return l ? Kn(s, { language: l }) : "css";
9043
9085
  }
9044
- function ol(a, s) {
9086
+ function ll(a, s) {
9045
9087
  return Yd(a, s) ?? Kd(a, s) ?? Gd(a, s);
9046
9088
  }
9047
9089
  function Br(a) {
@@ -9063,7 +9105,7 @@ Expected it to be ${p}.`;
9063
9105
  return !Br(a) && a !== "inline-block";
9064
9106
  }
9065
9107
  function Jn(a) {
9066
- return ll(a).startsWith("pre");
9108
+ return ul(a).startsWith("pre");
9067
9109
  }
9068
9110
  function th(a, s) {
9069
9111
  let l = a;
@@ -9092,7 +9134,7 @@ Expected it to be ${p}.`;
9092
9134
  return a.type === "element" && (!a.namespace || p || me(a)) && M[a.name] || w;
9093
9135
  }
9094
9136
  }
9095
- function ll(a) {
9137
+ function ul(a) {
9096
9138
  return a.type === "element" && (!a.namespace || me(a)) && Z[a.name] || H;
9097
9139
  }
9098
9140
  function rh(a) {
@@ -9106,16 +9148,16 @@ Expected it to be ${p}.`;
9106
9148
  }
9107
9149
  return s === Number.POSITIVE_INFINITY ? 0 : s;
9108
9150
  }
9109
- function ul(a, s = rh(a)) {
9151
+ function cl(a, s = rh(a)) {
9110
9152
  return s === 0 ? a : a.split(`
9111
9153
  `).map((l) => l.slice(s)).join(`
9112
9154
  `);
9113
9155
  }
9114
- function cl(a) {
9156
+ function pl(a) {
9115
9157
  return C(!1, C(!1, a, "&apos;", "'"), "&quot;", '"');
9116
9158
  }
9117
9159
  function dn(a) {
9118
- return cl(a.value);
9160
+ return pl(a.value);
9119
9161
  }
9120
9162
  var ah = /* @__PURE__ */ new Set(["template", "style", "script"]);
9121
9163
  function Ia(a, s) {
@@ -9137,16 +9179,16 @@ Expected it to be ${p}.`;
9137
9179
  let p = l.fullName, f = a.fullName;
9138
9180
  return p === "script" && f === "setup" || p === "style" && f === "vars";
9139
9181
  }
9140
- function pl(a, s = a.value) {
9141
- return a.parent.isWhitespaceSensitive ? a.parent.isIndentationSensitive ? ht(s) : ht(ul(ae(s)), Ce) : pn(ke, xt.split(s));
9182
+ function dl(a, s = a.value) {
9183
+ return a.parent.isWhitespaceSensitive ? a.parent.isIndentationSensitive ? ht(s) : ht(cl(ae(s)), Ce) : pn(ke, xt.split(s));
9142
9184
  }
9143
- function dl(a, s) {
9185
+ function hl(a, s) {
9144
9186
  return Xn(a, s) && a.name === "script";
9145
9187
  }
9146
- var hl = /\{\{(.+?)\}\}/su;
9188
+ var fl = /\{\{(.+?)\}\}/su;
9147
9189
  async function oh(a, s) {
9148
9190
  let l = [];
9149
- for (let [p, f] of a.split(hl).entries()) if (p % 2 === 0) l.push(ht(f));
9191
+ for (let [p, f] of a.split(fl).entries()) if (p % 2 === 0) l.push(ht(f));
9150
9192
  else try {
9151
9193
  l.push(ce(["{{", _e([ke, await wt(f, s, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), ke, "}}"]));
9152
9194
  } catch {
@@ -9165,8 +9207,8 @@ Expected it to be ${p}.`;
9165
9207
  if (p.startsWith("[") && p.endsWith("]") || /^bind(?:on)?-/u.test(p) || /^ng-(?:if|show|hide|class|style)$/u.test(p)) return uh;
9166
9208
  if (p.startsWith("*")) return ch;
9167
9209
  let f = dn(l);
9168
- if (/^i18n(?:-.+)?$/u.test(p)) return () => Cn(Dt(pl(l, f.trim())), !f.includes("@@"));
9169
- if (hl.test(f)) return (y) => oh(f, y);
9210
+ if (/^i18n(?:-.+)?$/u.test(p)) return () => Cn(Dt(dl(l, f.trim())), !f.includes("@@"));
9211
+ if (fl.test(f)) return (y) => oh(f, y);
9170
9212
  }
9171
9213
  var dh = ph;
9172
9214
  function hh(a, s) {
@@ -9174,11 +9216,11 @@ Expected it to be ${p}.`;
9174
9216
  if (l.fullName === "class" && !s.parentParser && !p.includes("{{")) return () => p.trim().split(/\s+/u).join(" ");
9175
9217
  }
9176
9218
  var fh = hh;
9177
- function fl(a) {
9219
+ function ml(a) {
9178
9220
  return a === " " || a === `
9179
9221
  ` || a === "\f" || a === "\r" || a === " ";
9180
9222
  }
9181
- var mh = /^[ \t\n\r\u000c]+/, gh = /^[, \t\n\r\u000c]+/, vh = /^[^ \t\n\r\u000c]+/, Dh = /[,]+$/, ml = /^\d+$/, yh = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
9223
+ var mh = /^[ \t\n\r\u000c]+/, gh = /^[, \t\n\r\u000c]+/, vh = /^[^ \t\n\r\u000c]+/, Dh = /[,]+$/, gl = /^\d+$/, yh = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
9182
9224
  function bh(a) {
9183
9225
  let s = a.length, l, p, f, y, E, B = 0, R;
9184
9226
  function Y(le) {
@@ -9195,7 +9237,7 @@ Expected it to be ${p}.`;
9195
9237
  }
9196
9238
  function De() {
9197
9239
  for (Y(mh), f = "", y = "in descriptor"; ; ) {
9198
- if (E = a.charAt(B), y === "in descriptor") if (fl(E)) f && (p.push(f), f = "", y = "after descriptor");
9240
+ if (E = a.charAt(B), y === "in descriptor") if (ml(E)) f && (p.push(f), f = "", y = "after descriptor");
9199
9241
  else if (E === ",") {
9200
9242
  B += 1, f && p.push(f), fe();
9201
9243
  return;
@@ -9209,7 +9251,7 @@ Expected it to be ${p}.`;
9209
9251
  p.push(f), fe();
9210
9252
  return;
9211
9253
  } else f += E;
9212
- else if (y === "after descriptor" && !fl(E)) if (E === "") {
9254
+ else if (y === "after descriptor" && !ml(E)) if (E === "") {
9213
9255
  fe();
9214
9256
  return;
9215
9257
  } else y = "in descriptor", B -= 1;
@@ -9218,7 +9260,7 @@ Expected it to be ${p}.`;
9218
9260
  }
9219
9261
  function fe() {
9220
9262
  let le = !1, Se, Ue, Ze, st, z = {}, ue, We, Me, lt, tr;
9221
- for (st = 0; st < p.length; st++) ue = p[st], We = ue[ue.length - 1], Me = ue.substring(0, ue.length - 1), lt = parseInt(Me, 10), tr = parseFloat(Me), ml.test(Me) && We === "w" ? ((Se || Ue) && (le = !0), lt === 0 ? le = !0 : Se = lt) : yh.test(Me) && We === "x" ? ((Se || Ue || Ze) && (le = !0), tr < 0 ? le = !0 : Ue = tr) : ml.test(Me) && We === "h" ? ((Ze || Ue) && (le = !0), lt === 0 ? le = !0 : Ze = lt) : le = !0;
9263
+ for (st = 0; st < p.length; st++) ue = p[st], We = ue[ue.length - 1], Me = ue.substring(0, ue.length - 1), lt = parseInt(Me, 10), tr = parseFloat(Me), gl.test(Me) && We === "w" ? ((Se || Ue) && (le = !0), lt === 0 ? le = !0 : Se = lt) : yh.test(Me) && We === "x" ? ((Se || Ue || Ze) && (le = !0), tr < 0 ? le = !0 : Ue = tr) : gl.test(Me) && We === "h" ? ((Ze || Ue) && (le = !0), lt === 0 ? le = !0 : Ze = lt) : le = !0;
9222
9264
  if (!le) z.source = { value: l, startOffset: R }, Se && (z.width = { value: Se }), Ue && (z.density = { value: Ue }), Ze && (z.height = { value: Ze }), U.push(z);
9223
9265
  else throw new Error(`Invalid srcset descriptor found in "${a}" at "${ue}".`);
9224
9266
  }
@@ -9227,11 +9269,11 @@ Expected it to be ${p}.`;
9227
9269
  function wh(a) {
9228
9270
  if (a.node.fullName === "srcset" && (a.parent.fullName === "img" || a.parent.fullName === "source")) return () => xh(dn(a.node));
9229
9271
  }
9230
- var gl = { width: "w", height: "h", density: "x" }, Ch = Object.keys(gl);
9272
+ var vl = { width: "w", height: "h", density: "x" }, Ch = Object.keys(vl);
9231
9273
  function xh(a) {
9232
9274
  let s = kh(a), l = Ch.filter((U) => s.some((De) => Object.prototype.hasOwnProperty.call(De, U)));
9233
9275
  if (l.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
9234
- let [p] = l, f = gl[p], y = s.map((U) => U.source.value), E = Math.max(...y.map((U) => U.length)), B = s.map((U) => U[p] ? String(U[p].value) : ""), R = B.map((U) => {
9276
+ let [p] = l, f = vl[p], y = s.map((U) => U.source.value), E = Math.max(...y.map((U) => U.length)), B = s.map((U) => U[p] ? String(U[p].value) : ""), R = B.map((U) => {
9235
9277
  let De = U.indexOf(".");
9236
9278
  return De === -1 ? U.length : De;
9237
9279
  }), Y = Math.max(...R);
@@ -9252,7 +9294,7 @@ Expected it to be ${p}.`;
9252
9294
  var as = /* @__PURE__ */ new WeakMap();
9253
9295
  function Eh(a, s) {
9254
9296
  let { root: l } = a;
9255
- return as.has(l) || as.set(l, l.children.some((p) => dl(p, s) && ["ts", "typescript"].includes(p.attrMap.lang))), as.get(l);
9297
+ return as.has(l) || as.set(l, l.children.some((p) => hl(p, s) && ["ts", "typescript"].includes(p.attrMap.lang))), as.get(l);
9256
9298
  }
9257
9299
  var is = Eh;
9258
9300
  function Fh(a, s, l) {
@@ -9284,20 +9326,20 @@ Expected it to be ${p}.`;
9284
9326
  if (s.parser !== "vue") return;
9285
9327
  let { node: l } = a, p = l.fullName;
9286
9328
  if (p === "v-for") return Th;
9287
- if (p === "generic" && dl(l.parent, s)) return Fh;
9329
+ if (p === "generic" && hl(l.parent, s)) return Fh;
9288
9330
  let f = dn(l), y = is(a, s);
9289
9331
  if (ih(l) || sh(l, s)) return (E) => Ah(f, E, { parseWithTs: y });
9290
9332
  if (p.startsWith("@") || p.startsWith("v-on:")) return (E) => jh(f, E, { parseWithTs: y });
9291
9333
  if (p.startsWith(":") || p.startsWith("v-bind:")) return (E) => Ph(f, E, { parseWithTs: y });
9292
- if (p.startsWith("v-")) return (E) => vl(f, E, { parseWithTs: y });
9334
+ if (p.startsWith("v-")) return (E) => Dl(f, E, { parseWithTs: y });
9293
9335
  }
9294
9336
  function jh(a, s, { parseWithTs: l }) {
9295
- return $h(a) ? vl(a, s, { parseWithTs: l }) : wt(a, s, { parser: l ? "__vue_ts_event_binding" : "__vue_event_binding" }, Yt);
9337
+ return $h(a) ? Dl(a, s, { parseWithTs: l }) : wt(a, s, { parser: l ? "__vue_ts_event_binding" : "__vue_event_binding" }, Yt);
9296
9338
  }
9297
9339
  function Ph(a, s, { parseWithTs: l }) {
9298
9340
  return wt(a, s, { parser: l ? "__vue_ts_expression" : "__vue_expression" }, Yt);
9299
9341
  }
9300
- function vl(a, s, { parseWithTs: l }) {
9342
+ function Dl(a, s, { parseWithTs: l }) {
9301
9343
  return wt(a, s, { parser: l ? "__ts_expression" : "__js_expression" }, Yt);
9302
9344
  }
9303
9345
  var Lh = Nh;
@@ -9317,8 +9359,8 @@ Expected it to be ${p}.`;
9317
9359
  if (y) return y = _r(y, (E) => typeof E == "string" ? C(!1, E, '"', "&quot;") : E), [p.node.rawName, '="', ce(y), '"'];
9318
9360
  };
9319
9361
  }
9320
- var Mh = Oh, Dl = new Proxy(() => {
9321
- }, { get: () => Dl }), yl = Dl;
9362
+ var Mh = Oh, yl = new Proxy(() => {
9363
+ }, { get: () => yl }), bl = yl;
9322
9364
  function Rh(a) {
9323
9365
  return Array.isArray(a) && a.length > 0;
9324
9366
  }
@@ -9345,7 +9387,7 @@ Expected it to be ${p}.`;
9345
9387
  return Lr(a) ? ls(a.parent, s) : qa(a) ? cs(a.next) : "";
9346
9388
  }
9347
9389
  function ls(a, s) {
9348
- if (yl(!a.isSelfClosing), bl(a, s)) return "";
9390
+ if (bl(!a.isSelfClosing), kl(a, s)) return "";
9349
9391
  switch (a.type) {
9350
9392
  case "ieConditionalComment":
9351
9393
  return "<!";
@@ -9356,7 +9398,7 @@ Expected it to be ${p}.`;
9356
9398
  }
9357
9399
  }
9358
9400
  function jr(a, s) {
9359
- if (bl(a, s)) return "";
9401
+ if (kl(a, s)) return "";
9360
9402
  switch (a.type) {
9361
9403
  case "ieConditionalComment":
9362
9404
  case "ieConditionalEndComment":
@@ -9373,7 +9415,7 @@ Expected it to be ${p}.`;
9373
9415
  return ">";
9374
9416
  }
9375
9417
  }
9376
- function bl(a, s) {
9418
+ function kl(a, s) {
9377
9419
  return !a.isSelfClosing && !a.endSourceSpan && (Fe(a) || Te(a.parent, s));
9378
9420
  }
9379
9421
  function _n(a) {
@@ -9436,7 +9478,7 @@ Expected it to be ${p}.`;
9436
9478
  }
9437
9479
  }
9438
9480
  function ps(a) {
9439
- switch (yl(!a.isSelfClosing), a.type) {
9481
+ switch (bl(!a.isSelfClosing), a.type) {
9440
9482
  case "ieConditionalComment":
9441
9483
  return "]>";
9442
9484
  case "element":
@@ -9452,25 +9494,25 @@ Expected it to be ${p}.`;
9452
9494
  let p = a.endSourceSpan.start.offset;
9453
9495
  return a.lastChild && Lr(a.lastChild) ? p += ls(a, s).length : Pr(a) && (p -= jr(a.lastChild, s).length), s.originalText.slice(l, p);
9454
9496
  }
9455
- var kl = Vh, Yh = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
9497
+ var wl = Vh, Yh = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
9456
9498
  function Gh(a, s) {
9457
9499
  let { node: l } = a;
9458
9500
  switch (l.type) {
9459
9501
  case "element":
9460
9502
  if (Qe(l) || l.type === "interpolation") return;
9461
9503
  if (!l.isSelfClosing && ns(l, s)) {
9462
- let p = ol(l, s);
9504
+ let p = ll(l, s);
9463
9505
  return p ? async (f, y) => {
9464
- let E = kl(l, s), B = /^\s*$/u.test(E), R = "";
9506
+ let E = wl(l, s), B = /^\s*$/u.test(E), R = "";
9465
9507
  return B || (R = await f(ae(E), { parser: p, __embeddedInHtml: !0 }), B = R === ""), [Sn(l, s), ce(us(a, s, y)), B ? "" : Ce, R, B ? "" : Ce, os(l, s), xn(l, s)];
9466
9508
  } : void 0;
9467
9509
  }
9468
9510
  break;
9469
9511
  case "text":
9470
9512
  if (Qe(l.parent)) {
9471
- let p = ol(l.parent, s);
9513
+ let p = ll(l.parent, s);
9472
9514
  if (p) return async (f) => {
9473
- let y = p === "markdown" ? ul(l.value.replace(/^[^\S\n]*\n/u, "")) : l.value, E = { parser: p, __embeddedInHtml: !0 };
9515
+ let y = p === "markdown" ? cl(l.value.replace(/^[^\S\n]*\n/u, "")) : l.value, E = { parser: p, __embeddedInHtml: !0 };
9474
9516
  if (s.parser === "html" && p === "babel") {
9475
9517
  let B = "script", { attrMap: R } = l.parent;
9476
9518
  R && (R.type === "module" || R.type === "text/babel" && R["data-type"] === "module") && (B = "module"), E.__babelSourceType = B;
@@ -9524,14 +9566,14 @@ Expected it to be ${p}.`;
9524
9566
  ` + a;
9525
9567
  }
9526
9568
  var of = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
9527
- function wl(a) {
9569
+ function Cl(a) {
9528
9570
  let s = Ra(a);
9529
- return a.type === "element" && !a.endSourceSpan && ss(a.children) ? Math.max(s, wl(Vt(!1, a.children, -1))) : s;
9571
+ return a.type === "element" && !a.endSourceSpan && ss(a.children) ? Math.max(s, Cl(Vt(!1, a.children, -1))) : s;
9530
9572
  }
9531
9573
  function Rr(a, s, l) {
9532
9574
  let p = a.node;
9533
9575
  if (Fe(p)) {
9534
- let f = wl(p);
9576
+ let f = Cl(p);
9535
9577
  return [Sn(p, s), ht(xt.trimEnd(s.originalText.slice(Ma(p) + (p.prev && qa(p.prev) ? cs(p).length : 0), f - (p.next && _n(p.next) ? jr(p, s).length : 0)))), xn(p, s)];
9536
9578
  }
9537
9579
  return l();
@@ -9541,7 +9583,7 @@ Expected it to be ${p}.`;
9541
9583
  }
9542
9584
  function ds(a, s, l) {
9543
9585
  let { node: p } = a;
9544
- if (tl(p)) return [bt, ...a.map((y) => {
9586
+ if (nl(p)) return [bt, ...a.map((y) => {
9545
9587
  let E = y.node, B = E.prev ? Ua(E.prev, E) : "";
9546
9588
  return [B ? [B, Oa(E.prev) ? Ce : ""] : "", Rr(y, s, l)];
9547
9589
  }, "children")];
@@ -9562,16 +9604,16 @@ Expected it to be ${p}.`;
9562
9604
  function lf(a, s, l) {
9563
9605
  let { node: p } = a, f = [];
9564
9606
  uf(a) && f.push("} "), f.push("@", p.name), p.parameters && f.push(" (", ce(l("parameters")), ")"), f.push(" {");
9565
- let y = Cl(p);
9607
+ let y = xl(p);
9566
9608
  return p.children.length > 0 ? (p.firstChild.hasLeadingSpaces = !0, p.lastChild.hasTrailingSpaces = !0, f.push(_e([Ce, ds(a, s, l)])), y && f.push(Ce, "}")) : y && f.push("}"), ce(f, { shouldBreak: !0 });
9567
9609
  }
9568
- function Cl(a) {
9610
+ function xl(a) {
9569
9611
  var s, l;
9570
9612
  return !(((s = a.next) == null ? void 0 : s.type) === "angularControlFlowBlock" && (l = of.get(a.name)) != null && l.has(a.next.name));
9571
9613
  }
9572
9614
  function uf(a) {
9573
9615
  let { previous: s } = a;
9574
- return (s == null ? void 0 : s.type) === "angularControlFlowBlock" && !Fe(s) && !Cl(s);
9616
+ return (s == null ? void 0 : s.type) === "angularControlFlowBlock" && !Fe(s) && !xl(s);
9575
9617
  }
9576
9618
  function cf(a, s, l) {
9577
9619
  return [_e([je, pn([";", ke], a.map(l, "children"))]), je];
@@ -9586,7 +9628,7 @@ Expected it to be ${p}.`;
9586
9628
  }
9587
9629
  function hf(a, s, l) {
9588
9630
  let { node: p } = a;
9589
- if (Te(p, s)) return [Sn(p, s), ce(us(a, s, l)), ht(kl(p, s)), ...os(p, s), xn(p, s)];
9631
+ if (Te(p, s)) return [Sn(p, s), ce(us(a, s, l)), ht(wl(p, s)), ...os(p, s), xn(p, s)];
9590
9632
  let f = p.children.length === 1 && (p.firstChild.type === "interpolation" || p.firstChild.type === "angularIcuExpression") && p.firstChild.isLeadingSpaceSensitive && !p.firstChild.hasLeadingSpaces && p.lastChild.isTrailingSpaceSensitive && !p.lastChild.hasTrailingSpaces, y = Symbol("element-attr-group-id"), E = (U) => ce([ce(us(a, s, l), { id: y }), U, os(p, s)]), B = (U) => f ? cn(U, { groupId: y }) : (Qe(p) || Ia(p, s)) && p.parent.type === "root" && s.parser === "vue" && !s.vueIndentScriptAndStyle ? U : _e(U), R = () => f ? yt(je, "", { groupId: y }) : p.firstChild.hasLeadingSpaces && p.firstChild.isLeadingSpaceSensitive ? ke : p.firstChild.type === "text" && p.isWhitespaceSensitive && p.isIndentationSensitive ? dt(je) : je, Y = () => (p.next ? _n(p.next) : Pr(p.parent)) ? p.lastChild.hasTrailingSpaces && p.lastChild.isTrailingSpaceSensitive ? " " : "" : f ? yt(je, "", { groupId: y }) : p.lastChild.hasTrailingSpaces && p.lastChild.isTrailingSpaceSensitive ? ke : (p.lastChild.type === "comment" || p.lastChild.type === "text" && p.isWhitespaceSensitive && p.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${s.tabWidth * (a.ancestors.length - 1)}}$`, "u").test(p.lastChild.value) ? "" : je;
9591
9633
  return p.children.length === 0 ? E(p.hasDanglingSpaces && p.isDanglingSpaceSensitive ? ke : "") : E([Wd(p) ? bt : "", B([R(), ds(a, s, l)]), Y()]);
9592
9634
  }
@@ -9605,7 +9647,7 @@ Expected it to be ${p}.`;
9605
9647
  function fs(a) {
9606
9648
  return a === 10 || a === 13;
9607
9649
  }
9608
- function xl(a) {
9650
+ function _l(a) {
9609
9651
  return 48 <= a && a <= 55;
9610
9652
  }
9611
9653
  function ms(a) {
@@ -9649,7 +9691,7 @@ Expected it to be ${p}.`;
9649
9691
  }
9650
9692
  return null;
9651
9693
  }
9652
- }, _l = class {
9694
+ }, Sl = class {
9653
9695
  constructor(a, s) {
9654
9696
  this.content = a, this.url = s;
9655
9697
  }
@@ -9664,7 +9706,7 @@ Expected it to be ${p}.`;
9664
9706
  (function(a) {
9665
9707
  a[a.WARNING = 0] = "WARNING", a[a.ERROR = 1] = "ERROR";
9666
9708
  })(Va || (Va = {}));
9667
- var Sl = class {
9709
+ var El = class {
9668
9710
  constructor(a, s, l = Va.ERROR) {
9669
9711
  this.span = a, this.msg = s, this.level = l;
9670
9712
  }
@@ -9836,7 +9878,7 @@ Expected it to be ${p}.`;
9836
9878
  let y = /\n[^\S\n]*$/u, E = y.test(p.value), B = E ? p.value.replace(y, "") : p.value;
9837
9879
  return [ht(B), E ? Ce : ""];
9838
9880
  }
9839
- let f = Ea([Sn(p, s), ...pl(p), xn(p, s)]);
9881
+ let f = Ea([Sn(p, s), ...dl(p), xn(p, s)]);
9840
9882
  return Array.isArray(f) ? Dt(f) : f;
9841
9883
  }
9842
9884
  case "docType":
@@ -9845,7 +9887,7 @@ Expected it to be ${p}.`;
9845
9887
  return [Sn(p, s), ht(s.originalText.slice(Ma(p), Ra(p))), xn(p, s)];
9846
9888
  case "attribute": {
9847
9889
  if (p.value === null) return p.rawName;
9848
- let f = cl(p.value), y = $a(f, '"');
9890
+ let f = pl(p.value), y = $a(f, '"');
9849
9891
  return [p.rawName, "=", y, ht(y === '"' ? C(!1, f, '"', "&quot;") : C(!1, f, "'", "&apos;")), y];
9850
9892
  }
9851
9893
  case "cdata":
@@ -9853,28 +9895,28 @@ Expected it to be ${p}.`;
9853
9895
  throw new Er(p, "HTML");
9854
9896
  }
9855
9897
  }
9856
- var Bf = { preprocess: $f, print: Tf, insertPragma: sf, massageAstNode: Gi, embed: Kh, getVisitorKeys: rf }, Nf = Bf, jf = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], El = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, Fl = "HTML", Pf = { bracketSameLine: El.bracketSameLine, htmlWhitespaceSensitivity: { category: Fl, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: El.singleAttributePerLine, vueIndentScriptAndStyle: { category: Fl, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, Lf = Pf, Al = {};
9857
- c(Al, { angular: () => Mm, html: () => Im, lwc: () => qm, vue: () => Rm });
9858
- var $l;
9859
- (function(a) {
9860
- a[a.Emulated = 0] = "Emulated", a[a.None = 2] = "None", a[a.ShadowDom = 3] = "ShadowDom";
9861
- })($l || ($l = {}));
9898
+ var Bf = { preprocess: $f, print: Tf, insertPragma: sf, massageAstNode: Gi, embed: Kh, getVisitorKeys: rf }, Nf = Bf, jf = [{ linguistLanguageId: 146, name: "Angular", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".component.html"], parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 146, name: "HTML", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml", ".mjml"], parsers: ["html"], vscodeLanguageIds: ["html"] }, { linguistLanguageId: 146, name: "Lightning Web Components", type: "markup", tmScope: "text.html.basic", aceMode: "html", codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", color: "#e34c26", aliases: ["xhtml"], extensions: [], parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [] }, { linguistLanguageId: 391, name: "Vue", type: "markup", color: "#41b883", extensions: [".vue"], tmScope: "text.html.vue", aceMode: "html", parsers: ["vue"], vscodeLanguageIds: ["vue"] }], Fl = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, Al = "HTML", Pf = { bracketSameLine: Fl.bracketSameLine, htmlWhitespaceSensitivity: { category: Al, type: "choice", default: "css", description: "How to handle whitespaces in HTML.", choices: [{ value: "css", description: "Respect the default value of CSS display property." }, { value: "strict", description: "Whitespaces are considered sensitive." }, { value: "ignore", description: "Whitespaces are considered insensitive." }] }, singleAttributePerLine: Fl.singleAttributePerLine, vueIndentScriptAndStyle: { category: Al, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, Lf = Pf, $l = {};
9899
+ c($l, { angular: () => Mm, html: () => Im, lwc: () => qm, vue: () => Rm });
9862
9900
  var Tl;
9863
9901
  (function(a) {
9864
- a[a.OnPush = 0] = "OnPush", a[a.Default = 1] = "Default";
9902
+ a[a.Emulated = 0] = "Emulated", a[a.None = 2] = "None", a[a.ShadowDom = 3] = "ShadowDom";
9865
9903
  })(Tl || (Tl = {}));
9866
9904
  var Bl;
9867
9905
  (function(a) {
9868
- a[a.None = 0] = "None", a[a.SignalBased = 1] = "SignalBased", a[a.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
9906
+ a[a.OnPush = 0] = "OnPush", a[a.Default = 1] = "Default";
9869
9907
  })(Bl || (Bl = {}));
9870
- var Nl = { name: "custom-elements" }, jl = { name: "no-errors-schema" }, En;
9908
+ var Nl;
9909
+ (function(a) {
9910
+ a[a.None = 0] = "None", a[a.SignalBased = 1] = "SignalBased", a[a.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
9911
+ })(Nl || (Nl = {}));
9912
+ var jl = { name: "custom-elements" }, Pl = { name: "no-errors-schema" }, En;
9871
9913
  (function(a) {
9872
9914
  a[a.NONE = 0] = "NONE", a[a.HTML = 1] = "HTML", a[a.STYLE = 2] = "STYLE", a[a.SCRIPT = 3] = "SCRIPT", a[a.URL = 4] = "URL", a[a.RESOURCE_URL = 5] = "RESOURCE_URL";
9873
9915
  })(En || (En = {}));
9874
- var Pl;
9916
+ var Ll;
9875
9917
  (function(a) {
9876
9918
  a[a.Error = 0] = "Error", a[a.Warning = 1] = "Warning", a[a.Ignore = 2] = "Ignore";
9877
- })(Pl || (Pl = {}));
9919
+ })(Ll || (Ll = {}));
9878
9920
  var Bt;
9879
9921
  (function(a) {
9880
9922
  a[a.RAW_TEXT = 0] = "RAW_TEXT", a[a.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", a[a.PARSABLE_DATA = 2] = "PARSABLE_DATA";
@@ -9888,10 +9930,10 @@ Expected it to be ${p}.`;
9888
9930
  }
9889
9931
  return [a.slice(1, l), a.slice(l + 1)];
9890
9932
  }
9891
- function Ll(a) {
9933
+ function Ol(a) {
9892
9934
  return Ya(a)[1] === "ng-container";
9893
9935
  }
9894
- function Ol(a) {
9936
+ function Il(a) {
9895
9937
  return Ya(a)[1] === "ng-content";
9896
9938
  }
9897
9939
  function Ga(a) {
@@ -9901,14 +9943,14 @@ Expected it to be ${p}.`;
9901
9943
  return a ? `:${a}:${s}` : s;
9902
9944
  }
9903
9945
  var Ja;
9904
- function Il() {
9946
+ function Ml() {
9905
9947
  return Ja || (Ja = {}, Xa(En.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Xa(En.STYLE, ["*|style"]), Xa(En.URL, ["*|formAction", "area|href", "area|ping", "audio|src", "a|href", "a|ping", "blockquote|cite", "body|background", "del|cite", "form|action", "img|src", "input|src", "ins|cite", "q|cite", "source|src", "track|src", "video|poster", "video|src"]), Xa(En.RESOURCE_URL, ["applet|code", "applet|codebase", "base|href", "embed|src", "frame|src", "head|profile", "html|manifest", "iframe|src", "link|href", "media|src", "object|codebase", "object|data", "script|src"])), Ja;
9906
9948
  }
9907
9949
  function Xa(a, s) {
9908
9950
  for (let l of s) Ja[l.toLowerCase()] = a;
9909
9951
  }
9910
9952
  var Of = class {
9911
- }, If = "boolean", Mf = "number", Rf = "string", qf = "object", Hf = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Ml = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Uf = Array.from(Ml).reduce((a, [s, l]) => (a.set(s, l), a), /* @__PURE__ */ new Map()), Wf = class extends Of {
9953
+ }, If = "boolean", Mf = "number", Rf = "string", qf = "object", Hf = ["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "hr^[HTMLElement]|align,color,!noShade,size,width", "head^[HTMLElement]|", "h1,h2,h3,h4,h5,h6^[HTMLElement]|align", "html^[HTMLElement]|version", "iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width", "img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width", "input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width", "li^[HTMLElement]|type,#value", "label^[HTMLElement]|htmlFor", "legend^[HTMLElement]|align", "link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type", "map^[HTMLElement]|name", "marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width", "menu^[HTMLElement]|!compact", "meta^[HTMLElement]|content,httpEquiv,media,name,scheme", "meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value", "ins,del^[HTMLElement]|cite,dateTime", "ol^[HTMLElement]|!compact,!reversed,#start,type", "object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width", "optgroup^[HTMLElement]|!disabled,label", "option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value", "output^[HTMLElement]|defaultValue,%htmlFor,name,value", "p^[HTMLElement]|align", "param^[HTMLElement]|name,type,value,valueType", "picture^[HTMLElement]|", "pre^[HTMLElement]|#width", "progress^[HTMLElement]|#max,#value", "q,blockquote,cite^[HTMLElement]|", "script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type", "select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], Rl = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Uf = Array.from(Rl).reduce((a, [s, l]) => (a.set(s, l), a), /* @__PURE__ */ new Map()), Wf = class extends Of {
9912
9954
  constructor() {
9913
9955
  super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), Hf.forEach((a) => {
9914
9956
  let s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Set(), [p, f] = a.split("|"), y = f.split(","), [E, B] = p.split("^");
@@ -9941,23 +9983,23 @@ Expected it to be ${p}.`;
9941
9983
  });
9942
9984
  }
9943
9985
  hasProperty(a, s, l) {
9944
- if (l.some((p) => p.name === jl.name)) return !0;
9986
+ if (l.some((p) => p.name === Pl.name)) return !0;
9945
9987
  if (a.indexOf("-") > -1) {
9946
- if (Ll(a) || Ol(a)) return !1;
9947
- if (l.some((p) => p.name === Nl.name)) return !0;
9988
+ if (Ol(a) || Il(a)) return !1;
9989
+ if (l.some((p) => p.name === jl.name)) return !0;
9948
9990
  }
9949
9991
  return (this._schema.get(a.toLowerCase()) || this._schema.get("unknown")).has(s);
9950
9992
  }
9951
9993
  hasElement(a, s) {
9952
- return s.some((l) => l.name === jl.name) || a.indexOf("-") > -1 && (Ll(a) || Ol(a) || s.some((l) => l.name === Nl.name)) ? !0 : this._schema.has(a.toLowerCase());
9994
+ return s.some((l) => l.name === Pl.name) || a.indexOf("-") > -1 && (Ol(a) || Il(a) || s.some((l) => l.name === jl.name)) ? !0 : this._schema.has(a.toLowerCase());
9953
9995
  }
9954
9996
  securityContext(a, s, l) {
9955
9997
  l && (s = this.getMappedPropName(s)), a = a.toLowerCase(), s = s.toLowerCase();
9956
- let p = Il()[a + "|" + s];
9957
- return p || (p = Il()["*|" + s], p || En.NONE);
9998
+ let p = Ml()[a + "|" + s];
9999
+ return p || (p = Ml()["*|" + s], p || En.NONE);
9958
10000
  }
9959
10001
  getMappedPropName(a) {
9960
- return Ml.get(a) ?? a;
10002
+ return Rl.get(a) ?? a;
9961
10003
  }
9962
10004
  getDefaultComponentElementName() {
9963
10005
  return "ng-component";
@@ -10037,11 +10079,11 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10037
10079
  getContentType(a) {
10038
10080
  return typeof this.contentType == "object" ? (a === void 0 ? void 0 : this.contentType[a]) ?? this.contentType.default : this.contentType;
10039
10081
  }
10040
- }, Rl, qr;
10082
+ }, ql, qr;
10041
10083
  function vs(a) {
10042
- return qr || (Rl = new ne({ canSelfClose: !0 }), qr = Object.assign(/* @__PURE__ */ Object.create(null), { base: new ne({ isVoid: !0 }), meta: new ne({ isVoid: !0 }), area: new ne({ isVoid: !0 }), embed: new ne({ isVoid: !0 }), link: new ne({ isVoid: !0 }), img: new ne({ isVoid: !0 }), input: new ne({ isVoid: !0 }), param: new ne({ isVoid: !0 }), hr: new ne({ isVoid: !0 }), br: new ne({ isVoid: !0 }), source: new ne({ isVoid: !0 }), track: new ne({ isVoid: !0 }), wbr: new ne({ isVoid: !0 }), p: new ne({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new ne({ closedByChildren: ["tbody", "tfoot"] }), tbody: new ne({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new ne({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new ne({ closedByChildren: ["tr"], closedByParent: !0 }), td: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new ne({ isVoid: !0 }), svg: new ne({ implicitNamespacePrefix: "svg" }), foreignObject: new ne({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new ne({ implicitNamespacePrefix: "math" }), li: new ne({ closedByChildren: ["li"], closedByParent: !0 }), dt: new ne({ closedByChildren: ["dt", "dd"] }), dd: new ne({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new ne({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new ne({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new ne({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new ne({ ignoreFirstLf: !0 }), listing: new ne({ ignoreFirstLf: !0 }), style: new ne({ contentType: Bt.RAW_TEXT }), script: new ne({ contentType: Bt.RAW_TEXT }), title: new ne({ contentType: { default: Bt.ESCAPABLE_RAW_TEXT, svg: Bt.PARSABLE_DATA } }), textarea: new ne({ contentType: Bt.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Wf().allKnownElementNames().forEach((s) => {
10084
+ return qr || (ql = new ne({ canSelfClose: !0 }), qr = Object.assign(/* @__PURE__ */ Object.create(null), { base: new ne({ isVoid: !0 }), meta: new ne({ isVoid: !0 }), area: new ne({ isVoid: !0 }), embed: new ne({ isVoid: !0 }), link: new ne({ isVoid: !0 }), img: new ne({ isVoid: !0 }), input: new ne({ isVoid: !0 }), param: new ne({ isVoid: !0 }), hr: new ne({ isVoid: !0 }), br: new ne({ isVoid: !0 }), source: new ne({ isVoid: !0 }), track: new ne({ isVoid: !0 }), wbr: new ne({ isVoid: !0 }), p: new ne({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new ne({ closedByChildren: ["tbody", "tfoot"] }), tbody: new ne({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new ne({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new ne({ closedByChildren: ["tr"], closedByParent: !0 }), td: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new ne({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new ne({ isVoid: !0 }), svg: new ne({ implicitNamespacePrefix: "svg" }), foreignObject: new ne({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new ne({ implicitNamespacePrefix: "math" }), li: new ne({ closedByChildren: ["li"], closedByParent: !0 }), dt: new ne({ closedByChildren: ["dt", "dd"] }), dd: new ne({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new ne({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new ne({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new ne({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new ne({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new ne({ ignoreFirstLf: !0 }), listing: new ne({ ignoreFirstLf: !0 }), style: new ne({ contentType: Bt.RAW_TEXT }), script: new ne({ contentType: Bt.RAW_TEXT }), title: new ne({ contentType: { default: Bt.ESCAPABLE_RAW_TEXT, svg: Bt.PARSABLE_DATA } }), textarea: new ne({ contentType: Bt.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Wf().allKnownElementNames().forEach((s) => {
10043
10085
  !qr[s] && Ga(s) === null && (qr[s] = new ne({ canSelfClose: !1 }));
10044
- })), qr[a] ?? Rl;
10086
+ })), qr[a] ?? ql;
10045
10087
  }
10046
10088
  var Qn = class {
10047
10089
  constructor(a, s) {
@@ -10113,14 +10155,14 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10113
10155
  visit(a, s) {
10114
10156
  return a.visitBlock(this, s);
10115
10157
  }
10116
- }, ql = class {
10158
+ }, Hl = class {
10117
10159
  constructor(a, s) {
10118
10160
  this.expression = a, this.sourceSpan = s, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
10119
10161
  }
10120
10162
  visit(a, s) {
10121
10163
  return a.visitBlockParameter(this, s);
10122
10164
  }
10123
- }, Hl = class {
10165
+ }, Ul = class {
10124
10166
  constructor(a, s, l, p, f) {
10125
10167
  this.name = a, this.value = s, this.sourceSpan = l, this.nameSpan = p, this.valueSpan = f, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
10126
10168
  }
@@ -10128,7 +10170,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10128
10170
  return a.visitLetDeclaration(this, s);
10129
10171
  }
10130
10172
  };
10131
- function Ul(a, s, l = null) {
10173
+ function Wl(a, s, l = null) {
10132
10174
  let p = [], f = a.visit ? (y) => a.visit(y, l) || y.visit(a, l) : (y) => y.visit(a, l);
10133
10175
  return s.forEach((y) => {
10134
10176
  let E = f(y);
@@ -10172,7 +10214,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10172
10214
  visitChildren(a, s) {
10173
10215
  let l = [], p = this;
10174
10216
  function f(y) {
10175
- y && l.push(Ul(p, y, a));
10217
+ y && l.push(Wl(p, y, a));
10176
10218
  }
10177
10219
  return s(f), Array.prototype.concat.apply([], l);
10178
10220
  }
@@ -10191,12 +10233,12 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10191
10233
  }
10192
10234
  var rm = class cd {
10193
10235
  static fromArray(s) {
10194
- return s ? (nm("interpolation", s), new cd(s[0], s[1])) : Wl;
10236
+ return s ? (nm("interpolation", s), new cd(s[0], s[1])) : zl;
10195
10237
  }
10196
10238
  constructor(s, l) {
10197
10239
  this.start = s, this.end = l;
10198
10240
  }
10199
- }, Wl = new rm("{{", "}}"), Ds = class extends Sl {
10241
+ }, zl = new rm("{{", "}}"), Ds = class extends El {
10200
10242
  constructor(a, s, l) {
10201
10243
  super(l, a), this.tokenType = s;
10202
10244
  }
@@ -10206,14 +10248,14 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10206
10248
  }
10207
10249
  };
10208
10250
  function im(a, s, l, p = {}) {
10209
- let f = new lm(new _l(a, s), l, p);
10251
+ let f = new lm(new Sl(a, s), l, p);
10210
10252
  return f.tokenize(), new am(fm(f.tokens), f.errors, f.nonNormalizedIcuExpressions);
10211
10253
  }
10212
10254
  var sm = /\r\n?/g;
10213
10255
  function er(a) {
10214
10256
  return `Unexpected character "${a === 0 ? "EOF" : String.fromCharCode(a)}"`;
10215
10257
  }
10216
- function zl(a) {
10258
+ function Vl(a) {
10217
10259
  return `Unknown entity "${a}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
10218
10260
  }
10219
10261
  function om(a, s) {
@@ -10229,9 +10271,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10229
10271
  }
10230
10272
  }, lm = class {
10231
10273
  constructor(a, s, l) {
10232
- this._getTagContentType = s, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = l.tokenizeExpansionForms || !1, this._interpolationConfig = l.interpolationConfig || Wl, this._leadingTriviaCodePoints = l.leadingTriviaChars && l.leadingTriviaChars.map((f) => f.codePointAt(0) || 0), this._canSelfClose = l.canSelfClose || !1, this._allowHtmComponentClosingTags = l.allowHtmComponentClosingTags || !1;
10274
+ this._getTagContentType = s, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = l.tokenizeExpansionForms || !1, this._interpolationConfig = l.interpolationConfig || zl, this._leadingTriviaCodePoints = l.leadingTriviaChars && l.leadingTriviaChars.map((f) => f.codePointAt(0) || 0), this._canSelfClose = l.canSelfClose || !1, this._allowHtmComponentClosingTags = l.allowHtmComponentClosingTags || !1;
10233
10275
  let p = l.range || { endPos: a.content.length, startPos: 0, startLine: 0, startCol: 0 };
10234
- this._cursor = l.escapedString ? new mm(a, p) : new Jl(a, p), this._preserveLineEndings = l.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = l.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = l.tokenizeBlocks ?? !0, this._tokenizeLet = l.tokenizeLet ?? !0;
10276
+ this._cursor = l.escapedString ? new mm(a, p) : new Xl(a, p), this._preserveLineEndings = l.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = l.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = l.tokenizeBlocks ?? !0, this._tokenizeLet = l.tokenizeLet ?? !0;
10235
10277
  try {
10236
10278
  this._cursor.init();
10237
10279
  } catch (f) {
@@ -10261,7 +10303,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10261
10303
  }
10262
10304
  _getBlockName() {
10263
10305
  let a = !1, s = this._cursor.clone();
10264
- return this._attemptCharCodeUntilFn((l) => Wa(l) ? !a : Gl(l) ? (a = !0, !1) : !0), this._cursor.getChars(s).trim();
10306
+ return this._attemptCharCodeUntilFn((l) => Wa(l) ? !a : Kl(l) ? (a = !0, !1) : !0), this._cursor.getChars(s).trim();
10265
10307
  }
10266
10308
  _consumeBlockStart(a) {
10267
10309
  this._beginToken(25, a);
@@ -10277,7 +10319,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10277
10319
  this._beginToken(27, a), this._endToken([]);
10278
10320
  }
10279
10321
  _consumeBlockParameters() {
10280
- for (this._attemptCharCodeUntilFn(Kl); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
10322
+ for (this._attemptCharCodeUntilFn(Jl); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
10281
10323
  this._beginToken(28);
10282
10324
  let a = this._cursor.clone(), s = null, l = 0;
10283
10325
  for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || s !== null; ) {
@@ -10292,7 +10334,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10292
10334
  }
10293
10335
  this._cursor.advance();
10294
10336
  }
10295
- this._endToken([this._cursor.getChars(a)]), this._attemptCharCodeUntilFn(Kl);
10337
+ this._endToken([this._cursor.getChars(a)]), this._attemptCharCodeUntilFn(Jl);
10296
10338
  }
10297
10339
  }
10298
10340
  _consumeLetDeclaration(a) {
@@ -10408,7 +10450,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10408
10450
  let y = parseInt(f, l ? 16 : 10);
10409
10451
  this._endToken([String.fromCharCode(y), this._cursor.getChars(s)]);
10410
10452
  } catch {
10411
- throw this._createError(zl(this._cursor.getChars(s)), this._cursor.getSpan());
10453
+ throw this._createError(Vl(this._cursor.getChars(s)), this._cursor.getSpan());
10412
10454
  }
10413
10455
  } else {
10414
10456
  let l = this._cursor.clone();
@@ -10417,7 +10459,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10417
10459
  let p = this._cursor.getChars(l);
10418
10460
  this._cursor.advance();
10419
10461
  let f = Qa[p];
10420
- if (!f) throw this._createError(zl(p), this._cursor.getSpan(s));
10462
+ if (!f) throw this._createError(Vl(p), this._cursor.getSpan(s));
10421
10463
  this._endToken([f, `&${p};`]);
10422
10464
  }
10423
10465
  }
@@ -10448,7 +10490,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10448
10490
  let a = this._cursor.clone(), s = "";
10449
10491
  for (; this._cursor.peek() !== 58 && !um(this._cursor.peek()); ) this._cursor.advance();
10450
10492
  let l;
10451
- this._cursor.peek() === 58 ? (s = this._cursor.getChars(a), this._cursor.advance(), l = this._cursor.clone()) : l = a, this._requireCharCodeUntilFn(Vl, s === "" ? 0 : 1);
10493
+ this._cursor.peek() === 58 ? (s = this._cursor.getChars(a), this._cursor.advance(), l = this._cursor.clone()) : l = a, this._requireCharCodeUntilFn(Yl, s === "" ? 0 : 1);
10452
10494
  let p = this._cursor.getChars(l);
10453
10495
  return [s, p];
10454
10496
  }
@@ -10500,7 +10542,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10500
10542
  let l = () => this._cursor.peek() === s;
10501
10543
  a = this._consumeWithInterpolation(16, 17, l, l), this._consumeQuote(s);
10502
10544
  } else {
10503
- let s = () => Vl(this._cursor.peek());
10545
+ let s = () => Yl(this._cursor.peek());
10504
10546
  a = this._consumeWithInterpolation(16, 17, s, s);
10505
10547
  }
10506
10548
  return a;
@@ -10590,7 +10632,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10590
10632
  _isBlockStart() {
10591
10633
  if (this._tokenizeBlocks && this._cursor.peek() === 64) {
10592
10634
  let a = this._cursor.clone();
10593
- if (a.advance(), Gl(a.peek())) return !0;
10635
+ if (a.advance(), Kl(a.peek())) return !0;
10594
10636
  }
10595
10637
  return !1;
10596
10638
  }
@@ -10627,7 +10669,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10627
10669
  function Ie(a) {
10628
10670
  return !Wa(a) || a === 0;
10629
10671
  }
10630
- function Vl(a) {
10672
+ function Yl(a) {
10631
10673
  return Wa(a) || a === 62 || a === 60 || a === 47 || a === 39 || a === 34 || a === 61 || a === 0;
10632
10674
  }
10633
10675
  function um(a) {
@@ -10643,15 +10685,15 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10643
10685
  return a !== 125;
10644
10686
  }
10645
10687
  function hm(a, s) {
10646
- return Yl(a) === Yl(s);
10688
+ return Gl(a) === Gl(s);
10647
10689
  }
10648
- function Yl(a) {
10690
+ function Gl(a) {
10649
10691
  return a >= 97 && a <= 122 ? a - 97 + 65 : a;
10650
10692
  }
10651
- function Gl(a) {
10693
+ function Kl(a) {
10652
10694
  return za(a) || hs(a) || a === 95;
10653
10695
  }
10654
- function Kl(a) {
10696
+ function Jl(a) {
10655
10697
  return a !== 59 && Ie(a);
10656
10698
  }
10657
10699
  function fm(a) {
@@ -10662,9 +10704,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10662
10704
  }
10663
10705
  return s;
10664
10706
  }
10665
- var Jl = class oo {
10707
+ var Xl = class lo {
10666
10708
  constructor(s, l) {
10667
- if (s instanceof oo) {
10709
+ if (s instanceof lo) {
10668
10710
  this.file = s.file, this.input = s.input, this.end = s.end;
10669
10711
  let p = s.state;
10670
10712
  this.state = { peek: p.peek, offset: p.offset, line: p.line, column: p.column };
@@ -10674,7 +10716,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10674
10716
  }
10675
10717
  }
10676
10718
  clone() {
10677
- return new oo(this);
10719
+ return new lo(this);
10678
10720
  }
10679
10721
  peek() {
10680
10722
  return this.state.peek;
@@ -10715,9 +10757,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10715
10757
  locationFromCursor(s) {
10716
10758
  return new gs(s.file, s.state.offset, s.state.line, s.state.column);
10717
10759
  }
10718
- }, mm = class lo extends Jl {
10760
+ }, mm = class uo extends Xl {
10719
10761
  constructor(s, l) {
10720
- s instanceof lo ? (super(s), this.internalState = { ...s.internalState }) : (super(s, l), this.internalState = this.state);
10762
+ s instanceof uo ? (super(s), this.internalState = { ...s.internalState }) : (super(s, l), this.internalState = this.state);
10721
10763
  }
10722
10764
  advance() {
10723
10765
  this.state = this.internalState, super.advance(), this.processEscapeSequence();
@@ -10726,7 +10768,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10726
10768
  super.init(), this.processEscapeSequence();
10727
10769
  }
10728
10770
  clone() {
10729
- return new lo(this);
10771
+ return new uo(this);
10730
10772
  }
10731
10773
  getChars(s) {
10732
10774
  let l = s.clone(), p = "";
@@ -10754,9 +10796,9 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10754
10796
  this.advanceState(this.internalState);
10755
10797
  let l = this.clone();
10756
10798
  this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(l, 2);
10757
- } else if (xl(s())) {
10799
+ } else if (_l(s())) {
10758
10800
  let l = "", p = 0, f = this.clone();
10759
- for (; xl(s()) && p < 3; ) f = this.clone(), l += String.fromCodePoint(s()), this.advanceState(this.internalState), p++;
10801
+ for (; _l(s()) && p < 3; ) f = this.clone(), l += String.fromCodePoint(s()), this.advanceState(this.internalState), p++;
10760
10802
  this.state.peek = parseInt(l, 8), this.internalState = f.internalState;
10761
10803
  } else fs(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
10762
10804
  }
@@ -10769,7 +10811,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10769
10811
  constructor(a, s) {
10770
10812
  this.msg = a, this.cursor = s;
10771
10813
  }
10772
- }, ot = class pd extends Sl {
10814
+ }, ot = class pd extends El {
10773
10815
  static create(s, l, p) {
10774
10816
  return new pd(s, l, p);
10775
10817
  }
@@ -10847,10 +10889,10 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10847
10889
  _collectExpansionExpTokens(s) {
10848
10890
  let l = [], p = [22];
10849
10891
  for (; ; ) {
10850
- if ((this._peek.type === 20 || this._peek.type === 22) && p.push(this._peek.type), this._peek.type === 23) if (Xl(p, 22)) {
10892
+ if ((this._peek.type === 20 || this._peek.type === 22) && p.push(this._peek.type), this._peek.type === 23) if (Ql(p, 22)) {
10851
10893
  if (p.pop(), p.length === 0) return l;
10852
10894
  } else return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10853
- if (this._peek.type === 24) if (Xl(p, 20)) p.pop();
10895
+ if (this._peek.type === 24) if (Ql(p, 20)) p.pop();
10854
10896
  else return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10855
10897
  if (this._peek.type === 34) return this.errors.push(ot.create(null, s.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
10856
10898
  l.push(this._advance());
@@ -10872,7 +10914,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10872
10914
  let y = this._getContainer();
10873
10915
  y != null && y.children.length === 0 && this.getTagDefinition(y.name).ignoreFirstLf && (f = f.substring(1), l[0] = { type: s.type, sourceSpan: s.sourceSpan, parts: [f] });
10874
10916
  }
10875
- for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) s = this._advance(), l.push(s), s.type === 8 ? f += s.parts.join("").replace(/&([^;]+);/g, Ql) : s.type === 9 ? f += s.parts[0] : f += s.parts.join("");
10917
+ for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) s = this._advance(), l.push(s), s.type === 8 ? f += s.parts.join("").replace(/&([^;]+);/g, Zl) : s.type === 9 ? f += s.parts[0] : f += s.parts.join("");
10876
10918
  if (f.length > 0) {
10877
10919
  let y = s.sourceSpan;
10878
10920
  this._addToParent(new Vf(f, new ie(p.start, y.end, p.fullStart, p.details), l));
@@ -10920,7 +10962,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10920
10962
  let y = "", E = [], B, R;
10921
10963
  if (this._peek.type === 16) for (B = this._peek.sourceSpan, R = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
10922
10964
  let U = this._advance();
10923
- E.push(U), U.type === 17 ? y += U.parts.join("").replace(/&([^;]+);/g, Ql) : U.type === 9 ? y += U.parts[0] : y += U.parts.join(""), R = p = U.sourceSpan.end;
10965
+ E.push(U), U.type === 17 ? y += U.parts.join("").replace(/&([^;]+);/g, Zl) : U.type === 9 ? y += U.parts[0] : y += U.parts.join(""), R = p = U.sourceSpan.end;
10924
10966
  }
10925
10967
  this._peek.type === 15 && (R = p = this._advance().sourceSpan.end);
10926
10968
  let Y = B && R && new ie((f == null ? void 0 : f.sourceSpan.start) ?? B.start, R, (f == null ? void 0 : f.sourceSpan.fullStart) ?? B.fullStart);
@@ -10930,7 +10972,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10930
10972
  let l = [];
10931
10973
  for (; this._peek.type === 28; ) {
10932
10974
  let B = this._advance();
10933
- l.push(new ql(B.parts[0], B.sourceSpan));
10975
+ l.push(new Hl(B.parts[0], B.sourceSpan));
10934
10976
  }
10935
10977
  this._peek.type === 26 && this._advance();
10936
10978
  let p = this._peek.sourceSpan.fullStart, f = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), y = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), E = new Zn(s.parts[0], l, [], f, s.sourceSpan, y);
@@ -10943,7 +10985,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10943
10985
  let l = [];
10944
10986
  for (; this._peek.type === 28; ) {
10945
10987
  let B = this._advance();
10946
- l.push(new ql(B.parts[0], B.sourceSpan));
10988
+ l.push(new Hl(B.parts[0], B.sourceSpan));
10947
10989
  }
10948
10990
  let p = this._peek.sourceSpan.fullStart, f = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), y = new ie(s.sourceSpan.start, p, s.sourceSpan.fullStart), E = new Zn(s.parts[0], l, [], f, s.sourceSpan, y);
10949
10991
  this._pushContainer(E, !1), this._popContainer(null, Zn, null), this.errors.push(ot.create(s.parts[0], f, `Incomplete block "${s.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
@@ -10958,13 +11000,13 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10958
11000
  this.errors.push(ot.create(s.parts[0], s.sourceSpan, `Unterminated @let declaration "${l}". Declaration must be terminated with a semicolon.`));
10959
11001
  return;
10960
11002
  } else f = this._advance();
10961
- let y = f.sourceSpan.fullStart, E = new ie(s.sourceSpan.start, y, s.sourceSpan.fullStart), B = s.sourceSpan.toString().lastIndexOf(l), R = s.sourceSpan.start.moveBy(B), Y = new ie(R, s.sourceSpan.end), U = new Hl(l, p.parts[0], E, Y, p.sourceSpan);
11003
+ let y = f.sourceSpan.fullStart, E = new ie(s.sourceSpan.start, y, s.sourceSpan.fullStart), B = s.sourceSpan.toString().lastIndexOf(l), R = s.sourceSpan.start.moveBy(B), Y = new ie(R, s.sourceSpan.end), U = new Ul(l, p.parts[0], E, Y, p.sourceSpan);
10962
11004
  this._addToParent(U);
10963
11005
  }
10964
11006
  _consumeIncompleteLet(s) {
10965
11007
  let l = s.parts[0] ?? "", p = l ? ` "${l}"` : "";
10966
11008
  if (l.length > 0) {
10967
- let f = s.sourceSpan.toString().lastIndexOf(l), y = s.sourceSpan.start.moveBy(f), E = new ie(y, s.sourceSpan.end), B = new ie(s.sourceSpan.start, s.sourceSpan.start.moveBy(0)), R = new Hl(l, "", s.sourceSpan, E, B);
11009
+ let f = s.sourceSpan.toString().lastIndexOf(l), y = s.sourceSpan.start.moveBy(f), E = new ie(y, s.sourceSpan.end), B = new ie(s.sourceSpan.start, s.sourceSpan.start.moveBy(0)), R = new Ul(l, "", s.sourceSpan, E, B);
10968
11010
  this._addToParent(R);
10969
11011
  }
10970
11012
  this.errors.push(ot.create(s.parts[0], s.sourceSpan, `Incomplete @let declaration${p}. @let declarations must be written as \`@let <name> = <value>;\``));
@@ -10988,10 +11030,10 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
10988
11030
  return Ka(s, l);
10989
11031
  }
10990
11032
  };
10991
- function Xl(a, s) {
11033
+ function Ql(a, s) {
10992
11034
  return a.length > 0 && a[a.length - 1] === s;
10993
11035
  }
10994
- function Ql(a, s) {
11036
+ function Zl(a, s) {
10995
11037
  return Qa[s] !== void 0 ? Qa[s] || a : /^#x[a-f0-9]+$/i.test(s) ? String.fromCodePoint(parseInt(s.slice(2), 16)) : /^#\d+$/.test(s) ? String.fromCodePoint(parseInt(s.slice(1), 10)) : a;
10996
11038
  }
10997
11039
  var ym = class extends vm {
@@ -11002,7 +11044,7 @@ If '${a}' is a directive input, make sure the directive is imported by the curre
11002
11044
  return super.parse(a, s, l, p, f);
11003
11045
  }
11004
11046
  }, ks = null, bm = () => (ks || (ks = new ym()), ks);
11005
- function Zl(a, s = {}) {
11047
+ function eu(a, s = {}) {
11006
11048
  let { canSelfClose: l = !1, allowHtmComponentClosingTags: p = !1, isTagNameCaseSensitive: f = !1, getTagContentType: y, tokenizeAngularBlocks: E = !1, tokenizeAngularLetDeclaration: B = !1 } = s;
11007
11049
  return bm().parse(a, "angular-html-parser", { tokenizeExpansionForms: E, interpolationConfig: void 0, canSelfClose: l, allowHtmComponentClosingTags: p, tokenizeBlocks: E, tokenizeLet: B }, f, y);
11008
11050
  }
@@ -11032,13 +11074,13 @@ ${s}`, l), y = p;
11032
11074
  let { raw: l } = s;
11033
11075
  return { frontMatter: s, content: C(!1, l, /[^\n]/gu, " ") + a.slice(l.length) };
11034
11076
  }
11035
- var _m = xm, ei = { attrs: !0, children: !0, cases: !0, expression: !0 }, eu = /* @__PURE__ */ new Set(["parent"]), Sm = class Qr {
11077
+ var _m = xm, ei = { attrs: !0, children: !0, cases: !0, expression: !0 }, tu = /* @__PURE__ */ new Set(["parent"]), Sm = class Qr {
11036
11078
  constructor(s = {}) {
11037
- for (let l of /* @__PURE__ */ new Set([...eu, ...Object.keys(s)])) this.setProperty(l, s[l]);
11079
+ for (let l of /* @__PURE__ */ new Set([...tu, ...Object.keys(s)])) this.setProperty(l, s[l]);
11038
11080
  }
11039
11081
  setProperty(s, l) {
11040
11082
  if (this[s] !== l) {
11041
- if (s in ei && (l = l.map((p) => this.createChild(p))), !eu.has(s)) {
11083
+ if (s in ei && (l = l.map((p) => this.createChild(p))), !tu.has(s)) {
11042
11084
  this[s] = l;
11043
11085
  return;
11044
11086
  }
@@ -11152,21 +11194,21 @@ ${s}`, l), y = p;
11152
11194
  function Lm(a) {
11153
11195
  (a.type === "plural" || a.type === "select") && (a.clause = a.type, a.type = "angularIcuExpression"), a.type === "expansionCase" && (a.type = "angularIcuCase");
11154
11196
  }
11155
- function tu(a, s, l) {
11156
- let { name: p, canSelfClose: f = !0, normalizeTagName: y = !1, normalizeAttributeName: E = !1, allowHtmComponentClosingTags: B = !1, isTagNameCaseSensitive: R = !1, shouldParseAsRawText: Y } = s, { rootNodes: U, errors: De } = Zl(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R, getTagContentType: Y ? (...z) => Y(...z) ? Bt.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: p === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: p === "angular" ? !0 : void 0 });
11197
+ function nu(a, s, l) {
11198
+ let { name: p, canSelfClose: f = !0, normalizeTagName: y = !1, normalizeAttributeName: E = !1, allowHtmComponentClosingTags: B = !1, isTagNameCaseSensitive: R = !1, shouldParseAsRawText: Y } = s, { rootNodes: U, errors: De } = eu(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R, getTagContentType: Y ? (...z) => Y(...z) ? Bt.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: p === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: p === "angular" ? !0 : void 0 });
11157
11199
  if (p === "vue") {
11158
- if (U.some((Me) => Me.type === "docType" && Me.value === "html" || Me.type === "element" && Me.name.toLowerCase() === "html")) return tu(a, au, l);
11159
- let z, ue = () => z ?? (z = Zl(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R })), We = (Me) => ue().rootNodes.find(({ startSourceSpan: lt }) => lt && lt.start.offset === Me.startSourceSpan.start.offset) ?? Me;
11200
+ if (U.some((Me) => Me.type === "docType" && Me.value === "html" || Me.type === "element" && Me.name.toLowerCase() === "html")) return nu(a, iu, l);
11201
+ let z, ue = () => z ?? (z = eu(a, { canSelfClose: f, allowHtmComponentClosingTags: B, isTagNameCaseSensitive: R })), We = (Me) => ue().rootNodes.find(({ startSourceSpan: lt }) => lt && lt.start.offset === Me.startSourceSpan.start.offset) ?? Me;
11160
11202
  for (let [Me, lt] of U.entries()) {
11161
11203
  let { endSourceSpan: tr, startSourceSpan: Um } = lt;
11162
11204
  if (tr === null) De = ue().errors, U[Me] = We(lt);
11163
11205
  else if (Om(lt, l)) {
11164
- let iu = ue().errors.find((su) => su.span.start.offset > Um.start.offset && su.span.start.offset < tr.end.offset);
11165
- iu && nu(iu), U[Me] = We(lt);
11206
+ let su = ue().errors.find((ou) => ou.span.start.offset > Um.start.offset && ou.span.start.offset < tr.end.offset);
11207
+ su && ru(su), U[Me] = We(lt);
11166
11208
  }
11167
11209
  }
11168
11210
  }
11169
- De.length > 0 && nu(De[0]);
11211
+ De.length > 0 && ru(De[0]);
11170
11212
  let fe = (z) => {
11171
11213
  let ue = z.name.startsWith(":") ? z.name.slice(1).split(":")[0] : null, We = z.nameSpan.toString(), Me = ue !== null && We.startsWith(`${ue}:`), lt = Me ? We.slice(ue.length + 1) : We;
11172
11214
  z.name = lt, z.namespace = ue, z.hasExplicitNamespace = Me;
@@ -11196,7 +11238,7 @@ ${s}`, l), y = p;
11196
11238
  !z.namespace || z.namespace === ue.implicitNamespacePrefix || me(z) ? z.tagDefinition = ue : z.tagDefinition = vs("");
11197
11239
  }
11198
11240
  };
11199
- return Ul(new class extends Zf {
11241
+ return Wl(new class extends Zf {
11200
11242
  visitExpansionCase(z, ue) {
11201
11243
  p === "angular" && this.visitChildren(ue, (We) => {
11202
11244
  We(z.expression);
@@ -11213,18 +11255,18 @@ ${s}`, l), y = p;
11213
11255
  let p = (l = a.attrs.find((f) => f.name === "lang")) == null ? void 0 : l.value;
11214
11256
  return !p || Kn(s, { language: p }) === "html";
11215
11257
  }
11216
- function nu(a) {
11258
+ function ru(a) {
11217
11259
  let { msg: s, span: { start: l, end: p } } = a;
11218
11260
  throw wm(s, { loc: { start: { line: l.line + 1, column: l.col + 1 }, end: { line: p.line + 1, column: p.col + 1 } }, cause: a });
11219
11261
  }
11220
- function ru(a, s, l = {}, p = !0) {
11221
- let { frontMatter: f, content: y } = p ? _m(a) : { frontMatter: null, content: a }, E = new _l(a, l.filepath), B = new gs(E, 0, 0, 0), R = B.moveBy(a.length), Y = { type: "root", sourceSpan: new ie(B, R), children: tu(y, s, l) };
11262
+ function au(a, s, l = {}, p = !0) {
11263
+ let { frontMatter: f, content: y } = p ? _m(a) : { frontMatter: null, content: a }, E = new Sl(a, l.filepath), B = new gs(E, 0, 0, 0), R = B.moveBy(a.length), Y = { type: "root", sourceSpan: new ie(B, R), children: nu(y, s, l) };
11222
11264
  if (f) {
11223
11265
  let fe = new gs(E, 0, 0, 0), le = fe.moveBy(f.raw.length);
11224
11266
  f.sourceSpan = new ie(fe, le), Y.children.unshift(f);
11225
11267
  }
11226
11268
  let U = new Sm(Y), De = (fe, le) => {
11227
- let { offset: Se } = le, Ue = C(!1, a.slice(0, Se), /[^\n\r]/gu, " "), Ze = ru(Ue + fe, s, l, !1);
11269
+ let { offset: Se } = le, Ue = C(!1, a.slice(0, Se), /[^\n\r]/gu, " "), Ze = au(Ue + fe, s, l, !1);
11228
11270
  Ze.sourceSpan = new ie(le, Vt(!1, Ze.children, -1).sourceSpan.end);
11229
11271
  let st = Ze.children[0];
11230
11272
  return st.length === Se ? Ze.children.shift() : (st.sourceSpan = new ie(st.sourceSpan.start.moveBy(Se), st.sourceSpan.end), st.value = st.value.slice(Se)), Ze;
@@ -11238,9 +11280,9 @@ ${s}`, l), y = p;
11238
11280
  }), U;
11239
11281
  }
11240
11282
  function ti(a) {
11241
- return { parse: (s, l) => ru(s, a, l), hasPragma: af, astFormat: "html", locStart: Ma, locEnd: Ra };
11283
+ return { parse: (s, l) => au(s, a, l), hasPragma: af, astFormat: "html", locStart: Ma, locEnd: Ra };
11242
11284
  }
11243
- var au = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, Im = ti(au), Mm = ti({ name: "angular" }), Rm = ti({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(a, s, l, p) {
11285
+ var iu = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, Im = ti(iu), Mm = ti({ name: "angular" }), Rm = ti({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(a, s, l, p) {
11244
11286
  return a.toLowerCase() !== "html" && !l && (a !== "template" || p.some(({ name: f, value: y }) => f === "lang" && y !== "html" && y !== "" && y !== void 0));
11245
11287
  } }), qm = ti({ name: "lwc", canSelfClose: !1 }), Hm = { html: Nf };
11246
11288
  return h(k);
@@ -11269,22 +11311,22 @@ function r1(e, t) {
11269
11311
  }
11270
11312
  return i;
11271
11313
  }
11272
- function uo(e, t) {
11314
+ function co(e, t) {
11273
11315
  (t == null || t > e.length) && (t = e.length);
11274
11316
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
11275
11317
  return r;
11276
11318
  }
11277
11319
  function a1(e) {
11278
- if (Array.isArray(e)) return uo(e);
11320
+ if (Array.isArray(e)) return co(e);
11279
11321
  }
11280
11322
  function i1(e) {
11281
11323
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
11282
11324
  }
11283
11325
  function s1(e, t) {
11284
11326
  if (e) {
11285
- if (typeof e == "string") return uo(e, t);
11327
+ if (typeof e == "string") return co(e, t);
11286
11328
  var n = {}.toString.call(e).slice(8, -1);
11287
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? uo(e, t) : void 0;
11329
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? co(e, t) : void 0;
11288
11330
  }
11289
11331
  }
11290
11332
  function o1() {
@@ -11324,14 +11366,14 @@ function fd(e, t, n) {
11324
11366
  writable: !0
11325
11367
  }) : e[t] = n, e;
11326
11368
  }
11327
- function co() {
11328
- return co = Object.assign ? Object.assign.bind() : function(e) {
11369
+ function po() {
11370
+ return po = Object.assign ? Object.assign.bind() : function(e) {
11329
11371
  for (var t = 1; t < arguments.length; t++) {
11330
11372
  var n = arguments[t];
11331
11373
  for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
11332
11374
  }
11333
11375
  return e;
11334
- }, co.apply(null, arguments);
11376
+ }, po.apply(null, arguments);
11335
11377
  }
11336
11378
  function yc(e, t) {
11337
11379
  var n = Object.keys(e);
@@ -11364,11 +11406,11 @@ function p1(e) {
11364
11406
  if (t >= 4)
11365
11407
  return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])];
11366
11408
  }
11367
- var Rs = {};
11409
+ var qs = {};
11368
11410
  function d1(e) {
11369
11411
  if (e.length === 0 || e.length === 1) return e;
11370
11412
  var t = e.join(".");
11371
- return Rs[t] || (Rs[t] = p1(e)), Rs[t];
11413
+ return qs[t] || (qs[t] = p1(e)), qs[t];
11372
11414
  }
11373
11415
  function h1(e) {
11374
11416
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0, r = e.filter(function(o) {
@@ -11418,7 +11460,7 @@ function md(e) {
11418
11460
  });
11419
11461
  }
11420
11462
  var C = v(t.children);
11421
- return /* @__PURE__ */ xe.createElement(h, co({
11463
+ return /* @__PURE__ */ xe.createElement(h, po({
11422
11464
  key: u
11423
11465
  }, D), C);
11424
11466
  }
@@ -11706,10 +11748,10 @@ function F1() {
11706
11748
  }
11707
11749
  return e;
11708
11750
  }
11709
- var bd = kd, Io = kd.prototype;
11710
- Io.space = null;
11711
- Io.normal = {};
11712
- Io.property = {};
11751
+ var bd = kd, Mo = kd.prototype;
11752
+ Mo.space = null;
11753
+ Mo.normal = {};
11754
+ Mo.property = {};
11713
11755
  function kd(e, t, n) {
11714
11756
  this.property = e, this.normal = t, n && (this.space = n);
11715
11757
  }
@@ -11723,7 +11765,7 @@ function T1(e) {
11723
11765
  u
11724
11766
  );
11725
11767
  }
11726
- var Mo = B1;
11768
+ var Ro = B1;
11727
11769
  function B1(e) {
11728
11770
  return e.toLowerCase();
11729
11771
  }
@@ -11754,9 +11796,9 @@ zt.commaOrSpaceSeparated = Yn();
11754
11796
  function Yn() {
11755
11797
  return Math.pow(2, ++N1);
11756
11798
  }
11757
- var xd = wd, Cc = zt, _d = Ro;
11758
- Ro.prototype = new xd();
11759
- Ro.prototype.defined = !0;
11799
+ var xd = wd, Cc = zt, _d = qo;
11800
+ qo.prototype = new xd();
11801
+ qo.prototype.defined = !0;
11760
11802
  var Sd = [
11761
11803
  "boolean",
11762
11804
  "booleanish",
@@ -11766,7 +11808,7 @@ var Sd = [
11766
11808
  "spaceSeparated",
11767
11809
  "commaOrSpaceSeparated"
11768
11810
  ], j1 = Sd.length;
11769
- function Ro(e, t, n, r) {
11811
+ function qo(e, t, n, r) {
11770
11812
  var i = -1, o;
11771
11813
  for (xc(this, "space", r), xd.call(this, e, t); ++i < j1; )
11772
11814
  o = Sd[i], xc(this, o, (n & Cc[o]) === Cc[o]);
@@ -11774,7 +11816,7 @@ function Ro(e, t, n, r) {
11774
11816
  function xc(e, t, n) {
11775
11817
  n && (e[t] = n);
11776
11818
  }
11777
- var _c = Mo, P1 = bd, L1 = _d, _a = O1;
11819
+ var _c = Ro, P1 = bd, L1 = _d, _a = O1;
11778
11820
  function O1(e) {
11779
11821
  var t = e.space, n = e.mustUseProperty || [], r = e.attributes || {}, i = e.properties, o = e.transform, u = {}, c = {}, d, h;
11780
11822
  for (d in i)
@@ -11832,7 +11874,7 @@ var G1 = _a, K1 = Ed, J1 = G1({
11832
11874
  xmlns: null,
11833
11875
  xmlnsXLink: null
11834
11876
  }
11835
- }), qo = zt, X1 = _a, mt = qo.booleanish, St = qo.number, Tn = qo.spaceSeparated, Q1 = X1({
11877
+ }), Ho = zt, X1 = _a, mt = Ho.booleanish, St = Ho.number, Tn = Ho.spaceSeparated, Q1 = X1({
11836
11878
  transform: Z1,
11837
11879
  properties: {
11838
11880
  ariaActiveDescendant: null,
@@ -12235,18 +12277,18 @@ var xr = zt, ek = _a, tk = Ed, oe = xr.boolean, nk = xr.overloadedBoolean, Xr =
12235
12277
  security: null,
12236
12278
  unselectable: null
12237
12279
  }
12238
- }), ak = $1, ik = M1, sk = H1, ok = J1, lk = Q1, uk = rk, ck = ak([sk, ik, ok, lk, uk]), pk = Mo, dk = _d, hk = wd, Ho = "data", fk = vk, mk = /^data[-\w.:]+$/i, Fd = /-[a-z]/g, gk = /[A-Z]/g;
12280
+ }), ak = $1, ik = M1, sk = H1, ok = J1, lk = Q1, uk = rk, ck = ak([sk, ik, ok, lk, uk]), pk = Ro, dk = _d, hk = wd, Uo = "data", fk = vk, mk = /^data[-\w.:]+$/i, Fd = /-[a-z]/g, gk = /[A-Z]/g;
12239
12281
  function vk(e, t) {
12240
12282
  var n = pk(t), r = t, i = hk;
12241
- return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === Ho && mk.test(t) && (t.charAt(4) === "-" ? r = Dk(t) : t = yk(t), i = dk), new i(r, t));
12283
+ return n in e.normal ? e.property[e.normal[n]] : (n.length > 4 && n.slice(0, 4) === Uo && mk.test(t) && (t.charAt(4) === "-" ? r = Dk(t) : t = yk(t), i = dk), new i(r, t));
12242
12284
  }
12243
12285
  function Dk(e) {
12244
12286
  var t = e.slice(5).replace(Fd, kk);
12245
- return Ho + t.charAt(0).toUpperCase() + t.slice(1);
12287
+ return Uo + t.charAt(0).toUpperCase() + t.slice(1);
12246
12288
  }
12247
12289
  function yk(e) {
12248
12290
  var t = e.slice(4);
12249
- return Fd.test(t) ? e : (t = t.replace(gk, bk), t.charAt(0) !== "-" && (t = "-" + t), Ho + t);
12291
+ return Fd.test(t) ? e : (t = t.replace(gk, bk), t.charAt(0) !== "-" && (t = "-" + t), Uo + t);
12250
12292
  }
12251
12293
  function bk(e) {
12252
12294
  return "-" + e.toLowerCase();
@@ -12260,9 +12302,9 @@ function Ck(e, t) {
12260
12302
  Sc.lastIndex = o, d = Sc.exec(n), u = n.slice(o, d ? d.index : n.length), u && (c ? c === "#" ? i.id = u : i.className ? i.className.push(u) : i.className = [u] : r = u, o += u.length), d && (c = d[0], o++);
12261
12303
  return { type: "element", tagName: r, properties: i, children: [] };
12262
12304
  }
12263
- var Uo = {};
12264
- Uo.parse = Sk;
12265
- Uo.stringify = Ek;
12305
+ var Wo = {};
12306
+ Wo.parse = Sk;
12307
+ Wo.stringify = Ek;
12266
12308
  var Ec = "", xk = " ", _k = /[ \t\n\r\f]+/g;
12267
12309
  function Sk(e) {
12268
12310
  var t = String(e || Ec).trim();
@@ -12271,20 +12313,20 @@ function Sk(e) {
12271
12313
  function Ek(e) {
12272
12314
  return e.join(xk).trim();
12273
12315
  }
12274
- var Wo = {};
12275
- Wo.parse = Fk;
12276
- Wo.stringify = Ak;
12277
- var po = ",", Fc = " ", Zr = "";
12316
+ var zo = {};
12317
+ zo.parse = Fk;
12318
+ zo.stringify = Ak;
12319
+ var ho = ",", Fc = " ", Zr = "";
12278
12320
  function Fk(e) {
12279
- for (var t = [], n = String(e || Zr), r = n.indexOf(po), i = 0, o = !1, u; !o; )
12280
- r === -1 && (r = n.length, o = !0), u = n.slice(i, r).trim(), (u || !o) && t.push(u), i = r + 1, r = n.indexOf(po, i);
12321
+ for (var t = [], n = String(e || Zr), r = n.indexOf(ho), i = 0, o = !1, u; !o; )
12322
+ r === -1 && (r = n.length, o = !0), u = n.slice(i, r).trim(), (u || !o) && t.push(u), i = r + 1, r = n.indexOf(ho, i);
12281
12323
  return t;
12282
12324
  }
12283
12325
  function Ak(e, t) {
12284
12326
  var n = t || {}, r = n.padLeft === !1 ? Zr : Fc, i = n.padRight ? Fc : Zr;
12285
- return e[e.length - 1] === Zr && (e = e.concat(Zr)), e.join(i + po + r).trim();
12327
+ return e[e.length - 1] === Zr && (e = e.concat(Zr)), e.join(i + ho + r).trim();
12286
12328
  }
12287
- var $k = fk, Ac = Mo, Tk = wk, $c = Uo.parse, Tc = Wo.parse, Bk = jk, Nk = {}.hasOwnProperty;
12329
+ var $k = fk, Ac = Ro, Tk = wk, $c = Wo.parse, Tc = zo.parse, Bk = jk, Nk = {}.hasOwnProperty;
12288
12330
  function jk(e, t, n) {
12289
12331
  var r = n ? Mk(n) : null;
12290
12332
  return i;
@@ -12520,20 +12562,20 @@ var Nc = HC, jc = UC, nx = Td, rx = zC, Bd = XC, ax = ex, ix = Dx, sx = {}.hasOw
12520
12562
  additional: null,
12521
12563
  attribute: !1,
12522
12564
  nonTerminated: !0
12523
- }, lx = 9, Lc = 10, ux = 12, cx = 32, Oc = 38, px = 59, dx = 60, hx = 61, fx = 35, mx = 88, gx = 120, vx = 65533, lr = "named", zo = "hexadecimal", Vo = "decimal", Yo = {};
12524
- Yo[zo] = 16;
12525
- Yo[Vo] = 10;
12565
+ }, lx = 9, Lc = 10, ux = 12, cx = 32, Oc = 38, px = 59, dx = 60, hx = 61, fx = 35, mx = 88, gx = 120, vx = 65533, lr = "named", Vo = "hexadecimal", Yo = "decimal", Go = {};
12566
+ Go[Vo] = 16;
12567
+ Go[Yo] = 10;
12526
12568
  var Ri = {};
12527
12569
  Ri[lr] = Bd;
12528
- Ri[Vo] = nx;
12529
- Ri[zo] = rx;
12530
- var Nd = 1, jd = 2, Pd = 3, Ld = 4, Od = 5, ho = 6, Id = 7, wn = {};
12570
+ Ri[Yo] = nx;
12571
+ Ri[Vo] = rx;
12572
+ var Nd = 1, jd = 2, Pd = 3, Ld = 4, Od = 5, fo = 6, Id = 7, wn = {};
12531
12573
  wn[Nd] = "Named character references must be terminated by a semicolon";
12532
12574
  wn[jd] = "Numeric character references must be terminated by a semicolon";
12533
12575
  wn[Pd] = "Named character references cannot be empty";
12534
12576
  wn[Ld] = "Numeric character references cannot be empty";
12535
12577
  wn[Od] = "Named character references must be known";
12536
- wn[ho] = "Numeric character references cannot be disallowed";
12578
+ wn[fo] = "Numeric character references cannot be disallowed";
12537
12579
  wn[Id] = "Numeric character references cannot be outside the permissible Unicode range";
12538
12580
  function Dx(e, t) {
12539
12581
  var n = {}, r, i;
@@ -12550,9 +12592,9 @@ function yx(e, t) {
12550
12592
  T += ir(P), _++;
12551
12593
  continue;
12552
12594
  }
12553
- for (q = b + 1, N = q, re = q, j === fx ? (re = ++N, j = e.charCodeAt(re), j === mx || j === gx ? (X = zo, re = ++N) : X = Vo) : X = lr, S = "", L = "", $ = "", de = Ri[X], re--; ++re < D && (j = e.charCodeAt(re), !!de(j)); )
12595
+ for (q = b + 1, N = q, re = q, j === fx ? (re = ++N, j = e.charCodeAt(re), j === mx || j === gx ? (X = Vo, re = ++N) : X = Yo) : X = lr, S = "", L = "", $ = "", de = Ri[X], re--; ++re < D && (j = e.charCodeAt(re), !!de(j)); )
12554
12596
  $ += ir(j), X === lr && sx.call(Nc, $) && (S = $, L = Nc[$]);
12555
- x = e.charCodeAt(re) === px, x && (re++, A = X === lr ? ax($) : !1, A && (S = $, L = A)), he = 1 + re - q, !x && !r || ($ ? X === lr ? (x && !L ? W(Od, 1) : (S !== $ && (re = N + S.length, he = 1 + re - N, x = !1), x || (G = S ? Nd : Pd, t.attribute ? (j = e.charCodeAt(re), j === hx ? (W(G, he), L = null) : Bd(j) ? L = null : W(G, he)) : W(G, he))), I = L) : (x || W(jd, he), I = parseInt($, Yo[X]), bx(I) ? (W(Id, he), I = ir(vx)) : I in jc ? (W(ho, he), I = jc[I]) : (V = "", kx(I) && W(ho, he), I > 65535 && (I -= 65536, V += ir(I >>> 10 | 55296), I = 56320 | I & 1023), I = V + ir(I))) : X !== lr && W(Ld, he)), I ? (Be(), Q = ge(), b = re - 1, _ += re - q + 1, F.push(I), se = ge(), se.offset++, o && o.call(
12597
+ x = e.charCodeAt(re) === px, x && (re++, A = X === lr ? ax($) : !1, A && (S = $, L = A)), he = 1 + re - q, !x && !r || ($ ? X === lr ? (x && !L ? W(Od, 1) : (S !== $ && (re = N + S.length, he = 1 + re - N, x = !1), x || (G = S ? Nd : Pd, t.attribute ? (j = e.charCodeAt(re), j === hx ? (W(G, he), L = null) : Bd(j) ? L = null : W(G, he)) : W(G, he))), I = L) : (x || W(jd, he), I = parseInt($, Go[X]), bx(I) ? (W(Id, he), I = ir(vx)) : I in jc ? (W(fo, he), I = jc[I]) : (V = "", kx(I) && W(fo, he), I > 65535 && (I -= 65536, V += ir(I >>> 10 | 55296), I = 56320 | I & 1023), I = V + ir(I))) : X !== lr && W(Ld, he)), I ? (Be(), Q = ge(), b = re - 1, _ += re - q + 1, F.push(I), se = ge(), se.offset++, o && o.call(
12556
12598
  d,
12557
12599
  I,
12558
12600
  { start: Q, end: se },
@@ -13283,10 +13325,10 @@ var Md = { exports: {} };
13283
13325
  }(t);
13284
13326
  e.exports && (e.exports = n), typeof gn < "u" && (gn.Prism = n);
13285
13327
  })(Md);
13286
- var wx = Md.exports, Cx = Go;
13287
- Go.displayName = "markup";
13288
- Go.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
13289
- function Go(e) {
13328
+ var wx = Md.exports, Cx = Ko;
13329
+ Ko.displayName = "markup";
13330
+ Ko.aliases = ["html", "mathml", "svg", "xml", "ssml", "atom", "rss"];
13331
+ function Ko(e) {
13290
13332
  e.languages.markup = {
13291
13333
  comment: {
13292
13334
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
@@ -13452,10 +13494,10 @@ function Go(e) {
13452
13494
  }
13453
13495
  }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml = e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.xml;
13454
13496
  }
13455
- var xx = Ko;
13456
- Ko.displayName = "css";
13457
- Ko.aliases = [];
13458
- function Ko(e) {
13497
+ var xx = Jo;
13498
+ Jo.displayName = "css";
13499
+ Jo.aliases = [];
13500
+ function Jo(e) {
13459
13501
  (function(t) {
13460
13502
  var n = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
13461
13503
  t.languages.css = {
@@ -13517,10 +13559,10 @@ function Ko(e) {
13517
13559
  r && (r.tag.addInlined("style", "css"), r.tag.addAttribute("style", "css"));
13518
13560
  })(e);
13519
13561
  }
13520
- var _x = Jo;
13521
- Jo.displayName = "clike";
13522
- Jo.aliases = [];
13523
- function Jo(e) {
13562
+ var _x = Xo;
13563
+ Xo.displayName = "clike";
13564
+ Xo.aliases = [];
13565
+ function Xo(e) {
13524
13566
  e.languages.clike = {
13525
13567
  comment: [
13526
13568
  {
@@ -13553,10 +13595,10 @@ function Jo(e) {
13553
13595
  punctuation: /[{}[\];(),.:]/
13554
13596
  };
13555
13597
  }
13556
- var Sx = Xo;
13557
- Xo.displayName = "javascript";
13558
- Xo.aliases = ["js"];
13559
- function Xo(e) {
13598
+ var Sx = Qo;
13599
+ Qo.displayName = "javascript";
13600
+ Qo.aliases = ["js"];
13601
+ function Qo(e) {
13560
13602
  e.languages.javascript = e.languages.extend("clike", {
13561
13603
  "class-name": [
13562
13604
  e.languages.clike["class-name"],
@@ -13684,7 +13726,7 @@ var ea = typeof globalThis == "object" ? globalThis : typeof self == "object" ?
13684
13726
  ea.Prism = { manual: !0, disableWorkerMessageHandler: !0 };
13685
13727
  var Fx = Uk, Ax = ix, Rd = wx, $x = Cx, Tx = xx, Bx = _x, Nx = Sx;
13686
13728
  Ex();
13687
- var Qo = {}.hasOwnProperty;
13729
+ var Zo = {}.hasOwnProperty;
13688
13730
  function qd() {
13689
13731
  }
13690
13732
  qd.prototype = Rd;
@@ -13721,7 +13763,7 @@ function Lx(e, t) {
13721
13763
  else {
13722
13764
  if (typeof t != "string")
13723
13765
  throw new Error("Expected `string` for `name`, got `" + t + "`");
13724
- if (Qo.call(Re.languages, t))
13766
+ if (Zo.call(Re.languages, t))
13725
13767
  r = Re.languages[t];
13726
13768
  else
13727
13769
  throw new Error("Unknown language: `" + t + "` is not registered");
@@ -13731,12 +13773,12 @@ function Lx(e, t) {
13731
13773
  function Ox(e) {
13732
13774
  if (typeof e != "string")
13733
13775
  throw new Error("Expected `string` for `language`, got `" + e + "`");
13734
- return Qo.call(Re.languages, e);
13776
+ return Zo.call(Re.languages, e);
13735
13777
  }
13736
13778
  function Ix() {
13737
13779
  var e = Re.languages, t = [], n;
13738
13780
  for (n in e)
13739
- Qo.call(e, n) && typeof e[n] == "object" && t.push(n);
13781
+ Zo.call(e, n) && typeof e[n] == "object" && t.push(n);
13740
13782
  return t;
13741
13783
  }
13742
13784
  function Mx(e, t, n) {
@@ -13778,13 +13820,13 @@ function Ux() {
13778
13820
  e ? ea.Prism = t : delete ea.Prism, e = void 0, t = void 0;
13779
13821
  }
13780
13822
  }
13781
- const Zo = /* @__PURE__ */ _i(jx);
13782
- var fa = _1(Zo, {});
13823
+ const el = /* @__PURE__ */ _i(jx);
13824
+ var fa = _1(el, {});
13783
13825
  fa.registerLanguage = function(e, t) {
13784
- return Zo.register(t);
13826
+ return el.register(t);
13785
13827
  };
13786
13828
  fa.alias = function(e, t) {
13787
- return Zo.alias(e, t);
13829
+ return el.alias(e, t);
13788
13830
  };
13789
13831
  const Ic = {
13790
13832
  'code[class*="language-"]': {
@@ -13978,10 +14020,10 @@ const Ic = {
13978
14020
  fontStyle: "italic"
13979
14021
  }
13980
14022
  };
13981
- var Wx = el;
13982
- el.displayName = "jsx";
13983
- el.aliases = [];
13984
- function el(e) {
14023
+ var Wx = tl;
14024
+ tl.displayName = "jsx";
14025
+ tl.aliases = [];
14026
+ function tl(e) {
13985
14027
  (function(t) {
13986
14028
  var n = t.util.clone(t.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, o = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
13987
14029
  function u(h, g) {
@@ -14168,7 +14210,7 @@ const Vx = Ne(
14168
14210
  var h, g;
14169
14211
  e && (d.code === "ArrowLeft" && c !== 0 && ((h = i.current[c - 1]) == null || h.focus()), d.code === "ArrowRight" && c < t.length - 1 && ((g = i.current[c + 1]) == null || g.focus()), (d.code === "ArrowDown" || d.code === "Space") && o(c, t[c]));
14170
14212
  };
14171
- return /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs", ref: r, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs__list", role: e ? "tablist" : "navigation", children: t.map((c, d) => /* @__PURE__ */ m.jsx(fo, { children: c.href ? /* @__PURE__ */ m.jsxs(
14213
+ return /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs", ref: r, children: /* @__PURE__ */ m.jsx("div", { className: "pkt-tabs__list", role: e ? "tablist" : "navigation", children: t.map((c, d) => /* @__PURE__ */ m.jsx(mo, { children: c.href ? /* @__PURE__ */ m.jsxs(
14172
14214
  "a",
14173
14215
  {
14174
14216
  "aria-selected": !!c.active,
@@ -15232,7 +15274,7 @@ const Vx = Ne(
15232
15274
  fn: "workplace.svg",
15233
15275
  cat: "social"
15234
15276
  }
15235
- ], qs = ({
15277
+ ], Hs = ({
15236
15278
  className: e,
15237
15279
  compact: t = !1,
15238
15280
  skin: n = "basic",
@@ -15251,7 +15293,7 @@ const Vx = Ne(
15251
15293
  role: "table",
15252
15294
  children: i
15253
15295
  }
15254
- ), Hs = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("thead", { className: nt(e, "pkt-table__header", {}), role: "rowgroup", children: t }), Us = ({ children: e, className: t }) => /* @__PURE__ */ m.jsx("tbody", { className: nt(t, "pkt-table__body", {}), role: "rowgroup", children: e }), sr = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("tr", { className: nt(e, "pkt-table__row", {}), role: "row", children: t }), Ot = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("th", { className: nt(e, "pkt-table__header-cell", {}), role: "columnheader", children: t }), Et = ({ children: e, className: t, dataLabel: n }) => /* @__PURE__ */ m.jsx(
15296
+ ), Us = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("thead", { className: nt(e, "pkt-table__header", {}), role: "rowgroup", children: t }), Ws = ({ children: e, className: t }) => /* @__PURE__ */ m.jsx("tbody", { className: nt(t, "pkt-table__body", {}), role: "rowgroup", children: e }), sr = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("tr", { className: nt(e, "pkt-table__row", {}), role: "row", children: t }), Ot = ({ className: e, children: t }) => /* @__PURE__ */ m.jsx("th", { className: nt(e, "pkt-table__header-cell", {}), role: "columnheader", children: t }), Et = ({ children: e, className: t, dataLabel: n }) => /* @__PURE__ */ m.jsx(
15255
15297
  "td",
15256
15298
  {
15257
15299
  className: nt(t, "pkt-table__data-cell", {}),
@@ -15265,15 +15307,15 @@ const Vx = Ne(
15265
15307
  `) : r, n = (r) => typeof r == "boolean" ? r ? "true" : "false" : r;
15266
15308
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15267
15309
  /* @__PURE__ */ m.jsx("h2", { children: "Egenskaper" }),
15268
- /* @__PURE__ */ m.jsxs(qs, { compact: !0, children: [
15269
- /* @__PURE__ */ m.jsx(Hs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15310
+ /* @__PURE__ */ m.jsxs(Hs, { compact: !0, children: [
15311
+ /* @__PURE__ */ m.jsx(Us, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15270
15312
  /* @__PURE__ */ m.jsx(Ot, { children: "Navn" }),
15271
15313
  /* @__PURE__ */ m.jsx(Ot, { children: "Prop" }),
15272
15314
  /* @__PURE__ */ m.jsx(Ot, { children: "Beskrivelse" }),
15273
15315
  /* @__PURE__ */ m.jsx(Ot, { children: "Type" }),
15274
15316
  /* @__PURE__ */ m.jsx(Ot, { children: "Standardverdi" })
15275
15317
  ] }) }),
15276
- /* @__PURE__ */ m.jsx(Us, { children: Object.entries(e.props || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15318
+ /* @__PURE__ */ m.jsx(Ws, { children: Object.entries(e.props || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15277
15319
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Prop", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15278
15320
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Navn", children: !Array.isArray(i) && i.name || r }),
15279
15321
  Array.isArray(i) ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
@@ -15289,13 +15331,13 @@ const Vx = Ne(
15289
15331
  ] }),
15290
15332
  e.events && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15291
15333
  /* @__PURE__ */ m.jsx("h2", { children: "Hendelser / handlinger" }),
15292
- /* @__PURE__ */ m.jsxs(qs, { compact: !0, children: [
15293
- /* @__PURE__ */ m.jsx(Hs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15334
+ /* @__PURE__ */ m.jsxs(Hs, { compact: !0, children: [
15335
+ /* @__PURE__ */ m.jsx(Us, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15294
15336
  /* @__PURE__ */ m.jsx(Ot, { children: "Event" }),
15295
15337
  /* @__PURE__ */ m.jsx(Ot, { children: "Beskrivelse" }),
15296
15338
  /* @__PURE__ */ m.jsx(Ot, { children: "Type" })
15297
15339
  ] }) }),
15298
- /* @__PURE__ */ m.jsx(Us, { children: Object.entries(e.events || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15340
+ /* @__PURE__ */ m.jsx(Ws, { children: Object.entries(e.events || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15299
15341
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Event", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15300
15342
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ m.jsx("span", { dangerouslySetInnerHTML: { __html: i.description || "" } }) }),
15301
15343
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Type", children: i.type })
@@ -15304,12 +15346,12 @@ const Vx = Ne(
15304
15346
  ] }),
15305
15347
  e.slots && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
15306
15348
  /* @__PURE__ */ m.jsx("h2", { children: "Innhold" }),
15307
- /* @__PURE__ */ m.jsxs(qs, { compact: !0, children: [
15308
- /* @__PURE__ */ m.jsx(Hs, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15349
+ /* @__PURE__ */ m.jsxs(Hs, { compact: !0, children: [
15350
+ /* @__PURE__ */ m.jsx(Us, { children: /* @__PURE__ */ m.jsxs(sr, { children: [
15309
15351
  /* @__PURE__ */ m.jsx(Ot, { children: "Slot" }),
15310
15352
  /* @__PURE__ */ m.jsx(Ot, { children: "Beskrivelse" })
15311
15353
  ] }) }),
15312
- /* @__PURE__ */ m.jsx(Us, { children: Object.entries(e.slots || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15354
+ /* @__PURE__ */ m.jsx(Ws, { children: Object.entries(e.slots || {}).map(([r, i]) => /* @__PURE__ */ m.jsxs(sr, { children: [
15313
15355
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Slot", children: /* @__PURE__ */ m.jsx("pre", { children: r }) }),
15314
15356
  /* @__PURE__ */ m.jsx(Et, { dataLabel: "Beskrivelse", children: /* @__PURE__ */ m.jsx("span", { dangerouslySetInnerHTML: { __html: i.description || "" } }) })
15315
15357
  ] }, r)) })
@@ -15357,7 +15399,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15357
15399
  );
15358
15400
  });
15359
15401
  else {
15360
- const L = await Oo(S.current.innerHTML, {
15402
+ const L = await Io(S.current.innerHTML, {
15361
15403
  parser: "html",
15362
15404
  plugins: [t1]
15363
15405
  });
@@ -15407,7 +15449,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15407
15449
  hasFieldset: !0,
15408
15450
  requiredTag: N.required,
15409
15451
  children: /* @__PURE__ */ m.jsx(
15410
- Gs,
15452
+ Ks,
15411
15453
  {
15412
15454
  id: L,
15413
15455
  label: L,
@@ -15481,7 +15523,7 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15481
15523
  return /* @__PURE__ */ m.jsxs("div", { className: "pkt-preview", children: [
15482
15524
  /* @__PURE__ */ m.jsxs("div", { className: "pkt-preview__component-container", "data-mode": u, children: [
15483
15525
  e["dark-mode"] && /* @__PURE__ */ m.jsx("div", { className: "pkt-preview__mode", children: /* @__PURE__ */ m.jsx(
15484
- Gs,
15526
+ Ks,
15485
15527
  {
15486
15528
  id: "mode",
15487
15529
  label: "Dark mode",
@@ -15535,8 +15577,8 @@ const Kx = ({ specs: e, children: t, fullWidth: n }) => {
15535
15577
  };
15536
15578
  Kx.displayName = "PktPreview";
15537
15579
  var tt = [];
15538
- for (var Ws = 0; Ws < 256; ++Ws)
15539
- tt.push((Ws + 256).toString(16).slice(1));
15580
+ for (var zs = 0; zs < 256; ++zs)
15581
+ tt.push((zs + 256).toString(16).slice(1));
15540
15582
  function Jx(e, t = 0) {
15541
15583
  return (tt[e[t + 0]] + tt[e[t + 1]] + tt[e[t + 2]] + tt[e[t + 3]] + "-" + tt[e[t + 4]] + tt[e[t + 5]] + "-" + tt[e[t + 6]] + tt[e[t + 7]] + "-" + tt[e[t + 8]] + tt[e[t + 9]] + "-" + tt[e[t + 10]] + tt[e[t + 11]] + tt[e[t + 12]] + tt[e[t + 13]] + tt[e[t + 14]] + tt[e[t + 15]]).toLowerCase();
15542
15584
  }
@@ -15667,7 +15709,7 @@ const n_ = Ne(
15667
15709
  }
15668
15710
  );
15669
15711
  n_.displayName = "PktRadioButton";
15670
- const O_ = Ne(
15712
+ const L_ = Ne(
15671
15713
  ({
15672
15714
  appearance: e = "local",
15673
15715
  disabled: t = !1,
@@ -15752,7 +15794,7 @@ const O_ = Ne(
15752
15794
  ] })
15753
15795
  );
15754
15796
  }
15755
- ), I_ = Ne(
15797
+ ), O_ = Ne(
15756
15798
  ({
15757
15799
  activeStep: e,
15758
15800
  className: t,
@@ -15778,7 +15820,7 @@ const O_ = Ne(
15778
15820
  ] }), i_ = /* @__PURE__ */ m.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
15779
15821
  /* @__PURE__ */ m.jsx("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
15780
15822
  /* @__PURE__ */ m.jsx("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" })
15781
- ] }), M_ = ({ children: e, className: t, status: n = "incomplete", title: r }) => /* @__PURE__ */ m.jsxs("li", { className: nt("pkt-step", t, `pkt-step--${n}`), "data-testid": "pkt-step", children: [
15823
+ ] }), I_ = ({ children: e, className: t, status: n = "incomplete", title: r }) => /* @__PURE__ */ m.jsxs("li", { className: nt("pkt-step", t, `pkt-step--${n}`), "data-testid": "pkt-step", children: [
15782
15824
  /* @__PURE__ */ m.jsx("span", { className: "pkt-step__line pkt-step__line--1", "aria-hidden": !0 }),
15783
15825
  /* @__PURE__ */ m.jsx("span", { className: "pkt-step__line pkt-step__line--2", "aria-hidden": !0 }),
15784
15826
  /* @__PURE__ */ m.jsx("span", { className: nt("pkt-step__indicator"), children: n === "current" ? a_ : n === "completed" ? i_ : r_ }),
@@ -15787,7 +15829,7 @@ const O_ = Ne(
15787
15829
  /* @__PURE__ */ m.jsx("div", { className: "pkt-step__title", children: r }),
15788
15830
  /* @__PURE__ */ m.jsx("div", { className: "pkt-step__content", children: e })
15789
15831
  ] })
15790
- ] }), R_ = Ne(
15832
+ ] }), M_ = Ne(
15791
15833
  ({
15792
15834
  id: e,
15793
15835
  ariaDescribedby: t,
@@ -15874,11 +15916,11 @@ export {
15874
15916
  p_ as PktBreadcrumbs,
15875
15917
  fr as PktButton,
15876
15918
  R2 as PktCard,
15877
- Gs as PktCheckbox,
15919
+ Ks as PktCheckbox,
15878
15920
  q2 as PktDatepicker,
15879
- N_ as PktFooter,
15880
- j_ as PktFooterSimple,
15881
- P_ as PktHeader,
15921
+ B_ as PktFooter,
15922
+ N_ as PktFooterSimple,
15923
+ j_ as PktHeader,
15882
15924
  ee as PktIcon,
15883
15925
  rg as PktIconContext,
15884
15926
  H2 as PktInput,
@@ -15890,18 +15932,18 @@ export {
15890
15932
  Kx as PktPreview,
15891
15933
  t_ as PktProgressbar,
15892
15934
  n_ as PktRadioButton,
15893
- O_ as PktSearchInput,
15935
+ L_ as PktSearchInput,
15894
15936
  Mc as PktSelect,
15895
- M_ as PktStep,
15896
- I_ as PktStepper,
15897
- qs as PktTable,
15898
- Us as PktTableBody,
15937
+ I_ as PktStep,
15938
+ O_ as PktStepper,
15939
+ Hs as PktTable,
15940
+ Ws as PktTableBody,
15899
15941
  Et as PktTableDataCell,
15900
- Hs as PktTableHeader,
15942
+ Us as PktTableHeader,
15901
15943
  Ot as PktTableHeaderCell,
15902
15944
  sr as PktTableRow,
15903
15945
  Vx as PktTabs,
15904
15946
  ma as PktTag,
15905
- R_ as PktTextarea,
15947
+ M_ as PktTextarea,
15906
15948
  Rc as PktTextinput
15907
15949
  };