@forsakringskassan/docs-generator 2.37.1 → 2.38.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/markdown.mjs CHANGED
@@ -2,8 +2,8 @@ import { createRequire as $createRequire } from "node:module";
2
2
 
3
3
  const require = $createRequire(import.meta.url);
4
4
 
5
- export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-BO8ZE3IZ.mjs';
6
- import './vendor-Bk5vSW_n.mjs';
5
+ export { S as SoftError, c as createMarkdownRenderer } from './create-markdown-renderer-1_yCrnbT.mjs';
6
+ import './vendor-BK-uA6Uv.mjs';
7
7
  import 'node:url';
8
8
  import 'node:path';
9
9
  import 'fs';
@@ -40,6 +40,6 @@ import 'v8';
40
40
  import 'node:path/posix';
41
41
  import 'node:child_process';
42
42
  import 'vue';
43
- import './vue3-DtTC1eal.mjs';
43
+ import './vue3-fRI2JWNs.mjs';
44
44
  import 'vue/compiler-sfc';
45
45
  //# sourceMappingURL=markdown.mjs.map
@@ -2083,21 +2083,21 @@ function updateVersionList(element, versions) {
2083
2083
  const a = item.querySelector("a");
2084
2084
  a.href = getUrl(document, `../${version}`);
2085
2085
  a.textContent = version;
2086
- ul.appendChild(item);
2086
+ ul.append(item);
2087
2087
  }
2088
2088
  element.innerHTML = "";
2089
- element.appendChild(ul);
2089
+ element.append(ul);
2090
2090
  }
2091
2091
  function setErrorMessage(element) {
2092
2092
  if (!element) {
2093
2093
  return;
2094
2094
  }
2095
2095
  const p = document.createElement("p");
2096
- p.innerText = "Det gick inte att hitta n\xE5gra tidigare versioner!";
2096
+ p.textContent = "Det gick inte att hitta n\xE5gra tidigare versioner!";
2097
2097
  element.innerHTML = "";
2098
- element.appendChild(p);
2098
+ element.append(p);
2099
2099
  }
2100
- initVersionProcessor();
2101
2100
  window.addEventListener("docs:navigation", () => {
2102
- initVersionProcessor();
2101
+ void initVersionProcessor();
2103
2102
  });
2103
+ await initVersionProcessor();
@@ -9,10 +9,10 @@ function onContentReady(callback) {
9
9
  }
10
10
 
11
11
  // src/runtime/with-cookie-consent.ts
