highsoft-ui 1.0.136 → 1.0.137
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/CLAUDE.md +21 -0
- package/dist/{Button-CTdphXmG.js → Button-Dc8NFRWQ.js} +1 -1
- package/dist/{ButtonGroup-D5_sI3QL.js → ButtonGroup-CYmrw7gQ.js} +1 -1
- package/dist/{Checkbox-Yg8sUFcu.js → Checkbox-CErz7eBz.js} +1 -1
- package/dist/CodeBlock-Dh0sulDR.js +3040 -0
- package/dist/{CookiePolicyModal-DGM4bMoR.js → CookiePolicyModal-DdXZ2d36.js} +2 -2
- package/dist/{CopyCode-DS-3fQBn.js → CopyCode-DH9Jh7PD.js} +2 -2
- package/dist/{Dropdown-CgbtoeLA.js → Dropdown-DbXr3sb-.js} +1 -1
- package/dist/{Footer-DSJzETEs.js → Footer-CcrBEAxZ.js} +7 -7
- package/dist/{FooterBottom-BHQ-77CT.js → FooterBottom-Dtttgp4F.js} +1 -1
- package/dist/{FooterHelp-B1zOPX-K.js → FooterHelp-CfoW8dhY.js} +1 -1
- package/dist/{FooterLinks-BxVVi8kz.js → FooterLinks-CSAfsyJP.js} +2 -2
- package/dist/{Header-4bkW4MNM.js → Header-Ga_hYsOa.js} +6 -6
- package/dist/{InputGrouped-RLCBTqtp.js → InputGrouped-CIokpRn5.js} +2 -2
- package/dist/{Label-gTAMwE0j.js → Label-BM4vL0vA.js} +1 -1
- package/dist/{NewsletterSignup-BawMuwkc.js → NewsletterSignup-Dw9YbhEh.js} +2 -2
- package/dist/{Notification-icY33paf.js → Notification-BgmhEw6w.js} +3 -3
- package/dist/{PrefPanel-0iwUb8OU.js → PrefPanel-BG4jW8wc.js} +2 -2
- package/dist/{RoadmapDetails-BPt5Ava0.js → RoadmapDetails-DXxJNZh9.js} +2 -2
- package/dist/{Search-CF_Qyaff.js → Search-CpJ2XTLG.js} +2 -2
- package/dist/{YoutubeModal-CiBt7a4G.js → YoutubeModal-DGj2INF0.js} +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CodeBlock/index.js +2 -0
- package/dist/components/CopyCode/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Footer/CookiePolicyModal.js +1 -1
- package/dist/components/Footer/FooterBottom.js +1 -1
- package/dist/components/Footer/FooterHelp.js +1 -1
- package/dist/components/Footer/FooterLinks.js +1 -1
- package/dist/components/Footer/YoutubeModal.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Header/index.js +1 -1
- package/dist/components/InputGrouped/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/Modal/ModalContactFooter.js +2 -2
- package/dist/components/Modal/index.js +2 -2
- package/dist/components/NewsletterSignup/index.js +1 -1
- package/dist/components/Notification/index.js +1 -1
- package/dist/components/PrefPanel/index.js +1 -1
- package/dist/components/RoadmapDetails/index.js +1 -1
- package/dist/components/Search/index.js +1 -1
- package/dist/{esm-Co_Guu6S.js → esm-CDDjSK4f.js} +1 -1
- package/dist/highsoft-ui.css +1 -1
- package/dist/lib/components/CodeBlock/index.d.ts +46 -0
- package/dist/lib/main.d.ts +2 -0
- package/dist/main.js +31 -30
- package/dist/scss/variables.scss +22 -0
- package/package.json +4 -3
|
@@ -0,0 +1,3040 @@
|
|
|
1
|
+
import { r as e } from "./chunk-jwUa06l-.js";
|
|
2
|
+
import { r as t, s as n } from "./utils-K9S_6_Eq.js";
|
|
3
|
+
import { t as r } from "./clsx-BWCAbrjV.js";
|
|
4
|
+
import { G as i, L as a, N as o } from "./esm-CDDjSK4f.js";
|
|
5
|
+
import { t as s } from "./Button-Dc8NFRWQ.js";
|
|
6
|
+
import { t as c } from "./FrameworkIcon-Ds6WrxO0.js";
|
|
7
|
+
import l, { Fragment as u, forwardRef as d, useCallback as f, useMemo as p } from "react";
|
|
8
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
9
|
+
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
|
|
10
|
+
function g(e, t) {
|
|
11
|
+
if (e == null) return {};
|
|
12
|
+
var n = {};
|
|
13
|
+
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
|
|
14
|
+
if (t.indexOf(r) !== -1) continue;
|
|
15
|
+
n[r] = e[r];
|
|
16
|
+
}
|
|
17
|
+
return n;
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
|
|
21
|
+
function _(e, t) {
|
|
22
|
+
if (e == null) return {};
|
|
23
|
+
var n, r, i = g(e, t);
|
|
24
|
+
if (Object.getOwnPropertySymbols) {
|
|
25
|
+
var a = Object.getOwnPropertySymbols(e);
|
|
26
|
+
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
27
|
+
}
|
|
28
|
+
return i;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
32
|
+
function v(e, t) {
|
|
33
|
+
(t == null || t > e.length) && (t = e.length);
|
|
34
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
35
|
+
return r;
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
|
|
39
|
+
function y(e) {
|
|
40
|
+
if (Array.isArray(e)) return v(e);
|
|
41
|
+
}
|
|
42
|
+
//#endregion
|
|
43
|
+
//#region node_modules/@babel/runtime/helpers/esm/iterableToArray.js
|
|
44
|
+
function b(e) {
|
|
45
|
+
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
46
|
+
}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
|
|
49
|
+
function x(e, t) {
|
|
50
|
+
if (e) {
|
|
51
|
+
if (typeof e == "string") return v(e, t);
|
|
52
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
53
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? v(e, t) : void 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
|
|
58
|
+
function S() {
|
|
59
|
+
throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
60
|
+
}
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
|
|
63
|
+
function C(e) {
|
|
64
|
+
return y(e) || b(e) || x(e) || S();
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
68
|
+
function w(e) {
|
|
69
|
+
"@babel/helpers - typeof";
|
|
70
|
+
return w = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
71
|
+
return typeof e;
|
|
72
|
+
} : function(e) {
|
|
73
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
74
|
+
}, w(e);
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
78
|
+
function T(e, t) {
|
|
79
|
+
if (w(e) != "object" || !e) return e;
|
|
80
|
+
var n = e[Symbol.toPrimitive];
|
|
81
|
+
if (n !== void 0) {
|
|
82
|
+
var r = n.call(e, t || "default");
|
|
83
|
+
if (w(r) != "object") return r;
|
|
84
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
85
|
+
}
|
|
86
|
+
return (t === "string" ? String : Number)(e);
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
//#region node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
90
|
+
function E(e) {
|
|
91
|
+
var t = T(e, "string");
|
|
92
|
+
return w(t) == "symbol" ? t : t + "";
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
96
|
+
function D(e, t, n) {
|
|
97
|
+
return (t = E(t)) in e ? Object.defineProperty(e, t, {
|
|
98
|
+
value: n,
|
|
99
|
+
enumerable: !0,
|
|
100
|
+
configurable: !0,
|
|
101
|
+
writable: !0
|
|
102
|
+
}) : e[t] = n, e;
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/create-element.js
|
|
106
|
+
function O(e, t) {
|
|
107
|
+
var n = Object.keys(e);
|
|
108
|
+
if (Object.getOwnPropertySymbols) {
|
|
109
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
110
|
+
t && (r = r.filter(function(t) {
|
|
111
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
112
|
+
})), n.push.apply(n, r);
|
|
113
|
+
}
|
|
114
|
+
return n;
|
|
115
|
+
}
|
|
116
|
+
function k(e) {
|
|
117
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
118
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
119
|
+
t % 2 ? O(Object(n), !0).forEach(function(t) {
|
|
120
|
+
D(e, t, n[t]);
|
|
121
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O(Object(n)).forEach(function(t) {
|
|
122
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
return e;
|
|
126
|
+
}
|
|
127
|
+
function A(e) {
|
|
128
|
+
var t = e.length;
|
|
129
|
+
if (t === 0 || t === 1) return e;
|
|
130
|
+
if (t === 2) return [
|
|
131
|
+
e[0],
|
|
132
|
+
e[1],
|
|
133
|
+
`${e[0]}.${e[1]}`,
|
|
134
|
+
`${e[1]}.${e[0]}`
|
|
135
|
+
];
|
|
136
|
+
if (t === 3) return [
|
|
137
|
+
e[0],
|
|
138
|
+
e[1],
|
|
139
|
+
e[2],
|
|
140
|
+
`${e[0]}.${e[1]}`,
|
|
141
|
+
`${e[0]}.${e[2]}`,
|
|
142
|
+
`${e[1]}.${e[0]}`,
|
|
143
|
+
`${e[1]}.${e[2]}`,
|
|
144
|
+
`${e[2]}.${e[0]}`,
|
|
145
|
+
`${e[2]}.${e[1]}`,
|
|
146
|
+
`${e[0]}.${e[1]}.${e[2]}`,
|
|
147
|
+
`${e[0]}.${e[2]}.${e[1]}`,
|
|
148
|
+
`${e[1]}.${e[0]}.${e[2]}`,
|
|
149
|
+
`${e[1]}.${e[2]}.${e[0]}`,
|
|
150
|
+
`${e[2]}.${e[0]}.${e[1]}`,
|
|
151
|
+
`${e[2]}.${e[1]}.${e[0]}`
|
|
152
|
+
];
|
|
153
|
+
if (t >= 4) return [
|
|
154
|
+
e[0],
|
|
155
|
+
e[1],
|
|
156
|
+
e[2],
|
|
157
|
+
e[3],
|
|
158
|
+
`${e[0]}.${e[1]}`,
|
|
159
|
+
`${e[0]}.${e[2]}`,
|
|
160
|
+
`${e[0]}.${e[3]}`,
|
|
161
|
+
`${e[1]}.${e[0]}`,
|
|
162
|
+
`${e[1]}.${e[2]}`,
|
|
163
|
+
`${e[1]}.${e[3]}`,
|
|
164
|
+
`${e[2]}.${e[0]}`,
|
|
165
|
+
`${e[2]}.${e[1]}`,
|
|
166
|
+
`${e[2]}.${e[3]}`,
|
|
167
|
+
`${e[3]}.${e[0]}`,
|
|
168
|
+
`${e[3]}.${e[1]}`,
|
|
169
|
+
`${e[3]}.${e[2]}`,
|
|
170
|
+
`${e[0]}.${e[1]}.${e[2]}`,
|
|
171
|
+
`${e[0]}.${e[1]}.${e[3]}`,
|
|
172
|
+
`${e[0]}.${e[2]}.${e[1]}`,
|
|
173
|
+
`${e[0]}.${e[2]}.${e[3]}`,
|
|
174
|
+
`${e[0]}.${e[3]}.${e[1]}`,
|
|
175
|
+
`${e[0]}.${e[3]}.${e[2]}`,
|
|
176
|
+
`${e[1]}.${e[0]}.${e[2]}`,
|
|
177
|
+
`${e[1]}.${e[0]}.${e[3]}`,
|
|
178
|
+
`${e[1]}.${e[2]}.${e[0]}`,
|
|
179
|
+
`${e[1]}.${e[2]}.${e[3]}`,
|
|
180
|
+
`${e[1]}.${e[3]}.${e[0]}`,
|
|
181
|
+
`${e[1]}.${e[3]}.${e[2]}`,
|
|
182
|
+
`${e[2]}.${e[0]}.${e[1]}`,
|
|
183
|
+
`${e[2]}.${e[0]}.${e[3]}`,
|
|
184
|
+
`${e[2]}.${e[1]}.${e[0]}`,
|
|
185
|
+
`${e[2]}.${e[1]}.${e[3]}`,
|
|
186
|
+
`${e[2]}.${e[3]}.${e[0]}`,
|
|
187
|
+
`${e[2]}.${e[3]}.${e[1]}`,
|
|
188
|
+
`${e[3]}.${e[0]}.${e[1]}`,
|
|
189
|
+
`${e[3]}.${e[0]}.${e[2]}`,
|
|
190
|
+
`${e[3]}.${e[1]}.${e[0]}`,
|
|
191
|
+
`${e[3]}.${e[1]}.${e[2]}`,
|
|
192
|
+
`${e[3]}.${e[2]}.${e[0]}`,
|
|
193
|
+
`${e[3]}.${e[2]}.${e[1]}`,
|
|
194
|
+
`${e[0]}.${e[1]}.${e[2]}.${e[3]}`,
|
|
195
|
+
`${e[0]}.${e[1]}.${e[3]}.${e[2]}`,
|
|
196
|
+
`${e[0]}.${e[2]}.${e[1]}.${e[3]}`,
|
|
197
|
+
`${e[0]}.${e[2]}.${e[3]}.${e[1]}`,
|
|
198
|
+
`${e[0]}.${e[3]}.${e[1]}.${e[2]}`,
|
|
199
|
+
`${e[0]}.${e[3]}.${e[2]}.${e[1]}`,
|
|
200
|
+
`${e[1]}.${e[0]}.${e[2]}.${e[3]}`,
|
|
201
|
+
`${e[1]}.${e[0]}.${e[3]}.${e[2]}`,
|
|
202
|
+
`${e[1]}.${e[2]}.${e[0]}.${e[3]}`,
|
|
203
|
+
`${e[1]}.${e[2]}.${e[3]}.${e[0]}`,
|
|
204
|
+
`${e[1]}.${e[3]}.${e[0]}.${e[2]}`,
|
|
205
|
+
`${e[1]}.${e[3]}.${e[2]}.${e[0]}`,
|
|
206
|
+
`${e[2]}.${e[0]}.${e[1]}.${e[3]}`,
|
|
207
|
+
`${e[2]}.${e[0]}.${e[3]}.${e[1]}`,
|
|
208
|
+
`${e[2]}.${e[1]}.${e[0]}.${e[3]}`,
|
|
209
|
+
`${e[2]}.${e[1]}.${e[3]}.${e[0]}`,
|
|
210
|
+
`${e[2]}.${e[3]}.${e[0]}.${e[1]}`,
|
|
211
|
+
`${e[2]}.${e[3]}.${e[1]}.${e[0]}`,
|
|
212
|
+
`${e[3]}.${e[0]}.${e[1]}.${e[2]}`,
|
|
213
|
+
`${e[3]}.${e[0]}.${e[2]}.${e[1]}`,
|
|
214
|
+
`${e[3]}.${e[1]}.${e[0]}.${e[2]}`,
|
|
215
|
+
`${e[3]}.${e[1]}.${e[2]}.${e[0]}`,
|
|
216
|
+
`${e[3]}.${e[2]}.${e[0]}.${e[1]}`,
|
|
217
|
+
`${e[3]}.${e[2]}.${e[1]}.${e[0]}`
|
|
218
|
+
];
|
|
219
|
+
}
|
|
220
|
+
var j = {};
|
|
221
|
+
function M(e) {
|
|
222
|
+
if (e.length === 0 || e.length === 1) return e;
|
|
223
|
+
var t = e.join(".");
|
|
224
|
+
return j[t] || (j[t] = A(e)), j[t];
|
|
225
|
+
}
|
|
226
|
+
function ee(e) {
|
|
227
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
228
|
+
return M(e.filter(function(e) {
|
|
229
|
+
return e !== "token";
|
|
230
|
+
})).reduce(function(e, t) {
|
|
231
|
+
return k(k({}, e), n[t]);
|
|
232
|
+
}, t);
|
|
233
|
+
}
|
|
234
|
+
function N(e) {
|
|
235
|
+
return e.join(" ");
|
|
236
|
+
}
|
|
237
|
+
function P(e, t) {
|
|
238
|
+
var n = 0;
|
|
239
|
+
return function(r) {
|
|
240
|
+
return n += 1, r.map(function(r, i) {
|
|
241
|
+
return F({
|
|
242
|
+
node: r,
|
|
243
|
+
stylesheet: e,
|
|
244
|
+
useInlineStyles: t,
|
|
245
|
+
key: `code-segment-${n}-${i}`
|
|
246
|
+
});
|
|
247
|
+
});
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
function F(e) {
|
|
251
|
+
var t = e.node, n = e.stylesheet, r = e.style, a = r === void 0 ? {} : r, o = e.useInlineStyles, s = e.key, c = t.properties, u = t.type, d = t.tagName, f = t.value;
|
|
252
|
+
if (u === "text") return f;
|
|
253
|
+
if (d) {
|
|
254
|
+
var p = P(n, o), m;
|
|
255
|
+
if (!o) m = k(k({}, c), {}, { className: N(c.className) });
|
|
256
|
+
else {
|
|
257
|
+
var h = Object.keys(n).reduce(function(e, t) {
|
|
258
|
+
return t.split(".").forEach(function(t) {
|
|
259
|
+
e.includes(t) || e.push(t);
|
|
260
|
+
}), e;
|
|
261
|
+
}, []), g = c.className && c.className.includes("token") ? ["token"] : [], _ = c.className && g.concat(c.className.filter(function(e) {
|
|
262
|
+
return !h.includes(e);
|
|
263
|
+
}));
|
|
264
|
+
m = k(k({}, c), {}, {
|
|
265
|
+
className: N(_) || void 0,
|
|
266
|
+
style: ee(c.className, Object.assign({}, c.style, a), n)
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
var v = p(t.children);
|
|
270
|
+
return /*#__PURE__*/ l.createElement(d, i({ key: s }, m), v);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
//#endregion
|
|
274
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js
|
|
275
|
+
var I = (function(e, t) {
|
|
276
|
+
return e.listLanguages().indexOf(t) !== -1;
|
|
277
|
+
}), te = [
|
|
278
|
+
"language",
|
|
279
|
+
"children",
|
|
280
|
+
"style",
|
|
281
|
+
"customStyle",
|
|
282
|
+
"codeTagProps",
|
|
283
|
+
"useInlineStyles",
|
|
284
|
+
"showLineNumbers",
|
|
285
|
+
"showInlineLineNumbers",
|
|
286
|
+
"startingLineNumber",
|
|
287
|
+
"lineNumberContainerStyle",
|
|
288
|
+
"lineNumberStyle",
|
|
289
|
+
"wrapLines",
|
|
290
|
+
"wrapLongLines",
|
|
291
|
+
"lineProps",
|
|
292
|
+
"renderer",
|
|
293
|
+
"PreTag",
|
|
294
|
+
"CodeTag",
|
|
295
|
+
"code",
|
|
296
|
+
"astGenerator"
|
|
297
|
+
];
|
|
298
|
+
function ne(e, t) {
|
|
299
|
+
var n = Object.keys(e);
|
|
300
|
+
if (Object.getOwnPropertySymbols) {
|
|
301
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
302
|
+
t && (r = r.filter(function(t) {
|
|
303
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
304
|
+
})), n.push.apply(n, r);
|
|
305
|
+
}
|
|
306
|
+
return n;
|
|
307
|
+
}
|
|
308
|
+
function L(e) {
|
|
309
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
310
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
311
|
+
t % 2 ? ne(Object(n), !0).forEach(function(t) {
|
|
312
|
+
D(e, t, n[t]);
|
|
313
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ne(Object(n)).forEach(function(t) {
|
|
314
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
return e;
|
|
318
|
+
}
|
|
319
|
+
var re = /\n/g;
|
|
320
|
+
function ie(e) {
|
|
321
|
+
return e.match(re);
|
|
322
|
+
}
|
|
323
|
+
function ae(e) {
|
|
324
|
+
var t = e.lines, n = e.startingLineNumber, r = e.style;
|
|
325
|
+
return t.map(function(e, t) {
|
|
326
|
+
var i = t + n;
|
|
327
|
+
return /*#__PURE__*/ l.createElement("span", {
|
|
328
|
+
key: `line-${t}`,
|
|
329
|
+
className: "react-syntax-highlighter-line-number",
|
|
330
|
+
style: typeof r == "function" ? r(i) : r
|
|
331
|
+
}, `${i}
|
|
332
|
+
`);
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
function oe(e) {
|
|
336
|
+
var t = e.codeString, n = e.codeStyle, r = e.containerStyle, i = r === void 0 ? {
|
|
337
|
+
float: "left",
|
|
338
|
+
paddingRight: "10px"
|
|
339
|
+
} : r, a = e.numberStyle, o = a === void 0 ? {} : a, s = e.startingLineNumber;
|
|
340
|
+
return /*#__PURE__*/ l.createElement("code", { style: Object.assign({}, n, i) }, ae({
|
|
341
|
+
lines: t.replace(/\n$/, "").split("\n"),
|
|
342
|
+
style: o,
|
|
343
|
+
startingLineNumber: s
|
|
344
|
+
}));
|
|
345
|
+
}
|
|
346
|
+
function se(e) {
|
|
347
|
+
return `${e.toString().length}.25em`;
|
|
348
|
+
}
|
|
349
|
+
function R(e, t) {
|
|
350
|
+
return {
|
|
351
|
+
type: "element",
|
|
352
|
+
tagName: "span",
|
|
353
|
+
properties: {
|
|
354
|
+
key: `line-number--${e}`,
|
|
355
|
+
className: [
|
|
356
|
+
"comment",
|
|
357
|
+
"linenumber",
|
|
358
|
+
"react-syntax-highlighter-line-number"
|
|
359
|
+
],
|
|
360
|
+
style: t
|
|
361
|
+
},
|
|
362
|
+
children: [{
|
|
363
|
+
type: "text",
|
|
364
|
+
value: e
|
|
365
|
+
}]
|
|
366
|
+
};
|
|
367
|
+
}
|
|
368
|
+
function ce(e, t, n) {
|
|
369
|
+
var r = {
|
|
370
|
+
display: "inline-block",
|
|
371
|
+
minWidth: se(n),
|
|
372
|
+
paddingRight: "1em",
|
|
373
|
+
textAlign: "right",
|
|
374
|
+
userSelect: "none"
|
|
375
|
+
}, i = typeof e == "function" ? e(t) : e;
|
|
376
|
+
return L(L({}, r), i);
|
|
377
|
+
}
|
|
378
|
+
function z(e) {
|
|
379
|
+
var t = e.children, n = e.lineNumber, r = e.lineNumberStyle, i = e.largestLineNumber, a = e.showInlineLineNumbers, o = e.lineProps, s = o === void 0 ? {} : o, c = e.className, l = c === void 0 ? [] : c, u = e.showLineNumbers, d = e.wrapLongLines, f = e.wrapLines, p = f !== void 0 && f ? L({}, typeof s == "function" ? s(n) : s) : {};
|
|
380
|
+
if (p.className = p.className ? [].concat(C(p.className.trim().split(/\s+/)), C(l)) : l, n && a) {
|
|
381
|
+
var m = ce(r, n, i);
|
|
382
|
+
t.unshift(R(n, m));
|
|
383
|
+
}
|
|
384
|
+
return d & u && (p.style = L({ display: "flex" }, p.style)), {
|
|
385
|
+
type: "element",
|
|
386
|
+
tagName: "span",
|
|
387
|
+
properties: p,
|
|
388
|
+
children: t
|
|
389
|
+
};
|
|
390
|
+
}
|
|
391
|
+
function le(e) {
|
|
392
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
393
|
+
e.length === void 0 && (e = [e]);
|
|
394
|
+
for (var r = 0; r < e.length; r++) {
|
|
395
|
+
var i = e[r];
|
|
396
|
+
if (i.type === "text") n.push(z({
|
|
397
|
+
children: [i],
|
|
398
|
+
className: C(new Set(t))
|
|
399
|
+
}));
|
|
400
|
+
else if (i.children) {
|
|
401
|
+
var a = t.concat(i.properties?.className || []);
|
|
402
|
+
le(i.children, a).forEach(function(e) {
|
|
403
|
+
return n.push(e);
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return n;
|
|
408
|
+
}
|
|
409
|
+
function ue(e, t, n, r, i, a, o, s, c) {
|
|
410
|
+
var l, u = le(e.value), d = [], f = -1, p = 0;
|
|
411
|
+
function m(e, a) {
|
|
412
|
+
return z({
|
|
413
|
+
children: e,
|
|
414
|
+
lineNumber: a,
|
|
415
|
+
lineNumberStyle: s,
|
|
416
|
+
largestLineNumber: o,
|
|
417
|
+
showInlineLineNumbers: i,
|
|
418
|
+
lineProps: n,
|
|
419
|
+
className: arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [],
|
|
420
|
+
showLineNumbers: r,
|
|
421
|
+
wrapLongLines: c,
|
|
422
|
+
wrapLines: t
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
function h(e, t) {
|
|
426
|
+
if (r && t && i) {
|
|
427
|
+
var n = ce(s, t, o);
|
|
428
|
+
e.unshift(R(t, n));
|
|
429
|
+
}
|
|
430
|
+
return e;
|
|
431
|
+
}
|
|
432
|
+
function g(e, n) {
|
|
433
|
+
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
434
|
+
return t || r.length > 0 ? m(e, n, r) : h(e, n);
|
|
435
|
+
}
|
|
436
|
+
for (var _ = function() {
|
|
437
|
+
var e = u[p], t = e.children[0].value;
|
|
438
|
+
if (ie(t)) {
|
|
439
|
+
var n = t.split("\n");
|
|
440
|
+
n.forEach(function(t, i) {
|
|
441
|
+
var o = r && d.length + a, s = {
|
|
442
|
+
type: "text",
|
|
443
|
+
value: `${t}
|
|
444
|
+
`
|
|
445
|
+
};
|
|
446
|
+
if (i === 0) {
|
|
447
|
+
var c = g(u.slice(f + 1, p).concat(z({
|
|
448
|
+
children: [s],
|
|
449
|
+
className: e.properties.className
|
|
450
|
+
})), o);
|
|
451
|
+
d.push(c);
|
|
452
|
+
} else if (i === n.length - 1) {
|
|
453
|
+
var l = u[p + 1] && u[p + 1].children && u[p + 1].children[0], m = {
|
|
454
|
+
type: "text",
|
|
455
|
+
value: `${t}`
|
|
456
|
+
};
|
|
457
|
+
if (l) {
|
|
458
|
+
var h = z({
|
|
459
|
+
children: [m],
|
|
460
|
+
className: e.properties.className
|
|
461
|
+
});
|
|
462
|
+
u.splice(p + 1, 0, h);
|
|
463
|
+
} else {
|
|
464
|
+
var _ = g([m], o, e.properties.className);
|
|
465
|
+
d.push(_);
|
|
466
|
+
}
|
|
467
|
+
} else {
|
|
468
|
+
var v = g([s], o, e.properties.className);
|
|
469
|
+
d.push(v);
|
|
470
|
+
}
|
|
471
|
+
}), f = p;
|
|
472
|
+
}
|
|
473
|
+
p++;
|
|
474
|
+
}; p < u.length;) _();
|
|
475
|
+
if (f !== u.length - 1) {
|
|
476
|
+
var v = u.slice(f + 1, u.length);
|
|
477
|
+
if (v && v.length) {
|
|
478
|
+
var y = g(v, r && d.length + a);
|
|
479
|
+
d.push(y);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
return t ? d : (l = []).concat.apply(l, d);
|
|
483
|
+
}
|
|
484
|
+
function de(e) {
|
|
485
|
+
var t = e.rows, n = e.stylesheet, r = e.useInlineStyles;
|
|
486
|
+
return t.map(function(e, t) {
|
|
487
|
+
return F({
|
|
488
|
+
node: e,
|
|
489
|
+
stylesheet: n,
|
|
490
|
+
useInlineStyles: r,
|
|
491
|
+
key: `code-segment-${t}`
|
|
492
|
+
});
|
|
493
|
+
});
|
|
494
|
+
}
|
|
495
|
+
function fe(e) {
|
|
496
|
+
return e && e.highlightAuto !== void 0;
|
|
497
|
+
}
|
|
498
|
+
function pe(e) {
|
|
499
|
+
var t = e.astGenerator, n = e.language, r = e.code, i = e.defaultCodeValue;
|
|
500
|
+
if (fe(t)) {
|
|
501
|
+
var a = I(t, n);
|
|
502
|
+
return n === "text" ? {
|
|
503
|
+
value: i,
|
|
504
|
+
language: "text"
|
|
505
|
+
} : a ? t.highlight(n, r) : t.highlightAuto(r);
|
|
506
|
+
}
|
|
507
|
+
try {
|
|
508
|
+
return n && n !== "text" ? { value: t.highlight(r, n) } : { value: i };
|
|
509
|
+
} catch {
|
|
510
|
+
return { value: i };
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
function me(e, t) {
|
|
514
|
+
return function(n) {
|
|
515
|
+
var r = n.language, i = n.children, a = n.style, o = a === void 0 ? t : a, s = n.customStyle, c = s === void 0 ? {} : s, u = n.codeTagProps, d = u === void 0 ? {
|
|
516
|
+
className: r ? `language-${r}` : void 0,
|
|
517
|
+
style: L(L({}, o["code[class*=\"language-\"]"]), o[`code[class*="language-${r}"]`])
|
|
518
|
+
} : u, f = n.useInlineStyles, p = f === void 0 ? !0 : f, m = n.showLineNumbers, h = m === void 0 ? !1 : m, g = n.showInlineLineNumbers, v = g === void 0 ? !0 : g, y = n.startingLineNumber, b = y === void 0 ? 1 : y, x = n.lineNumberContainerStyle, S = n.lineNumberStyle, C = S === void 0 ? {} : S, w = n.wrapLines, T = n.wrapLongLines, E = T === void 0 ? !1 : T, D = n.lineProps, O = D === void 0 ? {} : D, k = n.renderer, A = n.PreTag, j = A === void 0 ? "pre" : A, M = n.CodeTag, ee = M === void 0 ? "code" : M, N = n.code, P = N === void 0 ? (Array.isArray(i) ? i[0] : i) || "" : N, F = n.astGenerator, I = _(n, te);
|
|
519
|
+
F ||= e;
|
|
520
|
+
var ne = h ? /*#__PURE__*/ l.createElement(oe, {
|
|
521
|
+
containerStyle: x,
|
|
522
|
+
codeStyle: d.style || {},
|
|
523
|
+
numberStyle: C,
|
|
524
|
+
startingLineNumber: b,
|
|
525
|
+
codeString: P
|
|
526
|
+
}) : null, re = o.hljs || o["pre[class*=\"language-\"]"] || { backgroundColor: "#fff" }, ie = fe(F) ? "hljs" : "prismjs", ae = p ? Object.assign({}, I, { style: Object.assign({}, re, c) }) : Object.assign({}, I, {
|
|
527
|
+
className: I.className ? `${ie} ${I.className}` : ie,
|
|
528
|
+
style: Object.assign({}, c)
|
|
529
|
+
});
|
|
530
|
+
if (E ? d.style = L({ whiteSpace: "pre-wrap" }, d.style) : d.style = L({ whiteSpace: "pre" }, d.style), !F) return /*#__PURE__*/ l.createElement(j, ae, ne, /*#__PURE__*/ l.createElement(ee, d, P));
|
|
531
|
+
(w === void 0 && k || E) && (w = !0), k ||= de;
|
|
532
|
+
var se = [{
|
|
533
|
+
type: "text",
|
|
534
|
+
value: P
|
|
535
|
+
}], R = pe({
|
|
536
|
+
astGenerator: F,
|
|
537
|
+
language: r,
|
|
538
|
+
code: P,
|
|
539
|
+
defaultCodeValue: se
|
|
540
|
+
});
|
|
541
|
+
R.language === null && (R.value = se);
|
|
542
|
+
var ce = b + (P.match(/\n/g)?.length ?? 0), z = ue(R, w, O, h, v, b, ce, C, E);
|
|
543
|
+
return /*#__PURE__*/ l.createElement(j, ae, /*#__PURE__*/ l.createElement(ee, d, !v && ne, k({
|
|
544
|
+
rows: z,
|
|
545
|
+
stylesheet: o,
|
|
546
|
+
useInlineStyles: p
|
|
547
|
+
})));
|
|
548
|
+
};
|
|
549
|
+
}
|
|
550
|
+
//#endregion
|
|
551
|
+
//#region node_modules/property-information/lib/util/schema.js
|
|
552
|
+
var B = class {
|
|
553
|
+
constructor(e, t, n) {
|
|
554
|
+
this.normal = t, this.property = e, n && (this.space = n);
|
|
555
|
+
}
|
|
556
|
+
};
|
|
557
|
+
B.prototype.normal = {}, B.prototype.property = {}, B.prototype.space = void 0;
|
|
558
|
+
//#endregion
|
|
559
|
+
//#region node_modules/property-information/lib/util/merge.js
|
|
560
|
+
function he(e, t) {
|
|
561
|
+
let n = {}, r = {};
|
|
562
|
+
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
563
|
+
return new B(n, r, t);
|
|
564
|
+
}
|
|
565
|
+
//#endregion
|
|
566
|
+
//#region node_modules/property-information/lib/normalize.js
|
|
567
|
+
function ge(e) {
|
|
568
|
+
return e.toLowerCase();
|
|
569
|
+
}
|
|
570
|
+
//#endregion
|
|
571
|
+
//#region node_modules/property-information/lib/util/info.js
|
|
572
|
+
var V = class {
|
|
573
|
+
constructor(e, t) {
|
|
574
|
+
this.attribute = t, this.property = e;
|
|
575
|
+
}
|
|
576
|
+
};
|
|
577
|
+
V.prototype.attribute = "", V.prototype.booleanish = !1, V.prototype.boolean = !1, V.prototype.commaOrSpaceSeparated = !1, V.prototype.commaSeparated = !1, V.prototype.defined = !1, V.prototype.mustUseProperty = !1, V.prototype.number = !1, V.prototype.overloadedBoolean = !1, V.prototype.property = "", V.prototype.spaceSeparated = !1, V.prototype.space = void 0;
|
|
578
|
+
//#endregion
|
|
579
|
+
//#region node_modules/property-information/lib/util/types.js
|
|
580
|
+
var _e = /* @__PURE__ */ e({
|
|
581
|
+
boolean: () => H,
|
|
582
|
+
booleanish: () => U,
|
|
583
|
+
commaOrSpaceSeparated: () => q,
|
|
584
|
+
commaSeparated: () => K,
|
|
585
|
+
number: () => W,
|
|
586
|
+
overloadedBoolean: () => ye,
|
|
587
|
+
spaceSeparated: () => G
|
|
588
|
+
}), ve = 0, H = J(), U = J(), ye = J(), W = J(), G = J(), K = J(), q = J();
|
|
589
|
+
function J() {
|
|
590
|
+
return 2 ** ++ve;
|
|
591
|
+
}
|
|
592
|
+
//#endregion
|
|
593
|
+
//#region node_modules/property-information/lib/util/defined-info.js
|
|
594
|
+
var be = Object.keys(_e), xe = class extends V {
|
|
595
|
+
constructor(e, t, n, r) {
|
|
596
|
+
let i = -1;
|
|
597
|
+
if (super(e, t), Se(this, "space", r), typeof n == "number") for (; ++i < be.length;) {
|
|
598
|
+
let e = be[i];
|
|
599
|
+
Se(this, be[i], (n & _e[e]) === _e[e]);
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
xe.prototype.defined = !0;
|
|
604
|
+
function Se(e, t, n) {
|
|
605
|
+
n && (e[t] = n);
|
|
606
|
+
}
|
|
607
|
+
//#endregion
|
|
608
|
+
//#region node_modules/property-information/lib/util/create.js
|
|
609
|
+
function Y(e) {
|
|
610
|
+
let t = {}, n = {};
|
|
611
|
+
for (let [r, i] of Object.entries(e.properties)) {
|
|
612
|
+
let a = new xe(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
613
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[ge(r)] = r, n[ge(a.attribute)] = r;
|
|
614
|
+
}
|
|
615
|
+
return new B(t, n, e.space);
|
|
616
|
+
}
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region node_modules/property-information/lib/aria.js
|
|
619
|
+
var Ce = Y({
|
|
620
|
+
properties: {
|
|
621
|
+
ariaActiveDescendant: null,
|
|
622
|
+
ariaAtomic: U,
|
|
623
|
+
ariaAutoComplete: null,
|
|
624
|
+
ariaBusy: U,
|
|
625
|
+
ariaChecked: U,
|
|
626
|
+
ariaColCount: W,
|
|
627
|
+
ariaColIndex: W,
|
|
628
|
+
ariaColSpan: W,
|
|
629
|
+
ariaControls: G,
|
|
630
|
+
ariaCurrent: null,
|
|
631
|
+
ariaDescribedBy: G,
|
|
632
|
+
ariaDetails: null,
|
|
633
|
+
ariaDisabled: U,
|
|
634
|
+
ariaDropEffect: G,
|
|
635
|
+
ariaErrorMessage: null,
|
|
636
|
+
ariaExpanded: U,
|
|
637
|
+
ariaFlowTo: G,
|
|
638
|
+
ariaGrabbed: U,
|
|
639
|
+
ariaHasPopup: null,
|
|
640
|
+
ariaHidden: U,
|
|
641
|
+
ariaInvalid: null,
|
|
642
|
+
ariaKeyShortcuts: null,
|
|
643
|
+
ariaLabel: null,
|
|
644
|
+
ariaLabelledBy: G,
|
|
645
|
+
ariaLevel: W,
|
|
646
|
+
ariaLive: null,
|
|
647
|
+
ariaModal: U,
|
|
648
|
+
ariaMultiLine: U,
|
|
649
|
+
ariaMultiSelectable: U,
|
|
650
|
+
ariaOrientation: null,
|
|
651
|
+
ariaOwns: G,
|
|
652
|
+
ariaPlaceholder: null,
|
|
653
|
+
ariaPosInSet: W,
|
|
654
|
+
ariaPressed: U,
|
|
655
|
+
ariaReadOnly: U,
|
|
656
|
+
ariaRelevant: null,
|
|
657
|
+
ariaRequired: U,
|
|
658
|
+
ariaRoleDescription: G,
|
|
659
|
+
ariaRowCount: W,
|
|
660
|
+
ariaRowIndex: W,
|
|
661
|
+
ariaRowSpan: W,
|
|
662
|
+
ariaSelected: U,
|
|
663
|
+
ariaSetSize: W,
|
|
664
|
+
ariaSort: null,
|
|
665
|
+
ariaValueMax: W,
|
|
666
|
+
ariaValueMin: W,
|
|
667
|
+
ariaValueNow: W,
|
|
668
|
+
ariaValueText: null,
|
|
669
|
+
role: null
|
|
670
|
+
},
|
|
671
|
+
transform(e, t) {
|
|
672
|
+
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
673
|
+
}
|
|
674
|
+
});
|
|
675
|
+
//#endregion
|
|
676
|
+
//#region node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
677
|
+
function we(e, t) {
|
|
678
|
+
return t in e ? e[t] : t;
|
|
679
|
+
}
|
|
680
|
+
//#endregion
|
|
681
|
+
//#region node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
682
|
+
function Te(e, t) {
|
|
683
|
+
return we(e, t.toLowerCase());
|
|
684
|
+
}
|
|
685
|
+
//#endregion
|
|
686
|
+
//#region node_modules/property-information/lib/html.js
|
|
687
|
+
var Ee = Y({
|
|
688
|
+
attributes: {
|
|
689
|
+
acceptcharset: "accept-charset",
|
|
690
|
+
classname: "class",
|
|
691
|
+
htmlfor: "for",
|
|
692
|
+
httpequiv: "http-equiv"
|
|
693
|
+
},
|
|
694
|
+
mustUseProperty: [
|
|
695
|
+
"checked",
|
|
696
|
+
"multiple",
|
|
697
|
+
"muted",
|
|
698
|
+
"selected"
|
|
699
|
+
],
|
|
700
|
+
properties: {
|
|
701
|
+
abbr: null,
|
|
702
|
+
accept: K,
|
|
703
|
+
acceptCharset: G,
|
|
704
|
+
accessKey: G,
|
|
705
|
+
action: null,
|
|
706
|
+
allow: null,
|
|
707
|
+
allowFullScreen: H,
|
|
708
|
+
allowPaymentRequest: H,
|
|
709
|
+
allowUserMedia: H,
|
|
710
|
+
alpha: H,
|
|
711
|
+
alt: null,
|
|
712
|
+
as: null,
|
|
713
|
+
async: H,
|
|
714
|
+
autoCapitalize: null,
|
|
715
|
+
autoComplete: G,
|
|
716
|
+
autoFocus: H,
|
|
717
|
+
autoPlay: H,
|
|
718
|
+
blocking: G,
|
|
719
|
+
capture: null,
|
|
720
|
+
charSet: null,
|
|
721
|
+
checked: H,
|
|
722
|
+
cite: null,
|
|
723
|
+
className: G,
|
|
724
|
+
closedBy: null,
|
|
725
|
+
colorSpace: null,
|
|
726
|
+
cols: W,
|
|
727
|
+
colSpan: W,
|
|
728
|
+
command: null,
|
|
729
|
+
commandFor: null,
|
|
730
|
+
content: null,
|
|
731
|
+
contentEditable: U,
|
|
732
|
+
controls: H,
|
|
733
|
+
controlsList: G,
|
|
734
|
+
coords: W | K,
|
|
735
|
+
crossOrigin: null,
|
|
736
|
+
data: null,
|
|
737
|
+
dateTime: null,
|
|
738
|
+
decoding: null,
|
|
739
|
+
default: H,
|
|
740
|
+
defer: H,
|
|
741
|
+
dir: null,
|
|
742
|
+
dirName: null,
|
|
743
|
+
disabled: H,
|
|
744
|
+
download: ye,
|
|
745
|
+
draggable: U,
|
|
746
|
+
encType: null,
|
|
747
|
+
enterKeyHint: null,
|
|
748
|
+
fetchPriority: null,
|
|
749
|
+
form: null,
|
|
750
|
+
formAction: null,
|
|
751
|
+
formEncType: null,
|
|
752
|
+
formMethod: null,
|
|
753
|
+
formNoValidate: H,
|
|
754
|
+
formTarget: null,
|
|
755
|
+
headers: G,
|
|
756
|
+
height: W,
|
|
757
|
+
hidden: ye,
|
|
758
|
+
high: W,
|
|
759
|
+
href: null,
|
|
760
|
+
hrefLang: null,
|
|
761
|
+
htmlFor: G,
|
|
762
|
+
httpEquiv: G,
|
|
763
|
+
id: null,
|
|
764
|
+
imageSizes: null,
|
|
765
|
+
imageSrcSet: null,
|
|
766
|
+
inert: H,
|
|
767
|
+
inputMode: null,
|
|
768
|
+
integrity: null,
|
|
769
|
+
is: null,
|
|
770
|
+
isMap: H,
|
|
771
|
+
itemId: null,
|
|
772
|
+
itemProp: G,
|
|
773
|
+
itemRef: G,
|
|
774
|
+
itemScope: H,
|
|
775
|
+
itemType: G,
|
|
776
|
+
kind: null,
|
|
777
|
+
label: null,
|
|
778
|
+
lang: null,
|
|
779
|
+
language: null,
|
|
780
|
+
list: null,
|
|
781
|
+
loading: null,
|
|
782
|
+
loop: H,
|
|
783
|
+
low: W,
|
|
784
|
+
manifest: null,
|
|
785
|
+
max: null,
|
|
786
|
+
maxLength: W,
|
|
787
|
+
media: null,
|
|
788
|
+
method: null,
|
|
789
|
+
min: null,
|
|
790
|
+
minLength: W,
|
|
791
|
+
multiple: H,
|
|
792
|
+
muted: H,
|
|
793
|
+
name: null,
|
|
794
|
+
nonce: null,
|
|
795
|
+
noModule: H,
|
|
796
|
+
noValidate: H,
|
|
797
|
+
onAbort: null,
|
|
798
|
+
onAfterPrint: null,
|
|
799
|
+
onAuxClick: null,
|
|
800
|
+
onBeforeMatch: null,
|
|
801
|
+
onBeforePrint: null,
|
|
802
|
+
onBeforeToggle: null,
|
|
803
|
+
onBeforeUnload: null,
|
|
804
|
+
onBlur: null,
|
|
805
|
+
onCancel: null,
|
|
806
|
+
onCanPlay: null,
|
|
807
|
+
onCanPlayThrough: null,
|
|
808
|
+
onChange: null,
|
|
809
|
+
onClick: null,
|
|
810
|
+
onClose: null,
|
|
811
|
+
onContextLost: null,
|
|
812
|
+
onContextMenu: null,
|
|
813
|
+
onContextRestored: null,
|
|
814
|
+
onCopy: null,
|
|
815
|
+
onCueChange: null,
|
|
816
|
+
onCut: null,
|
|
817
|
+
onDblClick: null,
|
|
818
|
+
onDrag: null,
|
|
819
|
+
onDragEnd: null,
|
|
820
|
+
onDragEnter: null,
|
|
821
|
+
onDragExit: null,
|
|
822
|
+
onDragLeave: null,
|
|
823
|
+
onDragOver: null,
|
|
824
|
+
onDragStart: null,
|
|
825
|
+
onDrop: null,
|
|
826
|
+
onDurationChange: null,
|
|
827
|
+
onEmptied: null,
|
|
828
|
+
onEnded: null,
|
|
829
|
+
onError: null,
|
|
830
|
+
onFocus: null,
|
|
831
|
+
onFormData: null,
|
|
832
|
+
onHashChange: null,
|
|
833
|
+
onInput: null,
|
|
834
|
+
onInvalid: null,
|
|
835
|
+
onKeyDown: null,
|
|
836
|
+
onKeyPress: null,
|
|
837
|
+
onKeyUp: null,
|
|
838
|
+
onLanguageChange: null,
|
|
839
|
+
onLoad: null,
|
|
840
|
+
onLoadedData: null,
|
|
841
|
+
onLoadedMetadata: null,
|
|
842
|
+
onLoadEnd: null,
|
|
843
|
+
onLoadStart: null,
|
|
844
|
+
onMessage: null,
|
|
845
|
+
onMessageError: null,
|
|
846
|
+
onMouseDown: null,
|
|
847
|
+
onMouseEnter: null,
|
|
848
|
+
onMouseLeave: null,
|
|
849
|
+
onMouseMove: null,
|
|
850
|
+
onMouseOut: null,
|
|
851
|
+
onMouseOver: null,
|
|
852
|
+
onMouseUp: null,
|
|
853
|
+
onOffline: null,
|
|
854
|
+
onOnline: null,
|
|
855
|
+
onPageHide: null,
|
|
856
|
+
onPageShow: null,
|
|
857
|
+
onPaste: null,
|
|
858
|
+
onPause: null,
|
|
859
|
+
onPlay: null,
|
|
860
|
+
onPlaying: null,
|
|
861
|
+
onPopState: null,
|
|
862
|
+
onProgress: null,
|
|
863
|
+
onRateChange: null,
|
|
864
|
+
onRejectionHandled: null,
|
|
865
|
+
onReset: null,
|
|
866
|
+
onResize: null,
|
|
867
|
+
onScroll: null,
|
|
868
|
+
onScrollEnd: null,
|
|
869
|
+
onSecurityPolicyViolation: null,
|
|
870
|
+
onSeeked: null,
|
|
871
|
+
onSeeking: null,
|
|
872
|
+
onSelect: null,
|
|
873
|
+
onSlotChange: null,
|
|
874
|
+
onStalled: null,
|
|
875
|
+
onStorage: null,
|
|
876
|
+
onSubmit: null,
|
|
877
|
+
onSuspend: null,
|
|
878
|
+
onTimeUpdate: null,
|
|
879
|
+
onToggle: null,
|
|
880
|
+
onUnhandledRejection: null,
|
|
881
|
+
onUnload: null,
|
|
882
|
+
onVolumeChange: null,
|
|
883
|
+
onWaiting: null,
|
|
884
|
+
onWheel: null,
|
|
885
|
+
open: H,
|
|
886
|
+
optimum: W,
|
|
887
|
+
pattern: null,
|
|
888
|
+
ping: G,
|
|
889
|
+
placeholder: null,
|
|
890
|
+
playsInline: H,
|
|
891
|
+
popover: null,
|
|
892
|
+
popoverTarget: null,
|
|
893
|
+
popoverTargetAction: null,
|
|
894
|
+
poster: null,
|
|
895
|
+
preload: null,
|
|
896
|
+
readOnly: H,
|
|
897
|
+
referrerPolicy: null,
|
|
898
|
+
rel: G,
|
|
899
|
+
required: H,
|
|
900
|
+
reversed: H,
|
|
901
|
+
rows: W,
|
|
902
|
+
rowSpan: W,
|
|
903
|
+
sandbox: G,
|
|
904
|
+
scope: null,
|
|
905
|
+
scoped: H,
|
|
906
|
+
seamless: H,
|
|
907
|
+
selected: H,
|
|
908
|
+
shadowRootClonable: H,
|
|
909
|
+
shadowRootCustomElementRegistry: H,
|
|
910
|
+
shadowRootDelegatesFocus: H,
|
|
911
|
+
shadowRootMode: null,
|
|
912
|
+
shadowRootSerializable: H,
|
|
913
|
+
shape: null,
|
|
914
|
+
size: W,
|
|
915
|
+
sizes: null,
|
|
916
|
+
slot: null,
|
|
917
|
+
span: W,
|
|
918
|
+
spellCheck: U,
|
|
919
|
+
src: null,
|
|
920
|
+
srcDoc: null,
|
|
921
|
+
srcLang: null,
|
|
922
|
+
srcSet: null,
|
|
923
|
+
start: W,
|
|
924
|
+
step: null,
|
|
925
|
+
style: null,
|
|
926
|
+
tabIndex: W,
|
|
927
|
+
target: null,
|
|
928
|
+
title: null,
|
|
929
|
+
translate: null,
|
|
930
|
+
type: null,
|
|
931
|
+
typeMustMatch: H,
|
|
932
|
+
useMap: null,
|
|
933
|
+
value: U,
|
|
934
|
+
width: W,
|
|
935
|
+
wrap: null,
|
|
936
|
+
writingSuggestions: null,
|
|
937
|
+
align: null,
|
|
938
|
+
aLink: null,
|
|
939
|
+
archive: G,
|
|
940
|
+
axis: null,
|
|
941
|
+
background: null,
|
|
942
|
+
bgColor: null,
|
|
943
|
+
border: W,
|
|
944
|
+
borderColor: null,
|
|
945
|
+
bottomMargin: W,
|
|
946
|
+
cellPadding: null,
|
|
947
|
+
cellSpacing: null,
|
|
948
|
+
char: null,
|
|
949
|
+
charOff: null,
|
|
950
|
+
classId: null,
|
|
951
|
+
clear: null,
|
|
952
|
+
code: null,
|
|
953
|
+
codeBase: null,
|
|
954
|
+
codeType: null,
|
|
955
|
+
color: null,
|
|
956
|
+
compact: H,
|
|
957
|
+
declare: H,
|
|
958
|
+
event: null,
|
|
959
|
+
face: null,
|
|
960
|
+
frame: null,
|
|
961
|
+
frameBorder: null,
|
|
962
|
+
hSpace: W,
|
|
963
|
+
leftMargin: W,
|
|
964
|
+
link: null,
|
|
965
|
+
longDesc: null,
|
|
966
|
+
lowSrc: null,
|
|
967
|
+
marginHeight: W,
|
|
968
|
+
marginWidth: W,
|
|
969
|
+
noResize: H,
|
|
970
|
+
noHref: H,
|
|
971
|
+
noShade: H,
|
|
972
|
+
noWrap: H,
|
|
973
|
+
object: null,
|
|
974
|
+
profile: null,
|
|
975
|
+
prompt: null,
|
|
976
|
+
rev: null,
|
|
977
|
+
rightMargin: W,
|
|
978
|
+
rules: null,
|
|
979
|
+
scheme: null,
|
|
980
|
+
scrolling: U,
|
|
981
|
+
standby: null,
|
|
982
|
+
summary: null,
|
|
983
|
+
text: null,
|
|
984
|
+
topMargin: W,
|
|
985
|
+
valueType: null,
|
|
986
|
+
version: null,
|
|
987
|
+
vAlign: null,
|
|
988
|
+
vLink: null,
|
|
989
|
+
vSpace: W,
|
|
990
|
+
allowTransparency: null,
|
|
991
|
+
autoCorrect: null,
|
|
992
|
+
autoSave: null,
|
|
993
|
+
credentialless: H,
|
|
994
|
+
disablePictureInPicture: H,
|
|
995
|
+
disableRemotePlayback: H,
|
|
996
|
+
exportParts: K,
|
|
997
|
+
part: G,
|
|
998
|
+
prefix: null,
|
|
999
|
+
property: null,
|
|
1000
|
+
results: W,
|
|
1001
|
+
security: null,
|
|
1002
|
+
unselectable: null
|
|
1003
|
+
},
|
|
1004
|
+
space: "html",
|
|
1005
|
+
transform: Te
|
|
1006
|
+
}), De = Y({
|
|
1007
|
+
attributes: {
|
|
1008
|
+
accentHeight: "accent-height",
|
|
1009
|
+
alignmentBaseline: "alignment-baseline",
|
|
1010
|
+
arabicForm: "arabic-form",
|
|
1011
|
+
baselineShift: "baseline-shift",
|
|
1012
|
+
capHeight: "cap-height",
|
|
1013
|
+
className: "class",
|
|
1014
|
+
clipPath: "clip-path",
|
|
1015
|
+
clipRule: "clip-rule",
|
|
1016
|
+
colorInterpolation: "color-interpolation",
|
|
1017
|
+
colorInterpolationFilters: "color-interpolation-filters",
|
|
1018
|
+
colorProfile: "color-profile",
|
|
1019
|
+
colorRendering: "color-rendering",
|
|
1020
|
+
crossOrigin: "crossorigin",
|
|
1021
|
+
dataType: "datatype",
|
|
1022
|
+
dominantBaseline: "dominant-baseline",
|
|
1023
|
+
enableBackground: "enable-background",
|
|
1024
|
+
fillOpacity: "fill-opacity",
|
|
1025
|
+
fillRule: "fill-rule",
|
|
1026
|
+
floodColor: "flood-color",
|
|
1027
|
+
floodOpacity: "flood-opacity",
|
|
1028
|
+
fontFamily: "font-family",
|
|
1029
|
+
fontSize: "font-size",
|
|
1030
|
+
fontSizeAdjust: "font-size-adjust",
|
|
1031
|
+
fontStretch: "font-stretch",
|
|
1032
|
+
fontStyle: "font-style",
|
|
1033
|
+
fontVariant: "font-variant",
|
|
1034
|
+
fontWeight: "font-weight",
|
|
1035
|
+
glyphName: "glyph-name",
|
|
1036
|
+
glyphOrientationHorizontal: "glyph-orientation-horizontal",
|
|
1037
|
+
glyphOrientationVertical: "glyph-orientation-vertical",
|
|
1038
|
+
hrefLang: "hreflang",
|
|
1039
|
+
horizAdvX: "horiz-adv-x",
|
|
1040
|
+
horizOriginX: "horiz-origin-x",
|
|
1041
|
+
horizOriginY: "horiz-origin-y",
|
|
1042
|
+
imageRendering: "image-rendering",
|
|
1043
|
+
letterSpacing: "letter-spacing",
|
|
1044
|
+
lightingColor: "lighting-color",
|
|
1045
|
+
markerEnd: "marker-end",
|
|
1046
|
+
markerMid: "marker-mid",
|
|
1047
|
+
markerStart: "marker-start",
|
|
1048
|
+
maskType: "mask-type",
|
|
1049
|
+
navDown: "nav-down",
|
|
1050
|
+
navDownLeft: "nav-down-left",
|
|
1051
|
+
navDownRight: "nav-down-right",
|
|
1052
|
+
navLeft: "nav-left",
|
|
1053
|
+
navNext: "nav-next",
|
|
1054
|
+
navPrev: "nav-prev",
|
|
1055
|
+
navRight: "nav-right",
|
|
1056
|
+
navUp: "nav-up",
|
|
1057
|
+
navUpLeft: "nav-up-left",
|
|
1058
|
+
navUpRight: "nav-up-right",
|
|
1059
|
+
onAbort: "onabort",
|
|
1060
|
+
onActivate: "onactivate",
|
|
1061
|
+
onAfterPrint: "onafterprint",
|
|
1062
|
+
onBeforePrint: "onbeforeprint",
|
|
1063
|
+
onBegin: "onbegin",
|
|
1064
|
+
onCancel: "oncancel",
|
|
1065
|
+
onCanPlay: "oncanplay",
|
|
1066
|
+
onCanPlayThrough: "oncanplaythrough",
|
|
1067
|
+
onChange: "onchange",
|
|
1068
|
+
onClick: "onclick",
|
|
1069
|
+
onClose: "onclose",
|
|
1070
|
+
onCopy: "oncopy",
|
|
1071
|
+
onCueChange: "oncuechange",
|
|
1072
|
+
onCut: "oncut",
|
|
1073
|
+
onDblClick: "ondblclick",
|
|
1074
|
+
onDrag: "ondrag",
|
|
1075
|
+
onDragEnd: "ondragend",
|
|
1076
|
+
onDragEnter: "ondragenter",
|
|
1077
|
+
onDragExit: "ondragexit",
|
|
1078
|
+
onDragLeave: "ondragleave",
|
|
1079
|
+
onDragOver: "ondragover",
|
|
1080
|
+
onDragStart: "ondragstart",
|
|
1081
|
+
onDrop: "ondrop",
|
|
1082
|
+
onDurationChange: "ondurationchange",
|
|
1083
|
+
onEmptied: "onemptied",
|
|
1084
|
+
onEnd: "onend",
|
|
1085
|
+
onEnded: "onended",
|
|
1086
|
+
onError: "onerror",
|
|
1087
|
+
onFocus: "onfocus",
|
|
1088
|
+
onFocusIn: "onfocusin",
|
|
1089
|
+
onFocusOut: "onfocusout",
|
|
1090
|
+
onHashChange: "onhashchange",
|
|
1091
|
+
onInput: "oninput",
|
|
1092
|
+
onInvalid: "oninvalid",
|
|
1093
|
+
onKeyDown: "onkeydown",
|
|
1094
|
+
onKeyPress: "onkeypress",
|
|
1095
|
+
onKeyUp: "onkeyup",
|
|
1096
|
+
onLoad: "onload",
|
|
1097
|
+
onLoadedData: "onloadeddata",
|
|
1098
|
+
onLoadedMetadata: "onloadedmetadata",
|
|
1099
|
+
onLoadStart: "onloadstart",
|
|
1100
|
+
onMessage: "onmessage",
|
|
1101
|
+
onMouseDown: "onmousedown",
|
|
1102
|
+
onMouseEnter: "onmouseenter",
|
|
1103
|
+
onMouseLeave: "onmouseleave",
|
|
1104
|
+
onMouseMove: "onmousemove",
|
|
1105
|
+
onMouseOut: "onmouseout",
|
|
1106
|
+
onMouseOver: "onmouseover",
|
|
1107
|
+
onMouseUp: "onmouseup",
|
|
1108
|
+
onMouseWheel: "onmousewheel",
|
|
1109
|
+
onOffline: "onoffline",
|
|
1110
|
+
onOnline: "ononline",
|
|
1111
|
+
onPageHide: "onpagehide",
|
|
1112
|
+
onPageShow: "onpageshow",
|
|
1113
|
+
onPaste: "onpaste",
|
|
1114
|
+
onPause: "onpause",
|
|
1115
|
+
onPlay: "onplay",
|
|
1116
|
+
onPlaying: "onplaying",
|
|
1117
|
+
onPopState: "onpopstate",
|
|
1118
|
+
onProgress: "onprogress",
|
|
1119
|
+
onRateChange: "onratechange",
|
|
1120
|
+
onRepeat: "onrepeat",
|
|
1121
|
+
onReset: "onreset",
|
|
1122
|
+
onResize: "onresize",
|
|
1123
|
+
onScroll: "onscroll",
|
|
1124
|
+
onSeeked: "onseeked",
|
|
1125
|
+
onSeeking: "onseeking",
|
|
1126
|
+
onSelect: "onselect",
|
|
1127
|
+
onShow: "onshow",
|
|
1128
|
+
onStalled: "onstalled",
|
|
1129
|
+
onStorage: "onstorage",
|
|
1130
|
+
onSubmit: "onsubmit",
|
|
1131
|
+
onSuspend: "onsuspend",
|
|
1132
|
+
onTimeUpdate: "ontimeupdate",
|
|
1133
|
+
onToggle: "ontoggle",
|
|
1134
|
+
onUnload: "onunload",
|
|
1135
|
+
onVolumeChange: "onvolumechange",
|
|
1136
|
+
onWaiting: "onwaiting",
|
|
1137
|
+
onZoom: "onzoom",
|
|
1138
|
+
overlinePosition: "overline-position",
|
|
1139
|
+
overlineThickness: "overline-thickness",
|
|
1140
|
+
paintOrder: "paint-order",
|
|
1141
|
+
panose1: "panose-1",
|
|
1142
|
+
pointerEvents: "pointer-events",
|
|
1143
|
+
referrerPolicy: "referrerpolicy",
|
|
1144
|
+
renderingIntent: "rendering-intent",
|
|
1145
|
+
shapeRendering: "shape-rendering",
|
|
1146
|
+
stopColor: "stop-color",
|
|
1147
|
+
stopOpacity: "stop-opacity",
|
|
1148
|
+
strikethroughPosition: "strikethrough-position",
|
|
1149
|
+
strikethroughThickness: "strikethrough-thickness",
|
|
1150
|
+
strokeDashArray: "stroke-dasharray",
|
|
1151
|
+
strokeDashOffset: "stroke-dashoffset",
|
|
1152
|
+
strokeLineCap: "stroke-linecap",
|
|
1153
|
+
strokeLineJoin: "stroke-linejoin",
|
|
1154
|
+
strokeMiterLimit: "stroke-miterlimit",
|
|
1155
|
+
strokeOpacity: "stroke-opacity",
|
|
1156
|
+
strokeWidth: "stroke-width",
|
|
1157
|
+
tabIndex: "tabindex",
|
|
1158
|
+
textAnchor: "text-anchor",
|
|
1159
|
+
textDecoration: "text-decoration",
|
|
1160
|
+
textRendering: "text-rendering",
|
|
1161
|
+
transformOrigin: "transform-origin",
|
|
1162
|
+
typeOf: "typeof",
|
|
1163
|
+
underlinePosition: "underline-position",
|
|
1164
|
+
underlineThickness: "underline-thickness",
|
|
1165
|
+
unicodeBidi: "unicode-bidi",
|
|
1166
|
+
unicodeRange: "unicode-range",
|
|
1167
|
+
unitsPerEm: "units-per-em",
|
|
1168
|
+
vAlphabetic: "v-alphabetic",
|
|
1169
|
+
vHanging: "v-hanging",
|
|
1170
|
+
vIdeographic: "v-ideographic",
|
|
1171
|
+
vMathematical: "v-mathematical",
|
|
1172
|
+
vectorEffect: "vector-effect",
|
|
1173
|
+
vertAdvY: "vert-adv-y",
|
|
1174
|
+
vertOriginX: "vert-origin-x",
|
|
1175
|
+
vertOriginY: "vert-origin-y",
|
|
1176
|
+
wordSpacing: "word-spacing",
|
|
1177
|
+
writingMode: "writing-mode",
|
|
1178
|
+
xHeight: "x-height",
|
|
1179
|
+
playbackOrder: "playbackorder",
|
|
1180
|
+
timelineBegin: "timelinebegin"
|
|
1181
|
+
},
|
|
1182
|
+
properties: {
|
|
1183
|
+
about: q,
|
|
1184
|
+
accentHeight: W,
|
|
1185
|
+
accumulate: null,
|
|
1186
|
+
additive: null,
|
|
1187
|
+
alignmentBaseline: null,
|
|
1188
|
+
alphabetic: W,
|
|
1189
|
+
amplitude: W,
|
|
1190
|
+
arabicForm: null,
|
|
1191
|
+
ascent: W,
|
|
1192
|
+
attributeName: null,
|
|
1193
|
+
attributeType: null,
|
|
1194
|
+
azimuth: W,
|
|
1195
|
+
bandwidth: null,
|
|
1196
|
+
baselineShift: null,
|
|
1197
|
+
baseFrequency: null,
|
|
1198
|
+
baseProfile: null,
|
|
1199
|
+
bbox: null,
|
|
1200
|
+
begin: null,
|
|
1201
|
+
bias: W,
|
|
1202
|
+
by: null,
|
|
1203
|
+
calcMode: null,
|
|
1204
|
+
capHeight: W,
|
|
1205
|
+
className: G,
|
|
1206
|
+
clip: null,
|
|
1207
|
+
clipPath: null,
|
|
1208
|
+
clipPathUnits: null,
|
|
1209
|
+
clipRule: null,
|
|
1210
|
+
color: null,
|
|
1211
|
+
colorInterpolation: null,
|
|
1212
|
+
colorInterpolationFilters: null,
|
|
1213
|
+
colorProfile: null,
|
|
1214
|
+
colorRendering: null,
|
|
1215
|
+
content: null,
|
|
1216
|
+
contentScriptType: null,
|
|
1217
|
+
contentStyleType: null,
|
|
1218
|
+
crossOrigin: null,
|
|
1219
|
+
cursor: null,
|
|
1220
|
+
cx: null,
|
|
1221
|
+
cy: null,
|
|
1222
|
+
d: null,
|
|
1223
|
+
dataType: null,
|
|
1224
|
+
defaultAction: null,
|
|
1225
|
+
descent: W,
|
|
1226
|
+
diffuseConstant: W,
|
|
1227
|
+
direction: null,
|
|
1228
|
+
display: null,
|
|
1229
|
+
dur: null,
|
|
1230
|
+
divisor: W,
|
|
1231
|
+
dominantBaseline: null,
|
|
1232
|
+
download: H,
|
|
1233
|
+
dx: null,
|
|
1234
|
+
dy: null,
|
|
1235
|
+
edgeMode: null,
|
|
1236
|
+
editable: null,
|
|
1237
|
+
elevation: W,
|
|
1238
|
+
enableBackground: null,
|
|
1239
|
+
end: null,
|
|
1240
|
+
event: null,
|
|
1241
|
+
exponent: W,
|
|
1242
|
+
externalResourcesRequired: null,
|
|
1243
|
+
fill: null,
|
|
1244
|
+
fillOpacity: W,
|
|
1245
|
+
fillRule: null,
|
|
1246
|
+
filter: null,
|
|
1247
|
+
filterRes: null,
|
|
1248
|
+
filterUnits: null,
|
|
1249
|
+
floodColor: null,
|
|
1250
|
+
floodOpacity: null,
|
|
1251
|
+
focusable: null,
|
|
1252
|
+
focusHighlight: null,
|
|
1253
|
+
fontFamily: null,
|
|
1254
|
+
fontSize: null,
|
|
1255
|
+
fontSizeAdjust: null,
|
|
1256
|
+
fontStretch: null,
|
|
1257
|
+
fontStyle: null,
|
|
1258
|
+
fontVariant: null,
|
|
1259
|
+
fontWeight: null,
|
|
1260
|
+
format: null,
|
|
1261
|
+
fr: null,
|
|
1262
|
+
from: null,
|
|
1263
|
+
fx: null,
|
|
1264
|
+
fy: null,
|
|
1265
|
+
g1: K,
|
|
1266
|
+
g2: K,
|
|
1267
|
+
glyphName: K,
|
|
1268
|
+
glyphOrientationHorizontal: null,
|
|
1269
|
+
glyphOrientationVertical: null,
|
|
1270
|
+
glyphRef: null,
|
|
1271
|
+
gradientTransform: null,
|
|
1272
|
+
gradientUnits: null,
|
|
1273
|
+
handler: null,
|
|
1274
|
+
hanging: W,
|
|
1275
|
+
hatchContentUnits: null,
|
|
1276
|
+
hatchUnits: null,
|
|
1277
|
+
height: null,
|
|
1278
|
+
href: null,
|
|
1279
|
+
hrefLang: null,
|
|
1280
|
+
horizAdvX: W,
|
|
1281
|
+
horizOriginX: W,
|
|
1282
|
+
horizOriginY: W,
|
|
1283
|
+
id: null,
|
|
1284
|
+
ideographic: W,
|
|
1285
|
+
imageRendering: null,
|
|
1286
|
+
initialVisibility: null,
|
|
1287
|
+
in: null,
|
|
1288
|
+
in2: null,
|
|
1289
|
+
intercept: W,
|
|
1290
|
+
k: W,
|
|
1291
|
+
k1: W,
|
|
1292
|
+
k2: W,
|
|
1293
|
+
k3: W,
|
|
1294
|
+
k4: W,
|
|
1295
|
+
kernelMatrix: q,
|
|
1296
|
+
kernelUnitLength: null,
|
|
1297
|
+
keyPoints: null,
|
|
1298
|
+
keySplines: null,
|
|
1299
|
+
keyTimes: null,
|
|
1300
|
+
kerning: null,
|
|
1301
|
+
lang: null,
|
|
1302
|
+
lengthAdjust: null,
|
|
1303
|
+
letterSpacing: null,
|
|
1304
|
+
lightingColor: null,
|
|
1305
|
+
limitingConeAngle: W,
|
|
1306
|
+
local: null,
|
|
1307
|
+
markerEnd: null,
|
|
1308
|
+
markerMid: null,
|
|
1309
|
+
markerStart: null,
|
|
1310
|
+
markerHeight: null,
|
|
1311
|
+
markerUnits: null,
|
|
1312
|
+
markerWidth: null,
|
|
1313
|
+
mask: null,
|
|
1314
|
+
maskContentUnits: null,
|
|
1315
|
+
maskType: null,
|
|
1316
|
+
maskUnits: null,
|
|
1317
|
+
mathematical: null,
|
|
1318
|
+
max: null,
|
|
1319
|
+
media: null,
|
|
1320
|
+
mediaCharacterEncoding: null,
|
|
1321
|
+
mediaContentEncodings: null,
|
|
1322
|
+
mediaSize: W,
|
|
1323
|
+
mediaTime: null,
|
|
1324
|
+
method: null,
|
|
1325
|
+
min: null,
|
|
1326
|
+
mode: null,
|
|
1327
|
+
name: null,
|
|
1328
|
+
navDown: null,
|
|
1329
|
+
navDownLeft: null,
|
|
1330
|
+
navDownRight: null,
|
|
1331
|
+
navLeft: null,
|
|
1332
|
+
navNext: null,
|
|
1333
|
+
navPrev: null,
|
|
1334
|
+
navRight: null,
|
|
1335
|
+
navUp: null,
|
|
1336
|
+
navUpLeft: null,
|
|
1337
|
+
navUpRight: null,
|
|
1338
|
+
numOctaves: null,
|
|
1339
|
+
observer: null,
|
|
1340
|
+
offset: null,
|
|
1341
|
+
onAbort: null,
|
|
1342
|
+
onActivate: null,
|
|
1343
|
+
onAfterPrint: null,
|
|
1344
|
+
onBeforePrint: null,
|
|
1345
|
+
onBegin: null,
|
|
1346
|
+
onCancel: null,
|
|
1347
|
+
onCanPlay: null,
|
|
1348
|
+
onCanPlayThrough: null,
|
|
1349
|
+
onChange: null,
|
|
1350
|
+
onClick: null,
|
|
1351
|
+
onClose: null,
|
|
1352
|
+
onCopy: null,
|
|
1353
|
+
onCueChange: null,
|
|
1354
|
+
onCut: null,
|
|
1355
|
+
onDblClick: null,
|
|
1356
|
+
onDrag: null,
|
|
1357
|
+
onDragEnd: null,
|
|
1358
|
+
onDragEnter: null,
|
|
1359
|
+
onDragExit: null,
|
|
1360
|
+
onDragLeave: null,
|
|
1361
|
+
onDragOver: null,
|
|
1362
|
+
onDragStart: null,
|
|
1363
|
+
onDrop: null,
|
|
1364
|
+
onDurationChange: null,
|
|
1365
|
+
onEmptied: null,
|
|
1366
|
+
onEnd: null,
|
|
1367
|
+
onEnded: null,
|
|
1368
|
+
onError: null,
|
|
1369
|
+
onFocus: null,
|
|
1370
|
+
onFocusIn: null,
|
|
1371
|
+
onFocusOut: null,
|
|
1372
|
+
onHashChange: null,
|
|
1373
|
+
onInput: null,
|
|
1374
|
+
onInvalid: null,
|
|
1375
|
+
onKeyDown: null,
|
|
1376
|
+
onKeyPress: null,
|
|
1377
|
+
onKeyUp: null,
|
|
1378
|
+
onLoad: null,
|
|
1379
|
+
onLoadedData: null,
|
|
1380
|
+
onLoadedMetadata: null,
|
|
1381
|
+
onLoadStart: null,
|
|
1382
|
+
onMessage: null,
|
|
1383
|
+
onMouseDown: null,
|
|
1384
|
+
onMouseEnter: null,
|
|
1385
|
+
onMouseLeave: null,
|
|
1386
|
+
onMouseMove: null,
|
|
1387
|
+
onMouseOut: null,
|
|
1388
|
+
onMouseOver: null,
|
|
1389
|
+
onMouseUp: null,
|
|
1390
|
+
onMouseWheel: null,
|
|
1391
|
+
onOffline: null,
|
|
1392
|
+
onOnline: null,
|
|
1393
|
+
onPageHide: null,
|
|
1394
|
+
onPageShow: null,
|
|
1395
|
+
onPaste: null,
|
|
1396
|
+
onPause: null,
|
|
1397
|
+
onPlay: null,
|
|
1398
|
+
onPlaying: null,
|
|
1399
|
+
onPopState: null,
|
|
1400
|
+
onProgress: null,
|
|
1401
|
+
onRateChange: null,
|
|
1402
|
+
onRepeat: null,
|
|
1403
|
+
onReset: null,
|
|
1404
|
+
onResize: null,
|
|
1405
|
+
onScroll: null,
|
|
1406
|
+
onSeeked: null,
|
|
1407
|
+
onSeeking: null,
|
|
1408
|
+
onSelect: null,
|
|
1409
|
+
onShow: null,
|
|
1410
|
+
onStalled: null,
|
|
1411
|
+
onStorage: null,
|
|
1412
|
+
onSubmit: null,
|
|
1413
|
+
onSuspend: null,
|
|
1414
|
+
onTimeUpdate: null,
|
|
1415
|
+
onToggle: null,
|
|
1416
|
+
onUnload: null,
|
|
1417
|
+
onVolumeChange: null,
|
|
1418
|
+
onWaiting: null,
|
|
1419
|
+
onZoom: null,
|
|
1420
|
+
opacity: null,
|
|
1421
|
+
operator: null,
|
|
1422
|
+
order: null,
|
|
1423
|
+
orient: null,
|
|
1424
|
+
orientation: null,
|
|
1425
|
+
origin: null,
|
|
1426
|
+
overflow: null,
|
|
1427
|
+
overlay: null,
|
|
1428
|
+
overlinePosition: W,
|
|
1429
|
+
overlineThickness: W,
|
|
1430
|
+
paintOrder: null,
|
|
1431
|
+
panose1: null,
|
|
1432
|
+
path: null,
|
|
1433
|
+
pathLength: W,
|
|
1434
|
+
patternContentUnits: null,
|
|
1435
|
+
patternTransform: null,
|
|
1436
|
+
patternUnits: null,
|
|
1437
|
+
phase: null,
|
|
1438
|
+
ping: G,
|
|
1439
|
+
pitch: null,
|
|
1440
|
+
playbackOrder: null,
|
|
1441
|
+
pointerEvents: null,
|
|
1442
|
+
points: null,
|
|
1443
|
+
pointsAtX: W,
|
|
1444
|
+
pointsAtY: W,
|
|
1445
|
+
pointsAtZ: W,
|
|
1446
|
+
preserveAlpha: null,
|
|
1447
|
+
preserveAspectRatio: null,
|
|
1448
|
+
primitiveUnits: null,
|
|
1449
|
+
propagate: null,
|
|
1450
|
+
property: q,
|
|
1451
|
+
r: null,
|
|
1452
|
+
radius: null,
|
|
1453
|
+
referrerPolicy: null,
|
|
1454
|
+
refX: null,
|
|
1455
|
+
refY: null,
|
|
1456
|
+
rel: q,
|
|
1457
|
+
rev: q,
|
|
1458
|
+
renderingIntent: null,
|
|
1459
|
+
repeatCount: null,
|
|
1460
|
+
repeatDur: null,
|
|
1461
|
+
requiredExtensions: q,
|
|
1462
|
+
requiredFeatures: q,
|
|
1463
|
+
requiredFonts: q,
|
|
1464
|
+
requiredFormats: q,
|
|
1465
|
+
resource: null,
|
|
1466
|
+
restart: null,
|
|
1467
|
+
result: null,
|
|
1468
|
+
rotate: null,
|
|
1469
|
+
rx: null,
|
|
1470
|
+
ry: null,
|
|
1471
|
+
scale: null,
|
|
1472
|
+
seed: null,
|
|
1473
|
+
shapeRendering: null,
|
|
1474
|
+
side: null,
|
|
1475
|
+
slope: null,
|
|
1476
|
+
snapshotTime: null,
|
|
1477
|
+
specularConstant: W,
|
|
1478
|
+
specularExponent: W,
|
|
1479
|
+
spreadMethod: null,
|
|
1480
|
+
spacing: null,
|
|
1481
|
+
startOffset: null,
|
|
1482
|
+
stdDeviation: null,
|
|
1483
|
+
stemh: null,
|
|
1484
|
+
stemv: null,
|
|
1485
|
+
stitchTiles: null,
|
|
1486
|
+
stopColor: null,
|
|
1487
|
+
stopOpacity: null,
|
|
1488
|
+
strikethroughPosition: W,
|
|
1489
|
+
strikethroughThickness: W,
|
|
1490
|
+
string: null,
|
|
1491
|
+
stroke: null,
|
|
1492
|
+
strokeDashArray: q,
|
|
1493
|
+
strokeDashOffset: null,
|
|
1494
|
+
strokeLineCap: null,
|
|
1495
|
+
strokeLineJoin: null,
|
|
1496
|
+
strokeMiterLimit: W,
|
|
1497
|
+
strokeOpacity: W,
|
|
1498
|
+
strokeWidth: null,
|
|
1499
|
+
style: null,
|
|
1500
|
+
surfaceScale: W,
|
|
1501
|
+
syncBehavior: null,
|
|
1502
|
+
syncBehaviorDefault: null,
|
|
1503
|
+
syncMaster: null,
|
|
1504
|
+
syncTolerance: null,
|
|
1505
|
+
syncToleranceDefault: null,
|
|
1506
|
+
systemLanguage: q,
|
|
1507
|
+
tabIndex: W,
|
|
1508
|
+
tableValues: null,
|
|
1509
|
+
target: null,
|
|
1510
|
+
targetX: W,
|
|
1511
|
+
targetY: W,
|
|
1512
|
+
textAnchor: null,
|
|
1513
|
+
textDecoration: null,
|
|
1514
|
+
textRendering: null,
|
|
1515
|
+
textLength: null,
|
|
1516
|
+
timelineBegin: null,
|
|
1517
|
+
title: null,
|
|
1518
|
+
transformBehavior: null,
|
|
1519
|
+
type: null,
|
|
1520
|
+
typeOf: q,
|
|
1521
|
+
to: null,
|
|
1522
|
+
transform: null,
|
|
1523
|
+
transformOrigin: null,
|
|
1524
|
+
u1: null,
|
|
1525
|
+
u2: null,
|
|
1526
|
+
underlinePosition: W,
|
|
1527
|
+
underlineThickness: W,
|
|
1528
|
+
unicode: null,
|
|
1529
|
+
unicodeBidi: null,
|
|
1530
|
+
unicodeRange: null,
|
|
1531
|
+
unitsPerEm: W,
|
|
1532
|
+
values: null,
|
|
1533
|
+
vAlphabetic: W,
|
|
1534
|
+
vMathematical: W,
|
|
1535
|
+
vectorEffect: null,
|
|
1536
|
+
vHanging: W,
|
|
1537
|
+
vIdeographic: W,
|
|
1538
|
+
version: null,
|
|
1539
|
+
vertAdvY: W,
|
|
1540
|
+
vertOriginX: W,
|
|
1541
|
+
vertOriginY: W,
|
|
1542
|
+
viewBox: null,
|
|
1543
|
+
viewTarget: null,
|
|
1544
|
+
visibility: null,
|
|
1545
|
+
width: null,
|
|
1546
|
+
widths: null,
|
|
1547
|
+
wordSpacing: null,
|
|
1548
|
+
writingMode: null,
|
|
1549
|
+
x: null,
|
|
1550
|
+
x1: null,
|
|
1551
|
+
x2: null,
|
|
1552
|
+
xChannelSelector: null,
|
|
1553
|
+
xHeight: W,
|
|
1554
|
+
y: null,
|
|
1555
|
+
y1: null,
|
|
1556
|
+
y2: null,
|
|
1557
|
+
yChannelSelector: null,
|
|
1558
|
+
z: null,
|
|
1559
|
+
zoomAndPan: null
|
|
1560
|
+
},
|
|
1561
|
+
space: "svg",
|
|
1562
|
+
transform: we
|
|
1563
|
+
}), Oe = Y({
|
|
1564
|
+
properties: {
|
|
1565
|
+
xLinkActuate: null,
|
|
1566
|
+
xLinkArcRole: null,
|
|
1567
|
+
xLinkHref: null,
|
|
1568
|
+
xLinkRole: null,
|
|
1569
|
+
xLinkShow: null,
|
|
1570
|
+
xLinkTitle: null,
|
|
1571
|
+
xLinkType: null
|
|
1572
|
+
},
|
|
1573
|
+
space: "xlink",
|
|
1574
|
+
transform(e, t) {
|
|
1575
|
+
return "xlink:" + t.slice(5).toLowerCase();
|
|
1576
|
+
}
|
|
1577
|
+
}), ke = Y({
|
|
1578
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1579
|
+
properties: {
|
|
1580
|
+
xmlnsXLink: null,
|
|
1581
|
+
xmlns: null
|
|
1582
|
+
},
|
|
1583
|
+
space: "xmlns",
|
|
1584
|
+
transform: Te
|
|
1585
|
+
}), Ae = Y({
|
|
1586
|
+
properties: {
|
|
1587
|
+
xmlBase: null,
|
|
1588
|
+
xmlLang: null,
|
|
1589
|
+
xmlSpace: null
|
|
1590
|
+
},
|
|
1591
|
+
space: "xml",
|
|
1592
|
+
transform(e, t) {
|
|
1593
|
+
return "xml:" + t.slice(3).toLowerCase();
|
|
1594
|
+
}
|
|
1595
|
+
}), je = /[A-Z]/g, Me = /-[a-z]/g, Ne = /^data[-\w.:]+$/i;
|
|
1596
|
+
function Pe(e, t) {
|
|
1597
|
+
let n = ge(t), r = t, i = V;
|
|
1598
|
+
if (n in e.normal) return e.property[e.normal[n]];
|
|
1599
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && Ne.test(t)) {
|
|
1600
|
+
if (t.charAt(4) === "-") {
|
|
1601
|
+
let e = t.slice(5).replace(Me, Ie);
|
|
1602
|
+
r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
1603
|
+
} else {
|
|
1604
|
+
let e = t.slice(4);
|
|
1605
|
+
if (!Me.test(e)) {
|
|
1606
|
+
let n = e.replace(je, Fe);
|
|
1607
|
+
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
i = xe;
|
|
1611
|
+
}
|
|
1612
|
+
return new i(r, t);
|
|
1613
|
+
}
|
|
1614
|
+
function Fe(e) {
|
|
1615
|
+
return "-" + e.toLowerCase();
|
|
1616
|
+
}
|
|
1617
|
+
function Ie(e) {
|
|
1618
|
+
return e.charAt(1).toUpperCase();
|
|
1619
|
+
}
|
|
1620
|
+
//#endregion
|
|
1621
|
+
//#region node_modules/property-information/index.js
|
|
1622
|
+
var Le = he([
|
|
1623
|
+
Ce,
|
|
1624
|
+
Ee,
|
|
1625
|
+
Oe,
|
|
1626
|
+
ke,
|
|
1627
|
+
Ae
|
|
1628
|
+
], "html"), Re = he([
|
|
1629
|
+
Ce,
|
|
1630
|
+
De,
|
|
1631
|
+
Oe,
|
|
1632
|
+
ke,
|
|
1633
|
+
Ae
|
|
1634
|
+
], "svg");
|
|
1635
|
+
//#endregion
|
|
1636
|
+
//#region node_modules/comma-separated-tokens/index.js
|
|
1637
|
+
function ze(e) {
|
|
1638
|
+
let t = [], n = String(e || ""), r = n.indexOf(","), i = 0, a = !1;
|
|
1639
|
+
for (; !a;) {
|
|
1640
|
+
r === -1 && (r = n.length, a = !0);
|
|
1641
|
+
let e = n.slice(i, r).trim();
|
|
1642
|
+
(e || !a) && t.push(e), i = r + 1, r = n.indexOf(",", i);
|
|
1643
|
+
}
|
|
1644
|
+
return t;
|
|
1645
|
+
}
|
|
1646
|
+
//#endregion
|
|
1647
|
+
//#region node_modules/hast-util-parse-selector/lib/index.js
|
|
1648
|
+
var Be = /[#.]/g;
|
|
1649
|
+
function Ve(e, t) {
|
|
1650
|
+
let n = e || "", r = {}, i = 0, a, o;
|
|
1651
|
+
for (; i < n.length;) {
|
|
1652
|
+
Be.lastIndex = i;
|
|
1653
|
+
let e = Be.exec(n), t = n.slice(i, e ? e.index : n.length);
|
|
1654
|
+
t && (a ? a === "#" ? r.id = t : Array.isArray(r.className) ? r.className.push(t) : r.className = [t] : o = t, i += t.length), e && (a = e[0], i++);
|
|
1655
|
+
}
|
|
1656
|
+
return {
|
|
1657
|
+
type: "element",
|
|
1658
|
+
tagName: o || t || "div",
|
|
1659
|
+
properties: r,
|
|
1660
|
+
children: []
|
|
1661
|
+
};
|
|
1662
|
+
}
|
|
1663
|
+
//#endregion
|
|
1664
|
+
//#region node_modules/space-separated-tokens/index.js
|
|
1665
|
+
function He(e) {
|
|
1666
|
+
let t = String(e || "").trim();
|
|
1667
|
+
return t ? t.split(/[ \t\n\r\f]+/g) : [];
|
|
1668
|
+
}
|
|
1669
|
+
//#endregion
|
|
1670
|
+
//#region node_modules/hastscript/lib/create-h.js
|
|
1671
|
+
function Ue(e, t, n) {
|
|
1672
|
+
let r = n ? Ye(n) : void 0;
|
|
1673
|
+
function i(n, i, ...a) {
|
|
1674
|
+
let o;
|
|
1675
|
+
if (n == null) {
|
|
1676
|
+
o = {
|
|
1677
|
+
type: "root",
|
|
1678
|
+
children: []
|
|
1679
|
+
};
|
|
1680
|
+
let e = i;
|
|
1681
|
+
a.unshift(e);
|
|
1682
|
+
} else {
|
|
1683
|
+
o = Ve(n, t);
|
|
1684
|
+
let s = o.tagName.toLowerCase(), c = r ? r.get(s) : void 0;
|
|
1685
|
+
if (o.tagName = c || s, We(i)) a.unshift(i);
|
|
1686
|
+
else for (let [t, n] of Object.entries(i)) Ge(e, o.properties, t, n);
|
|
1687
|
+
}
|
|
1688
|
+
for (let e of a) Ke(o.children, e);
|
|
1689
|
+
return o.type === "element" && o.tagName === "template" && (o.content = {
|
|
1690
|
+
type: "root",
|
|
1691
|
+
children: o.children
|
|
1692
|
+
}, o.children = []), o;
|
|
1693
|
+
}
|
|
1694
|
+
return i;
|
|
1695
|
+
}
|
|
1696
|
+
function We(e) {
|
|
1697
|
+
if (typeof e != "object" || !e || Array.isArray(e)) return !0;
|
|
1698
|
+
if (typeof e.type != "string") return !1;
|
|
1699
|
+
let t = e, n = Object.keys(e);
|
|
1700
|
+
for (let e of n) {
|
|
1701
|
+
let n = t[e];
|
|
1702
|
+
if (n && typeof n == "object") {
|
|
1703
|
+
if (!Array.isArray(n)) return !0;
|
|
1704
|
+
let e = n;
|
|
1705
|
+
for (let t of e) if (typeof t != "number" && typeof t != "string") return !0;
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
return !!("children" in e && Array.isArray(e.children));
|
|
1709
|
+
}
|
|
1710
|
+
function Ge(e, t, n, r) {
|
|
1711
|
+
let i = Pe(e, n), a;
|
|
1712
|
+
if (r != null) {
|
|
1713
|
+
if (typeof r == "number") {
|
|
1714
|
+
if (Number.isNaN(r)) return;
|
|
1715
|
+
a = r;
|
|
1716
|
+
} else a = typeof r == "boolean" ? r : typeof r == "string" ? i.spaceSeparated ? He(r) : i.commaSeparated ? ze(r) : i.commaOrSpaceSeparated ? He(ze(r).join(" ")) : qe(i, i.property, r) : Array.isArray(r) ? [...r] : i.property === "style" ? Je(r) : String(r);
|
|
1717
|
+
if (Array.isArray(a)) {
|
|
1718
|
+
let e = [];
|
|
1719
|
+
for (let t of a) e.push(qe(i, i.property, t));
|
|
1720
|
+
a = e;
|
|
1721
|
+
}
|
|
1722
|
+
i.property === "className" && Array.isArray(t.className) && (a = t.className.concat(a)), t[i.property] = a;
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
function Ke(e, t) {
|
|
1726
|
+
if (t != null) if (typeof t == "number" || typeof t == "string") e.push({
|
|
1727
|
+
type: "text",
|
|
1728
|
+
value: String(t)
|
|
1729
|
+
});
|
|
1730
|
+
else if (Array.isArray(t)) for (let n of t) Ke(e, n);
|
|
1731
|
+
else if (typeof t == "object" && "type" in t) t.type === "root" ? Ke(e, t.children) : e.push(t);
|
|
1732
|
+
else throw Error("Expected node, nodes, or string, got `" + t + "`");
|
|
1733
|
+
}
|
|
1734
|
+
function qe(e, t, n) {
|
|
1735
|
+
if (typeof n == "string") {
|
|
1736
|
+
if (e.number && n && !Number.isNaN(Number(n))) return Number(n);
|
|
1737
|
+
if ((e.boolean || e.overloadedBoolean) && (n === "" || ge(n) === ge(t))) return !0;
|
|
1738
|
+
}
|
|
1739
|
+
return n;
|
|
1740
|
+
}
|
|
1741
|
+
function Je(e) {
|
|
1742
|
+
let t = [];
|
|
1743
|
+
for (let [n, r] of Object.entries(e)) t.push([n, r].join(": "));
|
|
1744
|
+
return t.join("; ");
|
|
1745
|
+
}
|
|
1746
|
+
function Ye(e) {
|
|
1747
|
+
let t = /* @__PURE__ */ new Map();
|
|
1748
|
+
for (let n of e) t.set(n.toLowerCase(), n);
|
|
1749
|
+
return t;
|
|
1750
|
+
}
|
|
1751
|
+
//#endregion
|
|
1752
|
+
//#region node_modules/hastscript/lib/svg-case-sensitive-tag-names.js
|
|
1753
|
+
var Xe = /* @__PURE__ */ "altGlyph.altGlyphDef.altGlyphItem.animateColor.animateMotion.animateTransform.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.glyphRef.linearGradient.radialGradient.solidColor.textArea.textPath".split("."), Ze = Ue(Le, "div");
|
|
1754
|
+
Ue(Re, "g", Xe);
|
|
1755
|
+
//#endregion
|
|
1756
|
+
//#region node_modules/character-entities-legacy/index.js
|
|
1757
|
+
var Qe = /* @__PURE__ */ "AElig.AMP.Aacute.Acirc.Agrave.Aring.Atilde.Auml.COPY.Ccedil.ETH.Eacute.Ecirc.Egrave.Euml.GT.Iacute.Icirc.Igrave.Iuml.LT.Ntilde.Oacute.Ocirc.Ograve.Oslash.Otilde.Ouml.QUOT.REG.THORN.Uacute.Ucirc.Ugrave.Uuml.Yacute.aacute.acirc.acute.aelig.agrave.amp.aring.atilde.auml.brvbar.ccedil.cedil.cent.copy.curren.deg.divide.eacute.ecirc.egrave.eth.euml.frac12.frac14.frac34.gt.iacute.icirc.iexcl.igrave.iquest.iuml.laquo.lt.macr.micro.middot.nbsp.not.ntilde.oacute.ocirc.ograve.ordf.ordm.oslash.otilde.ouml.para.plusmn.pound.quot.raquo.reg.sect.shy.sup1.sup2.sup3.szlig.thorn.times.uacute.ucirc.ugrave.uml.uuml.yacute.yen.yuml".split("."), $e = {
|
|
1758
|
+
0: "�",
|
|
1759
|
+
128: "€",
|
|
1760
|
+
130: "‚",
|
|
1761
|
+
131: "ƒ",
|
|
1762
|
+
132: "„",
|
|
1763
|
+
133: "…",
|
|
1764
|
+
134: "†",
|
|
1765
|
+
135: "‡",
|
|
1766
|
+
136: "ˆ",
|
|
1767
|
+
137: "‰",
|
|
1768
|
+
138: "Š",
|
|
1769
|
+
139: "‹",
|
|
1770
|
+
140: "Œ",
|
|
1771
|
+
142: "Ž",
|
|
1772
|
+
145: "‘",
|
|
1773
|
+
146: "’",
|
|
1774
|
+
147: "“",
|
|
1775
|
+
148: "”",
|
|
1776
|
+
149: "•",
|
|
1777
|
+
150: "–",
|
|
1778
|
+
151: "—",
|
|
1779
|
+
152: "˜",
|
|
1780
|
+
153: "™",
|
|
1781
|
+
154: "š",
|
|
1782
|
+
155: "›",
|
|
1783
|
+
156: "œ",
|
|
1784
|
+
158: "ž",
|
|
1785
|
+
159: "Ÿ"
|
|
1786
|
+
};
|
|
1787
|
+
//#endregion
|
|
1788
|
+
//#region node_modules/is-decimal/index.js
|
|
1789
|
+
function et(e) {
|
|
1790
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1791
|
+
return t >= 48 && t <= 57;
|
|
1792
|
+
}
|
|
1793
|
+
//#endregion
|
|
1794
|
+
//#region node_modules/is-hexadecimal/index.js
|
|
1795
|
+
function tt(e) {
|
|
1796
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1797
|
+
return t >= 97 && t <= 102 || t >= 65 && t <= 70 || t >= 48 && t <= 57;
|
|
1798
|
+
}
|
|
1799
|
+
//#endregion
|
|
1800
|
+
//#region node_modules/is-alphabetical/index.js
|
|
1801
|
+
function nt(e) {
|
|
1802
|
+
let t = typeof e == "string" ? e.charCodeAt(0) : e;
|
|
1803
|
+
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
1804
|
+
}
|
|
1805
|
+
//#endregion
|
|
1806
|
+
//#region node_modules/is-alphanumerical/index.js
|
|
1807
|
+
function rt(e) {
|
|
1808
|
+
return nt(e) || et(e);
|
|
1809
|
+
}
|
|
1810
|
+
//#endregion
|
|
1811
|
+
//#region node_modules/decode-named-character-reference/index.dom.js
|
|
1812
|
+
var it = document.createElement("i");
|
|
1813
|
+
function at(e) {
|
|
1814
|
+
let t = "&" + e + ";";
|
|
1815
|
+
it.innerHTML = t;
|
|
1816
|
+
let n = it.textContent;
|
|
1817
|
+
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
1818
|
+
}
|
|
1819
|
+
//#endregion
|
|
1820
|
+
//#region node_modules/parse-entities/lib/index.js
|
|
1821
|
+
var ot = [
|
|
1822
|
+
"",
|
|
1823
|
+
"Named character references must be terminated by a semicolon",
|
|
1824
|
+
"Numeric character references must be terminated by a semicolon",
|
|
1825
|
+
"Named character references cannot be empty",
|
|
1826
|
+
"Numeric character references cannot be empty",
|
|
1827
|
+
"Named character references must be known",
|
|
1828
|
+
"Numeric character references cannot be disallowed",
|
|
1829
|
+
"Numeric character references cannot be outside the permissible Unicode range"
|
|
1830
|
+
];
|
|
1831
|
+
function st(e, t) {
|
|
1832
|
+
let n = t || {}, r = typeof n.additional == "string" ? n.additional.charCodeAt(0) : n.additional, i = [], a = 0, o = -1, s = "", c, l;
|
|
1833
|
+
n.position && ("start" in n.position || "indent" in n.position ? (l = n.position.indent, c = n.position.start) : c = n.position);
|
|
1834
|
+
let u = (c ? c.line : 0) || 1, d = (c ? c.column : 0) || 1, f = m(), p;
|
|
1835
|
+
for (a--; ++a <= e.length;) if (p === 10 && (d = (l ? l[o] : 0) || 1), p = e.charCodeAt(a), p === 38) {
|
|
1836
|
+
let t = e.charCodeAt(a + 1);
|
|
1837
|
+
if (t === 9 || t === 10 || t === 12 || t === 32 || t === 38 || t === 60 || Number.isNaN(t) || r && t === r) {
|
|
1838
|
+
s += String.fromCharCode(p), d++;
|
|
1839
|
+
continue;
|
|
1840
|
+
}
|
|
1841
|
+
let o = a + 1, c = o, l = o, u;
|
|
1842
|
+
if (t === 35) {
|
|
1843
|
+
l = ++c;
|
|
1844
|
+
let t = e.charCodeAt(l);
|
|
1845
|
+
t === 88 || t === 120 ? (u = "hexadecimal", l = ++c) : u = "decimal";
|
|
1846
|
+
} else u = "named";
|
|
1847
|
+
let _ = "", v = "", y = "", b = u === "named" ? rt : u === "decimal" ? et : tt;
|
|
1848
|
+
for (l--; ++l <= e.length;) {
|
|
1849
|
+
let t = e.charCodeAt(l);
|
|
1850
|
+
if (!b(t)) break;
|
|
1851
|
+
y += String.fromCharCode(t), u === "named" && Qe.includes(y) && (_ = y, v = at(y));
|
|
1852
|
+
}
|
|
1853
|
+
let x = e.charCodeAt(l) === 59;
|
|
1854
|
+
if (x) {
|
|
1855
|
+
l++;
|
|
1856
|
+
let e = u === "named" ? at(y) : !1;
|
|
1857
|
+
e && (_ = y, v = e);
|
|
1858
|
+
}
|
|
1859
|
+
let S = 1 + l - o, C = "";
|
|
1860
|
+
if (!(!x && n.nonTerminated === !1)) if (!y) u !== "named" && h(4, S);
|
|
1861
|
+
else if (u === "named") {
|
|
1862
|
+
if (x && !v) h(5, 1);
|
|
1863
|
+
else if (_ !== y && (l = c + _.length, S = 1 + l - c, x = !1), !x) {
|
|
1864
|
+
let t = _ ? 1 : 3;
|
|
1865
|
+
if (n.attribute) {
|
|
1866
|
+
let n = e.charCodeAt(l);
|
|
1867
|
+
n === 61 ? (h(t, S), v = "") : rt(n) ? v = "" : h(t, S);
|
|
1868
|
+
} else h(t, S);
|
|
1869
|
+
}
|
|
1870
|
+
C = v;
|
|
1871
|
+
} else {
|
|
1872
|
+
x || h(2, S);
|
|
1873
|
+
let e = Number.parseInt(y, u === "hexadecimal" ? 16 : 10);
|
|
1874
|
+
if (ct(e)) h(7, S), C = "�";
|
|
1875
|
+
else if (e in $e) h(6, S), C = $e[e];
|
|
1876
|
+
else {
|
|
1877
|
+
let t = "";
|
|
1878
|
+
lt(e) && h(6, S), e > 65535 && (e -= 65536, t += String.fromCharCode(e >>> 10 | 55296), e = 56320 | e & 1023), C = t + String.fromCharCode(e);
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
if (C) {
|
|
1882
|
+
g(), f = m(), a = l - 1, d += l - o + 1, i.push(C);
|
|
1883
|
+
let t = m();
|
|
1884
|
+
t.offset++, n.reference && n.reference.call(n.referenceContext || void 0, C, {
|
|
1885
|
+
start: f,
|
|
1886
|
+
end: t
|
|
1887
|
+
}, e.slice(o - 1, l)), f = t;
|
|
1888
|
+
} else y = e.slice(o - 1, l), s += y, d += y.length, a = l - 1;
|
|
1889
|
+
} else p === 10 && (u++, o++, d = 0), Number.isNaN(p) ? g() : (s += String.fromCharCode(p), d++);
|
|
1890
|
+
return i.join("");
|
|
1891
|
+
function m() {
|
|
1892
|
+
return {
|
|
1893
|
+
line: u,
|
|
1894
|
+
column: d,
|
|
1895
|
+
offset: a + ((c ? c.offset : 0) || 0)
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
function h(e, t) {
|
|
1899
|
+
let r;
|
|
1900
|
+
n.warning && (r = m(), r.column += t, r.offset += t, n.warning.call(n.warningContext || void 0, ot[e], r, e));
|
|
1901
|
+
}
|
|
1902
|
+
function g() {
|
|
1903
|
+
s &&= (i.push(s), n.text && n.text.call(n.textContext || void 0, s, {
|
|
1904
|
+
start: f,
|
|
1905
|
+
end: m()
|
|
1906
|
+
}), "");
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
function ct(e) {
|
|
1910
|
+
return e >= 55296 && e <= 57343 || e > 1114111;
|
|
1911
|
+
}
|
|
1912
|
+
function lt(e) {
|
|
1913
|
+
return e >= 1 && e <= 8 || e === 11 || e >= 13 && e <= 31 || e >= 127 && e <= 159 || e >= 64976 && e <= 65007 || (e & 65535) == 65535 || (e & 65535) == 65534;
|
|
1914
|
+
}
|
|
1915
|
+
//#endregion
|
|
1916
|
+
//#region node_modules/refractor/lib/prism-core.js
|
|
1917
|
+
var ut = 0, dt = {}, X = {
|
|
1918
|
+
util: {
|
|
1919
|
+
type: function(e) {
|
|
1920
|
+
return Object.prototype.toString.call(e).slice(8, -1);
|
|
1921
|
+
},
|
|
1922
|
+
objId: function(e) {
|
|
1923
|
+
return e.__id || Object.defineProperty(e, "__id", { value: ++ut }), e.__id;
|
|
1924
|
+
},
|
|
1925
|
+
clone: function e(t, n) {
|
|
1926
|
+
n ||= {};
|
|
1927
|
+
var r, i;
|
|
1928
|
+
switch (X.util.type(t)) {
|
|
1929
|
+
case "Object":
|
|
1930
|
+
if (i = X.util.objId(t), n[i]) return n[i];
|
|
1931
|
+
for (var a in r = {}, n[i] = r, t) t.hasOwnProperty(a) && (r[a] = e(t[a], n));
|
|
1932
|
+
return r;
|
|
1933
|
+
case "Array": return i = X.util.objId(t), n[i] ? n[i] : (r = [], n[i] = r, t.forEach(function(t, i) {
|
|
1934
|
+
r[i] = e(t, n);
|
|
1935
|
+
}), r);
|
|
1936
|
+
default: return t;
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
languages: {
|
|
1941
|
+
plain: dt,
|
|
1942
|
+
plaintext: dt,
|
|
1943
|
+
text: dt,
|
|
1944
|
+
txt: dt,
|
|
1945
|
+
extend: function(e, t) {
|
|
1946
|
+
var n = X.util.clone(X.languages[e]);
|
|
1947
|
+
for (var r in t) n[r] = t[r];
|
|
1948
|
+
return n;
|
|
1949
|
+
},
|
|
1950
|
+
insertBefore: function(e, t, n, r) {
|
|
1951
|
+
r ||= X.languages;
|
|
1952
|
+
var i = r[e], a = {};
|
|
1953
|
+
for (var o in i) if (i.hasOwnProperty(o)) {
|
|
1954
|
+
if (o == t) for (var s in n) n.hasOwnProperty(s) && (a[s] = n[s]);
|
|
1955
|
+
n.hasOwnProperty(o) || (a[o] = i[o]);
|
|
1956
|
+
}
|
|
1957
|
+
var c = r[e];
|
|
1958
|
+
return r[e] = a, X.languages.DFS(X.languages, function(t, n) {
|
|
1959
|
+
n === c && t != e && (this[t] = a);
|
|
1960
|
+
}), a;
|
|
1961
|
+
},
|
|
1962
|
+
DFS: function e(t, n, r, i) {
|
|
1963
|
+
i ||= {};
|
|
1964
|
+
var a = X.util.objId;
|
|
1965
|
+
for (var o in t) if (t.hasOwnProperty(o)) {
|
|
1966
|
+
n.call(t, o, t[o], r || o);
|
|
1967
|
+
var s = t[o], c = X.util.type(s);
|
|
1968
|
+
c === "Object" && !i[a(s)] ? (i[a(s)] = !0, e(s, n, null, i)) : c === "Array" && !i[a(s)] && (i[a(s)] = !0, e(s, n, o, i));
|
|
1969
|
+
}
|
|
1970
|
+
}
|
|
1971
|
+
},
|
|
1972
|
+
plugins: {},
|
|
1973
|
+
highlight: function(e, t, n) {
|
|
1974
|
+
var r = {
|
|
1975
|
+
code: e,
|
|
1976
|
+
grammar: t,
|
|
1977
|
+
language: n
|
|
1978
|
+
};
|
|
1979
|
+
if (X.hooks.run("before-tokenize", r), !r.grammar) throw Error("The language \"" + r.language + "\" has no grammar.");
|
|
1980
|
+
return r.tokens = X.tokenize(r.code, r.grammar), X.hooks.run("after-tokenize", r), ft.stringify(X.util.encode(r.tokens), r.language);
|
|
1981
|
+
},
|
|
1982
|
+
tokenize: function(e, t) {
|
|
1983
|
+
var n = t.rest;
|
|
1984
|
+
if (n) {
|
|
1985
|
+
for (var r in n) t[r] = n[r];
|
|
1986
|
+
delete t.rest;
|
|
1987
|
+
}
|
|
1988
|
+
var i = new ht();
|
|
1989
|
+
return gt(i, i.head, e), mt(e, i, t, i.head, 0), vt(i);
|
|
1990
|
+
},
|
|
1991
|
+
hooks: {
|
|
1992
|
+
all: {},
|
|
1993
|
+
add: function(e, t) {
|
|
1994
|
+
var n = X.hooks.all;
|
|
1995
|
+
n[e] = n[e] || [], n[e].push(t);
|
|
1996
|
+
},
|
|
1997
|
+
run: function(e, t) {
|
|
1998
|
+
var n = X.hooks.all[e];
|
|
1999
|
+
if (!(!n || !n.length)) for (var r = 0, i; i = n[r++];) i(t);
|
|
2000
|
+
}
|
|
2001
|
+
},
|
|
2002
|
+
Token: ft
|
|
2003
|
+
};
|
|
2004
|
+
function ft(e, t, n, r) {
|
|
2005
|
+
this.type = e, this.content = t, this.alias = n, this.length = (r || "").length | 0;
|
|
2006
|
+
}
|
|
2007
|
+
function pt(e, t, n, r) {
|
|
2008
|
+
e.lastIndex = t;
|
|
2009
|
+
var i = e.exec(n);
|
|
2010
|
+
if (i && r && i[1]) {
|
|
2011
|
+
var a = i[1].length;
|
|
2012
|
+
i.index += a, i[0] = i[0].slice(a);
|
|
2013
|
+
}
|
|
2014
|
+
return i;
|
|
2015
|
+
}
|
|
2016
|
+
function mt(e, t, n, r, i, a) {
|
|
2017
|
+
for (var o in n) if (!(!n.hasOwnProperty(o) || !n[o])) {
|
|
2018
|
+
var s = n[o];
|
|
2019
|
+
s = Array.isArray(s) ? s : [s];
|
|
2020
|
+
for (var c = 0; c < s.length; ++c) {
|
|
2021
|
+
if (a && a.cause == o + "," + c) return;
|
|
2022
|
+
var l = s[c], u = l.inside, d = !!l.lookbehind, f = !!l.greedy, p = l.alias;
|
|
2023
|
+
if (f && !l.pattern.global) {
|
|
2024
|
+
var m = l.pattern.toString().match(/[imsuy]*$/)[0];
|
|
2025
|
+
l.pattern = RegExp(l.pattern.source, m + "g");
|
|
2026
|
+
}
|
|
2027
|
+
for (var h = l.pattern || l, g = r.next, _ = i; g !== t.tail && !(a && _ >= a.reach); _ += g.value.length, g = g.next) {
|
|
2028
|
+
var v = g.value;
|
|
2029
|
+
if (t.length > e.length) return;
|
|
2030
|
+
if (!(v instanceof ft)) {
|
|
2031
|
+
var y = 1, b;
|
|
2032
|
+
if (f) {
|
|
2033
|
+
if (b = pt(h, _, e, d), !b || b.index >= e.length) break;
|
|
2034
|
+
var x = b.index, S = b.index + b[0].length, C = _;
|
|
2035
|
+
for (C += g.value.length; x >= C;) g = g.next, C += g.value.length;
|
|
2036
|
+
if (C -= g.value.length, _ = C, g.value instanceof ft) continue;
|
|
2037
|
+
for (var w = g; w !== t.tail && (C < S || typeof w.value == "string"); w = w.next) y++, C += w.value.length;
|
|
2038
|
+
y--, v = e.slice(_, C), b.index -= _;
|
|
2039
|
+
} else if (b = pt(h, 0, v, d), !b) continue;
|
|
2040
|
+
var x = b.index, T = b[0], E = v.slice(0, x), D = v.slice(x + T.length), O = _ + v.length;
|
|
2041
|
+
a && O > a.reach && (a.reach = O);
|
|
2042
|
+
var k = g.prev;
|
|
2043
|
+
E && (k = gt(t, k, E), _ += E.length), _t(t, k, y);
|
|
2044
|
+
var A = new ft(o, u ? X.tokenize(T, u) : T, p, T);
|
|
2045
|
+
if (g = gt(t, k, A), D && gt(t, g, D), y > 1) {
|
|
2046
|
+
var j = {
|
|
2047
|
+
cause: o + "," + c,
|
|
2048
|
+
reach: O
|
|
2049
|
+
};
|
|
2050
|
+
mt(e, t, n, g.prev, _, j), a && j.reach > a.reach && (a.reach = j.reach);
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
}
|
|
2056
|
+
}
|
|
2057
|
+
function ht() {
|
|
2058
|
+
var e = {
|
|
2059
|
+
value: null,
|
|
2060
|
+
prev: null,
|
|
2061
|
+
next: null
|
|
2062
|
+
}, t = {
|
|
2063
|
+
value: null,
|
|
2064
|
+
prev: e,
|
|
2065
|
+
next: null
|
|
2066
|
+
};
|
|
2067
|
+
e.next = t, this.head = e, this.tail = t, this.length = 0;
|
|
2068
|
+
}
|
|
2069
|
+
function gt(e, t, n) {
|
|
2070
|
+
var r = t.next, i = {
|
|
2071
|
+
value: n,
|
|
2072
|
+
prev: t,
|
|
2073
|
+
next: r
|
|
2074
|
+
};
|
|
2075
|
+
return t.next = i, r.prev = i, e.length++, i;
|
|
2076
|
+
}
|
|
2077
|
+
function _t(e, t, n) {
|
|
2078
|
+
for (var r = t.next, i = 0; i < n && r !== e.tail; i++) r = r.next;
|
|
2079
|
+
t.next = r, r.prev = t, e.length -= i;
|
|
2080
|
+
}
|
|
2081
|
+
function vt(e) {
|
|
2082
|
+
for (var t = [], n = e.head.next; n !== e.tail;) t.push(n.value), n = n.next;
|
|
2083
|
+
return t;
|
|
2084
|
+
}
|
|
2085
|
+
var yt = X;
|
|
2086
|
+
//#endregion
|
|
2087
|
+
//#region node_modules/refractor/lib/core.js
|
|
2088
|
+
function bt() {}
|
|
2089
|
+
bt.prototype = yt;
|
|
2090
|
+
var Z = new bt();
|
|
2091
|
+
Z.highlight = xt, Z.register = St, Z.alias = Ct, Z.registered = wt, Z.listLanguages = Tt, Z.util.encode = Dt, Z.Token.stringify = Et;
|
|
2092
|
+
function xt(e, t) {
|
|
2093
|
+
if (typeof e != "string") throw TypeError("Expected `string` for `value`, got `" + e + "`");
|
|
2094
|
+
let n, r;
|
|
2095
|
+
/* c8 ignore next 2 */
|
|
2096
|
+
if (t && typeof t == "object") n = t;
|
|
2097
|
+
else {
|
|
2098
|
+
if (r = t, typeof r != "string") throw TypeError("Expected `string` for `name`, got `" + r + "`");
|
|
2099
|
+
if (Object.hasOwn(Z.languages, r)) n = Z.languages[r];
|
|
2100
|
+
else throw Error("Unknown language: `" + r + "` is not registered");
|
|
2101
|
+
}
|
|
2102
|
+
return {
|
|
2103
|
+
type: "root",
|
|
2104
|
+
children: yt.highlight.call(Z, e, n, r)
|
|
2105
|
+
};
|
|
2106
|
+
}
|
|
2107
|
+
function St(e) {
|
|
2108
|
+
if (typeof e != "function" || !e.displayName) throw Error("Expected `function` for `syntax`, got `" + e + "`");
|
|
2109
|
+
Object.hasOwn(Z.languages, e.displayName) || e(Z);
|
|
2110
|
+
}
|
|
2111
|
+
function Ct(e, t) {
|
|
2112
|
+
let n = Z.languages, r = {};
|
|
2113
|
+
typeof e == "string" ? t && (r[e] = t) : r = e;
|
|
2114
|
+
let i;
|
|
2115
|
+
for (i in r) if (Object.hasOwn(r, i)) {
|
|
2116
|
+
let e = r[i], t = typeof e == "string" ? [e] : e, a = -1;
|
|
2117
|
+
for (; ++a < t.length;) n[t[a]] = n[i];
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
function wt(e) {
|
|
2121
|
+
if (typeof e != "string") throw TypeError("Expected `string` for `aliasOrLanguage`, got `" + e + "`");
|
|
2122
|
+
return Object.hasOwn(Z.languages, e);
|
|
2123
|
+
}
|
|
2124
|
+
function Tt() {
|
|
2125
|
+
let e = Z.languages, t = [], n;
|
|
2126
|
+
for (n in e) Object.hasOwn(e, n) && typeof e[n] == "object" && t.push(n);
|
|
2127
|
+
return t;
|
|
2128
|
+
}
|
|
2129
|
+
function Et(e, t) {
|
|
2130
|
+
if (typeof e == "string") return {
|
|
2131
|
+
type: "text",
|
|
2132
|
+
value: e
|
|
2133
|
+
};
|
|
2134
|
+
if (Array.isArray(e)) {
|
|
2135
|
+
let n = [], r = -1;
|
|
2136
|
+
for (; ++r < e.length;) e[r] !== null && e[r] !== void 0 && e[r] !== "" && n.push(Et(e[r], t));
|
|
2137
|
+
return n;
|
|
2138
|
+
}
|
|
2139
|
+
let n = {
|
|
2140
|
+
attributes: {},
|
|
2141
|
+
classes: ["token", e.type],
|
|
2142
|
+
content: Et(e.content, t),
|
|
2143
|
+
language: t,
|
|
2144
|
+
tag: "span",
|
|
2145
|
+
type: e.type
|
|
2146
|
+
};
|
|
2147
|
+
return e.alias && n.classes.push(...typeof e.alias == "string" ? [e.alias] : e.alias), Z.hooks.run("wrap", n), Ze(n.tag + "." + n.classes.join("."), Ot(n.attributes), n.content);
|
|
2148
|
+
}
|
|
2149
|
+
function Dt(e) {
|
|
2150
|
+
return e;
|
|
2151
|
+
}
|
|
2152
|
+
function Ot(e) {
|
|
2153
|
+
let t;
|
|
2154
|
+
for (t in e) Object.hasOwn(e, t) && (e[t] = st(e[t]));
|
|
2155
|
+
return e;
|
|
2156
|
+
}
|
|
2157
|
+
//#endregion
|
|
2158
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/prism-light.js
|
|
2159
|
+
var Q = me(Z, {});
|
|
2160
|
+
Q.registerLanguage = function(e, t) {
|
|
2161
|
+
return Z.register(t);
|
|
2162
|
+
}, Q.alias = function(e, t) {
|
|
2163
|
+
return Z.alias(e, t);
|
|
2164
|
+
}, kt.displayName = "markup", kt.aliases = [
|
|
2165
|
+
"atom",
|
|
2166
|
+
"html",
|
|
2167
|
+
"mathml",
|
|
2168
|
+
"rss",
|
|
2169
|
+
"ssml",
|
|
2170
|
+
"svg",
|
|
2171
|
+
"xml"
|
|
2172
|
+
];
|
|
2173
|
+
function kt(e) {
|
|
2174
|
+
e.languages.markup = {
|
|
2175
|
+
comment: {
|
|
2176
|
+
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
2177
|
+
greedy: !0
|
|
2178
|
+
},
|
|
2179
|
+
prolog: {
|
|
2180
|
+
pattern: /<\?[\s\S]+?\?>/,
|
|
2181
|
+
greedy: !0
|
|
2182
|
+
},
|
|
2183
|
+
doctype: {
|
|
2184
|
+
pattern: /<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,
|
|
2185
|
+
greedy: !0,
|
|
2186
|
+
inside: {
|
|
2187
|
+
"internal-subset": {
|
|
2188
|
+
pattern: /(^[^\[]*\[)[\s\S]+(?=\]>$)/,
|
|
2189
|
+
lookbehind: !0,
|
|
2190
|
+
greedy: !0,
|
|
2191
|
+
inside: null
|
|
2192
|
+
},
|
|
2193
|
+
string: {
|
|
2194
|
+
pattern: /"[^"]*"|'[^']*'/,
|
|
2195
|
+
greedy: !0
|
|
2196
|
+
},
|
|
2197
|
+
punctuation: /^<!|>$|[[\]]/,
|
|
2198
|
+
"doctype-tag": /^DOCTYPE/i,
|
|
2199
|
+
name: /[^\s<>'"]+/
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
cdata: {
|
|
2203
|
+
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
2204
|
+
greedy: !0
|
|
2205
|
+
},
|
|
2206
|
+
tag: {
|
|
2207
|
+
pattern: /<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,
|
|
2208
|
+
greedy: !0,
|
|
2209
|
+
inside: {
|
|
2210
|
+
tag: {
|
|
2211
|
+
pattern: /^<\/?[^\s>\/]+/,
|
|
2212
|
+
inside: {
|
|
2213
|
+
punctuation: /^<\/?/,
|
|
2214
|
+
namespace: /^[^\s>\/:]+:/
|
|
2215
|
+
}
|
|
2216
|
+
},
|
|
2217
|
+
"special-attr": [],
|
|
2218
|
+
"attr-value": {
|
|
2219
|
+
pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,
|
|
2220
|
+
inside: { punctuation: [{
|
|
2221
|
+
pattern: /^=/,
|
|
2222
|
+
alias: "attr-equals"
|
|
2223
|
+
}, {
|
|
2224
|
+
pattern: /^(\s*)["']|["']$/,
|
|
2225
|
+
lookbehind: !0
|
|
2226
|
+
}] }
|
|
2227
|
+
},
|
|
2228
|
+
punctuation: /\/?>/,
|
|
2229
|
+
"attr-name": {
|
|
2230
|
+
pattern: /[^\s>\/]+/,
|
|
2231
|
+
inside: { namespace: /^[^\s>\/:]+:/ }
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
entity: [{
|
|
2236
|
+
pattern: /&[\da-z]{1,8};/i,
|
|
2237
|
+
alias: "named-entity"
|
|
2238
|
+
}, /&#x?[\da-f]{1,8};/i]
|
|
2239
|
+
}, e.languages.markup.tag.inside["attr-value"].inside.entity = e.languages.markup.entity, e.languages.markup.doctype.inside["internal-subset"].inside = e.languages.markup, e.hooks.add("wrap", function(e) {
|
|
2240
|
+
e.type === "entity" && (e.attributes.title = e.content.value.replace(/&/, "&"));
|
|
2241
|
+
}), Object.defineProperty(e.languages.markup.tag, "addInlined", { value: function(t, n) {
|
|
2242
|
+
var r = {};
|
|
2243
|
+
r["language-" + n] = {
|
|
2244
|
+
pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
|
|
2245
|
+
lookbehind: !0,
|
|
2246
|
+
inside: e.languages[n]
|
|
2247
|
+
}, r.cdata = /^<!\[CDATA\[|\]\]>$/i;
|
|
2248
|
+
var i = { "included-cdata": {
|
|
2249
|
+
pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
|
|
2250
|
+
inside: r
|
|
2251
|
+
} };
|
|
2252
|
+
i["language-" + n] = {
|
|
2253
|
+
pattern: /[\s\S]+/,
|
|
2254
|
+
inside: e.languages[n]
|
|
2255
|
+
};
|
|
2256
|
+
var a = {};
|
|
2257
|
+
a[t] = {
|
|
2258
|
+
pattern: RegExp("(<__[^>]*>)(?:<!\\[CDATA\\[(?:[^\\]]|\\](?!\\]>))*\\]\\]>|(?!<!\\[CDATA\\[)[\\s\\S])*?(?=<\\/__>)".replace(/__/g, function() {
|
|
2259
|
+
return t;
|
|
2260
|
+
}), "i"),
|
|
2261
|
+
lookbehind: !0,
|
|
2262
|
+
greedy: !0,
|
|
2263
|
+
inside: i
|
|
2264
|
+
}, e.languages.insertBefore("markup", "cdata", a);
|
|
2265
|
+
} }), Object.defineProperty(e.languages.markup.tag, "addAttribute", { value: function(t, n) {
|
|
2266
|
+
e.languages.markup.tag.inside["special-attr"].push({
|
|
2267
|
+
pattern: RegExp("(^|[\"'\\s])(?:" + t + ")\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^\\s'\">=]+(?=[\\s>]))", "i"),
|
|
2268
|
+
lookbehind: !0,
|
|
2269
|
+
inside: {
|
|
2270
|
+
"attr-name": /^[^\s=]+/,
|
|
2271
|
+
"attr-value": {
|
|
2272
|
+
pattern: /=[\s\S]+/,
|
|
2273
|
+
inside: {
|
|
2274
|
+
value: {
|
|
2275
|
+
pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
|
|
2276
|
+
lookbehind: !0,
|
|
2277
|
+
alias: [n, "language-" + n],
|
|
2278
|
+
inside: e.languages[n]
|
|
2279
|
+
},
|
|
2280
|
+
punctuation: [{
|
|
2281
|
+
pattern: /^=/,
|
|
2282
|
+
alias: "attr-equals"
|
|
2283
|
+
}, /"|'/]
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
});
|
|
2288
|
+
} }), e.languages.html = e.languages.markup, e.languages.mathml = e.languages.markup, e.languages.svg = e.languages.markup, e.languages.xml = e.languages.extend("markup", {}), e.languages.ssml = e.languages.xml, e.languages.atom = e.languages.xml, e.languages.rss = e.languages.xml;
|
|
2289
|
+
}
|
|
2290
|
+
At.displayName = "css", At.aliases = [];
|
|
2291
|
+
function At(e) {
|
|
2292
|
+
(function(e) {
|
|
2293
|
+
var t = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
|
|
2294
|
+
e.languages.css = {
|
|
2295
|
+
comment: /\/\*[\s\S]*?\*\//,
|
|
2296
|
+
atrule: {
|
|
2297
|
+
pattern: RegExp("@[\\w-](?:[^;{\\s\"']|\\s+(?!\\s)|" + t.source + ")*?(?:;|(?=\\s*\\{))"),
|
|
2298
|
+
inside: {
|
|
2299
|
+
rule: /^@[\w-]+/,
|
|
2300
|
+
"selector-function-argument": {
|
|
2301
|
+
pattern: /(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,
|
|
2302
|
+
lookbehind: !0,
|
|
2303
|
+
alias: "selector"
|
|
2304
|
+
},
|
|
2305
|
+
keyword: {
|
|
2306
|
+
pattern: /(^|[^\w-])(?:and|not|only|or)(?![\w-])/,
|
|
2307
|
+
lookbehind: !0
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
},
|
|
2311
|
+
url: {
|
|
2312
|
+
pattern: RegExp("\\burl\\((?:" + t.source + "|(?:[^\\\\\\r\\n()\"']|\\\\[\\s\\S])*)\\)", "i"),
|
|
2313
|
+
greedy: !0,
|
|
2314
|
+
inside: {
|
|
2315
|
+
function: /^url/i,
|
|
2316
|
+
punctuation: /^\(|\)$/,
|
|
2317
|
+
string: {
|
|
2318
|
+
pattern: RegExp("^" + t.source + "$"),
|
|
2319
|
+
alias: "url"
|
|
2320
|
+
}
|
|
2321
|
+
}
|
|
2322
|
+
},
|
|
2323
|
+
selector: {
|
|
2324
|
+
pattern: RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|" + t.source + ")*(?=\\s*\\{)"),
|
|
2325
|
+
lookbehind: !0
|
|
2326
|
+
},
|
|
2327
|
+
string: {
|
|
2328
|
+
pattern: t,
|
|
2329
|
+
greedy: !0
|
|
2330
|
+
},
|
|
2331
|
+
property: {
|
|
2332
|
+
pattern: /(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,
|
|
2333
|
+
lookbehind: !0
|
|
2334
|
+
},
|
|
2335
|
+
important: /!important\b/i,
|
|
2336
|
+
function: {
|
|
2337
|
+
pattern: /(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,
|
|
2338
|
+
lookbehind: !0
|
|
2339
|
+
},
|
|
2340
|
+
punctuation: /[(){};:,]/
|
|
2341
|
+
}, e.languages.css.atrule.inside.rest = e.languages.css;
|
|
2342
|
+
var n = e.languages.markup;
|
|
2343
|
+
n && (n.tag.addInlined("style", "css"), n.tag.addAttribute("style", "css"));
|
|
2344
|
+
})(e);
|
|
2345
|
+
}
|
|
2346
|
+
jt.displayName = "clike", jt.aliases = [];
|
|
2347
|
+
function jt(e) {
|
|
2348
|
+
e.languages.clike = {
|
|
2349
|
+
comment: [{
|
|
2350
|
+
pattern: /(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,
|
|
2351
|
+
lookbehind: !0,
|
|
2352
|
+
greedy: !0
|
|
2353
|
+
}, {
|
|
2354
|
+
pattern: /(^|[^\\:])\/\/.*/,
|
|
2355
|
+
lookbehind: !0,
|
|
2356
|
+
greedy: !0
|
|
2357
|
+
}],
|
|
2358
|
+
string: {
|
|
2359
|
+
pattern: /(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,
|
|
2360
|
+
greedy: !0
|
|
2361
|
+
},
|
|
2362
|
+
"class-name": {
|
|
2363
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,
|
|
2364
|
+
lookbehind: !0,
|
|
2365
|
+
inside: { punctuation: /[.\\]/ }
|
|
2366
|
+
},
|
|
2367
|
+
keyword: /\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,
|
|
2368
|
+
boolean: /\b(?:false|true)\b/,
|
|
2369
|
+
function: /\b\w+(?=\()/,
|
|
2370
|
+
number: /\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,
|
|
2371
|
+
operator: /[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,
|
|
2372
|
+
punctuation: /[{}[\];(),.:]/
|
|
2373
|
+
};
|
|
2374
|
+
}
|
|
2375
|
+
Mt.displayName = "javascript", Mt.aliases = ["js"];
|
|
2376
|
+
function Mt(e) {
|
|
2377
|
+
e.register(jt), e.languages.javascript = e.languages.extend("clike", {
|
|
2378
|
+
"class-name": [e.languages.clike["class-name"], {
|
|
2379
|
+
pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,
|
|
2380
|
+
lookbehind: !0
|
|
2381
|
+
}],
|
|
2382
|
+
keyword: [{
|
|
2383
|
+
pattern: /((?:^|\})\s*)catch\b/,
|
|
2384
|
+
lookbehind: !0
|
|
2385
|
+
}, {
|
|
2386
|
+
pattern: /(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,
|
|
2387
|
+
lookbehind: !0
|
|
2388
|
+
}],
|
|
2389
|
+
function: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,
|
|
2390
|
+
number: {
|
|
2391
|
+
pattern: RegExp("(^|[^\\w$])(?:NaN|Infinity|0[bB][01]+(?:_[01]+)*n?|0[oO][0-7]+(?:_[0-7]+)*n?|0[xX][\\dA-Fa-f]+(?:_[\\dA-Fa-f]+)*n?|\\d+(?:_\\d+)*n|(?:\\d+(?:_\\d+)*(?:\\.(?:\\d+(?:_\\d+)*)?)?|\\.\\d+(?:_\\d+)*)(?:[Ee][+-]?\\d+(?:_\\d+)*)?)(?![\\w$])"),
|
|
2392
|
+
lookbehind: !0
|
|
2393
|
+
},
|
|
2394
|
+
operator: /--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/
|
|
2395
|
+
}), e.languages.javascript["class-name"][0].pattern = /(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/, e.languages.insertBefore("javascript", "keyword", {
|
|
2396
|
+
regex: {
|
|
2397
|
+
pattern: RegExp("((?:^|[^$\\w\\xA0-\\uFFFF.\"'\\])\\s]|\\b(?:return|yield))\\s*)\\/(?:(?:\\[(?:[^\\]\\\\\\r\\n]|\\\\.)*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}|(?:\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.|\\[(?:[^[\\]\\\\\\r\\n]|\\\\.)*\\])*\\])*\\]|\\\\.|[^/\\\\\\[\\r\\n])+\\/[dgimyus]{0,7}v[dgimyus]{0,7})(?=(?:\\s|\\/\\*(?:[^*]|\\*(?!\\/))*\\*\\/)*(?:$|[\\r\\n,.;:})\\]]|\\/\\/))"),
|
|
2398
|
+
lookbehind: !0,
|
|
2399
|
+
greedy: !0,
|
|
2400
|
+
inside: {
|
|
2401
|
+
"regex-source": {
|
|
2402
|
+
pattern: /^(\/)[\s\S]+(?=\/[a-z]*$)/,
|
|
2403
|
+
lookbehind: !0,
|
|
2404
|
+
alias: "language-regex",
|
|
2405
|
+
inside: e.languages.regex
|
|
2406
|
+
},
|
|
2407
|
+
"regex-delimiter": /^\/|\/$/,
|
|
2408
|
+
"regex-flags": /^[a-z]+$/
|
|
2409
|
+
}
|
|
2410
|
+
},
|
|
2411
|
+
"function-variable": {
|
|
2412
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,
|
|
2413
|
+
alias: "function"
|
|
2414
|
+
},
|
|
2415
|
+
parameter: [
|
|
2416
|
+
{
|
|
2417
|
+
pattern: /(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,
|
|
2418
|
+
lookbehind: !0,
|
|
2419
|
+
inside: e.languages.javascript
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
pattern: /(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,
|
|
2423
|
+
lookbehind: !0,
|
|
2424
|
+
inside: e.languages.javascript
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
pattern: /(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,
|
|
2428
|
+
lookbehind: !0,
|
|
2429
|
+
inside: e.languages.javascript
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
pattern: /((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,
|
|
2433
|
+
lookbehind: !0,
|
|
2434
|
+
inside: e.languages.javascript
|
|
2435
|
+
}
|
|
2436
|
+
],
|
|
2437
|
+
constant: /\b[A-Z](?:[A-Z_]|\dx?)*\b/
|
|
2438
|
+
}), e.languages.insertBefore("javascript", "string", {
|
|
2439
|
+
hashbang: {
|
|
2440
|
+
pattern: /^#!.*/,
|
|
2441
|
+
greedy: !0,
|
|
2442
|
+
alias: "comment"
|
|
2443
|
+
},
|
|
2444
|
+
"template-string": {
|
|
2445
|
+
pattern: /`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,
|
|
2446
|
+
greedy: !0,
|
|
2447
|
+
inside: {
|
|
2448
|
+
"template-punctuation": {
|
|
2449
|
+
pattern: /^`|`$/,
|
|
2450
|
+
alias: "string"
|
|
2451
|
+
},
|
|
2452
|
+
interpolation: {
|
|
2453
|
+
pattern: /((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,
|
|
2454
|
+
lookbehind: !0,
|
|
2455
|
+
inside: {
|
|
2456
|
+
"interpolation-punctuation": {
|
|
2457
|
+
pattern: /^\$\{|\}$/,
|
|
2458
|
+
alias: "punctuation"
|
|
2459
|
+
},
|
|
2460
|
+
rest: e.languages.javascript
|
|
2461
|
+
}
|
|
2462
|
+
},
|
|
2463
|
+
string: /[\s\S]+/
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
"string-property": {
|
|
2467
|
+
pattern: /((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,
|
|
2468
|
+
lookbehind: !0,
|
|
2469
|
+
greedy: !0,
|
|
2470
|
+
alias: "property"
|
|
2471
|
+
}
|
|
2472
|
+
}), e.languages.insertBefore("javascript", "operator", { "literal-property": {
|
|
2473
|
+
pattern: /((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,
|
|
2474
|
+
lookbehind: !0,
|
|
2475
|
+
alias: "property"
|
|
2476
|
+
} }), e.languages.markup && (e.languages.markup.tag.addInlined("script", "javascript"), e.languages.markup.tag.addAttribute("on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)", "javascript")), e.languages.js = e.languages.javascript;
|
|
2477
|
+
}
|
|
2478
|
+
Nt.displayName = "bash", Nt.aliases = ["sh", "shell"];
|
|
2479
|
+
function Nt(e) {
|
|
2480
|
+
(function(e) {
|
|
2481
|
+
var t = "\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b", n = {
|
|
2482
|
+
pattern: /(^(["']?)\w+\2)[ \t]+\S.*/,
|
|
2483
|
+
lookbehind: !0,
|
|
2484
|
+
alias: "punctuation",
|
|
2485
|
+
inside: null
|
|
2486
|
+
}, r = {
|
|
2487
|
+
bash: n,
|
|
2488
|
+
environment: {
|
|
2489
|
+
pattern: RegExp("\\$" + t),
|
|
2490
|
+
alias: "constant"
|
|
2491
|
+
},
|
|
2492
|
+
variable: [
|
|
2493
|
+
{
|
|
2494
|
+
pattern: /\$?\(\([\s\S]+?\)\)/,
|
|
2495
|
+
greedy: !0,
|
|
2496
|
+
inside: {
|
|
2497
|
+
variable: [{
|
|
2498
|
+
pattern: /(^\$\(\([\s\S]+)\)\)/,
|
|
2499
|
+
lookbehind: !0
|
|
2500
|
+
}, /^\$\(\(/],
|
|
2501
|
+
number: /\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,
|
|
2502
|
+
operator: /--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,
|
|
2503
|
+
punctuation: /\(\(?|\)\)?|,|;/
|
|
2504
|
+
}
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
pattern: /\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,
|
|
2508
|
+
greedy: !0,
|
|
2509
|
+
inside: { variable: /^\$\(|^`|\)$|`$/ }
|
|
2510
|
+
},
|
|
2511
|
+
{
|
|
2512
|
+
pattern: /\$\{[^}]+\}/,
|
|
2513
|
+
greedy: !0,
|
|
2514
|
+
inside: {
|
|
2515
|
+
operator: /:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,
|
|
2516
|
+
punctuation: /[\[\]]/,
|
|
2517
|
+
environment: {
|
|
2518
|
+
pattern: RegExp("(\\{)" + t),
|
|
2519
|
+
lookbehind: !0,
|
|
2520
|
+
alias: "constant"
|
|
2521
|
+
}
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2524
|
+
/\$(?:\w+|[#?*!@$])/
|
|
2525
|
+
],
|
|
2526
|
+
entity: /\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/
|
|
2527
|
+
};
|
|
2528
|
+
e.languages.bash = {
|
|
2529
|
+
shebang: {
|
|
2530
|
+
pattern: /^#!\s*\/.*/,
|
|
2531
|
+
alias: "important"
|
|
2532
|
+
},
|
|
2533
|
+
comment: {
|
|
2534
|
+
pattern: /(^|[^"{\\$])#.*/,
|
|
2535
|
+
lookbehind: !0
|
|
2536
|
+
},
|
|
2537
|
+
"function-name": [{
|
|
2538
|
+
pattern: /(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,
|
|
2539
|
+
lookbehind: !0,
|
|
2540
|
+
alias: "function"
|
|
2541
|
+
}, {
|
|
2542
|
+
pattern: /\b[\w-]+(?=\s*\(\s*\)\s*\{)/,
|
|
2543
|
+
alias: "function"
|
|
2544
|
+
}],
|
|
2545
|
+
"for-or-select": {
|
|
2546
|
+
pattern: /(\b(?:for|select)\s+)\w+(?=\s+in\s)/,
|
|
2547
|
+
alias: "variable",
|
|
2548
|
+
lookbehind: !0
|
|
2549
|
+
},
|
|
2550
|
+
"assign-left": {
|
|
2551
|
+
pattern: /(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,
|
|
2552
|
+
inside: { environment: {
|
|
2553
|
+
pattern: RegExp("(^|[\\s;|&]|[<>]\\()" + t),
|
|
2554
|
+
lookbehind: !0,
|
|
2555
|
+
alias: "constant"
|
|
2556
|
+
} },
|
|
2557
|
+
alias: "variable",
|
|
2558
|
+
lookbehind: !0
|
|
2559
|
+
},
|
|
2560
|
+
parameter: {
|
|
2561
|
+
pattern: /(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,
|
|
2562
|
+
alias: "variable",
|
|
2563
|
+
lookbehind: !0
|
|
2564
|
+
},
|
|
2565
|
+
string: [
|
|
2566
|
+
{
|
|
2567
|
+
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
2568
|
+
lookbehind: !0,
|
|
2569
|
+
greedy: !0,
|
|
2570
|
+
inside: r
|
|
2571
|
+
},
|
|
2572
|
+
{
|
|
2573
|
+
pattern: /((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,
|
|
2574
|
+
lookbehind: !0,
|
|
2575
|
+
greedy: !0,
|
|
2576
|
+
inside: { bash: n }
|
|
2577
|
+
},
|
|
2578
|
+
{
|
|
2579
|
+
pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
2580
|
+
lookbehind: !0,
|
|
2581
|
+
greedy: !0,
|
|
2582
|
+
inside: r
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
pattern: /(^|[^$\\])'[^']*'/,
|
|
2586
|
+
lookbehind: !0,
|
|
2587
|
+
greedy: !0
|
|
2588
|
+
},
|
|
2589
|
+
{
|
|
2590
|
+
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
2591
|
+
greedy: !0,
|
|
2592
|
+
inside: { entity: r.entity }
|
|
2593
|
+
}
|
|
2594
|
+
],
|
|
2595
|
+
environment: {
|
|
2596
|
+
pattern: RegExp("\\$?" + t),
|
|
2597
|
+
alias: "constant"
|
|
2598
|
+
},
|
|
2599
|
+
variable: r.variable,
|
|
2600
|
+
function: {
|
|
2601
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
2602
|
+
lookbehind: !0
|
|
2603
|
+
},
|
|
2604
|
+
keyword: {
|
|
2605
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,
|
|
2606
|
+
lookbehind: !0
|
|
2607
|
+
},
|
|
2608
|
+
builtin: {
|
|
2609
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,
|
|
2610
|
+
lookbehind: !0,
|
|
2611
|
+
alias: "class-name"
|
|
2612
|
+
},
|
|
2613
|
+
boolean: {
|
|
2614
|
+
pattern: /(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,
|
|
2615
|
+
lookbehind: !0
|
|
2616
|
+
},
|
|
2617
|
+
"file-descriptor": {
|
|
2618
|
+
pattern: /\B&\d\b/,
|
|
2619
|
+
alias: "important"
|
|
2620
|
+
},
|
|
2621
|
+
operator: {
|
|
2622
|
+
pattern: /\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,
|
|
2623
|
+
inside: { "file-descriptor": {
|
|
2624
|
+
pattern: /^\d/,
|
|
2625
|
+
alias: "important"
|
|
2626
|
+
} }
|
|
2627
|
+
},
|
|
2628
|
+
punctuation: /\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,
|
|
2629
|
+
number: {
|
|
2630
|
+
pattern: /(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,
|
|
2631
|
+
lookbehind: !0
|
|
2632
|
+
}
|
|
2633
|
+
}, n.inside = e.languages.bash;
|
|
2634
|
+
for (var i = [
|
|
2635
|
+
"comment",
|
|
2636
|
+
"function-name",
|
|
2637
|
+
"for-or-select",
|
|
2638
|
+
"assign-left",
|
|
2639
|
+
"parameter",
|
|
2640
|
+
"string",
|
|
2641
|
+
"environment",
|
|
2642
|
+
"function",
|
|
2643
|
+
"keyword",
|
|
2644
|
+
"builtin",
|
|
2645
|
+
"boolean",
|
|
2646
|
+
"file-descriptor",
|
|
2647
|
+
"operator",
|
|
2648
|
+
"punctuation",
|
|
2649
|
+
"number"
|
|
2650
|
+
], a = r.variable[1].inside, o = 0; o < i.length; o++) a[i[o]] = e.languages.bash[i[o]];
|
|
2651
|
+
e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
|
|
2652
|
+
})(e);
|
|
2653
|
+
}
|
|
2654
|
+
Pt.displayName = "json", Pt.aliases = ["webmanifest"];
|
|
2655
|
+
function Pt(e) {
|
|
2656
|
+
e.languages.json = {
|
|
2657
|
+
property: {
|
|
2658
|
+
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
2659
|
+
lookbehind: !0,
|
|
2660
|
+
greedy: !0
|
|
2661
|
+
},
|
|
2662
|
+
string: {
|
|
2663
|
+
pattern: /(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,
|
|
2664
|
+
lookbehind: !0,
|
|
2665
|
+
greedy: !0
|
|
2666
|
+
},
|
|
2667
|
+
comment: {
|
|
2668
|
+
pattern: /\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,
|
|
2669
|
+
greedy: !0
|
|
2670
|
+
},
|
|
2671
|
+
number: /-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,
|
|
2672
|
+
punctuation: /[{}[\],]/,
|
|
2673
|
+
operator: /:/,
|
|
2674
|
+
boolean: /\b(?:false|true)\b/,
|
|
2675
|
+
null: {
|
|
2676
|
+
pattern: /\bnull\b/,
|
|
2677
|
+
alias: "keyword"
|
|
2678
|
+
}
|
|
2679
|
+
}, e.languages.webmanifest = e.languages.json;
|
|
2680
|
+
}
|
|
2681
|
+
Ft.displayName = "typescript", Ft.aliases = ["ts"];
|
|
2682
|
+
function Ft(e) {
|
|
2683
|
+
e.register(Mt), (function(e) {
|
|
2684
|
+
e.languages.typescript = e.languages.extend("javascript", {
|
|
2685
|
+
"class-name": {
|
|
2686
|
+
pattern: /(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,
|
|
2687
|
+
lookbehind: !0,
|
|
2688
|
+
greedy: !0,
|
|
2689
|
+
inside: null
|
|
2690
|
+
},
|
|
2691
|
+
builtin: /\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/
|
|
2692
|
+
}), e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/, /\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/, /\btype\b(?=\s*(?:[\{*]|$))/), delete e.languages.typescript.parameter, delete e.languages.typescript["literal-property"];
|
|
2693
|
+
var t = e.languages.extend("typescript", {});
|
|
2694
|
+
delete t["class-name"], e.languages.typescript["class-name"].inside = t, e.languages.insertBefore("typescript", "function", {
|
|
2695
|
+
decorator: {
|
|
2696
|
+
pattern: /@[$\w\xA0-\uFFFF]+/,
|
|
2697
|
+
inside: {
|
|
2698
|
+
at: {
|
|
2699
|
+
pattern: /^@/,
|
|
2700
|
+
alias: "operator"
|
|
2701
|
+
},
|
|
2702
|
+
function: /^[\s\S]+/
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
"generic-function": {
|
|
2706
|
+
pattern: /#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,
|
|
2707
|
+
greedy: !0,
|
|
2708
|
+
inside: {
|
|
2709
|
+
function: /^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,
|
|
2710
|
+
generic: {
|
|
2711
|
+
pattern: /<[\s\S]+/,
|
|
2712
|
+
alias: "class-name",
|
|
2713
|
+
inside: t
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
}), e.languages.ts = e.languages.typescript;
|
|
2718
|
+
})(e);
|
|
2719
|
+
}
|
|
2720
|
+
It.displayName = "python", It.aliases = ["py"];
|
|
2721
|
+
function It(e) {
|
|
2722
|
+
e.languages.python = {
|
|
2723
|
+
comment: {
|
|
2724
|
+
pattern: /(^|[^\\])#.*/,
|
|
2725
|
+
lookbehind: !0,
|
|
2726
|
+
greedy: !0
|
|
2727
|
+
},
|
|
2728
|
+
"string-interpolation": {
|
|
2729
|
+
pattern: /(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,
|
|
2730
|
+
greedy: !0,
|
|
2731
|
+
inside: {
|
|
2732
|
+
interpolation: {
|
|
2733
|
+
pattern: /((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,
|
|
2734
|
+
lookbehind: !0,
|
|
2735
|
+
inside: {
|
|
2736
|
+
"format-spec": {
|
|
2737
|
+
pattern: /(:)[^:(){}]+(?=\}$)/,
|
|
2738
|
+
lookbehind: !0
|
|
2739
|
+
},
|
|
2740
|
+
"conversion-option": {
|
|
2741
|
+
pattern: //,
|
|
2742
|
+
alias: "punctuation"
|
|
2743
|
+
},
|
|
2744
|
+
rest: null
|
|
2745
|
+
}
|
|
2746
|
+
},
|
|
2747
|
+
string: /[\s\S]+/
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
"triple-quoted-string": {
|
|
2751
|
+
pattern: /(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,
|
|
2752
|
+
greedy: !0,
|
|
2753
|
+
alias: "string"
|
|
2754
|
+
},
|
|
2755
|
+
string: {
|
|
2756
|
+
pattern: /(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,
|
|
2757
|
+
greedy: !0
|
|
2758
|
+
},
|
|
2759
|
+
function: {
|
|
2760
|
+
pattern: /((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,
|
|
2761
|
+
lookbehind: !0
|
|
2762
|
+
},
|
|
2763
|
+
"class-name": {
|
|
2764
|
+
pattern: /(\bclass\s+)\w+/i,
|
|
2765
|
+
lookbehind: !0
|
|
2766
|
+
},
|
|
2767
|
+
decorator: {
|
|
2768
|
+
pattern: /(^[\t ]*)@\w+(?:\.\w+)*/m,
|
|
2769
|
+
lookbehind: !0,
|
|
2770
|
+
alias: ["annotation", "punctuation"],
|
|
2771
|
+
inside: { punctuation: /\./ }
|
|
2772
|
+
},
|
|
2773
|
+
keyword: /\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,
|
|
2774
|
+
builtin: /\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,
|
|
2775
|
+
boolean: /\b(?:False|None|True)\b/,
|
|
2776
|
+
number: /\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,
|
|
2777
|
+
operator: /[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,
|
|
2778
|
+
punctuation: /[{}[\];(),.:]/
|
|
2779
|
+
}, e.languages.python["string-interpolation"].inside.interpolation.inside.rest = e.languages.python, e.languages.py = e.languages.python;
|
|
2780
|
+
}
|
|
2781
|
+
Lt.displayName = "jsx", Lt.aliases = [];
|
|
2782
|
+
function Lt(e) {
|
|
2783
|
+
e.register(Mt), e.register(kt), (function(e) {
|
|
2784
|
+
var t = e.util.clone(e.languages.javascript), n = "(?:\\s|\\/\\/.*(?!.)|\\/\\*(?:[^*]|\\*(?!\\/))\\*\\/)", r = "(?:\\{(?:\\{(?:\\{[^{}]*\\}|[^{}])*\\}|[^{}])*\\})", i = "(?:\\{<S>*\\.{3}(?:[^{}]|<BRACES>)*\\})";
|
|
2785
|
+
function a(e, t) {
|
|
2786
|
+
return e = e.replace(/<S>/g, function() {
|
|
2787
|
+
return n;
|
|
2788
|
+
}).replace(/<BRACES>/g, function() {
|
|
2789
|
+
return r;
|
|
2790
|
+
}).replace(/<SPREAD>/g, function() {
|
|
2791
|
+
return i;
|
|
2792
|
+
}), RegExp(e, t);
|
|
2793
|
+
}
|
|
2794
|
+
i = a(i).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = a("<\\/?(?:[\\w.:-]+(?:<S>+(?:[\\w.:$-]+(?:=(?:\"(?:\\\\[\\s\\S]|[^\\\\\"])*\"|'(?:\\\\[\\s\\S]|[^\\\\'])*'|[^\\s{'\"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\\/?)?>"), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", { spread: {
|
|
2795
|
+
pattern: a("<SPREAD>"),
|
|
2796
|
+
inside: e.languages.jsx
|
|
2797
|
+
} }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", { script: {
|
|
2798
|
+
pattern: a("=<BRACES>"),
|
|
2799
|
+
alias: "language-javascript",
|
|
2800
|
+
inside: {
|
|
2801
|
+
"script-punctuation": {
|
|
2802
|
+
pattern: /^=(?=\{)/,
|
|
2803
|
+
alias: "punctuation"
|
|
2804
|
+
},
|
|
2805
|
+
rest: e.languages.jsx
|
|
2806
|
+
}
|
|
2807
|
+
} }, e.languages.jsx.tag);
|
|
2808
|
+
var o = function(e) {
|
|
2809
|
+
return e ? typeof e == "string" ? e : typeof e.content == "string" ? e.content : e.content.map(o).join("") : "";
|
|
2810
|
+
}, s = function(t) {
|
|
2811
|
+
for (var n = [], r = 0; r < t.length; r++) {
|
|
2812
|
+
var i = t[r], a = !1;
|
|
2813
|
+
if (typeof i != "string" && (i.type === "tag" && i.content[0] && i.content[0].type === "tag" ? i.content[0].content[0].content === "</" ? n.length > 0 && n[n.length - 1].tagName === o(i.content[0].content[1]) && n.pop() : i.content[i.content.length - 1].content === "/>" || n.push({
|
|
2814
|
+
tagName: o(i.content[0].content[1]),
|
|
2815
|
+
openedBraces: 0
|
|
2816
|
+
}) : n.length > 0 && i.type === "punctuation" && i.content === "{" ? n[n.length - 1].openedBraces++ : n.length > 0 && n[n.length - 1].openedBraces > 0 && i.type === "punctuation" && i.content === "}" ? n[n.length - 1].openedBraces-- : a = !0), (a || typeof i == "string") && n.length > 0 && n[n.length - 1].openedBraces === 0) {
|
|
2817
|
+
var c = o(i);
|
|
2818
|
+
r < t.length - 1 && (typeof t[r + 1] == "string" || t[r + 1].type === "plain-text") && (c += o(t[r + 1]), t.splice(r + 1, 1)), r > 0 && (typeof t[r - 1] == "string" || t[r - 1].type === "plain-text") && (c = o(t[r - 1]) + c, t.splice(r - 1, 1), r--), t[r] = new e.Token("plain-text", c, null, c);
|
|
2819
|
+
}
|
|
2820
|
+
i.content && typeof i.content != "string" && s(i.content);
|
|
2821
|
+
}
|
|
2822
|
+
};
|
|
2823
|
+
e.hooks.add("after-tokenize", function(e) {
|
|
2824
|
+
e.language !== "jsx" && e.language !== "tsx" || s(e.tokens);
|
|
2825
|
+
});
|
|
2826
|
+
})(e);
|
|
2827
|
+
}
|
|
2828
|
+
Rt.displayName = "tsx", Rt.aliases = [];
|
|
2829
|
+
function Rt(e) {
|
|
2830
|
+
e.register(Lt), e.register(Ft), (function(e) {
|
|
2831
|
+
var t = e.util.clone(e.languages.typescript);
|
|
2832
|
+
e.languages.tsx = e.languages.extend("jsx", t), delete e.languages.tsx.parameter, delete e.languages.tsx["literal-property"];
|
|
2833
|
+
var n = e.languages.tsx.tag;
|
|
2834
|
+
n.pattern = RegExp("(^|[^\\w$]|(?=<\\/))(?:" + n.pattern.source + ")", n.pattern.flags), n.lookbehind = !0;
|
|
2835
|
+
})(e);
|
|
2836
|
+
}
|
|
2837
|
+
//#endregion
|
|
2838
|
+
//#region node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js
|
|
2839
|
+
var zt = Lt, Bt = Rt, Vt = Pt, Ht = Nt, Ut = It, Wt = At, Gt = kt, $ = {
|
|
2840
|
+
add: "L3qApa_add",
|
|
2841
|
+
badge: "L3qApa_badge",
|
|
2842
|
+
body: "L3qApa_body",
|
|
2843
|
+
copyBtn: "L3qApa_copyBtn",
|
|
2844
|
+
head: "L3qApa_head",
|
|
2845
|
+
lang: "L3qApa_lang",
|
|
2846
|
+
langGroup: "L3qApa_langGroup",
|
|
2847
|
+
line: "L3qApa_line",
|
|
2848
|
+
numbered: "L3qApa_numbered",
|
|
2849
|
+
pre: "L3qApa_pre",
|
|
2850
|
+
remove: "L3qApa_remove",
|
|
2851
|
+
wrap: "L3qApa_wrap"
|
|
2852
|
+
};
|
|
2853
|
+
Q.registerLanguage("jsx", zt), Q.registerLanguage("tsx", Bt), Q.registerLanguage("json", Vt), Q.registerLanguage("bash", Ht), Q.registerLanguage("python", Ut), Q.registerLanguage("css", Wt), Q.registerLanguage("markup", Gt);
|
|
2854
|
+
var Kt = {
|
|
2855
|
+
js: "javascript",
|
|
2856
|
+
javascript: "javascript",
|
|
2857
|
+
ts: "typescript",
|
|
2858
|
+
typescript: "typescript",
|
|
2859
|
+
html: "html",
|
|
2860
|
+
css: "css",
|
|
2861
|
+
python: "python"
|
|
2862
|
+
}, qt = {
|
|
2863
|
+
js: "jsx",
|
|
2864
|
+
javascript: "jsx",
|
|
2865
|
+
jsx: "jsx",
|
|
2866
|
+
ts: "tsx",
|
|
2867
|
+
typescript: "tsx",
|
|
2868
|
+
tsx: "tsx",
|
|
2869
|
+
json: "json",
|
|
2870
|
+
bash: "bash",
|
|
2871
|
+
sh: "bash",
|
|
2872
|
+
shell: "bash",
|
|
2873
|
+
python: "python",
|
|
2874
|
+
py: "python",
|
|
2875
|
+
css: "css",
|
|
2876
|
+
scss: "css",
|
|
2877
|
+
html: "markup",
|
|
2878
|
+
xml: "markup",
|
|
2879
|
+
markup: "markup"
|
|
2880
|
+
}, Jt = {
|
|
2881
|
+
js: {
|
|
2882
|
+
label: "Javascript",
|
|
2883
|
+
badge: "JS",
|
|
2884
|
+
bg: "#f7df1e",
|
|
2885
|
+
fg: "#1a1a1a"
|
|
2886
|
+
},
|
|
2887
|
+
javascript: {
|
|
2888
|
+
label: "Javascript",
|
|
2889
|
+
badge: "JS",
|
|
2890
|
+
bg: "#f7df1e",
|
|
2891
|
+
fg: "#1a1a1a"
|
|
2892
|
+
},
|
|
2893
|
+
ts: {
|
|
2894
|
+
label: "Typescript",
|
|
2895
|
+
badge: "TS",
|
|
2896
|
+
bg: "#3178c6",
|
|
2897
|
+
fg: "#ffffff"
|
|
2898
|
+
},
|
|
2899
|
+
typescript: {
|
|
2900
|
+
label: "Typescript",
|
|
2901
|
+
badge: "TS",
|
|
2902
|
+
bg: "#3178c6",
|
|
2903
|
+
fg: "#ffffff"
|
|
2904
|
+
},
|
|
2905
|
+
python: {
|
|
2906
|
+
label: "Python",
|
|
2907
|
+
badge: "PY",
|
|
2908
|
+
bg: "#3776ab",
|
|
2909
|
+
fg: "#ffffff"
|
|
2910
|
+
},
|
|
2911
|
+
html: {
|
|
2912
|
+
label: "HTML",
|
|
2913
|
+
badge: "<>",
|
|
2914
|
+
bg: "#e34f26",
|
|
2915
|
+
fg: "#ffffff"
|
|
2916
|
+
},
|
|
2917
|
+
css: {
|
|
2918
|
+
label: "CSS",
|
|
2919
|
+
badge: "CSS",
|
|
2920
|
+
bg: "#1572b6",
|
|
2921
|
+
fg: "#ffffff"
|
|
2922
|
+
},
|
|
2923
|
+
json: {
|
|
2924
|
+
label: "JSON",
|
|
2925
|
+
badge: "{ }",
|
|
2926
|
+
bg: "#6b7280",
|
|
2927
|
+
fg: "#ffffff"
|
|
2928
|
+
},
|
|
2929
|
+
bash: {
|
|
2930
|
+
label: "Bash",
|
|
2931
|
+
badge: ">_",
|
|
2932
|
+
bg: "#4b5563",
|
|
2933
|
+
fg: "#ffffff"
|
|
2934
|
+
},
|
|
2935
|
+
text: {
|
|
2936
|
+
label: "Text",
|
|
2937
|
+
badge: "TXT",
|
|
2938
|
+
bg: "#9ca3af",
|
|
2939
|
+
fg: "#ffffff"
|
|
2940
|
+
}
|
|
2941
|
+
}, Yt = /\s*(?:\/\/|\/\*|#|--|<!--)?\s*\[!code\s+(\+\+?|--?)\]\s*(?:\*\/|-->)?\s*$/;
|
|
2942
|
+
function Xt(e) {
|
|
2943
|
+
return e.split("\n").map((e) => {
|
|
2944
|
+
let t = e.match(Yt);
|
|
2945
|
+
return t ? {
|
|
2946
|
+
text: e.replace(Yt, ""),
|
|
2947
|
+
kind: t[1][0] === "+" ? "add" : "remove"
|
|
2948
|
+
} : {
|
|
2949
|
+
text: e,
|
|
2950
|
+
kind: null
|
|
2951
|
+
};
|
|
2952
|
+
});
|
|
2953
|
+
}
|
|
2954
|
+
var Zt = {}, Qt = ({ children: e }) => /* @__PURE__ */ m("pre", {
|
|
2955
|
+
className: $.pre,
|
|
2956
|
+
children: e
|
|
2957
|
+
}), $t = ({ children: e }) => /* @__PURE__ */ m("code", { children: e }), en = d(({ code: e, html: i, lang: l = "text", showLines: d = !0, syntax: g = !0, diff: _ = !0, copyLabel: v = "Copy code", className: y, ...b }, x) => {
|
|
2958
|
+
let S = Jt[l] ?? Jt.text, C = Kt[l], [w, T] = t(), [E, D] = n(), O = T || D, k = p(() => _ ? Xt(e) : e.split("\n").map((e) => ({
|
|
2959
|
+
text: e,
|
|
2960
|
+
kind: null
|
|
2961
|
+
})), [e, _]), A = p(() => k.some((e) => e.kind) ? k.filter((e) => e.kind !== "remove").map((e) => e.text).join("\n") : e, [k, e]), j = f(() => {
|
|
2962
|
+
E(), w(A);
|
|
2963
|
+
}, [
|
|
2964
|
+
A,
|
|
2965
|
+
w,
|
|
2966
|
+
E
|
|
2967
|
+
]), M = r($.body, { [$.numbered]: d }), ee = qt[l], N = p(() => k.map((e) => e.text).join("\n"), [k]), P = g && !i && !!ee && N.trim().length > 0, I = (e) => r($.line, {
|
|
2968
|
+
[$.add]: e === "add",
|
|
2969
|
+
[$.remove]: e === "remove"
|
|
2970
|
+
}), te = ({ rows: e, stylesheet: t, useInlineStyles: n }) => e.map((r, i) => /* @__PURE__ */ h(u, { children: [/* @__PURE__ */ m("span", {
|
|
2971
|
+
className: I(k[i]?.kind ?? null),
|
|
2972
|
+
children: (r.children ?? []).map((e, r) => F({
|
|
2973
|
+
node: e,
|
|
2974
|
+
stylesheet: t,
|
|
2975
|
+
useInlineStyles: n,
|
|
2976
|
+
key: `c-${i}-${r}`
|
|
2977
|
+
}))
|
|
2978
|
+
}), i < e.length - 1 ? "\n" : null] }, i));
|
|
2979
|
+
return /* @__PURE__ */ h("div", {
|
|
2980
|
+
ref: x,
|
|
2981
|
+
className: r($.wrap, y),
|
|
2982
|
+
...b,
|
|
2983
|
+
children: [/* @__PURE__ */ h("div", {
|
|
2984
|
+
className: $.head,
|
|
2985
|
+
children: [/* @__PURE__ */ h("span", {
|
|
2986
|
+
className: $.langGroup,
|
|
2987
|
+
children: [C ? /* @__PURE__ */ m(c, {
|
|
2988
|
+
icon: C,
|
|
2989
|
+
size: 16,
|
|
2990
|
+
"aria-hidden": !0
|
|
2991
|
+
}) : /* @__PURE__ */ m("span", {
|
|
2992
|
+
className: $.badge,
|
|
2993
|
+
style: {
|
|
2994
|
+
background: S.bg,
|
|
2995
|
+
color: S.fg
|
|
2996
|
+
},
|
|
2997
|
+
children: S.badge
|
|
2998
|
+
}), /* @__PURE__ */ m("span", {
|
|
2999
|
+
className: $.lang,
|
|
3000
|
+
children: S.label
|
|
3001
|
+
})]
|
|
3002
|
+
}), /* @__PURE__ */ m(s, {
|
|
3003
|
+
variant: O ? "success" : "transparent",
|
|
3004
|
+
size: 100,
|
|
3005
|
+
iconRight: m(O ? a : o, {}),
|
|
3006
|
+
onClick: j,
|
|
3007
|
+
"aria-label": O ? "Copied" : v,
|
|
3008
|
+
className: $.copyBtn,
|
|
3009
|
+
children: O ? "Copied" : v
|
|
3010
|
+
})]
|
|
3011
|
+
}), i ? /* @__PURE__ */ m("div", {
|
|
3012
|
+
className: M,
|
|
3013
|
+
dangerouslySetInnerHTML: { __html: i }
|
|
3014
|
+
}) : P ? /* @__PURE__ */ m("div", {
|
|
3015
|
+
className: M,
|
|
3016
|
+
children: /* @__PURE__ */ m(Q, {
|
|
3017
|
+
language: ee,
|
|
3018
|
+
useInlineStyles: !1,
|
|
3019
|
+
style: Zt,
|
|
3020
|
+
PreTag: Qt,
|
|
3021
|
+
CodeTag: $t,
|
|
3022
|
+
wrapLines: !0,
|
|
3023
|
+
renderer: te,
|
|
3024
|
+
children: N
|
|
3025
|
+
})
|
|
3026
|
+
}) : /* @__PURE__ */ m("div", {
|
|
3027
|
+
className: M,
|
|
3028
|
+
children: /* @__PURE__ */ m("pre", {
|
|
3029
|
+
className: $.pre,
|
|
3030
|
+
children: /* @__PURE__ */ m("code", { children: k.map((e, t) => /* @__PURE__ */ h(u, { children: [/* @__PURE__ */ m("span", {
|
|
3031
|
+
className: I(e.kind),
|
|
3032
|
+
children: e.text
|
|
3033
|
+
}), t < k.length - 1 ? "\n" : null] }, t)) })
|
|
3034
|
+
})
|
|
3035
|
+
})]
|
|
3036
|
+
});
|
|
3037
|
+
});
|
|
3038
|
+
en.displayName = "CodeBlock";
|
|
3039
|
+
//#endregion
|
|
3040
|
+
export { en as t };
|