@oxide/react-asciidoc 0.1.3-alpha.3 → 0.1.3-alpha.4
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 +160 -169
- package/dist/react-asciidoc.umd.cjs +7 -7
- package/package.json +1 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as nr } from "@asciidoctor/core";
|
|
2
2
|
import w from "html-react-parser";
|
|
3
|
-
import Ve, { Fragment as ye, useMemo as ee, createElement as J, createContext as
|
|
4
|
-
const z = {},
|
|
3
|
+
import Ve, { Fragment as ye, useMemo as ee, createElement as J, createContext as kt, useContext as Et } from "react";
|
|
4
|
+
const z = {}, U = (e) => {
|
|
5
5
|
const a = e.$$id;
|
|
6
6
|
if (z[a])
|
|
7
7
|
return z[a];
|
|
@@ -24,20 +24,20 @@ var ce = { exports: {} }, Q = {};
|
|
|
24
24
|
* This source code is licensed under the MIT license found in the
|
|
25
25
|
* LICENSE file in the root directory of this source tree.
|
|
26
26
|
*/
|
|
27
|
-
var
|
|
27
|
+
var He;
|
|
28
28
|
function St() {
|
|
29
|
-
if (
|
|
29
|
+
if (He)
|
|
30
30
|
return Q;
|
|
31
|
-
|
|
31
|
+
He = 1;
|
|
32
32
|
var e = Ve, 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, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
33
33
|
function f(b, h, _) {
|
|
34
|
-
var
|
|
34
|
+
var v, S = {}, y = null, O = null;
|
|
35
35
|
_ !== void 0 && (y = "" + _), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (O = h.ref);
|
|
36
|
-
for (
|
|
37
|
-
o.call(h,
|
|
36
|
+
for (v in h)
|
|
37
|
+
o.call(h, v) && !l.hasOwnProperty(v) && (S[v] = h[v]);
|
|
38
38
|
if (b && b.defaultProps)
|
|
39
|
-
for (
|
|
40
|
-
S[
|
|
39
|
+
for (v in h = b.defaultProps, h)
|
|
40
|
+
S[v] === void 0 && (S[v] = h[v]);
|
|
41
41
|
return { $$typeof: a, type: b, key: y, ref: O, props: S, _owner: g.current };
|
|
42
42
|
}
|
|
43
43
|
return Q.Fragment = n, Q.jsx = f, Q.jsxs = f, Q;
|
|
@@ -55,7 +55,7 @@ var Z = {};
|
|
|
55
55
|
var qe;
|
|
56
56
|
function wt() {
|
|
57
57
|
return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
58
|
-
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"),
|
|
58
|
+
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), b = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, F = "@@iterator";
|
|
59
59
|
function ue(t) {
|
|
60
60
|
if (t === null || typeof t != "object")
|
|
61
61
|
return null;
|
|
@@ -63,19 +63,19 @@ function wt() {
|
|
|
63
63
|
return typeof i == "function" ? i : null;
|
|
64
64
|
}
|
|
65
65
|
var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
66
|
-
function
|
|
66
|
+
function R(t) {
|
|
67
67
|
{
|
|
68
68
|
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), u = 1; u < i; u++)
|
|
69
69
|
s[u - 1] = arguments[u];
|
|
70
|
-
|
|
70
|
+
H("error", t, s);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function H(t, i, s) {
|
|
74
74
|
{
|
|
75
75
|
var u = W.ReactDebugCurrentFrame, p = u.getStackAddendum();
|
|
76
76
|
p !== "" && (i += "%s", s = s.concat([p]));
|
|
77
|
-
var A = s.map(function(
|
|
78
|
-
return String(
|
|
77
|
+
var A = s.map(function(m) {
|
|
78
|
+
return String(m);
|
|
79
79
|
});
|
|
80
80
|
A.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, A);
|
|
81
81
|
}
|
|
@@ -83,7 +83,7 @@ function wt() {
|
|
|
83
83
|
var G = !1, te = !1, Ge = !1, Ke = !1, Xe = !1, _e;
|
|
84
84
|
_e = Symbol.for("react.module.reference");
|
|
85
85
|
function Qe(t) {
|
|
86
|
-
return !!(typeof t == "string" || typeof t == "function" || t === o || t === l || Xe || t === g || t === _ || t ===
|
|
86
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === l || Xe || t === g || t === _ || t === v || Ke || t === O || G || te || Ge || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === S || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === _e || t.getModuleId !== void 0));
|
|
87
87
|
}
|
|
88
88
|
function Ze(t, i, s) {
|
|
89
89
|
var u = t.displayName;
|
|
@@ -98,7 +98,7 @@ function wt() {
|
|
|
98
98
|
function M(t) {
|
|
99
99
|
if (t == null)
|
|
100
100
|
return null;
|
|
101
|
-
if (typeof t.tag == "number" &&
|
|
101
|
+
if (typeof t.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
102
102
|
return t.displayName || t.name || null;
|
|
103
103
|
if (typeof t == "string")
|
|
104
104
|
return t;
|
|
@@ -113,7 +113,7 @@ function wt() {
|
|
|
113
113
|
return "StrictMode";
|
|
114
114
|
case _:
|
|
115
115
|
return "Suspense";
|
|
116
|
-
case
|
|
116
|
+
case v:
|
|
117
117
|
return "SuspenseList";
|
|
118
118
|
}
|
|
119
119
|
if (typeof t == "object")
|
|
@@ -130,9 +130,9 @@ function wt() {
|
|
|
130
130
|
var u = t.displayName || null;
|
|
131
131
|
return u !== null ? u : M(t.type) || "Memo";
|
|
132
132
|
case y: {
|
|
133
|
-
var p = t, A = p._payload,
|
|
133
|
+
var p = t, A = p._payload, m = p._init;
|
|
134
134
|
try {
|
|
135
|
-
return M(
|
|
135
|
+
return M(m(A));
|
|
136
136
|
} catch {
|
|
137
137
|
return null;
|
|
138
138
|
}
|
|
@@ -140,14 +140,14 @@ function wt() {
|
|
|
140
140
|
}
|
|
141
141
|
return null;
|
|
142
142
|
}
|
|
143
|
-
var Y = Object.assign, K = 0, Ne, Te,
|
|
143
|
+
var Y = Object.assign, K = 0, Ne, Te, Re, ke, Ee, Se, we;
|
|
144
144
|
function Ce() {
|
|
145
145
|
}
|
|
146
146
|
Ce.__reactDisabledLog = !0;
|
|
147
147
|
function et() {
|
|
148
148
|
{
|
|
149
149
|
if (K === 0) {
|
|
150
|
-
Ne = console.log, Te = console.info,
|
|
150
|
+
Ne = console.log, Te = console.info, Re = console.warn, ke = console.error, Ee = console.group, Se = console.groupCollapsed, we = console.groupEnd;
|
|
151
151
|
var t = {
|
|
152
152
|
configurable: !0,
|
|
153
153
|
enumerable: !0,
|
|
@@ -183,10 +183,10 @@ function wt() {
|
|
|
183
183
|
value: Te
|
|
184
184
|
}),
|
|
185
185
|
warn: Y({}, t, {
|
|
186
|
-
value:
|
|
186
|
+
value: Re
|
|
187
187
|
}),
|
|
188
188
|
error: Y({}, t, {
|
|
189
|
-
value:
|
|
189
|
+
value: ke
|
|
190
190
|
}),
|
|
191
191
|
group: Y({}, t, {
|
|
192
192
|
value: Ee
|
|
@@ -199,7 +199,7 @@ function wt() {
|
|
|
199
199
|
})
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
|
-
K < 0 &&
|
|
202
|
+
K < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
205
|
var fe = W.ReactCurrentDispatcher, he;
|
|
@@ -237,27 +237,27 @@ function wt() {
|
|
|
237
237
|
A = fe.current, fe.current = null, et();
|
|
238
238
|
try {
|
|
239
239
|
if (i) {
|
|
240
|
-
var
|
|
240
|
+
var m = function() {
|
|
241
241
|
throw Error();
|
|
242
242
|
};
|
|
243
|
-
if (Object.defineProperty(
|
|
243
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
244
244
|
set: function() {
|
|
245
245
|
throw Error();
|
|
246
246
|
}
|
|
247
247
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
248
248
|
try {
|
|
249
|
-
Reflect.construct(
|
|
249
|
+
Reflect.construct(m, []);
|
|
250
250
|
} catch (B) {
|
|
251
251
|
u = B;
|
|
252
252
|
}
|
|
253
|
-
Reflect.construct(t, [],
|
|
253
|
+
Reflect.construct(t, [], m);
|
|
254
254
|
} else {
|
|
255
255
|
try {
|
|
256
|
-
|
|
256
|
+
m.call();
|
|
257
257
|
} catch (B) {
|
|
258
258
|
u = B;
|
|
259
259
|
}
|
|
260
|
-
t.call(
|
|
260
|
+
t.call(m.prototype);
|
|
261
261
|
}
|
|
262
262
|
} else {
|
|
263
263
|
try {
|
|
@@ -271,26 +271,26 @@ function wt() {
|
|
|
271
271
|
if (B && u && typeof B.stack == "string") {
|
|
272
272
|
for (var d = B.stack.split(`
|
|
273
273
|
`), I = u.stack.split(`
|
|
274
|
-
`), T = d.length - 1,
|
|
275
|
-
|
|
276
|
-
for (; T >= 1 &&
|
|
277
|
-
if (d[T] !== I[
|
|
278
|
-
if (T !== 1 ||
|
|
274
|
+
`), T = d.length - 1, k = I.length - 1; T >= 1 && k >= 0 && d[T] !== I[k]; )
|
|
275
|
+
k--;
|
|
276
|
+
for (; T >= 1 && k >= 0; T--, k--)
|
|
277
|
+
if (d[T] !== I[k]) {
|
|
278
|
+
if (T !== 1 || k !== 1)
|
|
279
279
|
do
|
|
280
|
-
if (T--,
|
|
280
|
+
if (T--, k--, k < 0 || d[T] !== I[k]) {
|
|
281
281
|
var j = `
|
|
282
282
|
` + d[T].replace(" at new ", " at ");
|
|
283
283
|
return t.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", t.displayName)), typeof t == "function" && ae.set(t, j), j;
|
|
284
284
|
}
|
|
285
|
-
while (T >= 1 &&
|
|
285
|
+
while (T >= 1 && k >= 0);
|
|
286
286
|
break;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
} finally {
|
|
290
290
|
ge = !1, fe.current = A, tt(), Error.prepareStackTrace = p;
|
|
291
291
|
}
|
|
292
|
-
var V = t ? t.displayName || t.name : "",
|
|
293
|
-
return typeof t == "function" && ae.set(t,
|
|
292
|
+
var V = t ? t.displayName || t.name : "", Ue = V ? re(V) : "";
|
|
293
|
+
return typeof t == "function" && ae.set(t, Ue), Ue;
|
|
294
294
|
}
|
|
295
295
|
function at(t, i, s) {
|
|
296
296
|
return $e(t, !1);
|
|
@@ -309,7 +309,7 @@ function wt() {
|
|
|
309
309
|
switch (t) {
|
|
310
310
|
case _:
|
|
311
311
|
return re("Suspense");
|
|
312
|
-
case
|
|
312
|
+
case v:
|
|
313
313
|
return re("SuspenseList");
|
|
314
314
|
}
|
|
315
315
|
if (typeof t == "object")
|
|
@@ -339,19 +339,19 @@ function wt() {
|
|
|
339
339
|
function nt(t, i, s, u, p) {
|
|
340
340
|
{
|
|
341
341
|
var A = Function.call.bind(ne);
|
|
342
|
-
for (var
|
|
343
|
-
if (A(t,
|
|
342
|
+
for (var m in t)
|
|
343
|
+
if (A(t, m)) {
|
|
344
344
|
var d = void 0;
|
|
345
345
|
try {
|
|
346
|
-
if (typeof t[
|
|
347
|
-
var I = Error((u || "React class") + ": " + s + " type `" +
|
|
346
|
+
if (typeof t[m] != "function") {
|
|
347
|
+
var I = Error((u || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
348
348
|
throw I.name = "Invariant Violation", I;
|
|
349
349
|
}
|
|
350
|
-
d = t[
|
|
350
|
+
d = t[m](i, m, u, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
351
351
|
} catch (T) {
|
|
352
352
|
d = T;
|
|
353
353
|
}
|
|
354
|
-
d && !(d instanceof Error) && (se(p),
|
|
354
|
+
d && !(d instanceof Error) && (se(p), R("%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, m, typeof d), se(null)), d instanceof Error && !(d.message in Oe) && (Oe[d.message] = !0, se(p), R("Failed %s type: %s", s, d.message), se(null));
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
}
|
|
@@ -377,15 +377,15 @@ function wt() {
|
|
|
377
377
|
}
|
|
378
378
|
function Pe(t) {
|
|
379
379
|
if (ct(t))
|
|
380
|
-
return
|
|
380
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), xe(t);
|
|
381
381
|
}
|
|
382
382
|
var X = W.ReactCurrentOwner, ot = {
|
|
383
383
|
key: !0,
|
|
384
384
|
ref: !0,
|
|
385
385
|
__self: !0,
|
|
386
386
|
__source: !0
|
|
387
|
-
}, je, De,
|
|
388
|
-
|
|
387
|
+
}, je, De, ve;
|
|
388
|
+
ve = {};
|
|
389
389
|
function ut(t) {
|
|
390
390
|
if (ne.call(t, "ref")) {
|
|
391
391
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
@@ -405,13 +405,13 @@ function wt() {
|
|
|
405
405
|
function ht(t, i) {
|
|
406
406
|
if (typeof t.ref == "string" && X.current && i && X.current.stateNode !== i) {
|
|
407
407
|
var s = M(X.current.type);
|
|
408
|
-
|
|
408
|
+
ve[s] || (R('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', M(X.current.type), t.ref), ve[s] = !0);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function gt(t, i) {
|
|
412
412
|
{
|
|
413
413
|
var s = function() {
|
|
414
|
-
je || (je = !0,
|
|
414
|
+
je || (je = !0, R("%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));
|
|
415
415
|
};
|
|
416
416
|
s.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
417
417
|
get: s,
|
|
@@ -422,7 +422,7 @@ function wt() {
|
|
|
422
422
|
function dt(t, i) {
|
|
423
423
|
{
|
|
424
424
|
var s = function() {
|
|
425
|
-
De || (De = !0,
|
|
425
|
+
De || (De = !0, R("%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));
|
|
426
426
|
};
|
|
427
427
|
s.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
428
428
|
get: s,
|
|
@@ -430,13 +430,13 @@ function wt() {
|
|
|
430
430
|
});
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
|
-
var
|
|
433
|
+
var vt = function(t, i, s, u, p, A, m) {
|
|
434
434
|
var d = {
|
|
435
435
|
$$typeof: a,
|
|
436
436
|
type: t,
|
|
437
437
|
key: i,
|
|
438
438
|
ref: s,
|
|
439
|
-
props:
|
|
439
|
+
props: m,
|
|
440
440
|
_owner: A
|
|
441
441
|
};
|
|
442
442
|
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
@@ -456,25 +456,25 @@ function wt() {
|
|
|
456
456
|
value: p
|
|
457
457
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
458
458
|
};
|
|
459
|
-
function
|
|
459
|
+
function mt(t, i, s, u, p) {
|
|
460
460
|
{
|
|
461
|
-
var A,
|
|
461
|
+
var A, m = {}, d = null, I = null;
|
|
462
462
|
s !== void 0 && (Pe(s), d = "" + s), ft(i) && (Pe(i.key), d = "" + i.key), ut(i) && (I = i.ref, ht(i, p));
|
|
463
463
|
for (A in i)
|
|
464
|
-
ne.call(i, A) && !ot.hasOwnProperty(A) && (
|
|
464
|
+
ne.call(i, A) && !ot.hasOwnProperty(A) && (m[A] = i[A]);
|
|
465
465
|
if (t && t.defaultProps) {
|
|
466
466
|
var T = t.defaultProps;
|
|
467
467
|
for (A in T)
|
|
468
|
-
|
|
468
|
+
m[A] === void 0 && (m[A] = T[A]);
|
|
469
469
|
}
|
|
470
470
|
if (d || I) {
|
|
471
|
-
var
|
|
472
|
-
d && gt(
|
|
471
|
+
var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
472
|
+
d && gt(m, k), I && dt(m, k);
|
|
473
473
|
}
|
|
474
|
-
return
|
|
474
|
+
return vt(t, d, I, p, u, X.current, m);
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
var
|
|
477
|
+
var me = W.ReactCurrentOwner, Le = W.ReactDebugCurrentFrame;
|
|
478
478
|
function q(t) {
|
|
479
479
|
if (t) {
|
|
480
480
|
var i = t._owner, s = ie(t.type, t._source, i ? i.type : null);
|
|
@@ -489,8 +489,8 @@ function wt() {
|
|
|
489
489
|
}
|
|
490
490
|
function Fe() {
|
|
491
491
|
{
|
|
492
|
-
if (
|
|
493
|
-
var t = M(
|
|
492
|
+
if (me.current) {
|
|
493
|
+
var t = M(me.current.type);
|
|
494
494
|
if (t)
|
|
495
495
|
return `
|
|
496
496
|
|
|
@@ -533,7 +533,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
533
533
|
return;
|
|
534
534
|
Me[s] = !0;
|
|
535
535
|
var u = "";
|
|
536
|
-
t && t._owner && t._owner !==
|
|
536
|
+
t && t._owner && t._owner !== me.current && (u = " It was passed a child from " + M(t._owner.type) + "."), q(t), R('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), q(null);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
function We(t, i) {
|
|
@@ -550,8 +550,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
550
550
|
else if (t) {
|
|
551
551
|
var p = ue(t);
|
|
552
552
|
if (typeof p == "function" && p !== t.entries)
|
|
553
|
-
for (var A = p.call(t),
|
|
554
|
-
be(
|
|
553
|
+
for (var A = p.call(t), m; !(m = A.next()).done; )
|
|
554
|
+
be(m.value) && Be(m.value, i);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
}
|
|
@@ -573,9 +573,9 @@ Check the top-level render call using <` + s + ">.");
|
|
|
573
573
|
} else if (i.PropTypes !== void 0 && !pe) {
|
|
574
574
|
pe = !0;
|
|
575
575
|
var p = M(i);
|
|
576
|
-
|
|
576
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
577
577
|
}
|
|
578
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
578
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
function _t(t) {
|
|
@@ -583,28 +583,28 @@ Check the top-level render call using <` + s + ">.");
|
|
|
583
583
|
for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
|
|
584
584
|
var u = i[s];
|
|
585
585
|
if (u !== "children" && u !== "key") {
|
|
586
|
-
q(t),
|
|
586
|
+
q(t), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), q(null);
|
|
587
587
|
break;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
t.ref !== null && (q(t),
|
|
590
|
+
t.ref !== null && (q(t), R("Invalid attribute `ref` supplied to `React.Fragment`."), q(null));
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
function Ye(t, i, s, u, p, A) {
|
|
594
594
|
{
|
|
595
|
-
var
|
|
596
|
-
if (!
|
|
595
|
+
var m = Qe(t);
|
|
596
|
+
if (!m) {
|
|
597
597
|
var d = "";
|
|
598
598
|
(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.");
|
|
599
599
|
var I = pt(p);
|
|
600
600
|
I ? d += I : d += Fe();
|
|
601
601
|
var T;
|
|
602
|
-
t === null ? T = "null" : de(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t,
|
|
602
|
+
t === null ? T = "null" : de(t) ? T = "array" : t !== void 0 && t.$$typeof === a ? (T = "<" + (M(t.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : T = typeof t, R("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);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
606
|
-
return
|
|
607
|
-
if (
|
|
604
|
+
var k = mt(t, i, s, p, A);
|
|
605
|
+
if (k == null)
|
|
606
|
+
return k;
|
|
607
|
+
if (m) {
|
|
608
608
|
var j = i.children;
|
|
609
609
|
if (j !== void 0)
|
|
610
610
|
if (u)
|
|
@@ -613,11 +613,11 @@ Check the top-level render call using <` + s + ">.");
|
|
|
613
613
|
We(j[V], t);
|
|
614
614
|
Object.freeze && Object.freeze(j);
|
|
615
615
|
} else
|
|
616
|
-
|
|
616
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
617
|
else
|
|
618
618
|
We(j, t);
|
|
619
619
|
}
|
|
620
|
-
return t === o ? _t(
|
|
620
|
+
return t === o ? _t(k) : yt(k), k;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
623
|
function At(t, i, s) {
|
|
@@ -626,14 +626,14 @@ Check the top-level render call using <` + s + ">.");
|
|
|
626
626
|
function Nt(t, i, s) {
|
|
627
627
|
return Ye(t, i, s, !1);
|
|
628
628
|
}
|
|
629
|
-
var Tt = Nt,
|
|
630
|
-
Z.Fragment = o, Z.jsx = Tt, Z.jsxs =
|
|
629
|
+
var Tt = Nt, Rt = At;
|
|
630
|
+
Z.Fragment = o, Z.jsx = Tt, Z.jsxs = Rt;
|
|
631
631
|
}()), Z;
|
|
632
632
|
}
|
|
633
633
|
(function(e) {
|
|
634
634
|
process.env.NODE_ENV === "production" ? e.exports = St() : e.exports = wt();
|
|
635
635
|
})(ce);
|
|
636
|
-
const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs,
|
|
636
|
+
const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, x = ({
|
|
637
637
|
node: e
|
|
638
638
|
}) => e.hasTitle() ? /* @__PURE__ */ r("div", {
|
|
639
639
|
className: "title",
|
|
@@ -648,14 +648,14 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
648
648
|
} : {}, Ct = ({
|
|
649
649
|
node: e
|
|
650
650
|
}) => {
|
|
651
|
-
const a = e.getAttributes(), n = e.getDocument(), o =
|
|
651
|
+
const a = e.getAttributes(), n = e.getDocument(), o = U(e), g = () => n.getAttribute("icons") === "font" && !a.icon ? /* @__PURE__ */ r("i", {
|
|
652
652
|
className: `fa icon-${a.name}`,
|
|
653
653
|
title: a.textlabel
|
|
654
654
|
}) : /* @__PURE__ */ r("img", {
|
|
655
655
|
src: e.getIconUri(a.name),
|
|
656
656
|
alt: a.textlabel
|
|
657
|
-
})
|
|
658
|
-
return /* @__PURE__ */ r("div", {
|
|
657
|
+
});
|
|
658
|
+
return e.content_model, /* @__PURE__ */ r("div", {
|
|
659
659
|
className: `admonitionblock ${a.name}`,
|
|
660
660
|
...N(e),
|
|
661
661
|
children: /* @__PURE__ */ r("table", {
|
|
@@ -669,11 +669,9 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
669
669
|
})
|
|
670
670
|
}), /* @__PURE__ */ c("td", {
|
|
671
671
|
className: "content",
|
|
672
|
-
children: [/* @__PURE__ */ r(
|
|
672
|
+
children: [/* @__PURE__ */ r(x, {
|
|
673
673
|
node: e
|
|
674
|
-
}),
|
|
675
|
-
blocks: e.getBlocks()
|
|
676
|
-
})]
|
|
674
|
+
}), w(o)]
|
|
677
675
|
})]
|
|
678
676
|
})
|
|
679
677
|
})
|
|
@@ -686,7 +684,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
686
684
|
return /* @__PURE__ */ c("div", {
|
|
687
685
|
className: "audioblock",
|
|
688
686
|
...N(e),
|
|
689
|
-
children: [/* @__PURE__ */ r(
|
|
687
|
+
children: [/* @__PURE__ */ r(x, {
|
|
690
688
|
node: e
|
|
691
689
|
}), /* @__PURE__ */ r("div", {
|
|
692
690
|
className: "content",
|
|
@@ -704,7 +702,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
704
702
|
}) => /* @__PURE__ */ c("div", {
|
|
705
703
|
className: "colist",
|
|
706
704
|
...N(e),
|
|
707
|
-
children: [/* @__PURE__ */ r(
|
|
705
|
+
children: [/* @__PURE__ */ r(x, {
|
|
708
706
|
node: e
|
|
709
707
|
}), /* @__PURE__ */ r("table", {
|
|
710
708
|
children: /* @__PURE__ */ r("tbody", {
|
|
@@ -717,7 +715,7 @@ const L = ce.exports.Fragment, r = ce.exports.jsx, c = ce.exports.jsxs, P = ({
|
|
|
717
715
|
children: n + 1
|
|
718
716
|
})]
|
|
719
717
|
}), /* @__PURE__ */ c("td", {
|
|
720
|
-
children: [w(D(a)), /* @__PURE__ */ r(
|
|
718
|
+
children: [w(D(a)), /* @__PURE__ */ r(P, {
|
|
721
719
|
blocks: a.getBlocks()
|
|
722
720
|
})]
|
|
723
721
|
})]
|
|
@@ -776,7 +774,7 @@ const E = Je.exports, It = ({
|
|
|
776
774
|
return /* @__PURE__ */ c("dd", {
|
|
777
775
|
children: [l.hasText() && /* @__PURE__ */ r("p", {
|
|
778
776
|
children: w(D(l))
|
|
779
|
-
}), l.hasBlocks() && /* @__PURE__ */ r(
|
|
777
|
+
}), l.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
780
778
|
blocks: l.getBlocks()
|
|
781
779
|
})]
|
|
782
780
|
});
|
|
@@ -795,11 +793,11 @@ const E = Je.exports, It = ({
|
|
|
795
793
|
dd: h
|
|
796
794
|
} = n(l);
|
|
797
795
|
return /* @__PURE__ */ c("li", {
|
|
798
|
-
children: [b.map((_,
|
|
796
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("p", {
|
|
799
797
|
children: /* @__PURE__ */ r("em", {
|
|
800
798
|
children: D(_)
|
|
801
799
|
})
|
|
802
|
-
},
|
|
800
|
+
}, v)), o(h)]
|
|
803
801
|
}, f);
|
|
804
802
|
})
|
|
805
803
|
})]
|
|
@@ -823,7 +821,7 @@ const E = Je.exports, It = ({
|
|
|
823
821
|
children: e.getItems().map((b, h) => {
|
|
824
822
|
const {
|
|
825
823
|
terms: _,
|
|
826
|
-
dd:
|
|
824
|
+
dd: v
|
|
827
825
|
} = n(b);
|
|
828
826
|
return /* @__PURE__ */ c("tr", {
|
|
829
827
|
children: [/* @__PURE__ */ r("td", {
|
|
@@ -831,12 +829,12 @@ const E = Je.exports, It = ({
|
|
|
831
829
|
children: _.map((S, y) => /* @__PURE__ */ c(ye, {
|
|
832
830
|
children: [y !== 0 && /* @__PURE__ */ r("br", {}), w(D(S))]
|
|
833
831
|
}, y))
|
|
834
|
-
}),
|
|
832
|
+
}), v && /* @__PURE__ */ c("td", {
|
|
835
833
|
className: "hdlist2",
|
|
836
|
-
children: [
|
|
837
|
-
children: w(D(
|
|
838
|
-
}),
|
|
839
|
-
blocks:
|
|
834
|
+
children: [v.hasText() && /* @__PURE__ */ r("p", {
|
|
835
|
+
children: w(D(v))
|
|
836
|
+
}), v.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
837
|
+
blocks: v.getBlocks()
|
|
840
838
|
})]
|
|
841
839
|
})]
|
|
842
840
|
}, h);
|
|
@@ -854,10 +852,10 @@ const E = Je.exports, It = ({
|
|
|
854
852
|
dd: h
|
|
855
853
|
} = n(l);
|
|
856
854
|
return /* @__PURE__ */ c(ye, {
|
|
857
|
-
children: [b.map((_,
|
|
855
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("dt", {
|
|
858
856
|
className: "hdlist1",
|
|
859
857
|
children: w(D(_))
|
|
860
|
-
},
|
|
858
|
+
}, v)), o(h)]
|
|
861
859
|
}, f);
|
|
862
860
|
})
|
|
863
861
|
})]
|
|
@@ -872,8 +870,8 @@ const E = Je.exports, It = ({
|
|
|
872
870
|
return /* @__PURE__ */ r("ul", {
|
|
873
871
|
className: `sectlevel${n[0].getLevel()}`,
|
|
874
872
|
children: n.map((_) => {
|
|
875
|
-
let
|
|
876
|
-
|
|
873
|
+
let v = _.$sectnum();
|
|
874
|
+
v = v === "." || v === ".." ? "" : v;
|
|
877
875
|
const S = _.getLevel();
|
|
878
876
|
let y = "";
|
|
879
877
|
if (_.getCaption())
|
|
@@ -881,9 +879,9 @@ const E = Je.exports, It = ({
|
|
|
881
879
|
else if (S <= b)
|
|
882
880
|
if (S < 2 && o.getDoctype() == "book") {
|
|
883
881
|
const O = _.getSectionName();
|
|
884
|
-
O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${
|
|
882
|
+
O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${v} ${_.getTitle()}` : O === "part" ? y = `${g["part-signifier"] || ""} ${v} ${_.getTitle()}` : y = `${v} ${_.getTitle()}`;
|
|
885
883
|
} else
|
|
886
|
-
y = `${
|
|
884
|
+
y = `${v} ${_.getTitle()}`;
|
|
887
885
|
else
|
|
888
886
|
y = _.getTitle() || "";
|
|
889
887
|
return /* @__PURE__ */ c("li", {
|
|
@@ -966,7 +964,7 @@ const E = Je.exports, It = ({
|
|
|
966
964
|
return /* @__PURE__ */ c(L, {
|
|
967
965
|
children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("div", {
|
|
968
966
|
id: "content",
|
|
969
|
-
children: /* @__PURE__ */ r(
|
|
967
|
+
children: /* @__PURE__ */ r(P, {
|
|
970
968
|
blocks: a
|
|
971
969
|
})
|
|
972
970
|
}), /* @__PURE__ */ r(g, {})]
|
|
@@ -980,7 +978,7 @@ const E = Je.exports, It = ({
|
|
|
980
978
|
node: e
|
|
981
979
|
}), /* @__PURE__ */ r("div", {
|
|
982
980
|
className: "content",
|
|
983
|
-
children: /* @__PURE__ */ r(
|
|
981
|
+
children: /* @__PURE__ */ r(P, {
|
|
984
982
|
blocks: e.getBlocks()
|
|
985
983
|
})
|
|
986
984
|
})]
|
|
@@ -993,7 +991,7 @@ const E = Je.exports, It = ({
|
|
|
993
991
|
className: "sectionanchor",
|
|
994
992
|
id: `${e.getId() || ""}`,
|
|
995
993
|
...N(e)
|
|
996
|
-
}), J(`h${a + 1}`, null, /* @__PURE__ */ r(
|
|
994
|
+
}), J(`h${a + 1}`, null, /* @__PURE__ */ r(x, {
|
|
997
995
|
node: e
|
|
998
996
|
}))]
|
|
999
997
|
});
|
|
@@ -1024,7 +1022,7 @@ const E = Je.exports, It = ({
|
|
|
1024
1022
|
}, Lt = ({
|
|
1025
1023
|
node: e
|
|
1026
1024
|
}) => {
|
|
1027
|
-
const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g =
|
|
1025
|
+
const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = U(e);
|
|
1028
1026
|
if (e.getStyle() === "source") {
|
|
1029
1027
|
const l = n.language;
|
|
1030
1028
|
return /* @__PURE__ */ c("div", {
|
|
@@ -1075,7 +1073,7 @@ const E = Je.exports, It = ({
|
|
|
1075
1073
|
return /* @__PURE__ */ c("div", {
|
|
1076
1074
|
className: "literalblock",
|
|
1077
1075
|
...N(e),
|
|
1078
|
-
children: [/* @__PURE__ */ r(
|
|
1076
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1079
1077
|
node: e
|
|
1080
1078
|
}), /* @__PURE__ */ r("div", {
|
|
1081
1079
|
className: "content",
|
|
@@ -1090,7 +1088,7 @@ const E = Je.exports, It = ({
|
|
|
1090
1088
|
}) => /* @__PURE__ */ c("div", {
|
|
1091
1089
|
className: E("olist", C(e), e.getStyle()),
|
|
1092
1090
|
...N(e),
|
|
1093
|
-
children: [/* @__PURE__ */ r(
|
|
1091
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1094
1092
|
node: e
|
|
1095
1093
|
}), /* @__PURE__ */ r("ol", {
|
|
1096
1094
|
className: e.getStyle(),
|
|
@@ -1100,7 +1098,7 @@ const E = Je.exports, It = ({
|
|
|
1100
1098
|
className: C(e) ? C(e) : "",
|
|
1101
1099
|
children: [/* @__PURE__ */ r("p", {
|
|
1102
1100
|
children: w(D(a))
|
|
1103
|
-
}), /* @__PURE__ */ r(
|
|
1101
|
+
}), /* @__PURE__ */ r(P, {
|
|
1104
1102
|
blocks: a.getBlocks()
|
|
1105
1103
|
})]
|
|
1106
1104
|
}, n))
|
|
@@ -1112,22 +1110,22 @@ const E = Je.exports, It = ({
|
|
|
1112
1110
|
return a === "abstract" ? /* @__PURE__ */ c("div", {
|
|
1113
1111
|
className: E("quoteblock abstract", C(e)),
|
|
1114
1112
|
...N(e),
|
|
1115
|
-
children: [/* @__PURE__ */ r(
|
|
1113
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1116
1114
|
node: e
|
|
1117
1115
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1118
1116
|
className: "content",
|
|
1119
|
-
children: /* @__PURE__ */ r(
|
|
1117
|
+
children: /* @__PURE__ */ r(P, {
|
|
1120
1118
|
blocks: e.getBlocks()
|
|
1121
1119
|
})
|
|
1122
1120
|
})]
|
|
1123
1121
|
}) : /* @__PURE__ */ c("div", {
|
|
1124
1122
|
className: E("openblock", a && a !== "open" ? a : "", C(e)),
|
|
1125
1123
|
...N(e),
|
|
1126
|
-
children: [/* @__PURE__ */ r(
|
|
1124
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1127
1125
|
node: e
|
|
1128
1126
|
}), /* @__PURE__ */ r("div", {
|
|
1129
1127
|
className: "content",
|
|
1130
|
-
children: /* @__PURE__ */ r(
|
|
1128
|
+
children: /* @__PURE__ */ r(P, {
|
|
1131
1129
|
blocks: e.getBlocks()
|
|
1132
1130
|
})
|
|
1133
1131
|
})]
|
|
@@ -1138,28 +1136,21 @@ const E = Je.exports, It = ({
|
|
|
1138
1136
|
}
|
|
1139
1137
|
}), Yt = ({
|
|
1140
1138
|
node: e
|
|
1141
|
-
}) => {
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
}), /* @__PURE__ */ r("p", {
|
|
1150
|
-
dangerouslySetInnerHTML: {
|
|
1151
|
-
__html: a
|
|
1152
|
-
}
|
|
1153
|
-
})]
|
|
1154
|
-
});
|
|
1155
|
-
}, Ht = ({
|
|
1139
|
+
}) => (U(e), /* @__PURE__ */ r("div", {
|
|
1140
|
+
id: e.getId ? e.getId() : "",
|
|
1141
|
+
className: E("paragraph", C(e)),
|
|
1142
|
+
...N(e),
|
|
1143
|
+
children: /* @__PURE__ */ r(x, {
|
|
1144
|
+
node: e
|
|
1145
|
+
})
|
|
1146
|
+
})), Ut = ({
|
|
1156
1147
|
node: e
|
|
1157
1148
|
}) => {
|
|
1158
|
-
const a =
|
|
1149
|
+
const a = U(e);
|
|
1159
1150
|
return /* @__PURE__ */ r(L, {
|
|
1160
1151
|
children: w(a)
|
|
1161
1152
|
});
|
|
1162
|
-
},
|
|
1153
|
+
}, Ht = ({
|
|
1163
1154
|
node: e
|
|
1164
1155
|
}) => {
|
|
1165
1156
|
const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
|
|
@@ -1168,7 +1159,7 @@ const E = Je.exports, It = ({
|
|
|
1168
1159
|
...N(e),
|
|
1169
1160
|
children: /* @__PURE__ */ c("div", {
|
|
1170
1161
|
className: "sectionbody",
|
|
1171
|
-
children: [/* @__PURE__ */ r(
|
|
1162
|
+
children: [/* @__PURE__ */ r(P, {
|
|
1172
1163
|
blocks: e.getBlocks()
|
|
1173
1164
|
}), n && /* @__PURE__ */ c("div", {
|
|
1174
1165
|
id: "toc",
|
|
@@ -1185,12 +1176,12 @@ const E = Je.exports, It = ({
|
|
|
1185
1176
|
}, qt = ({
|
|
1186
1177
|
node: e
|
|
1187
1178
|
}) => {
|
|
1188
|
-
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o =
|
|
1179
|
+
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1189
1180
|
return /* @__PURE__ */ c("div", {
|
|
1190
1181
|
id: e.getId ? e.getId() : "",
|
|
1191
1182
|
className: E("quoteblock", C(e)),
|
|
1192
1183
|
...N(e),
|
|
1193
|
-
children: [/* @__PURE__ */ r(
|
|
1184
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1194
1185
|
node: e
|
|
1195
1186
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1196
1187
|
dangerouslySetInnerHTML: {
|
|
@@ -1238,7 +1229,7 @@ const E = Je.exports, It = ({
|
|
|
1238
1229
|
"data-sectnum": g,
|
|
1239
1230
|
...N(e),
|
|
1240
1231
|
children: o
|
|
1241
|
-
}), /* @__PURE__ */ r(
|
|
1232
|
+
}), /* @__PURE__ */ r(P, {
|
|
1242
1233
|
blocks: e.getBlocks()
|
|
1243
1234
|
})]
|
|
1244
1235
|
}) : /* @__PURE__ */ c("div", {
|
|
@@ -1248,7 +1239,7 @@ const E = Je.exports, It = ({
|
|
|
1248
1239
|
"data-sectnum": g
|
|
1249
1240
|
}, o), /* @__PURE__ */ r("div", {
|
|
1250
1241
|
className: "sectionbody",
|
|
1251
|
-
children: /* @__PURE__ */ r(
|
|
1242
|
+
children: /* @__PURE__ */ r(P, {
|
|
1252
1243
|
blocks: e.getBlocks()
|
|
1253
1244
|
})
|
|
1254
1245
|
})]
|
|
@@ -1260,9 +1251,9 @@ const E = Je.exports, It = ({
|
|
|
1260
1251
|
...N(e),
|
|
1261
1252
|
children: /* @__PURE__ */ c("div", {
|
|
1262
1253
|
className: "content",
|
|
1263
|
-
children: [/* @__PURE__ */ r(
|
|
1254
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1264
1255
|
node: e
|
|
1265
|
-
}), /* @__PURE__ */ r(
|
|
1256
|
+
}), /* @__PURE__ */ r(P, {
|
|
1266
1257
|
blocks: e.getBlocks()
|
|
1267
1258
|
})]
|
|
1268
1259
|
})
|
|
@@ -1273,7 +1264,7 @@ const E = Je.exports, It = ({
|
|
|
1273
1264
|
n && a.push("stripes-" + n);
|
|
1274
1265
|
let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), l = null;
|
|
1275
1266
|
o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : l = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
|
|
1276
|
-
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(),
|
|
1267
|
+
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(), v = e.getFootRows(), S = (y) => E(
|
|
1277
1268
|
"tableblock",
|
|
1278
1269
|
`halign-${y.getAttribute("halign")}`,
|
|
1279
1270
|
`valign-${y.getAttribute("valign")}`
|
|
@@ -1308,54 +1299,54 @@ const E = Je.exports, It = ({
|
|
|
1308
1299
|
}, O)), /* @__PURE__ */ r("tbody", {
|
|
1309
1300
|
children: _.map((y, O) => /* @__PURE__ */ r("tr", {
|
|
1310
1301
|
children: y.map(($, F) => {
|
|
1311
|
-
const ue = $.getColumnSpan(), W = $.getRowSpan(),
|
|
1302
|
+
const ue = $.getColumnSpan(), W = $.getRowSpan(), R = U($), H = {
|
|
1312
1303
|
colSpan: ue,
|
|
1313
1304
|
rowSpan: W,
|
|
1314
1305
|
className: S($)
|
|
1315
1306
|
}, G = $.getStyle();
|
|
1316
1307
|
if (G === "asciidoc")
|
|
1317
1308
|
return /* @__PURE__ */ J("td", {
|
|
1318
|
-
...
|
|
1309
|
+
...H,
|
|
1319
1310
|
key: F
|
|
1320
1311
|
}, /* @__PURE__ */ r("div", {
|
|
1321
1312
|
className: "content",
|
|
1322
1313
|
dangerouslySetInnerHTML: {
|
|
1323
|
-
__html:
|
|
1314
|
+
__html: R
|
|
1324
1315
|
}
|
|
1325
1316
|
}));
|
|
1326
1317
|
if (G === "literal")
|
|
1327
1318
|
return /* @__PURE__ */ J("td", {
|
|
1328
|
-
...
|
|
1319
|
+
...H,
|
|
1329
1320
|
key: F
|
|
1330
1321
|
}, /* @__PURE__ */ r("div", {
|
|
1331
1322
|
className: "literal",
|
|
1332
1323
|
children: /* @__PURE__ */ r("pre", {
|
|
1333
1324
|
dangerouslySetInnerHTML: {
|
|
1334
|
-
__html:
|
|
1325
|
+
__html: R
|
|
1335
1326
|
}
|
|
1336
1327
|
})
|
|
1337
1328
|
}));
|
|
1338
1329
|
if (G === "header")
|
|
1339
1330
|
return /* @__PURE__ */ J("th", {
|
|
1340
|
-
...
|
|
1331
|
+
...H,
|
|
1341
1332
|
key: F
|
|
1342
1333
|
}, /* @__PURE__ */ r("p", {
|
|
1343
1334
|
className: "tableblock",
|
|
1344
1335
|
dangerouslySetInnerHTML: {
|
|
1345
|
-
__html:
|
|
1336
|
+
__html: R
|
|
1346
1337
|
}
|
|
1347
1338
|
}));
|
|
1348
1339
|
{
|
|
1349
|
-
let te =
|
|
1340
|
+
let te = R;
|
|
1350
1341
|
return /* @__PURE__ */ J("td", {
|
|
1351
|
-
...
|
|
1342
|
+
...H,
|
|
1352
1343
|
key: F
|
|
1353
1344
|
}, te.length === 0 ? "" : w(`<p class="tableblock">${te.join(`</p>
|
|
1354
1345
|
<p class="tableblock">`)}</p>`));
|
|
1355
1346
|
}
|
|
1356
1347
|
})
|
|
1357
1348
|
}, O))
|
|
1358
|
-
}),
|
|
1349
|
+
}), v.map((y, O) => /* @__PURE__ */ r("tfoot", {
|
|
1359
1350
|
children: /* @__PURE__ */ r("tr", {
|
|
1360
1351
|
children: y.map(($, F) => /* @__PURE__ */ r("td", {
|
|
1361
1352
|
className: S($),
|
|
@@ -1396,7 +1387,7 @@ const E = Je.exports, It = ({
|
|
|
1396
1387
|
id: e.getId ? e.getId() : "",
|
|
1397
1388
|
className: E("ulist", e.getStyle(), C(e), a && "checklist"),
|
|
1398
1389
|
...N(e),
|
|
1399
|
-
children: [/* @__PURE__ */ r(
|
|
1390
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1400
1391
|
node: e
|
|
1401
1392
|
}), /* @__PURE__ */ r("ul", {
|
|
1402
1393
|
className: a ? "checklist" : "",
|
|
@@ -1415,7 +1406,7 @@ const E = Je.exports, It = ({
|
|
|
1415
1406
|
dangerouslySetInnerHTML: {
|
|
1416
1407
|
__html: D(n)
|
|
1417
1408
|
}
|
|
1418
|
-
}), /* @__PURE__ */ r(
|
|
1409
|
+
}), /* @__PURE__ */ r(P, {
|
|
1419
1410
|
blocks: n.getBlocks()
|
|
1420
1411
|
})]
|
|
1421
1412
|
}, o))
|
|
@@ -1424,12 +1415,12 @@ const E = Je.exports, It = ({
|
|
|
1424
1415
|
}, Qt = ({
|
|
1425
1416
|
node: e
|
|
1426
1417
|
}) => {
|
|
1427
|
-
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o =
|
|
1418
|
+
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1428
1419
|
return /* @__PURE__ */ c("div", {
|
|
1429
1420
|
id: e.getId ? e.getId() : "",
|
|
1430
1421
|
className: E("verseblock", C(e)),
|
|
1431
1422
|
...N(e),
|
|
1432
|
-
children: [/* @__PURE__ */ r(
|
|
1423
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1433
1424
|
node: e
|
|
1434
1425
|
}), /* @__PURE__ */ r("pre", {
|
|
1435
1426
|
className: "content",
|
|
@@ -1443,7 +1434,7 @@ const E = Je.exports, It = ({
|
|
|
1443
1434
|
})]
|
|
1444
1435
|
})]
|
|
1445
1436
|
});
|
|
1446
|
-
}, ze =
|
|
1437
|
+
}, ze = kt({}), rr = ({
|
|
1447
1438
|
content: e,
|
|
1448
1439
|
options: a
|
|
1449
1440
|
}) => {
|
|
@@ -1456,7 +1447,7 @@ const E = Je.exports, It = ({
|
|
|
1456
1447
|
document: e
|
|
1457
1448
|
})
|
|
1458
1449
|
});
|
|
1459
|
-
},
|
|
1450
|
+
}, P = ({
|
|
1460
1451
|
blocks: e
|
|
1461
1452
|
}) => /* @__PURE__ */ r(L, {
|
|
1462
1453
|
children: e.map((a, n) => /* @__PURE__ */ r(Zt, {
|
|
@@ -1478,7 +1469,7 @@ const E = Je.exports, It = ({
|
|
|
1478
1469
|
node: e
|
|
1479
1470
|
});
|
|
1480
1471
|
case "preamble":
|
|
1481
|
-
return /* @__PURE__ */ r(
|
|
1472
|
+
return /* @__PURE__ */ r(Ht, {
|
|
1482
1473
|
node: e
|
|
1483
1474
|
});
|
|
1484
1475
|
case "section":
|
|
@@ -1536,7 +1527,7 @@ const E = Je.exports, It = ({
|
|
|
1536
1527
|
node: e
|
|
1537
1528
|
});
|
|
1538
1529
|
case "pass":
|
|
1539
|
-
return /* @__PURE__ */ r(
|
|
1530
|
+
return /* @__PURE__ */ r(Ut, {
|
|
1540
1531
|
node: e
|
|
1541
1532
|
});
|
|
1542
1533
|
case "page_break":
|
|
@@ -1572,7 +1563,7 @@ export {
|
|
|
1572
1563
|
$t as Audio,
|
|
1573
1564
|
le as CaptionedTitle,
|
|
1574
1565
|
Ot as CoList,
|
|
1575
|
-
|
|
1566
|
+
P as Content,
|
|
1576
1567
|
It as DList,
|
|
1577
1568
|
xt as Document,
|
|
1578
1569
|
Pt as Example,
|
|
@@ -1585,20 +1576,20 @@ export {
|
|
|
1585
1576
|
oe as Outline,
|
|
1586
1577
|
Wt as PageBreak,
|
|
1587
1578
|
Yt as Paragraph,
|
|
1588
|
-
|
|
1589
|
-
|
|
1579
|
+
Ut as Pass,
|
|
1580
|
+
Ht as Preamble,
|
|
1590
1581
|
qt as Quote,
|
|
1591
1582
|
Vt as Section,
|
|
1592
1583
|
Jt as Sidebar,
|
|
1593
1584
|
zt as Table,
|
|
1594
1585
|
Gt as TableOfContents,
|
|
1595
1586
|
Kt as ThematicBreak,
|
|
1596
|
-
|
|
1587
|
+
x as Title,
|
|
1597
1588
|
Xt as UList,
|
|
1598
1589
|
Qt as Verse,
|
|
1599
1590
|
nr as asciidoctor,
|
|
1600
1591
|
rr as default,
|
|
1601
|
-
|
|
1592
|
+
U as getContent,
|
|
1602
1593
|
N as getLineNumber,
|
|
1603
1594
|
C as getRole,
|
|
1604
1595
|
D as getText
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Ae;function At(){if(Ae)return X;Ae=1;var e=Te.default,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,
|
|
9
|
+
*/var Ae;function At(){if(Ae)return X;Ae=1;var e=Te.default,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};function d(y,h,T){var v,O={},_=null,j=null;T!==void 0&&(_=""+T),h.key!==void 0&&(_=""+h.key),h.ref!==void 0&&(j=h.ref);for(v in h)o.call(h,v)&&!c.hasOwnProperty(v)&&(O[v]=h[v]);if(y&&y.defaultProps)for(v in h=y.defaultProps,h)O[v]===void 0&&(O[v]=h[v]);return{$$typeof:a,type:y,key:_,ref:j,props:O,_owner:g.current}}return X.Fragment=n,X.jsx=d,X.jsxs=d,X}var Q={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,19 +14,19 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Ne;function Nt(){return Ne||(Ne=1,process.env.NODE_ENV!=="production"&&function(){var e=Te.default,a=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),
|
|
17
|
+
*/var Ne;function Nt(){return Ne||(Ne=1,process.env.NODE_ENV!=="production"&&function(){var e=Te.default,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"),d=Symbol.for("react.provider"),y=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),I=Symbol.iterator,B="@@iterator";function de(t){if(t===null||typeof t!="object")return null;var i=I&&t[I]||t[B];return typeof i=="function"?i:null}var H=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(t){{for(var i=arguments.length,s=new Array(i>1?i-1:0),u=1;u<i;u++)s[u-1]=arguments[u];z("error",t,s)}}function z(t,i,s){{var u=H.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(i+="%s",s=s.concat([p]));var A=s.map(function(b){return String(b)});A.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,A)}}var te=!1,ne=!1,Et=!1,St=!1,wt=!1,qe;qe=Symbol.for("react.module.reference");function Ct(t){return!!(typeof t=="string"||typeof t=="function"||t===o||t===c||wt||t===g||t===T||t===v||St||t===j||te||ne||Et||typeof t=="object"&&t!==null&&(t.$$typeof===_||t.$$typeof===O||t.$$typeof===d||t.$$typeof===y||t.$$typeof===h||t.$$typeof===qe||t.getModuleId!==void 0))}function Ot(t,i,s){var u=t.displayName;if(u)return u;var p=i.displayName||i.name||"";return p!==""?s+"("+p+")":s}function Xe(t){return t.displayName||"Context"}function W(t){if(t==null)return null;if(typeof t.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case o:return"Fragment";case n:return"Portal";case c:return"Profiler";case g:return"StrictMode";case T:return"Suspense";case v:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case y:var i=t;return Xe(i)+".Consumer";case d:var s=t;return Xe(s._context)+".Provider";case h:return Ot(t,t.render,"ForwardRef");case O:var u=t.displayName||null;return u!==null?u:W(t.type)||"Memo";case _:{var p=t,A=p._payload,b=p._init;try{return W(b(A))}catch{return null}}}return null}var V=Object.assign,re=0,Qe,Ze,et,tt,rt,at,it;function nt(){}nt.__reactDisabledLog=!0;function It(){{if(re===0){Qe=console.log,Ze=console.info,et=console.warn,tt=console.error,rt=console.group,at=console.groupCollapsed,it=console.groupEnd;var t={configurable:!0,enumerable:!0,value:nt,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}re++}}function Pt(){{if(re--,re===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},t,{value:Qe}),info:V({},t,{value:Ze}),warn:V({},t,{value:et}),error:V({},t,{value:tt}),group:V({},t,{value:rt}),groupCollapsed:V({},t,{value:at}),groupEnd:V({},t,{value:it})})}re<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var he=H.ReactCurrentDispatcher,ge;function se(t,i,s){{if(ge===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);ge=u&&u[1]||""}return`
|
|
18
18
|
`+ge+t}}var me=!1,le;{var jt=typeof WeakMap=="function"?WeakMap:Map;le=new jt}function st(t,i){if(!t||me)return"";{var s=le.get(t);if(s!==void 0)return s}var u;me=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var A;A=he.current,he.current=null,It();try{if(i){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(Y){u=Y}Reflect.construct(t,[],b)}else{try{b.call()}catch(Y){u=Y}t.call(b.prototype)}}else{try{throw Error()}catch(Y){u=Y}t()}}catch(Y){if(Y&&u&&typeof Y.stack=="string"){for(var m=Y.stack.split(`
|
|
19
19
|
`),D=u.stack.split(`
|
|
20
|
-
`),
|
|
21
|
-
`+m[
|
|
20
|
+
`),R=m.length-1,w=D.length-1;R>=1&&w>=0&&m[R]!==D[w];)w--;for(;R>=1&&w>=0;R--,w--)if(m[R]!==D[w]){if(R!==1||w!==1)do if(R--,w--,w<0||m[R]!==D[w]){var x=`
|
|
21
|
+
`+m[R].replace(" at new "," at ");return t.displayName&&x.includes("<anonymous>")&&(x=x.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,x),x}while(R>=1&&w>=0);break}}}finally{me=!1,he.current=A,Pt(),Error.prepareStackTrace=p}var K=t?t.displayName||t.name:"",yt=K?se(K):"";return typeof t=="function"&&le.set(t,yt),yt}function Dt(t,i,s){return st(t,!1)}function Lt(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ce(t,i,s){if(t==null)return"";if(typeof t=="function")return st(t,Lt(t));if(typeof t=="string")return se(t);switch(t){case T:return se("Suspense");case v:return se("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case h:return Dt(t.render);case O:return ce(t.type,i,s);case _:{var u=t,p=u._payload,A=u._init;try{return ce(A(p),i,s)}catch{}}}return""}var oe=Object.prototype.hasOwnProperty,lt={},ct=H.ReactDebugCurrentFrame;function ue(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ct.setExtraStackFrame(s)}else ct.setExtraStackFrame(null)}function $t(t,i,s,u,p){{var A=Function.call.bind(oe);for(var b in t)if(A(t,b)){var m=void 0;try{if(typeof t[b]!="function"){var D=Error((u||"React class")+": "+s+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw D.name="Invariant Violation",D}m=t[b](i,b,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){m=R}m&&!(m instanceof Error)&&(ue(p),S("%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,b,typeof m),ue(null)),m instanceof Error&&!(m.message in lt)&&(lt[m.message]=!0,ue(p),S("Failed %s type: %s",s,m.message),ue(null))}}}var Ft=Array.isArray;function ve(t){return Ft(t)}function xt(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Mt(t){try{return ot(t),!1}catch{return!0}}function ot(t){return""+t}function ut(t){if(Mt(t))return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xt(t)),ot(t)}var ae=H.ReactCurrentOwner,Bt={key:!0,ref:!0,__self:!0,__source:!0},ft,dt,be;be={};function Wt(t){if(oe.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Yt(t){if(oe.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function Ut(t,i){if(typeof t.ref=="string"&&ae.current&&i&&ae.current.stateNode!==i){var s=W(ae.current.type);be[s]||(S('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',W(ae.current.type),t.ref),be[s]=!0)}}function Ht(t,i){{var s=function(){ft||(ft=!0,S("%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))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function Vt(t,i){{var s=function(){dt||(dt=!0,S("%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))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var Jt=function(t,i,s,u,p,A,b){var m={$$typeof:a,type:t,key:i,ref:s,props:b,_owner:A};return m._store={},Object.defineProperty(m._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(m,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(m,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(m.props),Object.freeze(m)),m};function zt(t,i,s,u,p){{var A,b={},m=null,D=null;s!==void 0&&(ut(s),m=""+s),Yt(i)&&(ut(i.key),m=""+i.key),Wt(i)&&(D=i.ref,Ut(i,p));for(A in i)oe.call(i,A)&&!Bt.hasOwnProperty(A)&&(b[A]=i[A]);if(t&&t.defaultProps){var R=t.defaultProps;for(A in R)b[A]===void 0&&(b[A]=R[A])}if(m||D){var w=typeof t=="function"?t.displayName||t.name||"Unknown":t;m&&Ht(b,w),D&&Vt(b,w)}return Jt(t,m,D,p,u,ae.current,b)}}var pe=H.ReactCurrentOwner,ht=H.ReactDebugCurrentFrame;function G(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);ht.setExtraStackFrame(s)}else ht.setExtraStackFrame(null)}var ye;ye=!1;function _e(t){return typeof t=="object"&&t!==null&&t.$$typeof===a}function gt(){{if(pe.current){var t=W(pe.current.type);if(t)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+t+"`."}return""}}function Gt(t){{if(t!==void 0){var i=t.fileName.replace(/^.*[\\\/]/,""),s=t.lineNumber;return`
|
|
24
24
|
|
|
25
25
|
Check your code at `+i+":"+s+"."}return""}}var mt={};function Kt(t){{var i=gt();if(!i){var s=typeof t=="string"?t:t.displayName||t.name;s&&(i=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+s+">.")}return i}}function vt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=Kt(i);if(mt[s])return;mt[s]=!0;var u="";t&&t._owner&&t._owner!==pe.current&&(u=" It was passed a child from "+W(t._owner.type)+"."),G(t),S('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),G(null)}}function bt(t,i){{if(typeof t!="object")return;if(ve(t))for(var s=0;s<t.length;s++){var u=t[s];_e(u)&&vt(u,i)}else if(_e(t))t._store&&(t._store.validated=!0);else if(t){var p=de(t);if(typeof p=="function"&&p!==t.entries)for(var A=p.call(t),b;!(b=A.next()).done;)_e(b.value)&&vt(b.value,i)}}}function qt(t){{var i=t.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===h||i.$$typeof===O))s=i.propTypes;else return;if(s){var u=W(i);$t(s,t.props,"prop",u,t)}else if(i.PropTypes!==void 0&&!ye){ye=!0;var p=W(i);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(t){{for(var i=Object.keys(t.props),s=0;s<i.length;s++){var u=i[s];if(u!=="children"&&u!=="key"){G(t),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),G(null);break}}t.ref!==null&&(G(t),S("Invalid attribute `ref` supplied to `React.Fragment`."),G(null))}}function pt(t,i,s,u,p,A){{var b=Ct(t);if(!b){var m="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=Gt(p);D?m+=D:m+=gt();var
|
|
27
|
+
Check the top-level render call using <`+s+">.")}return i}}function vt(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=Kt(i);if(mt[s])return;mt[s]=!0;var u="";t&&t._owner&&t._owner!==pe.current&&(u=" It was passed a child from "+W(t._owner.type)+"."),G(t),S('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),G(null)}}function bt(t,i){{if(typeof t!="object")return;if(ve(t))for(var s=0;s<t.length;s++){var u=t[s];_e(u)&&vt(u,i)}else if(_e(t))t._store&&(t._store.validated=!0);else if(t){var p=de(t);if(typeof p=="function"&&p!==t.entries)for(var A=p.call(t),b;!(b=A.next()).done;)_e(b.value)&&vt(b.value,i)}}}function qt(t){{var i=t.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===h||i.$$typeof===O))s=i.propTypes;else return;if(s){var u=W(i);$t(s,t.props,"prop",u,t)}else if(i.PropTypes!==void 0&&!ye){ye=!0;var p=W(i);S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Xt(t){{for(var i=Object.keys(t.props),s=0;s<i.length;s++){var u=i[s];if(u!=="children"&&u!=="key"){G(t),S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),G(null);break}}t.ref!==null&&(G(t),S("Invalid attribute `ref` supplied to `React.Fragment`."),G(null))}}function pt(t,i,s,u,p,A){{var b=Ct(t);if(!b){var m="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(m+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var D=Gt(p);D?m+=D:m+=gt();var R;t===null?R="null":ve(t)?R="array":t!==void 0&&t.$$typeof===a?(R="<"+(W(t.type)||"Unknown")+" />",m=" Did you accidentally export a JSX literal instead of a component?"):R=typeof t,S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",R,m)}var w=zt(t,i,s,p,A);if(w==null)return w;if(b){var x=i.children;if(x!==void 0)if(u)if(ve(x)){for(var K=0;K<x.length;K++)bt(x[K],t);Object.freeze&&Object.freeze(x)}else S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else bt(x,t)}return t===o?Xt(w):qt(w),w}}function Qt(t,i,s){return pt(t,i,s,!0)}function Zt(t,i,s){return pt(t,i,s,!1)}var er=Zt,tr=Qt;Q.Fragment=o,Q.jsx=er,Q.jsxs=tr}()),Q}(function(e){process.env.NODE_ENV==="production"?e.exports=At():e.exports=Nt()})(ie);const M=ie.exports.Fragment,r=ie.exports.jsx,l=ie.exports.jsxs,L=({node:e})=>e.hasTitle()?r("div",{className:"title",children:C.default(e.getTitle()||"")}):null,Z=({node:e})=>e.hasTitle()?r("div",{className:"title",children:C.default(e.getCaptionedTitle()||"")}):null,k=e=>typeof e.getRole()=="string"?e.getRole():void 0,N=e=>e.getLineNumber()?{"data-lineno":e.getLineNumber()}:{},Re=({node:e})=>{const a=e.getAttributes(),n=e.getDocument(),o=U(e),g=()=>n.getAttribute("icons")==="font"&&!a.icon?r("i",{className:`fa icon-${a.name}`,title:a.textlabel}):r("img",{src:e.getIconUri(a.name),alt:a.textlabel});return e.content_model,r("div",{className:`admonitionblock ${a.name}`,...N(e),children:r("table",{children:r("tbody",{children:l("tr",{children:[r("td",{className:"icon",children:n.hasAttribute("icons")?g():r("div",{className:"title",children:e.getAttribute("textlabel")})}),l("td",{className:"content",children:[r(L,{node:e}),C.default(o)]})]})})})})},ke=({node:e})=>{const a=e.getAttribute("start"),n=e.getAttribute("start"),o=(a||n)&&`#t=${a||""}`+n?`,${n}`:"";return l("div",{className:"audioblock",...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r("audio",{src:`${e.getMediaUri(e.getAttribute("target"))}${o}`,autoPlay:e.isOption("autoplay"),controls:!e.isOption("nocontrols"),loop:e.isOption("loop"),children:"Your browser does not support the audio tag."})})]})},Ee=({node:e})=>l("div",{className:"colist",...N(e),children:[r(L,{node:e}),r("table",{children:r("tbody",{children:e.getItems().map((a,n)=>l("tr",{children:[l("td",{children:[r("i",{className:"conum","data-value":n+1}),r("b",{children:n+1})]}),l("td",{children:[C.default(F(a)),r($,{blocks:a.getBlocks()})]})]},n))})})]});var Se={exports:{}};/*!
|
|
28
28
|
Copyright (c) 2018 Jed Watson.
|
|
29
29
|
Licensed under the MIT License (MIT), see
|
|
30
30
|
http://jedwatson.github.io/classnames
|
|
31
|
-
*/(function(e){(function(){var a={}.hasOwnProperty;function n(){for(var o=[],g=0;g<arguments.length;g++){var l=arguments[g];if(!!l){var d=typeof l;if(d==="string"||d==="number")o.push(l);else if(Array.isArray(l)){if(l.length){var y=n.apply(null,l);y&&o.push(y)}}else if(d==="object"){if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]")){o.push(l.toString());continue}for(var h in l)a.call(l,h)&&l[h]&&o.push(h)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Se);const E=Se.exports,we=({node:e})=>{const a=e.getStyle(),n=l=>{const d=l,y=d[0];let h=d[1];return h.getNodeName||(h=null),{terms:y,dd:h}},o=l=>{if(l)return c("dd",{children:[l.hasText()&&r("p",{children:C.default(F(l))}),l.hasBlocks()&&r(L,{blocks:l.getBlocks()})]})},g=e.hasTitle()&&r("div",{className:"title",children:e.getCaptionedTitle()});if(a==="qanda")return c("div",{className:E("qlist qanda",R(e)),...N(e),children:[g,r("ol",{children:e.getItems().map((l,d)=>{const{terms:y,dd:h}=n(l);return c("li",{children:[y.map((T,v)=>r("p",{children:r("em",{children:F(T)})},v)),o(h)]},d)})})]});if(a==="horizontal"){const l=e.getAttribute("labelwidth"),d=e.getAttribute("itemwidth");return c("div",{className:E("hdlist",R(e)),children:[g,c("table",{children:[(l||d)&&c("colgroup",{children:[r("col",{style:{width:l?`${l.replace("%","")}%`:""}}),r("col",{style:{width:d?`${d.replace("%","")}%`:""}})]}),r("tbody",{children:e.getItems().map((y,h)=>{const{terms:T,dd:v}=n(y);return c("tr",{children:[r("td",{className:E("hdlist1",e.isOption("strong")?"strong":""),children:T.map((O,_)=>c(P.Fragment,{children:[_!==0&&r("br",{}),C.default(F(O))]},_))}),v&&c("td",{className:"hdlist2",children:[v.hasText()&&r("p",{children:C.default(F(v))}),v.hasBlocks()&&r(L,{blocks:v.getBlocks()})]})]},h)})})]})]})}else return c("div",{className:E("dlist",e.getStyle(),R(e)),children:[g,r("dl",{children:e.getItems().map((l,d)=>{const{terms:y,dd:h}=n(l);return c(P.Fragment,{children:[y.map((T,v)=>r("dt",{className:"hdlist1",children:C.default(F(T))},v)),o(h)]},d)})})]})},ee=({node:e,opts:a})=>{if(!e.hasSections())return null;const n=e.getSections(),o=e.getDocument(),g=P.useMemo(()=>o.getAttributes(),[e]),l=P.useMemo(()=>o.getAttribute("sectnumlevels"),[e]),d=P.useMemo(()=>o.getAttribute("toclevels"),[e]),y=(a==null?void 0:a.sectNumLevels)||(l?parseInt(l):3),h=(a==null?void 0:a.tocLevels)||(d?parseInt(d):2);return r("ul",{className:`sectlevel${n[0].getLevel()}`,children:n.map(T=>{let v=T.$sectnum();v=v==="."||v===".."?"":v;const O=T.getLevel();let _="";if(T.getCaption())_=T.getCaptionedTitle();else if(O<=y)if(O<2&&o.getDoctype()=="book"){const j=T.getSectionName();j==="chapter"?_=`${g["chapter-signifier"]||""} ${v} ${T.getTitle()}`:j==="part"?_=`${g["part-signifier"]||""} ${v} ${T.getTitle()}`:_=`${v} ${T.getTitle()}`}else _=`${v} ${T.getTitle()}`;else _=T.getTitle()||"";return c("li",{children:[r("a",{href:`#${T.getId()}`,children:C.default(_)}),O<h&&r(ee,{node:T,opts:{tocLevels:h,sectNumLevels:y}})]},T.getId())})})},Ce=({document:e})=>{const a=e.getBlocks(),n=e.getFootnotes(),o=()=>{var d;return e.getNoheader()?null:r("div",{id:"header",children:e.hasHeader()&&c(M,{children:[r("h1",{dangerouslySetInnerHTML:{__html:((d=e.getDocumentTitle())==null?void 0:d.toString())||""}}),r(l,{}),e.hasSections()&&e.hasAttribute("toc")&&e.getAttribute("toc-placement")==="auto"&&c("div",{id:"toc",className:e.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:e.getAttribute("toc-title")}),r(ee,{node:e})]})]})})},g=()=>n&&n.length>0&&a&&!a[0].getDocument().hasAttribute("nofootnotes")?c("div",{id:"footnotes",children:[r("hr",{}),n.map(d=>c("div",{className:"footnote",id:`_footnotedef_${d.getIndex()}`,children:[r("a",{href:`#_footnoteref_${d.getIndex()}`,children:d.getIndex()}),"."," ",C.default(F(d)||"")]},d.getIndex()))]}):null,l=()=>e.getAuthors().length>0||e.hasAttribute("revnumber")||e.hasAttribute("revdate")||e.hasAttribute("revremark")?c("div",{className:"details",children:[e.getAuthors().map((y,h)=>c(P.Fragment,{children:[y.getName()&&c(M,{children:[r("span",{id:`author${h+1>1?h+1:""}`,className:"author",children:C.default(e.applySubstitutions(y.getName()||"").toString())}),r("br",{})]}),y.getEmail()&&c(M,{children:[r("span",{id:`email${h+1>1?h+1:""}`,className:"email",children:C.default(e.applySubstitutions(y.getEmail()||"").toString())}),r("br",{})]})]},h)),e.hasAttribute("revnumber")&&r("span",{id:"revnumber",children:`${e.getAttribute("version-label").toLowerCase()} ${e.getAttribute("revnumber")}${e.hasAttribute("revdate")?",":""}`}),e.hasAttribute("revdate")&&r("span",{id:"revdate",children:e.getAttribute("revdate")}),e.hasAttribute("revremark")&&c(M,{children:[r("br",{}),r("span",{id:"revremark",children:e.getAttribute("revremark")})]})]}):null;return c(M,{children:[r(o,{}),r("div",{id:"content",children:r(L,{blocks:a})}),r(g,{})]})},Oe=({node:e})=>c("div",{className:E("exampleblock",R(e)),...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r(L,{blocks:e.getBlocks()})})]}),Ie=({node:e})=>{const a=e.getLevel();return c(M,{children:[r("a",{className:"sectionanchor",id:`${e.getId()||""}`,...N(e)}),P.createElement(`h${a+1}`,null,r($,{node:e}))]})},Pe=({node:e})=>{const a=e.getAttribute("target");let n=r("img",{src:e.getImageUri(a),alt:e.getAttribute("alt"),width:e.getAttribute("width"),height:e.getAttribute("height")});return e.hasAttribute("link")&&(n=r("a",{className:"image",href:e.getAttribute("link"),children:n})),c("div",{className:`imageblock ${e.hasAttribute("align")?"text-"+e.getAttribute("align"):""} ${e.hasAttribute("float")?e.getAttribute("float"):""} ${e.getRole()?e.getRole():""}`,...N(e),children:[r("div",{className:"content",children:n}),r(Z,{node:e})]})},je=({node:e})=>{const a=e.getDocument(),n=e.getAttributes(),o=e.isOption("nowrap")||!a.hasAttribute("prewrap"),g=U(e);if(e.getStyle()==="source"){const l=n.language;return c("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:E("highlight",o?" nowrap":""),children:l?r("code",{className:l?`language-${l}`:"","data-lang":l,dangerouslySetInnerHTML:{__html:g}}):r("code",{dangerouslySetInnerHTML:{__html:g}})})})]})}else return c("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:o?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.getSource()}})})})]})},Le=({node:e})=>{const n=e.getDocument().getAttributes().prewrap===void 0||e.isOption("nowrap");return c("div",{className:"literalblock",...N(e),children:[r($,{node:e}),r("div",{className:"content",children:r("pre",{className:n?"nowrap":"",children:e.getSource()})})]})},De=({node:e})=>c("div",{className:E("olist",R(e),e.getStyle()),...N(e),children:[r($,{node:e}),r("ol",{className:e.getStyle(),reversed:e.isOption("reversed"),start:e.getAttribute("start"),children:e.getItems().map((a,n)=>c("li",{className:R(e)?R(e):"",children:[r("p",{children:C.default(F(a))}),r(L,{blocks:a.getBlocks()})]},n))})]}),$e=({node:e})=>{const a=e.getStyle();return a==="abstract"?c("div",{className:E("quoteblock abstract",R(e)),...N(e),children:[r($,{node:e}),r("blockquote",{className:"content",children:r(L,{blocks:e.getBlocks()})})]}):c("div",{className:E("openblock",a&&a!=="open"?a:"",R(e)),...N(e),children:[r($,{node:e}),r("div",{className:"content",children:r(L,{blocks:e.getBlocks()})})]})},Fe=()=>r("div",{style:{pageBreakAfter:"always"}}),xe=({node:e})=>{const a=U(e);return c("div",{id:e.getId?e.getId():"",className:E("paragraph",R(e)),...N(e),children:[r($,{node:e}),r("p",{dangerouslySetInnerHTML:{__html:a}})]})},Me=({node:e})=>{const a=U(e);return r(M,{children:C.default(a)})},Be=({node:e})=>{const a=e.getDocument(),n=a.getAttribute("toc-placement")==="preamble"&&a.hasSections()&&a.hasAttribute("toc");return r("div",{id:"preamble",...N(e),children:c("div",{className:"sectionbody",children:[r(L,{blocks:e.getBlocks()}),n&&c("div",{id:"toc",className:a.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:C.default(a.getAttribute("toc-title"))}),r(ee,{node:a})]})]})})},We=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return c("div",{id:e.getId?e.getId():"",className:E("quoteblock",R(e)),...N(e),children:[r($,{node:e}),r("blockquote",{dangerouslySetInnerHTML:{__html:o}}),a&&c("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ye=({node:e})=>{const a=e.getDocument().getAttributes(),n=e.getLevel();let o="",g=e.getSectionNumeral();g=g==="."?"":g;const l=a.sectnumlevels?parseInt(a.sectnumlevels):3;if(e.getCaption())o=e.getCaptionedTitle();else if(e.isNumbered()&&n<=l)if(n<2&&e.getDocument().getDoctype()=="book"){const d=e.getSectionName();d==="chapter"?o=`${a["chapter-signifier"]||""} ${g} ${e.getTitle()}`:d==="part"?o=`${a["part-signifier"]||""} ${g} ${e.getTitle()}`:o=`${g} ${e.getTitle()}`}else o=`${g} ${e.getTitle()}`;else o=e.getTitle()||"";return a.sectlinks&&(o=c(M,{children:[r("a",{className:"anchor",id:e.getId()||"",...N(e)}),r("a",{className:"link",href:`#${e.getId()}`,dangerouslySetInnerHTML:{__html:o}})]})),n===0?c(M,{children:[r("h1",{className:E("sect0",R(e)),"data-sectnum":g,...N(e),children:o}),r(L,{blocks:e.getBlocks()})]}):c("div",{className:E(`sect${n}`,R(e)),...N(e),children:[P.createElement(`h${n+1}`,{"data-sectnum":g},o),r("div",{className:"sectionbody",children:r(L,{blocks:e.getBlocks()})})]})},Ue=({node:e})=>r("div",{className:E("sidebarblock",R(e)),...N(e),children:c("div",{className:"content",children:[r($,{node:e}),r(L,{blocks:e.getBlocks()})]})}),He=({node:e})=>{let a=["frame-"+e.getAttribute("frame","all","table-frame"),"grid-"+e.getAttribute("grid","all","table-grid")],n=e.getAttribute("stripes",null,"table-stripes");n&&a.push("stripes-"+n);let o=e.hasAutowidthOption(),g=e.getAttribute("tablepcwidth"),l=null;o&&!e.hasAttribute("width")?a.push("fit-content"):g==100?a.push("stretch"):l=`${g}%`,e.hasAttribute("float")&&a.push(e.getAttribute("float")),e.getRole()&&a.push(e.getRole()||"");const d=e.getRowCount(),y=e.getColumns(),h=e.getHeadRows(),T=e.getBodyRows(),v=e.getFootRows(),O=_=>E("tableblock",`halign-${_.getAttribute("halign")}`,`valign-${_.getAttribute("valign")}`);return c("table",{className:E("tableblock",...a),style:{width:l||void 0},...N(e),children:[e.hasTitle()&&r("caption",{className:"title",children:e.getCaptionedTitle()}),d>0&&r("colgroup",{children:y.map((_,j)=>{const I=_.getAttribute("colpcwidth");return r("col",{style:{width:`${I}%`}},j)})}),h.map((_,j)=>r("thead",{children:r("tr",{children:_.map((I,B)=>r("th",{className:O(I),dangerouslySetInnerHTML:{__html:F(I)}},B))})},j)),r("tbody",{children:T.map((_,j)=>r("tr",{children:_.map((I,B)=>{const de=I.getColumnSpan(),H=I.getRowSpan(),S=U(I),z={colSpan:de,rowSpan:H,className:O(I)},te=I.getStyle();if(te==="asciidoc")return P.createElement("td",{...z,key:B},r("div",{className:"content",dangerouslySetInnerHTML:{__html:S}}));if(te==="literal")return P.createElement("td",{...z,key:B},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:S}})}));if(te==="header")return P.createElement("th",{...z,key:B},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:S}}));{let ne=S;return P.createElement("td",{...z,key:B},ne.length===0?"":C.default(`<p class="tableblock">${ne.join(`</p>
|
|
32
|
-
<p class="tableblock">`)}</p>`))}})},j))}),v.map((_,j)=>r("tfoot",{children:r("tr",{children:_.map((I,B)=>r("td",{className:O(I),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:F(I)}})},B))})},j))]})},Ve=({node:e})=>{let a=e.getId()||"toc";const n=e.getDocument(),o=e.hasTitle()?e.getTitle():n.getAttribute("toc-title"),g=P.useMemo(()=>n.getAttribute("toc-placement"),[e]),
|
|
31
|
+
*/(function(e){(function(){var a={}.hasOwnProperty;function n(){for(var o=[],g=0;g<arguments.length;g++){var c=arguments[g];if(!!c){var d=typeof c;if(d==="string"||d==="number")o.push(c);else if(Array.isArray(c)){if(c.length){var y=n.apply(null,c);y&&o.push(y)}}else if(d==="object"){if(c.toString!==Object.prototype.toString&&!c.toString.toString().includes("[native code]")){o.push(c.toString());continue}for(var h in c)a.call(c,h)&&c[h]&&o.push(h)}}}return o.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(Se);const E=Se.exports,we=({node:e})=>{const a=e.getStyle(),n=c=>{const d=c,y=d[0];let h=d[1];return h.getNodeName||(h=null),{terms:y,dd:h}},o=c=>{if(c)return l("dd",{children:[c.hasText()&&r("p",{children:C.default(F(c))}),c.hasBlocks()&&r($,{blocks:c.getBlocks()})]})},g=e.hasTitle()&&r("div",{className:"title",children:e.getCaptionedTitle()});if(a==="qanda")return l("div",{className:E("qlist qanda",k(e)),...N(e),children:[g,r("ol",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l("li",{children:[y.map((T,v)=>r("p",{children:r("em",{children:F(T)})},v)),o(h)]},d)})})]});if(a==="horizontal"){const c=e.getAttribute("labelwidth"),d=e.getAttribute("itemwidth");return l("div",{className:E("hdlist",k(e)),children:[g,l("table",{children:[(c||d)&&l("colgroup",{children:[r("col",{style:{width:c?`${c.replace("%","")}%`:""}}),r("col",{style:{width:d?`${d.replace("%","")}%`:""}})]}),r("tbody",{children:e.getItems().map((y,h)=>{const{terms:T,dd:v}=n(y);return l("tr",{children:[r("td",{className:E("hdlist1",e.isOption("strong")?"strong":""),children:T.map((O,_)=>l(P.Fragment,{children:[_!==0&&r("br",{}),C.default(F(O))]},_))}),v&&l("td",{className:"hdlist2",children:[v.hasText()&&r("p",{children:C.default(F(v))}),v.hasBlocks()&&r($,{blocks:v.getBlocks()})]})]},h)})})]})]})}else return l("div",{className:E("dlist",e.getStyle(),k(e)),children:[g,r("dl",{children:e.getItems().map((c,d)=>{const{terms:y,dd:h}=n(c);return l(P.Fragment,{children:[y.map((T,v)=>r("dt",{className:"hdlist1",children:C.default(F(T))},v)),o(h)]},d)})})]})},ee=({node:e,opts:a})=>{if(!e.hasSections())return null;const n=e.getSections(),o=e.getDocument(),g=P.useMemo(()=>o.getAttributes(),[e]),c=P.useMemo(()=>o.getAttribute("sectnumlevels"),[e]),d=P.useMemo(()=>o.getAttribute("toclevels"),[e]),y=(a==null?void 0:a.sectNumLevels)||(c?parseInt(c):3),h=(a==null?void 0:a.tocLevels)||(d?parseInt(d):2);return r("ul",{className:`sectlevel${n[0].getLevel()}`,children:n.map(T=>{let v=T.$sectnum();v=v==="."||v===".."?"":v;const O=T.getLevel();let _="";if(T.getCaption())_=T.getCaptionedTitle();else if(O<=y)if(O<2&&o.getDoctype()=="book"){const j=T.getSectionName();j==="chapter"?_=`${g["chapter-signifier"]||""} ${v} ${T.getTitle()}`:j==="part"?_=`${g["part-signifier"]||""} ${v} ${T.getTitle()}`:_=`${v} ${T.getTitle()}`}else _=`${v} ${T.getTitle()}`;else _=T.getTitle()||"";return l("li",{children:[r("a",{href:`#${T.getId()}`,children:C.default(_)}),O<h&&r(ee,{node:T,opts:{tocLevels:h,sectNumLevels:y}})]},T.getId())})})},Ce=({document:e})=>{const a=e.getBlocks(),n=e.getFootnotes(),o=()=>{var d;return e.getNoheader()?null:r("div",{id:"header",children:e.hasHeader()&&l(M,{children:[r("h1",{dangerouslySetInnerHTML:{__html:((d=e.getDocumentTitle())==null?void 0:d.toString())||""}}),r(c,{}),e.hasSections()&&e.hasAttribute("toc")&&e.getAttribute("toc-placement")==="auto"&&l("div",{id:"toc",className:e.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:e.getAttribute("toc-title")}),r(ee,{node:e})]})]})})},g=()=>n&&n.length>0&&a&&!a[0].getDocument().hasAttribute("nofootnotes")?l("div",{id:"footnotes",children:[r("hr",{}),n.map(d=>l("div",{className:"footnote",id:`_footnotedef_${d.getIndex()}`,children:[r("a",{href:`#_footnoteref_${d.getIndex()}`,children:d.getIndex()}),"."," ",C.default(F(d)||"")]},d.getIndex()))]}):null,c=()=>e.getAuthors().length>0||e.hasAttribute("revnumber")||e.hasAttribute("revdate")||e.hasAttribute("revremark")?l("div",{className:"details",children:[e.getAuthors().map((y,h)=>l(P.Fragment,{children:[y.getName()&&l(M,{children:[r("span",{id:`author${h+1>1?h+1:""}`,className:"author",children:C.default(e.applySubstitutions(y.getName()||"").toString())}),r("br",{})]}),y.getEmail()&&l(M,{children:[r("span",{id:`email${h+1>1?h+1:""}`,className:"email",children:C.default(e.applySubstitutions(y.getEmail()||"").toString())}),r("br",{})]})]},h)),e.hasAttribute("revnumber")&&r("span",{id:"revnumber",children:`${e.getAttribute("version-label").toLowerCase()} ${e.getAttribute("revnumber")}${e.hasAttribute("revdate")?",":""}`}),e.hasAttribute("revdate")&&r("span",{id:"revdate",children:e.getAttribute("revdate")}),e.hasAttribute("revremark")&&l(M,{children:[r("br",{}),r("span",{id:"revremark",children:e.getAttribute("revremark")})]})]}):null;return l(M,{children:[r(o,{}),r("div",{id:"content",children:r($,{blocks:a})}),r(g,{})]})},Oe=({node:e})=>l("div",{className:E("exampleblock",k(e)),...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]}),Ie=({node:e})=>{const a=e.getLevel();return l(M,{children:[r("a",{className:"sectionanchor",id:`${e.getId()||""}`,...N(e)}),P.createElement(`h${a+1}`,null,r(L,{node:e}))]})},Pe=({node:e})=>{const a=e.getAttribute("target");let n=r("img",{src:e.getImageUri(a),alt:e.getAttribute("alt"),width:e.getAttribute("width"),height:e.getAttribute("height")});return e.hasAttribute("link")&&(n=r("a",{className:"image",href:e.getAttribute("link"),children:n})),l("div",{className:`imageblock ${e.hasAttribute("align")?"text-"+e.getAttribute("align"):""} ${e.hasAttribute("float")?e.getAttribute("float"):""} ${e.getRole()?e.getRole():""}`,...N(e),children:[r("div",{className:"content",children:n}),r(Z,{node:e})]})},je=({node:e})=>{const a=e.getDocument(),n=e.getAttributes(),o=e.isOption("nowrap")||!a.hasAttribute("prewrap"),g=U(e);if(e.getStyle()==="source"){const c=n.language;return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:E("highlight",o?" nowrap":""),children:c?r("code",{className:c?`language-${c}`:"","data-lang":c,dangerouslySetInnerHTML:{__html:g}}):r("code",{dangerouslySetInnerHTML:{__html:g}})})})]})}else return l("div",{className:"listingblock",...N(e),children:[r(Z,{node:e}),r("div",{className:"content",children:r("pre",{className:o?" nowrap":"",children:r("code",{dangerouslySetInnerHTML:{__html:e.getSource()}})})})]})},De=({node:e})=>{const n=e.getDocument().getAttributes().prewrap===void 0||e.isOption("nowrap");return l("div",{className:"literalblock",...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r("pre",{className:n?"nowrap":"",children:e.getSource()})})]})},Le=({node:e})=>l("div",{className:E("olist",k(e),e.getStyle()),...N(e),children:[r(L,{node:e}),r("ol",{className:e.getStyle(),reversed:e.isOption("reversed"),start:e.getAttribute("start"),children:e.getItems().map((a,n)=>l("li",{className:k(e)?k(e):"",children:[r("p",{children:C.default(F(a))}),r($,{blocks:a.getBlocks()})]},n))})]}),$e=({node:e})=>{const a=e.getStyle();return a==="abstract"?l("div",{className:E("quoteblock abstract",k(e)),...N(e),children:[r(L,{node:e}),r("blockquote",{className:"content",children:r($,{blocks:e.getBlocks()})})]}):l("div",{className:E("openblock",a&&a!=="open"?a:"",k(e)),...N(e),children:[r(L,{node:e}),r("div",{className:"content",children:r($,{blocks:e.getBlocks()})})]})},Fe=()=>r("div",{style:{pageBreakAfter:"always"}}),xe=({node:e})=>(U(e),r("div",{id:e.getId?e.getId():"",className:E("paragraph",k(e)),...N(e),children:r(L,{node:e})})),Me=({node:e})=>{const a=U(e);return r(M,{children:C.default(a)})},Be=({node:e})=>{const a=e.getDocument(),n=a.getAttribute("toc-placement")==="preamble"&&a.hasSections()&&a.hasAttribute("toc");return r("div",{id:"preamble",...N(e),children:l("div",{className:"sectionbody",children:[r($,{blocks:e.getBlocks()}),n&&l("div",{id:"toc",className:a.getAttribute("toc-class","toc"),children:[r("div",{id:"toctitle",children:C.default(a.getAttribute("toc-title"))}),r(ee,{node:a})]})]})})},We=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:E("quoteblock",k(e)),...N(e),children:[r(L,{node:e}),r("blockquote",{dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ye=({node:e})=>{const a=e.getDocument().getAttributes(),n=e.getLevel();let o="",g=e.getSectionNumeral();g=g==="."?"":g;const c=a.sectnumlevels?parseInt(a.sectnumlevels):3;if(e.getCaption())o=e.getCaptionedTitle();else if(e.isNumbered()&&n<=c)if(n<2&&e.getDocument().getDoctype()=="book"){const d=e.getSectionName();d==="chapter"?o=`${a["chapter-signifier"]||""} ${g} ${e.getTitle()}`:d==="part"?o=`${a["part-signifier"]||""} ${g} ${e.getTitle()}`:o=`${g} ${e.getTitle()}`}else o=`${g} ${e.getTitle()}`;else o=e.getTitle()||"";return a.sectlinks&&(o=l(M,{children:[r("a",{className:"anchor",id:e.getId()||"",...N(e)}),r("a",{className:"link",href:`#${e.getId()}`,dangerouslySetInnerHTML:{__html:o}})]})),n===0?l(M,{children:[r("h1",{className:E("sect0",k(e)),"data-sectnum":g,...N(e),children:o}),r($,{blocks:e.getBlocks()})]}):l("div",{className:E(`sect${n}`,k(e)),...N(e),children:[P.createElement(`h${n+1}`,{"data-sectnum":g},o),r("div",{className:"sectionbody",children:r($,{blocks:e.getBlocks()})})]})},Ue=({node:e})=>r("div",{className:E("sidebarblock",k(e)),...N(e),children:l("div",{className:"content",children:[r(L,{node:e}),r($,{blocks:e.getBlocks()})]})}),He=({node:e})=>{let a=["frame-"+e.getAttribute("frame","all","table-frame"),"grid-"+e.getAttribute("grid","all","table-grid")],n=e.getAttribute("stripes",null,"table-stripes");n&&a.push("stripes-"+n);let o=e.hasAutowidthOption(),g=e.getAttribute("tablepcwidth"),c=null;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()||"");const d=e.getRowCount(),y=e.getColumns(),h=e.getHeadRows(),T=e.getBodyRows(),v=e.getFootRows(),O=_=>E("tableblock",`halign-${_.getAttribute("halign")}`,`valign-${_.getAttribute("valign")}`);return l("table",{className:E("tableblock",...a),style:{width:c||void 0},...N(e),children:[e.hasTitle()&&r("caption",{className:"title",children:e.getCaptionedTitle()}),d>0&&r("colgroup",{children:y.map((_,j)=>{const I=_.getAttribute("colpcwidth");return r("col",{style:{width:`${I}%`}},j)})}),h.map((_,j)=>r("thead",{children:r("tr",{children:_.map((I,B)=>r("th",{className:O(I),dangerouslySetInnerHTML:{__html:F(I)}},B))})},j)),r("tbody",{children:T.map((_,j)=>r("tr",{children:_.map((I,B)=>{const de=I.getColumnSpan(),H=I.getRowSpan(),S=U(I),z={colSpan:de,rowSpan:H,className:O(I)},te=I.getStyle();if(te==="asciidoc")return P.createElement("td",{...z,key:B},r("div",{className:"content",dangerouslySetInnerHTML:{__html:S}}));if(te==="literal")return P.createElement("td",{...z,key:B},r("div",{className:"literal",children:r("pre",{dangerouslySetInnerHTML:{__html:S}})}));if(te==="header")return P.createElement("th",{...z,key:B},r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:S}}));{let ne=S;return P.createElement("td",{...z,key:B},ne.length===0?"":C.default(`<p class="tableblock">${ne.join(`</p>
|
|
32
|
+
<p class="tableblock">`)}</p>`))}})},j))}),v.map((_,j)=>r("tfoot",{children:r("tr",{children:_.map((I,B)=>r("td",{className:O(I),children:r("p",{className:"tableblock",dangerouslySetInnerHTML:{__html:F(I)}})},B))})},j))]})},Ve=({node:e})=>{let a=e.getId()||"toc";const n=e.getDocument(),o=e.hasTitle()?e.getTitle():n.getAttribute("toc-title"),g=P.useMemo(()=>n.getAttribute("toc-placement"),[e]),c=P.useMemo(()=>n.hasAttribute("toc"),[e]),d=e.hasAttribute("levels")?parseInt(e.getAttribute("levels")):void 0;return g==="macro"&&n.hasSections()&&c?l("div",{id:a,className:E("toc",k(e)),children:[r("div",{id:`${a}title`,className:"title",children:C.default(o||"")}),r(ee,{node:e.getDocument(),opts:{tocLevels:d}})]}):null},Je=()=>r("hr",{}),ze=({node:e})=>{const a=e.isOption("checklist");return l("div",{id:e.getId?e.getId():"",className:E("ulist",e.getStyle(),k(e),a&&"checklist"),...N(e),children:[r(L,{node:e}),r("ul",{className:a?"checklist":"",children:e.getItems().map((n,o)=>a?r("li",{id:n.getId(),className:k(e),children:l("p",{children:[a&&n.hasAttribute("checkbox")&&r("i",{className:E("fa",n.hasAttribute("checked")?"fa-check-square-o":"fa-square-o")})," ",C.default(F(n))]})},o):l("li",{id:n.getId(),className:k(e),children:[r("p",{dangerouslySetInnerHTML:{__html:F(n)}}),r($,{blocks:n.getBlocks()})]},o))})]})},Ge=({node:e})=>{const a=e.getAttribute("attribution"),n=e.getAttribute("citetitle"),o=U(e);return l("div",{id:e.getId?e.getId():"",className:E("verseblock",k(e)),...N(e),children:[r(L,{node:e}),r("pre",{className:"content",dangerouslySetInnerHTML:{__html:o}}),a&&l("div",{className:"attribution",children:["\u2014 ",a,n&&r("cite",{children:n})]})]})},Ke=P.createContext({}),Rt=({content:e,options:a})=>{const n=a&&a.customDocument;return r(Ke.Provider,{value:a||{},children:n?r(n,{document:e}):r(Ce,{document:e})})},$=({blocks:e})=>r(M,{children:e.map((a,n)=>r(kt,{node:a},`${n}-${a.getNodeName()}`))}),kt=({node:e})=>{const a=P.useContext(Ke),n=e.getNodeName(),o=e.getDocument(),g=e.getAttributes();o.playbackAttributes(g);const c=a&&a.overrides&&a.overrides[n];if(c)return r(c,{node:e});switch(n){case"audio":return r(ke,{node:e});case"preamble":return r(Be,{node:e});case"section":return r(Ye,{node:e});case"paragraph":return r(xe,{node:e});case"dlist":return r(we,{node:e});case"ulist":return r(ze,{node:e});case"floating_title":return r(Ie,{node:e});case"admonition":return r(Re,{node:e});case"listing":return r(je,{node:e});case"literal":return r(De,{node:e});case"image":return r(Pe,{node:e});case"colist":return r(Ee,{node:e});case"olist":return r(Le,{node:e});case"table":return r(He,{node:e});case"thematic_break":return r(Je,{});case"open":return r($e,{node:e});case"pass":return r(Me,{node:e});case"page_break":return r(Fe,{});case"example":return r(Oe,{node:e});case"sidebar":return r(Ue,{node:e});case"quote":return r(We,{node:e});case"verse":return r(Ge,{node:e});case"toc":return r(Ve,{node:e});default:return r(M,{children:C.default(e.convert())})}};Object.defineProperty(f,"asciidoctor",{enumerable:!0,get:()=>Tt.default}),f.Admonition=Re,f.Audio=ke,f.CaptionedTitle=Z,f.CoList=Ee,f.Content=$,f.DList=we,f.Document=Ce,f.Example=Oe,f.FloatingTitle=Ie,f.Image=Pe,f.Listing=je,f.Literal=De,f.OList=Le,f.Open=$e,f.Outline=ee,f.PageBreak=Fe,f.Paragraph=xe,f.Pass=Me,f.Preamble=Be,f.Quote=We,f.Section=Ye,f.Sidebar=Ue,f.Table=He,f.TableOfContents=Ve,f.ThematicBreak=Je,f.Title=L,f.UList=ze,f.Verse=Ge,f.default=Rt,f.getContent=U,f.getLineNumber=N,f.getRole=k,f.getText=F,Object.defineProperties(f,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|