12
+ function hasCookie(name) {
13
+ return document.cookie.split("; ").some((row) => row.startsWith(`${name}=`));
14
+ }
12
15
  function withCookieConsent(callback) {
13
- function hasCookie(name) {
14
- return document.cookie.split("; ").some((row) => row.startsWith(`${name}=`));
15
- }
16
16
  onContentReady(() => {
17
17
  if (!document.querySelector(".cookie-warning")) {
18
18
  callback();
package/dist/runtime.mjs CHANGED
@@ -1463,18 +1463,18 @@ function unapply(func) {
1463
1463
  if (thisArg instanceof RegExp) {
1464
1464
  thisArg.lastIndex = 0;
1465
1465
  }
1466
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1467
- args[_key - 1] = arguments[_key];
1466
+ for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
1467
+ args[_key3 - 1] = arguments[_key3];
1468
1468
  }
1469
1469
  return apply(func, thisArg, args);
1470
1470
  };
1471
1471
  }
1472
- function unconstruct(func) {
1472
+ function unconstruct(Func) {
1473
1473
  return function() {
1474
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1475
- args[_key2] = arguments[_key2];
1474
+ for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
1475
+ args[_key4] = arguments[_key4];
1476
1476
  }
1477
- return construct(func, args);
1477
+ return construct(Func, args);
1478
1478
  };
1479
1479
  }
1480
1480
  function addToSet(set5, array4) {
@@ -1544,7 +1544,7 @@ function lookupGetter(object3, prop) {
1544
1544
  function createDOMPurify() {
1545
1545
  let window3 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
1546
1546
  const DOMPurify = (root3) => createDOMPurify(root3);
1547
- DOMPurify.version = "3.2.5";
1547
+ DOMPurify.version = "3.3.2";
1548
1548
  DOMPurify.removed = [];
1549
1549
  if (!window3 || !window3.document || window3.document.nodeType !== NODE_TYPE.document || !window3.Element) {
1550
1550
  DOMPurify.isSupported = false;
@@ -1630,6 +1630,20 @@ function createDOMPurify() {
1630
1630
  }));
1631
1631
  let FORBID_TAGS = null;
1632
1632
  let FORBID_ATTR = null;
1633
+ const EXTRA_ELEMENT_HANDLING = Object.seal(create(null, {
1634
+ tagCheck: {
1635
+ writable: true,
1636
+ configurable: false,
1637
+ enumerable: true,
1638
+ value: null
1639
+ },
1640
+ attributeCheck: {
1641
+ writable: true,
1642
+ configurable: false,
1643
+ enumerable: true,
1644
+ value: null
1645
+ }
1646
+ }));
1633
1647
  let ALLOW_ARIA_ATTR = true;
1634
1648
  let ALLOW_DATA_ATTR = true;
1635
1649
  let ALLOW_UNKNOWN_PROTOCOLS = false;
@@ -1691,8 +1705,8 @@ function createDOMPurify() {
1691
1705
  URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
1692
1706
  DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
1693
1707
  FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
1694
- FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
1695
- FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
1708
+ FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
1709
+ FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
1696
1710
  USE_PROFILES = objectHasOwnProperty(cfg, "USE_PROFILES") ? cfg.USE_PROFILES : false;
1697
1711
  ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;
1698
1712
  ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;
@@ -1731,7 +1745,7 @@ function createDOMPurify() {
1731
1745
  }
1732
1746
  if (USE_PROFILES) {
1733
1747
  ALLOWED_TAGS = addToSet({}, text);
1734
- ALLOWED_ATTR = [];
1748
+ ALLOWED_ATTR = create(null);
1735
1749
  if (USE_PROFILES.html === true) {
1736
1750
  addToSet(ALLOWED_TAGS, html$1);
1737
1751
  addToSet(ALLOWED_ATTR, html);
@@ -1752,17 +1766,31 @@ function createDOMPurify() {
1752
1766
  addToSet(ALLOWED_ATTR, xml);
1753
1767
  }
1754
1768
  }
1769
+ if (!objectHasOwnProperty(cfg, "ADD_TAGS")) {
1770
+ EXTRA_ELEMENT_HANDLING.tagCheck = null;
1771
+ }
1772
+ if (!objectHasOwnProperty(cfg, "ADD_ATTR")) {
1773
+ EXTRA_ELEMENT_HANDLING.attributeCheck = null;
1774
+ }
1755
1775
  if (cfg.ADD_TAGS) {
1756
- if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
1757
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
1776
+ if (typeof cfg.ADD_TAGS === "function") {
1777
+ EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
1778
+ } else {
1779
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
1780
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
1781
+ }
1782
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
1758
1783
  }
1759
- addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
1760
1784
  }
1761
1785
  if (cfg.ADD_ATTR) {
1762
- if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
1763
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
1786
+ if (typeof cfg.ADD_ATTR === "function") {
1787
+ EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
1788
+ } else {
1789
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
1790
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
1791
+ }
1792
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
1764
1793
  }
1765
- addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
1766
1794
  }
1767
1795
  if (cfg.ADD_URI_SAFE_ATTR) {
1768
1796
  addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
@@ -1773,6 +1801,12 @@ function createDOMPurify() {
1773
1801
  }
1774
1802
  addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
1775
1803
  }
1804
+ if (cfg.ADD_FORBID_CONTENTS) {
1805
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
1806
+ FORBID_CONTENTS = clone(FORBID_CONTENTS);
1807
+ }
1808
+ addToSet(FORBID_CONTENTS, cfg.ADD_FORBID_CONTENTS, transformCaseFunc);
1809
+ }
1776
1810
  if (KEEP_CONTENT) {
1777
1811
  ALLOWED_TAGS["#text"] = true;
1778
1812
  }
@@ -1956,7 +1990,7 @@ function createDOMPurify() {
1956
1990
  tagName,
1957
1991
  allowedTags: ALLOWED_TAGS
1958
1992
  });
1959
- if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1993
+ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1960
1994
  _forceRemove(currentNode);
1961
1995
  return true;
1962
1996
  }
@@ -1968,7 +2002,7 @@ function createDOMPurify() {
1968
2002
  _forceRemove(currentNode);
1969
2003
  return true;
1970
2004
  }
1971
- if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
2005
+ if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
1972
2006
  if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
1973
2007
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
1974
2008
  return false;
@@ -2016,17 +2050,21 @@ function createDOMPurify() {
2016
2050
  return false;
2017
2051
  };
2018
2052
  const _isValidAttribute = function _isValidAttribute2(lcTag, lcName, value2) {
2053
+ if (FORBID_ATTR[lcName]) {
2054
+ return false;
2055
+ }
2019
2056
  if (SANITIZE_DOM && (lcName === "id" || lcName === "name") && (value2 in document2 || value2 in formElement)) {
2020
2057
  return false;
2021
2058
  }
2022
2059
  if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
2023
2060
  else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
2061
+ else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
2024
2062
  else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
2025
2063
  if (
2026
2064
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
2027
2065
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2028
2066
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
2029
- _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2067
+ _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
2030
2068
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
2031
2069
  lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value2) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value2))
