@oxide/react-asciidoc 0.1.3-alpha.7 → 0.1.3-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react-asciidoc.js +477 -467
- package/dist/react-asciidoc.umd.cjs +11 -11
- package/package.json +1 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import
|
|
3
|
-
import { default as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { default as sr } from "@asciidoctor/core";
|
|
2
|
+
import S from "html-react-parser";
|
|
3
|
+
import { default as cr } from "html-react-parser";
|
|
4
|
+
import Ke, { Fragment as Ae, useMemo as re, createElement as K, createContext as kt, useContext as Et } from "react";
|
|
5
|
+
const G = {}, U = (e) => {
|
|
6
6
|
const a = e.$$id;
|
|
7
|
-
if (
|
|
8
|
-
return
|
|
7
|
+
if (G[a])
|
|
8
|
+
return G[a];
|
|
9
9
|
const n = e.getContent() || "";
|
|
10
|
-
return
|
|
10
|
+
return G[a] = n, n;
|
|
11
11
|
}, D = (e) => {
|
|
12
12
|
const a = e.$$id;
|
|
13
|
-
if (
|
|
14
|
-
return
|
|
13
|
+
if (G[a])
|
|
14
|
+
return G[a];
|
|
15
15
|
const n = e.getText() || "";
|
|
16
|
-
return
|
|
16
|
+
return G[a] = n, n;
|
|
17
17
|
};
|
|
18
|
-
var
|
|
18
|
+
var ue = { exports: {} }, ee = {};
|
|
19
19
|
/**
|
|
20
20
|
* @license React
|
|
21
21
|
* react-jsx-runtime.production.min.js
|
|
@@ -25,25 +25,25 @@ var ce = { exports: {} }, Q = {};
|
|
|
25
25
|
* This source code is licensed under the MIT license found in the
|
|
26
26
|
* LICENSE file in the root directory of this source tree.
|
|
27
27
|
*/
|
|
28
|
-
var
|
|
28
|
+
var ze;
|
|
29
29
|
function St() {
|
|
30
|
-
if (
|
|
31
|
-
return
|
|
32
|
-
|
|
33
|
-
var e =
|
|
34
|
-
function f(b, h,
|
|
35
|
-
var
|
|
36
|
-
|
|
37
|
-
for (
|
|
38
|
-
o.call(h,
|
|
30
|
+
if (ze)
|
|
31
|
+
return ee;
|
|
32
|
+
ze = 1;
|
|
33
|
+
var e = Ke, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
34
|
+
function f(b, h, y) {
|
|
35
|
+
var m, C = {}, R = null, F = null;
|
|
36
|
+
y !== void 0 && (R = "" + y), h.key !== void 0 && (R = "" + h.key), h.ref !== void 0 && (F = h.ref);
|
|
37
|
+
for (m in h)
|
|
38
|
+
o.call(h, m) && !c.hasOwnProperty(m) && (C[m] = h[m]);
|
|
39
39
|
if (b && b.defaultProps)
|
|
40
|
-
for (
|
|
41
|
-
|
|
42
|
-
return { $$typeof: a, type: b, key:
|
|
40
|
+
for (m in h = b.defaultProps, h)
|
|
41
|
+
C[m] === void 0 && (C[m] = h[m]);
|
|
42
|
+
return { $$typeof: a, type: b, key: R, ref: F, props: C, _owner: g.current };
|
|
43
43
|
}
|
|
44
|
-
return
|
|
44
|
+
return ee.Fragment = n, ee.jsx = f, ee.jsxs = f, ee;
|
|
45
45
|
}
|
|
46
|
-
var
|
|
46
|
+
var te = {};
|
|
47
47
|
/**
|
|
48
48
|
* @license React
|
|
49
49
|
* react-jsx-runtime.development.js
|
|
@@ -53,38 +53,38 @@ var Z = {};
|
|
|
53
53
|
* This source code is licensed under the MIT license found in the
|
|
54
54
|
* LICENSE file in the root directory of this source tree.
|
|
55
55
|
*/
|
|
56
|
-
var
|
|
56
|
+
var Je;
|
|
57
57
|
function wt() {
|
|
58
|
-
return
|
|
59
|
-
var e =
|
|
60
|
-
function
|
|
58
|
+
return Je || (Je = 1, process.env.NODE_ENV !== "production" && function() {
|
|
59
|
+
var e = Ke, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), Y = Symbol.iterator, P = "@@iterator";
|
|
60
|
+
function M(t) {
|
|
61
61
|
if (t === null || typeof t != "object")
|
|
62
62
|
return null;
|
|
63
|
-
var i =
|
|
63
|
+
var i = Y && t[Y] || t[P];
|
|
64
64
|
return typeof i == "function" ? i : null;
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
function
|
|
66
|
+
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
67
|
+
function N(t) {
|
|
68
68
|
{
|
|
69
69
|
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
70
70
|
s[u - 1] = arguments[u];
|
|
71
|
-
|
|
71
|
+
he("error", t, s);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function he(t, i, s) {
|
|
75
75
|
{
|
|
76
|
-
var u =
|
|
76
|
+
var u = k.ReactDebugCurrentFrame, p = u.getStackAddendum();
|
|
77
77
|
p !== "" && (i += "%s", s = s.concat([p]));
|
|
78
|
-
var
|
|
79
|
-
return String(
|
|
78
|
+
var _ = s.map(function(v) {
|
|
79
|
+
return String(v);
|
|
80
80
|
});
|
|
81
|
-
|
|
81
|
+
_.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, _);
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
|
|
84
|
+
var ge = !1, q = !1, V = !1, X = !1, ae = !1, Te;
|
|
85
|
+
Te = Symbol.for("react.module.reference");
|
|
86
86
|
function Qe(t) {
|
|
87
|
-
return !!(typeof t == "string" || typeof t == "function" || t === o || t === c ||
|
|
87
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === c || ae || t === g || t === y || t === m || X || t === F || ge || q || V || typeof t == "object" && t !== null && (t.$$typeof === R || t.$$typeof === C || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === Te || t.getModuleId !== void 0));
|
|
88
88
|
}
|
|
89
89
|
function Ze(t, i, s) {
|
|
90
90
|
var u = t.displayName;
|
|
@@ -93,13 +93,13 @@ function wt() {
|
|
|
93
93
|
var p = i.displayName || i.name || "";
|
|
94
94
|
return p !== "" ? s + "(" + p + ")" : s;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Re(t) {
|
|
97
97
|
return t.displayName || "Context";
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function B(t) {
|
|
100
100
|
if (t == null)
|
|
101
101
|
return null;
|
|
102
|
-
if (typeof t.tag == "number" &&
|
|
102
|
+
if (typeof t.tag == "number" && N("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
103
103
|
return t.displayName || t.name || null;
|
|
104
104
|
if (typeof t == "string")
|
|
105
105
|
return t;
|
|
@@ -112,28 +112,28 @@ function wt() {
|
|
|
112
112
|
return "Profiler";
|
|
113
113
|
case g:
|
|
114
114
|
return "StrictMode";
|
|
115
|
-
case
|
|
115
|
+
case y:
|
|
116
116
|
return "Suspense";
|
|
117
|
-
case
|
|
117
|
+
case m:
|
|
118
118
|
return "SuspenseList";
|
|
119
119
|
}
|
|
120
120
|
if (typeof t == "object")
|
|
121
121
|
switch (t.$$typeof) {
|
|
122
122
|
case b:
|
|
123
123
|
var i = t;
|
|
124
|
-
return
|
|
124
|
+
return Re(i) + ".Consumer";
|
|
125
125
|
case f:
|
|
126
126
|
var s = t;
|
|
127
|
-
return
|
|
127
|
+
return Re(s._context) + ".Provider";
|
|
128
128
|
case h:
|
|
129
129
|
return Ze(t, t.render, "ForwardRef");
|
|
130
|
-
case
|
|
130
|
+
case C:
|
|
131
131
|
var u = t.displayName || null;
|
|
132
|
-
return u !== null ? u :
|
|
133
|
-
case
|
|
134
|
-
var p = t,
|
|
132
|
+
return u !== null ? u : B(t.type) || "Memo";
|
|
133
|
+
case R: {
|
|
134
|
+
var p = t, _ = p._payload, v = p._init;
|
|
135
135
|
try {
|
|
136
|
-
return
|
|
136
|
+
return B(v(_));
|
|
137
137
|
} catch {
|
|
138
138
|
return null;
|
|
139
139
|
}
|
|
@@ -141,18 +141,18 @@ function wt() {
|
|
|
141
141
|
}
|
|
142
142
|
return null;
|
|
143
143
|
}
|
|
144
|
-
var
|
|
145
|
-
function
|
|
144
|
+
var H = Object.assign, Q = 0, ke, Ee, Se, we, Ce, $e, Oe;
|
|
145
|
+
function Ie() {
|
|
146
146
|
}
|
|
147
|
-
|
|
147
|
+
Ie.__reactDisabledLog = !0;
|
|
148
148
|
function et() {
|
|
149
149
|
{
|
|
150
|
-
if (
|
|
151
|
-
|
|
150
|
+
if (Q === 0) {
|
|
151
|
+
ke = console.log, Ee = console.info, Se = console.warn, we = console.error, Ce = console.group, $e = console.groupCollapsed, Oe = console.groupEnd;
|
|
152
152
|
var t = {
|
|
153
153
|
configurable: !0,
|
|
154
154
|
enumerable: !0,
|
|
155
|
-
value:
|
|
155
|
+
value: Ie,
|
|
156
156
|
writable: !0
|
|
157
157
|
};
|
|
158
158
|
Object.defineProperties(console, {
|
|
@@ -165,199 +165,199 @@ function wt() {
|
|
|
165
165
|
groupEnd: t
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
|
-
|
|
168
|
+
Q++;
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
function tt() {
|
|
172
172
|
{
|
|
173
|
-
if (
|
|
173
|
+
if (Q--, Q === 0) {
|
|
174
174
|
var t = {
|
|
175
175
|
configurable: !0,
|
|
176
176
|
enumerable: !0,
|
|
177
177
|
writable: !0
|
|
178
178
|
};
|
|
179
179
|
Object.defineProperties(console, {
|
|
180
|
-
log:
|
|
181
|
-
value: Ne
|
|
182
|
-
}),
|
|
183
|
-
info: Y({}, t, {
|
|
184
|
-
value: Te
|
|
185
|
-
}),
|
|
186
|
-
warn: Y({}, t, {
|
|
187
|
-
value: Re
|
|
188
|
-
}),
|
|
189
|
-
error: Y({}, t, {
|
|
180
|
+
log: H({}, t, {
|
|
190
181
|
value: ke
|
|
191
182
|
}),
|
|
192
|
-
|
|
183
|
+
info: H({}, t, {
|
|
193
184
|
value: Ee
|
|
194
185
|
}),
|
|
195
|
-
|
|
186
|
+
warn: H({}, t, {
|
|
196
187
|
value: Se
|
|
197
188
|
}),
|
|
198
|
-
|
|
189
|
+
error: H({}, t, {
|
|
199
190
|
value: we
|
|
191
|
+
}),
|
|
192
|
+
group: H({}, t, {
|
|
193
|
+
value: Ce
|
|
194
|
+
}),
|
|
195
|
+
groupCollapsed: H({}, t, {
|
|
196
|
+
value: $e
|
|
197
|
+
}),
|
|
198
|
+
groupEnd: H({}, t, {
|
|
199
|
+
value: Oe
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
|
|
203
|
+
Q < 0 && N("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
var
|
|
207
|
-
function
|
|
206
|
+
var de = k.ReactCurrentDispatcher, me;
|
|
207
|
+
function ie(t, i, s) {
|
|
208
208
|
{
|
|
209
|
-
if (
|
|
209
|
+
if (me === void 0)
|
|
210
210
|
try {
|
|
211
211
|
throw Error();
|
|
212
212
|
} catch (p) {
|
|
213
213
|
var u = p.stack.trim().match(/\n( *(at )?)/);
|
|
214
|
-
|
|
214
|
+
me = u && u[1] || "";
|
|
215
215
|
}
|
|
216
216
|
return `
|
|
217
|
-
` +
|
|
217
|
+
` + me + t;
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var ve = !1, ne;
|
|
221
221
|
{
|
|
222
222
|
var rt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
223
|
-
|
|
223
|
+
ne = new rt();
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
if (!t ||
|
|
225
|
+
function xe(t, i) {
|
|
226
|
+
if (!t || ve)
|
|
227
227
|
return "";
|
|
228
228
|
{
|
|
229
|
-
var s =
|
|
229
|
+
var s = ne.get(t);
|
|
230
230
|
if (s !== void 0)
|
|
231
231
|
return s;
|
|
232
232
|
}
|
|
233
233
|
var u;
|
|
234
|
-
|
|
234
|
+
ve = !0;
|
|
235
235
|
var p = Error.prepareStackTrace;
|
|
236
236
|
Error.prepareStackTrace = void 0;
|
|
237
|
-
var
|
|
238
|
-
|
|
237
|
+
var _;
|
|
238
|
+
_ = de.current, de.current = null, et();
|
|
239
239
|
try {
|
|
240
240
|
if (i) {
|
|
241
|
-
var
|
|
241
|
+
var v = function() {
|
|
242
242
|
throw Error();
|
|
243
243
|
};
|
|
244
|
-
if (Object.defineProperty(
|
|
244
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
245
245
|
set: function() {
|
|
246
246
|
throw Error();
|
|
247
247
|
}
|
|
248
248
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
249
249
|
try {
|
|
250
|
-
Reflect.construct(
|
|
251
|
-
} catch (
|
|
252
|
-
u =
|
|
250
|
+
Reflect.construct(v, []);
|
|
251
|
+
} catch (W) {
|
|
252
|
+
u = W;
|
|
253
253
|
}
|
|
254
|
-
Reflect.construct(t, [],
|
|
254
|
+
Reflect.construct(t, [], v);
|
|
255
255
|
} else {
|
|
256
256
|
try {
|
|
257
|
-
|
|
258
|
-
} catch (
|
|
259
|
-
u =
|
|
257
|
+
v.call();
|
|
258
|
+
} catch (W) {
|
|
259
|
+
u = W;
|
|
260
260
|
}
|
|
261
|
-
t.call(
|
|
261
|
+
t.call(v.prototype);
|
|
262
262
|
}
|
|
263
263
|
} else {
|
|
264
264
|
try {
|
|
265
265
|
throw Error();
|
|
266
|
-
} catch (
|
|
267
|
-
u =
|
|
266
|
+
} catch (W) {
|
|
267
|
+
u = W;
|
|
268
268
|
}
|
|
269
269
|
t();
|
|
270
270
|
}
|
|
271
|
-
} catch (
|
|
272
|
-
if (
|
|
273
|
-
for (var d =
|
|
274
|
-
`),
|
|
275
|
-
`),
|
|
276
|
-
|
|
277
|
-
for (;
|
|
278
|
-
if (d[
|
|
279
|
-
if (
|
|
271
|
+
} catch (W) {
|
|
272
|
+
if (W && u && typeof W.stack == "string") {
|
|
273
|
+
for (var d = W.stack.split(`
|
|
274
|
+
`), O = u.stack.split(`
|
|
275
|
+
`), T = d.length - 1, E = O.length - 1; T >= 1 && E >= 0 && d[T] !== O[E]; )
|
|
276
|
+
E--;
|
|
277
|
+
for (; T >= 1 && E >= 0; T--, E--)
|
|
278
|
+
if (d[T] !== O[E]) {
|
|
279
|
+
if (T !== 1 || E !== 1)
|
|
280
280
|
do
|
|
281
|
-
if (
|
|
281
|
+
if (T--, E--, E < 0 || d[T] !== O[E]) {
|
|
282
282
|
var j = `
|
|
283
|
-
` + d[
|
|
284
|
-
return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
283
|
+
` + d[T].replace(" at new ", " at ");
|
|
284
|
+
return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && ne.set(t, j), j;
|
|
285
285
|
}
|
|
286
|
-
while (
|
|
286
|
+
while (T >= 1 && E >= 0);
|
|
287
287
|
break;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
} finally {
|
|
291
|
-
|
|
291
|
+
ve = !1, de.current = _, tt(), Error.prepareStackTrace = p;
|
|
292
292
|
}
|
|
293
|
-
var
|
|
294
|
-
return typeof t == "function" &&
|
|
293
|
+
var J = t ? t.displayName || t.name : "", Ve = J ? ie(J) : "";
|
|
294
|
+
return typeof t == "function" && ne.set(t, Ve), Ve;
|
|
295
295
|
}
|
|
296
296
|
function at(t, i, s) {
|
|
297
|
-
return
|
|
297
|
+
return xe(t, !1);
|
|
298
298
|
}
|
|
299
299
|
function it(t) {
|
|
300
300
|
var i = t.prototype;
|
|
301
301
|
return !!(i && i.isReactComponent);
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function se(t, i, s) {
|
|
304
304
|
if (t == null)
|
|
305
305
|
return "";
|
|
306
306
|
if (typeof t == "function")
|
|
307
|
-
return
|
|
307
|
+
return xe(t, it(t));
|
|
308
308
|
if (typeof t == "string")
|
|
309
|
-
return
|
|
309
|
+
return ie(t);
|
|
310
310
|
switch (t) {
|
|
311
|
-
case
|
|
312
|
-
return
|
|
313
|
-
case
|
|
314
|
-
return
|
|
311
|
+
case y:
|
|
312
|
+
return ie("Suspense");
|
|
313
|
+
case m:
|
|
314
|
+
return ie("SuspenseList");
|
|
315
315
|
}
|
|
316
316
|
if (typeof t == "object")
|
|
317
317
|
switch (t.$$typeof) {
|
|
318
318
|
case h:
|
|
319
319
|
return at(t.render);
|
|
320
|
-
case
|
|
321
|
-
return
|
|
322
|
-
case
|
|
323
|
-
var u = t, p = u._payload,
|
|
320
|
+
case C:
|
|
321
|
+
return se(t.type, i, s);
|
|
322
|
+
case R: {
|
|
323
|
+
var u = t, p = u._payload, _ = u._init;
|
|
324
324
|
try {
|
|
325
|
-
return
|
|
325
|
+
return se(_(p), i, s);
|
|
326
326
|
} catch {
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
return "";
|
|
331
331
|
}
|
|
332
|
-
var
|
|
333
|
-
function
|
|
332
|
+
var le = Object.prototype.hasOwnProperty, Pe = {}, je = k.ReactDebugCurrentFrame;
|
|
333
|
+
function ce(t) {
|
|
334
334
|
if (t) {
|
|
335
|
-
var i = t._owner, s =
|
|
336
|
-
|
|
335
|
+
var i = t._owner, s = se(t.type, t._source, i ? i.type : null);
|
|
336
|
+
je.setExtraStackFrame(s);
|
|
337
337
|
} else
|
|
338
|
-
|
|
338
|
+
je.setExtraStackFrame(null);
|
|
339
339
|
}
|
|
340
340
|
function nt(t, i, s, u, p) {
|
|
341
341
|
{
|
|
342
|
-
var
|
|
343
|
-
for (var
|
|
344
|
-
if (
|
|
342
|
+
var _ = Function.call.bind(le);
|
|
343
|
+
for (var v in t)
|
|
344
|
+
if (_(t, v)) {
|
|
345
345
|
var d = void 0;
|
|
346
346
|
try {
|
|
347
|
-
if (typeof t[
|
|
348
|
-
var
|
|
349
|
-
throw
|
|
347
|
+
if (typeof t[v] != "function") {
|
|
348
|
+
var O = Error((u || "React class") + ": " + s + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
349
|
+
throw O.name = "Invariant Violation", O;
|
|
350
350
|
}
|
|
351
|
-
d = t[
|
|
352
|
-
} catch (
|
|
353
|
-
d =
|
|
351
|
+
d = t[v](i, v, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
352
|
+
} catch (T) {
|
|
353
|
+
d = T;
|
|
354
354
|
}
|
|
355
|
-
d && !(d instanceof Error) && (
|
|
355
|
+
d && !(d instanceof Error) && (ce(p), N("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", s, v, typeof d), ce(null)), d instanceof Error && !(d.message in Pe) && (Pe[d.message] = !0, ce(p), N("Failed %s type: %s", s, d.message), ce(null));
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
var st = Array.isArray;
|
|
360
|
-
function
|
|
360
|
+
function pe(t) {
|
|
361
361
|
return st(t);
|
|
362
362
|
}
|
|
363
363
|
function lt(t) {
|
|
@@ -368,27 +368,27 @@ function wt() {
|
|
|
368
368
|
}
|
|
369
369
|
function ct(t) {
|
|
370
370
|
try {
|
|
371
|
-
return
|
|
371
|
+
return De(t), !1;
|
|
372
372
|
} catch {
|
|
373
373
|
return !0;
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function De(t) {
|
|
377
377
|
return "" + t;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Le(t) {
|
|
380
380
|
if (ct(t))
|
|
381
|
-
return
|
|
381
|
+
return N("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), De(t);
|
|
382
382
|
}
|
|
383
|
-
var
|
|
383
|
+
var Z = k.ReactCurrentOwner, ot = {
|
|
384
384
|
key: !0,
|
|
385
385
|
ref: !0,
|
|
386
386
|
__self: !0,
|
|
387
387
|
__source: !0
|
|
388
|
-
},
|
|
389
|
-
|
|
388
|
+
}, Fe, Me, be;
|
|
389
|
+
be = {};
|
|
390
390
|
function ut(t) {
|
|
391
|
-
if (
|
|
391
|
+
if (le.call(t, "ref")) {
|
|
392
392
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
393
393
|
if (i && i.isReactWarning)
|
|
394
394
|
return !1;
|
|
@@ -396,7 +396,7 @@ function wt() {
|
|
|
396
396
|
return t.ref !== void 0;
|
|
397
397
|
}
|
|
398
398
|
function ft(t) {
|
|
399
|
-
if (
|
|
399
|
+
if (le.call(t, "key")) {
|
|
400
400
|
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
401
401
|
if (i && i.isReactWarning)
|
|
402
402
|
return !1;
|
|
@@ -404,15 +404,15 @@ function wt() {
|
|
|
404
404
|
return t.key !== void 0;
|
|
405
405
|
}
|
|
406
406
|
function ht(t, i) {
|
|
407
|
-
if (typeof t.ref == "string" &&
|
|
408
|
-
var s =
|
|
409
|
-
|
|
407
|
+
if (typeof t.ref == "string" && Z.current && i && Z.current.stateNode !== i) {
|
|
408
|
+
var s = B(Z.current.type);
|
|
409
|
+
be[s] || (N('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(Z.current.type), t.ref), be[s] = !0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
function gt(t, i) {
|
|
413
413
|
{
|
|
414
414
|
var s = function() {
|
|
415
|
-
|
|
415
|
+
Fe || (Fe = !0, N("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
416
416
|
};
|
|
417
417
|
s.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
418
418
|
get: s,
|
|
@@ -423,7 +423,7 @@ function wt() {
|
|
|
423
423
|
function dt(t, i) {
|
|
424
424
|
{
|
|
425
425
|
var s = function() {
|
|
426
|
-
|
|
426
|
+
Me || (Me = !0, N("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
427
427
|
};
|
|
428
428
|
s.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
429
429
|
get: s,
|
|
@@ -431,14 +431,14 @@ function wt() {
|
|
|
431
431
|
});
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
var
|
|
434
|
+
var mt = function(t, i, s, u, p, _, v) {
|
|
435
435
|
var d = {
|
|
436
436
|
$$typeof: a,
|
|
437
437
|
type: t,
|
|
438
438
|
key: i,
|
|
439
439
|
ref: s,
|
|
440
|
-
props:
|
|
441
|
-
_owner:
|
|
440
|
+
props: v,
|
|
441
|
+
_owner: _
|
|
442
442
|
};
|
|
443
443
|
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
444
444
|
configurable: !1,
|
|
@@ -457,41 +457,41 @@ function wt() {
|
|
|
457
457
|
value: p
|
|
458
458
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
459
459
|
};
|
|
460
|
-
function
|
|
460
|
+
function vt(t, i, s, u, p) {
|
|
461
461
|
{
|
|
462
|
-
var
|
|
463
|
-
s !== void 0 && (
|
|
464
|
-
for (
|
|
465
|
-
|
|
462
|
+
var _, v = {}, d = null, O = null;
|
|
463
|
+
s !== void 0 && (Le(s), d = "" + s), ft(i) && (Le(i.key), d = "" + i.key), ut(i) && (O = i.ref, ht(i, p));
|
|
464
|
+
for (_ in i)
|
|
465
|
+
le.call(i, _) && !ot.hasOwnProperty(_) && (v[_] = i[_]);
|
|
466
466
|
if (t && t.defaultProps) {
|
|
467
|
-
var
|
|
468
|
-
for (
|
|
469
|
-
|
|
467
|
+
var T = t.defaultProps;
|
|
468
|
+
for (_ in T)
|
|
469
|
+
v[_] === void 0 && (v[_] = T[_]);
|
|
470
470
|
}
|
|
471
|
-
if (d ||
|
|
472
|
-
var
|
|
473
|
-
d && gt(
|
|
471
|
+
if (d || O) {
|
|
472
|
+
var E = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
473
|
+
d && gt(v, E), O && dt(v, E);
|
|
474
474
|
}
|
|
475
|
-
return
|
|
475
|
+
return mt(t, d, O, p, u, Z.current, v);
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
|
-
var
|
|
479
|
-
function
|
|
478
|
+
var ye = k.ReactCurrentOwner, Be = k.ReactDebugCurrentFrame;
|
|
479
|
+
function z(t) {
|
|
480
480
|
if (t) {
|
|
481
|
-
var i = t._owner, s =
|
|
482
|
-
|
|
481
|
+
var i = t._owner, s = se(t.type, t._source, i ? i.type : null);
|
|
482
|
+
Be.setExtraStackFrame(s);
|
|
483
483
|
} else
|
|
484
|
-
|
|
484
|
+
Be.setExtraStackFrame(null);
|
|
485
485
|
}
|
|
486
|
-
var
|
|
487
|
-
|
|
488
|
-
function
|
|
486
|
+
var _e;
|
|
487
|
+
_e = !1;
|
|
488
|
+
function Ne(t) {
|
|
489
489
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
490
490
|
}
|
|
491
|
-
function
|
|
491
|
+
function We() {
|
|
492
492
|
{
|
|
493
|
-
if (
|
|
494
|
-
var t =
|
|
493
|
+
if (ye.current) {
|
|
494
|
+
var t = B(ye.current.type);
|
|
495
495
|
if (t)
|
|
496
496
|
return `
|
|
497
497
|
|
|
@@ -511,10 +511,10 @@ Check your code at ` + i + ":" + s + ".";
|
|
|
511
511
|
return "";
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
var
|
|
514
|
+
var Ye = {};
|
|
515
515
|
function bt(t) {
|
|
516
516
|
{
|
|
517
|
-
var i =
|
|
517
|
+
var i = We();
|
|
518
518
|
if (!i) {
|
|
519
519
|
var s = typeof t == "string" ? t : t.displayName || t.name;
|
|
520
520
|
s && (i = `
|
|
@@ -524,35 +524,35 @@ Check the top-level render call using <` + s + ">.");
|
|
|
524
524
|
return i;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function He(t, i) {
|
|
528
528
|
{
|
|
529
529
|
if (!t._store || t._store.validated || t.key != null)
|
|
530
530
|
return;
|
|
531
531
|
t._store.validated = !0;
|
|
532
532
|
var s = bt(i);
|
|
533
|
-
if (
|
|
533
|
+
if (Ye[s])
|
|
534
534
|
return;
|
|
535
|
-
|
|
535
|
+
Ye[s] = !0;
|
|
536
536
|
var u = "";
|
|
537
|
-
t && t._owner && t._owner !==
|
|
537
|
+
t && t._owner && t._owner !== ye.current && (u = " It was passed a child from " + B(t._owner.type) + "."), z(t), N('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), z(null);
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Ue(t, i) {
|
|
541
541
|
{
|
|
542
542
|
if (typeof t != "object")
|
|
543
543
|
return;
|
|
544
|
-
if (
|
|
544
|
+
if (pe(t))
|
|
545
545
|
for (var s = 0; s < t.length; s++) {
|
|
546
546
|
var u = t[s];
|
|
547
|
-
|
|
547
|
+
Ne(u) && He(u, i);
|
|
548
548
|
}
|
|
549
|
-
else if (
|
|
549
|
+
else if (Ne(t))
|
|
550
550
|
t._store && (t._store.validated = !0);
|
|
551
551
|
else if (t) {
|
|
552
|
-
var p =
|
|
552
|
+
var p = M(t);
|
|
553
553
|
if (typeof p == "function" && p !== t.entries)
|
|
554
|
-
for (var
|
|
555
|
-
|
|
554
|
+
for (var _ = p.call(t), v; !(v = _.next()).done; )
|
|
555
|
+
Ne(v.value) && He(v.value, i);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
}
|
|
@@ -564,19 +564,19 @@ Check the top-level render call using <` + s + ">.");
|
|
|
564
564
|
var s;
|
|
565
565
|
if (typeof i == "function")
|
|
566
566
|
s = i.propTypes;
|
|
567
|
-
else if (typeof i == "object" && (i.$$typeof === h || i.$$typeof ===
|
|
567
|
+
else if (typeof i == "object" && (i.$$typeof === h || i.$$typeof === C))
|
|
568
568
|
s = i.propTypes;
|
|
569
569
|
else
|
|
570
570
|
return;
|
|
571
571
|
if (s) {
|
|
572
|
-
var u =
|
|
572
|
+
var u = B(i);
|
|
573
573
|
nt(s, t.props, "prop", u, t);
|
|
574
|
-
} else if (i.PropTypes !== void 0 && !
|
|
575
|
-
|
|
576
|
-
var p =
|
|
577
|
-
|
|
574
|
+
} else if (i.PropTypes !== void 0 && !_e) {
|
|
575
|
+
_e = !0;
|
|
576
|
+
var p = B(i);
|
|
577
|
+
N("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
578
578
|
}
|
|
579
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
579
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && N("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
function _t(t) {
|
|
@@ -584,67 +584,67 @@ Check the top-level render call using <` + s + ">.");
|
|
|
584
584
|
for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
|
|
585
585
|
var u = i[s];
|
|
586
586
|
if (u !== "children" && u !== "key") {
|
|
587
|
-
|
|
587
|
+
z(t), N("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), z(null);
|
|
588
588
|
break;
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
t.ref !== null && (
|
|
591
|
+
t.ref !== null && (z(t), N("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function qe(t, i, s, u, p, _) {
|
|
595
595
|
{
|
|
596
|
-
var
|
|
597
|
-
if (!
|
|
596
|
+
var v = Qe(t);
|
|
597
|
+
if (!v) {
|
|
598
598
|
var d = "";
|
|
599
599
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
var
|
|
603
|
-
t === null ?
|
|
600
|
+
var O = pt(p);
|
|
601
|
+
O ? d += O : d += We();
|
|
602
|
+
var T;
|
|
603
|
+
t === null ? T = "null" : pe(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (B(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, N("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, d);
|
|
604
604
|
}
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
return
|
|
608
|
-
if (
|
|
605
|
+
var E = vt(t, i, s, p, _);
|
|
606
|
+
if (E == null)
|
|
607
|
+
return E;
|
|
608
|
+
if (v) {
|
|
609
609
|
var j = i.children;
|
|
610
610
|
if (j !== void 0)
|
|
611
611
|
if (u)
|
|
612
|
-
if (
|
|
613
|
-
for (var
|
|
614
|
-
|
|
612
|
+
if (pe(j)) {
|
|
613
|
+
for (var J = 0; J < j.length; J++)
|
|
614
|
+
Ue(j[J], t);
|
|
615
615
|
Object.freeze && Object.freeze(j);
|
|
616
616
|
} else
|
|
617
|
-
|
|
617
|
+
N("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
618
618
|
else
|
|
619
|
-
|
|
619
|
+
Ue(j, t);
|
|
620
620
|
}
|
|
621
|
-
return t === o ? _t(
|
|
621
|
+
return t === o ? _t(E) : yt(E), E;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function At(t, i, s) {
|
|
625
|
-
return Ye(t, i, s, !0);
|
|
626
|
-
}
|
|
627
624
|
function Nt(t, i, s) {
|
|
628
|
-
return
|
|
625
|
+
return qe(t, i, s, !0);
|
|
626
|
+
}
|
|
627
|
+
function At(t, i, s) {
|
|
628
|
+
return qe(t, i, s, !1);
|
|
629
629
|
}
|
|
630
|
-
var Tt =
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Tt = At, Rt = Nt;
|
|
631
|
+
te.Fragment = o, te.jsx = Tt, te.jsxs = Rt;
|
|
632
|
+
}()), te;
|
|
633
633
|
}
|
|
634
634
|
(function(e) {
|
|
635
635
|
process.env.NODE_ENV === "production" ? e.exports = St() : e.exports = wt();
|
|
636
|
-
})(
|
|
637
|
-
const L =
|
|
636
|
+
})(ue);
|
|
637
|
+
const L = ue.exports.Fragment, r = ue.exports.jsx, l = ue.exports.jsxs, I = ({
|
|
638
638
|
node: e
|
|
639
639
|
}) => e.hasTitle() ? /* @__PURE__ */ r("div", {
|
|
640
640
|
className: "title",
|
|
641
|
-
children:
|
|
642
|
-
}) : null,
|
|
641
|
+
children: S(e.getTitle() || "")
|
|
642
|
+
}) : null, oe = ({
|
|
643
643
|
node: e
|
|
644
644
|
}) => e.hasTitle() ? /* @__PURE__ */ r("div", {
|
|
645
645
|
className: "title",
|
|
646
|
-
children:
|
|
647
|
-
}) : null,
|
|
646
|
+
children: S(e.getCaptionedTitle() || "")
|
|
647
|
+
}) : null, $ = (e) => typeof e.getRole() == "string" ? e.getRole() : void 0, A = (e) => e.getLineNumber() ? {
|
|
648
648
|
"data-lineno": e.getLineNumber()
|
|
649
649
|
} : {}, Ct = ({
|
|
650
650
|
node: e
|
|
@@ -658,7 +658,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
|
658
658
|
});
|
|
659
659
|
return e.content_model, /* @__PURE__ */ r("div", {
|
|
660
660
|
className: `admonitionblock ${a.name}`,
|
|
661
|
-
...
|
|
661
|
+
...A(e),
|
|
662
662
|
children: /* @__PURE__ */ r("table", {
|
|
663
663
|
children: /* @__PURE__ */ r("tbody", {
|
|
664
664
|
children: /* @__PURE__ */ l("tr", {
|
|
@@ -670,22 +670,22 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
|
670
670
|
})
|
|
671
671
|
}), /* @__PURE__ */ l("td", {
|
|
672
672
|
className: "content",
|
|
673
|
-
children: [/* @__PURE__ */ r(
|
|
673
|
+
children: [/* @__PURE__ */ r(I, {
|
|
674
674
|
node: e
|
|
675
|
-
}),
|
|
675
|
+
}), S(o)]
|
|
676
676
|
})]
|
|
677
677
|
})
|
|
678
678
|
})
|
|
679
679
|
})
|
|
680
680
|
});
|
|
681
|
-
},
|
|
681
|
+
}, $t = ({
|
|
682
682
|
node: e
|
|
683
683
|
}) => {
|
|
684
684
|
const a = e.getAttribute("start"), n = e.getAttribute("start"), o = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
|
|
685
685
|
return /* @__PURE__ */ l("div", {
|
|
686
686
|
className: "audioblock",
|
|
687
|
-
...
|
|
688
|
-
children: [/* @__PURE__ */ r(
|
|
687
|
+
...A(e),
|
|
688
|
+
children: [/* @__PURE__ */ r(I, {
|
|
689
689
|
node: e
|
|
690
690
|
}), /* @__PURE__ */ r("div", {
|
|
691
691
|
className: "content",
|
|
@@ -698,12 +698,12 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
|
698
698
|
})
|
|
699
699
|
})]
|
|
700
700
|
});
|
|
701
|
-
},
|
|
701
|
+
}, Ot = ({
|
|
702
702
|
node: e
|
|
703
703
|
}) => /* @__PURE__ */ l("div", {
|
|
704
704
|
className: "colist",
|
|
705
|
-
...
|
|
706
|
-
children: [/* @__PURE__ */ r(
|
|
705
|
+
...A(e),
|
|
706
|
+
children: [/* @__PURE__ */ r(I, {
|
|
707
707
|
node: e
|
|
708
708
|
}), /* @__PURE__ */ r("table", {
|
|
709
709
|
children: /* @__PURE__ */ r("tbody", {
|
|
@@ -716,7 +716,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
|
716
716
|
children: n + 1
|
|
717
717
|
})]
|
|
718
718
|
}), /* @__PURE__ */ l("td", {
|
|
719
|
-
children: [
|
|
719
|
+
children: [S(D(a)), /* @__PURE__ */ r(x, {
|
|
720
720
|
blocks: a.getBlocks()
|
|
721
721
|
})]
|
|
722
722
|
})]
|
|
@@ -724,7 +724,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, l = ce.exports.jsxs, x = ({
|
|
|
724
724
|
})
|
|
725
725
|
})]
|
|
726
726
|
});
|
|
727
|
-
var
|
|
727
|
+
var Ge = { exports: {} };
|
|
728
728
|
/*!
|
|
729
729
|
Copyright (c) 2018 Jed Watson.
|
|
730
730
|
Licensed under the MIT License (MIT), see
|
|
@@ -759,8 +759,8 @@ var Je = { exports: {} };
|
|
|
759
759
|
}
|
|
760
760
|
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
761
761
|
})();
|
|
762
|
-
})(
|
|
763
|
-
const
|
|
762
|
+
})(Ge);
|
|
763
|
+
const w = Ge.exports, It = ({
|
|
764
764
|
node: e
|
|
765
765
|
}) => {
|
|
766
766
|
const a = e.getStyle(), n = (c) => {
|
|
@@ -774,8 +774,8 @@ const k = Je.exports, It = ({
|
|
|
774
774
|
if (c)
|
|
775
775
|
return /* @__PURE__ */ l("dd", {
|
|
776
776
|
children: [c.hasText() && /* @__PURE__ */ r("p", {
|
|
777
|
-
children:
|
|
778
|
-
}), c.hasBlocks() && /* @__PURE__ */ r(
|
|
777
|
+
children: S(D(c))
|
|
778
|
+
}), c.hasBlocks() && /* @__PURE__ */ r(x, {
|
|
779
779
|
blocks: c.getBlocks()
|
|
780
780
|
})]
|
|
781
781
|
});
|
|
@@ -785,8 +785,8 @@ const k = Je.exports, It = ({
|
|
|
785
785
|
});
|
|
786
786
|
if (a === "qanda")
|
|
787
787
|
return /* @__PURE__ */ l("div", {
|
|
788
|
-
className:
|
|
789
|
-
...
|
|
788
|
+
className: w("qlist qanda", $(e)),
|
|
789
|
+
...A(e),
|
|
790
790
|
children: [g, /* @__PURE__ */ r("ol", {
|
|
791
791
|
children: e.getItems().map((c, f) => {
|
|
792
792
|
const {
|
|
@@ -794,11 +794,11 @@ const k = Je.exports, It = ({
|
|
|
794
794
|
dd: h
|
|
795
795
|
} = n(c);
|
|
796
796
|
return /* @__PURE__ */ l("li", {
|
|
797
|
-
children: [b.map((
|
|
797
|
+
children: [b.map((y, m) => /* @__PURE__ */ r("p", {
|
|
798
798
|
children: /* @__PURE__ */ r("em", {
|
|
799
|
-
children: D(
|
|
799
|
+
children: S(D(y))
|
|
800
800
|
})
|
|
801
|
-
},
|
|
801
|
+
}, m)), o(h)]
|
|
802
802
|
}, f);
|
|
803
803
|
})
|
|
804
804
|
})]
|
|
@@ -806,7 +806,7 @@ const k = Je.exports, It = ({
|
|
|
806
806
|
if (a === "horizontal") {
|
|
807
807
|
const c = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
|
|
808
808
|
return /* @__PURE__ */ l("div", {
|
|
809
|
-
className:
|
|
809
|
+
className: w("hdlist", $(e)),
|
|
810
810
|
children: [g, /* @__PURE__ */ l("table", {
|
|
811
811
|
children: [(c || f) && /* @__PURE__ */ l("colgroup", {
|
|
812
812
|
children: [/* @__PURE__ */ r("col", {
|
|
@@ -821,21 +821,21 @@ const k = Je.exports, It = ({
|
|
|
821
821
|
}), /* @__PURE__ */ r("tbody", {
|
|
822
822
|
children: e.getItems().map((b, h) => {
|
|
823
823
|
const {
|
|
824
|
-
terms:
|
|
825
|
-
dd:
|
|
824
|
+
terms: y,
|
|
825
|
+
dd: m
|
|
826
826
|
} = n(b);
|
|
827
827
|
return /* @__PURE__ */ l("tr", {
|
|
828
828
|
children: [/* @__PURE__ */ r("td", {
|
|
829
|
-
className:
|
|
830
|
-
children:
|
|
831
|
-
children: [
|
|
832
|
-
},
|
|
833
|
-
}),
|
|
829
|
+
className: w("hdlist1", e.isOption("strong") ? "strong" : ""),
|
|
830
|
+
children: y.map((C, R) => /* @__PURE__ */ l(Ae, {
|
|
831
|
+
children: [R !== 0 && /* @__PURE__ */ r("br", {}), S(D(C))]
|
|
832
|
+
}, R))
|
|
833
|
+
}), m && /* @__PURE__ */ l("td", {
|
|
834
834
|
className: "hdlist2",
|
|
835
|
-
children: [
|
|
836
|
-
children:
|
|
837
|
-
}),
|
|
838
|
-
blocks:
|
|
835
|
+
children: [m.hasText() && /* @__PURE__ */ r("p", {
|
|
836
|
+
children: S(D(m))
|
|
837
|
+
}), m.hasBlocks() && /* @__PURE__ */ r(x, {
|
|
838
|
+
blocks: m.getBlocks()
|
|
839
839
|
})]
|
|
840
840
|
})]
|
|
841
841
|
}, h);
|
|
@@ -845,58 +845,58 @@ const k = Je.exports, It = ({
|
|
|
845
845
|
});
|
|
846
846
|
} else
|
|
847
847
|
return /* @__PURE__ */ l("div", {
|
|
848
|
-
className:
|
|
848
|
+
className: w("dlist", e.getStyle(), $(e)),
|
|
849
849
|
children: [g, /* @__PURE__ */ r("dl", {
|
|
850
850
|
children: e.getItems().map((c, f) => {
|
|
851
851
|
const {
|
|
852
852
|
terms: b,
|
|
853
853
|
dd: h
|
|
854
854
|
} = n(c);
|
|
855
|
-
return /* @__PURE__ */ l(
|
|
856
|
-
children: [b.map((
|
|
855
|
+
return /* @__PURE__ */ l(Ae, {
|
|
856
|
+
children: [b.map((y, m) => /* @__PURE__ */ r("dt", {
|
|
857
857
|
className: "hdlist1",
|
|
858
|
-
children:
|
|
859
|
-
},
|
|
858
|
+
children: S(D(y))
|
|
859
|
+
}, m)), o(h)]
|
|
860
860
|
}, f);
|
|
861
861
|
})
|
|
862
862
|
})]
|
|
863
863
|
});
|
|
864
|
-
},
|
|
864
|
+
}, fe = ({
|
|
865
865
|
node: e,
|
|
866
866
|
opts: a
|
|
867
867
|
}) => {
|
|
868
868
|
if (!e.hasSections())
|
|
869
869
|
return null;
|
|
870
|
-
const n = e.getSections(), o = e.getDocument(), g =
|
|
870
|
+
const n = e.getSections(), o = e.getDocument(), g = re(() => o.getAttributes(), [e]), c = re(() => o.getAttribute("sectnumlevels"), [e]), f = re(() => o.getAttribute("toclevels"), [e]), b = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(c) : 3), h = (a == null ? void 0 : a.tocLevels) || (f ? parseInt(f) : 2);
|
|
871
871
|
return /* @__PURE__ */ r("ul", {
|
|
872
872
|
className: `sectlevel${n[0].getLevel()}`,
|
|
873
|
-
children: n.map((
|
|
874
|
-
let
|
|
875
|
-
|
|
876
|
-
const
|
|
877
|
-
let
|
|
878
|
-
if (
|
|
879
|
-
|
|
880
|
-
else if (
|
|
881
|
-
if (
|
|
882
|
-
const
|
|
883
|
-
|
|
873
|
+
children: n.map((y) => {
|
|
874
|
+
let m = y.$sectnum();
|
|
875
|
+
m = m === "." || m === ".." ? "" : m;
|
|
876
|
+
const C = y.getLevel();
|
|
877
|
+
let R = "";
|
|
878
|
+
if (y.getCaption())
|
|
879
|
+
R = y.getCaptionedTitle();
|
|
880
|
+
else if (C <= b)
|
|
881
|
+
if (C < 2 && o.getDoctype() == "book") {
|
|
882
|
+
const F = y.getSectionName();
|
|
883
|
+
F === "chapter" ? R = `${g["chapter-signifier"] || ""} ${m} ${y.getTitle()}` : F === "part" ? R = `${g["part-signifier"] || ""} ${m} ${y.getTitle()}` : R = `${m} ${y.getTitle()}`;
|
|
884
884
|
} else
|
|
885
|
-
|
|
885
|
+
R = `${m} ${y.getTitle()}`;
|
|
886
886
|
else
|
|
887
|
-
|
|
887
|
+
R = y.getTitle() || "";
|
|
888
888
|
return /* @__PURE__ */ l("li", {
|
|
889
889
|
children: [/* @__PURE__ */ r("a", {
|
|
890
|
-
href: `#${
|
|
891
|
-
children:
|
|
892
|
-
}),
|
|
893
|
-
node:
|
|
890
|
+
href: `#${y.getId()}`,
|
|
891
|
+
children: S(R)
|
|
892
|
+
}), C < h && /* @__PURE__ */ r(fe, {
|
|
893
|
+
node: y,
|
|
894
894
|
opts: {
|
|
895
895
|
tocLevels: h,
|
|
896
896
|
sectNumLevels: b
|
|
897
897
|
}
|
|
898
898
|
})]
|
|
899
|
-
},
|
|
899
|
+
}, y.getId());
|
|
900
900
|
})
|
|
901
901
|
});
|
|
902
902
|
}, xt = ({
|
|
@@ -917,7 +917,7 @@ const k = Je.exports, It = ({
|
|
|
917
917
|
children: [/* @__PURE__ */ r("div", {
|
|
918
918
|
id: "toctitle",
|
|
919
919
|
children: e.getAttribute("toc-title")
|
|
920
|
-
}), /* @__PURE__ */ r(
|
|
920
|
+
}), /* @__PURE__ */ r(fe, {
|
|
921
921
|
node: e
|
|
922
922
|
})]
|
|
923
923
|
})]
|
|
@@ -931,22 +931,22 @@ const k = Je.exports, It = ({
|
|
|
931
931
|
children: [/* @__PURE__ */ r("a", {
|
|
932
932
|
href: `#_footnoteref_${f.getIndex()}`,
|
|
933
933
|
children: f.getIndex()
|
|
934
|
-
}), ".", " ",
|
|
934
|
+
}), ".", " ", S(D(f) || "")]
|
|
935
935
|
}, f.getIndex()))]
|
|
936
936
|
}) : null, c = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ l("div", {
|
|
937
937
|
className: "details",
|
|
938
|
-
children: [e.getAuthors().map((b, h) => /* @__PURE__ */ l(
|
|
938
|
+
children: [e.getAuthors().map((b, h) => /* @__PURE__ */ l(Ae, {
|
|
939
939
|
children: [b.getName() && /* @__PURE__ */ l(L, {
|
|
940
940
|
children: [/* @__PURE__ */ r("span", {
|
|
941
941
|
id: `author${h + 1 > 1 ? h + 1 : ""}`,
|
|
942
942
|
className: "author",
|
|
943
|
-
children:
|
|
943
|
+
children: S(e.applySubstitutions(b.getName() || "").toString())
|
|
944
944
|
}), /* @__PURE__ */ r("br", {})]
|
|
945
945
|
}), b.getEmail() && /* @__PURE__ */ l(L, {
|
|
946
946
|
children: [/* @__PURE__ */ r("span", {
|
|
947
947
|
id: `email${h + 1 > 1 ? h + 1 : ""}`,
|
|
948
948
|
className: "email",
|
|
949
|
-
children:
|
|
949
|
+
children: S(e.applySubstitutions(b.getEmail() || "").toString())
|
|
950
950
|
}), /* @__PURE__ */ r("br", {})]
|
|
951
951
|
})]
|
|
952
952
|
}, h)), e.hasAttribute("revnumber") && /* @__PURE__ */ r("span", {
|
|
@@ -965,7 +965,7 @@ const k = Je.exports, It = ({
|
|
|
965
965
|
return /* @__PURE__ */ l(L, {
|
|
966
966
|
children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("div", {
|
|
967
967
|
id: "content",
|
|
968
|
-
children: /* @__PURE__ */ r(
|
|
968
|
+
children: /* @__PURE__ */ r(x, {
|
|
969
969
|
blocks: a
|
|
970
970
|
})
|
|
971
971
|
}), /* @__PURE__ */ r(g, {})]
|
|
@@ -973,13 +973,13 @@ const k = Je.exports, It = ({
|
|
|
973
973
|
}, Pt = ({
|
|
974
974
|
node: e
|
|
975
975
|
}) => /* @__PURE__ */ l("div", {
|
|
976
|
-
className:
|
|
977
|
-
...
|
|
978
|
-
children: [/* @__PURE__ */ r(
|
|
976
|
+
className: w("exampleblock", $(e)),
|
|
977
|
+
...A(e),
|
|
978
|
+
children: [/* @__PURE__ */ r(oe, {
|
|
979
979
|
node: e
|
|
980
980
|
}), /* @__PURE__ */ r("div", {
|
|
981
981
|
className: "content",
|
|
982
|
-
children: /* @__PURE__ */ r(
|
|
982
|
+
children: /* @__PURE__ */ r(x, {
|
|
983
983
|
blocks: e.getBlocks()
|
|
984
984
|
})
|
|
985
985
|
})]
|
|
@@ -991,8 +991,8 @@ const k = Je.exports, It = ({
|
|
|
991
991
|
children: [/* @__PURE__ */ r("a", {
|
|
992
992
|
className: "sectionanchor",
|
|
993
993
|
id: `${e.getId() || ""}`,
|
|
994
|
-
...
|
|
995
|
-
}),
|
|
994
|
+
...A(e)
|
|
995
|
+
}), K(`h${a + 1}`, null, /* @__PURE__ */ r(I, {
|
|
996
996
|
node: e
|
|
997
997
|
}))]
|
|
998
998
|
});
|
|
@@ -1012,11 +1012,11 @@ const k = Je.exports, It = ({
|
|
|
1012
1012
|
children: n
|
|
1013
1013
|
})), /* @__PURE__ */ l("div", {
|
|
1014
1014
|
className: `imageblock ${e.hasAttribute("align") ? "text-" + e.getAttribute("align") : ""} ${e.hasAttribute("float") ? e.getAttribute("float") : ""} ${e.getRole() ? e.getRole() : ""}`,
|
|
1015
|
-
...
|
|
1015
|
+
...A(e),
|
|
1016
1016
|
children: [/* @__PURE__ */ r("div", {
|
|
1017
1017
|
className: "content",
|
|
1018
1018
|
children: n
|
|
1019
|
-
}), /* @__PURE__ */ r(
|
|
1019
|
+
}), /* @__PURE__ */ r(oe, {
|
|
1020
1020
|
node: e
|
|
1021
1021
|
})]
|
|
1022
1022
|
});
|
|
@@ -1028,13 +1028,13 @@ const k = Je.exports, It = ({
|
|
|
1028
1028
|
const c = n.language;
|
|
1029
1029
|
return /* @__PURE__ */ l("div", {
|
|
1030
1030
|
className: "listingblock",
|
|
1031
|
-
...
|
|
1032
|
-
children: [/* @__PURE__ */ r(
|
|
1031
|
+
...A(e),
|
|
1032
|
+
children: [/* @__PURE__ */ r(oe, {
|
|
1033
1033
|
node: e
|
|
1034
1034
|
}), /* @__PURE__ */ r("div", {
|
|
1035
1035
|
className: "content",
|
|
1036
1036
|
children: /* @__PURE__ */ r("pre", {
|
|
1037
|
-
className:
|
|
1037
|
+
className: w("highlight", o ? " nowrap" : ""),
|
|
1038
1038
|
children: c ? /* @__PURE__ */ r("code", {
|
|
1039
1039
|
className: c ? `language-${c}` : "",
|
|
1040
1040
|
"data-lang": c,
|
|
@@ -1052,8 +1052,8 @@ const k = Je.exports, It = ({
|
|
|
1052
1052
|
} else
|
|
1053
1053
|
return /* @__PURE__ */ l("div", {
|
|
1054
1054
|
className: "listingblock",
|
|
1055
|
-
...
|
|
1056
|
-
children: [/* @__PURE__ */ r(
|
|
1055
|
+
...A(e),
|
|
1056
|
+
children: [/* @__PURE__ */ r(oe, {
|
|
1057
1057
|
node: e
|
|
1058
1058
|
}), /* @__PURE__ */ r("div", {
|
|
1059
1059
|
className: "content",
|
|
@@ -1073,8 +1073,8 @@ const k = Je.exports, It = ({
|
|
|
1073
1073
|
const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
|
|
1074
1074
|
return /* @__PURE__ */ l("div", {
|
|
1075
1075
|
className: "literalblock",
|
|
1076
|
-
...
|
|
1077
|
-
children: [/* @__PURE__ */ r(
|
|
1076
|
+
...A(e),
|
|
1077
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1078
1078
|
node: e
|
|
1079
1079
|
}), /* @__PURE__ */ r("div", {
|
|
1080
1080
|
className: "content",
|
|
@@ -1087,19 +1087,19 @@ const k = Je.exports, It = ({
|
|
|
1087
1087
|
}, Mt = ({
|
|
1088
1088
|
node: e
|
|
1089
1089
|
}) => /* @__PURE__ */ l("div", {
|
|
1090
|
-
className:
|
|
1091
|
-
...
|
|
1092
|
-
children: [/* @__PURE__ */ r(
|
|
1090
|
+
className: w("olist", $(e), e.getStyle()),
|
|
1091
|
+
...A(e),
|
|
1092
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1093
1093
|
node: e
|
|
1094
1094
|
}), /* @__PURE__ */ r("ol", {
|
|
1095
1095
|
className: e.getStyle(),
|
|
1096
1096
|
reversed: e.isOption("reversed"),
|
|
1097
1097
|
start: e.getAttribute("start"),
|
|
1098
1098
|
children: e.getItems().map((a, n) => /* @__PURE__ */ l("li", {
|
|
1099
|
-
className:
|
|
1099
|
+
className: $(e) ? $(e) : "",
|
|
1100
1100
|
children: [/* @__PURE__ */ r("p", {
|
|
1101
|
-
children:
|
|
1102
|
-
}), /* @__PURE__ */ r(
|
|
1101
|
+
children: S(D(a))
|
|
1102
|
+
}), /* @__PURE__ */ r(x, {
|
|
1103
1103
|
blocks: a.getBlocks()
|
|
1104
1104
|
})]
|
|
1105
1105
|
}, n))
|
|
@@ -1109,24 +1109,24 @@ const k = Je.exports, It = ({
|
|
|
1109
1109
|
}) => {
|
|
1110
1110
|
const a = e.getStyle();
|
|
1111
1111
|
return a === "abstract" ? /* @__PURE__ */ l("div", {
|
|
1112
|
-
className:
|
|
1113
|
-
...
|
|
1114
|
-
children: [/* @__PURE__ */ r(
|
|
1112
|
+
className: w("quoteblock abstract", $(e)),
|
|
1113
|
+
...A(e),
|
|
1114
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1115
1115
|
node: e
|
|
1116
1116
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1117
1117
|
className: "content",
|
|
1118
|
-
children: /* @__PURE__ */ r(
|
|
1118
|
+
children: /* @__PURE__ */ r(x, {
|
|
1119
1119
|
blocks: e.getBlocks()
|
|
1120
1120
|
})
|
|
1121
1121
|
})]
|
|
1122
1122
|
}) : /* @__PURE__ */ l("div", {
|
|
1123
|
-
className:
|
|
1124
|
-
...
|
|
1125
|
-
children: [/* @__PURE__ */ r(
|
|
1123
|
+
className: w("openblock", a && a !== "open" ? a : "", $(e)),
|
|
1124
|
+
...A(e),
|
|
1125
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1126
1126
|
node: e
|
|
1127
1127
|
}), /* @__PURE__ */ r("div", {
|
|
1128
1128
|
className: "content",
|
|
1129
|
-
children: /* @__PURE__ */ r(
|
|
1129
|
+
children: /* @__PURE__ */ r(x, {
|
|
1130
1130
|
blocks: e.getBlocks()
|
|
1131
1131
|
})
|
|
1132
1132
|
})]
|
|
@@ -1141,9 +1141,9 @@ const k = Je.exports, It = ({
|
|
|
1141
1141
|
const a = U(e);
|
|
1142
1142
|
return /* @__PURE__ */ l("div", {
|
|
1143
1143
|
id: e.getId ? e.getId() : "",
|
|
1144
|
-
className:
|
|
1145
|
-
...
|
|
1146
|
-
children: [/* @__PURE__ */ r(
|
|
1144
|
+
className: w("paragraph", $(e)),
|
|
1145
|
+
...A(e),
|
|
1146
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1147
1147
|
node: e
|
|
1148
1148
|
}), /* @__PURE__ */ r("p", {
|
|
1149
1149
|
dangerouslySetInnerHTML: {
|
|
@@ -1151,31 +1151,31 @@ const k = Je.exports, It = ({
|
|
|
1151
1151
|
}
|
|
1152
1152
|
})]
|
|
1153
1153
|
});
|
|
1154
|
-
},
|
|
1154
|
+
}, Ht = ({
|
|
1155
1155
|
node: e
|
|
1156
1156
|
}) => {
|
|
1157
1157
|
const a = U(e);
|
|
1158
1158
|
return /* @__PURE__ */ r(L, {
|
|
1159
|
-
children:
|
|
1159
|
+
children: S(a)
|
|
1160
1160
|
});
|
|
1161
|
-
},
|
|
1161
|
+
}, Ut = ({
|
|
1162
1162
|
node: e
|
|
1163
1163
|
}) => {
|
|
1164
1164
|
const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
|
|
1165
1165
|
return /* @__PURE__ */ r("div", {
|
|
1166
1166
|
id: "preamble",
|
|
1167
|
-
...
|
|
1167
|
+
...A(e),
|
|
1168
1168
|
children: /* @__PURE__ */ l("div", {
|
|
1169
1169
|
className: "sectionbody",
|
|
1170
|
-
children: [/* @__PURE__ */ r(
|
|
1170
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1171
1171
|
blocks: e.getBlocks()
|
|
1172
1172
|
}), n && /* @__PURE__ */ l("div", {
|
|
1173
1173
|
id: "toc",
|
|
1174
1174
|
className: a.getAttribute("toc-class", "toc"),
|
|
1175
1175
|
children: [/* @__PURE__ */ r("div", {
|
|
1176
1176
|
id: "toctitle",
|
|
1177
|
-
children:
|
|
1178
|
-
}), /* @__PURE__ */ r(
|
|
1177
|
+
children: S(a.getAttribute("toc-title"))
|
|
1178
|
+
}), /* @__PURE__ */ r(fe, {
|
|
1179
1179
|
node: a
|
|
1180
1180
|
})]
|
|
1181
1181
|
})]
|
|
@@ -1187,9 +1187,9 @@ const k = Je.exports, It = ({
|
|
|
1187
1187
|
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1188
1188
|
return /* @__PURE__ */ l("div", {
|
|
1189
1189
|
id: e.getId ? e.getId() : "",
|
|
1190
|
-
className:
|
|
1191
|
-
...
|
|
1192
|
-
children: [/* @__PURE__ */ r(
|
|
1190
|
+
className: w("quoteblock", $(e)),
|
|
1191
|
+
...A(e),
|
|
1192
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1193
1193
|
node: e
|
|
1194
1194
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1195
1195
|
dangerouslySetInnerHTML: {
|
|
@@ -1212,219 +1212,229 @@ const k = Je.exports, It = ({
|
|
|
1212
1212
|
if (e.getCaption())
|
|
1213
1213
|
o = e.getCaptionedTitle();
|
|
1214
1214
|
else if (e.isNumbered() && n <= c)
|
|
1215
|
-
if (n < 2 && e.getDocument().getDoctype()
|
|
1215
|
+
if (n < 2 && e.getDocument().getDoctype() == "book") {
|
|
1216
1216
|
const f = e.getSectionName();
|
|
1217
|
-
f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${e.getTitle()}`;
|
|
1217
|
+
f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${g} ${e.getTitle()}`;
|
|
1218
1218
|
} else
|
|
1219
|
-
o = `${e.getTitle()}`;
|
|
1219
|
+
o = `${g} ${e.getTitle()}`;
|
|
1220
1220
|
else
|
|
1221
1221
|
o = e.getTitle() || "";
|
|
1222
|
-
return o = /* @__PURE__ */ l(L, {
|
|
1222
|
+
return a.sectlinks && (o = /* @__PURE__ */ l(L, {
|
|
1223
1223
|
children: [/* @__PURE__ */ r("a", {
|
|
1224
1224
|
className: "anchor",
|
|
1225
1225
|
id: e.getId() || "",
|
|
1226
|
-
|
|
1226
|
+
...A(e)
|
|
1227
1227
|
}), /* @__PURE__ */ r("a", {
|
|
1228
|
-
className: "link
|
|
1228
|
+
className: "link",
|
|
1229
1229
|
href: `#${e.getId()}`,
|
|
1230
|
-
|
|
1230
|
+
dangerouslySetInnerHTML: {
|
|
1231
|
+
__html: o
|
|
1232
|
+
}
|
|
1231
1233
|
})]
|
|
1232
|
-
}), n === 0 ? /* @__PURE__ */ l(L, {
|
|
1234
|
+
})), n === 0 ? /* @__PURE__ */ l(L, {
|
|
1233
1235
|
children: [/* @__PURE__ */ r("h1", {
|
|
1234
|
-
className:
|
|
1236
|
+
className: w("sect0", $(e)),
|
|
1235
1237
|
"data-sectnum": g,
|
|
1238
|
+
...A(e),
|
|
1236
1239
|
children: o
|
|
1237
|
-
}), /* @__PURE__ */ r(
|
|
1240
|
+
}), /* @__PURE__ */ r(x, {
|
|
1238
1241
|
blocks: e.getBlocks()
|
|
1239
1242
|
})]
|
|
1240
1243
|
}) : /* @__PURE__ */ l("div", {
|
|
1241
|
-
className:
|
|
1242
|
-
|
|
1244
|
+
className: w(`sect${n}`, $(e)),
|
|
1245
|
+
...A(e),
|
|
1246
|
+
children: [K(`h${n + 1}`, {
|
|
1243
1247
|
"data-sectnum": g
|
|
1244
1248
|
}, o), /* @__PURE__ */ r("div", {
|
|
1245
1249
|
className: "sectionbody",
|
|
1246
|
-
children: /* @__PURE__ */ r(
|
|
1250
|
+
children: /* @__PURE__ */ r(x, {
|
|
1247
1251
|
blocks: e.getBlocks()
|
|
1248
1252
|
})
|
|
1249
1253
|
})]
|
|
1250
1254
|
});
|
|
1251
|
-
},
|
|
1255
|
+
}, zt = ({
|
|
1252
1256
|
node: e
|
|
1253
1257
|
}) => /* @__PURE__ */ r("div", {
|
|
1254
|
-
className:
|
|
1255
|
-
...
|
|
1258
|
+
className: w("sidebarblock", $(e)),
|
|
1259
|
+
...A(e),
|
|
1256
1260
|
children: /* @__PURE__ */ l("div", {
|
|
1257
1261
|
className: "content",
|
|
1258
|
-
children: [/* @__PURE__ */ r(
|
|
1262
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1259
1263
|
node: e
|
|
1260
|
-
}), /* @__PURE__ */ r(
|
|
1264
|
+
}), /* @__PURE__ */ r(x, {
|
|
1261
1265
|
blocks: e.getBlocks()
|
|
1262
1266
|
})]
|
|
1263
1267
|
})
|
|
1264
|
-
}),
|
|
1268
|
+
}), Jt = ({
|
|
1265
1269
|
node: e
|
|
1266
1270
|
}) => {
|
|
1267
1271
|
let a = ["frame-" + e.getAttribute("frame", "all", "table-frame"), "grid-" + e.getAttribute("grid", "all", "table-grid")], n = e.getAttribute("stripes", null, "table-stripes");
|
|
1268
1272
|
n && a.push("stripes-" + n);
|
|
1269
1273
|
let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), c = null;
|
|
1270
1274
|
o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : c = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
|
|
1271
|
-
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(),
|
|
1275
|
+
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), y = e.getBodyRows(), m = e.getFootRows(), C = (P) => w(
|
|
1272
1276
|
"tableblock",
|
|
1273
|
-
`halign-${
|
|
1274
|
-
`valign-${
|
|
1275
|
-
);
|
|
1277
|
+
`halign-${P.getAttribute("halign")}`,
|
|
1278
|
+
`valign-${P.getAttribute("valign")}`
|
|
1279
|
+
), R = e.getTitle(), F = e.getId(), Y = F || Kt(R || "");
|
|
1276
1280
|
return /* @__PURE__ */ l("table", {
|
|
1277
|
-
className:
|
|
1281
|
+
className: w("tableblock", ...a),
|
|
1278
1282
|
style: {
|
|
1279
1283
|
width: c || void 0
|
|
1280
1284
|
},
|
|
1281
|
-
...
|
|
1282
|
-
children: [e.hasTitle() && /* @__PURE__ */
|
|
1285
|
+
...A(e),
|
|
1286
|
+
children: [e.hasTitle() && /* @__PURE__ */ l("caption", {
|
|
1283
1287
|
className: "title",
|
|
1284
|
-
children:
|
|
1288
|
+
children: [!F && /* @__PURE__ */ r("a", {
|
|
1289
|
+
className: "tableanchor",
|
|
1290
|
+
id: Y
|
|
1291
|
+
}), /* @__PURE__ */ r("a", {
|
|
1292
|
+
href: `#${Y}`,
|
|
1293
|
+
children: e.getCaptionedTitle()
|
|
1294
|
+
})]
|
|
1285
1295
|
}), f > 0 && /* @__PURE__ */ r("colgroup", {
|
|
1286
|
-
children: b.map((
|
|
1287
|
-
const
|
|
1296
|
+
children: b.map((P, M) => {
|
|
1297
|
+
const k = P.getAttribute("colpcwidth");
|
|
1288
1298
|
return /* @__PURE__ */ r("col", {
|
|
1289
1299
|
style: {
|
|
1290
|
-
width: `${
|
|
1300
|
+
width: `${k}%`
|
|
1291
1301
|
}
|
|
1292
|
-
},
|
|
1302
|
+
}, M);
|
|
1293
1303
|
})
|
|
1294
|
-
}), h.map((
|
|
1304
|
+
}), h.map((P, M) => /* @__PURE__ */ r("thead", {
|
|
1295
1305
|
children: /* @__PURE__ */ r("tr", {
|
|
1296
|
-
children:
|
|
1297
|
-
className:
|
|
1306
|
+
children: P.map((k, N) => /* @__PURE__ */ r("th", {
|
|
1307
|
+
className: C(k),
|
|
1298
1308
|
dangerouslySetInnerHTML: {
|
|
1299
|
-
__html: D(
|
|
1309
|
+
__html: D(k)
|
|
1300
1310
|
}
|
|
1301
|
-
},
|
|
1311
|
+
}, N))
|
|
1302
1312
|
})
|
|
1303
|
-
},
|
|
1304
|
-
children:
|
|
1305
|
-
children:
|
|
1306
|
-
const
|
|
1307
|
-
colSpan:
|
|
1308
|
-
rowSpan:
|
|
1309
|
-
className:
|
|
1310
|
-
},
|
|
1311
|
-
if (
|
|
1312
|
-
return /* @__PURE__ */
|
|
1313
|
-
...
|
|
1314
|
-
key:
|
|
1313
|
+
}, M)), /* @__PURE__ */ r("tbody", {
|
|
1314
|
+
children: y.map((P, M) => /* @__PURE__ */ r("tr", {
|
|
1315
|
+
children: P.map((k, N) => {
|
|
1316
|
+
const he = k.getColumnSpan(), ge = k.getRowSpan(), q = U(k), V = {
|
|
1317
|
+
colSpan: he,
|
|
1318
|
+
rowSpan: ge,
|
|
1319
|
+
className: C(k)
|
|
1320
|
+
}, X = k.getStyle();
|
|
1321
|
+
if (X === "asciidoc")
|
|
1322
|
+
return /* @__PURE__ */ K("td", {
|
|
1323
|
+
...V,
|
|
1324
|
+
key: N
|
|
1315
1325
|
}, /* @__PURE__ */ r("div", {
|
|
1316
1326
|
className: "content",
|
|
1317
1327
|
dangerouslySetInnerHTML: {
|
|
1318
|
-
__html:
|
|
1328
|
+
__html: q
|
|
1319
1329
|
}
|
|
1320
1330
|
}));
|
|
1321
|
-
if (
|
|
1322
|
-
return /* @__PURE__ */
|
|
1323
|
-
...
|
|
1324
|
-
key:
|
|
1331
|
+
if (X === "literal")
|
|
1332
|
+
return /* @__PURE__ */ K("td", {
|
|
1333
|
+
...V,
|
|
1334
|
+
key: N
|
|
1325
1335
|
}, /* @__PURE__ */ r("div", {
|
|
1326
1336
|
className: "literal",
|
|
1327
1337
|
children: /* @__PURE__ */ r("pre", {
|
|
1328
1338
|
dangerouslySetInnerHTML: {
|
|
1329
|
-
__html:
|
|
1339
|
+
__html: q
|
|
1330
1340
|
}
|
|
1331
1341
|
})
|
|
1332
1342
|
}));
|
|
1333
|
-
if (
|
|
1334
|
-
return /* @__PURE__ */
|
|
1335
|
-
...
|
|
1336
|
-
key:
|
|
1343
|
+
if (X === "header")
|
|
1344
|
+
return /* @__PURE__ */ K("th", {
|
|
1345
|
+
...V,
|
|
1346
|
+
key: N
|
|
1337
1347
|
}, /* @__PURE__ */ r("p", {
|
|
1338
1348
|
className: "tableblock",
|
|
1339
1349
|
dangerouslySetInnerHTML: {
|
|
1340
|
-
__html:
|
|
1350
|
+
__html: q
|
|
1341
1351
|
}
|
|
1342
1352
|
}));
|
|
1343
1353
|
{
|
|
1344
|
-
let
|
|
1345
|
-
return /* @__PURE__ */
|
|
1346
|
-
...
|
|
1347
|
-
key:
|
|
1348
|
-
},
|
|
1354
|
+
let ae = q;
|
|
1355
|
+
return /* @__PURE__ */ K("td", {
|
|
1356
|
+
...V,
|
|
1357
|
+
key: N
|
|
1358
|
+
}, ae.length === 0 ? "" : S(`<p class="tableblock">${ae.join(`</p>
|
|
1349
1359
|
<p class="tableblock">`)}</p>`));
|
|
1350
1360
|
}
|
|
1351
1361
|
})
|
|
1352
|
-
},
|
|
1353
|
-
}),
|
|
1362
|
+
}, M))
|
|
1363
|
+
}), m.map((P, M) => /* @__PURE__ */ r("tfoot", {
|
|
1354
1364
|
children: /* @__PURE__ */ r("tr", {
|
|
1355
|
-
children:
|
|
1356
|
-
className:
|
|
1365
|
+
children: P.map((k, N) => /* @__PURE__ */ r("td", {
|
|
1366
|
+
className: C(k),
|
|
1357
1367
|
children: /* @__PURE__ */ r("p", {
|
|
1358
1368
|
className: "tableblock",
|
|
1359
1369
|
dangerouslySetInnerHTML: {
|
|
1360
|
-
__html: D(
|
|
1370
|
+
__html: D(k)
|
|
1361
1371
|
}
|
|
1362
1372
|
})
|
|
1363
|
-
},
|
|
1373
|
+
}, N))
|
|
1364
1374
|
})
|
|
1365
|
-
},
|
|
1375
|
+
}, M))]
|
|
1366
1376
|
});
|
|
1367
|
-
}, Gt = ({
|
|
1377
|
+
}, Kt = (e) => e.toString().normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().trim().replace(/\s+/g, "_").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/-$/g, ""), Gt = ({
|
|
1368
1378
|
node: e
|
|
1369
1379
|
}) => {
|
|
1370
1380
|
let a = e.getId() || "toc";
|
|
1371
|
-
const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g =
|
|
1381
|
+
const n = e.getDocument(), o = e.hasTitle() ? e.getTitle() : n.getAttribute("toc-title"), g = re(() => n.getAttribute("toc-placement"), [e]), c = re(() => n.hasAttribute("toc"), [e]), f = e.hasAttribute("levels") ? parseInt(e.getAttribute("levels")) : void 0;
|
|
1372
1382
|
return g === "macro" && n.hasSections() && c ? /* @__PURE__ */ l("div", {
|
|
1373
1383
|
id: a,
|
|
1374
|
-
className:
|
|
1384
|
+
className: w("toc", $(e)),
|
|
1375
1385
|
children: [/* @__PURE__ */ r("div", {
|
|
1376
1386
|
id: `${a}title`,
|
|
1377
1387
|
className: "title",
|
|
1378
|
-
children:
|
|
1379
|
-
}), /* @__PURE__ */ r(
|
|
1388
|
+
children: S(o || "")
|
|
1389
|
+
}), /* @__PURE__ */ r(fe, {
|
|
1380
1390
|
node: e.getDocument(),
|
|
1381
1391
|
opts: {
|
|
1382
1392
|
tocLevels: f
|
|
1383
1393
|
}
|
|
1384
1394
|
})]
|
|
1385
1395
|
}) : null;
|
|
1386
|
-
},
|
|
1396
|
+
}, Xt = () => /* @__PURE__ */ r("hr", {}), Qt = ({
|
|
1387
1397
|
node: e
|
|
1388
1398
|
}) => {
|
|
1389
1399
|
const a = e.isOption("checklist");
|
|
1390
1400
|
return /* @__PURE__ */ l("div", {
|
|
1391
1401
|
id: e.getId ? e.getId() : "",
|
|
1392
|
-
className:
|
|
1393
|
-
...
|
|
1394
|
-
children: [/* @__PURE__ */ r(
|
|
1402
|
+
className: w("ulist", e.getStyle(), $(e), a && "checklist"),
|
|
1403
|
+
...A(e),
|
|
1404
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1395
1405
|
node: e
|
|
1396
1406
|
}), /* @__PURE__ */ r("ul", {
|
|
1397
1407
|
className: a ? "checklist" : "",
|
|
1398
1408
|
children: e.getItems().map((n, o) => a ? /* @__PURE__ */ r("li", {
|
|
1399
1409
|
id: n.getId(),
|
|
1400
|
-
className:
|
|
1410
|
+
className: $(e),
|
|
1401
1411
|
children: /* @__PURE__ */ l("p", {
|
|
1402
1412
|
children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
|
|
1403
|
-
className:
|
|
1404
|
-
}), " ",
|
|
1413
|
+
className: w("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
|
|
1414
|
+
}), " ", S(D(n))]
|
|
1405
1415
|
})
|
|
1406
1416
|
}, o) : /* @__PURE__ */ l("li", {
|
|
1407
1417
|
id: n.getId(),
|
|
1408
|
-
className:
|
|
1418
|
+
className: $(e),
|
|
1409
1419
|
children: [/* @__PURE__ */ r("p", {
|
|
1410
1420
|
dangerouslySetInnerHTML: {
|
|
1411
1421
|
__html: D(n)
|
|
1412
1422
|
}
|
|
1413
|
-
}), /* @__PURE__ */ r(
|
|
1423
|
+
}), /* @__PURE__ */ r(x, {
|
|
1414
1424
|
blocks: n.getBlocks()
|
|
1415
1425
|
})]
|
|
1416
1426
|
}, o))
|
|
1417
1427
|
})]
|
|
1418
1428
|
});
|
|
1419
|
-
},
|
|
1429
|
+
}, Zt = ({
|
|
1420
1430
|
node: e
|
|
1421
1431
|
}) => {
|
|
1422
1432
|
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1423
1433
|
return /* @__PURE__ */ l("div", {
|
|
1424
1434
|
id: e.getId ? e.getId() : "",
|
|
1425
|
-
className:
|
|
1426
|
-
...
|
|
1427
|
-
children: [/* @__PURE__ */ r(
|
|
1435
|
+
className: w("verseblock", $(e)),
|
|
1436
|
+
...A(e),
|
|
1437
|
+
children: [/* @__PURE__ */ r(I, {
|
|
1428
1438
|
node: e
|
|
1429
1439
|
}), /* @__PURE__ */ r("pre", {
|
|
1430
1440
|
className: "content",
|
|
@@ -1438,12 +1448,12 @@ const k = Je.exports, It = ({
|
|
|
1438
1448
|
})]
|
|
1439
1449
|
})]
|
|
1440
1450
|
});
|
|
1441
|
-
},
|
|
1451
|
+
}, Xe = kt({}), ar = ({
|
|
1442
1452
|
content: e,
|
|
1443
1453
|
options: a
|
|
1444
1454
|
}) => {
|
|
1445
1455
|
const n = a && a.customDocument;
|
|
1446
|
-
return /* @__PURE__ */ r(
|
|
1456
|
+
return /* @__PURE__ */ r(Xe.Provider, {
|
|
1447
1457
|
value: a || {},
|
|
1448
1458
|
children: n ? /* @__PURE__ */ r(n, {
|
|
1449
1459
|
document: e
|
|
@@ -1451,16 +1461,16 @@ const k = Je.exports, It = ({
|
|
|
1451
1461
|
document: e
|
|
1452
1462
|
})
|
|
1453
1463
|
});
|
|
1454
|
-
},
|
|
1464
|
+
}, x = ({
|
|
1455
1465
|
blocks: e
|
|
1456
1466
|
}) => /* @__PURE__ */ r(L, {
|
|
1457
|
-
children: e.map((a, n) => /* @__PURE__ */ r(
|
|
1467
|
+
children: e.map((a, n) => /* @__PURE__ */ r(er, {
|
|
1458
1468
|
node: a
|
|
1459
1469
|
}, `${n}-${a.getNodeName()}`))
|
|
1460
|
-
}),
|
|
1470
|
+
}), er = ({
|
|
1461
1471
|
node: e
|
|
1462
1472
|
}) => {
|
|
1463
|
-
const a = Et(
|
|
1473
|
+
const a = Et(Xe), n = e.getNodeName(), o = e.getDocument(), g = e.getAttributes();
|
|
1464
1474
|
o.playbackAttributes(g);
|
|
1465
1475
|
const c = a && a.overrides && a.overrides[n];
|
|
1466
1476
|
if (c)
|
|
@@ -1469,11 +1479,11 @@ const k = Je.exports, It = ({
|
|
|
1469
1479
|
});
|
|
1470
1480
|
switch (n) {
|
|
1471
1481
|
case "audio":
|
|
1472
|
-
return /* @__PURE__ */ r(
|
|
1482
|
+
return /* @__PURE__ */ r($t, {
|
|
1473
1483
|
node: e
|
|
1474
1484
|
});
|
|
1475
1485
|
case "preamble":
|
|
1476
|
-
return /* @__PURE__ */ r(
|
|
1486
|
+
return /* @__PURE__ */ r(Ut, {
|
|
1477
1487
|
node: e
|
|
1478
1488
|
});
|
|
1479
1489
|
case "section":
|
|
@@ -1489,7 +1499,7 @@ const k = Je.exports, It = ({
|
|
|
1489
1499
|
node: e
|
|
1490
1500
|
});
|
|
1491
1501
|
case "ulist":
|
|
1492
|
-
return /* @__PURE__ */ r(
|
|
1502
|
+
return /* @__PURE__ */ r(Qt, {
|
|
1493
1503
|
node: e
|
|
1494
1504
|
});
|
|
1495
1505
|
case "floating_title":
|
|
@@ -1513,7 +1523,7 @@ const k = Je.exports, It = ({
|
|
|
1513
1523
|
node: e
|
|
1514
1524
|
});
|
|
1515
1525
|
case "colist":
|
|
1516
|
-
return /* @__PURE__ */ r(
|
|
1526
|
+
return /* @__PURE__ */ r(Ot, {
|
|
1517
1527
|
node: e
|
|
1518
1528
|
});
|
|
1519
1529
|
case "olist":
|
|
@@ -1521,17 +1531,17 @@ const k = Je.exports, It = ({
|
|
|
1521
1531
|
node: e
|
|
1522
1532
|
});
|
|
1523
1533
|
case "table":
|
|
1524
|
-
return /* @__PURE__ */ r(
|
|
1534
|
+
return /* @__PURE__ */ r(Jt, {
|
|
1525
1535
|
node: e
|
|
1526
1536
|
});
|
|
1527
1537
|
case "thematic_break":
|
|
1528
|
-
return /* @__PURE__ */ r(
|
|
1538
|
+
return /* @__PURE__ */ r(Xt, {});
|
|
1529
1539
|
case "open":
|
|
1530
1540
|
return /* @__PURE__ */ r(Bt, {
|
|
1531
1541
|
node: e
|
|
1532
1542
|
});
|
|
1533
1543
|
case "pass":
|
|
1534
|
-
return /* @__PURE__ */ r(
|
|
1544
|
+
return /* @__PURE__ */ r(Ht, {
|
|
1535
1545
|
node: e
|
|
1536
1546
|
});
|
|
1537
1547
|
case "page_break":
|
|
@@ -1541,7 +1551,7 @@ const k = Je.exports, It = ({
|
|
|
1541
1551
|
node: e
|
|
1542
1552
|
});
|
|
1543
1553
|
case "sidebar":
|
|
1544
|
-
return /* @__PURE__ */ r(
|
|
1554
|
+
return /* @__PURE__ */ r(zt, {
|
|
1545
1555
|
node: e
|
|
1546
1556
|
});
|
|
1547
1557
|
case "quote":
|
|
@@ -1549,7 +1559,7 @@ const k = Je.exports, It = ({
|
|
|
1549
1559
|
node: e
|
|
1550
1560
|
});
|
|
1551
1561
|
case "verse":
|
|
1552
|
-
return /* @__PURE__ */ r(
|
|
1562
|
+
return /* @__PURE__ */ r(Zt, {
|
|
1553
1563
|
node: e
|
|
1554
1564
|
});
|
|
1555
1565
|
case "toc":
|
|
@@ -1558,16 +1568,16 @@ const k = Je.exports, It = ({
|
|
|
1558
1568
|
});
|
|
1559
1569
|
default:
|
|
1560
1570
|
return /* @__PURE__ */ r(L, {
|
|
1561
|
-
children:
|
|
1571
|
+
children: S(e.convert())
|
|
1562
1572
|
});
|
|
1563
1573
|
}
|
|
1564
1574
|
};
|
|
1565
1575
|
export {
|
|
1566
1576
|
Ct as Admonition,
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1577
|
+
$t as Audio,
|
|
1578
|
+
oe as CaptionedTitle,
|
|
1579
|
+
Ot as CoList,
|
|
1580
|
+
x as Content,
|
|
1571
1581
|
It as DList,
|
|
1572
1582
|
xt as Document,
|
|
1573
1583
|
Pt as Example,
|
|
@@ -1577,25 +1587,25 @@ export {
|
|
|
1577
1587
|
Ft as Literal,
|
|
1578
1588
|
Mt as OList,
|
|
1579
1589
|
Bt as Open,
|
|
1580
|
-
|
|
1590
|
+
fe as Outline,
|
|
1581
1591
|
Wt as PageBreak,
|
|
1582
1592
|
Yt as Paragraph,
|
|
1583
|
-
|
|
1584
|
-
|
|
1593
|
+
Ht as Pass,
|
|
1594
|
+
Ut as Preamble,
|
|
1585
1595
|
qt as Quote,
|
|
1586
1596
|
Vt as Section,
|
|
1587
|
-
|
|
1588
|
-
|
|
1597
|
+
zt as Sidebar,
|
|
1598
|
+
Jt as Table,
|
|
1589
1599
|
Gt as TableOfContents,
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1600
|
+
Xt as ThematicBreak,
|
|
1601
|
+
I as Title,
|
|
1602
|
+
Qt as UList,
|
|
1603
|
+
Zt as Verse,
|
|
1604
|
+
sr as asciidoctor,
|
|
1605
|
+
ar as default,
|
|
1596
1606
|
U as getContent,
|
|
1597
|
-
|
|
1598
|
-
|
|
1607
|
+
A as getLineNumber,
|
|
1608
|
+
$ as getRole,
|
|
1599
1609
|
D as getText,
|
|
1600
|
-
|
|
1610
|
+
cr as parse
|
|
1601
1611
|
};
|