@forsakringskassan/docs-generator 2.15.5 → 2.15.7

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.
@@ -3,7 +3,7 @@
3
3
  var path$1 = require('node:path');
4
4
  var esbuild = require('esbuild');
5
5
  var vue = require('vue');
6
- var vue3 = require('./vue3-Dgc-sSad.js');
6
+ var vue3 = require('./vue3-BCT8XWie.js');
7
7
  var path = require('node:path/posix');
8
8
  require('@vue/compiler-sfc');
9
9
  require('./vendor-Bxk8vVJ2.js');
@@ -8,7 +8,7 @@ var crypto = require('node:crypto');
8
8
  require('node:child_process');
9
9
  var fs = require('node:fs');
10
10
  var vue = require('vue');
11
- var vue3 = require('./vue3-Dgc-sSad.js');
11
+ var vue3 = require('./vue3-BCT8XWie.js');
12
12
 
13
13
  function findDocument(haystack, needle) {
14
14
  const match = haystack.find((it) => {
@@ -260,21 +260,34 @@ function generateVueExample(options) {
260
260
  code: source,
261
261
  setupPath
262
262
  });
263
- return {
264
- source,
265
- language: options.language,
266
- comments: [],
267
- tags,
268
- markup,
269
- output,
270
- runtime: true,
271
- task: {
272
- outputFile: output,
273
- sourcecode,
274
- sourceFile: filename,
275
- parent
276
- }
277
- };
263
+ if (output) {
264
+ return {
265
+ source,
266
+ language: options.language,
267
+ comments: [],
268
+ tags,
269
+ markup,
270
+ output,
271
+ runtime: true,
272
+ task: {
273
+ outputFile: output,
274
+ sourcecode,
275
+ sourceFile: filename,
276
+ parent
277
+ }
278
+ };
279
+ } else {
280
+ return {
281
+ source: sourcecode,
282
+ language: "plaintext",
283
+ comments: [],
284
+ tags,
285
+ markup,
286
+ output: null,
287
+ runtime: true,
288
+ task: null
289
+ };
290
+ }
278
291
  }
279
292
  function generateStaticExample(options) {
280
293
  const { filename, source, language, tags } = options;
@@ -488,7 +501,7 @@ function htmlencode(text) {
488
501
  function replaceAtLink(text) {
489
502
  return text.replace(
490
503
  /{@link [^}]+[$}]/g,
491
- (match) => match.replace("{", "{").replace("}", "}")
504
+ (match) => match.replace(/^{/, "{").replace(/}$/, "}")
492
505
  );
493
506
  }
494
507
 
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var vendor = require('./vendor-Bxk8vVJ2.js');
6
6
  var path$1 = require('node:path');
7
7
  var require$$1 = require('crypto');
8
8
  require('node:crypto');
9
- var createMarkdownRenderer = require('./create-markdown-renderer-BeXKdFXE.js');
9
+ var createMarkdownRenderer = require('./create-markdown-renderer-B5UrByJ_.js');
10
10
  var node_child_process = require('node:child_process');
11
11
  var util = require('node:util');
12
12
  var vueDocgenApi = require('vue-docgen-api');
@@ -43,7 +43,7 @@ require('tls');
43
43
  require('tty');
44
44
  require('querystring');
45
45
  require('vue');
46
- require('./vue3-Dgc-sSad.js');
46
+ require('./vue3-BCT8XWie.js');
47
47
 
48
48
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
49
49
  function toArray$2(value) {
@@ -552,6 +552,7 @@ const template = (dst) => (
552
552
  <!doctype html>
553
553
  <html lang="en">
554
554
  <head>
555
+ <title>Redirect</title>
555
556
  <meta http-equiv="refresh" content="0; url=${dst}" />
556
557
  </head>
557
558
  <body>
@@ -1813,6 +1814,31 @@ function findTemplate(folders, from, src, format) {
1813
1814
  return template;
1814
1815
  }
1815
1816
 
1817
+ const messageRegex = /^[(][^)]+[)] \[Line \d+, Column \d+\]\n\s+Error: (.*)$/;
1818
+ function getActualMessage(message) {
1819
+ const match = message.match(messageRegex);
1820
+ if (match) {
1821
+ return match[1].trim();
1822
+ } else {
1823
+ return message;
1824
+ }
1825
+ }
1826
+ class TemplateRenderError extends Error {
1827
+ filename;
1828
+ constructor(message, filename) {
1829
+ super(getActualMessage(message));
1830
+ this.name = "RenderError";
1831
+ this.filename = filename;
1832
+ }
1833
+ prettyError() {
1834
+ return [
1835
+ `An error occured when rendering a document.`,
1836
+ ` Document: "${this.filename}".`,
1837
+ ` Message: ${this.message}`
1838
+ ].join("\n");
1839
+ }
1840
+ }
1841
+
1816
1842
  const scriptPath = path$1.join(__dirname, "compile-example.js");
1817
1843
  let loader = null;
1818
1844
  function haveOutputFile(fileInfo) {
@@ -2015,7 +2041,11 @@ async function render(doc, docs, nav, vendors, options) {
2015
2041
  try {
2016
2042
  content = await renderTemplate(template, templateData);
2017
2043
  } catch (err) {
2018
- const prefix = `Failed to render "${fileInfo.fullPath}"`;
2044
+ const filename = fileInfo.fullPath;
2045
+ if (err instanceof Error && err.name === "Template render error") {
2046
+ throw new TemplateRenderError(err.message, filename);
2047
+ }
2048
+ const prefix = `Failed to render "${filename}"`;
2019
2049
  const message = err instanceof Error ? err.message : String(err);
2020
2050
  throw new Error(`${prefix}: ${message}`, { cause: err });
2021
2051
  }
package/dist/markdown.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createMarkdownRenderer = require('./create-markdown-renderer-BeXKdFXE.js');
3
+ var createMarkdownRenderer = require('./create-markdown-renderer-B5UrByJ_.js');
4
4
  require('./vendor-Bxk8vVJ2.js');
5
5
  require('node:url');
6
6
  require('node:path');
@@ -37,7 +37,7 @@ require('querystring');
37
37
  require('node:path/posix');
38
38
  require('node:crypto');
39
39
  require('vue');
40
- require('./vue3-Dgc-sSad.js');
40
+ require('./vue3-BCT8XWie.js');
41
41
 
42
42
 
43
43
 
package/dist/runtime.js CHANGED
@@ -2208,7 +2208,20 @@ var init_purify_es = __esm({
2208
2208
  // node_modules/katex/dist/katex.mjs
2209
2209
  var katex_exports = {};
2210
2210
  __export(katex_exports, {
2211
- default: () => katex
2211
+ ParseError: () => ParseError,
2212
+ SETTINGS_SCHEMA: () => SETTINGS_SCHEMA,
2213
+ __defineFunction: () => defineFunction,
2214
+ __defineMacro: () => defineMacro,
2215
+ __defineSymbol: () => defineSymbol,
2216
+ __domTree: () => __domTree,
2217
+ __parse: () => generateParseTree,
2218
+ __renderToDomTree: () => renderToDomTree,
2219
+ __renderToHTMLTree: () => renderToHTMLTree,
2220
+ __setFontMetrics: () => setFontMetrics,
2221
+ default: () => katex,
2222
+ render: () => render,
2223
+ renderToString: () => renderToString,
2224
+ version: () => version
2212
2225
  });
2213
2226
  function escape2(text4) {
2214
2227
  return String(text4).replace(ESCAPE_REGEX, (match2) => ESCAPE_LOOKUP[match2]);
@@ -2450,6 +2463,20 @@ function buildHTML(tree, options3) {
2450
2463
  function newDocumentFragment(children2) {
2451
2464
  return new DocumentFragment(children2);
2452
2465
  }
2466
+ function isNumberPunctuation(group2) {
2467
+ if (!group2) {
2468
+ return false;
2469
+ }
2470
+ if (group2.type === "mi" && group2.children.length === 1) {
2471
+ var child = group2.children[0];
2472
+ return child instanceof TextNode && child.text === ".";
2473
+ } else if (group2.type === "mo" && group2.children.length === 1 && group2.getAttribute("separator") === "true" && group2.getAttribute("lspace") === "0em" && group2.getAttribute("rspace") === "0em") {
2474
+ var _child = group2.children[0];
2475
+ return _child instanceof TextNode && _child.text === ",";
2476
+ } else {
2477
+ return false;
2478
+ }
2479
+ }
2453
2480
  function buildMathML(tree, texExpression, options3, isDisplayMode, forMathmlOnly) {
2454
2481
  var expression = buildExpression2(tree, options3);
2455
2482
  var wrapper;
@@ -2886,7 +2913,7 @@ function sizingGroup(value2, options3, baseOptions) {
2886
2913
  }
2887
2914
  return buildCommon.makeFragment(inner2);
2888
2915
  }
2889
- var SourceLocation, Token, ParseError, contains, deflt, uppercase, hyphenate, ESCAPE_LOOKUP, ESCAPE_REGEX, getBaseElem, isCharacterBox, assert, protocolFromUrl, utils, SETTINGS_SCHEMA, Settings, Style, D, Dc, T, Tc, S, Sc, SS, SSc, styles, sup, sub, fracNum, fracDen, cramp, text$1, Style$1, scriptData, allBlocks, hLinePad, sqrtMain, sqrtSize1, sqrtSize2, sqrtSize3, sqrtSize4, phasePath, sqrtTall, sqrtPath, innerPath, path, tallDelim, DocumentFragment, fontMetricsData, sigmasAndXis, extraCharacterMap, fontMetricsBySizeIndex, sizeStyleMap, sizeMultipliers, sizeAtStyle, Options, ptPerUnit, relativeUnit, validUnit, calculateSize, makeEm, createClass, initNode, toNode, toMarkup, Span, Anchor, Img, iCombinations, SymbolNode, SvgNode, PathNode, LineNode, ATOMS, NON_ATOMS, symbols, math, text2, main, ams, accent, bin, close, inner, mathord, op, open, punct, rel, spacing, textord, ligatures, mathTextSymbols, ch, i4, textSymbols, _ch, _i, letters, _ch2, _i2, wideChar, _ch3, _i3, _ch4, _i4, extraLatin, _ch5, _i5, wideLatinLetterData, wideNumeralData, wideCharacterFont, lookupSymbol, makeSymbol, mathsym, boldsymbol, makeOrd, canCombine, tryCombineChars, sizeElementFromChildren, makeSpan$2, makeSvgSpan, makeLineSpan, makeAnchor, makeFragment, wrapFragment, getVListChildrenAndDepth, makeVList, makeGlue, retrieveTextFontName, fontMap, svgData, staticSvg, buildCommon, thinspace, mediumspace, thickspace, spacings, tightSpacings, _functions, _htmlGroupBuilders, _mathmlGroupBuilders, normalizeArgument, ordargument, makeSpan$1, binLeftCanceller, binRightCanceller, styleMap$1, DomEnum, buildExpression$1, traverseNonSpaceNodes, checkPartialGroup, getOutermostNode, getTypeOfDomTree, makeNullDelimiter, buildGroup$1, MathNode, TextNode, SpaceNode, mathMLTree, makeText, makeRow, getVariant, buildExpression2, buildExpressionRow, buildGroup2, optionsFromSettings, displayWrap, buildTree, buildHTMLTree, stretchyCodePoint, mathMLnode, katexImagesData, groupLength, svgSpan, encloseSpan, stretchy, htmlBuilder$a, mathmlBuilder$9, NON_STRETCHY_ACCENT_REGEX, paddedNode, makeSpan2, binrelClass, cdArrowFunctionName, newCell, isStartOfArrow, isLabelEnd, htmlBuilder$8, mathmlBuilder$7, globalMap, checkControlSequence, getRHS, letCommand, getMetrics, styleWrap, centerSpan, makeSmallDelim, mathrmSize, makeLargeDelim, makeGlyphSpan, makeInner, lapInEms, lap, verts, doubleVerts, makeStackedDelim, vbPad, emPad, sqrtSvg, makeSqrtImage, stackLargeDelimiters, stackAlwaysDelimiters, stackNeverDelimiters, sizeToMaxHeight, makeSizedDelim, stackNeverDelimiterSequence, stackAlwaysDelimiterSequence, stackLargeDelimiterSequence, delimTypeToFont, traverseSequence, makeCustomSizedDelim, makeLeftRightDelim, delimiter, delimiterSizes, delimiters, htmlBuilder$7, mathmlBuilder$6, _environments, _macros, validateAmsEnvironmentContext, htmlBuilder$6, alignMap, mathmlBuilder$5, alignedHandler, environments, htmlBuilder$5, mathmlBuilder$4, fontAliases, adjustStyle, htmlBuilder$4, mathmlBuilder$3, stylArray, delimFromValue, htmlBuilder$3, mathmlBuilder$2, sizeData, chooseMathStyle, assembleSupSub, noSuccessor, htmlBuilder$2, mathmlBuilder$1, singleCharBigOps, singleCharIntegrals, htmlBuilder$1, mathmlBuilder2, sizeFuncs, htmlBuilder2, styleMap, htmlBuilderDelegate, defaultVariant, cssSpace, regularSpace, pad, textFontFamilies, textFontWeights, textFontShapes, optionsWithFont, makeVerb, functions, spaceRegexString, controlWordRegexString, controlSymbolRegexString, controlWordWhitespaceRegexString, controlSpaceRegexString, combiningDiacriticalMarkString, combiningDiacriticalMarksEndRegex, tokenRegexString, Lexer, Namespace, macros, digitToNumber, newcommand, dotsByToken, spaceAfterDots, latexRaiseA, braketHelper, implicitCommands, MacroExpander, unicodeSubRegEx, uSubsAndSups, unicodeAccents, unicodeSymbols, Parser, parseTree, render, renderToString, generateParseTree, renderError, renderToDomTree, renderToHTMLTree, katex;
2916
+ var SourceLocation, Token, ParseError, contains, deflt, uppercase, hyphenate, ESCAPE_LOOKUP, ESCAPE_REGEX, getBaseElem, isCharacterBox, assert, protocolFromUrl, utils, SETTINGS_SCHEMA, Settings, Style, D, Dc, T, Tc, S, Sc, SS, SSc, styles, sup, sub, fracNum, fracDen, cramp, text$1, Style$1, scriptData, allBlocks, hLinePad, sqrtMain, sqrtSize1, sqrtSize2, sqrtSize3, sqrtSize4, phasePath, sqrtTall, sqrtPath, innerPath, path, tallDelim, DocumentFragment, fontMetricsData, sigmasAndXis, extraCharacterMap, fontMetricsBySizeIndex, sizeStyleMap, sizeMultipliers, sizeAtStyle, Options, ptPerUnit, relativeUnit, validUnit, calculateSize, makeEm, createClass, initNode, toNode, invalidAttributeNameRegex, toMarkup, Span, Anchor, Img, iCombinations, SymbolNode, SvgNode, PathNode, LineNode, ATOMS, NON_ATOMS, symbols, math, text2, main, ams, accent, bin, close, inner, mathord, op, open, punct, rel, spacing, textord, ligatures, mathTextSymbols, ch, i4, textSymbols, _ch, _i, letters, _ch2, _i2, wideChar, _ch3, _i3, _ch4, _i4, extraLatin, _ch5, _i5, wideLatinLetterData, wideNumeralData, wideCharacterFont, lookupSymbol, makeSymbol, mathsym, boldsymbol, makeOrd, canCombine, tryCombineChars, sizeElementFromChildren, makeSpan$2, makeSvgSpan, makeLineSpan, makeAnchor, makeFragment, wrapFragment, getVListChildrenAndDepth, makeVList, makeGlue, retrieveTextFontName, fontMap, svgData, staticSvg, buildCommon, thinspace, mediumspace, thickspace, spacings, tightSpacings, _functions, _htmlGroupBuilders, _mathmlGroupBuilders, normalizeArgument, ordargument, makeSpan$1, binLeftCanceller, binRightCanceller, styleMap$1, DomEnum, buildExpression$1, traverseNonSpaceNodes, checkPartialGroup, getOutermostNode, getTypeOfDomTree, makeNullDelimiter, buildGroup$1, MathNode, TextNode, SpaceNode, mathMLTree, makeText, makeRow, getVariant, buildExpression2, buildExpressionRow, buildGroup2, optionsFromSettings, displayWrap, buildTree, buildHTMLTree, stretchyCodePoint, mathMLnode, katexImagesData, groupLength, svgSpan, encloseSpan, stretchy, htmlBuilder$a, mathmlBuilder$9, NON_STRETCHY_ACCENT_REGEX, paddedNode, makeSpan2, binrelClass, cdArrowFunctionName, newCell, isStartOfArrow, isLabelEnd, htmlBuilder$8, mathmlBuilder$7, globalMap, checkControlSequence, getRHS, letCommand, getMetrics, styleWrap, centerSpan, makeSmallDelim, mathrmSize, makeLargeDelim, makeGlyphSpan, makeInner, lapInEms, lap, verts, doubleVerts, makeStackedDelim, vbPad, emPad, sqrtSvg, makeSqrtImage, stackLargeDelimiters, stackAlwaysDelimiters, stackNeverDelimiters, sizeToMaxHeight, makeSizedDelim, stackNeverDelimiterSequence, stackAlwaysDelimiterSequence, stackLargeDelimiterSequence, delimTypeToFont, traverseSequence, makeCustomSizedDelim, makeLeftRightDelim, delimiter, delimiterSizes, delimiters, htmlBuilder$7, mathmlBuilder$6, _environments, _macros, validateAmsEnvironmentContext, htmlBuilder$6, alignMap, mathmlBuilder$5, alignedHandler, environments, htmlBuilder$5, mathmlBuilder$4, fontAliases, adjustStyle, htmlBuilder$4, mathmlBuilder$3, stylArray, delimFromValue, htmlBuilder$3, mathmlBuilder$2, sizeData, chooseMathStyle, assembleSupSub, noSuccessor, htmlBuilder$2, mathmlBuilder$1, singleCharBigOps, singleCharIntegrals, htmlBuilder$1, mathmlBuilder2, sizeFuncs, htmlBuilder2, styleMap, htmlBuilderDelegate, defaultVariant, cssSpace, regularSpace, pad, textFontFamilies, textFontWeights, textFontShapes, optionsWithFont, makeVerb, functions, spaceRegexString, controlWordRegexString, controlSymbolRegexString, controlWordWhitespaceRegexString, controlSpaceRegexString, combiningDiacriticalMarkString, combiningDiacriticalMarksEndRegex, tokenRegexString, Lexer, Namespace, macros, digitToNumber, newcommand, dotsByToken, spaceAfterDots, latexRaiseA, braketHelper, implicitCommands, MacroExpander, unicodeSubRegEx, uSubsAndSups, unicodeAccents, unicodeSymbols, Parser, parseTree, render, renderToString, generateParseTree, renderError, renderToDomTree, renderToHTMLTree, version, __domTree, katex;
2890
2917
  var init_katex = __esm({
2891
2918
  "node_modules/katex/dist/katex.mjs"() {
2892
2919
  SourceLocation = class _SourceLocation {
@@ -5740,7 +5767,7 @@ var init_katex = __esm({
5740
5767
  sqrtRuleThickness: [0.04, 0.04, 0.04],
5741
5768
  // This value determines how large a pt is, for metrics which are defined
5742
5769
  // in terms of pts.
5743
- // This value is also used in katex.less; if you change it make sure the
5770
+ // This value is also used in katex.scss; if you change it make sure the
5744
5771
  // values match.
5745
5772
  ptPerEm: [10, 10, 10],
5746
5773
  // The space between adjacent `|` columns in an array definition. From
@@ -6212,6 +6239,7 @@ var init_katex = __esm({
6212
6239
  }
6213
6240
  return node2;
6214
6241
  };
6242
+ invalidAttributeNameRegex = /[\s"'>/=\x00-\x1f]/;
6215
6243
  toMarkup = function toMarkup2(tagName) {
6216
6244
  var markup = "<" + tagName;
6217
6245
  if (this.classes.length) {
@@ -6228,6 +6256,9 @@ var init_katex = __esm({
6228
6256
  }
6229
6257
  for (var attr in this.attributes) {
6230
6258
  if (this.attributes.hasOwnProperty(attr)) {
6259
+ if (invalidAttributeNameRegex.test(attr)) {
6260
+ throw new ParseError("Invalid attribute name '" + attr + "'");
6261
+ }
6231
6262
  markup += " " + attr + '="' + utils.escape(this.attributes[attr]) + '"';
6232
6263
  }
6233
6264
  }
@@ -7094,6 +7125,7 @@ var init_katex = __esm({
7094
7125
  defineSymbol(math, main, inner, "\u22EF", "\\@cdots", true);
7095
7126
  defineSymbol(math, main, inner, "\u22F1", "\\ddots", true);
7096
7127
  defineSymbol(math, main, textord, "\u22EE", "\\varvdots");
7128
+ defineSymbol(text2, main, textord, "\u22EE", "\\varvdots");
7097
7129
  defineSymbol(math, main, accent, "\u02CA", "\\acute");
7098
7130
  defineSymbol(math, main, accent, "\u02CB", "\\grave");
7099
7131
  defineSymbol(math, main, accent, "\xA8", "\\ddot");
@@ -7712,6 +7744,10 @@ var init_katex = __esm({
7712
7744
  variant: "italic",
7713
7745
  fontName: "Math-Italic"
7714
7746
  },
7747
+ "mathsfit": {
7748
+ variant: "sans-serif-italic",
7749
+ fontName: "SansSerif-Italic"
7750
+ },
7715
7751
  // "boldsymbol" is missing because they require the use of multiple fonts:
7716
7752
  // Math-BoldItalic and Main-Bold. This is handled by a special case in
7717
7753
  // makeOrd which ends up calling boldsymbol.
@@ -8074,7 +8110,15 @@ var init_katex = __esm({
8074
8110
  node2.className = createClass(this.classes);
8075
8111
  }
8076
8112
  for (var i4 = 0; i4 < this.children.length; i4++) {
8077
- node2.appendChild(this.children[i4].toNode());
8113
+ if (this.children[i4] instanceof TextNode && this.children[i4 + 1] instanceof TextNode) {
8114
+ var text4 = this.children[i4].toText() + this.children[++i4].toText();
8115
+ while (this.children[i4 + 1] instanceof TextNode) {
8116
+ text4 += this.children[++i4].toText();
8117
+ }
8118
+ node2.appendChild(new TextNode(text4).toNode());
8119
+ } else {
8120
+ node2.appendChild(this.children[i4].toNode());
8121
+ }
8078
8122
  }
8079
8123
  return node2;
8080
8124
  }
@@ -8246,6 +8290,8 @@ var init_katex = __esm({
8246
8290
  return "bold";
8247
8291
  } else if (font === "mathbb") {
8248
8292
  return "double-struck";
8293
+ } else if (font === "mathsfit") {
8294
+ return "sans-serif-italic";
8249
8295
  } else if (font === "mathfrak") {
8250
8296
  return "fraktur";
8251
8297
  } else if (font === "mathscr" || font === "mathcal") {
@@ -8288,18 +8334,24 @@ var init_katex = __esm({
8288
8334
  } else if (_group.type === "mn" && lastGroup.type === "mn") {
8289
8335
  lastGroup.children.push(..._group.children);
8290
8336
  continue;
8291
- } else if (_group.type === "mi" && _group.children.length === 1 && lastGroup.type === "mn") {
8292
- var child = _group.children[0];
8293
- if (child instanceof TextNode && child.text === ".") {
8294
- lastGroup.children.push(..._group.children);
8295
- continue;
8337
+ } else if (isNumberPunctuation(_group) && lastGroup.type === "mn") {
8338
+ lastGroup.children.push(..._group.children);
8339
+ continue;
8340
+ } else if (_group.type === "mn" && isNumberPunctuation(lastGroup)) {
8341
+ _group.children = [...lastGroup.children, ..._group.children];
8342
+ groups.pop();
8343
+ } else if ((_group.type === "msup" || _group.type === "msub") && _group.children.length >= 1 && (lastGroup.type === "mn" || isNumberPunctuation(lastGroup))) {
8344
+ var base = _group.children[0];
8345
+ if (base instanceof MathNode && base.type === "mn") {
8346
+ base.children = [...lastGroup.children, ...base.children];
8347
+ groups.pop();
8296
8348
  }
8297
8349
  } else if (lastGroup.type === "mi" && lastGroup.children.length === 1) {
8298
8350
  var lastChild = lastGroup.children[0];
8299
8351
  if (lastChild instanceof TextNode && lastChild.text === "\u0338" && (_group.type === "mo" || _group.type === "mi" || _group.type === "mn")) {
8300
- var _child = _group.children[0];
8301
- if (_child instanceof TextNode && _child.text.length > 0) {
8302
- _child.text = _child.text.slice(0, 1) + "\u0338" + _child.text.slice(1);
8352
+ var child = _group.children[0];
8353
+ if (child instanceof TextNode && child.text.length > 0) {
8354
+ child.text = child.text.slice(0, 1) + "\u0338" + child.text.slice(1);
8303
8355
  groups.pop();
8304
8356
  }
8305
8357
  }
@@ -11317,6 +11369,7 @@ var init_katex = __esm({
11317
11369
  "\\mathit",
11318
11370
  "\\mathbf",
11319
11371
  "\\mathnormal",
11372
+ "\\mathsfit",
11320
11373
  // families
11321
11374
  "\\mathbb",
11322
11375
  "\\mathcal",
@@ -13185,6 +13238,8 @@ var init_katex = __esm({
13185
13238
  props: {
13186
13239
  numArgs: 2,
13187
13240
  numOptionalArgs: 1,
13241
+ allowedInText: true,
13242
+ allowedInMath: true,
13188
13243
  argTypes: ["size", "size", "size"]
13189
13244
  },
13190
13245
  handler(_ref, args, optArgs) {
@@ -13825,9 +13880,10 @@ var init_katex = __esm({
13825
13880
  return options3.withTextFontFamily(textFontFamilies[font]);
13826
13881
  } else if (textFontWeights[font]) {
13827
13882
  return options3.withTextFontWeight(textFontWeights[font]);
13828
- } else {
13829
- return options3.withTextFontShape(textFontShapes[font]);
13883
+ } else if (font === "\\emph") {
13884
+ return options3.fontShape === "textit" ? options3.withTextFontShape("textup") : options3.withTextFontShape("textit");
13830
13885
  }
13886
+ return options3.withTextFontShape(textFontShapes[font]);
13831
13887
  };
13832
13888
  defineFunction({
13833
13889
  type: "text",
@@ -13843,7 +13899,8 @@ var init_katex = __esm({
13843
13899
  "\\textmd",
13844
13900
  // Font Shapes
13845
13901
  "\\textit",
13846
- "\\textup"
13902
+ "\\textup",
13903
+ "\\emph"
13847
13904
  ],
13848
13905
  props: {
13849
13906
  numArgs: 1,
@@ -14286,7 +14343,7 @@ var init_katex = __esm({
14286
14343
  }
14287
14344
  return "\\@char{" + number7 + "}";
14288
14345
  });
14289
- newcommand = (context, existsOK, nonexistsOK) => {
14346
+ newcommand = (context, existsOK, nonexistsOK, skipIfExists) => {
14290
14347
  var arg = context.consumeArg().tokens;
14291
14348
  if (arg.length !== 1) {
14292
14349
  throw new ParseError("\\newcommand's first argument must be a macro name");
@@ -14314,15 +14371,17 @@ var init_katex = __esm({
14314
14371
  numArgs = parseInt(argText);
14315
14372
  arg = context.consumeArg().tokens;
14316
14373
  }
14317
- context.macros.set(name, {
14318
- tokens: arg,
14319
- numArgs
14320
- });
14374
+ if (!(exists2 && skipIfExists)) {
14375
+ context.macros.set(name, {
14376
+ tokens: arg,
14377
+ numArgs
14378
+ });
14379
+ }
14321
14380
  return "";
14322
14381
  };
14323
- defineMacro("\\newcommand", (context) => newcommand(context, false, true));
14324
- defineMacro("\\renewcommand", (context) => newcommand(context, true, false));
14325
- defineMacro("\\providecommand", (context) => newcommand(context, true, true));
14382
+ defineMacro("\\newcommand", (context) => newcommand(context, false, true, false));
14383
+ defineMacro("\\renewcommand", (context) => newcommand(context, true, false, false));
14384
+ defineMacro("\\providecommand", (context) => newcommand(context, true, true, true));
14326
14385
  defineMacro("\\message", (context) => {
14327
14386
  var arg = context.consumeArgs(1)[0];
14328
14387
  console.log(arg.reverse().map((token2) => token2.text).join(""));
@@ -14394,7 +14453,7 @@ var init_katex = __esm({
14394
14453
  defineMacro("\\urcorner", '\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');
14395
14454
  defineMacro("\\llcorner", '\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');
14396
14455
  defineMacro("\\lrcorner", '\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');
14397
- defineMacro("\\vdots", "\\mathord{\\varvdots\\rule{0pt}{15pt}}");
14456
+ defineMacro("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
14398
14457
  defineMacro("\u22EE", "\\vdots");
14399
14458
  defineMacro("\\varGamma", "\\mathit{\\Gamma}");
14400
14459
  defineMacro("\\varDelta", "\\mathit{\\Delta}");
@@ -14413,6 +14472,8 @@ var init_katex = __esm({
14413
14472
  defineMacro("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
14414
14473
  defineMacro("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
14415
14474
  defineMacro("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
14475
+ defineMacro("\\dddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");
14476
+ defineMacro("\\ddddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");
14416
14477
  dotsByToken = {
14417
14478
  ",": "\\dotsc",
14418
14479
  "\\not": "\\dotsb",
@@ -16578,11 +16639,20 @@ var init_katex = __esm({
16578
16639
  return renderError(error3, expression, settings);
16579
16640
  }
16580
16641
  };
16642
+ version = "0.16.21";
16643
+ __domTree = {
16644
+ Span,
16645
+ Anchor,
16646
+ SymbolNode,
16647
+ SvgNode,
16648
+ PathNode,
16649
+ LineNode
16650
+ };
16581
16651
  katex = {
16582
16652
  /**
16583
16653
  * Current KaTeX version
16584
16654
  */
16585
- version: "0.16.10",
16655
+ version,
16586
16656
  /**
16587
16657
  * Renders the given LaTeX into an HTML+MathML combination, and adds
16588
16658
  * it as a child to the specified DOM node.
@@ -16598,7 +16668,7 @@ var init_katex = __esm({
16598
16668
  */
16599
16669
  ParseError,
16600
16670
  /**
16601
- * The shema of Settings
16671
+ * The schema of Settings
16602
16672
  */
16603
16673
  SETTINGS_SCHEMA,
16604
16674
  /**
@@ -16650,18 +16720,11 @@ var init_katex = __esm({
16650
16720
  /**
16651
16721
  * Expose the dom tree node types, which can be useful for type checking nodes.
16652
16722
  *
16653
- * NOTE: This method is not currently recommended for public use.
16723
+ * NOTE: These methods are not currently recommended for public use.
16654
16724
  * The internal tree representation is unstable and is very likely
16655
16725
  * to change. Use at your own risk.
16656
16726
  */
16657
- __domTree: {
16658
- Span,
16659
- Anchor,
16660
- SymbolNode,
16661
- SvgNode,
16662
- PathNode,
16663
- LineNode
16664
- }
16727
+ __domTree
16665
16728
  };
16666
16729
  }
16667
16730
  });
@@ -48383,10 +48446,10 @@ var init_chunk_BO7VGL7K = __esm({
48383
48446
  });
48384
48447
 
48385
48448
  // node_modules/mermaid/dist/chunks/mermaid.core/chunk-K6PMAZHR.mjs
48386
- var version;
48449
+ var version2;
48387
48450
  var init_chunk_K6PMAZHR = __esm({
48388
48451
  "node_modules/mermaid/dist/chunks/mermaid.core/chunk-K6PMAZHR.mjs"() {
48389
- version = "11.4.1";
48452
+ version2 = "11.4.1";
48390
48453
  }
48391
48454
  });
48392
48455
 
@@ -51149,7 +51212,7 @@ function getCompiledStyles(classDefs) {
51149
51212
  }
51150
51213
  return compiledStyles;
51151
51214
  }
51152
- var MERMAID_DOM_ID_PREFIX, vertexCounter, config2, vertices, edges, classes, subGraphs, subGraphLookup, tooltips, subCount, firstGraphFlag, direction, version2, funs, sanitizeText4, lookUpDomId, addVertex, addSingleLink, addLink, updateLinkInterpolate, updateLink, addClass, setDirection, setClass, setTooltip, setClickFun, setLink, getTooltip, setClickEvent, bindFunctions, getDirection, getVertices, getEdges, getClasses, setupToolTips, clear23, setGen, defaultStyle, addSubGraph, getPosForId, secCount, posCrossRef, indexNodes2, getDepthFirstPos, indexNodes, getSubGraphs, firstGraph, destructStartLink, countChar, destructEndLink, destructLink, exists, makeUniq, lex, getTypeFromVertex, findNode, destructEdgeType, addNodeFromVertex, getData, flowDb_default, getClasses2, draw2, flowRenderer_v3_unified_default, parser3, flow_default, fade, getStyles3, styles_default3, diagram2;
51215
+ var MERMAID_DOM_ID_PREFIX, vertexCounter, config2, vertices, edges, classes, subGraphs, subGraphLookup, tooltips, subCount, firstGraphFlag, direction, version3, funs, sanitizeText4, lookUpDomId, addVertex, addSingleLink, addLink, updateLinkInterpolate, updateLink, addClass, setDirection, setClass, setTooltip, setClickFun, setLink, getTooltip, setClickEvent, bindFunctions, getDirection, getVertices, getEdges, getClasses, setupToolTips, clear23, setGen, defaultStyle, addSubGraph, getPosForId, secCount, posCrossRef, indexNodes2, getDepthFirstPos, indexNodes, getSubGraphs, firstGraph, destructStartLink, countChar, destructEndLink, destructLink, exists, makeUniq, lex, getTypeFromVertex, findNode, destructEdgeType, addNodeFromVertex, getData, flowDb_default, getClasses2, draw2, flowRenderer_v3_unified_default, parser3, flow_default, fade, getStyles3, styles_default3, diagram2;
51153
51216
  var init_flowDiagram_7ASYPVHJ = __esm({
51154
51217
  "node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-7ASYPVHJ.mjs"() {
51155
51218
  init_chunk_5HRBRIJM();
@@ -51405,7 +51468,7 @@ You have to call mermaid.initialize.`
51405
51468
  }
51406
51469
  tooltip = sanitizeText4(tooltip);
51407
51470
  for (const id26 of ids.split(",")) {
51408
- tooltips.set(version2 === "gen-1" ? lookUpDomId(id26) : id26, tooltip);
51471
+ tooltips.set(version3 === "gen-1" ? lookUpDomId(id26) : id26, tooltip);
51409
51472
  }
51410
51473
  }, "setTooltip");
51411
51474
  setClickFun = /* @__PURE__ */ __name(function(id26, functionName, functionArgs) {
@@ -51518,12 +51581,12 @@ You have to call mermaid.initialize.`
51518
51581
  subCount = 0;
51519
51582
  tooltips = /* @__PURE__ */ new Map();
51520
51583
  firstGraphFlag = true;
51521
- version2 = ver;
51584
+ version3 = ver;
51522
51585
  config2 = getConfig2();
51523
51586
  clear();
51524
51587
  }, "clear");
51525
51588
  setGen = /* @__PURE__ */ __name((ver) => {
51526
- version2 = ver || "gen-2";
51589
+ version3 = ver || "gen-2";
51527
51590
  }, "setGen");
51528
51591
  defaultStyle = /* @__PURE__ */ __name(function() {
51529
51592
  return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
@@ -51557,7 +51620,7 @@ You have to call mermaid.initialize.`
51557
51620
  }
51558
51621
  __name(uniq2, "uniq");
51559
51622
  const { nodeList, dir: dir2 } = uniq2(list2.flat());
51560
- if (version2 === "gen-1") {
51623
+ if (version3 === "gen-1") {
51561
51624
  for (let i4 = 0; i4 < nodeList.length; i4++) {
51562
51625
  nodeList[i4] = lookUpDomId(nodeList[i4]);
51563
51626
  }
@@ -53527,7 +53590,7 @@ function stringToBytes(str2) {
53527
53590
  }
53528
53591
  return bytes;
53529
53592
  }
53530
- function v35(name, version4, hashfunc) {
53593
+ function v35(name, version5, hashfunc) {
53531
53594
  function generateUUID(value2, namespace, buf, offset) {
53532
53595
  var _namespace;
53533
53596
  if (typeof value2 === "string") {
@@ -53543,7 +53606,7 @@ function v35(name, version4, hashfunc) {
53543
53606
  bytes.set(namespace);
53544
53607
  bytes.set(value2, namespace.length);
53545
53608
  bytes = hashfunc(bytes);
53546
- bytes[6] = bytes[6] & 15 | version4;
53609
+ bytes[6] = bytes[6] & 15 | version5;
53547
53610
  bytes[8] = bytes[8] & 63 | 128;
53548
53611
  if (buf) {
53549
53612
  offset = offset || 0;
@@ -65859,8 +65922,8 @@ var init_main = __esm({
65859
65922
  TextDocumentIdentifier2.is = is2;
65860
65923
  })(TextDocumentIdentifier || (TextDocumentIdentifier = {}));
65861
65924
  (function(VersionedTextDocumentIdentifier2) {
65862
- function create3(uri, version4) {
65863
- return { uri, version: version4 };
65925
+ function create3(uri, version5) {
65926
+ return { uri, version: version5 };
65864
65927
  }
65865
65928
  VersionedTextDocumentIdentifier2.create = create3;
65866
65929
  function is2(value2) {
@@ -65870,8 +65933,8 @@ var init_main = __esm({
65870
65933
  VersionedTextDocumentIdentifier2.is = is2;
65871
65934
  })(VersionedTextDocumentIdentifier || (VersionedTextDocumentIdentifier = {}));
65872
65935
  (function(OptionalVersionedTextDocumentIdentifier2) {
65873
- function create3(uri, version4) {
65874
- return { uri, version: version4 };
65936
+ function create3(uri, version5) {
65937
+ return { uri, version: version5 };
65875
65938
  }
65876
65939
  OptionalVersionedTextDocumentIdentifier2.create = create3;
65877
65940
  function is2(value2) {
@@ -65881,8 +65944,8 @@ var init_main = __esm({
65881
65944
  OptionalVersionedTextDocumentIdentifier2.is = is2;
65882
65945
  })(OptionalVersionedTextDocumentIdentifier || (OptionalVersionedTextDocumentIdentifier = {}));
65883
65946
  (function(TextDocumentItem2) {
65884
- function create3(uri, languageId, version4, text4) {
65885
- return { uri, languageId, version: version4, text: text4 };
65947
+ function create3(uri, languageId, version5, text4) {
65948
+ return { uri, languageId, version: version5, text: text4 };
65886
65949
  }
65887
65950
  TextDocumentItem2.create = create3;
65888
65951
  function is2(value2) {
@@ -66370,8 +66433,8 @@ var init_main = __esm({
66370
66433
  WorkspaceFolder2.is = is2;
66371
66434
  })(WorkspaceFolder || (WorkspaceFolder = {}));
66372
66435
  (function(TextDocument3) {
66373
- function create3(uri, languageId, version4, content) {
66374
- return new FullTextDocument(uri, languageId, version4, content);
66436
+ function create3(uri, languageId, version5, content) {
66437
+ return new FullTextDocument(uri, languageId, version5, content);
66375
66438
  }
66376
66439
  TextDocument3.create = create3;
66377
66440
  function is2(value2) {
@@ -66433,10 +66496,10 @@ var init_main = __esm({
66433
66496
  }
66434
66497
  })(TextDocument || (TextDocument = {}));
66435
66498
  FullTextDocument = class {
66436
- constructor(uri, languageId, version4, content) {
66499
+ constructor(uri, languageId, version5, content) {
66437
66500
  this._uri = uri;
66438
66501
  this._languageId = languageId;
66439
- this._version = version4;
66502
+ this._version = version5;
66440
66503
  this._content = content;
66441
66504
  this._lineOffsets = void 0;
66442
66505
  }
@@ -66457,9 +66520,9 @@ var init_main = __esm({
66457
66520
  }
66458
66521
  return this._content;
66459
66522
  }
66460
- update(event3, version4) {
66523
+ update(event3, version5) {
66461
66524
  this._content = event3.text;
66462
- this._version = version4;
66525
+ this._version = version5;
66463
66526
  this._lineOffsets = void 0;
66464
66527
  }
66465
66528
  getLineOffsets() {
@@ -68174,10 +68237,10 @@ var init_main2 = __esm({
68174
68237
  "node_modules/vscode-languageserver-textdocument/lib/esm/main.js"() {
68175
68238
  "use strict";
68176
68239
  FullTextDocument2 = class _FullTextDocument {
68177
- constructor(uri, languageId, version4, content) {
68240
+ constructor(uri, languageId, version5, content) {
68178
68241
  this._uri = uri;
68179
68242
  this._languageId = languageId;
68180
- this._version = version4;
68243
+ this._version = version5;
68181
68244
  this._content = content;
68182
68245
  this._lineOffsets = void 0;
68183
68246
  }
@@ -68198,7 +68261,7 @@ var init_main2 = __esm({
68198
68261
  }
68199
68262
  return this._content;
68200
68263
  }
68201
- update(changes, version4) {
68264
+ update(changes, version5) {
68202
68265
  for (const change2 of changes) {
68203
68266
  if (_FullTextDocument.isIncremental(change2)) {
68204
68267
  const range3 = getWellformedRange(change2.range);
@@ -68233,7 +68296,7 @@ var init_main2 = __esm({
68233
68296
  throw new Error("Unknown change event received");
68234
68297
  }
68235
68298
  }
68236
- this._version = version4;
68299
+ this._version = version5;
68237
68300
  }
68238
68301
  getLineOffsets() {
68239
68302
  if (this._lineOffsets === void 0) {
@@ -68294,13 +68357,13 @@ var init_main2 = __esm({
68294
68357
  }
68295
68358
  };
68296
68359
  (function(TextDocument3) {
68297
- function create3(uri, languageId, version4, content) {
68298
- return new FullTextDocument2(uri, languageId, version4, content);
68360
+ function create3(uri, languageId, version5, content) {
68361
+ return new FullTextDocument2(uri, languageId, version5, content);
68299
68362
  }
68300
68363
  TextDocument3.create = create3;
68301
- function update2(document2, changes, version4) {
68364
+ function update2(document2, changes, version5) {
68302
68365
  if (document2 instanceof FullTextDocument2) {
68303
- document2.update(changes, version4);
68366
+ document2.update(changes, version5);
68304
68367
  return document2;
68305
68368
  } else {
68306
68369
  throw new Error("TextDocument.update: document must be created by TextDocument.create");
@@ -76598,7 +76661,7 @@ var init_ganttDiagram_NTVNEXSI = __esm({
76598
76661
  }
76599
76662
  return maxIntersections;
76600
76663
  }, "getMaxIntersections");
76601
- draw5 = /* @__PURE__ */ __name(function(text4, id26, version4, diagObj) {
76664
+ draw5 = /* @__PURE__ */ __name(function(text4, id26, version5, diagObj) {
76602
76665
  const conf7 = getConfig2().gantt;
76603
76666
  const securityLevel = getConfig2().securityLevel;
76604
76667
  let sandboxElement;
@@ -77341,7 +77404,7 @@ var init_infoDiagram_A4XQUW5V = __esm({
77341
77404
  log.debug(ast);
77342
77405
  }, "parse")
77343
77406
  };
77344
- DEFAULT_INFO_DB = { version };
77407
+ DEFAULT_INFO_DB = { version: version2 };
77345
77408
  getVersion = /* @__PURE__ */ __name(() => DEFAULT_INFO_DB.version, "getVersion");
77346
77409
  db2 = {
77347
77410
  getVersion
@@ -90796,7 +90859,7 @@ var init_journeyDiagram_G5WM74LC = __esm({
90796
90859
  __name(drawActorLegend, "drawActorLegend");
90797
90860
  conf6 = getConfig2().journey;
90798
90861
  LEFT_MARGIN = conf6.leftMargin;
90799
- draw15 = /* @__PURE__ */ __name(function(text4, id26, version4, diagObj) {
90862
+ draw15 = /* @__PURE__ */ __name(function(text4, id26, version5, diagObj) {
90800
90863
  const conf22 = getConfig2().journey;
90801
90864
  const securityLevel = getConfig2().securityLevel;
90802
90865
  let sandboxElement;
@@ -91949,7 +92012,7 @@ var init_timeline_definition_U7ZMHBDA = __esm({
91949
92012
  drawNode,
91950
92013
  getVirtualNodeHeight
91951
92014
  };
91952
- draw16 = /* @__PURE__ */ __name(function(text4, id26, version4, diagObj) {
92015
+ draw16 = /* @__PURE__ */ __name(function(text4, id26, version5, diagObj) {
91953
92016
  const conf7 = getConfig2();
91954
92017
  const LEFT_MARGIN2 = conf7.leftMargin ?? 50;
91955
92018
  log.debug("timeline", diagObj.db);
@@ -94176,7 +94239,7 @@ function getModule(type3, name, moduleType, moduleName) {
94176
94239
  keys: [type3, name, moduleType, moduleName]
94177
94240
  });
94178
94241
  }
94179
- var _window, navigator2, typeofstr, typeofobj, typeoffn, typeofhtmlele, instanceStr, string, fn$6, array2, plainObject, object, number$1, integer2, htmlElement, elementOrCollection, element, collection, core2, stylesheet, event, emptyString, domElement, boundingBox, promise, ms, memoize$1, camel2dash, dash2camel, prependCamel, capitalize, number6, rgba3, rgbaNoBackRefs, hsla2, hslaNoBackRefs, hex3, hex6, ascending3, descending2, extend4, hex2tuple, hsl2tuple, rgb2tuple, colorname2tuple, color2tuple, colors, setMap, getMap, isObject_12, commonjsGlobal, freeGlobal2, _freeGlobal, freeSelf2, root3, _root, now3, now_1, reWhitespace2, _trimmedEndIndex, reTrimStart2, _baseTrim, Symbol$1, _Symbol, objectProto$5, hasOwnProperty$4, nativeObjectToString$1, symToStringTag$1, _getRawTag, objectProto$4, nativeObjectToString3, _objectToString, nullTag2, undefinedTag2, symToStringTag3, _baseGetTag, isObjectLike_1, symbolTag5, isSymbol_1, NAN2, reIsBadHex2, reIsBinary2, reIsOctal2, freeParseInt2, toNumber_1, FUNC_ERROR_TEXT$1, nativeMax6, nativeMin, debounce_1, performance2, pnow, raf, requestAnimationFrame2, performanceNow, DEFAULT_HASH_SEED, K3, DEFAULT_HASH_SEED_ALT, hashIterableInts, hashInt, hashIntAlt, combineHashes, combineHashesArray, hashArrays, hashIntsArray, hashString, hashStrings, hashStringsArray, warningsEnabled, warnSupported, traceSupported, MAX_INT$1, trueify, falsify, zeroify, noop$1, error, warnings, warn, clone4, copy3, copyArray$1, uuid, _staticEmptyObject, staticEmptyObject, defaults$g, removeFromArray, clearArray, push, getPrefixedProperty, setPrefixedProperty, ObjectMap, Map$2, undef, ObjectSet, Set$1, Element2, defineSearch, elesfn$v, heap$1, heap, dijkstraDefaults, elesfn$u, elesfn$t, aStarDefaults, elesfn$s, floydWarshallDefaults, elesfn$r, bellmanFordDefaults, elesfn$q, sqrt2, collapse, contractUntil, elesfn$p, copyPosition, modelToRenderedPosition, renderedToModelPosition, array2point, min5, max5, mean, median, deg2rad, getAngleFromDisp, log22, signum, dist, sqdist, inPlaceSumNormalize, qbezierAt, qbezierPtAt, lineAt, bound, makeBoundingBox, copyBoundingBox, clearBoundingBox, shiftBoundingBox, updateBoundingBox, expandBoundingBoxByPoint, expandBoundingBox, expandBoundingBoxSides, assignBoundingBox, boundingBoxesIntersect, inBoundingBox, pointInBoundingBox, boundingBoxInBoundingBox, roundRectangleIntersectLine, inLineVicinity, inBezierVicinity, solveQuadratic, solveCubic, sqdistToQuadraticBezier, sqdistToFiniteLine, pointInsidePolygonPoints, pointInsidePolygon, pointInsideRoundPolygon, joinLines, expandPolygon, intersectLineEllipse, checkInEllipse, intersectLineCircle, midOfThree, finiteLinesIntersect, polygonIntersectLine, roundPolygonIntersectLine, shortenIntersection, generateUnitNgonPointsFitToSquare, fitPolygonToSquare, generateUnitNgonPoints, getRoundRectangleRadius, getRoundPolygonRadius, getCutRectangleCornerLength, bezierPtsToQuadCoeff, getBarrelCurveConstants, pageRankDefaults, elesfn$o, defaults$f, elesfn$n, defaults$e, elesfn$m, defaults$d, elesfn$l, defaults$c, setOptions$3, getSimilarity$1, addLoops, normalize2, mmult, expand, inflate, hasConverged, assign$2, isDuplicate, removeDuplicates, markovClustering, markovClustering$1, identity5, absDiff, addAbsDiff, addSquaredDiff, sqrt3, maxAbsDiff, getDistance, distances, defaults$b, setOptions$2, getDist, randomCentroids, classify, buildCluster, haveValuesConverged, haveMatricesConverged, seenBefore, randomMedoids, findCost, kMeans, kMedoids, updateCentroids, updateMembership, assign$1, fuzzyCMeans, kClustering, defaults$a, linkageAliases, setOptions$1, mergeClosest, getAllChildren, buildDendrogram, buildClustersFromTree, hierarchicalClustering, hierarchicalClustering$1, defaults$9, setOptions6, getSimilarity2, getPreference, findExemplars, assignClusters, assign5, affinityPropagation, affinityPropagation$1, hierholzerDefaults, elesfn$k, hopcroftTarjanBiconnected, hopcroftTarjanBiconnected$1, tarjanStronglyConnected, tarjanStronglyConnected$1, elesfn$j, STATE_PENDING, STATE_FULFILLED, STATE_REJECTED, api, deliver, execute, execute_handlers, resolver, resolve, Promise$1, Animation, anifn, define$3, isArray2, isArray_1, reIsDeepProp2, reIsPlainProp2, _isKey, asyncTag2, funcTag4, genTag3, proxyTag2, isFunction_1, coreJsData2, _coreJsData, maskSrcKey2, _isMasked, funcProto$1, funcToString$1, _toSource, reRegExpChar2, reIsHostCtor2, funcProto4, objectProto$3, funcToString4, hasOwnProperty$3, reIsNative2, _baseIsNative, _getValue, _getNative, nativeCreate2, _nativeCreate, _hashClear, _hashDelete, HASH_UNDEFINED$1, objectProto$2, hasOwnProperty$2, _hashGet, objectProto$1, hasOwnProperty$1, _hashHas, HASH_UNDEFINED4, _hashSet, _Hash, _listCacheClear, eq_1, _assocIndexOf, arrayProto2, splice2, _listCacheDelete, _listCacheGet, _listCacheHas, _listCacheSet, _ListCache, Map$1, _Map, _mapCacheClear, _isKeyable, _getMapData, _mapCacheDelete, _mapCacheGet, _mapCacheHas, _mapCacheSet, _MapCache, FUNC_ERROR_TEXT3, memoize_1, MAX_MEMOIZE_SIZE2, _memoizeCapped, rePropName2, reEscapeChar2, stringToPath2, _stringToPath, _arrayMap, INFINITY$1, symbolProto4, symbolToString2, _baseToString, toString_1, _castPath, INFINITY5, _toKey, _baseGet, get_1, defineProperty2, _defineProperty, _baseAssignValue, objectProto22, hasOwnProperty19, _assignValue, MAX_SAFE_INTEGER3, reIsUint2, _isIndex, _baseSet, set_1, _copyArray, toPath_1, define$2, define$1, define2, elesfn$i, elesfn$h, tokens, newQuery, Type3, stateSelectors, lookup, stateSelectorMatches, stateSelectorRegex, cleanMetaChars, replaceLastQuery, exprs, consumeExpr, consumeWhitespace, parse4, toString4, parse$1, valCmp, boolCmp, existCmp, data$1, meta, match, matches$1, filter3, matches31, matching, Selector, selfn, elesfn$g, cache, elesfn$f, fn$5, elesfn$e, data3, elesfn$d, fn$4, elesfn$c, beforePositionSet, positionDef, position3, fn$3, elesfn$b, noninf, updateBounds, updateBoundsFromBox, prefixedProperty, updateBoundsFromArrow, updateBoundsFromLabel, updateBoundsFromOutline, boundingBoxImpl, getKey, getBoundingBoxPosKey, cachedBoundingBoxImpl, defBbOpts, defBbOptsKey, filledBbOpts, bounds3, fn$2, elesfn$a, defineDimFns, widthHeight, ifEdge, ifEdgeRenderedPosition, ifEdgeRenderedPositions, controlPoints2, segmentPoints, sourceEndpoint, targetEndpoint, midpoint, pts, renderedName, edgePoints, dimensions, Event2, eventRegex, universalNamespace, defaults$8, defaultsKeys, emptyOpts, p2, forEachEvent, makeEventObj, forEachEventObj, emitterOptions$1, argSelector$1, elesfn$9, elesfn$8, fn$1, elesfn$7, zIndexSort, elesfn$6, defineSymbolIterator, getLayoutDimensionOptions, elesfn$5, elesfn$4, eleTakesUpSpace, eleInteractive, parentInteractive, eleVisible, edgeVisibleViaNode, elesfn$3, elesfn$2, defineDagExtremity, defineDagOneHop, defineDagAllHops, Collection, elesfn$1, corefn$9, generateSpringRK4, cubicBezier, easings, corefn$8, emitterOptions, argSelector2, elesfn, corefn$7, corefn$6, corefn$5, rendererDefaults, corefn$4, corefn$3, styfn$8, TRUE, FALSE, styfn$7, styfn$6, styfn$5, styfn$4, styfn$3, styfn$2, styfn$1, Style2, styfn, corefn$2, defaultSelectionType, corefn$1, fn2, Core, corefn, defaults$7, deprecatedOptionDefaults, getInfo, setInfo, defaults$6, defaults$5, DEBUG, defaults$4, createLayoutInfo, findLCA, findLCA_aux, printLayoutInfo, randomizePositions, getScaleInBoundsFn, refreshPositions, step, calculateNodeForces, randomDistance, nodeRepulsion2, nodesOverlap, findClippingPoint, calculateEdgeForces, calculateGravityForces, propagateForces, updatePositions, limitForce, updateAncestryBoundaries, separateComponents, defaults$3, defaults$2, defaults$1, defaults3, layout4, noop4, throwImgErr, BRp$f, BRp$e, BRp$d, x3, y3, v1, v2, sinA, sinA90, radDirection, drawDirection, angle, halfAngle, cRadius, lenOut, radius, limit, startX, startY, stopX, stopY, lastPoint, asVec, invertVec, calcCornerArc, BRp$c, BRp$b, BRp$a, BRp$9, lineAngleFromDelta, lineAngle, bezierAngle, BRp$8, TOO_SMALL_CUT_RECT, warnedCutRect, BRp$7, BRp$6, BRp$5, BRp$4, BRp$3, BRp$2, BRp$1, beforeRenderCallbacks, BaseRenderer, BR, BRp, fullFpsTime, defs, ElementTextureCacheLookup, minTxrH, txrStepH, minLvl$1, maxLvl$1, maxZoom$1, eleTxrSpacing, defTxrWidth, maxTxrW, maxTxrH, minUtility, maxFullness, maxFullnessChecks, deqCost$1, deqAvgCost$1, deqNoDrawCost$1, deqFastCost$1, deqRedrawThreshold$1, maxDeqSize$1, getTxrReasons, initDefaults, ElementTextureCache, ETCp, defNumLayers, minLvl, maxLvl, maxZoom2, deqRedrawThreshold, refineEleDebounceTime, deqCost, deqAvgCost, deqNoDrawCost, deqFastCost, maxDeqSize, invalidThreshold, maxLayerArea, useHighQualityEleTxrReqs, LayeredTextureCache, LTCp, layerIdPool, MAX_INT, CRp$a, impl, CRp$9, getZeroRotation, getLabelRotation, getSourceLabelRotation, getTargetLabelRotation, getOpacity, getTextOpacity, CRp$8, drawEdgeOverlayUnderlay, CRp$7, CRp$6, CRp$5, drawNodeOverlayUnderlay, CRp$4, motionBlurDelay, CRp$3, sin0, cos0, sin2, cos2, ellipseStepSize, i4, CRp$2, CRp$1, CR, CRp, pathsImpld, renderer4, incExts, extensions, modules, extension2, Stylesheet, sheetfn, version3, cytoscape2;
94242
+ var _window, navigator2, typeofstr, typeofobj, typeoffn, typeofhtmlele, instanceStr, string, fn$6, array2, plainObject, object, number$1, integer2, htmlElement, elementOrCollection, element, collection, core2, stylesheet, event, emptyString, domElement, boundingBox, promise, ms, memoize$1, camel2dash, dash2camel, prependCamel, capitalize, number6, rgba3, rgbaNoBackRefs, hsla2, hslaNoBackRefs, hex3, hex6, ascending3, descending2, extend4, hex2tuple, hsl2tuple, rgb2tuple, colorname2tuple, color2tuple, colors, setMap, getMap, isObject_12, commonjsGlobal, freeGlobal2, _freeGlobal, freeSelf2, root3, _root, now3, now_1, reWhitespace2, _trimmedEndIndex, reTrimStart2, _baseTrim, Symbol$1, _Symbol, objectProto$5, hasOwnProperty$4, nativeObjectToString$1, symToStringTag$1, _getRawTag, objectProto$4, nativeObjectToString3, _objectToString, nullTag2, undefinedTag2, symToStringTag3, _baseGetTag, isObjectLike_1, symbolTag5, isSymbol_1, NAN2, reIsBadHex2, reIsBinary2, reIsOctal2, freeParseInt2, toNumber_1, FUNC_ERROR_TEXT$1, nativeMax6, nativeMin, debounce_1, performance2, pnow, raf, requestAnimationFrame2, performanceNow, DEFAULT_HASH_SEED, K3, DEFAULT_HASH_SEED_ALT, hashIterableInts, hashInt, hashIntAlt, combineHashes, combineHashesArray, hashArrays, hashIntsArray, hashString, hashStrings, hashStringsArray, warningsEnabled, warnSupported, traceSupported, MAX_INT$1, trueify, falsify, zeroify, noop$1, error, warnings, warn, clone4, copy3, copyArray$1, uuid, _staticEmptyObject, staticEmptyObject, defaults$g, removeFromArray, clearArray, push, getPrefixedProperty, setPrefixedProperty, ObjectMap, Map$2, undef, ObjectSet, Set$1, Element2, defineSearch, elesfn$v, heap$1, heap, dijkstraDefaults, elesfn$u, elesfn$t, aStarDefaults, elesfn$s, floydWarshallDefaults, elesfn$r, bellmanFordDefaults, elesfn$q, sqrt2, collapse, contractUntil, elesfn$p, copyPosition, modelToRenderedPosition, renderedToModelPosition, array2point, min5, max5, mean, median, deg2rad, getAngleFromDisp, log22, signum, dist, sqdist, inPlaceSumNormalize, qbezierAt, qbezierPtAt, lineAt, bound, makeBoundingBox, copyBoundingBox, clearBoundingBox, shiftBoundingBox, updateBoundingBox, expandBoundingBoxByPoint, expandBoundingBox, expandBoundingBoxSides, assignBoundingBox, boundingBoxesIntersect, inBoundingBox, pointInBoundingBox, boundingBoxInBoundingBox, roundRectangleIntersectLine, inLineVicinity, inBezierVicinity, solveQuadratic, solveCubic, sqdistToQuadraticBezier, sqdistToFiniteLine, pointInsidePolygonPoints, pointInsidePolygon, pointInsideRoundPolygon, joinLines, expandPolygon, intersectLineEllipse, checkInEllipse, intersectLineCircle, midOfThree, finiteLinesIntersect, polygonIntersectLine, roundPolygonIntersectLine, shortenIntersection, generateUnitNgonPointsFitToSquare, fitPolygonToSquare, generateUnitNgonPoints, getRoundRectangleRadius, getRoundPolygonRadius, getCutRectangleCornerLength, bezierPtsToQuadCoeff, getBarrelCurveConstants, pageRankDefaults, elesfn$o, defaults$f, elesfn$n, defaults$e, elesfn$m, defaults$d, elesfn$l, defaults$c, setOptions$3, getSimilarity$1, addLoops, normalize2, mmult, expand, inflate, hasConverged, assign$2, isDuplicate, removeDuplicates, markovClustering, markovClustering$1, identity5, absDiff, addAbsDiff, addSquaredDiff, sqrt3, maxAbsDiff, getDistance, distances, defaults$b, setOptions$2, getDist, randomCentroids, classify, buildCluster, haveValuesConverged, haveMatricesConverged, seenBefore, randomMedoids, findCost, kMeans, kMedoids, updateCentroids, updateMembership, assign$1, fuzzyCMeans, kClustering, defaults$a, linkageAliases, setOptions$1, mergeClosest, getAllChildren, buildDendrogram, buildClustersFromTree, hierarchicalClustering, hierarchicalClustering$1, defaults$9, setOptions6, getSimilarity2, getPreference, findExemplars, assignClusters, assign5, affinityPropagation, affinityPropagation$1, hierholzerDefaults, elesfn$k, hopcroftTarjanBiconnected, hopcroftTarjanBiconnected$1, tarjanStronglyConnected, tarjanStronglyConnected$1, elesfn$j, STATE_PENDING, STATE_FULFILLED, STATE_REJECTED, api, deliver, execute, execute_handlers, resolver, resolve, Promise$1, Animation, anifn, define$3, isArray2, isArray_1, reIsDeepProp2, reIsPlainProp2, _isKey, asyncTag2, funcTag4, genTag3, proxyTag2, isFunction_1, coreJsData2, _coreJsData, maskSrcKey2, _isMasked, funcProto$1, funcToString$1, _toSource, reRegExpChar2, reIsHostCtor2, funcProto4, objectProto$3, funcToString4, hasOwnProperty$3, reIsNative2, _baseIsNative, _getValue, _getNative, nativeCreate2, _nativeCreate, _hashClear, _hashDelete, HASH_UNDEFINED$1, objectProto$2, hasOwnProperty$2, _hashGet, objectProto$1, hasOwnProperty$1, _hashHas, HASH_UNDEFINED4, _hashSet, _Hash, _listCacheClear, eq_1, _assocIndexOf, arrayProto2, splice2, _listCacheDelete, _listCacheGet, _listCacheHas, _listCacheSet, _ListCache, Map$1, _Map, _mapCacheClear, _isKeyable, _getMapData, _mapCacheDelete, _mapCacheGet, _mapCacheHas, _mapCacheSet, _MapCache, FUNC_ERROR_TEXT3, memoize_1, MAX_MEMOIZE_SIZE2, _memoizeCapped, rePropName2, reEscapeChar2, stringToPath2, _stringToPath, _arrayMap, INFINITY$1, symbolProto4, symbolToString2, _baseToString, toString_1, _castPath, INFINITY5, _toKey, _baseGet, get_1, defineProperty2, _defineProperty, _baseAssignValue, objectProto22, hasOwnProperty19, _assignValue, MAX_SAFE_INTEGER3, reIsUint2, _isIndex, _baseSet, set_1, _copyArray, toPath_1, define$2, define$1, define2, elesfn$i, elesfn$h, tokens, newQuery, Type3, stateSelectors, lookup, stateSelectorMatches, stateSelectorRegex, cleanMetaChars, replaceLastQuery, exprs, consumeExpr, consumeWhitespace, parse4, toString4, parse$1, valCmp, boolCmp, existCmp, data$1, meta, match, matches$1, filter3, matches31, matching, Selector, selfn, elesfn$g, cache, elesfn$f, fn$5, elesfn$e, data3, elesfn$d, fn$4, elesfn$c, beforePositionSet, positionDef, position3, fn$3, elesfn$b, noninf, updateBounds, updateBoundsFromBox, prefixedProperty, updateBoundsFromArrow, updateBoundsFromLabel, updateBoundsFromOutline, boundingBoxImpl, getKey, getBoundingBoxPosKey, cachedBoundingBoxImpl, defBbOpts, defBbOptsKey, filledBbOpts, bounds3, fn$2, elesfn$a, defineDimFns, widthHeight, ifEdge, ifEdgeRenderedPosition, ifEdgeRenderedPositions, controlPoints2, segmentPoints, sourceEndpoint, targetEndpoint, midpoint, pts, renderedName, edgePoints, dimensions, Event2, eventRegex, universalNamespace, defaults$8, defaultsKeys, emptyOpts, p2, forEachEvent, makeEventObj, forEachEventObj, emitterOptions$1, argSelector$1, elesfn$9, elesfn$8, fn$1, elesfn$7, zIndexSort, elesfn$6, defineSymbolIterator, getLayoutDimensionOptions, elesfn$5, elesfn$4, eleTakesUpSpace, eleInteractive, parentInteractive, eleVisible, edgeVisibleViaNode, elesfn$3, elesfn$2, defineDagExtremity, defineDagOneHop, defineDagAllHops, Collection, elesfn$1, corefn$9, generateSpringRK4, cubicBezier, easings, corefn$8, emitterOptions, argSelector2, elesfn, corefn$7, corefn$6, corefn$5, rendererDefaults, corefn$4, corefn$3, styfn$8, TRUE, FALSE, styfn$7, styfn$6, styfn$5, styfn$4, styfn$3, styfn$2, styfn$1, Style2, styfn, corefn$2, defaultSelectionType, corefn$1, fn2, Core, corefn, defaults$7, deprecatedOptionDefaults, getInfo, setInfo, defaults$6, defaults$5, DEBUG, defaults$4, createLayoutInfo, findLCA, findLCA_aux, printLayoutInfo, randomizePositions, getScaleInBoundsFn, refreshPositions, step, calculateNodeForces, randomDistance, nodeRepulsion2, nodesOverlap, findClippingPoint, calculateEdgeForces, calculateGravityForces, propagateForces, updatePositions, limitForce, updateAncestryBoundaries, separateComponents, defaults$3, defaults$2, defaults$1, defaults3, layout4, noop4, throwImgErr, BRp$f, BRp$e, BRp$d, x3, y3, v1, v2, sinA, sinA90, radDirection, drawDirection, angle, halfAngle, cRadius, lenOut, radius, limit, startX, startY, stopX, stopY, lastPoint, asVec, invertVec, calcCornerArc, BRp$c, BRp$b, BRp$a, BRp$9, lineAngleFromDelta, lineAngle, bezierAngle, BRp$8, TOO_SMALL_CUT_RECT, warnedCutRect, BRp$7, BRp$6, BRp$5, BRp$4, BRp$3, BRp$2, BRp$1, beforeRenderCallbacks, BaseRenderer, BR, BRp, fullFpsTime, defs, ElementTextureCacheLookup, minTxrH, txrStepH, minLvl$1, maxLvl$1, maxZoom$1, eleTxrSpacing, defTxrWidth, maxTxrW, maxTxrH, minUtility, maxFullness, maxFullnessChecks, deqCost$1, deqAvgCost$1, deqNoDrawCost$1, deqFastCost$1, deqRedrawThreshold$1, maxDeqSize$1, getTxrReasons, initDefaults, ElementTextureCache, ETCp, defNumLayers, minLvl, maxLvl, maxZoom2, deqRedrawThreshold, refineEleDebounceTime, deqCost, deqAvgCost, deqNoDrawCost, deqFastCost, maxDeqSize, invalidThreshold, maxLayerArea, useHighQualityEleTxrReqs, LayeredTextureCache, LTCp, layerIdPool, MAX_INT, CRp$a, impl, CRp$9, getZeroRotation, getLabelRotation, getSourceLabelRotation, getTargetLabelRotation, getOpacity, getTextOpacity, CRp$8, drawEdgeOverlayUnderlay, CRp$7, CRp$6, CRp$5, drawNodeOverlayUnderlay, CRp$4, motionBlurDelay, CRp$3, sin0, cos0, sin2, cos2, ellipseStepSize, i4, CRp$2, CRp$1, CR, CRp, pathsImpld, renderer4, incExts, extensions, modules, extension2, Stylesheet, sheetfn, version4, cytoscape2;
94180
94243
  var init_cytoscape_esm = __esm({
94181
94244
  "node_modules/cytoscape/dist/cytoscape.esm.mjs"() {
94182
94245
  _window = typeof window === "undefined" ? null : window;
@@ -118937,7 +119000,7 @@ var init_cytoscape_esm = __esm({
118937
119000
  }
118938
119001
  return style4;
118939
119002
  };
118940
- version3 = "3.30.2";
119003
+ version4 = "3.30.2";
118941
119004
  cytoscape2 = function cytoscape3(options3) {
118942
119005
  if (options3 === void 0) {
118943
119006
  options3 = {};
@@ -118957,7 +119020,7 @@ var init_cytoscape_esm = __esm({
118957
119020
  cytoscape2.warnings = function(bool2) {
118958
119021
  return warnings(bool2);
118959
119022
  };
118960
- cytoscape2.version = version3;
119023
+ cytoscape2.version = version4;
118961
119024
  cytoscape2.stylesheet = cytoscape2.Stylesheet = Stylesheet;
118962
119025
  }
118963
119026
  });
@@ -141232,12 +141295,12 @@ var render5 = /* @__PURE__ */ __name(async function(id26, text4, svgContainingEl
141232
141295
  style1.innerHTML = rules;
141233
141296
  svg2.insertBefore(style1, firstChild);
141234
141297
  try {
141235
- await diag.renderer.draw(text4, id26, version, diag);
141298
+ await diag.renderer.draw(text4, id26, version2, diag);
141236
141299
  } catch (e6) {
141237
141300
  if (config6.suppressErrorRendering) {
141238
141301
  removeTempElements();
141239
141302
  } else {
141240
- errorRenderer_default.draw(text4, id26, version);
141303
+ errorRenderer_default.draw(text4, id26, version2);
141241
141304
  }
141242
141305
  throw e6;
141243
141306
  }
@@ -12748,15 +12748,472 @@ var require_dist = __commonJS({
12748
12748
  module.exports = vuePlugin;
12749
12749
  }
12750
12750
  });
12751
+ var require_vendors = __commonJS({
12752
+ "../../node_modules/is-ci/node_modules/ci-info/vendors.json"(exports, module) {
12753
+ module.exports = [
12754
+ {
12755
+ name: "Agola CI",
12756
+ constant: "AGOLA",
12757
+ env: "AGOLA_GIT_REF",
12758
+ pr: "AGOLA_PULL_REQUEST_ID"
12759
+ },
12760
+ {
12761
+ name: "Appcircle",
12762
+ constant: "APPCIRCLE",
12763
+ env: "AC_APPCIRCLE",
12764
+ pr: {
12765
+ env: "AC_GIT_PR",
12766
+ ne: "false"
12767
+ }
12768
+ },
12769
+ {
12770
+ name: "AppVeyor",
12771
+ constant: "APPVEYOR",
12772
+ env: "APPVEYOR",
12773
+ pr: "APPVEYOR_PULL_REQUEST_NUMBER"
12774
+ },
12775
+ {
12776
+ name: "AWS CodeBuild",
12777
+ constant: "CODEBUILD",
12778
+ env: "CODEBUILD_BUILD_ARN",
12779
+ pr: {
12780
+ env: "CODEBUILD_WEBHOOK_EVENT",
12781
+ any: [
12782
+ "PULL_REQUEST_CREATED",
12783
+ "PULL_REQUEST_UPDATED",
12784
+ "PULL_REQUEST_REOPENED"
12785
+ ]
12786
+ }
12787
+ },
12788
+ {
12789
+ name: "Azure Pipelines",
12790
+ constant: "AZURE_PIPELINES",
12791
+ env: "TF_BUILD",
12792
+ pr: {
12793
+ BUILD_REASON: "PullRequest"
12794
+ }
12795
+ },
12796
+ {
12797
+ name: "Bamboo",
12798
+ constant: "BAMBOO",
12799
+ env: "bamboo_planKey"
12800
+ },
12801
+ {
12802
+ name: "Bitbucket Pipelines",
12803
+ constant: "BITBUCKET",
12804
+ env: "BITBUCKET_COMMIT",
12805
+ pr: "BITBUCKET_PR_ID"
12806
+ },
12807
+ {
12808
+ name: "Bitrise",
12809
+ constant: "BITRISE",
12810
+ env: "BITRISE_IO",
12811
+ pr: "BITRISE_PULL_REQUEST"
12812
+ },
12813
+ {
12814
+ name: "Buddy",
12815
+ constant: "BUDDY",
12816
+ env: "BUDDY_WORKSPACE_ID",
12817
+ pr: "BUDDY_EXECUTION_PULL_REQUEST_ID"
12818
+ },
12819
+ {
12820
+ name: "Buildkite",
12821
+ constant: "BUILDKITE",
12822
+ env: "BUILDKITE",
12823
+ pr: {
12824
+ env: "BUILDKITE_PULL_REQUEST",
12825
+ ne: "false"
12826
+ }
12827
+ },
12828
+ {
12829
+ name: "CircleCI",
12830
+ constant: "CIRCLE",
12831
+ env: "CIRCLECI",
12832
+ pr: "CIRCLE_PULL_REQUEST"
12833
+ },
12834
+ {
12835
+ name: "Cirrus CI",
12836
+ constant: "CIRRUS",
12837
+ env: "CIRRUS_CI",
12838
+ pr: "CIRRUS_PR"
12839
+ },
12840
+ {
12841
+ name: "Codefresh",
12842
+ constant: "CODEFRESH",
12843
+ env: "CF_BUILD_ID",
12844
+ pr: {
12845
+ any: [
12846
+ "CF_PULL_REQUEST_NUMBER",
12847
+ "CF_PULL_REQUEST_ID"
12848
+ ]
12849
+ }
12850
+ },
12851
+ {
12852
+ name: "Codemagic",
12853
+ constant: "CODEMAGIC",
12854
+ env: "CM_BUILD_ID",
12855
+ pr: "CM_PULL_REQUEST"
12856
+ },
12857
+ {
12858
+ name: "Codeship",
12859
+ constant: "CODESHIP",
12860
+ env: {
12861
+ CI_NAME: "codeship"
12862
+ }
12863
+ },
12864
+ {
12865
+ name: "Drone",
12866
+ constant: "DRONE",
12867
+ env: "DRONE",
12868
+ pr: {
12869
+ DRONE_BUILD_EVENT: "pull_request"
12870
+ }
12871
+ },
12872
+ {
12873
+ name: "dsari",
12874
+ constant: "DSARI",
12875
+ env: "DSARI"
12876
+ },
12877
+ {
12878
+ name: "Earthly",
12879
+ constant: "EARTHLY",
12880
+ env: "EARTHLY_CI"
12881
+ },
12882
+ {
12883
+ name: "Expo Application Services",
12884
+ constant: "EAS",
12885
+ env: "EAS_BUILD"
12886
+ },
12887
+ {
12888
+ name: "Gerrit",
12889
+ constant: "GERRIT",
12890
+ env: "GERRIT_PROJECT"
12891
+ },
12892
+ {
12893
+ name: "Gitea Actions",
12894
+ constant: "GITEA_ACTIONS",
12895
+ env: "GITEA_ACTIONS"
12896
+ },
12897
+ {
12898
+ name: "GitHub Actions",
12899
+ constant: "GITHUB_ACTIONS",
12900
+ env: "GITHUB_ACTIONS",
12901
+ pr: {
12902
+ GITHUB_EVENT_NAME: "pull_request"
12903
+ }
12904
+ },
12905
+ {
12906
+ name: "GitLab CI",
12907
+ constant: "GITLAB",
12908
+ env: "GITLAB_CI",
12909
+ pr: "CI_MERGE_REQUEST_ID"
12910
+ },
12911
+ {
12912
+ name: "GoCD",
12913
+ constant: "GOCD",
12914
+ env: "GO_PIPELINE_LABEL"
12915
+ },
12916
+ {
12917
+ name: "Google Cloud Build",
12918
+ constant: "GOOGLE_CLOUD_BUILD",
12919
+ env: "BUILDER_OUTPUT"
12920
+ },
12921
+ {
12922
+ name: "Harness CI",
12923
+ constant: "HARNESS",
12924
+ env: "HARNESS_BUILD_ID"
12925
+ },
12926
+ {
12927
+ name: "Heroku",
12928
+ constant: "HEROKU",
12929
+ env: {
12930
+ env: "NODE",
12931
+ includes: "/app/.heroku/node/bin/node"
12932
+ }
12933
+ },
12934
+ {
12935
+ name: "Hudson",
12936
+ constant: "HUDSON",
12937
+ env: "HUDSON_URL"
12938
+ },
12939
+ {
12940
+ name: "Jenkins",
12941
+ constant: "JENKINS",
12942
+ env: [
12943
+ "JENKINS_URL",
12944
+ "BUILD_ID"
12945
+ ],
12946
+ pr: {
12947
+ any: [
12948
+ "ghprbPullId",
12949
+ "CHANGE_ID"
12950
+ ]
12951
+ }
12952
+ },
12953
+ {
12954
+ name: "LayerCI",
12955
+ constant: "LAYERCI",
12956
+ env: "LAYERCI",
12957
+ pr: "LAYERCI_PULL_REQUEST"
12958
+ },
12959
+ {
12960
+ name: "Magnum CI",
12961
+ constant: "MAGNUM",
12962
+ env: "MAGNUM"
12963
+ },
12964
+ {
12965
+ name: "Netlify CI",
12966
+ constant: "NETLIFY",
12967
+ env: "NETLIFY",
12968
+ pr: {
12969
+ env: "PULL_REQUEST",
12970
+ ne: "false"
12971
+ }
12972
+ },
12973
+ {
12974
+ name: "Nevercode",
12975
+ constant: "NEVERCODE",
12976
+ env: "NEVERCODE",
12977
+ pr: {
12978
+ env: "NEVERCODE_PULL_REQUEST",
12979
+ ne: "false"
12980
+ }
12981
+ },
12982
+ {
12983
+ name: "Prow",
12984
+ constant: "PROW",
12985
+ env: "PROW_JOB_ID"
12986
+ },
12987
+ {
12988
+ name: "ReleaseHub",
12989
+ constant: "RELEASEHUB",
12990
+ env: "RELEASE_BUILD_ID"
12991
+ },
12992
+ {
12993
+ name: "Render",
12994
+ constant: "RENDER",
12995
+ env: "RENDER",
12996
+ pr: {
12997
+ IS_PULL_REQUEST: "true"
12998
+ }
12999
+ },
13000
+ {
13001
+ name: "Sail CI",
13002
+ constant: "SAIL",
13003
+ env: "SAILCI",
13004
+ pr: "SAIL_PULL_REQUEST_NUMBER"
13005
+ },
13006
+ {
13007
+ name: "Screwdriver",
13008
+ constant: "SCREWDRIVER",
13009
+ env: "SCREWDRIVER",
13010
+ pr: {
13011
+ env: "SD_PULL_REQUEST",
13012
+ ne: "false"
13013
+ }
13014
+ },
13015
+ {
13016
+ name: "Semaphore",
13017
+ constant: "SEMAPHORE",
13018
+ env: "SEMAPHORE",
13019
+ pr: "PULL_REQUEST_NUMBER"
13020
+ },
13021
+ {
13022
+ name: "Sourcehut",
13023
+ constant: "SOURCEHUT",
13024
+ env: {
13025
+ CI_NAME: "sourcehut"
13026
+ }
13027
+ },
13028
+ {
13029
+ name: "Strider CD",
13030
+ constant: "STRIDER",
13031
+ env: "STRIDER"
13032
+ },
13033
+ {
13034
+ name: "TaskCluster",
13035
+ constant: "TASKCLUSTER",
13036
+ env: [
13037
+ "TASK_ID",
13038
+ "RUN_ID"
13039
+ ]
13040
+ },
13041
+ {
13042
+ name: "TeamCity",
13043
+ constant: "TEAMCITY",
13044
+ env: "TEAMCITY_VERSION"
13045
+ },
13046
+ {
13047
+ name: "Travis CI",
13048
+ constant: "TRAVIS",
13049
+ env: "TRAVIS",
13050
+ pr: {
13051
+ env: "TRAVIS_PULL_REQUEST",
13052
+ ne: "false"
13053
+ }
13054
+ },
13055
+ {
13056
+ name: "Vela",
13057
+ constant: "VELA",
13058
+ env: "VELA",
13059
+ pr: {
13060
+ VELA_PULL_REQUEST: "1"
13061
+ }
13062
+ },
13063
+ {
13064
+ name: "Vercel",
13065
+ constant: "VERCEL",
13066
+ env: {
13067
+ any: [
13068
+ "NOW_BUILDER",
13069
+ "VERCEL"
13070
+ ]
13071
+ },
13072
+ pr: "VERCEL_GIT_PULL_REQUEST_ID"
13073
+ },
13074
+ {
13075
+ name: "Visual Studio App Center",
13076
+ constant: "APPCENTER",
13077
+ env: "APPCENTER_BUILD_ID"
13078
+ },
13079
+ {
13080
+ name: "Woodpecker",
13081
+ constant: "WOODPECKER",
13082
+ env: {
13083
+ CI: "woodpecker"
13084
+ },
13085
+ pr: {
13086
+ CI_BUILD_EVENT: "pull_request"
13087
+ }
13088
+ },
13089
+ {
13090
+ name: "Xcode Cloud",
13091
+ constant: "XCODE_CLOUD",
13092
+ env: "CI_XCODE_PROJECT",
13093
+ pr: "CI_PULL_REQUEST_NUMBER"
13094
+ },
13095
+ {
13096
+ name: "Xcode Server",
13097
+ constant: "XCODE_SERVER",
13098
+ env: "XCS"
13099
+ }
13100
+ ];
13101
+ }
13102
+ });
13103
+ var require_ci_info = __commonJS({
13104
+ "../../node_modules/is-ci/node_modules/ci-info/index.js"(exports) {
13105
+ var vendors = require_vendors();
13106
+ var env = process.env;
13107
+ Object.defineProperty(exports, "_vendors", {
13108
+ value: vendors.map(function(v) {
13109
+ return v.constant;
13110
+ })
13111
+ });
13112
+ exports.name = null;
13113
+ exports.isPR = null;
13114
+ exports.id = null;
13115
+ vendors.forEach(function(vendor) {
13116
+ const envs = Array.isArray(vendor.env) ? vendor.env : [vendor.env];
13117
+ const isCI2 = envs.every(function(obj) {
13118
+ return checkEnv(obj);
13119
+ });
13120
+ exports[vendor.constant] = isCI2;
13121
+ if (!isCI2) {
13122
+ return;
13123
+ }
13124
+ exports.name = vendor.name;
13125
+ exports.isPR = checkPR(vendor);
13126
+ exports.id = vendor.constant;
13127
+ });
13128
+ exports.isCI = !!(env.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
13129
+ (env.BUILD_ID || // Jenkins, Cloudbees
13130
+ env.BUILD_NUMBER || // Jenkins, TeamCity
13131
+ env.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
13132
+ env.CI_APP_ID || // Appflow
13133
+ env.CI_BUILD_ID || // Appflow
13134
+ env.CI_BUILD_NUMBER || // Appflow
13135
+ env.CI_NAME || // Codeship and others
13136
+ env.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
13137
+ env.RUN_ID || // TaskCluster, dsari
13138
+ exports.name || false));
13139
+ function checkEnv(obj) {
13140
+ if (typeof obj === "string") return !!env[obj];
13141
+ if ("env" in obj) {
13142
+ return env[obj.env] && env[obj.env].includes(obj.includes);
13143
+ }
13144
+ if ("any" in obj) {
13145
+ return obj.any.some(function(k) {
13146
+ return !!env[k];
13147
+ });
13148
+ }
13149
+ return Object.keys(obj).every(function(k) {
13150
+ return env[k] === obj[k];
13151
+ });
13152
+ }
13153
+ function checkPR(vendor) {
13154
+ switch (typeof vendor.pr) {
13155
+ case "string":
13156
+ return !!env[vendor.pr];
13157
+ case "object":
13158
+ if ("env" in vendor.pr) {
13159
+ if ("any" in vendor.pr) {
13160
+ return vendor.pr.any.some(function(key) {
13161
+ return env[vendor.pr.env] === key;
13162
+ });
13163
+ } else {
13164
+ return vendor.pr.env in env && env[vendor.pr.env] !== vendor.pr.ne;
13165
+ }
13166
+ } else if ("any" in vendor.pr) {
13167
+ return vendor.pr.any.some(function(key) {
13168
+ return !!env[key];
13169
+ });
13170
+ } else {
13171
+ return checkEnv(vendor.pr);
13172
+ }
13173
+ default:
13174
+ return null;
13175
+ }
13176
+ }
13177
+ }
13178
+ });
13179
+ var require_is_ci = __commonJS({
13180
+ "../../node_modules/is-ci/index.js"(exports, module) {
13181
+ module.exports = require_ci_info().isCI;
13182
+ }
13183
+ });
12751
13184
  var import_esbuild_plugin_vue3 = __toESM(require_dist());
13185
+ var import_is_ci = __toESM(require_is_ci());
13186
+ var HTML_ESCAPE_REPLACE_RE = /[&<>"]/g;
13187
+ var HTML_REPLACEMENTS = {
13188
+ "&": "&amp;",
13189
+ "<": "&lt;",
13190
+ ">": "&gt;",
13191
+ '"': "&quot;"
13192
+ };
13193
+ function escapeHtml(str) {
13194
+ return str.replace(HTML_ESCAPE_REPLACE_RE, (ch) => HTML_REPLACEMENTS[ch]);
13195
+ }
12752
13196
  function generateCode(options) {
12753
13197
  const { slug, fingerprint, code, filename, setupPath } = options;
12754
13198
  const selector = `#${slug}`;
12755
13199
  const asset = `${slug}-${fingerprint}.js`;
12756
13200
  const { descriptor, errors } = require$$0.parse(code, { filename });
12757
13201
  const scopeId = `data-v-${fingerprint}`;
12758
- if (errors.length) {
12759
- throw new Error(`Errors occured when trying to parse ${filename}.`);
13202
+ if (errors.length > 0) {
13203
+ if (import_is_ci.default) {
13204
+ const first = errors[0].message;
13205
+ throw new Error(
13206
+ `Errors occurred when trying to parse "${filename}": ${first}`
13207
+ );
13208
+ }
13209
+ const lines = errors.map((it) => ` ${it.message}`);
13210
+ const escaped = lines.map(escapeHtml);
13211
+ return {
13212
+ markup: `<strong style="color: red">Vue compiler error</strong>:<br><pre>${escaped.join("\n")}</pre>`,
13213
+ sourcecode: `Vue compiler error:
13214
+ ${lines.join("\n")}`,
13215
+ output: false
13216
+ };
12760
13217
  }
12761
13218
  const hasScoped = descriptor.styles.some((e) => e.scoped);
12762
13219
  const styleContent = descriptor.styles.map((stylePart) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "2.15.5",
3
+ "version": "2.15.7",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"