2032
2070
  ) ;
@@ -2069,7 +2107,8 @@ function createDOMPurify() {
2069
2107
  value: attrValue
2070
2108
  } = attr;
2071
2109
  const lcName = transformCaseFunc(name);
2072
- let value2 = name === "value" ? attrValue : stringTrim(attrValue);
2110
+ const initValue = attrValue;
2111
+ let value2 = name === "value" ? initValue : stringTrim(initValue);
2073
2112
  hookEvent.attrName = lcName;
2074
2113
  hookEvent.attrValue = value2;
2075
2114
  hookEvent.keepAttr = true;
@@ -2080,15 +2119,19 @@ function createDOMPurify() {
2080
2119
  _removeAttribute(name, currentNode);
2081
2120
  value2 = SANITIZE_NAMED_PROPS_PREFIX + value2;
2082
2121
  }
2083
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value2)) {
2122
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value2)) {
2123
+ _removeAttribute(name, currentNode);
2124
+ continue;
2125
+ }
2126
+ if (lcName === "attributename" && stringMatch(value2, "href")) {
2084
2127
  _removeAttribute(name, currentNode);
2085
2128
  continue;
2086
2129
  }
2087
2130
  if (hookEvent.forceKeepAttr) {
2088
2131
  continue;
2089
2132
  }
2090
- _removeAttribute(name, currentNode);
2091
2133
  if (!hookEvent.keepAttr) {
2134
+ _removeAttribute(name, currentNode);
2092
2135
  continue;
2093
2136
  }
2094
2137
  if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value2)) {
@@ -2102,6 +2145,7 @@ function createDOMPurify() {
2102
2145
  }
2103
2146
  const lcTag = transformCaseFunc(currentNode.nodeName);
2104
2147
  if (!_isValidAttribute(lcTag, lcName, value2)) {
2148
+ _removeAttribute(name, currentNode);
2105
2149
  continue;
2106
2150
  }
2107
2151
  if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
@@ -2119,18 +2163,21 @@ function createDOMPurify() {
2119
2163
  }
2120
2164
  }
2121
2165
  }
