@ootc/markdown 0.1.0 → 0.2.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/README.md +63 -9
- package/dist/CodeBlock-BquZ4WRk.cjs +2 -0
- package/dist/CodeBlock-DSwq2gw5.js +74 -0
- package/dist/MarkdownPreview-CMvzqhTd.js +7592 -0
- package/dist/MarkdownPreview-DfDx-wep.cjs +29 -0
- package/dist/code.cjs +1 -1
- package/dist/code.js +1 -1
- package/dist/components/code-block/CodeBlock.d.ts +7 -1
- package/dist/components/markdown/MarkdownPreview.d.ts +8 -2
- package/dist/components/markdown-editor/MarkdownEditor.d.ts +4 -1
- package/dist/css/MarkdownPreview.css +1 -1
- package/dist/css/plugin-mermaid.css +1 -0
- package/dist/editor.cjs +1 -1
- package/dist/editor.js +24 -22
- package/dist/index-BJZhyxD_.cjs +9 -0
- package/dist/index-DWVMYNE4.js +800 -0
- package/dist/index-HmBYTPyZ.js +1179 -0
- package/dist/index-jsnhzgIQ.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/jsx-runtime-DXgJBoQh.js +264 -0
- package/dist/jsx-runtime-nZSsnGb7.cjs +6 -0
- package/dist/plugin-highlight.cjs +1 -0
- package/dist/plugin-highlight.d.ts +3 -0
- package/dist/plugin-highlight.js +20 -0
- package/dist/plugin-katex.cjs +1 -0
- package/dist/plugin-katex.d.ts +3 -0
- package/dist/plugin-katex.js +12 -0
- package/dist/plugin-mermaid.cjs +1 -0
- package/dist/plugin-mermaid.css +1 -0
- package/dist/plugin-mermaid.d.ts +3 -0
- package/dist/plugin-mermaid.js +266 -0
- package/dist/plugins/highlight/index.d.ts +9 -0
- package/dist/plugins/katex/index.d.ts +12 -0
- package/dist/plugins/mermaid/MermaidDiagram.d.ts +7 -0
- package/dist/plugins/mermaid/index.d.ts +11 -0
- package/dist/plugins/types.d.ts +38 -0
- package/dist/preview.cjs +1 -1
- package/dist/preview.js +2 -2
- package/dist/style.css +1 -0
- package/package.json +49 -9
- package/dist/CodeBlock-B_Wu_RsD.cjs +0 -15
- package/dist/CodeBlock-BdSjKnRY.js +0 -2320
- package/dist/MarkdownPreview-CcTDfsgR.js +0 -20425
- package/dist/MarkdownPreview-imz9Sn8T.cjs +0 -295
- package/dist/_baseUniq-CmzFJAby.js +0 -477
- package/dist/_baseUniq-DTl9zLUk.cjs +0 -1
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +0 -1
- package/dist/arc-CLsgE_FO.cjs +0 -1
- package/dist/arc-DN0J6orD.js +0 -83
- package/dist/architectureDiagram-VXUJARFQ-C0Ox22_L.cjs +0 -36
- package/dist/architectureDiagram-VXUJARFQ-DD1WVkEB.js +0 -4662
- package/dist/blockDiagram-VD42YOAC-CXFrXgPY.cjs +0 -122
- package/dist/blockDiagram-VD42YOAC-DzX-b-6d.js +0 -2256
- package/dist/c4Diagram-YG6GDRKO-8tK3jTST.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-CBo9Z0K5.js +0 -1580
- package/dist/channel-BWUNfmCm.js +0 -5
- package/dist/channel-MPm5yYgZ.cjs +0 -1
- package/dist/chunk-4BX2VUAB-BC2JrFPv.js +0 -8
- package/dist/chunk-4BX2VUAB-CVibkmL0.cjs +0 -1
- package/dist/chunk-55IACEB6-CzZUDZ70.js +0 -8
- package/dist/chunk-55IACEB6-DZnx2f_C.cjs +0 -1
- package/dist/chunk-B4BG7PRW-D0a_-7vE.cjs +0 -165
- package/dist/chunk-B4BG7PRW-DU2I6H4s.js +0 -1375
- package/dist/chunk-DI55MBZ5-BuXMX149.js +0 -1370
- package/dist/chunk-DI55MBZ5-Dr1JJdkm.cjs +0 -220
- package/dist/chunk-FMBD7UC4-DekHPa2I.cjs +0 -15
- package/dist/chunk-FMBD7UC4-RBUwxloo.js +0 -19
- package/dist/chunk-QN33PNHL-B6FGlZxV.js +0 -19
- package/dist/chunk-QN33PNHL-C1YRBk0j.cjs +0 -1
- package/dist/chunk-QZHKN3VN-BspjB43V.cjs +0 -1
- package/dist/chunk-QZHKN3VN-DR_oy1P1.js +0 -15
- package/dist/chunk-TZMSLE5B-BRck7Be7.cjs +0 -1
- package/dist/chunk-TZMSLE5B-pyixj0XE.js +0 -64
- package/dist/classDiagram-2ON5EDUG-Bvw7buPq.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-DK3Yvqrk.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-Bvw7buPq.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-DK3Yvqrk.js +0 -16
- package/dist/clone-D2V_3-x6.cjs +0 -1
- package/dist/clone-O816pP2i.js +0 -8
- package/dist/cose-bilkent-S5V4N54A-Bu3r2cA0.js +0 -2609
- package/dist/cose-bilkent-S5V4N54A-vz9hoE-P.cjs +0 -1
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-D2UBESo6.cjs +0 -4
- package/dist/dagre-6UL2VRFP-DiBRZkX2.js +0 -443
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-CUF6rC_5.js +0 -531
- package/dist/diagram-PSM6KHXK-uKXJz4r1.cjs +0 -24
- package/dist/diagram-QEK2KX5R-Da150Pqe.js +0 -217
- package/dist/diagram-QEK2KX5R-kQTDsG_x.cjs +0 -43
- package/dist/diagram-S2PKOQOG-C5ATPkHT.cjs +0 -24
- package/dist/diagram-S2PKOQOG-DA2RxLrC.js +0 -142
- package/dist/erDiagram-Q2GNP2WA-BsCdOw62.cjs +0 -60
- package/dist/erDiagram-Q2GNP2WA-YfCaUJjx.js +0 -841
- package/dist/flowDiagram-NV44I4VS-BG0KW3ec.cjs +0 -162
- package/dist/flowDiagram-NV44I4VS-D7WLCw1w.js +0 -1620
- package/dist/fonts/font-00b26ac8.woff2 +0 -0
- package/dist/fonts/font-036d4e95.woff2 +0 -0
- package/dist/fonts/font-07d8e303.ttf +0 -0
- package/dist/fonts/font-08ce98e5.ttf +0 -0
- package/dist/fonts/font-0cdd387c.woff2 +0 -0
- package/dist/fonts/font-0d85ae7c.ttf +0 -0
- package/dist/fonts/font-0f60d1b8.woff2 +0 -0
- package/dist/fonts/font-11e4dc8a.woff +0 -0
- package/dist/fonts/font-138ac28d.ttf +0 -0
- package/dist/fonts/font-1ae6bd74.woff +0 -0
- package/dist/fonts/font-1c67f068.ttf +0 -0
- package/dist/fonts/font-1e6f9579.ttf +0 -0
- package/dist/fonts/font-1ece03f7.ttf +0 -0
- package/dist/fonts/font-2014c523.woff +0 -0
- package/dist/fonts/font-30da91e8.woff +0 -0
- package/dist/fonts/font-3398dd02.woff +0 -0
- package/dist/fonts/font-3931dd81.ttf +0 -0
- package/dist/fonts/font-500e04d5.ttf +0 -0
- package/dist/fonts/font-51814d27.woff2 +0 -0
- package/dist/fonts/font-5d53e70a.woff2 +0 -0
- package/dist/fonts/font-5e28753b.woff +0 -0
- package/dist/fonts/font-68534840.ttf +0 -0
- package/dist/fonts/font-68e8c73e.woff2 +0 -0
- package/dist/fonts/font-6ab6b62e.woff +0 -0
- package/dist/fonts/font-6b47c401.woff2 +0 -0
- package/dist/fonts/font-70ee1f64.ttf +0 -0
- package/dist/fonts/font-71d517d6.woff2 +0 -0
- package/dist/fonts/font-73d59127.woff2 +0 -0
- package/dist/fonts/font-74444efd.woff2 +0 -0
- package/dist/fonts/font-7af58c5e.woff2 +0 -0
- package/dist/fonts/font-850c0af5.woff +0 -0
- package/dist/fonts/font-8a8d2445.woff +0 -0
- package/dist/fonts/font-9163df9c.ttf +0 -0
- package/dist/fonts/font-91ee6750.woff +0 -0
- package/dist/fonts/font-95b6d2f1.ttf +0 -0
- package/dist/fonts/font-97479ca6.woff2 +0 -0
- package/dist/fonts/font-99cd42a3.woff2 +0 -0
- package/dist/fonts/font-99f9c675.woff +0 -0
- package/dist/fonts/font-9be7ceb8.woff +0 -0
- package/dist/fonts/font-a4af7d41.woff2 +0 -0
- package/dist/fonts/font-a6b2099f.ttf +0 -0
- package/dist/fonts/font-a6f7ec0d.woff +0 -0
- package/dist/fonts/font-c2342cd8.woff2 +0 -0
- package/dist/fonts/font-c6368d87.woff +0 -0
- package/dist/fonts/font-c647367d.ttf +0 -0
- package/dist/fonts/font-c76c5d69.woff +0 -0
- package/dist/fonts/font-c943cc98.woff +0 -0
- package/dist/fonts/font-d0332f52.ttf +0 -0
- package/dist/fonts/font-d04c5421.woff2 +0 -0
- package/dist/fonts/font-d96cdf2b.woff +0 -0
- package/dist/fonts/font-dc47344d.woff2 +0 -0
- package/dist/fonts/font-de7701e4.woff2 +0 -0
- package/dist/fonts/font-e14fed02.woff +0 -0
- package/dist/fonts/font-e99ae511.woff2 +0 -0
- package/dist/fonts/font-ece03cfd.woff +0 -0
- package/dist/fonts/font-ed0b7437.ttf +0 -0
- package/dist/fonts/font-f01f3e87.ttf +0 -0
- package/dist/fonts/font-f1d6ef86.woff +0 -0
- package/dist/fonts/font-f36ea897.ttf +0 -0
- package/dist/fonts/font-f9377ab0.ttf +0 -0
- package/dist/ganttDiagram-JELNMOA3-BUA8njzO.cjs +0 -267
- package/dist/ganttDiagram-JELNMOA3-DSi9nt2I.js +0 -2671
- package/dist/gitGraphDiagram-NY62KEGX-C_9BbRSY.cjs +0 -65
- package/dist/gitGraphDiagram-NY62KEGX-Dr7HXTzE.js +0 -699
- package/dist/graph-Bd_3fIRG.cjs +0 -1
- package/dist/graph-DKQwyqwf.js +0 -381
- package/dist/index-BCrgOJjI.js +0 -38514
- package/dist/index-CPmaHYSB.cjs +0 -3920
- package/dist/infoDiagram-WHAUD3N6-LqpiKtaK.cjs +0 -2
- package/dist/infoDiagram-WHAUD3N6-cs5PUkbs.js +0 -24
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-Uzzobun-.cjs +0 -139
- package/dist/journeyDiagram-XKPGCS4Q-Xh1PuBF3.js +0 -834
- package/dist/kanban-definition-3W4ZIXB7-BGNcniUS.cjs +0 -89
- package/dist/kanban-definition-3W4ZIXB7-BrCevkcy.js +0 -719
- package/dist/layout-C1JPMjBE.cjs +0 -1
- package/dist/layout-DCT3c1G0.js +0 -1441
- package/dist/linear-1V2v3HAv.js +0 -259
- package/dist/linear-BguQgdYO.cjs +0 -1
- package/dist/mermaid.core-B7U3vlPn.js +0 -15269
- package/dist/mermaid.core-Bi8BVJjR.cjs +0 -249
- package/dist/min-DxTpsh5w.js +0 -38
- package/dist/min-IWR7y697.cjs +0 -1
- package/dist/mindmap-definition-VGOIOE7T-Bo_AaB3S.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-y7MJRkKb.js +0 -784
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/pieDiagram-ADFJNKIX-B3MwEiQQ.cjs +0 -30
- package/dist/pieDiagram-ADFJNKIX-Dat2qDxW.js +0 -161
- package/dist/quadrantDiagram-AYHSOK5B-BPI6p5FS.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-DJPxR-7E.cjs +0 -7
- package/dist/requirementDiagram-UZGBJVZJ-BjJSqttW.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-CmIwuHrt.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-CLroAHms.cjs +0 -10
- package/dist/sankeyDiagram-TZEHDZUN-jMmEhl5n.js +0 -810
- package/dist/sequenceDiagram-WL72ISMW-BVZMWdMT.cjs +0 -145
- package/dist/sequenceDiagram-WL72ISMW-CqGWWpuM.js +0 -2511
- package/dist/stateDiagram-FKZM4ZOC-DYHXgEjX.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-h1ovMUWJ.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-Di23ehqW.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-GGpuzcKb.js +0 -16
- package/dist/timeline-definition-IT6M3QCI-DC_axTKs.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-DYx-RdCk.cjs +0 -61
- package/dist/treemap-KMMF4GRG-B-9lqUoG.js +0 -14192
- package/dist/treemap-KMMF4GRG-EXqF5Yz1.cjs +0 -128
- package/dist/xychartDiagram-PRI3JC2R-CedpkbBs.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-gFwsBSHN.js +0 -1340
|
@@ -0,0 +1,1179 @@
|
|
|
1
|
+
function j(l, e) {
|
|
2
|
+
const t = e || {};
|
|
3
|
+
return (l[l.length - 1] === "" ? [...l, ""] : l).join(
|
|
4
|
+
(t.padRight ? " " : "") + "," + (t.padLeft === !1 ? "" : " ")
|
|
5
|
+
).trim();
|
|
6
|
+
}
|
|
7
|
+
const E = /[ \t\n\f\r]/g;
|
|
8
|
+
function V(l) {
|
|
9
|
+
return typeof l == "object" ? l.type === "text" ? C(l.value) : !1 : C(l);
|
|
10
|
+
}
|
|
11
|
+
function C(l) {
|
|
12
|
+
return l.replace(E, "") === "";
|
|
13
|
+
}
|
|
14
|
+
class f {
|
|
15
|
+
/**
|
|
16
|
+
* @param {SchemaType['property']} property
|
|
17
|
+
* Property.
|
|
18
|
+
* @param {SchemaType['normal']} normal
|
|
19
|
+
* Normal.
|
|
20
|
+
* @param {Space | undefined} [space]
|
|
21
|
+
* Space.
|
|
22
|
+
* @returns
|
|
23
|
+
* Schema.
|
|
24
|
+
*/
|
|
25
|
+
constructor(e, t, r) {
|
|
26
|
+
this.normal = t, this.property = e, r && (this.space = r);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
f.prototype.normal = {};
|
|
30
|
+
f.prototype.property = {};
|
|
31
|
+
f.prototype.space = void 0;
|
|
32
|
+
function P(l, e) {
|
|
33
|
+
const t = {}, r = {};
|
|
34
|
+
for (const s of l)
|
|
35
|
+
Object.assign(t, s.property), Object.assign(r, s.normal);
|
|
36
|
+
return new f(t, r, e);
|
|
37
|
+
}
|
|
38
|
+
function v(l) {
|
|
39
|
+
return l.toLowerCase();
|
|
40
|
+
}
|
|
41
|
+
class i {
|
|
42
|
+
/**
|
|
43
|
+
* @param {string} property
|
|
44
|
+
* Property.
|
|
45
|
+
* @param {string} attribute
|
|
46
|
+
* Attribute.
|
|
47
|
+
* @returns
|
|
48
|
+
* Info.
|
|
49
|
+
*/
|
|
50
|
+
constructor(e, t) {
|
|
51
|
+
this.attribute = t, this.property = e;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
i.prototype.attribute = "";
|
|
55
|
+
i.prototype.booleanish = !1;
|
|
56
|
+
i.prototype.boolean = !1;
|
|
57
|
+
i.prototype.commaOrSpaceSeparated = !1;
|
|
58
|
+
i.prototype.commaSeparated = !1;
|
|
59
|
+
i.prototype.defined = !1;
|
|
60
|
+
i.prototype.mustUseProperty = !1;
|
|
61
|
+
i.prototype.number = !1;
|
|
62
|
+
i.prototype.overloadedBoolean = !1;
|
|
63
|
+
i.prototype.property = "";
|
|
64
|
+
i.prototype.spaceSeparated = !1;
|
|
65
|
+
i.prototype.space = void 0;
|
|
66
|
+
let A = 0;
|
|
67
|
+
const o = g(), u = g(), k = g(), n = g(), a = g(), h = g(), p = g();
|
|
68
|
+
function g() {
|
|
69
|
+
return 2 ** ++A;
|
|
70
|
+
}
|
|
71
|
+
const b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
72
|
+
__proto__: null,
|
|
73
|
+
boolean: o,
|
|
74
|
+
booleanish: u,
|
|
75
|
+
commaOrSpaceSeparated: p,
|
|
76
|
+
commaSeparated: h,
|
|
77
|
+
number: n,
|
|
78
|
+
overloadedBoolean: k,
|
|
79
|
+
spaceSeparated: a
|
|
80
|
+
}, Symbol.toStringTag, { value: "Module" })), y = (
|
|
81
|
+
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
82
|
+
Object.keys(b)
|
|
83
|
+
);
|
|
84
|
+
class S extends i {
|
|
85
|
+
/**
|
|
86
|
+
* @constructor
|
|
87
|
+
* @param {string} property
|
|
88
|
+
* Property.
|
|
89
|
+
* @param {string} attribute
|
|
90
|
+
* Attribute.
|
|
91
|
+
* @param {number | null | undefined} [mask]
|
|
92
|
+
* Mask.
|
|
93
|
+
* @param {Space | undefined} [space]
|
|
94
|
+
* Space.
|
|
95
|
+
* @returns
|
|
96
|
+
* Info.
|
|
97
|
+
*/
|
|
98
|
+
constructor(e, t, r, s) {
|
|
99
|
+
let c = -1;
|
|
100
|
+
if (super(e, t), x(this, "space", s), typeof r == "number")
|
|
101
|
+
for (; ++c < y.length; ) {
|
|
102
|
+
const d = y[c];
|
|
103
|
+
x(this, y[c], (r & b[d]) === b[d]);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
S.prototype.defined = !0;
|
|
108
|
+
function x(l, e, t) {
|
|
109
|
+
t && (l[e] = t);
|
|
110
|
+
}
|
|
111
|
+
function m(l) {
|
|
112
|
+
const e = {}, t = {};
|
|
113
|
+
for (const [r, s] of Object.entries(l.properties)) {
|
|
114
|
+
const c = new S(
|
|
115
|
+
r,
|
|
116
|
+
l.transform(l.attributes || {}, r),
|
|
117
|
+
s,
|
|
118
|
+
l.space
|
|
119
|
+
);
|
|
120
|
+
l.mustUseProperty && l.mustUseProperty.includes(r) && (c.mustUseProperty = !0), e[r] = c, t[v(r)] = r, t[v(c.attribute)] = r;
|
|
121
|
+
}
|
|
122
|
+
return new f(e, t, l.space);
|
|
123
|
+
}
|
|
124
|
+
const M = m({
|
|
125
|
+
properties: {
|
|
126
|
+
ariaActiveDescendant: null,
|
|
127
|
+
ariaAtomic: u,
|
|
128
|
+
ariaAutoComplete: null,
|
|
129
|
+
ariaBusy: u,
|
|
130
|
+
ariaChecked: u,
|
|
131
|
+
ariaColCount: n,
|
|
132
|
+
ariaColIndex: n,
|
|
133
|
+
ariaColSpan: n,
|
|
134
|
+
ariaControls: a,
|
|
135
|
+
ariaCurrent: null,
|
|
136
|
+
ariaDescribedBy: a,
|
|
137
|
+
ariaDetails: null,
|
|
138
|
+
ariaDisabled: u,
|
|
139
|
+
ariaDropEffect: a,
|
|
140
|
+
ariaErrorMessage: null,
|
|
141
|
+
ariaExpanded: u,
|
|
142
|
+
ariaFlowTo: a,
|
|
143
|
+
ariaGrabbed: u,
|
|
144
|
+
ariaHasPopup: null,
|
|
145
|
+
ariaHidden: u,
|
|
146
|
+
ariaInvalid: null,
|
|
147
|
+
ariaKeyShortcuts: null,
|
|
148
|
+
ariaLabel: null,
|
|
149
|
+
ariaLabelledBy: a,
|
|
150
|
+
ariaLevel: n,
|
|
151
|
+
ariaLive: null,
|
|
152
|
+
ariaModal: u,
|
|
153
|
+
ariaMultiLine: u,
|
|
154
|
+
ariaMultiSelectable: u,
|
|
155
|
+
ariaOrientation: null,
|
|
156
|
+
ariaOwns: a,
|
|
157
|
+
ariaPlaceholder: null,
|
|
158
|
+
ariaPosInSet: n,
|
|
159
|
+
ariaPressed: u,
|
|
160
|
+
ariaReadOnly: u,
|
|
161
|
+
ariaRelevant: null,
|
|
162
|
+
ariaRequired: u,
|
|
163
|
+
ariaRoleDescription: a,
|
|
164
|
+
ariaRowCount: n,
|
|
165
|
+
ariaRowIndex: n,
|
|
166
|
+
ariaRowSpan: n,
|
|
167
|
+
ariaSelected: u,
|
|
168
|
+
ariaSetSize: n,
|
|
169
|
+
ariaSort: null,
|
|
170
|
+
ariaValueMax: n,
|
|
171
|
+
ariaValueMin: n,
|
|
172
|
+
ariaValueNow: n,
|
|
173
|
+
ariaValueText: null,
|
|
174
|
+
role: null
|
|
175
|
+
},
|
|
176
|
+
transform(l, e) {
|
|
177
|
+
return e === "role" ? e : "aria-" + e.slice(4).toLowerCase();
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
function L(l, e) {
|
|
181
|
+
return e in l ? l[e] : e;
|
|
182
|
+
}
|
|
183
|
+
function O(l, e) {
|
|
184
|
+
return L(l, e.toLowerCase());
|
|
185
|
+
}
|
|
186
|
+
const U = m({
|
|
187
|
+
attributes: {
|
|
188
|
+
acceptcharset: "accept-charset",
|
|
189
|
+
classname: "class",
|
|
190
|
+
htmlfor: "for",
|
|
191
|
+
httpequiv: "http-equiv"
|
|
192
|
+
},
|
|
193
|
+
mustUseProperty: ["checked", "multiple", "muted", "selected"],
|
|
194
|
+
properties: {
|
|
195
|
+
// Standard Properties.
|
|
196
|
+
abbr: null,
|
|
197
|
+
accept: h,
|
|
198
|
+
acceptCharset: a,
|
|
199
|
+
accessKey: a,
|
|
200
|
+
action: null,
|
|
201
|
+
allow: null,
|
|
202
|
+
allowFullScreen: o,
|
|
203
|
+
allowPaymentRequest: o,
|
|
204
|
+
allowUserMedia: o,
|
|
205
|
+
alt: null,
|
|
206
|
+
as: null,
|
|
207
|
+
async: o,
|
|
208
|
+
autoCapitalize: null,
|
|
209
|
+
autoComplete: a,
|
|
210
|
+
autoFocus: o,
|
|
211
|
+
autoPlay: o,
|
|
212
|
+
blocking: a,
|
|
213
|
+
capture: null,
|
|
214
|
+
charSet: null,
|
|
215
|
+
checked: o,
|
|
216
|
+
cite: null,
|
|
217
|
+
className: a,
|
|
218
|
+
cols: n,
|
|
219
|
+
colSpan: null,
|
|
220
|
+
content: null,
|
|
221
|
+
contentEditable: u,
|
|
222
|
+
controls: o,
|
|
223
|
+
controlsList: a,
|
|
224
|
+
coords: n | h,
|
|
225
|
+
crossOrigin: null,
|
|
226
|
+
data: null,
|
|
227
|
+
dateTime: null,
|
|
228
|
+
decoding: null,
|
|
229
|
+
default: o,
|
|
230
|
+
defer: o,
|
|
231
|
+
dir: null,
|
|
232
|
+
dirName: null,
|
|
233
|
+
disabled: o,
|
|
234
|
+
download: k,
|
|
235
|
+
draggable: u,
|
|
236
|
+
encType: null,
|
|
237
|
+
enterKeyHint: null,
|
|
238
|
+
fetchPriority: null,
|
|
239
|
+
form: null,
|
|
240
|
+
formAction: null,
|
|
241
|
+
formEncType: null,
|
|
242
|
+
formMethod: null,
|
|
243
|
+
formNoValidate: o,
|
|
244
|
+
formTarget: null,
|
|
245
|
+
headers: a,
|
|
246
|
+
height: n,
|
|
247
|
+
hidden: k,
|
|
248
|
+
high: n,
|
|
249
|
+
href: null,
|
|
250
|
+
hrefLang: null,
|
|
251
|
+
htmlFor: a,
|
|
252
|
+
httpEquiv: a,
|
|
253
|
+
id: null,
|
|
254
|
+
imageSizes: null,
|
|
255
|
+
imageSrcSet: null,
|
|
256
|
+
inert: o,
|
|
257
|
+
inputMode: null,
|
|
258
|
+
integrity: null,
|
|
259
|
+
is: null,
|
|
260
|
+
isMap: o,
|
|
261
|
+
itemId: null,
|
|
262
|
+
itemProp: a,
|
|
263
|
+
itemRef: a,
|
|
264
|
+
itemScope: o,
|
|
265
|
+
itemType: a,
|
|
266
|
+
kind: null,
|
|
267
|
+
label: null,
|
|
268
|
+
lang: null,
|
|
269
|
+
language: null,
|
|
270
|
+
list: null,
|
|
271
|
+
loading: null,
|
|
272
|
+
loop: o,
|
|
273
|
+
low: n,
|
|
274
|
+
manifest: null,
|
|
275
|
+
max: null,
|
|
276
|
+
maxLength: n,
|
|
277
|
+
media: null,
|
|
278
|
+
method: null,
|
|
279
|
+
min: null,
|
|
280
|
+
minLength: n,
|
|
281
|
+
multiple: o,
|
|
282
|
+
muted: o,
|
|
283
|
+
name: null,
|
|
284
|
+
nonce: null,
|
|
285
|
+
noModule: o,
|
|
286
|
+
noValidate: o,
|
|
287
|
+
onAbort: null,
|
|
288
|
+
onAfterPrint: null,
|
|
289
|
+
onAuxClick: null,
|
|
290
|
+
onBeforeMatch: null,
|
|
291
|
+
onBeforePrint: null,
|
|
292
|
+
onBeforeToggle: null,
|
|
293
|
+
onBeforeUnload: null,
|
|
294
|
+
onBlur: null,
|
|
295
|
+
onCancel: null,
|
|
296
|
+
onCanPlay: null,
|
|
297
|
+
onCanPlayThrough: null,
|
|
298
|
+
onChange: null,
|
|
299
|
+
onClick: null,
|
|
300
|
+
onClose: null,
|
|
301
|
+
onContextLost: null,
|
|
302
|
+
onContextMenu: null,
|
|
303
|
+
onContextRestored: null,
|
|
304
|
+
onCopy: null,
|
|
305
|
+
onCueChange: null,
|
|
306
|
+
onCut: null,
|
|
307
|
+
onDblClick: null,
|
|
308
|
+
onDrag: null,
|
|
309
|
+
onDragEnd: null,
|
|
310
|
+
onDragEnter: null,
|
|
311
|
+
onDragExit: null,
|
|
312
|
+
onDragLeave: null,
|
|
313
|
+
onDragOver: null,
|
|
314
|
+
onDragStart: null,
|
|
315
|
+
onDrop: null,
|
|
316
|
+
onDurationChange: null,
|
|
317
|
+
onEmptied: null,
|
|
318
|
+
onEnded: null,
|
|
319
|
+
onError: null,
|
|
320
|
+
onFocus: null,
|
|
321
|
+
onFormData: null,
|
|
322
|
+
onHashChange: null,
|
|
323
|
+
onInput: null,
|
|
324
|
+
onInvalid: null,
|
|
325
|
+
onKeyDown: null,
|
|
326
|
+
onKeyPress: null,
|
|
327
|
+
onKeyUp: null,
|
|
328
|
+
onLanguageChange: null,
|
|
329
|
+
onLoad: null,
|
|
330
|
+
onLoadedData: null,
|
|
331
|
+
onLoadedMetadata: null,
|
|
332
|
+
onLoadEnd: null,
|
|
333
|
+
onLoadStart: null,
|
|
334
|
+
onMessage: null,
|
|
335
|
+
onMessageError: null,
|
|
336
|
+
onMouseDown: null,
|
|
337
|
+
onMouseEnter: null,
|
|
338
|
+
onMouseLeave: null,
|
|
339
|
+
onMouseMove: null,
|
|
340
|
+
onMouseOut: null,
|
|
341
|
+
onMouseOver: null,
|
|
342
|
+
onMouseUp: null,
|
|
343
|
+
onOffline: null,
|
|
344
|
+
onOnline: null,
|
|
345
|
+
onPageHide: null,
|
|
346
|
+
onPageShow: null,
|
|
347
|
+
onPaste: null,
|
|
348
|
+
onPause: null,
|
|
349
|
+
onPlay: null,
|
|
350
|
+
onPlaying: null,
|
|
351
|
+
onPopState: null,
|
|
352
|
+
onProgress: null,
|
|
353
|
+
onRateChange: null,
|
|
354
|
+
onRejectionHandled: null,
|
|
355
|
+
onReset: null,
|
|
356
|
+
onResize: null,
|
|
357
|
+
onScroll: null,
|
|
358
|
+
onScrollEnd: null,
|
|
359
|
+
onSecurityPolicyViolation: null,
|
|
360
|
+
onSeeked: null,
|
|
361
|
+
onSeeking: null,
|
|
362
|
+
onSelect: null,
|
|
363
|
+
onSlotChange: null,
|
|
364
|
+
onStalled: null,
|
|
365
|
+
onStorage: null,
|
|
366
|
+
onSubmit: null,
|
|
367
|
+
onSuspend: null,
|
|
368
|
+
onTimeUpdate: null,
|
|
369
|
+
onToggle: null,
|
|
370
|
+
onUnhandledRejection: null,
|
|
371
|
+
onUnload: null,
|
|
372
|
+
onVolumeChange: null,
|
|
373
|
+
onWaiting: null,
|
|
374
|
+
onWheel: null,
|
|
375
|
+
open: o,
|
|
376
|
+
optimum: n,
|
|
377
|
+
pattern: null,
|
|
378
|
+
ping: a,
|
|
379
|
+
placeholder: null,
|
|
380
|
+
playsInline: o,
|
|
381
|
+
popover: null,
|
|
382
|
+
popoverTarget: null,
|
|
383
|
+
popoverTargetAction: null,
|
|
384
|
+
poster: null,
|
|
385
|
+
preload: null,
|
|
386
|
+
readOnly: o,
|
|
387
|
+
referrerPolicy: null,
|
|
388
|
+
rel: a,
|
|
389
|
+
required: o,
|
|
390
|
+
reversed: o,
|
|
391
|
+
rows: n,
|
|
392
|
+
rowSpan: n,
|
|
393
|
+
sandbox: a,
|
|
394
|
+
scope: null,
|
|
395
|
+
scoped: o,
|
|
396
|
+
seamless: o,
|
|
397
|
+
selected: o,
|
|
398
|
+
shadowRootClonable: o,
|
|
399
|
+
shadowRootDelegatesFocus: o,
|
|
400
|
+
shadowRootMode: null,
|
|
401
|
+
shape: null,
|
|
402
|
+
size: n,
|
|
403
|
+
sizes: null,
|
|
404
|
+
slot: null,
|
|
405
|
+
span: n,
|
|
406
|
+
spellCheck: u,
|
|
407
|
+
src: null,
|
|
408
|
+
srcDoc: null,
|
|
409
|
+
srcLang: null,
|
|
410
|
+
srcSet: null,
|
|
411
|
+
start: n,
|
|
412
|
+
step: null,
|
|
413
|
+
style: null,
|
|
414
|
+
tabIndex: n,
|
|
415
|
+
target: null,
|
|
416
|
+
title: null,
|
|
417
|
+
translate: null,
|
|
418
|
+
type: null,
|
|
419
|
+
typeMustMatch: o,
|
|
420
|
+
useMap: null,
|
|
421
|
+
value: u,
|
|
422
|
+
width: n,
|
|
423
|
+
wrap: null,
|
|
424
|
+
writingSuggestions: null,
|
|
425
|
+
// Legacy.
|
|
426
|
+
// See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
|
|
427
|
+
align: null,
|
|
428
|
+
// Several. Use CSS `text-align` instead,
|
|
429
|
+
aLink: null,
|
|
430
|
+
// `<body>`. Use CSS `a:active {color}` instead
|
|
431
|
+
archive: a,
|
|
432
|
+
// `<object>`. List of URIs to archives
|
|
433
|
+
axis: null,
|
|
434
|
+
// `<td>` and `<th>`. Use `scope` on `<th>`
|
|
435
|
+
background: null,
|
|
436
|
+
// `<body>`. Use CSS `background-image` instead
|
|
437
|
+
bgColor: null,
|
|
438
|
+
// `<body>` and table elements. Use CSS `background-color` instead
|
|
439
|
+
border: n,
|
|
440
|
+
// `<table>`. Use CSS `border-width` instead,
|
|
441
|
+
borderColor: null,
|
|
442
|
+
// `<table>`. Use CSS `border-color` instead,
|
|
443
|
+
bottomMargin: n,
|
|
444
|
+
// `<body>`
|
|
445
|
+
cellPadding: null,
|
|
446
|
+
// `<table>`
|
|
447
|
+
cellSpacing: null,
|
|
448
|
+
// `<table>`
|
|
449
|
+
char: null,
|
|
450
|
+
// Several table elements. When `align=char`, sets the character to align on
|
|
451
|
+
charOff: null,
|
|
452
|
+
// Several table elements. When `char`, offsets the alignment
|
|
453
|
+
classId: null,
|
|
454
|
+
// `<object>`
|
|
455
|
+
clear: null,
|
|
456
|
+
// `<br>`. Use CSS `clear` instead
|
|
457
|
+
code: null,
|
|
458
|
+
// `<object>`
|
|
459
|
+
codeBase: null,
|
|
460
|
+
// `<object>`
|
|
461
|
+
codeType: null,
|
|
462
|
+
// `<object>`
|
|
463
|
+
color: null,
|
|
464
|
+
// `<font>` and `<hr>`. Use CSS instead
|
|
465
|
+
compact: o,
|
|
466
|
+
// Lists. Use CSS to reduce space between items instead
|
|
467
|
+
declare: o,
|
|
468
|
+
// `<object>`
|
|
469
|
+
event: null,
|
|
470
|
+
// `<script>`
|
|
471
|
+
face: null,
|
|
472
|
+
// `<font>`. Use CSS instead
|
|
473
|
+
frame: null,
|
|
474
|
+
// `<table>`
|
|
475
|
+
frameBorder: null,
|
|
476
|
+
// `<iframe>`. Use CSS `border` instead
|
|
477
|
+
hSpace: n,
|
|
478
|
+
// `<img>` and `<object>`
|
|
479
|
+
leftMargin: n,
|
|
480
|
+
// `<body>`
|
|
481
|
+
link: null,
|
|
482
|
+
// `<body>`. Use CSS `a:link {color: *}` instead
|
|
483
|
+
longDesc: null,
|
|
484
|
+
// `<frame>`, `<iframe>`, and `<img>`. Use an `<a>`
|
|
485
|
+
lowSrc: null,
|
|
486
|
+
// `<img>`. Use a `<picture>`
|
|
487
|
+
marginHeight: n,
|
|
488
|
+
// `<body>`
|
|
489
|
+
marginWidth: n,
|
|
490
|
+
// `<body>`
|
|
491
|
+
noResize: o,
|
|
492
|
+
// `<frame>`
|
|
493
|
+
noHref: o,
|
|
494
|
+
// `<area>`. Use no href instead of an explicit `nohref`
|
|
495
|
+
noShade: o,
|
|
496
|
+
// `<hr>`. Use background-color and height instead of borders
|
|
497
|
+
noWrap: o,
|
|
498
|
+
// `<td>` and `<th>`
|
|
499
|
+
object: null,
|
|
500
|
+
// `<applet>`
|
|
501
|
+
profile: null,
|
|
502
|
+
// `<head>`
|
|
503
|
+
prompt: null,
|
|
504
|
+
// `<isindex>`
|
|
505
|
+
rev: null,
|
|
506
|
+
// `<link>`
|
|
507
|
+
rightMargin: n,
|
|
508
|
+
// `<body>`
|
|
509
|
+
rules: null,
|
|
510
|
+
// `<table>`
|
|
511
|
+
scheme: null,
|
|
512
|
+
// `<meta>`
|
|
513
|
+
scrolling: u,
|
|
514
|
+
// `<frame>`. Use overflow in the child context
|
|
515
|
+
standby: null,
|
|
516
|
+
// `<object>`
|
|
517
|
+
summary: null,
|
|
518
|
+
// `<table>`
|
|
519
|
+
text: null,
|
|
520
|
+
// `<body>`. Use CSS `color` instead
|
|
521
|
+
topMargin: n,
|
|
522
|
+
// `<body>`
|
|
523
|
+
valueType: null,
|
|
524
|
+
// `<param>`
|
|
525
|
+
version: null,
|
|
526
|
+
// `<html>`. Use a doctype.
|
|
527
|
+
vAlign: null,
|
|
528
|
+
// Several. Use CSS `vertical-align` instead
|
|
529
|
+
vLink: null,
|
|
530
|
+
// `<body>`. Use CSS `a:visited {color}` instead
|
|
531
|
+
vSpace: n,
|
|
532
|
+
// `<img>` and `<object>`
|
|
533
|
+
// Non-standard Properties.
|
|
534
|
+
allowTransparency: null,
|
|
535
|
+
autoCorrect: null,
|
|
536
|
+
autoSave: null,
|
|
537
|
+
disablePictureInPicture: o,
|
|
538
|
+
disableRemotePlayback: o,
|
|
539
|
+
prefix: null,
|
|
540
|
+
property: null,
|
|
541
|
+
results: n,
|
|
542
|
+
security: null,
|
|
543
|
+
unselectable: null
|
|
544
|
+
},
|
|
545
|
+
space: "html",
|
|
546
|
+
transform: O
|
|
547
|
+
}), z = m({
|
|
548
|
+
attributes: {
|
|
549
|
+
accentHeight: "accent-height",
|
|
550
|
+
alignmentBaseline: "alignment-baseline",
|
|
551
|
+
arabicForm: "arabic-form",
|
|
552
|
+
baselineShift: "baseline-shift",
|
|
553
|
+
capHeight: "cap-height",
|
|
554
|
+
className: "class",
|
|
555
|
+
clipPath: "clip-path",
|
|
556
|
+
clipRule: "clip-rule",
|
|
557
|
+
colorInterpolation: "color-interpolation",
|
|
558
|
+
colorInterpolationFilters: "color-interpolation-filters",
|
|
559
|
+
colorProfile: "color-profile",
|
|
560
|
+
colorRendering: "color-rendering",
|
|
561
|
+
crossOrigin: "crossorigin",
|
|
562
|
+
dataType: "datatype",
|
|
563
|
+
dominantBaseline: "dominant-baseline",
|
|
564
|
+
enableBackground: "enable-background",
|
|
565
|
+
fillOpacity: "fill-opacity",
|
|
566
|
+
fillRule: "fill-rule",
|
|
567
|
+
floodColor: "flood-color",
|
|
568
|
+
floodOpacity: "flood-opacity",
|
|
569
|
+
fontFamily: "font-family",
|
|
570
|
+
fontSize: "font-size",
|
|
571
|
+
fontSizeAdjust: "font-size-adjust",
|
|
572
|
+
fontStretch: "font-stretch",
|
|
573
|
+
fontStyle: "font-style",
|
|
574
|
+
fontVariant: "font-variant",
|
|
575
|
+
fontWeight: "font-weight",
|
|
576
|
+
glyphName: "glyph-name",
|
|
577
|
+
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
578
|
+
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
579
|
+
hrefLang: "hreflang",
|
|
580
|
+
horizAdvX: "horiz-adv-x",
|
|
581
|
+
horizOriginX: "horiz-origin-x",
|
|
582
|
+
horizOriginY: "horiz-origin-y",
|
|
583
|
+
imageRendering: "image-rendering",
|
|
584
|
+
letterSpacing: "letter-spacing",
|
|
585
|
+
lightingColor: "lighting-color",
|
|
586
|
+
markerEnd: "marker-end",
|
|
587
|
+
markerMid: "marker-mid",
|
|
588
|
+
markerStart: "marker-start",
|
|
589
|
+
navDown: "nav-down",
|
|
590
|
+
navDownLeft: "nav-down-left",
|
|
591
|
+
navDownRight: "nav-down-right",
|
|
592
|
+
navLeft: "nav-left",
|
|
593
|
+
navNext: "nav-next",
|
|
594
|
+
navPrev: "nav-prev",
|
|
595
|
+
navRight: "nav-right",
|
|
596
|
+
navUp: "nav-up",
|
|
597
|
+
navUpLeft: "nav-up-left",
|
|
598
|
+
navUpRight: "nav-up-right",
|
|
599
|
+
onAbort: "onabort",
|
|
600
|
+
onActivate: "onactivate",
|
|
601
|
+
onAfterPrint: "onafterprint",
|
|
602
|
+
onBeforePrint: "onbeforeprint",
|
|
603
|
+
onBegin: "onbegin",
|
|
604
|
+
onCancel: "oncancel",
|
|
605
|
+
onCanPlay: "oncanplay",
|
|
606
|
+
onCanPlayThrough: "oncanplaythrough",
|
|
607
|
+
onChange: "onchange",
|
|
608
|
+
onClick: "onclick",
|
|
609
|
+
onClose: "onclose",
|
|
610
|
+
onCopy: "oncopy",
|
|
611
|
+
onCueChange: "oncuechange",
|
|
612
|
+
onCut: "oncut",
|
|
613
|
+
onDblClick: "ondblclick",
|
|
614
|
+
onDrag: "ondrag",
|
|
615
|
+
onDragEnd: "ondragend",
|
|
616
|
+
onDragEnter: "ondragenter",
|
|
617
|
+
onDragExit: "ondragexit",
|
|
618
|
+
onDragLeave: "ondragleave",
|
|
619
|
+
onDragOver: "ondragover",
|
|
620
|
+
onDragStart: "ondragstart",
|
|
621
|
+
onDrop: "ondrop",
|
|
622
|
+
onDurationChange: "ondurationchange",
|
|
623
|
+
onEmptied: "onemptied",
|
|
624
|
+
onEnd: "onend",
|
|
625
|
+
onEnded: "onended",
|
|
626
|
+
onError: "onerror",
|
|
627
|
+
onFocus: "onfocus",
|
|
628
|
+
onFocusIn: "onfocusin",
|
|
629
|
+
onFocusOut: "onfocusout",
|
|
630
|
+
onHashChange: "onhashchange",
|
|
631
|
+
onInput: "oninput",
|
|
632
|
+
onInvalid: "oninvalid",
|
|
633
|
+
onKeyDown: "onkeydown",
|
|
634
|
+
onKeyPress: "onkeypress",
|
|
635
|
+
onKeyUp: "onkeyup",
|
|
636
|
+
onLoad: "onload",
|
|
637
|
+
onLoadedData: "onloadeddata",
|
|
638
|
+
onLoadedMetadata: "onloadedmetadata",
|
|
639
|
+
onLoadStart: "onloadstart",
|
|
640
|
+
onMessage: "onmessage",
|
|
641
|
+
onMouseDown: "onmousedown",
|
|
642
|
+
onMouseEnter: "onmouseenter",
|
|
643
|
+
onMouseLeave: "onmouseleave",
|
|
644
|
+
onMouseMove: "onmousemove",
|
|
645
|
+
onMouseOut: "onmouseout",
|
|
646
|
+
onMouseOver: "onmouseover",
|
|
647
|
+
onMouseUp: "onmouseup",
|
|
648
|
+
onMouseWheel: "onmousewheel",
|
|
649
|
+
onOffline: "onoffline",
|
|
650
|
+
onOnline: "ononline",
|
|
651
|
+
onPageHide: "onpagehide",
|
|
652
|
+
onPageShow: "onpageshow",
|
|
653
|
+
onPaste: "onpaste",
|
|
654
|
+
onPause: "onpause",
|
|
655
|
+
onPlay: "onplay",
|
|
656
|
+
onPlaying: "onplaying",
|
|
657
|
+
onPopState: "onpopstate",
|
|
658
|
+
onProgress: "onprogress",
|
|
659
|
+
onRateChange: "onratechange",
|
|
660
|
+
onRepeat: "onrepeat",
|
|
661
|
+
onReset: "onreset",
|
|
662
|
+
onResize: "onresize",
|
|
663
|
+
onScroll: "onscroll",
|
|
664
|
+
onSeeked: "onseeked",
|
|
665
|
+
onSeeking: "onseeking",
|
|
666
|
+
onSelect: "onselect",
|
|
667
|
+
onShow: "onshow",
|
|
668
|
+
onStalled: "onstalled",
|
|
669
|
+
onStorage: "onstorage",
|
|
670
|
+
onSubmit: "onsubmit",
|
|
671
|
+
onSuspend: "onsuspend",
|
|
672
|
+
onTimeUpdate: "ontimeupdate",
|
|
673
|
+
onToggle: "ontoggle",
|
|
674
|
+
onUnload: "onunload",
|
|
675
|
+
onVolumeChange: "onvolumechange",
|
|
676
|
+
onWaiting: "onwaiting",
|
|
677
|
+
onZoom: "onzoom",
|
|
678
|
+
overlinePosition: "overline-position",
|
|
679
|
+
overlineThickness: "overline-thickness",
|
|
680
|
+
paintOrder: "paint-order",
|
|
681
|
+
panose1: "panose-1",
|
|
682
|
+
pointerEvents: "pointer-events",
|
|
683
|
+
referrerPolicy: "referrerpolicy",
|
|
684
|
+
renderingIntent: "rendering-intent",
|
|
685
|
+
shapeRendering: "shape-rendering",
|
|
686
|
+
stopColor: "stop-color",
|
|
687
|
+
stopOpacity: "stop-opacity",
|
|
688
|
+
strikethroughPosition: "strikethrough-position",
|
|
689
|
+
strikethroughThickness: "strikethrough-thickness",
|
|
690
|
+
strokeDashArray: "stroke-dasharray",
|
|
691
|
+
strokeDashOffset: "stroke-dashoffset",
|
|
692
|
+
strokeLineCap: "stroke-linecap",
|
|
693
|
+
strokeLineJoin: "stroke-linejoin",
|
|
694
|
+
strokeMiterLimit: "stroke-miterlimit",
|
|
695
|
+
strokeOpacity: "stroke-opacity",
|
|
696
|
+
strokeWidth: "stroke-width",
|
|
697
|
+
tabIndex: "tabindex",
|
|
698
|
+
textAnchor: "text-anchor",
|
|
699
|
+
textDecoration: "text-decoration",
|
|
700
|
+
textRendering: "text-rendering",
|
|
701
|
+
transformOrigin: "transform-origin",
|
|
702
|
+
typeOf: "typeof",
|
|
703
|
+
underlinePosition: "underline-position",
|
|
704
|
+
underlineThickness: "underline-thickness",
|
|
705
|
+
unicodeBidi: "unicode-bidi",
|
|
706
|
+
unicodeRange: "unicode-range",
|
|
707
|
+
unitsPerEm: "units-per-em",
|
|
708
|
+
vAlphabetic: "v-alphabetic",
|
|
709
|
+
vHanging: "v-hanging",
|
|
710
|
+
vIdeographic: "v-ideographic",
|
|
711
|
+
vMathematical: "v-mathematical",
|
|
712
|
+
vectorEffect: "vector-effect",
|
|
713
|
+
vertAdvY: "vert-adv-y",
|
|
714
|
+
vertOriginX: "vert-origin-x",
|
|
715
|
+
vertOriginY: "vert-origin-y",
|
|
716
|
+
wordSpacing: "word-spacing",
|
|
717
|
+
writingMode: "writing-mode",
|
|
718
|
+
xHeight: "x-height",
|
|
719
|
+
// These were camelcased in Tiny. Now lowercased in SVG 2
|
|
720
|
+
playbackOrder: "playbackorder",
|
|
721
|
+
timelineBegin: "timelinebegin"
|
|
722
|
+
},
|
|
723
|
+
properties: {
|
|
724
|
+
about: p,
|
|
725
|
+
accentHeight: n,
|
|
726
|
+
accumulate: null,
|
|
727
|
+
additive: null,
|
|
728
|
+
alignmentBaseline: null,
|
|
729
|
+
alphabetic: n,
|
|
730
|
+
amplitude: n,
|
|
731
|
+
arabicForm: null,
|
|
732
|
+
ascent: n,
|
|
733
|
+
attributeName: null,
|
|
734
|
+
attributeType: null,
|
|
735
|
+
azimuth: n,
|
|
736
|
+
bandwidth: null,
|
|
737
|
+
baselineShift: null,
|
|
738
|
+
baseFrequency: null,
|
|
739
|
+
baseProfile: null,
|
|
740
|
+
bbox: null,
|
|
741
|
+
begin: null,
|
|
742
|
+
bias: n,
|
|
743
|
+
by: null,
|
|
744
|
+
calcMode: null,
|
|
745
|
+
capHeight: n,
|
|
746
|
+
className: a,
|
|
747
|
+
clip: null,
|
|
748
|
+
clipPath: null,
|
|
749
|
+
clipPathUnits: null,
|
|
750
|
+
clipRule: null,
|
|
751
|
+
color: null,
|
|
752
|
+
colorInterpolation: null,
|
|
753
|
+
colorInterpolationFilters: null,
|
|
754
|
+
colorProfile: null,
|
|
755
|
+
colorRendering: null,
|
|
756
|
+
content: null,
|
|
757
|
+
contentScriptType: null,
|
|
758
|
+
contentStyleType: null,
|
|
759
|
+
crossOrigin: null,
|
|
760
|
+
cursor: null,
|
|
761
|
+
cx: null,
|
|
762
|
+
cy: null,
|
|
763
|
+
d: null,
|
|
764
|
+
dataType: null,
|
|
765
|
+
defaultAction: null,
|
|
766
|
+
descent: n,
|
|
767
|
+
diffuseConstant: n,
|
|
768
|
+
direction: null,
|
|
769
|
+
display: null,
|
|
770
|
+
dur: null,
|
|
771
|
+
divisor: n,
|
|
772
|
+
dominantBaseline: null,
|
|
773
|
+
download: o,
|
|
774
|
+
dx: null,
|
|
775
|
+
dy: null,
|
|
776
|
+
edgeMode: null,
|
|
777
|
+
editable: null,
|
|
778
|
+
elevation: n,
|
|
779
|
+
enableBackground: null,
|
|
780
|
+
end: null,
|
|
781
|
+
event: null,
|
|
782
|
+
exponent: n,
|
|
783
|
+
externalResourcesRequired: null,
|
|
784
|
+
fill: null,
|
|
785
|
+
fillOpacity: n,
|
|
786
|
+
fillRule: null,
|
|
787
|
+
filter: null,
|
|
788
|
+
filterRes: null,
|
|
789
|
+
filterUnits: null,
|
|
790
|
+
floodColor: null,
|
|
791
|
+
floodOpacity: null,
|
|
792
|
+
focusable: null,
|
|
793
|
+
focusHighlight: null,
|
|
794
|
+
fontFamily: null,
|
|
795
|
+
fontSize: null,
|
|
796
|
+
fontSizeAdjust: null,
|
|
797
|
+
fontStretch: null,
|
|
798
|
+
fontStyle: null,
|
|
799
|
+
fontVariant: null,
|
|
800
|
+
fontWeight: null,
|
|
801
|
+
format: null,
|
|
802
|
+
fr: null,
|
|
803
|
+
from: null,
|
|
804
|
+
fx: null,
|
|
805
|
+
fy: null,
|
|
806
|
+
g1: h,
|
|
807
|
+
g2: h,
|
|
808
|
+
glyphName: h,
|
|
809
|
+
glyphOrientationHorizontal: null,
|
|
810
|
+
glyphOrientationVertical: null,
|
|
811
|
+
glyphRef: null,
|
|
812
|
+
gradientTransform: null,
|
|
813
|
+
gradientUnits: null,
|
|
814
|
+
handler: null,
|
|
815
|
+
hanging: n,
|
|
816
|
+
hatchContentUnits: null,
|
|
817
|
+
hatchUnits: null,
|
|
818
|
+
height: null,
|
|
819
|
+
href: null,
|
|
820
|
+
hrefLang: null,
|
|
821
|
+
horizAdvX: n,
|
|
822
|
+
horizOriginX: n,
|
|
823
|
+
horizOriginY: n,
|
|
824
|
+
id: null,
|
|
825
|
+
ideographic: n,
|
|
826
|
+
imageRendering: null,
|
|
827
|
+
initialVisibility: null,
|
|
828
|
+
in: null,
|
|
829
|
+
in2: null,
|
|
830
|
+
intercept: n,
|
|
831
|
+
k: n,
|
|
832
|
+
k1: n,
|
|
833
|
+
k2: n,
|
|
834
|
+
k3: n,
|
|
835
|
+
k4: n,
|
|
836
|
+
kernelMatrix: p,
|
|
837
|
+
kernelUnitLength: null,
|
|
838
|
+
keyPoints: null,
|
|
839
|
+
// SEMI_COLON_SEPARATED
|
|
840
|
+
keySplines: null,
|
|
841
|
+
// SEMI_COLON_SEPARATED
|
|
842
|
+
keyTimes: null,
|
|
843
|
+
// SEMI_COLON_SEPARATED
|
|
844
|
+
kerning: null,
|
|
845
|
+
lang: null,
|
|
846
|
+
lengthAdjust: null,
|
|
847
|
+
letterSpacing: null,
|
|
848
|
+
lightingColor: null,
|
|
849
|
+
limitingConeAngle: n,
|
|
850
|
+
local: null,
|
|
851
|
+
markerEnd: null,
|
|
852
|
+
markerMid: null,
|
|
853
|
+
markerStart: null,
|
|
854
|
+
markerHeight: null,
|
|
855
|
+
markerUnits: null,
|
|
856
|
+
markerWidth: null,
|
|
857
|
+
mask: null,
|
|
858
|
+
maskContentUnits: null,
|
|
859
|
+
maskUnits: null,
|
|
860
|
+
mathematical: null,
|
|
861
|
+
max: null,
|
|
862
|
+
media: null,
|
|
863
|
+
mediaCharacterEncoding: null,
|
|
864
|
+
mediaContentEncodings: null,
|
|
865
|
+
mediaSize: n,
|
|
866
|
+
mediaTime: null,
|
|
867
|
+
method: null,
|
|
868
|
+
min: null,
|
|
869
|
+
mode: null,
|
|
870
|
+
name: null,
|
|
871
|
+
navDown: null,
|
|
872
|
+
navDownLeft: null,
|
|
873
|
+
navDownRight: null,
|
|
874
|
+
navLeft: null,
|
|
875
|
+
navNext: null,
|
|
876
|
+
navPrev: null,
|
|
877
|
+
navRight: null,
|
|
878
|
+
navUp: null,
|
|
879
|
+
navUpLeft: null,
|
|
880
|
+
navUpRight: null,
|
|
881
|
+
numOctaves: null,
|
|
882
|
+
observer: null,
|
|
883
|
+
offset: null,
|
|
884
|
+
onAbort: null,
|
|
885
|
+
onActivate: null,
|
|
886
|
+
onAfterPrint: null,
|
|
887
|
+
onBeforePrint: null,
|
|
888
|
+
onBegin: null,
|
|
889
|
+
onCancel: null,
|
|
890
|
+
onCanPlay: null,
|
|
891
|
+
onCanPlayThrough: null,
|
|
892
|
+
onChange: null,
|
|
893
|
+
onClick: null,
|
|
894
|
+
onClose: null,
|
|
895
|
+
onCopy: null,
|
|
896
|
+
onCueChange: null,
|
|
897
|
+
onCut: null,
|
|
898
|
+
onDblClick: null,
|
|
899
|
+
onDrag: null,
|
|
900
|
+
onDragEnd: null,
|
|
901
|
+
onDragEnter: null,
|
|
902
|
+
onDragExit: null,
|
|
903
|
+
onDragLeave: null,
|
|
904
|
+
onDragOver: null,
|
|
905
|
+
onDragStart: null,
|
|
906
|
+
onDrop: null,
|
|
907
|
+
onDurationChange: null,
|
|
908
|
+
onEmptied: null,
|
|
909
|
+
onEnd: null,
|
|
910
|
+
onEnded: null,
|
|
911
|
+
onError: null,
|
|
912
|
+
onFocus: null,
|
|
913
|
+
onFocusIn: null,
|
|
914
|
+
onFocusOut: null,
|
|
915
|
+
onHashChange: null,
|
|
916
|
+
onInput: null,
|
|
917
|
+
onInvalid: null,
|
|
918
|
+
onKeyDown: null,
|
|
919
|
+
onKeyPress: null,
|
|
920
|
+
onKeyUp: null,
|
|
921
|
+
onLoad: null,
|
|
922
|
+
onLoadedData: null,
|
|
923
|
+
onLoadedMetadata: null,
|
|
924
|
+
onLoadStart: null,
|
|
925
|
+
onMessage: null,
|
|
926
|
+
onMouseDown: null,
|
|
927
|
+
onMouseEnter: null,
|
|
928
|
+
onMouseLeave: null,
|
|
929
|
+
onMouseMove: null,
|
|
930
|
+
onMouseOut: null,
|
|
931
|
+
onMouseOver: null,
|
|
932
|
+
onMouseUp: null,
|
|
933
|
+
onMouseWheel: null,
|
|
934
|
+
onOffline: null,
|
|
935
|
+
onOnline: null,
|
|
936
|
+
onPageHide: null,
|
|
937
|
+
onPageShow: null,
|
|
938
|
+
onPaste: null,
|
|
939
|
+
onPause: null,
|
|
940
|
+
onPlay: null,
|
|
941
|
+
onPlaying: null,
|
|
942
|
+
onPopState: null,
|
|
943
|
+
onProgress: null,
|
|
944
|
+
onRateChange: null,
|
|
945
|
+
onRepeat: null,
|
|
946
|
+
onReset: null,
|
|
947
|
+
onResize: null,
|
|
948
|
+
onScroll: null,
|
|
949
|
+
onSeeked: null,
|
|
950
|
+
onSeeking: null,
|
|
951
|
+
onSelect: null,
|
|
952
|
+
onShow: null,
|
|
953
|
+
onStalled: null,
|
|
954
|
+
onStorage: null,
|
|
955
|
+
onSubmit: null,
|
|
956
|
+
onSuspend: null,
|
|
957
|
+
onTimeUpdate: null,
|
|
958
|
+
onToggle: null,
|
|
959
|
+
onUnload: null,
|
|
960
|
+
onVolumeChange: null,
|
|
961
|
+
onWaiting: null,
|
|
962
|
+
onZoom: null,
|
|
963
|
+
opacity: null,
|
|
964
|
+
operator: null,
|
|
965
|
+
order: null,
|
|
966
|
+
orient: null,
|
|
967
|
+
orientation: null,
|
|
968
|
+
origin: null,
|
|
969
|
+
overflow: null,
|
|
970
|
+
overlay: null,
|
|
971
|
+
overlinePosition: n,
|
|
972
|
+
overlineThickness: n,
|
|
973
|
+
paintOrder: null,
|
|
974
|
+
panose1: null,
|
|
975
|
+
path: null,
|
|
976
|
+
pathLength: n,
|
|
977
|
+
patternContentUnits: null,
|
|
978
|
+
patternTransform: null,
|
|
979
|
+
patternUnits: null,
|
|
980
|
+
phase: null,
|
|
981
|
+
ping: a,
|
|
982
|
+
pitch: null,
|
|
983
|
+
playbackOrder: null,
|
|
984
|
+
pointerEvents: null,
|
|
985
|
+
points: null,
|
|
986
|
+
pointsAtX: n,
|
|
987
|
+
pointsAtY: n,
|
|
988
|
+
pointsAtZ: n,
|
|
989
|
+
preserveAlpha: null,
|
|
990
|
+
preserveAspectRatio: null,
|
|
991
|
+
primitiveUnits: null,
|
|
992
|
+
propagate: null,
|
|
993
|
+
property: p,
|
|
994
|
+
r: null,
|
|
995
|
+
radius: null,
|
|
996
|
+
referrerPolicy: null,
|
|
997
|
+
refX: null,
|
|
998
|
+
refY: null,
|
|
999
|
+
rel: p,
|
|
1000
|
+
rev: p,
|
|
1001
|
+
renderingIntent: null,
|
|
1002
|
+
repeatCount: null,
|
|
1003
|
+
repeatDur: null,
|
|
1004
|
+
requiredExtensions: p,
|
|
1005
|
+
requiredFeatures: p,
|
|
1006
|
+
requiredFonts: p,
|
|
1007
|
+
requiredFormats: p,
|
|
1008
|
+
resource: null,
|
|
1009
|
+
restart: null,
|
|
1010
|
+
result: null,
|
|
1011
|
+
rotate: null,
|
|
1012
|
+
rx: null,
|
|
1013
|
+
ry: null,
|
|
1014
|
+
scale: null,
|
|
1015
|
+
seed: null,
|
|
1016
|
+
shapeRendering: null,
|
|
1017
|
+
side: null,
|
|
1018
|
+
slope: null,
|
|
1019
|
+
snapshotTime: null,
|
|
1020
|
+
specularConstant: n,
|
|
1021
|
+
specularExponent: n,
|
|
1022
|
+
spreadMethod: null,
|
|
1023
|
+
spacing: null,
|
|
1024
|
+
startOffset: null,
|
|
1025
|
+
stdDeviation: null,
|
|
1026
|
+
stemh: null,
|
|
1027
|
+
stemv: null,
|
|
1028
|
+
stitchTiles: null,
|
|
1029
|
+
stopColor: null,
|
|
1030
|
+
stopOpacity: null,
|
|
1031
|
+
strikethroughPosition: n,
|
|
1032
|
+
strikethroughThickness: n,
|
|
1033
|
+
string: null,
|
|
1034
|
+
stroke: null,
|
|
1035
|
+
strokeDashArray: p,
|
|
1036
|
+
strokeDashOffset: null,
|
|
1037
|
+
strokeLineCap: null,
|
|
1038
|
+
strokeLineJoin: null,
|
|
1039
|
+
strokeMiterLimit: n,
|
|
1040
|
+
strokeOpacity: n,
|
|
1041
|
+
strokeWidth: null,
|
|
1042
|
+
style: null,
|
|
1043
|
+
surfaceScale: n,
|
|
1044
|
+
syncBehavior: null,
|
|
1045
|
+
syncBehaviorDefault: null,
|
|
1046
|
+
syncMaster: null,
|
|
1047
|
+
syncTolerance: null,
|
|
1048
|
+
syncToleranceDefault: null,
|
|
1049
|
+
systemLanguage: p,
|
|
1050
|
+
tabIndex: n,
|
|
1051
|
+
tableValues: null,
|
|
1052
|
+
target: null,
|
|
1053
|
+
targetX: n,
|
|
1054
|
+
targetY: n,
|
|
1055
|
+
textAnchor: null,
|
|
1056
|
+
textDecoration: null,
|
|
1057
|
+
textRendering: null,
|
|
1058
|
+
textLength: null,
|
|
1059
|
+
timelineBegin: null,
|
|
1060
|
+
title: null,
|
|
1061
|
+
transformBehavior: null,
|
|
1062
|
+
type: null,
|
|
1063
|
+
typeOf: p,
|
|
1064
|
+
to: null,
|
|
1065
|
+
transform: null,
|
|
1066
|
+
transformOrigin: null,
|
|
1067
|
+
u1: null,
|
|
1068
|
+
u2: null,
|
|
1069
|
+
underlinePosition: n,
|
|
1070
|
+
underlineThickness: n,
|
|
1071
|
+
unicode: null,
|
|
1072
|
+
unicodeBidi: null,
|
|
1073
|
+
unicodeRange: null,
|
|
1074
|
+
unitsPerEm: n,
|
|
1075
|
+
values: null,
|
|
1076
|
+
vAlphabetic: n,
|
|
1077
|
+
vMathematical: n,
|
|
1078
|
+
vectorEffect: null,
|
|
1079
|
+
vHanging: n,
|
|
1080
|
+
vIdeographic: n,
|
|
1081
|
+
version: null,
|
|
1082
|
+
vertAdvY: n,
|
|
1083
|
+
vertOriginX: n,
|
|
1084
|
+
vertOriginY: n,
|
|
1085
|
+
viewBox: null,
|
|
1086
|
+
viewTarget: null,
|
|
1087
|
+
visibility: null,
|
|
1088
|
+
width: null,
|
|
1089
|
+
widths: null,
|
|
1090
|
+
wordSpacing: null,
|
|
1091
|
+
writingMode: null,
|
|
1092
|
+
x: null,
|
|
1093
|
+
x1: null,
|
|
1094
|
+
x2: null,
|
|
1095
|
+
xChannelSelector: null,
|
|
1096
|
+
xHeight: n,
|
|
1097
|
+
y: null,
|
|
1098
|
+
y1: null,
|
|
1099
|
+
y2: null,
|
|
1100
|
+
yChannelSelector: null,
|
|
1101
|
+
z: null,
|
|
1102
|
+
zoomAndPan: null
|
|
1103
|
+
},
|
|
1104
|
+
space: "svg",
|
|
1105
|
+
transform: L
|
|
1106
|
+
}), D = m({
|
|
1107
|
+
properties: {
|
|
1108
|
+
xLinkActuate: null,
|
|
1109
|
+
xLinkArcRole: null,
|
|
1110
|
+
xLinkHref: null,
|
|
1111
|
+
xLinkRole: null,
|
|
1112
|
+
xLinkShow: null,
|
|
1113
|
+
xLinkTitle: null,
|
|
1114
|
+
xLinkType: null
|
|
1115
|
+
},
|
|
1116
|
+
space: "xlink",
|
|
1117
|
+
transform(l, e) {
|
|
1118
|
+
return "xlink:" + e.slice(5).toLowerCase();
|
|
1119
|
+
}
|
|
1120
|
+
}), R = m({
|
|
1121
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1122
|
+
properties: { xmlnsXLink: null, xmlns: null },
|
|
1123
|
+
space: "xmlns",
|
|
1124
|
+
transform: O
|
|
1125
|
+
}), T = m({
|
|
1126
|
+
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
1127
|
+
space: "xml",
|
|
1128
|
+
transform(l, e) {
|
|
1129
|
+
return "xml:" + e.slice(3).toLowerCase();
|
|
1130
|
+
}
|
|
1131
|
+
}), B = /[A-Z]/g, w = /-[a-z]/g, I = /^data[-\w.:]+$/i;
|
|
1132
|
+
function W(l, e) {
|
|
1133
|
+
const t = v(e);
|
|
1134
|
+
let r = e, s = i;
|
|
1135
|
+
if (t in l.normal)
|
|
1136
|
+
return l.property[l.normal[t]];
|
|
1137
|
+
if (t.length > 4 && t.slice(0, 4) === "data" && I.test(e)) {
|
|
1138
|
+
if (e.charAt(4) === "-") {
|
|
1139
|
+
const c = e.slice(5).replace(w, F);
|
|
1140
|
+
r = "data" + c.charAt(0).toUpperCase() + c.slice(1);
|
|
1141
|
+
} else {
|
|
1142
|
+
const c = e.slice(4);
|
|
1143
|
+
if (!w.test(c)) {
|
|
1144
|
+
let d = c.replace(B, H);
|
|
1145
|
+
d.charAt(0) !== "-" && (d = "-" + d), e = "data" + d;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
s = S;
|
|
1149
|
+
}
|
|
1150
|
+
return new s(r, e);
|
|
1151
|
+
}
|
|
1152
|
+
function H(l) {
|
|
1153
|
+
return "-" + l.toLowerCase();
|
|
1154
|
+
}
|
|
1155
|
+
function F(l) {
|
|
1156
|
+
return l.charAt(1).toUpperCase();
|
|
1157
|
+
}
|
|
1158
|
+
const q = P([M, U, D, R, T], "html"), K = P([M, z, D, R, T], "svg");
|
|
1159
|
+
function N(l) {
|
|
1160
|
+
return l.join(" ").trim();
|
|
1161
|
+
}
|
|
1162
|
+
function X(l, e) {
|
|
1163
|
+
const t = String(l);
|
|
1164
|
+
if (typeof e != "string")
|
|
1165
|
+
throw new TypeError("Expected character");
|
|
1166
|
+
let r = 0, s = t.indexOf(e);
|
|
1167
|
+
for (; s !== -1; )
|
|
1168
|
+
r++, s = t.indexOf(e, s + e.length);
|
|
1169
|
+
return r;
|
|
1170
|
+
}
|
|
1171
|
+
export {
|
|
1172
|
+
j as a,
|
|
1173
|
+
N as b,
|
|
1174
|
+
X as c,
|
|
1175
|
+
W as f,
|
|
1176
|
+
q as h,
|
|
1177
|
+
K as s,
|
|
1178
|
+
V as w
|
|
1179
|
+
};
|