@forsakringskassan/docs-generator 1.32.0 → 1.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -1
- package/dist/index.js +23 -1
- package/dist/runtime-bootstrap.js +46 -0
- package/dist/runtime.js +328 -259
- package/dist/style/core.css +48 -17
- package/dist/style/index.css +57 -17
- package/dist/style/site.css +15 -0
- package/package.json +2 -1
- package/templates/base.template.html +7 -3
- package/templates/partials/cookie-warning.html +19 -0
- package/templates/partials/matomo.html +29 -25
package/dist/runtime.js
CHANGED
|
@@ -2753,7 +2753,7 @@ function getAutoTag(name) {
|
|
|
2753
2753
|
return name.indexOf("*") === -1;
|
|
2754
2754
|
}
|
|
2755
2755
|
}
|
|
2756
|
-
function parseArray(parser22, _ref,
|
|
2756
|
+
function parseArray(parser22, _ref, style4) {
|
|
2757
2757
|
var {
|
|
2758
2758
|
hskipBeforeAndAfter,
|
|
2759
2759
|
addJot,
|
|
@@ -2813,11 +2813,11 @@ function parseArray(parser22, _ref, style3) {
|
|
|
2813
2813
|
mode: parser22.mode,
|
|
2814
2814
|
body: cell
|
|
2815
2815
|
};
|
|
2816
|
-
if (
|
|
2816
|
+
if (style4) {
|
|
2817
2817
|
cell = {
|
|
2818
2818
|
type: "styling",
|
|
2819
2819
|
mode: parser22.mode,
|
|
2820
|
-
style:
|
|
2820
|
+
style: style4,
|
|
2821
2821
|
body: [cell]
|
|
2822
2822
|
};
|
|
2823
2823
|
}
|
|
@@ -5881,8 +5881,8 @@ var init_katex = __esm({
|
|
|
5881
5881
|
2.074,
|
|
5882
5882
|
2.488
|
|
5883
5883
|
];
|
|
5884
|
-
sizeAtStyle = function sizeAtStyle2(size5,
|
|
5885
|
-
return
|
|
5884
|
+
sizeAtStyle = function sizeAtStyle2(size5, style4) {
|
|
5885
|
+
return style4.size < 2 ? size5 : sizeStyleMap[size5 - 1][style4.size - 1];
|
|
5886
5886
|
};
|
|
5887
5887
|
Options = class _Options {
|
|
5888
5888
|
// A font family applies to a group of fonts (i.e. SansSerif), while a font
|
|
@@ -5948,13 +5948,13 @@ var init_katex = __esm({
|
|
|
5948
5948
|
* Return an options object with the given style. If `this.style === style`,
|
|
5949
5949
|
* returns `this`.
|
|
5950
5950
|
*/
|
|
5951
|
-
havingStyle(
|
|
5952
|
-
if (this.style ===
|
|
5951
|
+
havingStyle(style4) {
|
|
5952
|
+
if (this.style === style4) {
|
|
5953
5953
|
return this;
|
|
5954
5954
|
} else {
|
|
5955
5955
|
return this.extend({
|
|
5956
|
-
style:
|
|
5957
|
-
size: sizeAtStyle(this.textSize,
|
|
5956
|
+
style: style4,
|
|
5957
|
+
size: sizeAtStyle(this.textSize, style4)
|
|
5958
5958
|
});
|
|
5959
5959
|
}
|
|
5960
5960
|
}
|
|
@@ -5985,14 +5985,14 @@ var init_katex = __esm({
|
|
|
5985
5985
|
* Like `this.havingSize(BASESIZE).havingStyle(style)`. If `style` is omitted,
|
|
5986
5986
|
* changes to at least `\textstyle`.
|
|
5987
5987
|
*/
|
|
5988
|
-
havingBaseStyle(
|
|
5989
|
-
|
|
5990
|
-
var wantSize = sizeAtStyle(_Options.BASESIZE,
|
|
5991
|
-
if (this.size === wantSize && this.textSize === _Options.BASESIZE && this.style ===
|
|
5988
|
+
havingBaseStyle(style4) {
|
|
5989
|
+
style4 = style4 || this.style.text();
|
|
5990
|
+
var wantSize = sizeAtStyle(_Options.BASESIZE, style4);
|
|
5991
|
+
if (this.size === wantSize && this.textSize === _Options.BASESIZE && this.style === style4) {
|
|
5992
5992
|
return this;
|
|
5993
5993
|
} else {
|
|
5994
5994
|
return this.extend({
|
|
5995
|
-
style:
|
|
5995
|
+
style: style4,
|
|
5996
5996
|
size: wantSize
|
|
5997
5997
|
});
|
|
5998
5998
|
}
|
|
@@ -6187,13 +6187,13 @@ var init_katex = __esm({
|
|
|
6187
6187
|
createClass = function createClass2(classes6) {
|
|
6188
6188
|
return classes6.filter((cls) => cls).join(" ");
|
|
6189
6189
|
};
|
|
6190
|
-
initNode = function initNode2(classes6, options3,
|
|
6190
|
+
initNode = function initNode2(classes6, options3, style4) {
|
|
6191
6191
|
this.classes = classes6 || [];
|
|
6192
6192
|
this.attributes = {};
|
|
6193
6193
|
this.height = 0;
|
|
6194
6194
|
this.depth = 0;
|
|
6195
6195
|
this.maxFontSize = 0;
|
|
6196
|
-
this.style =
|
|
6196
|
+
this.style = style4 || {};
|
|
6197
6197
|
if (options3) {
|
|
6198
6198
|
if (options3.style.isTight()) {
|
|
6199
6199
|
this.classes.push("mtight");
|
|
@@ -6207,9 +6207,9 @@ var init_katex = __esm({
|
|
|
6207
6207
|
toNode = function toNode2(tagName) {
|
|
6208
6208
|
var node2 = document.createElement(tagName);
|
|
6209
6209
|
node2.className = createClass(this.classes);
|
|
6210
|
-
for (var
|
|
6211
|
-
if (this.style.hasOwnProperty(
|
|
6212
|
-
node2.style[
|
|
6210
|
+
for (var style4 in this.style) {
|
|
6211
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6212
|
+
node2.style[style4] = this.style[style4];
|
|
6213
6213
|
}
|
|
6214
6214
|
}
|
|
6215
6215
|
for (var attr in this.attributes) {
|
|
@@ -6228,9 +6228,9 @@ var init_katex = __esm({
|
|
|
6228
6228
|
markup += ' class="' + utils.escape(createClass(this.classes)) + '"';
|
|
6229
6229
|
}
|
|
6230
6230
|
var styles3 = "";
|
|
6231
|
-
for (var
|
|
6232
|
-
if (this.style.hasOwnProperty(
|
|
6233
|
-
styles3 += utils.hyphenate(
|
|
6231
|
+
for (var style4 in this.style) {
|
|
6232
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6233
|
+
styles3 += utils.hyphenate(style4) + ":" + this.style[style4] + ";";
|
|
6234
6234
|
}
|
|
6235
6235
|
}
|
|
6236
6236
|
if (styles3) {
|
|
@@ -6249,7 +6249,7 @@ var init_katex = __esm({
|
|
|
6249
6249
|
return markup;
|
|
6250
6250
|
};
|
|
6251
6251
|
Span = class {
|
|
6252
|
-
constructor(classes6, children2, options3,
|
|
6252
|
+
constructor(classes6, children2, options3, style4) {
|
|
6253
6253
|
this.children = void 0;
|
|
6254
6254
|
this.attributes = void 0;
|
|
6255
6255
|
this.classes = void 0;
|
|
@@ -6258,7 +6258,7 @@ var init_katex = __esm({
|
|
|
6258
6258
|
this.width = void 0;
|
|
6259
6259
|
this.maxFontSize = void 0;
|
|
6260
6260
|
this.style = void 0;
|
|
6261
|
-
initNode.call(this, classes6, options3,
|
|
6261
|
+
initNode.call(this, classes6, options3, style4);
|
|
6262
6262
|
this.children = children2 || [];
|
|
6263
6263
|
}
|
|
6264
6264
|
/**
|
|
@@ -6306,7 +6306,7 @@ var init_katex = __esm({
|
|
|
6306
6306
|
}
|
|
6307
6307
|
};
|
|
6308
6308
|
Img = class {
|
|
6309
|
-
constructor(src, alt,
|
|
6309
|
+
constructor(src, alt, style4) {
|
|
6310
6310
|
this.src = void 0;
|
|
6311
6311
|
this.alt = void 0;
|
|
6312
6312
|
this.classes = void 0;
|
|
@@ -6317,7 +6317,7 @@ var init_katex = __esm({
|
|
|
6317
6317
|
this.alt = alt;
|
|
6318
6318
|
this.src = src;
|
|
6319
6319
|
this.classes = ["mord"];
|
|
6320
|
-
this.style =
|
|
6320
|
+
this.style = style4;
|
|
6321
6321
|
}
|
|
6322
6322
|
hasClass(className) {
|
|
6323
6323
|
return utils.contains(this.classes, className);
|
|
@@ -6327,9 +6327,9 @@ var init_katex = __esm({
|
|
|
6327
6327
|
node2.src = this.src;
|
|
6328
6328
|
node2.alt = this.alt;
|
|
6329
6329
|
node2.className = "mord";
|
|
6330
|
-
for (var
|
|
6331
|
-
if (this.style.hasOwnProperty(
|
|
6332
|
-
node2.style[
|
|
6330
|
+
for (var style4 in this.style) {
|
|
6331
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6332
|
+
node2.style[style4] = this.style[style4];
|
|
6333
6333
|
}
|
|
6334
6334
|
}
|
|
6335
6335
|
return node2;
|
|
@@ -6337,9 +6337,9 @@ var init_katex = __esm({
|
|
|
6337
6337
|
toMarkup() {
|
|
6338
6338
|
var markup = '<img src="' + utils.escape(this.src) + '"' + (' alt="' + utils.escape(this.alt) + '"');
|
|
6339
6339
|
var styles3 = "";
|
|
6340
|
-
for (var
|
|
6341
|
-
if (this.style.hasOwnProperty(
|
|
6342
|
-
styles3 += utils.hyphenate(
|
|
6340
|
+
for (var style4 in this.style) {
|
|
6341
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6342
|
+
styles3 += utils.hyphenate(style4) + ":" + this.style[style4] + ";";
|
|
6343
6343
|
}
|
|
6344
6344
|
}
|
|
6345
6345
|
if (styles3) {
|
|
@@ -6357,7 +6357,7 @@ var init_katex = __esm({
|
|
|
6357
6357
|
"\xEC": "\u0131\u0300"
|
|
6358
6358
|
};
|
|
6359
6359
|
SymbolNode = class {
|
|
6360
|
-
constructor(text2, height2, depth, italic, skew, width3, classes6,
|
|
6360
|
+
constructor(text2, height2, depth, italic, skew, width3, classes6, style4) {
|
|
6361
6361
|
this.text = void 0;
|
|
6362
6362
|
this.height = void 0;
|
|
6363
6363
|
this.depth = void 0;
|
|
@@ -6374,7 +6374,7 @@ var init_katex = __esm({
|
|
|
6374
6374
|
this.skew = skew || 0;
|
|
6375
6375
|
this.width = width3 || 0;
|
|
6376
6376
|
this.classes = classes6 || [];
|
|
6377
|
-
this.style =
|
|
6377
|
+
this.style = style4 || {};
|
|
6378
6378
|
this.maxFontSize = 0;
|
|
6379
6379
|
var script = scriptFromCodepoint(this.text.charCodeAt(0));
|
|
6380
6380
|
if (script) {
|
|
@@ -6402,10 +6402,10 @@ var init_katex = __esm({
|
|
|
6402
6402
|
span = span || document.createElement("span");
|
|
6403
6403
|
span.className = createClass(this.classes);
|
|
6404
6404
|
}
|
|
6405
|
-
for (var
|
|
6406
|
-
if (this.style.hasOwnProperty(
|
|
6405
|
+
for (var style4 in this.style) {
|
|
6406
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6407
6407
|
span = span || document.createElement("span");
|
|
6408
|
-
span.style[
|
|
6408
|
+
span.style[style4] = this.style[style4];
|
|
6409
6409
|
}
|
|
6410
6410
|
}
|
|
6411
6411
|
if (span) {
|
|
@@ -6431,9 +6431,9 @@ var init_katex = __esm({
|
|
|
6431
6431
|
if (this.italic > 0) {
|
|
6432
6432
|
styles3 += "margin-right:" + this.italic + "em;";
|
|
6433
6433
|
}
|
|
6434
|
-
for (var
|
|
6435
|
-
if (this.style.hasOwnProperty(
|
|
6436
|
-
styles3 += utils.hyphenate(
|
|
6434
|
+
for (var style4 in this.style) {
|
|
6435
|
+
if (this.style.hasOwnProperty(style4)) {
|
|
6436
|
+
styles3 += utils.hyphenate(style4) + ":" + this.style[style4] + ";";
|
|
6437
6437
|
}
|
|
6438
6438
|
}
|
|
6439
6439
|
if (styles3) {
|
|
@@ -7477,8 +7477,8 @@ var init_katex = __esm({
|
|
|
7477
7477
|
return false;
|
|
7478
7478
|
}
|
|
7479
7479
|
}
|
|
7480
|
-
for (var
|
|
7481
|
-
if (prev2.style.hasOwnProperty(
|
|
7480
|
+
for (var style4 in prev2.style) {
|
|
7481
|
+
if (prev2.style.hasOwnProperty(style4) && prev2.style[style4] !== next3.style[style4]) {
|
|
7482
7482
|
return false;
|
|
7483
7483
|
}
|
|
7484
7484
|
}
|
|
@@ -7524,12 +7524,12 @@ var init_katex = __esm({
|
|
|
7524
7524
|
elem.depth = depth;
|
|
7525
7525
|
elem.maxFontSize = maxFontSize;
|
|
7526
7526
|
};
|
|
7527
|
-
makeSpan$2 = function makeSpan(classes6, children2, options3,
|
|
7528
|
-
var span = new Span(classes6, children2, options3,
|
|
7527
|
+
makeSpan$2 = function makeSpan(classes6, children2, options3, style4) {
|
|
7528
|
+
var span = new Span(classes6, children2, options3, style4);
|
|
7529
7529
|
sizeElementFromChildren(span);
|
|
7530
7530
|
return span;
|
|
7531
7531
|
};
|
|
7532
|
-
makeSvgSpan = (classes6, children2, options3,
|
|
7532
|
+
makeSvgSpan = (classes6, children2, options3, style4) => new Span(classes6, children2, options3, style4);
|
|
7533
7533
|
makeLineSpan = function makeLineSpan2(className, options3, thickness) {
|
|
7534
7534
|
var line2 = makeSpan$2([className], [], options3);
|
|
7535
7535
|
line2.height = Math.max(thickness || options3.fontMetrics().defaultRuleThickness, options3.minRuleThickness);
|
|
@@ -7629,8 +7629,8 @@ var init_katex = __esm({
|
|
|
7629
7629
|
} else {
|
|
7630
7630
|
var _elem = _child.elem;
|
|
7631
7631
|
var classes6 = _child.wrapperClasses || [];
|
|
7632
|
-
var
|
|
7633
|
-
var childWrap = makeSpan$2(classes6, [pstrut, _elem], void 0,
|
|
7632
|
+
var style4 = _child.wrapperStyle || {};
|
|
7633
|
+
var childWrap = makeSpan$2(classes6, [pstrut, _elem], void 0, style4);
|
|
7634
7634
|
childWrap.style.top = makeEm(-pstrutSize - currPos - _elem.depth);
|
|
7635
7635
|
if (_child.marginLeft) {
|
|
7636
7636
|
childWrap.style.marginLeft = _child.marginLeft;
|
|
@@ -8896,14 +8896,14 @@ var init_katex = __esm({
|
|
|
8896
8896
|
// Flow is unable to correctly infer the type of `group`, even though it's
|
|
8897
8897
|
// unambiguously determined from the passed-in `type` above.
|
|
8898
8898
|
htmlBuilder(group2, options3) {
|
|
8899
|
-
var
|
|
8900
|
-
var newOptions = options3.havingStyle(
|
|
8899
|
+
var style4 = options3.style;
|
|
8900
|
+
var newOptions = options3.havingStyle(style4.sup());
|
|
8901
8901
|
var upperGroup = buildCommon.wrapFragment(buildGroup$1(group2.body, newOptions, options3), options3);
|
|
8902
8902
|
var arrowPrefix = group2.label.slice(0, 2) === "\\x" ? "x" : "cd";
|
|
8903
8903
|
upperGroup.classes.push(arrowPrefix + "-arrow-pad");
|
|
8904
8904
|
var lowerGroup;
|
|
8905
8905
|
if (group2.below) {
|
|
8906
|
-
newOptions = options3.havingStyle(
|
|
8906
|
+
newOptions = options3.havingStyle(style4.sub());
|
|
8907
8907
|
lowerGroup = buildCommon.wrapFragment(buildGroup$1(group2.below, newOptions, options3), options3);
|
|
8908
8908
|
lowerGroup.classes.push(arrowPrefix + "-arrow-pad");
|
|
8909
8909
|
}
|
|
@@ -9095,8 +9095,8 @@ var init_katex = __esm({
|
|
|
9095
9095
|
node2.style.textShadow = "0.02em 0.01em 0.04px";
|
|
9096
9096
|
return node2;
|
|
9097
9097
|
},
|
|
9098
|
-
mathmlBuilder(group2,
|
|
9099
|
-
var inner2 = buildExpression2(group2.body,
|
|
9098
|
+
mathmlBuilder(group2, style4) {
|
|
9099
|
+
var inner2 = buildExpression2(group2.body, style4);
|
|
9100
9100
|
var node2 = new mathMLTree.MathNode("mstyle", inner2);
|
|
9101
9101
|
node2.setAttribute("style", "text-shadow: 0.02em 0.01em 0.04px");
|
|
9102
9102
|
return node2;
|
|
@@ -9539,19 +9539,19 @@ var init_katex = __esm({
|
|
|
9539
9539
|
span.maxFontSize = newOptions.sizeMultiplier;
|
|
9540
9540
|
return span;
|
|
9541
9541
|
};
|
|
9542
|
-
centerSpan = function centerSpan2(span, options3,
|
|
9543
|
-
var newOptions = options3.havingBaseStyle(
|
|
9542
|
+
centerSpan = function centerSpan2(span, options3, style4) {
|
|
9543
|
+
var newOptions = options3.havingBaseStyle(style4);
|
|
9544
9544
|
var shift2 = (1 - options3.sizeMultiplier / newOptions.sizeMultiplier) * options3.fontMetrics().axisHeight;
|
|
9545
9545
|
span.classes.push("delimcenter");
|
|
9546
9546
|
span.style.top = makeEm(shift2);
|
|
9547
9547
|
span.height -= shift2;
|
|
9548
9548
|
span.depth += shift2;
|
|
9549
9549
|
};
|
|
9550
|
-
makeSmallDelim = function makeSmallDelim2(delim,
|
|
9550
|
+
makeSmallDelim = function makeSmallDelim2(delim, style4, center4, options3, mode, classes6) {
|
|
9551
9551
|
var text2 = buildCommon.makeSymbol(delim, "Main-Regular", mode, options3);
|
|
9552
|
-
var span = styleWrap(text2,
|
|
9552
|
+
var span = styleWrap(text2, style4, options3, classes6);
|
|
9553
9553
|
if (center4) {
|
|
9554
|
-
centerSpan(span, options3,
|
|
9554
|
+
centerSpan(span, options3, style4);
|
|
9555
9555
|
}
|
|
9556
9556
|
return span;
|
|
9557
9557
|
};
|
|
@@ -11406,11 +11406,11 @@ var init_katex = __esm({
|
|
|
11406
11406
|
mode
|
|
11407
11407
|
} = parser22;
|
|
11408
11408
|
var body = parser22.parseExpression(true, breakOnTokenText);
|
|
11409
|
-
var
|
|
11409
|
+
var style4 = "math" + funcName.slice(1);
|
|
11410
11410
|
return {
|
|
11411
11411
|
type: "font",
|
|
11412
11412
|
mode,
|
|
11413
|
-
font:
|
|
11413
|
+
font: style4,
|
|
11414
11414
|
body: {
|
|
11415
11415
|
type: "ordgroup",
|
|
11416
11416
|
mode: parser22.mode,
|
|
@@ -11422,22 +11422,22 @@ var init_katex = __esm({
|
|
|
11422
11422
|
mathmlBuilder: mathmlBuilder$4
|
|
11423
11423
|
});
|
|
11424
11424
|
adjustStyle = (size5, originalStyle) => {
|
|
11425
|
-
var
|
|
11425
|
+
var style4 = originalStyle;
|
|
11426
11426
|
if (size5 === "display") {
|
|
11427
|
-
|
|
11428
|
-
} else if (size5 === "text" &&
|
|
11429
|
-
|
|
11427
|
+
style4 = style4.id >= Style$1.SCRIPT.id ? style4.text() : Style$1.DISPLAY;
|
|
11428
|
+
} else if (size5 === "text" && style4.size === Style$1.DISPLAY.size) {
|
|
11429
|
+
style4 = Style$1.TEXT;
|
|
11430
11430
|
} else if (size5 === "script") {
|
|
11431
|
-
|
|
11431
|
+
style4 = Style$1.SCRIPT;
|
|
11432
11432
|
} else if (size5 === "scriptscript") {
|
|
11433
|
-
|
|
11433
|
+
style4 = Style$1.SCRIPTSCRIPT;
|
|
11434
11434
|
}
|
|
11435
|
-
return
|
|
11435
|
+
return style4;
|
|
11436
11436
|
};
|
|
11437
11437
|
htmlBuilder$4 = (group2, options3) => {
|
|
11438
|
-
var
|
|
11439
|
-
var nstyle =
|
|
11440
|
-
var dstyle =
|
|
11438
|
+
var style4 = adjustStyle(group2.size, options3.style);
|
|
11439
|
+
var nstyle = style4.fracNum();
|
|
11440
|
+
var dstyle = style4.fracDen();
|
|
11441
11441
|
var newOptions;
|
|
11442
11442
|
newOptions = options3.havingStyle(nstyle);
|
|
11443
11443
|
var numerm = buildGroup$1(group2.numer, newOptions, options3);
|
|
@@ -11469,7 +11469,7 @@ var init_katex = __esm({
|
|
|
11469
11469
|
var numShift;
|
|
11470
11470
|
var clearance;
|
|
11471
11471
|
var denomShift;
|
|
11472
|
-
if (
|
|
11472
|
+
if (style4.size === Style$1.DISPLAY.size || group2.size === "display") {
|
|
11473
11473
|
numShift = options3.fontMetrics().num1;
|
|
11474
11474
|
if (ruleWidth > 0) {
|
|
11475
11475
|
clearance = 3 * ruleSpacing;
|
|
@@ -11532,13 +11532,13 @@ var init_katex = __esm({
|
|
|
11532
11532
|
}]
|
|
11533
11533
|
}, options3);
|
|
11534
11534
|
}
|
|
11535
|
-
newOptions = options3.havingStyle(
|
|
11535
|
+
newOptions = options3.havingStyle(style4);
|
|
11536
11536
|
frac.height *= newOptions.sizeMultiplier / options3.sizeMultiplier;
|
|
11537
11537
|
frac.depth *= newOptions.sizeMultiplier / options3.sizeMultiplier;
|
|
11538
11538
|
var delimSize;
|
|
11539
|
-
if (
|
|
11539
|
+
if (style4.size === Style$1.DISPLAY.size) {
|
|
11540
11540
|
delimSize = options3.fontMetrics().delim1;
|
|
11541
|
-
} else if (
|
|
11541
|
+
} else if (style4.size === Style$1.SCRIPTSCRIPT.size) {
|
|
11542
11542
|
delimSize = options3.havingStyle(Style$1.SCRIPT).fontMetrics().delim2;
|
|
11543
11543
|
} else {
|
|
11544
11544
|
delimSize = options3.fontMetrics().delim2;
|
|
@@ -11548,14 +11548,14 @@ var init_katex = __esm({
|
|
|
11548
11548
|
if (group2.leftDelim == null) {
|
|
11549
11549
|
leftDelim = makeNullDelimiter(options3, ["mopen"]);
|
|
11550
11550
|
} else {
|
|
11551
|
-
leftDelim = delimiter.customSizedDelim(group2.leftDelim, delimSize, true, options3.havingStyle(
|
|
11551
|
+
leftDelim = delimiter.customSizedDelim(group2.leftDelim, delimSize, true, options3.havingStyle(style4), group2.mode, ["mopen"]);
|
|
11552
11552
|
}
|
|
11553
11553
|
if (group2.continued) {
|
|
11554
11554
|
rightDelim = buildCommon.makeSpan([]);
|
|
11555
11555
|
} else if (group2.rightDelim == null) {
|
|
11556
11556
|
rightDelim = makeNullDelimiter(options3, ["mclose"]);
|
|
11557
11557
|
} else {
|
|
11558
|
-
rightDelim = delimiter.customSizedDelim(group2.rightDelim, delimSize, true, options3.havingStyle(
|
|
11558
|
+
rightDelim = delimiter.customSizedDelim(group2.rightDelim, delimSize, true, options3.havingStyle(style4), group2.mode, ["mclose"]);
|
|
11559
11559
|
}
|
|
11560
11560
|
return buildCommon.makeSpan(["mord"].concat(newOptions.sizingClasses(options3)), [leftDelim, buildCommon.makeSpan(["mfrac"], [frac]), rightDelim], options3);
|
|
11561
11561
|
};
|
|
@@ -11567,10 +11567,10 @@ var init_katex = __esm({
|
|
|
11567
11567
|
var ruleWidth = calculateSize(group2.barSize, options3);
|
|
11568
11568
|
node2.setAttribute("linethickness", makeEm(ruleWidth));
|
|
11569
11569
|
}
|
|
11570
|
-
var
|
|
11571
|
-
if (
|
|
11570
|
+
var style4 = adjustStyle(group2.size, options3.style);
|
|
11571
|
+
if (style4.size !== options3.style.size) {
|
|
11572
11572
|
node2 = new mathMLTree.MathNode("mstyle", [node2]);
|
|
11573
|
-
var isDisplay =
|
|
11573
|
+
var isDisplay = style4.size === Style$1.DISPLAY.size ? "true" : "false";
|
|
11574
11574
|
node2.setAttribute("displaystyle", isDisplay);
|
|
11575
11575
|
node2.setAttribute("scriptlevel", "0");
|
|
11576
11576
|
}
|
|
@@ -11863,11 +11863,11 @@ var init_katex = __esm({
|
|
|
11863
11863
|
mathmlBuilder: mathmlBuilder$3
|
|
11864
11864
|
});
|
|
11865
11865
|
htmlBuilder$3 = (grp, options3) => {
|
|
11866
|
-
var
|
|
11866
|
+
var style4 = options3.style;
|
|
11867
11867
|
var supSubGroup;
|
|
11868
11868
|
var group2;
|
|
11869
11869
|
if (grp.type === "supsub") {
|
|
11870
|
-
supSubGroup = grp.sup ? buildGroup$1(grp.sup, options3.havingStyle(
|
|
11870
|
+
supSubGroup = grp.sup ? buildGroup$1(grp.sup, options3.havingStyle(style4.sup()), options3) : buildGroup$1(grp.sub, options3.havingStyle(style4.sub()), options3);
|
|
11871
11871
|
group2 = assertNodeType(grp.base, "horizBrace");
|
|
11872
11872
|
} else {
|
|
11873
11873
|
group2 = assertNodeType(grp, "horizBrace");
|
|
@@ -12301,16 +12301,16 @@ var init_katex = __esm({
|
|
|
12301
12301
|
if (group2.width.number > 0) {
|
|
12302
12302
|
width3 = calculateSize(group2.width, options3);
|
|
12303
12303
|
}
|
|
12304
|
-
var
|
|
12304
|
+
var style4 = {
|
|
12305
12305
|
height: makeEm(height2 + depth)
|
|
12306
12306
|
};
|
|
12307
12307
|
if (width3 > 0) {
|
|
12308
|
-
|
|
12308
|
+
style4.width = makeEm(width3);
|
|
12309
12309
|
}
|
|
12310
12310
|
if (depth > 0) {
|
|
12311
|
-
|
|
12311
|
+
style4.verticalAlign = makeEm(-depth);
|
|
12312
12312
|
}
|
|
12313
|
-
var node2 = new Img(group2.src, group2.alt,
|
|
12313
|
+
var node2 = new Img(group2.src, group2.alt, style4);
|
|
12314
12314
|
node2.height = height2;
|
|
12315
12315
|
node2.depth = depth;
|
|
12316
12316
|
return node2;
|
|
@@ -12511,20 +12511,20 @@ var init_katex = __esm({
|
|
|
12511
12511
|
return buildExpressionRow(body, options3);
|
|
12512
12512
|
}
|
|
12513
12513
|
});
|
|
12514
|
-
assembleSupSub = (base, supGroup, subGroup, options3,
|
|
12514
|
+
assembleSupSub = (base, supGroup, subGroup, options3, style4, slant, baseShift) => {
|
|
12515
12515
|
base = buildCommon.makeSpan([], [base]);
|
|
12516
12516
|
var subIsSingleCharacter = subGroup && utils.isCharacterBox(subGroup);
|
|
12517
12517
|
var sub2;
|
|
12518
12518
|
var sup2;
|
|
12519
12519
|
if (supGroup) {
|
|
12520
|
-
var elem = buildGroup$1(supGroup, options3.havingStyle(
|
|
12520
|
+
var elem = buildGroup$1(supGroup, options3.havingStyle(style4.sup()), options3);
|
|
12521
12521
|
sup2 = {
|
|
12522
12522
|
elem,
|
|
12523
12523
|
kern: Math.max(options3.fontMetrics().bigOpSpacing1, options3.fontMetrics().bigOpSpacing3 - elem.depth)
|
|
12524
12524
|
};
|
|
12525
12525
|
}
|
|
12526
12526
|
if (subGroup) {
|
|
12527
|
-
var _elem = buildGroup$1(subGroup, options3.havingStyle(
|
|
12527
|
+
var _elem = buildGroup$1(subGroup, options3.havingStyle(style4.sub()), options3);
|
|
12528
12528
|
sub2 = {
|
|
12529
12529
|
elem: _elem,
|
|
12530
12530
|
kern: Math.max(options3.fontMetrics().bigOpSpacing2, options3.fontMetrics().bigOpSpacing4 - _elem.height)
|
|
@@ -12626,9 +12626,9 @@ var init_katex = __esm({
|
|
|
12626
12626
|
} else {
|
|
12627
12627
|
group2 = assertNodeType(grp, "op");
|
|
12628
12628
|
}
|
|
12629
|
-
var
|
|
12629
|
+
var style4 = options3.style;
|
|
12630
12630
|
var large = false;
|
|
12631
|
-
if (
|
|
12631
|
+
if (style4.size === Style$1.DISPLAY.size && group2.symbol && !utils.contains(noSuccessor, group2.name)) {
|
|
12632
12632
|
large = true;
|
|
12633
12633
|
}
|
|
12634
12634
|
var base;
|
|
@@ -12681,7 +12681,7 @@ var init_katex = __esm({
|
|
|
12681
12681
|
slant = base.italic;
|
|
12682
12682
|
}
|
|
12683
12683
|
if (hasLimits) {
|
|
12684
|
-
return assembleSupSub(base, supGroup, subGroup, options3,
|
|
12684
|
+
return assembleSupSub(base, supGroup, subGroup, options3, style4, slant, baseShift);
|
|
12685
12685
|
} else {
|
|
12686
12686
|
if (baseShift) {
|
|
12687
12687
|
base.style.position = "relative";
|
|
@@ -13475,13 +13475,13 @@ var init_katex = __esm({
|
|
|
13475
13475
|
parser: parser22
|
|
13476
13476
|
} = _ref;
|
|
13477
13477
|
var body = parser22.parseExpression(true, breakOnTokenText);
|
|
13478
|
-
var
|
|
13478
|
+
var style4 = funcName.slice(1, funcName.length - 5);
|
|
13479
13479
|
return {
|
|
13480
13480
|
type: "styling",
|
|
13481
13481
|
mode: parser22.mode,
|
|
13482
13482
|
// Figure out what style to use by pulling out the style from
|
|
13483
13483
|
// the function name
|
|
13484
|
-
style:
|
|
13484
|
+
style: style4,
|
|
13485
13485
|
body
|
|
13486
13486
|
};
|
|
13487
13487
|
},
|
|
@@ -28458,18 +28458,18 @@ function calcTerminalLabelPosition(terminalMarkerSize, position5, _points) {
|
|
|
28458
28458
|
return cardinalityPosition;
|
|
28459
28459
|
}
|
|
28460
28460
|
function getStylesFromArray(arr) {
|
|
28461
|
-
let
|
|
28461
|
+
let style4 = "";
|
|
28462
28462
|
let labelStyle = "";
|
|
28463
28463
|
for (const element3 of arr) {
|
|
28464
28464
|
if (element3 !== void 0) {
|
|
28465
28465
|
if (element3.startsWith("color:") || element3.startsWith("text-align:")) {
|
|
28466
28466
|
labelStyle = labelStyle + element3 + ";";
|
|
28467
28467
|
} else {
|
|
28468
|
-
|
|
28468
|
+
style4 = style4 + element3 + ";";
|
|
28469
28469
|
}
|
|
28470
28470
|
}
|
|
28471
28471
|
}
|
|
28472
|
-
return { style:
|
|
28472
|
+
return { style: style4, labelStyle };
|
|
28473
28473
|
}
|
|
28474
28474
|
function makeRandomHex(length2) {
|
|
28475
28475
|
let result = "";
|
|
@@ -31465,7 +31465,7 @@ var init_chunk_OERGPBFJ = __esm({
|
|
|
31465
31465
|
__name(updateTextContentAndStyles, "updateTextContentAndStyles");
|
|
31466
31466
|
__name(replaceIconSubstring, "replaceIconSubstring");
|
|
31467
31467
|
createText = /* @__PURE__ */ __name(async (el, text2 = "", {
|
|
31468
|
-
style:
|
|
31468
|
+
style: style4 = "",
|
|
31469
31469
|
isTitle = false,
|
|
31470
31470
|
classes: classes6 = "",
|
|
31471
31471
|
useHtmlLabels = true,
|
|
@@ -31476,7 +31476,7 @@ var init_chunk_OERGPBFJ = __esm({
|
|
|
31476
31476
|
log.info(
|
|
31477
31477
|
"XYZ createText",
|
|
31478
31478
|
text2,
|
|
31479
|
-
|
|
31479
|
+
style4,
|
|
31480
31480
|
isTitle,
|
|
31481
31481
|
classes6,
|
|
31482
31482
|
useHtmlLabels,
|
|
@@ -31491,7 +31491,7 @@ var init_chunk_OERGPBFJ = __esm({
|
|
|
31491
31491
|
const node2 = {
|
|
31492
31492
|
isNode: isNode2,
|
|
31493
31493
|
label: hasKatex(text2) ? inputForKatex : decodedReplacedText,
|
|
31494
|
-
labelStyle:
|
|
31494
|
+
labelStyle: style4.replace("fill:", "color:")
|
|
31495
31495
|
};
|
|
31496
31496
|
const vertexNode = await addHtmlSpan(el, node2, width3, classes6, addSvgBackground);
|
|
31497
31497
|
return vertexNode;
|
|
@@ -31505,15 +31505,15 @@ var init_chunk_OERGPBFJ = __esm({
|
|
|
31505
31505
|
text2 ? addSvgBackground : false
|
|
31506
31506
|
);
|
|
31507
31507
|
if (isNode2) {
|
|
31508
|
-
if (/stroke:/.exec(
|
|
31509
|
-
|
|
31508
|
+
if (/stroke:/.exec(style4)) {
|
|
31509
|
+
style4 = style4.replace("stroke:", "lineColor:");
|
|
31510
31510
|
}
|
|
31511
|
-
const nodeLabelTextStyle =
|
|
31511
|
+
const nodeLabelTextStyle = style4.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
|
|
31512
31512
|
select_default2(svgLabel).attr("style", nodeLabelTextStyle);
|
|
31513
31513
|
} else {
|
|
31514
|
-
const edgeLabelRectStyle =
|
|
31514
|
+
const edgeLabelRectStyle = style4.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
|
|
31515
31515
|
select_default2(svgLabel).select("rect").attr("style", edgeLabelRectStyle.replace(/background:/g, "fill:"));
|
|
31516
|
-
const edgeLabelTextStyle =
|
|
31516
|
+
const edgeLabelTextStyle = style4.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
|
|
31517
31517
|
select_default2(svgLabel).select("text").attr("style", edgeLabelTextStyle);
|
|
31518
31518
|
}
|
|
31519
31519
|
return svgLabel;
|
|
@@ -32752,7 +32752,7 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
32752
32752
|
intersect_rect_default = intersectRect;
|
|
32753
32753
|
__name(applyStyle2, "applyStyle");
|
|
32754
32754
|
__name(addHtmlLabel, "addHtmlLabel");
|
|
32755
|
-
createLabel = /* @__PURE__ */ __name(async (_vertexText,
|
|
32755
|
+
createLabel = /* @__PURE__ */ __name(async (_vertexText, style4, isTitle, isNode2) => {
|
|
32756
32756
|
let vertexText = _vertexText || "";
|
|
32757
32757
|
if (typeof vertexText === "object") {
|
|
32758
32758
|
vertexText = vertexText[0];
|
|
@@ -32766,13 +32766,13 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
32766
32766
|
/fa[blrs]?:fa-[\w-]+/g,
|
|
32767
32767
|
(s2) => `<i class='${s2.replace(":", " ")}'></i>`
|
|
32768
32768
|
),
|
|
32769
|
-
labelStyle:
|
|
32769
|
+
labelStyle: style4 ? style4.replace("fill:", "color:") : style4
|
|
32770
32770
|
};
|
|
32771
32771
|
let vertexNode = await addHtmlLabel(node2);
|
|
32772
32772
|
return vertexNode;
|
|
32773
32773
|
} else {
|
|
32774
32774
|
const svgLabel = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
32775
|
-
svgLabel.setAttribute("style",
|
|
32775
|
+
svgLabel.setAttribute("style", style4.replace("color:", "fill:"));
|
|
32776
32776
|
let rows = [];
|
|
32777
32777
|
if (typeof vertexText === "string") {
|
|
32778
32778
|
rows = vertexText.split(/\\n|\n|<br\s*\/?>/gi);
|
|
@@ -32873,8 +32873,8 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
32873
32873
|
}, "compileStyles");
|
|
32874
32874
|
styles2Map = /* @__PURE__ */ __name((styles3) => {
|
|
32875
32875
|
const styleMap2 = /* @__PURE__ */ new Map();
|
|
32876
|
-
styles3.forEach((
|
|
32877
|
-
const [key, value2] =
|
|
32876
|
+
styles3.forEach((style4) => {
|
|
32877
|
+
const [key, value2] = style4.split(":");
|
|
32878
32878
|
styleMap2.set(key.trim(), value2?.trim());
|
|
32879
32879
|
});
|
|
32880
32880
|
return styleMap2;
|
|
@@ -32885,17 +32885,17 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
32885
32885
|
const nodeStyles = [];
|
|
32886
32886
|
const borderStyles = [];
|
|
32887
32887
|
const backgroundStyles = [];
|
|
32888
|
-
stylesArray.forEach((
|
|
32889
|
-
const key =
|
|
32888
|
+
stylesArray.forEach((style4) => {
|
|
32889
|
+
const key = style4[0];
|
|
32890
32890
|
if (key === "color" || key === "font-size" || key === "font-family" || key === "font-weight" || key === "font-style" || key === "text-decoration" || key === "text-align" || key === "text-transform" || key === "line-height" || key === "letter-spacing" || key === "word-spacing" || key === "text-shadow" || key === "text-overflow" || key === "white-space" || key === "word-wrap" || key === "word-break" || key === "overflow-wrap" || key === "hyphens") {
|
|
32891
|
-
labelStyles.push(
|
|
32891
|
+
labelStyles.push(style4.join(":") + " !important");
|
|
32892
32892
|
} else {
|
|
32893
|
-
nodeStyles.push(
|
|
32893
|
+
nodeStyles.push(style4.join(":") + " !important");
|
|
32894
32894
|
if (key.includes("stroke")) {
|
|
32895
|
-
borderStyles.push(
|
|
32895
|
+
borderStyles.push(style4.join(":") + " !important");
|
|
32896
32896
|
}
|
|
32897
32897
|
if (key === "fill") {
|
|
32898
|
-
backgroundStyles.push(
|
|
32898
|
+
backgroundStyles.push(style4.join(":") + " !important");
|
|
32899
32899
|
}
|
|
32900
32900
|
}
|
|
32901
32901
|
});
|
|
@@ -33178,7 +33178,7 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
33178
33178
|
terminalLabels.clear();
|
|
33179
33179
|
}, "clear");
|
|
33180
33180
|
getLabelStyles = /* @__PURE__ */ __name((styleArray) => {
|
|
33181
|
-
let styles3 = styleArray ? styleArray.reduce((acc,
|
|
33181
|
+
let styles3 = styleArray ? styleArray.reduce((acc, style4) => acc + ";" + style4, "") : "";
|
|
33182
33182
|
return styles3;
|
|
33183
33183
|
}, "getLabelStyles");
|
|
33184
33184
|
insertEdgeLabel = /* @__PURE__ */ __name(async (elem, edge) => {
|
|
@@ -33588,12 +33588,12 @@ var init_chunk_5CZSE4TR = __esm({
|
|
|
33588
33588
|
seed: handDrawnSeed
|
|
33589
33589
|
});
|
|
33590
33590
|
strokeClasses += " transition";
|
|
33591
|
-
svgPath = select_default2(svgPathNode).select("path").attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edgeStyles ? edgeStyles.reduce((acc,
|
|
33591
|
+
svgPath = select_default2(svgPathNode).select("path").attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edgeStyles ? edgeStyles.reduce((acc, style4) => acc + ";" + style4, "") : "");
|
|
33592
33592
|
let d2 = svgPath.attr("d");
|
|
33593
33593
|
svgPath.attr("d", d2);
|
|
33594
33594
|
elem.node().appendChild(svgPath.node());
|
|
33595
33595
|
} else {
|
|
33596
|
-
svgPath = elem.append("path").attr("d", linePath).attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edgeStyles ? edgeStyles.reduce((acc,
|
|
33596
|
+
svgPath = elem.append("path").attr("d", linePath).attr("id", edge.id).attr("class", " " + strokeClasses + (edge.classes ? " " + edge.classes : "")).attr("style", edgeStyles ? edgeStyles.reduce((acc, style4) => acc + ";" + style4, "") : "");
|
|
33597
33597
|
}
|
|
33598
33598
|
let url2 = "";
|
|
33599
33599
|
if (getConfig2().flowchart.arrowMarkerAbsolute || getConfig2().state.arrowMarkerAbsolute) {
|
|
@@ -44561,7 +44561,7 @@ var init_chunk_Z2VRG6XP = __esm({
|
|
|
44561
44561
|
init_src32();
|
|
44562
44562
|
__name(applyStyle3, "applyStyle");
|
|
44563
44563
|
__name(addHtmlLabel2, "addHtmlLabel");
|
|
44564
|
-
createLabel2 = /* @__PURE__ */ __name((_vertexText,
|
|
44564
|
+
createLabel2 = /* @__PURE__ */ __name((_vertexText, style4, isTitle, isNode2) => {
|
|
44565
44565
|
let vertexText = _vertexText || "";
|
|
44566
44566
|
if (typeof vertexText === "object") {
|
|
44567
44567
|
vertexText = vertexText[0];
|
|
@@ -44572,13 +44572,13 @@ var init_chunk_Z2VRG6XP = __esm({
|
|
|
44572
44572
|
const node2 = {
|
|
44573
44573
|
isNode: isNode2,
|
|
44574
44574
|
label: replaceIconSubstring(decodeEntities(vertexText)),
|
|
44575
|
-
labelStyle:
|
|
44575
|
+
labelStyle: style4.replace("fill:", "color:")
|
|
44576
44576
|
};
|
|
44577
44577
|
let vertexNode = addHtmlLabel2(node2);
|
|
44578
44578
|
return vertexNode;
|
|
44579
44579
|
} else {
|
|
44580
44580
|
const svgLabel = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
44581
|
-
svgLabel.setAttribute("style",
|
|
44581
|
+
svgLabel.setAttribute("style", style4.replace("color:", "fill:"));
|
|
44582
44582
|
let rows = [];
|
|
44583
44583
|
if (typeof vertexText === "string") {
|
|
44584
44584
|
rows = vertexText.split(/\\n|\n|<br\s*\/?>/gi);
|
|
@@ -45799,7 +45799,7 @@ var init_flowDiagram_TGP4CI55 = __esm({
|
|
|
45799
45799
|
}
|
|
45800
45800
|
return id24;
|
|
45801
45801
|
}, "lookUpDomId");
|
|
45802
|
-
addVertex = /* @__PURE__ */ __name(function(id24, textObj, type3,
|
|
45802
|
+
addVertex = /* @__PURE__ */ __name(function(id24, textObj, type3, style4, classes22, dir2, props = {}) {
|
|
45803
45803
|
if (!id24 || id24.trim().length === 0) {
|
|
45804
45804
|
return;
|
|
45805
45805
|
}
|
|
@@ -45832,8 +45832,8 @@ var init_flowDiagram_TGP4CI55 = __esm({
|
|
|
45832
45832
|
if (type3 !== void 0) {
|
|
45833
45833
|
vertex.type = type3;
|
|
45834
45834
|
}
|
|
45835
|
-
if (
|
|
45836
|
-
|
|
45835
|
+
if (style4 !== void 0 && style4 !== null) {
|
|
45836
|
+
style4.forEach(function(s2) {
|
|
45837
45837
|
vertex.styles.push(s2);
|
|
45838
45838
|
});
|
|
45839
45839
|
}
|
|
@@ -45899,7 +45899,7 @@ You have to call mermaid.initialize.`
|
|
|
45899
45899
|
}
|
|
45900
45900
|
});
|
|
45901
45901
|
}, "updateLinkInterpolate");
|
|
45902
|
-
updateLink = /* @__PURE__ */ __name(function(positions2,
|
|
45902
|
+
updateLink = /* @__PURE__ */ __name(function(positions2, style4) {
|
|
45903
45903
|
positions2.forEach(function(pos) {
|
|
45904
45904
|
if (typeof pos === "number" && pos >= edges.length) {
|
|
45905
45905
|
throw new Error(
|
|
@@ -45907,24 +45907,24 @@ You have to call mermaid.initialize.`
|
|
|
45907
45907
|
);
|
|
45908
45908
|
}
|
|
45909
45909
|
if (pos === "default") {
|
|
45910
|
-
edges.defaultStyle =
|
|
45910
|
+
edges.defaultStyle = style4;
|
|
45911
45911
|
} else {
|
|
45912
|
-
edges[pos].style =
|
|
45912
|
+
edges[pos].style = style4;
|
|
45913
45913
|
if ((edges[pos]?.style?.length ?? 0) > 0 && !edges[pos]?.style?.some((s2) => s2?.startsWith("fill"))) {
|
|
45914
45914
|
edges[pos]?.style?.push("fill:none");
|
|
45915
45915
|
}
|
|
45916
45916
|
}
|
|
45917
45917
|
});
|
|
45918
45918
|
}, "updateLink");
|
|
45919
|
-
addClass = /* @__PURE__ */ __name(function(ids,
|
|
45919
|
+
addClass = /* @__PURE__ */ __name(function(ids, style4) {
|
|
45920
45920
|
ids.split(",").forEach(function(id24) {
|
|
45921
45921
|
let classNode = classes.get(id24);
|
|
45922
45922
|
if (classNode === void 0) {
|
|
45923
45923
|
classNode = { id: id24, styles: [], textStyles: [] };
|
|
45924
45924
|
classes.set(id24, classNode);
|
|
45925
45925
|
}
|
|
45926
|
-
if (
|
|
45927
|
-
|
|
45926
|
+
if (style4 !== void 0 && style4 !== null) {
|
|
45927
|
+
style4.forEach(function(s2) {
|
|
45928
45928
|
if (/color/.exec(s2)) {
|
|
45929
45929
|
const newStyle = s2.replace("fill", "bgFill");
|
|
45930
45930
|
classNode.textStyles.push(newStyle);
|
|
@@ -62284,14 +62284,14 @@ var require_events = __commonJS({
|
|
|
62284
62284
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
62285
62285
|
exports2.Emitter = exports2.Event = void 0;
|
|
62286
62286
|
var ral_1 = require_ral();
|
|
62287
|
-
var
|
|
62288
|
-
(function(
|
|
62287
|
+
var Event4;
|
|
62288
|
+
(function(Event5) {
|
|
62289
62289
|
const _disposable = { dispose() {
|
|
62290
62290
|
} };
|
|
62291
|
-
|
|
62291
|
+
Event5.None = function() {
|
|
62292
62292
|
return _disposable;
|
|
62293
62293
|
};
|
|
62294
|
-
})(
|
|
62294
|
+
})(Event4 || (exports2.Event = Event4 = {}));
|
|
62295
62295
|
var CallbackList = class {
|
|
62296
62296
|
add(callback, context = null, bucket) {
|
|
62297
62297
|
if (!this._callbacks) {
|
|
@@ -71900,8 +71900,8 @@ function setYAxisBottomText(textObj) {
|
|
|
71900
71900
|
}
|
|
71901
71901
|
function parseStyles(styles3) {
|
|
71902
71902
|
const stylesObject = {};
|
|
71903
|
-
for (const
|
|
71904
|
-
const [key, value2] =
|
|
71903
|
+
for (const style4 of styles3) {
|
|
71904
|
+
const [key, value2] = style4.trim().split(/\s*:\s*/);
|
|
71905
71905
|
if (key === "radius") {
|
|
71906
71906
|
if (validateNumber(value2)) {
|
|
71907
71907
|
throw new InvalidStyleError(key, value2, "number");
|
|
@@ -73133,8 +73133,8 @@ var init_quadrantDiagram_SRYJ5FP7 = __esm({
|
|
|
73133
73133
|
static {
|
|
73134
73134
|
__name(this, "InvalidStyleError");
|
|
73135
73135
|
}
|
|
73136
|
-
constructor(
|
|
73137
|
-
super(`value for ${
|
|
73136
|
+
constructor(style4, value2, type3) {
|
|
73137
|
+
super(`value for ${style4} ${value2} is invalid, please use a valid ${type3}`);
|
|
73138
73138
|
this.name = "InvalidStyleError";
|
|
73139
73139
|
}
|
|
73140
73140
|
};
|
|
@@ -77667,9 +77667,9 @@ var init_sequenceDiagram_6SD7JOPP = __esm({
|
|
|
77667
77667
|
title2 = str2.trim();
|
|
77668
77668
|
}
|
|
77669
77669
|
} else {
|
|
77670
|
-
const
|
|
77671
|
-
|
|
77672
|
-
if (
|
|
77670
|
+
const style4 = new Option().style;
|
|
77671
|
+
style4.color = color2;
|
|
77672
|
+
if (style4.color !== color2) {
|
|
77673
77673
|
color2 = "transparent";
|
|
77674
77674
|
title2 = str2.trim();
|
|
77675
77675
|
}
|
|
@@ -84180,8 +84180,8 @@ var init_chunk_SVGOEX7Z = __esm({
|
|
|
84180
84180
|
const itemId = parsedItem.id;
|
|
84181
84181
|
const dbState = diagramStates.get(itemId);
|
|
84182
84182
|
const classStr = getClassesFromDbInfo(dbState);
|
|
84183
|
-
const
|
|
84184
|
-
log.info("dataFetcher parsedItem", parsedItem, dbState,
|
|
84183
|
+
const style4 = getStylesFromDbInfo(dbState);
|
|
84184
|
+
log.info("dataFetcher parsedItem", parsedItem, dbState, style4);
|
|
84185
84185
|
if (itemId !== "root") {
|
|
84186
84186
|
let shape = SHAPE_STATE;
|
|
84187
84187
|
if (parsedItem.start === true) {
|
|
@@ -84198,7 +84198,7 @@ var init_chunk_SVGOEX7Z = __esm({
|
|
|
84198
84198
|
shape,
|
|
84199
84199
|
description: common_default.sanitizeText(itemId, getConfig2()),
|
|
84200
84200
|
cssClasses: `${classStr} ${CSS_DIAGRAM_STATE}`,
|
|
84201
|
-
cssStyles:
|
|
84201
|
+
cssStyles: style4
|
|
84202
84202
|
});
|
|
84203
84203
|
}
|
|
84204
84204
|
const newNode = nodeDb.get(itemId);
|
|
@@ -84535,7 +84535,7 @@ var init_chunk_SVGOEX7Z = __esm({
|
|
|
84535
84535
|
if (styles3) {
|
|
84536
84536
|
log.info("Setting state styles", trimmedId, styles3);
|
|
84537
84537
|
const stylesList = typeof styles3 === "string" ? [styles3] : styles3;
|
|
84538
|
-
stylesList.forEach((
|
|
84538
|
+
stylesList.forEach((style4) => setStyle(trimmedId, style4.trim()));
|
|
84539
84539
|
}
|
|
84540
84540
|
if (textStyles) {
|
|
84541
84541
|
log.info("Setting state styles", trimmedId, styles3);
|
|
@@ -89022,14 +89022,14 @@ function step$1(self2, ani, now4, isCore) {
|
|
|
89022
89022
|
var pEasing = ani_p.easing;
|
|
89023
89023
|
var startTime = ani_p.startTime;
|
|
89024
89024
|
var cy = isCore ? self2 : self2.cy();
|
|
89025
|
-
var
|
|
89025
|
+
var style4 = cy.style();
|
|
89026
89026
|
if (!ani_p.easingImpl) {
|
|
89027
89027
|
if (pEasing == null) {
|
|
89028
89028
|
ani_p.easingImpl = easings["linear"];
|
|
89029
89029
|
} else {
|
|
89030
89030
|
var easingVals;
|
|
89031
89031
|
if (string(pEasing)) {
|
|
89032
|
-
var easingProp =
|
|
89032
|
+
var easingProp = style4.parse("transition-timing-function", pEasing);
|
|
89033
89033
|
easingVals = easingProp.value;
|
|
89034
89034
|
} else {
|
|
89035
89035
|
easingVals = pEasing;
|
|
@@ -89114,9 +89114,9 @@ function step$1(self2, ani, now4, isCore) {
|
|
|
89114
89114
|
var _name = prop.name;
|
|
89115
89115
|
var end2 = prop;
|
|
89116
89116
|
var start3 = ani_p.startStyle[_name];
|
|
89117
|
-
var propSpec =
|
|
89117
|
+
var propSpec = style4.properties[start3.name];
|
|
89118
89118
|
var easedVal = ease(start3, end2, percent, easing, propSpec);
|
|
89119
|
-
|
|
89119
|
+
style4.overrideBypass(self2, _name, easedVal);
|
|
89120
89120
|
}
|
|
89121
89121
|
self2.emit("style");
|
|
89122
89122
|
}
|
|
@@ -89852,7 +89852,7 @@ function getModule(type3, name, moduleType, moduleName) {
|
|
|
89852
89852
|
keys: [type3, name, moduleType, moduleName]
|
|
89853
89853
|
});
|
|
89854
89854
|
}
|
|
89855
|
-
var _window, navigator2, typeofstr, typeofobj, typeoffn, typeofhtmlele, instanceStr, string, fn$6, array2, plainObject, object, number$1, integer2, htmlElement, elementOrCollection, element, collection, core, stylesheet, event, emptyString, domElement, boundingBox, promise, ms, memoize$1, camel2dash, dash2camel, prependCamel, capitalize, number6, rgba3, rgbaNoBackRefs, hsla2, hslaNoBackRefs, hex3, hex6, ascending3, descending2, extend2, hex2tuple, hsl2tuple, rgb2tuple, colorname2tuple, color2tuple, colors, setMap, getMap, isObject_1, 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, clone3, copy4, copyArray$1, uuid, _staticEmptyObject, staticEmptyObject, defaults$g, removeFromArray, clearArray, push, getPrefixedProperty, setPrefixedProperty, ObjectMap, Map$2, undef, ObjectSet, Set$1, Element, 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, toString3, 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,
|
|
89855
|
+
var _window, navigator2, typeofstr, typeofobj, typeoffn, typeofhtmlele, instanceStr, string, fn$6, array2, plainObject, object, number$1, integer2, htmlElement, elementOrCollection, element, collection, core, stylesheet, event, emptyString, domElement, boundingBox, promise, ms, memoize$1, camel2dash, dash2camel, prependCamel, capitalize, number6, rgba3, rgbaNoBackRefs, hsla2, hslaNoBackRefs, hex3, hex6, ascending3, descending2, extend2, hex2tuple, hsl2tuple, rgb2tuple, colorname2tuple, color2tuple, colors, setMap, getMap, isObject_1, 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, clone3, copy4, copyArray$1, uuid, _staticEmptyObject, staticEmptyObject, defaults$g, removeFromArray, clearArray, push, getPrefixedProperty, setPrefixedProperty, ObjectMap, Map$2, undef, ObjectSet, Set$1, Element, 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, toString3, 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, extension3, Stylesheet, sheetfn, version3, cytoscape2;
|
|
89856
89856
|
var init_cytoscape_esm = __esm({
|
|
89857
89857
|
"node_modules/cytoscape/dist/cytoscape.esm.mjs"() {
|
|
89858
89858
|
_window = typeof window === "undefined" ? null : window;
|
|
@@ -95010,7 +95010,7 @@ var init_cytoscape_esm = __esm({
|
|
|
95010
95010
|
if (!cy.styleEnabled()) {
|
|
95011
95011
|
return this;
|
|
95012
95012
|
}
|
|
95013
|
-
var
|
|
95013
|
+
var style4 = cy.style();
|
|
95014
95014
|
properties = extend2({}, properties, params);
|
|
95015
95015
|
var propertiesEmpty = Object.keys(properties).length === 0;
|
|
95016
95016
|
if (propertiesEmpty) {
|
|
@@ -95028,7 +95028,7 @@ var init_cytoscape_esm = __esm({
|
|
|
95028
95028
|
break;
|
|
95029
95029
|
}
|
|
95030
95030
|
if (isEles) {
|
|
95031
|
-
properties.style =
|
|
95031
|
+
properties.style = style4.getPropsList(properties.style || properties.css);
|
|
95032
95032
|
properties.css = void 0;
|
|
95033
95033
|
}
|
|
95034
95034
|
if (isEles && properties.renderedPosition != null) {
|
|
@@ -98121,10 +98121,10 @@ var init_cytoscape_esm = __esm({
|
|
|
98121
98121
|
return obj;
|
|
98122
98122
|
}, {});
|
|
98123
98123
|
dimensions = extend2({}, position3, bounds3, widthHeight, edgePoints);
|
|
98124
|
-
|
|
98124
|
+
Event2 = function Event3(src, props) {
|
|
98125
98125
|
this.recycle(src, props);
|
|
98126
98126
|
};
|
|
98127
|
-
|
|
98127
|
+
Event2.prototype = {
|
|
98128
98128
|
instanceString: function instanceString2() {
|
|
98129
98129
|
return "event";
|
|
98130
98130
|
},
|
|
@@ -98247,7 +98247,7 @@ var init_cytoscape_esm = __esm({
|
|
|
98247
98247
|
};
|
|
98248
98248
|
makeEventObj = function makeEventObj2(self2, obj) {
|
|
98249
98249
|
self2.addEventFields(self2.context, obj);
|
|
98250
|
-
return new
|
|
98250
|
+
return new Event2(obj.type, obj);
|
|
98251
98251
|
};
|
|
98252
98252
|
forEachEventObj = function forEachEventObj2(self2, handler, events) {
|
|
98253
98253
|
if (event(events)) {
|
|
@@ -98817,12 +98817,12 @@ var init_cytoscape_esm = __esm({
|
|
|
98817
98817
|
var cy = a2.cy();
|
|
98818
98818
|
var hasCompoundNodes2 = cy.hasCompoundNodes();
|
|
98819
98819
|
function getDepth(ele) {
|
|
98820
|
-
var
|
|
98821
|
-
if (
|
|
98820
|
+
var style4 = ele.pstyle("z-compound-depth");
|
|
98821
|
+
if (style4.value === "auto") {
|
|
98822
98822
|
return hasCompoundNodes2 ? ele.zDepth() : 0;
|
|
98823
|
-
} else if (
|
|
98823
|
+
} else if (style4.value === "bottom") {
|
|
98824
98824
|
return -1;
|
|
98825
|
-
} else if (
|
|
98825
|
+
} else if (style4.value === "top") {
|
|
98826
98826
|
return MAX_INT$1;
|
|
98827
98827
|
}
|
|
98828
98828
|
return 0;
|
|
@@ -98832,8 +98832,8 @@ var init_cytoscape_esm = __esm({
|
|
|
98832
98832
|
return depthDiff;
|
|
98833
98833
|
}
|
|
98834
98834
|
function getEleDepth(ele) {
|
|
98835
|
-
var
|
|
98836
|
-
if (
|
|
98835
|
+
var style4 = ele.pstyle("z-index-compare");
|
|
98836
|
+
if (style4.value === "auto") {
|
|
98837
98837
|
return ele.isNode() ? 1 : 0;
|
|
98838
98838
|
}
|
|
98839
98839
|
return 0;
|
|
@@ -99267,27 +99267,27 @@ var init_cytoscape_esm = __esm({
|
|
|
99267
99267
|
return this;
|
|
99268
99268
|
}
|
|
99269
99269
|
var updateTransitions = false;
|
|
99270
|
-
var
|
|
99270
|
+
var style4 = cy.style();
|
|
99271
99271
|
if (plainObject(name)) {
|
|
99272
99272
|
var props = name;
|
|
99273
|
-
|
|
99273
|
+
style4.applyBypass(this, props, updateTransitions);
|
|
99274
99274
|
this.emitAndNotify("style");
|
|
99275
99275
|
} else if (string(name)) {
|
|
99276
99276
|
if (value2 === void 0) {
|
|
99277
99277
|
var ele = this[0];
|
|
99278
99278
|
if (ele) {
|
|
99279
|
-
return
|
|
99279
|
+
return style4.getStylePropertyValue(ele, name);
|
|
99280
99280
|
} else {
|
|
99281
99281
|
return;
|
|
99282
99282
|
}
|
|
99283
99283
|
} else {
|
|
99284
|
-
|
|
99284
|
+
style4.applyBypass(this, name, value2, updateTransitions);
|
|
99285
99285
|
this.emitAndNotify("style");
|
|
99286
99286
|
}
|
|
99287
99287
|
} else if (name === void 0) {
|
|
99288
99288
|
var _ele = this[0];
|
|
99289
99289
|
if (_ele) {
|
|
99290
|
-
return
|
|
99290
|
+
return style4.getRawStyle(_ele);
|
|
99291
99291
|
} else {
|
|
99292
99292
|
return;
|
|
99293
99293
|
}
|
|
@@ -99300,18 +99300,18 @@ var init_cytoscape_esm = __esm({
|
|
|
99300
99300
|
return this;
|
|
99301
99301
|
}
|
|
99302
99302
|
var updateTransitions = false;
|
|
99303
|
-
var
|
|
99303
|
+
var style4 = cy.style();
|
|
99304
99304
|
var eles = this;
|
|
99305
99305
|
if (names === void 0) {
|
|
99306
99306
|
for (var i4 = 0; i4 < eles.length; i4++) {
|
|
99307
99307
|
var ele = eles[i4];
|
|
99308
|
-
|
|
99308
|
+
style4.removeAllBypasses(ele, updateTransitions);
|
|
99309
99309
|
}
|
|
99310
99310
|
} else {
|
|
99311
99311
|
names = names.split(/\s+/);
|
|
99312
99312
|
for (var _i = 0; _i < eles.length; _i++) {
|
|
99313
99313
|
var _ele2 = eles[_i];
|
|
99314
|
-
|
|
99314
|
+
style4.removeBypasses(_ele2, names, updateTransitions);
|
|
99315
99315
|
}
|
|
99316
99316
|
}
|
|
99317
99317
|
this.emitAndNotify("style");
|
|
@@ -100966,7 +100966,7 @@ var init_cytoscape_esm = __esm({
|
|
|
100966
100966
|
if (cxtStyles[cxtKey]) {
|
|
100967
100967
|
return cxtStyles[cxtKey];
|
|
100968
100968
|
}
|
|
100969
|
-
var
|
|
100969
|
+
var style4 = {
|
|
100970
100970
|
_private: {
|
|
100971
100971
|
key: cxtKey
|
|
100972
100972
|
}
|
|
@@ -100979,11 +100979,11 @@ var init_cytoscape_esm = __esm({
|
|
|
100979
100979
|
}
|
|
100980
100980
|
for (var j2 = 0; j2 < cxt.properties.length; j2++) {
|
|
100981
100981
|
var prop = cxt.properties[j2];
|
|
100982
|
-
|
|
100982
|
+
style4[prop.name] = prop;
|
|
100983
100983
|
}
|
|
100984
100984
|
}
|
|
100985
|
-
cxtStyles[cxtKey] =
|
|
100986
|
-
return
|
|
100985
|
+
cxtStyles[cxtKey] = style4;
|
|
100986
|
+
return style4;
|
|
100987
100987
|
};
|
|
100988
100988
|
styfn$8.applyContextStyle = function(cxtMeta, cxtStyle, ele) {
|
|
100989
100989
|
var self2 = this;
|
|
@@ -101150,12 +101150,12 @@ var init_cytoscape_esm = __esm({
|
|
|
101150
101150
|
styfn$8.applyParsedProperty = function(ele, parsedProp) {
|
|
101151
101151
|
var self2 = this;
|
|
101152
101152
|
var prop = parsedProp;
|
|
101153
|
-
var
|
|
101153
|
+
var style4 = ele._private.style;
|
|
101154
101154
|
var flatProp;
|
|
101155
101155
|
var types = self2.types;
|
|
101156
101156
|
var type3 = self2.properties[prop.name].type;
|
|
101157
101157
|
var propIsBypass = prop.bypass;
|
|
101158
|
-
var origProp =
|
|
101158
|
+
var origProp = style4[prop.name];
|
|
101159
101159
|
var origPropIsBypass = origProp && origProp.bypass;
|
|
101160
101160
|
var _p = ele._private;
|
|
101161
101161
|
var flatPropMapping = "mapping";
|
|
@@ -101179,7 +101179,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101179
101179
|
prop = parsedProp = this.parse(parsedProp.name, "bezier", propIsBypass);
|
|
101180
101180
|
}
|
|
101181
101181
|
if (prop["delete"]) {
|
|
101182
|
-
|
|
101182
|
+
style4[prop.name] = void 0;
|
|
101183
101183
|
checkTriggers();
|
|
101184
101184
|
return true;
|
|
101185
101185
|
}
|
|
@@ -101200,7 +101200,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101200
101200
|
checkTriggers();
|
|
101201
101201
|
return true;
|
|
101202
101202
|
} else if (origProp.bypass) {
|
|
101203
|
-
|
|
101203
|
+
style4[prop.name] = origProp.bypassed;
|
|
101204
101204
|
checkTriggers();
|
|
101205
101205
|
return true;
|
|
101206
101206
|
} else {
|
|
@@ -101320,12 +101320,12 @@ var init_cytoscape_esm = __esm({
|
|
|
101320
101320
|
} else {
|
|
101321
101321
|
prop.bypassed = origProp;
|
|
101322
101322
|
}
|
|
101323
|
-
|
|
101323
|
+
style4[prop.name] = prop;
|
|
101324
101324
|
} else {
|
|
101325
101325
|
if (origPropIsBypass) {
|
|
101326
101326
|
origProp.bypassed = prop;
|
|
101327
101327
|
} else {
|
|
101328
|
-
|
|
101328
|
+
style4[prop.name] = prop;
|
|
101329
101329
|
}
|
|
101330
101330
|
}
|
|
101331
101331
|
checkTriggers();
|
|
@@ -101340,16 +101340,16 @@ var init_cytoscape_esm = __esm({
|
|
|
101340
101340
|
if (!keepBypasses) {
|
|
101341
101341
|
ele._private.style = {};
|
|
101342
101342
|
} else {
|
|
101343
|
-
var
|
|
101344
|
-
var propNames = Object.keys(
|
|
101343
|
+
var style4 = ele._private.style;
|
|
101344
|
+
var propNames = Object.keys(style4);
|
|
101345
101345
|
for (var j2 = 0; j2 < propNames.length; j2++) {
|
|
101346
101346
|
var propName = propNames[j2];
|
|
101347
|
-
var eleProp =
|
|
101347
|
+
var eleProp = style4[propName];
|
|
101348
101348
|
if (eleProp != null) {
|
|
101349
101349
|
if (eleProp.bypass) {
|
|
101350
101350
|
eleProp.bypassed = null;
|
|
101351
101351
|
} else {
|
|
101352
|
-
|
|
101352
|
+
style4[propName] = null;
|
|
101353
101353
|
}
|
|
101354
101354
|
}
|
|
101355
101355
|
}
|
|
@@ -101368,7 +101368,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101368
101368
|
var duration = ele.pstyle("transition-duration").pfValue;
|
|
101369
101369
|
var delay2 = ele.pstyle("transition-delay").pfValue;
|
|
101370
101370
|
if (props.length > 0 && duration > 0) {
|
|
101371
|
-
var
|
|
101371
|
+
var style4 = {};
|
|
101372
101372
|
var anyPrev = false;
|
|
101373
101373
|
for (var i4 = 0; i4 < props.length; i4++) {
|
|
101374
101374
|
var prop = props[i4];
|
|
@@ -101397,7 +101397,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101397
101397
|
initVal = fromProp.strValue;
|
|
101398
101398
|
}
|
|
101399
101399
|
if (diff2) {
|
|
101400
|
-
|
|
101400
|
+
style4[prop] = toProp.strValue;
|
|
101401
101401
|
this.applyBypass(ele, prop, initVal);
|
|
101402
101402
|
anyPrev = true;
|
|
101403
101403
|
}
|
|
@@ -101414,7 +101414,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101414
101414
|
}
|
|
101415
101415
|
}).then(function() {
|
|
101416
101416
|
return ele.animation({
|
|
101417
|
-
style:
|
|
101417
|
+
style: style4,
|
|
101418
101418
|
duration,
|
|
101419
101419
|
easing: ele.pstyle("transition-timing-function").value,
|
|
101420
101420
|
queue: false
|
|
@@ -101716,13 +101716,13 @@ var init_cytoscape_esm = __esm({
|
|
|
101716
101716
|
styfn$5.getPropsList = function(propsObj) {
|
|
101717
101717
|
var self2 = this;
|
|
101718
101718
|
var rstyle = [];
|
|
101719
|
-
var
|
|
101719
|
+
var style4 = propsObj;
|
|
101720
101720
|
var props = self2.properties;
|
|
101721
|
-
if (
|
|
101722
|
-
var names = Object.keys(
|
|
101721
|
+
if (style4) {
|
|
101722
|
+
var names = Object.keys(style4);
|
|
101723
101723
|
for (var i4 = 0; i4 < names.length; i4++) {
|
|
101724
101724
|
var name = names[i4];
|
|
101725
|
-
var val =
|
|
101725
|
+
var val = style4[name];
|
|
101726
101726
|
var prop = props[name] || props[camel2dash(name)];
|
|
101727
101727
|
var styleProp = this.parse(prop.name, val);
|
|
101728
101728
|
if (styleProp) {
|
|
@@ -101758,26 +101758,26 @@ var init_cytoscape_esm = __esm({
|
|
|
101758
101758
|
styfn$5.getPropertiesHash = styfn$5.getNonDefaultPropertiesHash;
|
|
101759
101759
|
styfn$4 = {};
|
|
101760
101760
|
styfn$4.appendFromJson = function(json3) {
|
|
101761
|
-
var
|
|
101761
|
+
var style4 = this;
|
|
101762
101762
|
for (var i4 = 0; i4 < json3.length; i4++) {
|
|
101763
101763
|
var context = json3[i4];
|
|
101764
101764
|
var selector = context.selector;
|
|
101765
101765
|
var props = context.style || context.css;
|
|
101766
101766
|
var names = Object.keys(props);
|
|
101767
|
-
|
|
101767
|
+
style4.selector(selector);
|
|
101768
101768
|
for (var j2 = 0; j2 < names.length; j2++) {
|
|
101769
101769
|
var name = names[j2];
|
|
101770
101770
|
var value2 = props[name];
|
|
101771
|
-
|
|
101771
|
+
style4.css(name, value2);
|
|
101772
101772
|
}
|
|
101773
101773
|
}
|
|
101774
|
-
return
|
|
101774
|
+
return style4;
|
|
101775
101775
|
};
|
|
101776
101776
|
styfn$4.fromJson = function(json3) {
|
|
101777
|
-
var
|
|
101778
|
-
|
|
101779
|
-
|
|
101780
|
-
return
|
|
101777
|
+
var style4 = this;
|
|
101778
|
+
style4.resetToDefault();
|
|
101779
|
+
style4.appendFromJson(json3);
|
|
101780
|
+
return style4;
|
|
101781
101781
|
};
|
|
101782
101782
|
styfn$4.json = function() {
|
|
101783
101783
|
var json3 = [];
|
|
@@ -101800,7 +101800,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101800
101800
|
styfn$3 = {};
|
|
101801
101801
|
styfn$3.appendFromString = function(string3) {
|
|
101802
101802
|
var self2 = this;
|
|
101803
|
-
var
|
|
101803
|
+
var style4 = this;
|
|
101804
101804
|
var remaining = "" + string3;
|
|
101805
101805
|
var selAndBlockStr;
|
|
101806
101806
|
var blockRem;
|
|
@@ -101864,7 +101864,7 @@ var init_cytoscape_esm = __esm({
|
|
|
101864
101864
|
removePropAndValFromRem();
|
|
101865
101865
|
continue;
|
|
101866
101866
|
}
|
|
101867
|
-
var parsedProp =
|
|
101867
|
+
var parsedProp = style4.parse(propStr, valStr);
|
|
101868
101868
|
if (!parsedProp) {
|
|
101869
101869
|
warn("Skipping property: Invalid property definition in: " + propAndValStr);
|
|
101870
101870
|
removePropAndValFromRem();
|
|
@@ -101880,20 +101880,20 @@ var init_cytoscape_esm = __esm({
|
|
|
101880
101880
|
removeSelAndBlockFromRemaining();
|
|
101881
101881
|
break;
|
|
101882
101882
|
}
|
|
101883
|
-
|
|
101883
|
+
style4.selector(selectorStr);
|
|
101884
101884
|
for (var i4 = 0; i4 < props.length; i4++) {
|
|
101885
101885
|
var _prop = props[i4];
|
|
101886
|
-
|
|
101886
|
+
style4.css(_prop.name, _prop.val);
|
|
101887
101887
|
}
|
|
101888
101888
|
removeSelAndBlockFromRemaining();
|
|
101889
101889
|
}
|
|
101890
|
-
return
|
|
101890
|
+
return style4;
|
|
101891
101891
|
};
|
|
101892
101892
|
styfn$3.fromString = function(string3) {
|
|
101893
|
-
var
|
|
101894
|
-
|
|
101895
|
-
|
|
101896
|
-
return
|
|
101893
|
+
var style4 = this;
|
|
101894
|
+
style4.resetToDefault();
|
|
101895
|
+
style4.appendFromString(string3);
|
|
101896
|
+
return style4;
|
|
101897
101897
|
};
|
|
101898
101898
|
styfn$2 = {};
|
|
101899
101899
|
(function() {
|
|
@@ -103718,20 +103718,20 @@ var init_cytoscape_esm = __esm({
|
|
|
103718
103718
|
}
|
|
103719
103719
|
return this;
|
|
103720
103720
|
};
|
|
103721
|
-
styfn.append = function(
|
|
103722
|
-
if (stylesheet(
|
|
103723
|
-
|
|
103724
|
-
} else if (array2(
|
|
103725
|
-
this.appendFromJson(
|
|
103726
|
-
} else if (string(
|
|
103727
|
-
this.appendFromString(
|
|
103721
|
+
styfn.append = function(style4) {
|
|
103722
|
+
if (stylesheet(style4)) {
|
|
103723
|
+
style4.appendToStyle(this);
|
|
103724
|
+
} else if (array2(style4)) {
|
|
103725
|
+
this.appendFromJson(style4);
|
|
103726
|
+
} else if (string(style4)) {
|
|
103727
|
+
this.appendFromString(style4);
|
|
103728
103728
|
}
|
|
103729
103729
|
return this;
|
|
103730
103730
|
};
|
|
103731
103731
|
Style2.fromJson = function(cy, json3) {
|
|
103732
|
-
var
|
|
103733
|
-
|
|
103734
|
-
return
|
|
103732
|
+
var style4 = new Style2(cy);
|
|
103733
|
+
style4.fromJson(json3);
|
|
103734
|
+
return style4;
|
|
103735
103735
|
};
|
|
103736
103736
|
Style2.fromString = function(cy, string3) {
|
|
103737
103737
|
return new Style2(cy).fromString(string3);
|
|
@@ -103752,14 +103752,14 @@ var init_cytoscape_esm = __esm({
|
|
|
103752
103752
|
}
|
|
103753
103753
|
return this._private.style;
|
|
103754
103754
|
},
|
|
103755
|
-
setStyle: function setStyle2(
|
|
103755
|
+
setStyle: function setStyle2(style4) {
|
|
103756
103756
|
var _p = this._private;
|
|
103757
|
-
if (stylesheet(
|
|
103758
|
-
_p.style =
|
|
103759
|
-
} else if (array2(
|
|
103760
|
-
_p.style = Style2.fromJson(this,
|
|
103761
|
-
} else if (string(
|
|
103762
|
-
_p.style = Style2.fromString(this,
|
|
103757
|
+
if (stylesheet(style4)) {
|
|
103758
|
+
_p.style = style4.generateStyle(this);
|
|
103759
|
+
} else if (array2(style4)) {
|
|
103760
|
+
_p.style = Style2.fromJson(this, style4);
|
|
103761
|
+
} else if (string(style4)) {
|
|
103762
|
+
_p.style = Style2.fromString(this, style4);
|
|
103763
103763
|
} else {
|
|
103764
103764
|
_p.style = Style2(this);
|
|
103765
103765
|
}
|
|
@@ -104194,9 +104194,9 @@ var init_cytoscape_esm = __esm({
|
|
|
104194
104194
|
var container2 = _p.container;
|
|
104195
104195
|
var cy = this;
|
|
104196
104196
|
return _p.sizeCache = _p.sizeCache || (container2 ? function() {
|
|
104197
|
-
var
|
|
104197
|
+
var style4 = cy.window().getComputedStyle(container2);
|
|
104198
104198
|
var val = function val2(name) {
|
|
104199
|
-
return parseFloat(
|
|
104199
|
+
return parseFloat(style4.getPropertyValue(name));
|
|
104200
104200
|
};
|
|
104201
104201
|
return {
|
|
104202
104202
|
width: container2.clientWidth - val("padding-left") - val("padding-right"),
|
|
@@ -106626,9 +106626,9 @@ var init_cytoscape_esm = __esm({
|
|
|
106626
106626
|
}
|
|
106627
106627
|
var container2 = this.container;
|
|
106628
106628
|
var rect4 = container2.getBoundingClientRect();
|
|
106629
|
-
var
|
|
106629
|
+
var style4 = this.cy.window().getComputedStyle(container2);
|
|
106630
106630
|
var styleValue2 = function styleValue3(name) {
|
|
106631
|
-
return parseFloat(
|
|
106631
|
+
return parseFloat(style4.getPropertyValue(name));
|
|
106632
106632
|
};
|
|
106633
106633
|
var padding3 = {
|
|
106634
106634
|
left: styleValue2("padding-left"),
|
|
@@ -113952,7 +113952,7 @@ var init_cytoscape_esm = __esm({
|
|
|
113952
113952
|
needDraw[r2.NODE] = true;
|
|
113953
113953
|
needDraw[r2.SELECT_BOX] = true;
|
|
113954
113954
|
}
|
|
113955
|
-
var
|
|
113955
|
+
var style4 = cy.style();
|
|
113956
113956
|
var zoom2 = cy.zoom();
|
|
113957
113957
|
var effectiveZoom = forcedZoom !== void 0 ? forcedZoom : zoom2;
|
|
113958
113958
|
var pan2 = cy.pan();
|
|
@@ -114058,8 +114058,8 @@ var init_cytoscape_esm = __esm({
|
|
|
114058
114058
|
} else {
|
|
114059
114059
|
context.clearRect(0, 0, vp.width, vp.height);
|
|
114060
114060
|
}
|
|
114061
|
-
var outsideBgColor =
|
|
114062
|
-
var outsideBgOpacity =
|
|
114061
|
+
var outsideBgColor = style4.core("outside-texture-bg-color").value;
|
|
114062
|
+
var outsideBgOpacity = style4.core("outside-texture-bg-opacity").value;
|
|
114063
114063
|
r2.colorFillStyle(context, outsideBgColor[0], outsideBgColor[1], outsideBgColor[2], outsideBgOpacity);
|
|
114064
114064
|
context.fillRect(0, 0, vp.width, vp.height);
|
|
114065
114065
|
var zoom2 = cy.zoom();
|
|
@@ -114119,21 +114119,21 @@ var init_cytoscape_esm = __esm({
|
|
|
114119
114119
|
setContextTransform(context);
|
|
114120
114120
|
if (r2.selection[4] == 1 && (r2.hoverData.selecting || r2.touchData.selecting)) {
|
|
114121
114121
|
var zoom2 = r2.cy.zoom();
|
|
114122
|
-
var borderWidth =
|
|
114122
|
+
var borderWidth = style4.core("selection-box-border-width").value / zoom2;
|
|
114123
114123
|
context.lineWidth = borderWidth;
|
|
114124
|
-
context.fillStyle = "rgba(" +
|
|
114124
|
+
context.fillStyle = "rgba(" + style4.core("selection-box-color").value[0] + "," + style4.core("selection-box-color").value[1] + "," + style4.core("selection-box-color").value[2] + "," + style4.core("selection-box-opacity").value + ")";
|
|
114125
114125
|
context.fillRect(r2.selection[0], r2.selection[1], r2.selection[2] - r2.selection[0], r2.selection[3] - r2.selection[1]);
|
|
114126
114126
|
if (borderWidth > 0) {
|
|
114127
|
-
context.strokeStyle = "rgba(" +
|
|
114127
|
+
context.strokeStyle = "rgba(" + style4.core("selection-box-border-color").value[0] + "," + style4.core("selection-box-border-color").value[1] + "," + style4.core("selection-box-border-color").value[2] + "," + style4.core("selection-box-opacity").value + ")";
|
|
114128
114128
|
context.strokeRect(r2.selection[0], r2.selection[1], r2.selection[2] - r2.selection[0], r2.selection[3] - r2.selection[1]);
|
|
114129
114129
|
}
|
|
114130
114130
|
}
|
|
114131
114131
|
if (data5.bgActivePosistion && !r2.hoverData.selecting) {
|
|
114132
114132
|
var zoom2 = r2.cy.zoom();
|
|
114133
114133
|
var pos = data5.bgActivePosistion;
|
|
114134
|
-
context.fillStyle = "rgba(" +
|
|
114134
|
+
context.fillStyle = "rgba(" + style4.core("active-bg-color").value[0] + "," + style4.core("active-bg-color").value[1] + "," + style4.core("active-bg-color").value[2] + "," + style4.core("active-bg-opacity").value + ")";
|
|
114135
114135
|
context.beginPath();
|
|
114136
|
-
context.arc(pos.x, pos.y,
|
|
114136
|
+
context.arc(pos.x, pos.y, style4.core("active-bg-size").pfValue / zoom2, 0, 2 * Math.PI);
|
|
114137
114137
|
context.fill();
|
|
114138
114138
|
}
|
|
114139
114139
|
var timeToRender = r2.lastRedrawTime;
|
|
@@ -114597,21 +114597,21 @@ var init_cytoscape_esm = __esm({
|
|
|
114597
114597
|
};
|
|
114598
114598
|
sheetfn.style = sheetfn.css;
|
|
114599
114599
|
sheetfn.generateStyle = function(cy) {
|
|
114600
|
-
var
|
|
114601
|
-
return this.appendToStyle(
|
|
114600
|
+
var style4 = new Style2(cy);
|
|
114601
|
+
return this.appendToStyle(style4);
|
|
114602
114602
|
};
|
|
114603
|
-
sheetfn.appendToStyle = function(
|
|
114603
|
+
sheetfn.appendToStyle = function(style4) {
|
|
114604
114604
|
for (var i4 = 0; i4 < this.length; i4++) {
|
|
114605
114605
|
var context = this[i4];
|
|
114606
114606
|
var selector = context.selector;
|
|
114607
114607
|
var props = context.properties;
|
|
114608
|
-
|
|
114608
|
+
style4.selector(selector);
|
|
114609
114609
|
for (var j2 = 0; j2 < props.length; j2++) {
|
|
114610
114610
|
var prop = props[j2];
|
|
114611
|
-
|
|
114611
|
+
style4.css(prop.name, prop.value);
|
|
114612
114612
|
}
|
|
114613
114613
|
}
|
|
114614
|
-
return
|
|
114614
|
+
return style4;
|
|
114615
114615
|
};
|
|
114616
114616
|
version3 = "3.30.2";
|
|
114617
114617
|
cytoscape2 = function cytoscape3(options3) {
|
|
@@ -127040,9 +127040,9 @@ var YAML_NODE_KINDS = [
|
|
|
127040
127040
|
function compileStyleAliases(map22) {
|
|
127041
127041
|
var result = {};
|
|
127042
127042
|
if (map22 !== null) {
|
|
127043
|
-
Object.keys(map22).forEach(function(
|
|
127044
|
-
map22[
|
|
127045
|
-
result[String(alias)] =
|
|
127043
|
+
Object.keys(map22).forEach(function(style4) {
|
|
127044
|
+
map22[style4].forEach(function(alias) {
|
|
127045
|
+
result[String(alias)] = style4;
|
|
127046
127046
|
});
|
|
127047
127047
|
});
|
|
127048
127048
|
}
|
|
@@ -127406,10 +127406,10 @@ function constructYamlFloat(data5) {
|
|
|
127406
127406
|
}
|
|
127407
127407
|
__name(constructYamlFloat, "constructYamlFloat");
|
|
127408
127408
|
var SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;
|
|
127409
|
-
function representYamlFloat(object3,
|
|
127409
|
+
function representYamlFloat(object3, style4) {
|
|
127410
127410
|
var res;
|
|
127411
127411
|
if (isNaN(object3)) {
|
|
127412
|
-
switch (
|
|
127412
|
+
switch (style4) {
|
|
127413
127413
|
case "lowercase":
|
|
127414
127414
|
return ".nan";
|
|
127415
127415
|
case "uppercase":
|
|
@@ -127418,7 +127418,7 @@ function representYamlFloat(object3, style3) {
|
|
|
127418
127418
|
return ".NaN";
|
|
127419
127419
|
}
|
|
127420
127420
|
} else if (Number.POSITIVE_INFINITY === object3) {
|
|
127421
|
-
switch (
|
|
127421
|
+
switch (style4) {
|
|
127422
127422
|
case "lowercase":
|
|
127423
127423
|
return ".inf";
|
|
127424
127424
|
case "uppercase":
|
|
@@ -127427,7 +127427,7 @@ function representYamlFloat(object3, style3) {
|
|
|
127427
127427
|
return ".Inf";
|
|
127428
127428
|
}
|
|
127429
127429
|
} else if (Number.NEGATIVE_INFINITY === object3) {
|
|
127430
|
-
switch (
|
|
127430
|
+
switch (style4) {
|
|
127431
127431
|
case "lowercase":
|
|
127432
127432
|
return "-.inf";
|
|
127433
127433
|
case "uppercase":
|
|
@@ -128955,21 +128955,21 @@ var DEPRECATED_BOOLEANS_SYNTAX = [
|
|
|
128955
128955
|
];
|
|
128956
128956
|
var DEPRECATED_BASE60_SYNTAX = /^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;
|
|
128957
128957
|
function compileStyleMap(schema2, map22) {
|
|
128958
|
-
var result, keys3, index2, length2, tag2,
|
|
128958
|
+
var result, keys3, index2, length2, tag2, style4, type22;
|
|
128959
128959
|
if (map22 === null) return {};
|
|
128960
128960
|
result = {};
|
|
128961
128961
|
keys3 = Object.keys(map22);
|
|
128962
128962
|
for (index2 = 0, length2 = keys3.length; index2 < length2; index2 += 1) {
|
|
128963
128963
|
tag2 = keys3[index2];
|
|
128964
|
-
|
|
128964
|
+
style4 = String(map22[tag2]);
|
|
128965
128965
|
if (tag2.slice(0, 2) === "!!") {
|
|
128966
128966
|
tag2 = "tag:yaml.org,2002:" + tag2.slice(2);
|
|
128967
128967
|
}
|
|
128968
128968
|
type22 = schema2.compiledTypeMap["fallback"][tag2];
|
|
128969
|
-
if (type22 && _hasOwnProperty.call(type22.styleAliases,
|
|
128970
|
-
|
|
128969
|
+
if (type22 && _hasOwnProperty.call(type22.styleAliases, style4)) {
|
|
128970
|
+
style4 = type22.styleAliases[style4];
|
|
128971
128971
|
}
|
|
128972
|
-
result[tag2] =
|
|
128972
|
+
result[tag2] = style4;
|
|
128973
128973
|
}
|
|
128974
128974
|
return result;
|
|
128975
128975
|
}
|
|
@@ -129384,7 +129384,7 @@ function writeBlockMapping(state4, level, object3, compact2) {
|
|
|
129384
129384
|
}
|
|
129385
129385
|
__name(writeBlockMapping, "writeBlockMapping");
|
|
129386
129386
|
function detectType2(state4, object3, explicit) {
|
|
129387
|
-
var _result, typeList, index2, length2, type22,
|
|
129387
|
+
var _result, typeList, index2, length2, type22, style4;
|
|
129388
129388
|
typeList = explicit ? state4.explicitTypes : state4.implicitTypes;
|
|
129389
129389
|
for (index2 = 0, length2 = typeList.length; index2 < length2; index2 += 1) {
|
|
129390
129390
|
type22 = typeList[index2];
|
|
@@ -129399,13 +129399,13 @@ function detectType2(state4, object3, explicit) {
|
|
|
129399
129399
|
state4.tag = "?";
|
|
129400
129400
|
}
|
|
129401
129401
|
if (type22.represent) {
|
|
129402
|
-
|
|
129402
|
+
style4 = state4.styleMap[type22.tag] || type22.defaultStyle;
|
|
129403
129403
|
if (_toString.call(type22.represent) === "[object Function]") {
|
|
129404
|
-
_result = type22.represent(object3,
|
|
129405
|
-
} else if (_hasOwnProperty.call(type22.represent,
|
|
129406
|
-
_result = type22.represent[
|
|
129404
|
+
_result = type22.represent(object3, style4);
|
|
129405
|
+
} else if (_hasOwnProperty.call(type22.represent, style4)) {
|
|
129406
|
+
_result = type22.represent[style4](object3, style4);
|
|
129407
129407
|
} else {
|
|
129408
|
-
throw new exception("!<" + type22.tag + '> tag resolver accepts not "' +
|
|
129408
|
+
throw new exception("!<" + type22.tag + '> tag resolver accepts not "' + style4 + '" style');
|
|
129409
129409
|
}
|
|
129410
129410
|
state4.dump = _result;
|
|
129411
129411
|
}
|
|
@@ -130139,6 +130139,12 @@ function onContentReady(callback) {
|
|
|
130139
130139
|
}
|
|
130140
130140
|
}
|
|
130141
130141
|
|
|
130142
|
+
// src/runtime/breakpoints.ts
|
|
130143
|
+
var style3 = getComputedStyle(document.documentElement);
|
|
130144
|
+
var BREAKPOINT_SMALL = style3.getPropertyValue("--docs-breakpoint-sm");
|
|
130145
|
+
var BREAKPOINT_MEDIUM = style3.getPropertyValue("--docs-breakpoint-md");
|
|
130146
|
+
var BREAKPOINT_LARGE = style3.getPropertyValue("--docs-breakpoint-lg");
|
|
130147
|
+
|
|
130142
130148
|
// src/runtime/table-of-contents.ts
|
|
130143
130149
|
function tableOfContents(toc, headings) {
|
|
130144
130150
|
function visibilityChange(entries) {
|
|
@@ -130173,6 +130179,24 @@ onContentReady(() => {
|
|
|
130173
130179
|
}
|
|
130174
130180
|
tableOfContents(toc, headings);
|
|
130175
130181
|
});
|
|
130182
|
+
var tableOfContentsQuery = window.matchMedia(
|
|
130183
|
+
`(min-width: ${BREAKPOINT_LARGE})`
|
|
130184
|
+
);
|
|
130185
|
+
tableOfContentsQuery.addEventListener("change", toggleTableOfContents);
|
|
130186
|
+
toggleTableOfContents();
|
|
130187
|
+
function toggleTableOfContents() {
|
|
130188
|
+
const toc = document.querySelector("#outline");
|
|
130189
|
+
if (!toc) {
|
|
130190
|
+
return;
|
|
130191
|
+
}
|
|
130192
|
+
const { matches: matches33 } = tableOfContentsQuery;
|
|
130193
|
+
const isOpen = toc.hasAttribute("open");
|
|
130194
|
+
if (matches33 && !isOpen) {
|
|
130195
|
+
toc.setAttribute("open", "");
|
|
130196
|
+
} else if (!matches33 && isOpen) {
|
|
130197
|
+
toc.removeAttribute("open");
|
|
130198
|
+
}
|
|
130199
|
+
}
|
|
130176
130200
|
|
|
130177
130201
|
// src/runtime/navigation.ts
|
|
130178
130202
|
var parser21 = new DOMParser();
|
|
@@ -130233,6 +130257,7 @@ async function replaceContent(href) {
|
|
|
130233
130257
|
if (toc) {
|
|
130234
130258
|
const headings = document.querySelectorAll("#content h2");
|
|
130235
130259
|
tableOfContents(toc, headings);
|
|
130260
|
+
toggleTableOfContents();
|
|
130236
130261
|
}
|
|
130237
130262
|
}
|
|
130238
130263
|
function getParentElement(el, depth) {
|
|
@@ -131309,6 +131334,50 @@ if (banner) {
|
|
|
131309
131334
|
});
|
|
131310
131335
|
}
|
|
131311
131336
|
|
|
131337
|
+
// src/runtime/cookie.ts
|
|
131338
|
+
function hasCookie(name) {
|
|
131339
|
+
return document.cookie.split("; ").some((row) => row.startsWith(`${name}=`));
|
|
131340
|
+
}
|
|
131341
|
+
function showCookieWarning(el) {
|
|
131342
|
+
el.style.display = "block";
|
|
131343
|
+
}
|
|
131344
|
+
function hideCookieWarning(el) {
|
|
131345
|
+
el.style.display = "none";
|
|
131346
|
+
}
|
|
131347
|
+
function setCookie(name) {
|
|
131348
|
+
const expires = new Date(Date.now() + 1e3 * 60 * 60 * 24 * 400);
|
|
131349
|
+
document.cookie = `${name}=;expires=${expires};path=/`;
|
|
131350
|
+
}
|
|
131351
|
+
onContentReady(() => {
|
|
131352
|
+
const el = document.querySelector(".cookie-warning");
|
|
131353
|
+
if (!el) {
|
|
131354
|
+
return;
|
|
131355
|
+
}
|
|
131356
|
+
if (!hasCookie("doc-hide-cookie-warning")) {
|
|
131357
|
+
showCookieWarning(el);
|
|
131358
|
+
const consentAllButton = document.querySelector(
|
|
131359
|
+
"#consent-all-button"
|
|
131360
|
+
);
|
|
131361
|
+
if (consentAllButton) {
|
|
131362
|
+
consentAllButton.addEventListener("click", () => {
|
|
131363
|
+
setCookie("doc-hide-cookie-warning");
|
|
131364
|
+
setCookie("doc-cookie-consent");
|
|
131365
|
+
hideCookieWarning(el);
|
|
131366
|
+
window.dispatchEvent(new Event("doc-cookie-consent"));
|
|
131367
|
+
});
|
|
131368
|
+
}
|
|
131369
|
+
const consentFunctionalButton = document.querySelector(
|
|
131370
|
+
"#consent-functional-button"
|
|
131371
|
+
);
|
|
131372
|
+
if (consentFunctionalButton) {
|
|
131373
|
+
consentFunctionalButton.addEventListener("click", () => {
|
|
131374
|
+
setCookie("doc-hide-cookie-warning");
|
|
131375
|
+
hideCookieWarning(el);
|
|
131376
|
+
});
|
|
131377
|
+
}
|
|
131378
|
+
}
|
|
131379
|
+
});
|
|
131380
|
+
|
|
131312
131381
|
// src/runtime/index.ts
|
|
131313
131382
|
window.toggleMarkup = toggleMarkup;
|
|
131314
131383
|
/*! Bundled license information:
|