2122
- try {
2123
- if (namespaceURI) {
2124
- currentNode.setAttributeNS(namespaceURI, name, value2);
2125
- } else {
2126
- currentNode.setAttribute(name, value2);
2127
- }
2128
- if (_isClobbered(currentNode)) {
2129
- _forceRemove(currentNode);
2130
- } else {
2131
- arrayPop(DOMPurify.removed);
2166
+ if (value2 !== initValue) {
2167
+ try {
2168
+ if (namespaceURI) {
2169
+ currentNode.setAttributeNS(namespaceURI, name, value2);
2170
+ } else {
2171
+ currentNode.setAttribute(name, value2);
2172
+ }
2173
+ if (_isClobbered(currentNode)) {
2174
+ _forceRemove(currentNode);
2175
+ } else {
2176
+ arrayPop(DOMPurify.removed);
2177
+ }
2178
+ } catch (_3) {
2179
+ _removeAttribute(name, currentNode);
2132
2180
  }
2133
- } catch (_3) {
2134
2181
  }
2135
2182
  }
2136
2183
  _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
@@ -2313,12 +2360,18 @@ var init_purify_es = __esm({
2313
2360
  };
2314
2361
  }
2315
2362
  if (!apply) {
2316
- apply = function apply4(fun, thisValue, args) {
2317
- return fun.apply(thisValue, args);
2363
+ apply = function apply4(func, thisArg) {
2364
+ for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
2365
+ args[_key - 2] = arguments[_key];
2366
+ }
2367
+ return func.apply(thisArg, args);
2318
2368
  };
2319
2369
  }
2320
2370
  if (!construct) {
2321
- construct = function construct2(Func, args) {
2371
+ construct = function construct2(Func) {
2372
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
2373
+ args[_key2 - 1] = arguments[_key2];
2374
+ }
2322
2375
  return new Func(...args);
2323
2376
  };
2324
2377
  }
@@ -2336,15 +2389,15 @@ var init_purify_es = __esm({
2336
2389
  objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
2337
2390
  regExpTest = unapply(RegExp.prototype.test);
2338
2391
  typeErrorCreate = unconstruct(TypeError);
2339
- html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
2340
- svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
2392
+ html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
2393
+ svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
2341
2394
  svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
2342
2395
  svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
2343
2396
  mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
2344
2397
  mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
2345
2398
  text = freeze(["#text"]);
2346
- html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
2347
- svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
2399
+ html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
2400
+ svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
2348
2401
  mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
2349
2402
  xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
2350
2403
  MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
@@ -2353,7 +2406,7 @@ var init_purify_es = __esm({
2353
2406
  DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
2354
2407
  ARIA_ATTR = seal(/^aria-[\-\w]+$/);
2355
2408
  IS_ALLOWED_URI = seal(
2356
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2409
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2357
2410
  // eslint-disable-line no-useless-escape
2358
2411
  );
2359
2412
  IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
@@ -154584,7 +154637,7 @@ function closeNested(details) {
154584
154637
  }
154585
154638
  }
154586
154639
  function cloneScripts(element3, href) {
154587
- const ts = String((/* @__PURE__ */ new Date()).getTime());
154640
+ const ts = String(Date.now());
154588
154641
  for (const script of element3.querySelectorAll("script")) {
154589
154642
  const copy5 = document.createElement("script");
154590
154643
  const src = script.getAttribute("src");
@@ -154709,7 +154762,7 @@ function updateSidenavHeight(navigation2) {
154709
154762
  }
154710
154763
  return 0;
154711
154764
  })();
154712
- variableBlock.innerText = /* CSS */
154765
+ variableBlock.textContent = /* CSS */
154713
154766
  `
154714
154767
  #sidenav {
154715
154768
  --header-footer-visible-height: ${String(offset)}px;
@@ -154743,7 +154796,7 @@ if (toggle && navigation) {
154743
154796
  }
154744
154797
  previousPath = location.pathname;
154745
154798
  });
154746
- document.head.appendChild(variableBlock);
154799
+ document.head.append(variableBlock);
154747
154800
  updateSidenavHeight(navigation);
154748
154801
  window.addEventListener("scroll", () => {
154749
154802
  updateSidenavHeight(navigation);
@@ -155558,6 +155611,26 @@ function isMoreSpecific(a2, b3) {
155558
155611
  }
155559
155612
  return a2.matchType === "title" && b3.matchType === "term";
155560
155613
  }
155614
+ function updateActive(items, active) {
155615
+ for (const [index, item2] of items.entries()) {
155616
+ item2.classList.toggle("list__item--active", index === active);
155617
+ }
155618
+ const item = items[active];
155619
+ e4(item, {
155620
+ scrollMode: "if-needed",
155621
+ block: "nearest",
155622
+ inline: "nearest"
155623
+ });
155624
+ }
155625
+ function isOutside(rect3, point8) {
155626
+ if (point8.y < rect3.top || point8.y > rect3.top + rect3.height) {
155627
+ return true;
155628
+ }
155629
+ if (point8.x < rect3.left || point8.x > rect3.left + rect3.width) {
155630
+ return true;
155631
+ }
155632
+ return false;
155633
+ }
155561
155634
  function setup() {
155562
155635
  const searchData = document.querySelector("#search-data");
155563
155636
  if (!searchData) {
@@ -155627,8 +155700,10 @@ function setup() {
155627
155700
  const rootUrl = document.documentElement.dataset.rootUrl ?? ".";
155628
155701
  const ul = document.createElement("ul");
155629
155702
  ul.classList.add("list");
155630
- for (let i3 = 0; i3 < searchResults.length; i3++) {
155631
- const { matchType, highlighted, doc } = searchResults[i3];
155703
+ for (const [
155704
+ i3,
155705
+ { matchType, highlighted, doc }
155706
+ ] of searchResults.entries()) {
155632
155707
  const li = document.createElement("li");
155633
155708
  const a2 = document.createElement("a");
155634
155709
  if (matchType === "term") {
@@ -155640,31 +155715,11 @@ function setup() {
155640
155715
  a2.classList.add("list__item__itempane");
155641
155716
  li.classList.add("list__item");
155642
155717
  li.classList.toggle("list__item--active", i3 === active);
155643
- li.appendChild(a2);
155644
- ul.appendChild(li);
155718
+ li.append(a2);
155719
+ ul.append(li);
155645
155720
  }
155646
155721
  results.innerHTML = "";
155647
- results.appendChild(ul);
155648
- }
155649
- function updateActive(items, active2) {
155650
- items.forEach((item2, index2) => {
155651
- item2.classList.toggle("list__item--active", index2 === active2);
155652
- });
155653
- const item = items[active2];
155654
- e4(item, {
155655
- scrollMode: "if-needed",
155656
- block: "nearest",
155657
- inline: "nearest"
155658
- });
155659
- }
155660
- function isOutside(rect3, point8) {
155661
- if (point8.y < rect3.top || point8.y > rect3.top + rect3.height) {
155662
- return true;
155663
- }
155664
- if (point8.x < rect3.left || point8.x > rect3.left + rect3.width) {
155665
- return true;
155666
- }
155667
- return false;
155722
+ results.append(ul);
155668
155723
  }
155669
155724
  function clickOutside(event3) {
155670
155725
  const rect3 = dialog.getBoundingClientRect();
@@ -155884,9 +155939,9 @@ function calculateVisibility(refs) {
155884
155939
  const menuItems = refs.itemPairs.map((item) => item.menu);
155885
155940
  let overflowIndex = menuItems.findIndex((it) => hasOverflow(refs.nav, it));
155886
155941
  if (overflowIndex === -1) {
155887
- refs.itemPairs.forEach((it) => {
155942
+ for (const it of refs.itemPairs) {
155888
155943
  setMenuItemVisibility(it, true);
155889
- });
155944
+ }
155890
155945
  refs.moreItem.style.visibility = "hidden";
155891
155946
  setPopoverVisibility(false, refs);
155892
155947
  return;
@@ -155897,9 +155952,9 @@ function calculateVisibility(refs) {
155897
155952
  })) {
155898
155953
  overflowIndex--;
155899
155954
  }
155900
- refs.itemPairs.forEach((it, index) => {
155955
+ for (const [index, it] of refs.itemPairs.entries()) {
155901
155956
  setMenuItemVisibility(it, index < overflowIndex);
155902
- });
155957
+ }
155903
155958
  refs.moreItem.classList.toggle(
155904
155959
  "highlight",
155905
155960
  refs.highlightIndex >= overflowIndex
@@ -155978,7 +156033,7 @@ export {
155978
156033
  /*! Bundled license information:
155979
156034
 
155980
156035
  dompurify/dist/purify.es.mjs:
155981
- (*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE *)
156036
+ (*! @license DOMPurify 3.3.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.2/LICENSE *)
155982
156037
 
155983
156038
  mermaid/dist/chunks/mermaid.core/chunk-MI3HLSF2.mjs:
155984
156039
  (*! Bundled license information:
@@ -86,48 +86,71 @@ h6:not(.code-preview h6) {
86
86
  font-family: var(--docs-heading-font-family);
87
87
  line-height: var(--docs-heading-line-height);
88
88
  margin-top: 0;
89
- margin-bottom: 0.25rem;
90
89
  text-wrap: balance;
91
90
  text-wrap: pretty;
92
91
  }
93
92
 
93
+ h1:not(.code-preview h1) {
94
+ font-weight: var(--docs-heading-font-weight-h1);
95
+ margin-bottom: var(--docs-heading-margin-bottom-h1);
96
+ }
97
+
98
+ h2:not(.code-preview h2) {
99
+ font-weight: var(--docs-heading-font-weight-h2);
100
+ margin-bottom: var(--docs-heading-margin-bottom-h2);
101
+ }
102
+
103
+ h3:not(.code-preview h3) {
104
+ font-weight: var(--docs-heading-font-weight-h3);
105
+ margin-bottom: var(--docs-heading-margin-bottom-h3);
106
+ }
107
+
108
+ h4:not(.code-preview h4) {
109
+ font-weight: var(--docs-heading-font-weight-h4);
110
+ margin-bottom: var(--docs-heading-margin-bottom-h4);
111
+ }
112
+
113
+ h5:not(.code-preview h5) {
114
+ font-weight: var(--docs-heading-font-weight-h5);
115
+ margin-bottom: var(--docs-heading-margin-bottom-h5);
116
+ }
117
+
118
+ h6:not(.code-preview h6) {
119
+ font-weight: var(--docs-heading-font-weight-h6);
120
+ margin-bottom: var(--docs-heading-margin-bottom-h6);
121
+ }
122
+
94
123
  h1 {
95
124
  font-size: var(--f-font-size-h1);
96
- font-weight: var(--docs-heading-font-weight-h1);
97
125
  color: var(--f-text-color-heading-1);
98
126
  letter-spacing: var(--docs-heading-letter-spacing-h1);
99
127
  }
100
128
 
101
129
  h2 {
102
130
  font-size: var(--f-font-size-h2);
103
- font-weight: var(--docs-heading-font-weight-h2);
104
131
  color: var(--f-text-color-heading-2);
105
132
  letter-spacing: var(--docs-heading-letter-spacing-h2);
106
133
  }
107
134
 
108
135
  h3 {
109
136
  font-size: var(--f-font-size-h3);
110
- font-weight: var(--docs-heading-font-weight-h3);
111
137
  color: var(--f-text-color-heading-3);
112
138
  letter-spacing: var(--docs-heading-letter-spacing-h3);
113
139
  }
114
140
 
115
141
  h4 {
116
142
  font-size: var(--f-font-size-h4);
117
- font-weight: var(--docs-heading-font-weight-h4);
118
143
  color: var(--f-text-color-heading-4);
119
144
  letter-spacing: var(--docs-heading-letter-spacing-h4);
120
145
  }
121
146
 
122
147
  h5 {
123
148
  font-size: var(--f-font-size-large);
124
- font-weight: var(--docs-heading-font-weight-h5);
125
149
  color: var(--f-text-color-heading-5);
126
150
  }
127
151
 
128
152
  h6 {
129
153
  font-size: var(--f-font-size-standard);
130
- font-weight: var(--docs-heading-font-weight-h6);
131
154
  color: var(--f-text-color-heading-6);
132
155
  }
133
156