@versini/sassysaint 8.107.4 → 8.108.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{AboutChangelog.DeRcKN5H.js → AboutChangelog.BQtbpOat.js} +2 -2
- package/dist/chunks/{AboutEntry.6mTHwkfb.js → AboutEntry.Bb0L9eCQ.js} +7 -7
- package/dist/chunks/{App.DTjbiLAP.js → App.CSBqbQnm.js} +1147 -1146
- package/dist/chunks/{Bubble.ltolxxta.js → Bubble.Jl_vP6Bg.js} +1 -1
- package/dist/chunks/{DeleteButtonIcon.P0LgJDjE.js → ButtonIconDelete.C3bf-YVf.js} +3 -3
- package/dist/chunks/{Chart.BzOmOhOW.js → Chart.KnjXKeEm.js} +2 -2
- package/dist/chunks/{ChatBubbleAssistant.lGE_8ao1.js → ChatBubbleAssistant.8hHak3Xb.js} +4 -4
- package/dist/chunks/{ChatBubbleUser.DC661ePq.js → ChatBubbleUser.C3QnvRpy.js} +3 -3
- package/dist/chunks/{ChatHistoryTable.BkRFWpsA.js → ChatHistoryTable.CIIrZME7.js} +4 -4
- package/dist/chunks/{HistoryEntry.uUjsDuT0.js → HistoryEntry.B0U0RQ7-.js} +6 -6
- package/dist/chunks/{LoginEntry.BGZdTDwf.js → LoginEntry.Cf03Pbyq.js} +4 -4
- package/dist/chunks/{LogoEntry.Bpddd0yA.js → LogoEntry.C_oLwnbv.js} +3 -3
- package/dist/chunks/{MemoriesEntry.BYQm9cuU.js → MemoriesEntry.CeMfI8F3.js} +5 -5
- package/dist/chunks/{ProfileEntry.BqcZXSeT.js → ProfileEntry.BasVTLyr.js} +4 -4
- package/dist/chunks/{SettingsEntry.BdC5Vyof.js → SettingsEntry.DqKtJfKG.js} +5 -5
- package/dist/chunks/{UsageEntry._O8Q6TwS.js → UsageEntry.phb8YqH1.js} +5 -5
- package/dist/chunks/_basePickBy.DiyBcH_b.js +151 -0
- package/dist/chunks/_baseUniq.B9L9wOT1.js +614 -0
- package/dist/chunks/arc.C1rfS5dQ.js +83 -0
- package/dist/chunks/architecture-U656AL7Q.Bw4J2QgD.js +36 -0
- package/dist/chunks/architectureDiagram-VXUJARFQ.DuwD3xDO.js +4653 -0
- package/dist/chunks/blockDiagram-VD42YOAC.BeIrwe07.js +2254 -0
- package/dist/chunks/browser.BQGdandl.js +260 -0
- package/dist/chunks/c4Diagram-YG6GDRKO.YzJEqJgk.js +1579 -0
- package/dist/chunks/channel.BPPTH6mh.js +5 -0
- package/dist/chunks/chunk-4BX2VUAB.BCIoHYCy.js +8 -0
- package/dist/chunks/chunk-55IACEB6.CFEkh5zE.js +8 -0
- package/dist/chunks/chunk-B4BG7PRW.CwfV87jH.js +1375 -0
- package/dist/chunks/chunk-DI55MBZ5.CcFvwYqB.js +1370 -0
- package/dist/chunks/chunk-FMBD7UC4.C9__m3G-.js +19 -0
- package/dist/chunks/chunk-QN33PNHL.EonhZUcV.js +19 -0
- package/dist/chunks/chunk-QZHKN3VN.CKR_DhAb.js +15 -0
- package/dist/chunks/chunk-TZMSLE5B.eMD178H9.js +64 -0
- package/dist/chunks/classDiagram-2ON5EDUG.DCsDc7LM.js +16 -0
- package/dist/chunks/classDiagram-v2-WZHVMYZB.DCsDc7LM.js +16 -0
- package/dist/chunks/clone.DG_v08Gm.js +8 -0
- package/dist/chunks/cose-bilkent-S5V4N54A.Bw5tPVeS.js +2600 -0
- package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
- package/dist/chunks/dagre-6UL2VRFP.CTW14kZK.js +444 -0
- package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
- package/dist/chunks/diagram-PSM6KHXK.DDyW__Et.js +531 -0
- package/dist/chunks/diagram-QEK2KX5R.C8Y6Nyjq.js +217 -0
- package/dist/chunks/diagram-S2PKOQOG.DnnZ1m7x.js +142 -0
- package/dist/chunks/erDiagram-Q2GNP2WA.BavKd766.js +841 -0
- package/dist/chunks/flowDiagram-NV44I4VS.roMN4lsc.js +1620 -0
- package/dist/chunks/ganttDiagram-JELNMOA3.B_SkSqyi.js +2647 -0
- package/dist/chunks/gitGraph-F6HP7TQM.C7PwqG55.js +27 -0
- package/dist/chunks/gitGraphDiagram-NY62KEGX.BHfSeSWk.js +699 -0
- package/dist/chunks/graph.CsxOkYbN.js +247 -0
- package/dist/chunks/{index.D2nN0rC6.js → index.BHKlxxP5.js} +1 -1
- package/dist/chunks/{index.CYcieK1H.js → index.BUYdarBy.js} +1 -1
- package/dist/chunks/{index.BxbWxVtd.js → index.BetC5DSu.js} +1 -1
- package/dist/chunks/{index.DuxTgnco.js → index.BmLHPbgB.js} +1 -1
- package/dist/chunks/{index.C70LcKzU.js → index.Bq1fyGUB.js} +1 -1
- package/dist/chunks/{index.CaofbEIP.js → index.DQPv0lQj.js} +2 -3
- package/dist/chunks/{index.BlviGqw0.js → index.DbyaywZN.js} +3 -3
- package/dist/chunks/{index.DG-VhqKw.js → index.DjuVXA0R.js} +1 -1
- package/dist/chunks/index.DzRoQenq.js +67 -0
- package/dist/chunks/info-NVLQJR56.DZPZ5T1V.js +27 -0
- package/dist/chunks/infoDiagram-WHAUD3N6.Bi7I8DQ6.js +24 -0
- package/dist/chunks/init.DAGnb5BH.js +16 -0
- package/dist/chunks/journeyDiagram-XKPGCS4Q.D8VPEfAI.js +834 -0
- package/dist/chunks/kanban-definition-3W4ZIXB7.BWUqPfZ4.js +719 -0
- package/dist/chunks/{index.s8Izh8-Q.js → katex.D0sQThIv.js} +1638 -1943
- package/dist/chunks/layout.BVs5Fo34.js +1332 -0
- package/dist/chunks/linear.CIDfImUo.js +625 -0
- package/dist/chunks/mermaid-parser.core.ORd6OSMH.js +12724 -0
- package/dist/chunks/mindmap-definition-VGOIOE7T.B8li-u54.js +784 -0
- package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
- package/dist/chunks/packet-BFZMPI3H.ucR6ljZQ.js +27 -0
- package/dist/chunks/pie-7BOR55EZ.CUpVQfSo.js +32 -0
- package/dist/chunks/pieDiagram-ADFJNKIX.GfyALym8.js +161 -0
- package/dist/chunks/quadrantDiagram-AYHSOK5B.CsUp44jt.js +1022 -0
- package/dist/chunks/radar-NHE76QYJ.Es4sfwW2.js +27 -0
- package/dist/chunks/rehype-mermaid.QzUnaHa9.js +14283 -0
- package/dist/chunks/requirementDiagram-UZGBJVZJ.DQTWxv7j.js +850 -0
- package/dist/chunks/sankeyDiagram-TZEHDZUN.DJdcOMBP.js +810 -0
- package/dist/chunks/sequenceDiagram-WL72ISMW.CIFR_pCj.js +2511 -0
- package/dist/chunks/stateDiagram-FKZM4ZOC.DgM5pVKO.js +263 -0
- package/dist/chunks/stateDiagram-v2-4FDKWEC3.BUygW1pY.js +16 -0
- package/dist/chunks/timeline-definition-IT6M3QCI.Ca0YkAdx.js +795 -0
- package/dist/chunks/treemap-KMMF4GRG.Xsds0Pr-.js +81 -0
- package/dist/chunks/{useMarkdown.DjEZz9lH.js → useMarkdown.DgNUxPe8.js} +1951 -1936
- package/dist/chunks/xychartDiagram-PRI3JC2R.DyQEBwDk.js +1340 -0
- package/dist/components/SassySaint/SassySaint.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +5 -5
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { find as C, parse as d, parse$1 as p, normalize as u, html as M, svg as S } from "./useMarkdown.DgNUxPe8.js";
|
|
2
|
+
const y = /[#.]/g;
|
|
3
|
+
function L(e, t) {
|
|
4
|
+
const r = e || "", n = {};
|
|
5
|
+
let o = 0, s, f;
|
|
6
|
+
for (; o < r.length; ) {
|
|
7
|
+
y.lastIndex = o;
|
|
8
|
+
const c = y.exec(r), i = r.slice(o, c ? c.index : r.length);
|
|
9
|
+
i && (s ? s === "#" ? n.id = i : Array.isArray(n.className) ? n.className.push(i) : n.className = [i] : f = i, o += i.length), c && (s = c[0], o++);
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
type: "element",
|
|
13
|
+
// @ts-expect-error: tag name is parsed.
|
|
14
|
+
tagName: f || t || "div",
|
|
15
|
+
properties: n,
|
|
16
|
+
children: []
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function N(e, t, r) {
|
|
20
|
+
const n = r ? G(r) : void 0;
|
|
21
|
+
function o(s, f, ...c) {
|
|
22
|
+
let i;
|
|
23
|
+
if (s == null) {
|
|
24
|
+
i = { type: "root", children: [] };
|
|
25
|
+
const a = (
|
|
26
|
+
/** @type {Child} */
|
|
27
|
+
f
|
|
28
|
+
);
|
|
29
|
+
c.unshift(a);
|
|
30
|
+
} else {
|
|
31
|
+
i = L(s, t);
|
|
32
|
+
const a = i.tagName.toLowerCase(), A = n ? n.get(a) : void 0;
|
|
33
|
+
if (i.tagName = A || a, T(f))
|
|
34
|
+
c.unshift(f);
|
|
35
|
+
else
|
|
36
|
+
for (const [x, j] of Object.entries(f))
|
|
37
|
+
D(e, i.properties, x, j);
|
|
38
|
+
}
|
|
39
|
+
for (const a of c)
|
|
40
|
+
m(i.children, a);
|
|
41
|
+
return i.type === "element" && i.tagName === "template" && (i.content = { type: "root", children: i.children }, i.children = []), i;
|
|
42
|
+
}
|
|
43
|
+
return o;
|
|
44
|
+
}
|
|
45
|
+
function T(e) {
|
|
46
|
+
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
47
|
+
return !0;
|
|
48
|
+
if (typeof e.type != "string") return !1;
|
|
49
|
+
const t = (
|
|
50
|
+
/** @type {Record<string, unknown>} */
|
|
51
|
+
e
|
|
52
|
+
), r = Object.keys(e);
|
|
53
|
+
for (const n of r) {
|
|
54
|
+
const o = t[n];
|
|
55
|
+
if (o && typeof o == "object") {
|
|
56
|
+
if (!Array.isArray(o)) return !0;
|
|
57
|
+
const s = (
|
|
58
|
+
/** @type {ReadonlyArray<unknown>} */
|
|
59
|
+
o
|
|
60
|
+
);
|
|
61
|
+
for (const f of s)
|
|
62
|
+
if (typeof f != "number" && typeof f != "string")
|
|
63
|
+
return !0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return !!("children" in e && Array.isArray(e.children));
|
|
67
|
+
}
|
|
68
|
+
function D(e, t, r, n) {
|
|
69
|
+
const o = C(e, r);
|
|
70
|
+
let s;
|
|
71
|
+
if (n != null) {
|
|
72
|
+
if (typeof n == "number") {
|
|
73
|
+
if (Number.isNaN(n)) return;
|
|
74
|
+
s = n;
|
|
75
|
+
} else typeof n == "boolean" ? s = n : typeof n == "string" ? o.spaceSeparated ? s = d(n) : o.commaSeparated ? s = p(n) : o.commaOrSpaceSeparated ? s = d(p(n).join(" ")) : s = h(o, o.property, n) : Array.isArray(n) ? s = [...n] : s = o.property === "style" ? F(n) : String(n);
|
|
76
|
+
if (Array.isArray(s)) {
|
|
77
|
+
const f = [];
|
|
78
|
+
for (const c of s)
|
|
79
|
+
f.push(
|
|
80
|
+
/** @type {number | string} */
|
|
81
|
+
h(o, o.property, c)
|
|
82
|
+
);
|
|
83
|
+
s = f;
|
|
84
|
+
}
|
|
85
|
+
o.property === "className" && Array.isArray(t.className) && (s = t.className.concat(
|
|
86
|
+
/** @type {Array<number | string> | number | string} */
|
|
87
|
+
s
|
|
88
|
+
)), t[o.property] = s;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
function m(e, t) {
|
|
92
|
+
if (t != null) if (typeof t == "number" || typeof t == "string")
|
|
93
|
+
e.push({ type: "text", value: String(t) });
|
|
94
|
+
else if (Array.isArray(t))
|
|
95
|
+
for (const r of t)
|
|
96
|
+
m(e, r);
|
|
97
|
+
else if (typeof t == "object" && "type" in t)
|
|
98
|
+
t.type === "root" ? m(e, t.children) : e.push(t);
|
|
99
|
+
else
|
|
100
|
+
throw new Error("Expected node, nodes, or string, got `" + t + "`");
|
|
101
|
+
}
|
|
102
|
+
function h(e, t, r) {
|
|
103
|
+
if (typeof r == "string") {
|
|
104
|
+
if (e.number && r && !Number.isNaN(Number(r)))
|
|
105
|
+
return Number(r);
|
|
106
|
+
if ((e.boolean || e.overloadedBoolean) && (r === "" || u(r) === u(t)))
|
|
107
|
+
return !0;
|
|
108
|
+
}
|
|
109
|
+
return r;
|
|
110
|
+
}
|
|
111
|
+
function F(e) {
|
|
112
|
+
const t = [];
|
|
113
|
+
for (const [r, n] of Object.entries(e))
|
|
114
|
+
t.push([r, n].join(": "));
|
|
115
|
+
return t.join("; ");
|
|
116
|
+
}
|
|
117
|
+
function G(e) {
|
|
118
|
+
const t = /* @__PURE__ */ new Map();
|
|
119
|
+
for (const r of e)
|
|
120
|
+
t.set(r.toLowerCase(), r);
|
|
121
|
+
return t;
|
|
122
|
+
}
|
|
123
|
+
const O = [
|
|
124
|
+
"altGlyph",
|
|
125
|
+
"altGlyphDef",
|
|
126
|
+
"altGlyphItem",
|
|
127
|
+
"animateColor",
|
|
128
|
+
"animateMotion",
|
|
129
|
+
"animateTransform",
|
|
130
|
+
"clipPath",
|
|
131
|
+
"feBlend",
|
|
132
|
+
"feColorMatrix",
|
|
133
|
+
"feComponentTransfer",
|
|
134
|
+
"feComposite",
|
|
135
|
+
"feConvolveMatrix",
|
|
136
|
+
"feDiffuseLighting",
|
|
137
|
+
"feDisplacementMap",
|
|
138
|
+
"feDistantLight",
|
|
139
|
+
"feDropShadow",
|
|
140
|
+
"feFlood",
|
|
141
|
+
"feFuncA",
|
|
142
|
+
"feFuncB",
|
|
143
|
+
"feFuncG",
|
|
144
|
+
"feFuncR",
|
|
145
|
+
"feGaussianBlur",
|
|
146
|
+
"feImage",
|
|
147
|
+
"feMerge",
|
|
148
|
+
"feMergeNode",
|
|
149
|
+
"feMorphology",
|
|
150
|
+
"feOffset",
|
|
151
|
+
"fePointLight",
|
|
152
|
+
"feSpecularLighting",
|
|
153
|
+
"feSpotLight",
|
|
154
|
+
"feTile",
|
|
155
|
+
"feTurbulence",
|
|
156
|
+
"foreignObject",
|
|
157
|
+
"glyphRef",
|
|
158
|
+
"linearGradient",
|
|
159
|
+
"radialGradient",
|
|
160
|
+
"solidColor",
|
|
161
|
+
"textArea",
|
|
162
|
+
"textPath"
|
|
163
|
+
], P = N(M, "div"), k = N(S, "g", O), l = {
|
|
164
|
+
html: "http://www.w3.org/1999/xhtml",
|
|
165
|
+
svg: "http://www.w3.org/2000/svg"
|
|
166
|
+
};
|
|
167
|
+
function I(e, t) {
|
|
168
|
+
return b(e, {}) || { type: "root", children: [] };
|
|
169
|
+
}
|
|
170
|
+
function b(e, t) {
|
|
171
|
+
const r = B(e, t);
|
|
172
|
+
return r && t.afterTransform && t.afterTransform(e, r), r;
|
|
173
|
+
}
|
|
174
|
+
function B(e, t) {
|
|
175
|
+
switch (e.nodeType) {
|
|
176
|
+
case 1:
|
|
177
|
+
return V(
|
|
178
|
+
/** @type {Element} */
|
|
179
|
+
e,
|
|
180
|
+
t
|
|
181
|
+
);
|
|
182
|
+
// Ignore: Attr (2).
|
|
183
|
+
case 3:
|
|
184
|
+
return E(
|
|
185
|
+
/** @type {Text} */
|
|
186
|
+
e
|
|
187
|
+
);
|
|
188
|
+
// Ignore: CDATA (4).
|
|
189
|
+
// Removed: Entity reference (5)
|
|
190
|
+
// Removed: Entity (6)
|
|
191
|
+
// Ignore: Processing instruction (7).
|
|
192
|
+
case 8:
|
|
193
|
+
return H(
|
|
194
|
+
/** @type {Comment} */
|
|
195
|
+
e
|
|
196
|
+
);
|
|
197
|
+
case 9:
|
|
198
|
+
return g(
|
|
199
|
+
/** @type {Document} */
|
|
200
|
+
e,
|
|
201
|
+
t
|
|
202
|
+
);
|
|
203
|
+
case 10:
|
|
204
|
+
return R();
|
|
205
|
+
case 11:
|
|
206
|
+
return g(
|
|
207
|
+
/** @type {DocumentFragment} */
|
|
208
|
+
e,
|
|
209
|
+
t
|
|
210
|
+
);
|
|
211
|
+
default:
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
function g(e, t) {
|
|
216
|
+
return { type: "root", children: w(e, t) };
|
|
217
|
+
}
|
|
218
|
+
function R() {
|
|
219
|
+
return { type: "doctype" };
|
|
220
|
+
}
|
|
221
|
+
function E(e) {
|
|
222
|
+
return { type: "text", value: e.nodeValue || "" };
|
|
223
|
+
}
|
|
224
|
+
function H(e) {
|
|
225
|
+
return { type: "comment", value: e.nodeValue || "" };
|
|
226
|
+
}
|
|
227
|
+
function V(e, t) {
|
|
228
|
+
const r = e.namespaceURI, n = r === l.svg ? k : P, o = r === l.html ? e.tagName.toLowerCase() : e.tagName, s = (
|
|
229
|
+
// @ts-expect-error: DOM types are wrong, content can exist.
|
|
230
|
+
r === l.html && o === "template" ? e.content : e
|
|
231
|
+
), f = e.getAttributeNames(), c = {};
|
|
232
|
+
let i = -1;
|
|
233
|
+
for (; ++i < f.length; )
|
|
234
|
+
c[f[i]] = e.getAttribute(f[i]) || "";
|
|
235
|
+
return n(o, c, w(s, t));
|
|
236
|
+
}
|
|
237
|
+
function w(e, t) {
|
|
238
|
+
const r = e.childNodes, n = [];
|
|
239
|
+
let o = -1;
|
|
240
|
+
for (; ++o < r.length; ) {
|
|
241
|
+
const s = b(r[o], t);
|
|
242
|
+
s !== void 0 && n.push(s);
|
|
243
|
+
}
|
|
244
|
+
return n;
|
|
245
|
+
}
|
|
246
|
+
const z = new DOMParser();
|
|
247
|
+
function q(e, t) {
|
|
248
|
+
const r = t?.fragment ? U(e) : z.parseFromString(e, "text/html");
|
|
249
|
+
return (
|
|
250
|
+
/** @type {Root} */
|
|
251
|
+
I(r)
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
function U(e) {
|
|
255
|
+
const t = document.createElement("template");
|
|
256
|
+
return t.innerHTML = e, t.content;
|
|
257
|
+
}
|
|
258
|
+
export {
|
|
259
|
+
q as fromHtmlIsomorphic
|
|
260
|
+
};
|