@oxide/react-asciidoc 1.0.5--canary.91bbec0.0 → 1.0.5--canary.e50ecd3.0
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ee, { Fragment as qr, createElement as G, createContext as Ve, useContext as te } from "react";
|
|
2
|
-
import
|
|
3
|
-
import { default as
|
|
2
|
+
import k from "html-react-parser";
|
|
3
|
+
import { default as _t } from "html-react-parser";
|
|
4
4
|
var Kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function Be(r) {
|
|
6
6
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
@@ -21,11 +21,11 @@ function He() {
|
|
|
21
21
|
Xr = 1;
|
|
22
22
|
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, n = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
23
|
function m(i, c, j) {
|
|
24
|
-
var y,
|
|
25
|
-
j !== void 0 && (
|
|
26
|
-
for (y in c) o.call(c, y) && !u.hasOwnProperty(y) && (
|
|
27
|
-
if (i && i.defaultProps) for (y in c = i.defaultProps, c)
|
|
28
|
-
return { $$typeof: a, type: i, key:
|
|
24
|
+
var y, b = {}, d = null, f = null;
|
|
25
|
+
j !== void 0 && (d = "" + j), c.key !== void 0 && (d = "" + c.key), c.ref !== void 0 && (f = c.ref);
|
|
26
|
+
for (y in c) o.call(c, y) && !u.hasOwnProperty(y) && (b[y] = c[y]);
|
|
27
|
+
if (i && i.defaultProps) for (y in c = i.defaultProps, c) b[y] === void 0 && (b[y] = c[y]);
|
|
28
|
+
return { $$typeof: a, type: i, key: d, ref: f, props: b, _owner: n.current };
|
|
29
29
|
}
|
|
30
30
|
return X.Fragment = s, X.jsx = m, X.jsxs = m, X;
|
|
31
31
|
}
|
|
@@ -42,7 +42,7 @@ var Q = {};
|
|
|
42
42
|
var Qr;
|
|
43
43
|
function $e() {
|
|
44
44
|
return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
-
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"),
|
|
45
|
+
var r = ee, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.offscreen"), w = Symbol.iterator, C = "@@iterator";
|
|
46
46
|
function O(t) {
|
|
47
47
|
if (t === null || typeof t != "object")
|
|
48
48
|
return null;
|
|
@@ -52,38 +52,38 @@ function $e() {
|
|
|
52
52
|
var F = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
53
|
function E(t) {
|
|
54
54
|
{
|
|
55
|
-
for (var l = arguments.length,
|
|
56
|
-
|
|
57
|
-
H("error", t,
|
|
55
|
+
for (var l = arguments.length, p = new Array(l > 1 ? l - 1 : 0), g = 1; g < l; g++)
|
|
56
|
+
p[g - 1] = arguments[g];
|
|
57
|
+
H("error", t, p);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function H(t, l,
|
|
60
|
+
function H(t, l, p) {
|
|
61
61
|
{
|
|
62
62
|
var g = F.ReactDebugCurrentFrame, x = g.getStackAddendum();
|
|
63
|
-
x !== "" && (l += "%s",
|
|
64
|
-
var q =
|
|
63
|
+
x !== "" && (l += "%s", p = p.concat([x]));
|
|
64
|
+
var q = p.map(function(v) {
|
|
65
65
|
return String(v);
|
|
66
66
|
});
|
|
67
67
|
q.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, q);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var W = !1, tr = !1, ne = !1, ce = !1, ue = !1,
|
|
71
|
-
|
|
70
|
+
var W = !1, tr = !1, ne = !1, ce = !1, ue = !1, kr;
|
|
71
|
+
kr = Symbol.for("react.module.reference");
|
|
72
72
|
function pe(t) {
|
|
73
|
-
return !!(typeof t == "string" || typeof t == "function" || t === o || t === u || ue || t === n || t === j || t === y || ce || t === f || W || tr || ne || typeof t == "object" && t !== null && (t.$$typeof ===
|
|
73
|
+
return !!(typeof t == "string" || typeof t == "function" || t === o || t === u || ue || t === n || t === j || t === y || ce || t === f || W || tr || ne || typeof t == "object" && t !== null && (t.$$typeof === d || t.$$typeof === b || t.$$typeof === m || t.$$typeof === i || t.$$typeof === c || // This needs to include all possible module reference object
|
|
74
74
|
// types supported by any Flight configuration anywhere since
|
|
75
75
|
// we don't know which Flight build this will end up being used
|
|
76
76
|
// with.
|
|
77
|
-
t.$$typeof ===
|
|
77
|
+
t.$$typeof === kr || t.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function de(t, l,
|
|
79
|
+
function de(t, l, p) {
|
|
80
80
|
var g = t.displayName;
|
|
81
81
|
if (g)
|
|
82
82
|
return g;
|
|
83
83
|
var x = l.displayName || l.name || "";
|
|
84
|
-
return x !== "" ?
|
|
84
|
+
return x !== "" ? p + "(" + x + ")" : p;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Dr(t) {
|
|
87
87
|
return t.displayName || "Context";
|
|
88
88
|
}
|
|
89
89
|
function U(t) {
|
|
@@ -111,16 +111,16 @@ function $e() {
|
|
|
111
111
|
switch (t.$$typeof) {
|
|
112
112
|
case i:
|
|
113
113
|
var l = t;
|
|
114
|
-
return
|
|
114
|
+
return Dr(l) + ".Consumer";
|
|
115
115
|
case m:
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var p = t;
|
|
117
|
+
return Dr(p._context) + ".Provider";
|
|
118
118
|
case c:
|
|
119
119
|
return de(t, t.render, "ForwardRef");
|
|
120
|
-
case
|
|
120
|
+
case b:
|
|
121
121
|
var g = t.displayName || null;
|
|
122
122
|
return g !== null ? g : U(t.type) || "Memo";
|
|
123
|
-
case
|
|
123
|
+
case d: {
|
|
124
124
|
var x = t, q = x._payload, v = x._init;
|
|
125
125
|
try {
|
|
126
126
|
return U(v(q));
|
|
@@ -194,7 +194,7 @@ function $e() {
|
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
196
|
var pr = F.ReactCurrentDispatcher, dr;
|
|
197
|
-
function ar(t, l,
|
|
197
|
+
function ar(t, l, p) {
|
|
198
198
|
{
|
|
199
199
|
if (dr === void 0)
|
|
200
200
|
try {
|
|
@@ -216,9 +216,9 @@ function $e() {
|
|
|
216
216
|
if (!t || mr)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
219
|
-
var
|
|
220
|
-
if (
|
|
221
|
-
return
|
|
219
|
+
var p = sr.get(t);
|
|
220
|
+
if (p !== void 0)
|
|
221
|
+
return p;
|
|
222
222
|
}
|
|
223
223
|
var g;
|
|
224
224
|
mr = !0;
|
|
@@ -260,20 +260,20 @@ function $e() {
|
|
|
260
260
|
}
|
|
261
261
|
} catch (L) {
|
|
262
262
|
if (L && g && typeof L.stack == "string") {
|
|
263
|
-
for (var
|
|
263
|
+
for (var h = L.stack.split(`
|
|
264
264
|
`), T = g.stack.split(`
|
|
265
|
-
`), A =
|
|
266
|
-
|
|
267
|
-
for (; A >= 1 &&
|
|
268
|
-
if (
|
|
269
|
-
if (A !== 1 ||
|
|
265
|
+
`), A = h.length - 1, D = T.length - 1; A >= 1 && D >= 0 && h[A] !== T[D]; )
|
|
266
|
+
D--;
|
|
267
|
+
for (; A >= 1 && D >= 0; A--, D--)
|
|
268
|
+
if (h[A] !== T[D]) {
|
|
269
|
+
if (A !== 1 || D !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (A--,
|
|
271
|
+
if (A--, D--, D < 0 || h[A] !== T[D]) {
|
|
272
272
|
var _ = `
|
|
273
|
-
` +
|
|
273
|
+
` + h[A].replace(" at new ", " at ");
|
|
274
274
|
return t.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", t.displayName)), typeof t == "function" && sr.set(t, _), _;
|
|
275
275
|
}
|
|
276
|
-
while (A >= 1 &&
|
|
276
|
+
while (A >= 1 && D >= 0);
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
@@ -283,14 +283,14 @@ function $e() {
|
|
|
283
283
|
var z = t ? t.displayName || t.name : "", B = z ? ar(z) : "";
|
|
284
284
|
return typeof t == "function" && sr.set(t, B), B;
|
|
285
285
|
}
|
|
286
|
-
function he(t, l,
|
|
286
|
+
function he(t, l, p) {
|
|
287
287
|
return Ur(t, !1);
|
|
288
288
|
}
|
|
289
289
|
function be(t) {
|
|
290
290
|
var l = t.prototype;
|
|
291
291
|
return !!(l && l.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function ir(t, l,
|
|
293
|
+
function ir(t, l, p) {
|
|
294
294
|
if (t == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof t == "function")
|
|
@@ -307,12 +307,12 @@ function $e() {
|
|
|
307
307
|
switch (t.$$typeof) {
|
|
308
308
|
case c:
|
|
309
309
|
return he(t.render);
|
|
310
|
-
case
|
|
311
|
-
return ir(t.type, l,
|
|
312
|
-
case
|
|
310
|
+
case b:
|
|
311
|
+
return ir(t.type, l, p);
|
|
312
|
+
case d: {
|
|
313
313
|
var g = t, x = g._payload, q = g._init;
|
|
314
314
|
try {
|
|
315
|
-
return ir(q(x), l,
|
|
315
|
+
return ir(q(x), l, p);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
@@ -322,27 +322,27 @@ function $e() {
|
|
|
322
322
|
var Z = Object.prototype.hasOwnProperty, Pr = {}, Ir = F.ReactDebugCurrentFrame;
|
|
323
323
|
function lr(t) {
|
|
324
324
|
if (t) {
|
|
325
|
-
var l = t._owner,
|
|
326
|
-
Ir.setExtraStackFrame(
|
|
325
|
+
var l = t._owner, p = ir(t.type, t._source, l ? l.type : null);
|
|
326
|
+
Ir.setExtraStackFrame(p);
|
|
327
327
|
} else
|
|
328
328
|
Ir.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function ve(t, l,
|
|
330
|
+
function ve(t, l, p, g, x) {
|
|
331
331
|
{
|
|
332
332
|
var q = Function.call.bind(Z);
|
|
333
333
|
for (var v in t)
|
|
334
334
|
if (q(t, v)) {
|
|
335
|
-
var
|
|
335
|
+
var h = void 0;
|
|
336
336
|
try {
|
|
337
337
|
if (typeof t[v] != "function") {
|
|
338
|
-
var T = Error((g || "React class") + ": " +
|
|
338
|
+
var T = Error((g || "React class") + ": " + p + " 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`.");
|
|
339
339
|
throw T.name = "Invariant Violation", T;
|
|
340
340
|
}
|
|
341
|
-
|
|
341
|
+
h = t[v](l, v, g, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
342
|
} catch (A) {
|
|
343
|
-
|
|
343
|
+
h = A;
|
|
344
344
|
}
|
|
345
|
-
|
|
345
|
+
h && !(h instanceof Error) && (lr(x), E("%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).", g || "React class", p, v, typeof h), lr(null)), h instanceof Error && !(h.message in Pr) && (Pr[h.message] = !0, lr(x), E("Failed %s type: %s", p, h.message), lr(null));
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}
|
|
@@ -352,8 +352,8 @@ function $e() {
|
|
|
352
352
|
}
|
|
353
353
|
function ye(t) {
|
|
354
354
|
{
|
|
355
|
-
var l = typeof Symbol == "function" && Symbol.toStringTag,
|
|
356
|
-
return
|
|
355
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, p = l && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
356
|
+
return p;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
function we(t) {
|
|
@@ -395,65 +395,65 @@ function $e() {
|
|
|
395
395
|
}
|
|
396
396
|
function Ne(t, l) {
|
|
397
397
|
if (typeof t.ref == "string" && K.current && l && K.current.stateNode !== l) {
|
|
398
|
-
var
|
|
399
|
-
fr[
|
|
398
|
+
var p = U(K.current.type);
|
|
399
|
+
fr[p] || (E('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', U(K.current.type), t.ref), fr[p] = !0);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
function Ae(t, l) {
|
|
403
403
|
{
|
|
404
|
-
var
|
|
404
|
+
var p = function() {
|
|
405
405
|
Hr || (Hr = !0, E("%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)", l));
|
|
406
406
|
};
|
|
407
|
-
|
|
408
|
-
get:
|
|
407
|
+
p.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
408
|
+
get: p,
|
|
409
409
|
configurable: !0
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function ke(t, l) {
|
|
414
414
|
{
|
|
415
|
-
var
|
|
415
|
+
var p = function() {
|
|
416
416
|
$r || ($r = !0, E("%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)", l));
|
|
417
417
|
};
|
|
418
|
-
|
|
419
|
-
get:
|
|
418
|
+
p.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
419
|
+
get: p,
|
|
420
420
|
configurable: !0
|
|
421
421
|
});
|
|
422
422
|
}
|
|
423
423
|
}
|
|
424
|
-
var
|
|
425
|
-
var
|
|
424
|
+
var De = function(t, l, p, g, x, q, v) {
|
|
425
|
+
var h = {
|
|
426
426
|
// This tag allows us to uniquely identify this as a React Element
|
|
427
427
|
$$typeof: a,
|
|
428
428
|
// Built-in properties that belong on the element
|
|
429
429
|
type: t,
|
|
430
430
|
key: l,
|
|
431
|
-
ref:
|
|
431
|
+
ref: p,
|
|
432
432
|
props: v,
|
|
433
433
|
// Record the component responsible for creating this element.
|
|
434
434
|
_owner: q
|
|
435
435
|
};
|
|
436
|
-
return
|
|
436
|
+
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
437
437
|
configurable: !1,
|
|
438
438
|
enumerable: !1,
|
|
439
439
|
writable: !0,
|
|
440
440
|
value: !1
|
|
441
|
-
}), Object.defineProperty(
|
|
441
|
+
}), Object.defineProperty(h, "_self", {
|
|
442
442
|
configurable: !1,
|
|
443
443
|
enumerable: !1,
|
|
444
444
|
writable: !1,
|
|
445
445
|
value: g
|
|
446
|
-
}), Object.defineProperty(
|
|
446
|
+
}), Object.defineProperty(h, "_source", {
|
|
447
447
|
configurable: !1,
|
|
448
448
|
enumerable: !1,
|
|
449
449
|
writable: !1,
|
|
450
450
|
value: x
|
|
451
|
-
}), Object.freeze && (Object.freeze(
|
|
451
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
452
452
|
};
|
|
453
|
-
function Se(t, l,
|
|
453
|
+
function Se(t, l, p, g, x) {
|
|
454
454
|
{
|
|
455
|
-
var q, v = {},
|
|
456
|
-
|
|
455
|
+
var q, v = {}, h = null, T = null;
|
|
456
|
+
p !== void 0 && (Br(p), h = "" + p), Ee(l) && (Br(l.key), h = "" + l.key), je(l) && (T = l.ref, Ne(l, x));
|
|
457
457
|
for (q in l)
|
|
458
458
|
Z.call(l, q) && !qe.hasOwnProperty(q) && (v[q] = l[q]);
|
|
459
459
|
if (t && t.defaultProps) {
|
|
@@ -461,18 +461,18 @@ function $e() {
|
|
|
461
461
|
for (q in A)
|
|
462
462
|
v[q] === void 0 && (v[q] = A[q]);
|
|
463
463
|
}
|
|
464
|
-
if (
|
|
465
|
-
var
|
|
466
|
-
|
|
464
|
+
if (h || T) {
|
|
465
|
+
var D = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
466
|
+
h && Ae(v, D), T && ke(v, D);
|
|
467
467
|
}
|
|
468
|
-
return
|
|
468
|
+
return De(t, h, T, x, g, K.current, v);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
471
|
var hr = F.ReactCurrentOwner, zr = F.ReactDebugCurrentFrame;
|
|
472
472
|
function $(t) {
|
|
473
473
|
if (t) {
|
|
474
|
-
var l = t._owner,
|
|
475
|
-
zr.setExtraStackFrame(
|
|
474
|
+
var l = t._owner, p = ir(t.type, t._source, l ? l.type : null);
|
|
475
|
+
zr.setExtraStackFrame(p);
|
|
476
476
|
} else
|
|
477
477
|
zr.setExtraStackFrame(null);
|
|
478
478
|
}
|
|
@@ -501,10 +501,10 @@ Check the render method of \`` + t + "`.";
|
|
|
501
501
|
{
|
|
502
502
|
var l = Gr();
|
|
503
503
|
if (!l) {
|
|
504
|
-
var
|
|
505
|
-
|
|
504
|
+
var p = typeof t == "string" ? t : t.displayName || t.name;
|
|
505
|
+
p && (l = `
|
|
506
506
|
|
|
507
|
-
Check the top-level render call using <` +
|
|
507
|
+
Check the top-level render call using <` + p + ">.");
|
|
508
508
|
}
|
|
509
509
|
return l;
|
|
510
510
|
}
|
|
@@ -514,12 +514,12 @@ Check the top-level render call using <` + d + ">.");
|
|
|
514
514
|
if (!t._store || t._store.validated || t.key != null)
|
|
515
515
|
return;
|
|
516
516
|
t._store.validated = !0;
|
|
517
|
-
var
|
|
518
|
-
if (Mr[
|
|
517
|
+
var p = Te(l);
|
|
518
|
+
if (Mr[p])
|
|
519
519
|
return;
|
|
520
|
-
Mr[
|
|
520
|
+
Mr[p] = !0;
|
|
521
521
|
var g = "";
|
|
522
|
-
t && t._owner && t._owner !== hr.current && (g = " It was passed a child from " + U(t._owner.type) + "."), $(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
522
|
+
t && t._owner && t._owner !== hr.current && (g = " It was passed a child from " + U(t._owner.type) + "."), $(t), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, g), $(null);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
function Wr(t, l) {
|
|
@@ -527,8 +527,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
527
527
|
if (typeof t != "object")
|
|
528
528
|
return;
|
|
529
529
|
if (gr(t))
|
|
530
|
-
for (var
|
|
531
|
-
var g = t[
|
|
530
|
+
for (var p = 0; p < t.length; p++) {
|
|
531
|
+
var g = t[p];
|
|
532
532
|
vr(g) && Yr(g, l);
|
|
533
533
|
}
|
|
534
534
|
else if (vr(t))
|
|
@@ -546,18 +546,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
546
546
|
var l = t.type;
|
|
547
547
|
if (l == null || typeof l == "string")
|
|
548
548
|
return;
|
|
549
|
-
var
|
|
549
|
+
var p;
|
|
550
550
|
if (typeof l == "function")
|
|
551
|
-
|
|
551
|
+
p = l.propTypes;
|
|
552
552
|
else if (typeof l == "object" && (l.$$typeof === c || // Note: Memo only checks outer props here.
|
|
553
553
|
// Inner props are checked in the reconciler.
|
|
554
|
-
l.$$typeof ===
|
|
555
|
-
|
|
554
|
+
l.$$typeof === b))
|
|
555
|
+
p = l.propTypes;
|
|
556
556
|
else
|
|
557
557
|
return;
|
|
558
|
-
if (
|
|
558
|
+
if (p) {
|
|
559
559
|
var g = U(l);
|
|
560
|
-
ve(
|
|
560
|
+
ve(p, t.props, "prop", g, t);
|
|
561
561
|
} else if (l.PropTypes !== void 0 && !br) {
|
|
562
562
|
br = !0;
|
|
563
563
|
var x = U(l);
|
|
@@ -568,8 +568,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
568
568
|
}
|
|
569
569
|
function Le(t) {
|
|
570
570
|
{
|
|
571
|
-
for (var l = Object.keys(t.props),
|
|
572
|
-
var g = l[
|
|
571
|
+
for (var l = Object.keys(t.props), p = 0; p < l.length; p++) {
|
|
572
|
+
var g = l[p];
|
|
573
573
|
if (g !== "children" && g !== "key") {
|
|
574
574
|
$(t), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), $(null);
|
|
575
575
|
break;
|
|
@@ -579,20 +579,20 @@ Check the top-level render call using <` + d + ">.");
|
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
581
|
var Jr = {};
|
|
582
|
-
function Zr(t, l,
|
|
582
|
+
function Zr(t, l, p, g, x, q) {
|
|
583
583
|
{
|
|
584
584
|
var v = pe(t);
|
|
585
585
|
if (!v) {
|
|
586
|
-
var
|
|
587
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
586
|
+
var h = "";
|
|
587
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
588
588
|
var T = Re();
|
|
589
|
-
T ?
|
|
589
|
+
T ? h += T : h += Gr();
|
|
590
590
|
var A;
|
|
591
|
-
t === null ? A = "null" : gr(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (U(t.type) || "Unknown") + " />",
|
|
591
|
+
t === null ? A = "null" : gr(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (U(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : A = typeof t, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", A, h);
|
|
592
592
|
}
|
|
593
|
-
var
|
|
594
|
-
if (
|
|
595
|
-
return
|
|
593
|
+
var D = Se(t, l, p, x, q);
|
|
594
|
+
if (D == null)
|
|
595
|
+
return D;
|
|
596
596
|
if (v) {
|
|
597
597
|
var _ = l.children;
|
|
598
598
|
if (_ !== void 0)
|
|
@@ -620,14 +620,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
620
620
|
<%s key={someKey} {...props} />`, xr, B, Pe, B), Jr[B + xr] = !0;
|
|
621
621
|
}
|
|
622
622
|
}
|
|
623
|
-
return t === o ? Le(
|
|
623
|
+
return t === o ? Le(D) : Ce(D), D;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
function Oe(t, l,
|
|
627
|
-
return Zr(t, l,
|
|
626
|
+
function Oe(t, l, p) {
|
|
627
|
+
return Zr(t, l, p, !0);
|
|
628
628
|
}
|
|
629
|
-
function _e(t, l,
|
|
630
|
-
return Zr(t, l,
|
|
629
|
+
function _e(t, l, p) {
|
|
630
|
+
return Zr(t, l, p, !1);
|
|
631
631
|
}
|
|
632
632
|
var Fe = _e, Ue = Oe;
|
|
633
633
|
Q.Fragment = o, Q.jsx = Fe, Q.jsxs = Ue;
|
|
@@ -635,7 +635,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
635
635
|
}
|
|
636
636
|
process.env.NODE_ENV === "production" ? jr.exports = He() : jr.exports = $e();
|
|
637
637
|
var e = jr.exports;
|
|
638
|
-
const
|
|
638
|
+
const S = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title", children: k(r) }) : null, ze = ({ node: r }) => {
|
|
639
639
|
const { document: a } = I(), s = a.attributes || {}, o = r.attributes, n = () => s.icons === "font" && !o.icon ? /* @__PURE__ */ e.jsx("i", { className: `fa icon-${o.name}`, title: `${o.textlabel}` }) : /* @__PURE__ */ e.jsx("img", { src: r.iconUri, alt: `${o.textlabel}` });
|
|
640
640
|
return /* @__PURE__ */ e.jsx(
|
|
641
641
|
"div",
|
|
@@ -645,8 +645,8 @@ const D = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
645
645
|
children: /* @__PURE__ */ e.jsx("table", { children: /* @__PURE__ */ e.jsx("tbody", { children: /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
646
646
|
/* @__PURE__ */ e.jsx("td", { className: "icon", children: s.icons ? n() : /* @__PURE__ */ e.jsx("div", { className: "title", children: o.textlabel }) }),
|
|
647
647
|
/* @__PURE__ */ e.jsxs("td", { className: "content", children: [
|
|
648
|
-
/* @__PURE__ */ e.jsx(
|
|
649
|
-
r.content &&
|
|
648
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
649
|
+
r.content && k(r.content),
|
|
650
650
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks })
|
|
651
651
|
] })
|
|
652
652
|
] }) }) })
|
|
@@ -660,7 +660,7 @@ const D = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
660
660
|
className: "audioblock",
|
|
661
661
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
662
662
|
children: [
|
|
663
|
-
/* @__PURE__ */ e.jsx(
|
|
663
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
664
664
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
665
665
|
"audio",
|
|
666
666
|
{
|
|
@@ -675,14 +675,14 @@ const D = ({ text: r }) => r ? /* @__PURE__ */ e.jsx("div", { className: "title"
|
|
|
675
675
|
}
|
|
676
676
|
);
|
|
677
677
|
}, Me = ({ node: r }) => /* @__PURE__ */ e.jsxs("div", { className: "colist", ...r.lineNumber ? { "data-lineno": r.lineNumber } : {}, children: [
|
|
678
|
-
/* @__PURE__ */ e.jsx(
|
|
678
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
679
679
|
/* @__PURE__ */ e.jsx("table", { children: /* @__PURE__ */ e.jsx("tbody", { children: r.items.map((a, s) => /* @__PURE__ */ e.jsxs("tr", { children: [
|
|
680
680
|
/* @__PURE__ */ e.jsxs("td", { children: [
|
|
681
681
|
/* @__PURE__ */ e.jsx("i", { className: "conum", "data-value": s + 1 }),
|
|
682
682
|
/* @__PURE__ */ e.jsx("b", { children: s + 1 })
|
|
683
683
|
] }),
|
|
684
684
|
/* @__PURE__ */ e.jsxs("td", { children: [
|
|
685
|
-
a.text &&
|
|
685
|
+
a.text && k(a.text),
|
|
686
686
|
/* @__PURE__ */ e.jsx(R, { blocks: a.blocks })
|
|
687
687
|
] })
|
|
688
688
|
] }, s)) }) })
|
|
@@ -777,12 +777,12 @@ function Ke(r, a) {
|
|
|
777
777
|
var s = a === void 0 ? Ze : a, o = s.mode, n = o === void 0 ? "specialChars" : o, u = s.numeric, m = u === void 0 ? "decimal" : u, i = s.level, c = i === void 0 ? "all" : i;
|
|
778
778
|
if (!r)
|
|
779
779
|
return "";
|
|
780
|
-
var j = Je[n], y = Nr[c].characters,
|
|
781
|
-
return ie(r, j, function(
|
|
782
|
-
var f = y[
|
|
780
|
+
var j = Je[n], y = Nr[c].characters, b = m === "hexadecimal";
|
|
781
|
+
return ie(r, j, function(d) {
|
|
782
|
+
var f = y[d];
|
|
783
783
|
if (!f) {
|
|
784
|
-
var w =
|
|
785
|
-
f = (
|
|
784
|
+
var w = d.length > 1 ? se.getCodePoint(d, 0) : d.charCodeAt(0);
|
|
785
|
+
f = (b ? "&#x" + w.toString(16) : "&#" + w) + ";";
|
|
786
786
|
}
|
|
787
787
|
return f;
|
|
788
788
|
});
|
|
@@ -816,8 +816,8 @@ function at(r, a) {
|
|
|
816
816
|
if (!r)
|
|
817
817
|
return "";
|
|
818
818
|
var i = Qe[n][m], c = Nr[n].entities, j = m === "attribute", y = m === "strict";
|
|
819
|
-
return ie(r, i, function(
|
|
820
|
-
return oe(
|
|
819
|
+
return ie(r, i, function(b) {
|
|
820
|
+
return oe(b, c, j, y);
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
var st = nr.decode = at;
|
|
@@ -826,12 +826,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
826
826
|
return r[a];
|
|
827
827
|
const u = o || a;
|
|
828
828
|
return u && n && n[u] !== void 0 ? n[u] : s;
|
|
829
|
-
}, P = (r, a) => r[a] !== void 0,
|
|
829
|
+
}, P = (r, a) => r[a] !== void 0, Rt = (r) => {
|
|
830
830
|
var m;
|
|
831
831
|
let a;
|
|
832
832
|
function s(i) {
|
|
833
|
-
const c = i.getNodeName && i.getNodeName(), j = i.getContentModel && i.getContentModel(), y = c && i.hasBlocks() ? i.getBlocks().map((
|
|
834
|
-
let
|
|
833
|
+
const c = i.getNodeName && i.getNodeName(), j = i.getContentModel && i.getContentModel(), y = c && i.hasBlocks() ? i.getBlocks().map((d) => s(d)) : [];
|
|
834
|
+
let b = {
|
|
835
835
|
id: i.getId && i.getId(),
|
|
836
836
|
type: c,
|
|
837
837
|
blocks: y,
|
|
@@ -845,32 +845,28 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
845
845
|
level: i.getLevel && i.getLevel()
|
|
846
846
|
};
|
|
847
847
|
if (c === "admonition") {
|
|
848
|
-
let
|
|
849
|
-
|
|
848
|
+
let d = b;
|
|
849
|
+
d.iconUri = i.getIconUri(b.attributes.name);
|
|
850
850
|
}
|
|
851
851
|
if (c === "audio") {
|
|
852
|
-
let
|
|
853
|
-
|
|
854
|
-
}
|
|
855
|
-
if (c === "video") {
|
|
856
|
-
let p = h;
|
|
857
|
-
p.mediaUri = i.getMediaUri(i.getAttribute("target")), p.autoplay = i.isOption("autoplay"), p.noControls = !i.isOption("nocontrols"), p.loop = i.isOption("loop"), h = p;
|
|
852
|
+
let d = b;
|
|
853
|
+
d.mediaUri = i.getMediaUri(i.getAttribute("target")), d.autoplay = i.isOption("autoplay"), d.noControls = !i.isOption("nocontrols"), d.loop = i.isOption("loop"), b = d;
|
|
858
854
|
}
|
|
859
855
|
if (c === "image") {
|
|
860
|
-
let
|
|
861
|
-
|
|
856
|
+
let d = b;
|
|
857
|
+
d.imageUri = i.getImageUri(i.getAttribute("target"));
|
|
862
858
|
}
|
|
863
859
|
if ((c === "listing" || c === "literal") && "getSource" in i) {
|
|
864
|
-
const
|
|
865
|
-
|
|
860
|
+
const d = b;
|
|
861
|
+
d.source = i.getSource(), d.language = i.getAttribute("language"), d.content = d.content ? st(d.content) : void 0;
|
|
866
862
|
}
|
|
867
863
|
if (c === "section") {
|
|
868
|
-
const
|
|
869
|
-
|
|
864
|
+
const d = b;
|
|
865
|
+
d.title = i.getCaption() ? i.getCaptionedTitle() : i.getTitle() || "", "getSectionNumeral" in i && (d.name = i.getSectionName(), d.numbered = i.isNumbered(), d.num = i.getSectionNumeral());
|
|
870
866
|
}
|
|
871
867
|
if (c === "dlist") {
|
|
872
|
-
let
|
|
873
|
-
|
|
868
|
+
let d = b;
|
|
869
|
+
d.items = i.getItems().map((f) => [
|
|
874
870
|
f[0].map(
|
|
875
871
|
(w) => s(w)
|
|
876
872
|
),
|
|
@@ -878,18 +874,18 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
878
874
|
]);
|
|
879
875
|
}
|
|
880
876
|
if (c === "colist" || c === "olist" || c === "ulist") {
|
|
881
|
-
let
|
|
882
|
-
|
|
877
|
+
let d = b;
|
|
878
|
+
d.items = i.getItems().map((f) => s(f));
|
|
883
879
|
}
|
|
884
880
|
if (c === "list_item") {
|
|
885
|
-
let
|
|
881
|
+
let d = b;
|
|
886
882
|
const f = i;
|
|
887
|
-
|
|
883
|
+
d.text = f.hasText() ? f.getText() : void 0;
|
|
888
884
|
}
|
|
889
885
|
if (c === "table") {
|
|
890
|
-
let
|
|
886
|
+
let d = b;
|
|
891
887
|
const f = i;
|
|
892
|
-
|
|
888
|
+
d.columns = f.getColumns().map((O) => ({
|
|
893
889
|
// @ts-ignore
|
|
894
890
|
attributes: O.getAttributes(),
|
|
895
891
|
columnNumber: O.getColumnNumber(),
|
|
@@ -901,12 +897,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
901
897
|
const w = (O) => O.map(
|
|
902
898
|
(F) => F.map((E) => s(E))
|
|
903
899
|
), C = f.getRows();
|
|
904
|
-
|
|
900
|
+
d.rows = {
|
|
905
901
|
head: w(C.head),
|
|
906
902
|
body: w(C.body),
|
|
907
903
|
foot: w(C.foot)
|
|
908
|
-
},
|
|
909
|
-
...
|
|
904
|
+
}, d = {
|
|
905
|
+
...d,
|
|
910
906
|
caption: f.getCaption(),
|
|
911
907
|
hasHeader: f.hasHeaderOption(),
|
|
912
908
|
hasFooter: f.hasFooterOption(),
|
|
@@ -914,20 +910,20 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
914
910
|
headRows: w(f.getHeadRows()),
|
|
915
911
|
bodyRows: w(f.getBodyRows()),
|
|
916
912
|
footRows: w(f.getFootRows())
|
|
917
|
-
},
|
|
913
|
+
}, b = d;
|
|
918
914
|
}
|
|
919
915
|
if (c === "table_cell") {
|
|
920
|
-
const
|
|
921
|
-
|
|
922
|
-
...
|
|
916
|
+
const d = i, f = d.getColumn();
|
|
917
|
+
b = {
|
|
918
|
+
...b,
|
|
923
919
|
type: "table_cell",
|
|
924
|
-
text:
|
|
925
|
-
columnSpan:
|
|
926
|
-
rowSpan:
|
|
927
|
-
source:
|
|
928
|
-
lines:
|
|
929
|
-
width:
|
|
930
|
-
columnPercentageWidth:
|
|
920
|
+
text: d.getText(),
|
|
921
|
+
columnSpan: d.getColumnSpan(),
|
|
922
|
+
rowSpan: d.getRowSpan(),
|
|
923
|
+
source: d.getSource(),
|
|
924
|
+
lines: d.getLines(),
|
|
925
|
+
width: d.getWidth(),
|
|
926
|
+
columnPercentageWidth: d.getColumnPercentageWidth(),
|
|
931
927
|
column: f ? {
|
|
932
928
|
// @ts-ignore
|
|
933
929
|
attributes: f.getAttributes(),
|
|
@@ -939,7 +935,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
939
935
|
} : void 0
|
|
940
936
|
};
|
|
941
937
|
}
|
|
942
|
-
return
|
|
938
|
+
return b;
|
|
943
939
|
}
|
|
944
940
|
function o(i) {
|
|
945
941
|
return i.getSections().map((c) => ({
|
|
@@ -973,7 +969,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
973
969
|
email: j ? r.applySubstitutions(j).toString() : void 0
|
|
974
970
|
};
|
|
975
971
|
})), a;
|
|
976
|
-
},
|
|
972
|
+
}, Tt = async (r, a) => {
|
|
977
973
|
const s = async (n) => Promise.all(
|
|
978
974
|
n.map(async (u) => {
|
|
979
975
|
let m = await a(u);
|
|
@@ -1001,7 +997,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1001
997
|
}, s = (o) => {
|
|
1002
998
|
if (o)
|
|
1003
999
|
return /* @__PURE__ */ e.jsxs("dd", { children: [
|
|
1004
|
-
o.text && /* @__PURE__ */ e.jsx("p", { children:
|
|
1000
|
+
o.text && /* @__PURE__ */ e.jsx("p", { children: k(o.text) }),
|
|
1005
1001
|
/* @__PURE__ */ e.jsx(R, { blocks: o.blocks })
|
|
1006
1002
|
] });
|
|
1007
1003
|
};
|
|
@@ -1012,12 +1008,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1012
1008
|
className: N("qlist qanda", r.role),
|
|
1013
1009
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1014
1010
|
children: [
|
|
1015
|
-
/* @__PURE__ */ e.jsx(
|
|
1011
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1016
1012
|
/* @__PURE__ */ e.jsx("ol", { children: r.items.map((o, n) => {
|
|
1017
1013
|
const { terms: u, dd: m } = a(o);
|
|
1018
1014
|
if (u)
|
|
1019
1015
|
return /* @__PURE__ */ e.jsxs("li", { children: [
|
|
1020
|
-
u.map((i, c) => /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("em", { children:
|
|
1016
|
+
u.map((i, c) => /* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx("em", { children: k(i.text) }) }, c)),
|
|
1021
1017
|
s(m)
|
|
1022
1018
|
] }, n);
|
|
1023
1019
|
}) })
|
|
@@ -1027,7 +1023,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1027
1023
|
if (r.style === "horizontal") {
|
|
1028
1024
|
const o = r.attributes.labelwidth, n = r.attributes.itemwidth;
|
|
1029
1025
|
return /* @__PURE__ */ e.jsxs("div", { className: N("hdlist", r.role), children: [
|
|
1030
|
-
/* @__PURE__ */ e.jsx(
|
|
1026
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1031
1027
|
/* @__PURE__ */ e.jsxs("table", { children: [
|
|
1032
1028
|
(o || n) && /* @__PURE__ */ e.jsxs("colgroup", { children: [
|
|
1033
1029
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1061,12 +1057,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1061
1057
|
),
|
|
1062
1058
|
children: i.map((j, y) => /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1063
1059
|
y !== 0 && /* @__PURE__ */ e.jsx("br", {}),
|
|
1064
|
-
|
|
1060
|
+
k(j.text)
|
|
1065
1061
|
] }, y))
|
|
1066
1062
|
}
|
|
1067
1063
|
),
|
|
1068
1064
|
c && /* @__PURE__ */ e.jsxs("td", { className: "hdlist2", children: [
|
|
1069
|
-
c.text && /* @__PURE__ */ e.jsx("p", { children:
|
|
1065
|
+
c.text && /* @__PURE__ */ e.jsx("p", { children: k(c.text) }),
|
|
1070
1066
|
/* @__PURE__ */ e.jsx(R, { blocks: c.blocks })
|
|
1071
1067
|
] })
|
|
1072
1068
|
] }, m);
|
|
@@ -1075,12 +1071,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1075
1071
|
] });
|
|
1076
1072
|
} else
|
|
1077
1073
|
return /* @__PURE__ */ e.jsxs("div", { className: N("dlist", r.style, r.role), children: [
|
|
1078
|
-
/* @__PURE__ */ e.jsx(
|
|
1074
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1079
1075
|
/* @__PURE__ */ e.jsx("dl", { children: r.items.map((o, n) => {
|
|
1080
1076
|
const { terms: u, dd: m } = a(o);
|
|
1081
1077
|
if (u)
|
|
1082
1078
|
return /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1083
|
-
u.map((i, c) => /* @__PURE__ */ e.jsx("dt", { className: "hdlist1", children:
|
|
1079
|
+
u.map((i, c) => /* @__PURE__ */ e.jsx("dt", { className: "hdlist1", children: k(i.text) }, c)),
|
|
1084
1080
|
s(m)
|
|
1085
1081
|
] }, n);
|
|
1086
1082
|
}) })
|
|
@@ -1096,9 +1092,9 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1096
1092
|
let j = c.num;
|
|
1097
1093
|
j = j === "." || j === ".." ? "" : j;
|
|
1098
1094
|
const y = c.level;
|
|
1099
|
-
let
|
|
1100
|
-
return y <= m && (
|
|
1101
|
-
/* @__PURE__ */ e.jsx("a", { href: `#${c.id}`, children:
|
|
1095
|
+
let b = c.title;
|
|
1096
|
+
return y <= m && (b = `${j} ${c.title}`), /* @__PURE__ */ e.jsxs("li", { children: [
|
|
1097
|
+
/* @__PURE__ */ e.jsx("a", { href: `#${c.id}`, children: k(b) }),
|
|
1102
1098
|
y < i && /* @__PURE__ */ e.jsx(
|
|
1103
1099
|
ur,
|
|
1104
1100
|
{
|
|
@@ -1144,7 +1140,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1144
1140
|
/* @__PURE__ */ e.jsx("a", { href: `#_footnoteref_${n.index}`, children: n.index }),
|
|
1145
1141
|
".",
|
|
1146
1142
|
" ",
|
|
1147
|
-
|
|
1143
|
+
k(n.text || "")
|
|
1148
1144
|
]
|
|
1149
1145
|
},
|
|
1150
1146
|
n.index
|
|
@@ -1152,11 +1148,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1152
1148
|
] }) : null, o = () => r.authors.length > 0 || P(r.attributes, "revnumber") || P(r.attributes, "revdate") || P(r.attributes, "revremark") ? /* @__PURE__ */ e.jsxs("div", { className: "details", children: [
|
|
1153
1149
|
r.authors.map((n, u) => /* @__PURE__ */ e.jsxs(qr, { children: [
|
|
1154
1150
|
n.name && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1155
|
-
/* @__PURE__ */ e.jsx("span", { id: `author${u + 1 > 1 ? u + 1 : ""}`, className: "author", children:
|
|
1151
|
+
/* @__PURE__ */ e.jsx("span", { id: `author${u + 1 > 1 ? u + 1 : ""}`, className: "author", children: k(n.name) }),
|
|
1156
1152
|
/* @__PURE__ */ e.jsx("br", {})
|
|
1157
1153
|
] }),
|
|
1158
1154
|
n.email && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
1159
|
-
/* @__PURE__ */ e.jsx("span", { id: `email${u + 1 > 1 ? u + 1 : ""}`, className: "email", children:
|
|
1155
|
+
/* @__PURE__ */ e.jsx("span", { id: `email${u + 1 > 1 ? u + 1 : ""}`, className: "email", children: k(n.email) }),
|
|
1160
1156
|
/* @__PURE__ */ e.jsx("br", {})
|
|
1161
1157
|
] })
|
|
1162
1158
|
] }, u)),
|
|
@@ -1183,7 +1179,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1183
1179
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1184
1180
|
...r.id ? { id: r.id } : {},
|
|
1185
1181
|
children: [
|
|
1186
|
-
/* @__PURE__ */ e.jsx("summary", { className: "title", children:
|
|
1182
|
+
/* @__PURE__ */ e.jsx("summary", { className: "title", children: k(s) }),
|
|
1187
1183
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1188
1184
|
]
|
|
1189
1185
|
}
|
|
@@ -1196,7 +1192,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1196
1192
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1197
1193
|
...r.id ? { id: r.id } : {},
|
|
1198
1194
|
children: [
|
|
1199
|
-
/* @__PURE__ */ e.jsx(
|
|
1195
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1200
1196
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1201
1197
|
]
|
|
1202
1198
|
}
|
|
@@ -1213,7 +1209,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1213
1209
|
G(
|
|
1214
1210
|
`h${r.level + 1}`,
|
|
1215
1211
|
{ className: N(r.role, r.style) },
|
|
1216
|
-
|
|
1212
|
+
k(r.title || "")
|
|
1217
1213
|
)
|
|
1218
1214
|
] }), ct = ({ node: r }) => {
|
|
1219
1215
|
let a = /* @__PURE__ */ e.jsx(
|
|
@@ -1236,7 +1232,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1236
1232
|
},
|
|
1237
1233
|
children: [
|
|
1238
1234
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: a }),
|
|
1239
|
-
/* @__PURE__ */ e.jsx(
|
|
1235
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title })
|
|
1240
1236
|
]
|
|
1241
1237
|
}
|
|
1242
1238
|
);
|
|
@@ -1250,7 +1246,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1250
1246
|
className: "listingblock",
|
|
1251
1247
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1252
1248
|
children: [
|
|
1253
|
-
/* @__PURE__ */ e.jsx(
|
|
1249
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1254
1250
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("pre", { className: N("highlight", o ? " nowrap" : ""), children: n ? /* @__PURE__ */ e.jsx(
|
|
1255
1251
|
"code",
|
|
1256
1252
|
{
|
|
@@ -1271,7 +1267,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1271
1267
|
className: "listingblock",
|
|
1272
1268
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1273
1269
|
children: [
|
|
1274
|
-
/* @__PURE__ */ e.jsx(
|
|
1270
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1275
1271
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
1276
1272
|
"pre",
|
|
1277
1273
|
{
|
|
@@ -1292,7 +1288,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1292
1288
|
className: "literalblock",
|
|
1293
1289
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1294
1290
|
children: [
|
|
1295
|
-
/* @__PURE__ */ e.jsx(
|
|
1291
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1296
1292
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx("pre", { className: o ? "nowrap" : "", children: r.source }) })
|
|
1297
1293
|
]
|
|
1298
1294
|
}
|
|
@@ -1303,7 +1299,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1303
1299
|
className: N("olist", r.role, r.style),
|
|
1304
1300
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1305
1301
|
children: [
|
|
1306
|
-
/* @__PURE__ */ e.jsx(
|
|
1302
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1307
1303
|
/* @__PURE__ */ e.jsx(
|
|
1308
1304
|
"ol",
|
|
1309
1305
|
{
|
|
@@ -1311,7 +1307,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1311
1307
|
reversed: er(r.attributes, "reversed"),
|
|
1312
1308
|
...r.attributes.start ? { start: parseInt(`${r.attributes.start}`) } : {},
|
|
1313
1309
|
children: r.items.map((a, s) => /* @__PURE__ */ e.jsxs("li", { className: r.role ? r.role : "", children: [
|
|
1314
|
-
/* @__PURE__ */ e.jsx("p", { children:
|
|
1310
|
+
/* @__PURE__ */ e.jsx("p", { children: k(a.text || "") }),
|
|
1315
1311
|
/* @__PURE__ */ e.jsx(R, { blocks: a.blocks })
|
|
1316
1312
|
] }, s))
|
|
1317
1313
|
}
|
|
@@ -1326,7 +1322,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1326
1322
|
className: N("quoteblock abstract", r.role),
|
|
1327
1323
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1328
1324
|
children: [
|
|
1329
|
-
/* @__PURE__ */ e.jsx(
|
|
1325
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1330
1326
|
/* @__PURE__ */ e.jsx("blockquote", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1331
1327
|
]
|
|
1332
1328
|
}
|
|
@@ -1336,7 +1332,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1336
1332
|
className: N("openblock", a && a !== "open" ? a : "", r.role),
|
|
1337
1333
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1338
1334
|
children: [
|
|
1339
|
-
/* @__PURE__ */ e.jsx(
|
|
1335
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1340
1336
|
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(R, { blocks: r.blocks }) })
|
|
1341
1337
|
]
|
|
1342
1338
|
}
|
|
@@ -1348,11 +1344,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1348
1344
|
className: N("paragraph", r.role),
|
|
1349
1345
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1350
1346
|
children: [
|
|
1351
|
-
/* @__PURE__ */ e.jsx(
|
|
1347
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1352
1348
|
r.content && /* @__PURE__ */ e.jsx("p", { dangerouslySetInnerHTML: { __html: r.content } })
|
|
1353
1349
|
]
|
|
1354
1350
|
}
|
|
1355
|
-
), ht = ({ node: r }) => /* @__PURE__ */ e.jsx(e.Fragment, { children:
|
|
1351
|
+
), ht = ({ node: r }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: k(r.content || "") }), bt = ({ node: r }) => {
|
|
1356
1352
|
const { document: a } = I(), s = a.attributes || {}, o = s["toc-placement"] === "preamble" && a.sections && a.sections.length > 0 && s.toc !== void 0;
|
|
1357
1353
|
return /* @__PURE__ */ e.jsx("div", { id: "preamble", ...r.lineNumber ? { "data-lineno": r.lineNumber } : {}, children: /* @__PURE__ */ e.jsxs("div", { className: "sectionbody", children: [
|
|
1358
1354
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks }),
|
|
@@ -1362,7 +1358,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1362
1358
|
id: "toc",
|
|
1363
1359
|
className: r.attributes["toc-class"] ? `${r.attributes["toc-class"]}` : "toc",
|
|
1364
1360
|
children: [
|
|
1365
|
-
/* @__PURE__ */ e.jsx("div", { id: "toctitle", children:
|
|
1361
|
+
/* @__PURE__ */ e.jsx("div", { id: "toctitle", children: k(`${s["toc-title"]}`) }),
|
|
1366
1362
|
a.sections && /* @__PURE__ */ e.jsx(ur, { sections: a.sections })
|
|
1367
1363
|
]
|
|
1368
1364
|
}
|
|
@@ -1377,12 +1373,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1377
1373
|
className: N("quoteblock", r.role),
|
|
1378
1374
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1379
1375
|
children: [
|
|
1380
|
-
/* @__PURE__ */ e.jsx(
|
|
1376
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1381
1377
|
r.content && /* @__PURE__ */ e.jsx("blockquote", { dangerouslySetInnerHTML: { __html: r.content } }),
|
|
1382
1378
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks }),
|
|
1383
1379
|
a && /* @__PURE__ */ e.jsxs("div", { className: "attribution", children: [
|
|
1384
1380
|
"— ",
|
|
1385
|
-
a,
|
|
1381
|
+
k(a.toString()),
|
|
1386
1382
|
s && /* @__PURE__ */ e.jsx("cite", { children: s })
|
|
1387
1383
|
] })
|
|
1388
1384
|
]
|
|
@@ -1440,7 +1436,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1440
1436
|
className: N("sidebarblock", r.role),
|
|
1441
1437
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1442
1438
|
children: /* @__PURE__ */ e.jsxs("div", { className: "content", children: [
|
|
1443
|
-
/* @__PURE__ */ e.jsx(
|
|
1439
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1444
1440
|
/* @__PURE__ */ e.jsx(R, { blocks: r.blocks })
|
|
1445
1441
|
] })
|
|
1446
1442
|
}
|
|
@@ -1453,11 +1449,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1453
1449
|
n && o.push("stripes-" + n);
|
|
1454
1450
|
let u = er(r.attributes, "autowidth"), m = parseInt(`${r.attributes.tablepcwidth}`), i = null;
|
|
1455
1451
|
u && !P(r.attributes, "width") ? o.push("fit-content") : m === 100 ? o.push("stretch") : i = `${m}%`, P(r.attributes, "float") && o.push(`${r.attributes.float}`), r.role && o.push(r.role || "");
|
|
1456
|
-
const c = (
|
|
1452
|
+
const c = (d) => N(
|
|
1457
1453
|
"tableblock",
|
|
1458
|
-
`halign-${
|
|
1459
|
-
`valign-${
|
|
1460
|
-
), j = r.title, y = r.id,
|
|
1454
|
+
`halign-${d.attributes.halign}`,
|
|
1455
|
+
`valign-${d.attributes.valign}`
|
|
1456
|
+
), j = r.title, y = r.id, b = y || qt(j || "");
|
|
1461
1457
|
return /* @__PURE__ */ e.jsxs(
|
|
1462
1458
|
"table",
|
|
1463
1459
|
{
|
|
@@ -1466,14 +1462,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1466
1462
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1467
1463
|
children: [
|
|
1468
1464
|
r.title && /* @__PURE__ */ e.jsxs("caption", { className: "title", children: [
|
|
1469
|
-
!y && /* @__PURE__ */ e.jsx("a", { className: "anchor", id:
|
|
1470
|
-
/* @__PURE__ */ e.jsx("a", { href: `#${
|
|
1465
|
+
!y && /* @__PURE__ */ e.jsx("a", { className: "anchor", id: b }),
|
|
1466
|
+
/* @__PURE__ */ e.jsx("a", { href: `#${b}`, children: /* @__PURE__ */ e.jsx(S, { text: r.title }) })
|
|
1471
1467
|
] }),
|
|
1472
|
-
r.columns.length > 0 && /* @__PURE__ */ e.jsx("colgroup", { children: r.columns.map((
|
|
1473
|
-
const w =
|
|
1468
|
+
r.columns.length > 0 && /* @__PURE__ */ e.jsx("colgroup", { children: r.columns.map((d, f) => {
|
|
1469
|
+
const w = d.attributes.colpcwidth;
|
|
1474
1470
|
return /* @__PURE__ */ e.jsx("col", { style: { width: `${w}%` } }, f);
|
|
1475
1471
|
}) }),
|
|
1476
|
-
r.headRows.map((
|
|
1472
|
+
r.headRows.map((d, f) => /* @__PURE__ */ e.jsx("thead", { children: /* @__PURE__ */ e.jsx("tr", { children: d.map((w, C) => /* @__PURE__ */ e.jsx(
|
|
1477
1473
|
"th",
|
|
1478
1474
|
{
|
|
1479
1475
|
className: c(w),
|
|
@@ -1481,7 +1477,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1481
1477
|
},
|
|
1482
1478
|
C
|
|
1483
1479
|
)) }) }, f)),
|
|
1484
|
-
/* @__PURE__ */ e.jsx("tbody", { children: r.bodyRows.map((
|
|
1480
|
+
/* @__PURE__ */ e.jsx("tbody", { children: r.bodyRows.map((d, f) => /* @__PURE__ */ e.jsx("tr", { children: d.map((w, C) => {
|
|
1485
1481
|
const O = w.columnSpan, F = w.rowSpan, E = w.content, H = {
|
|
1486
1482
|
colSpan: O,
|
|
1487
1483
|
rowSpan: F,
|
|
@@ -1507,7 +1503,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1507
1503
|
));
|
|
1508
1504
|
{
|
|
1509
1505
|
let tr = E;
|
|
1510
|
-
return /* @__PURE__ */ G("td", { ...H, key: C }, tr.length === 0 ? "" :
|
|
1506
|
+
return /* @__PURE__ */ G("td", { ...H, key: C }, tr.length === 0 ? "" : k(
|
|
1511
1507
|
`<p class="tableblock">${tr.join(
|
|
1512
1508
|
`</p>
|
|
1513
1509
|
<p class="tableblock">`
|
|
@@ -1515,7 +1511,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1515
1511
|
));
|
|
1516
1512
|
}
|
|
1517
1513
|
}) }, f)) }),
|
|
1518
|
-
r.footRows.map((
|
|
1514
|
+
r.footRows.map((d, f) => /* @__PURE__ */ e.jsx("tfoot", { children: /* @__PURE__ */ e.jsx("tr", { children: d.map((w, C) => /* @__PURE__ */ e.jsx("td", { className: c(w), children: /* @__PURE__ */ e.jsx("p", { className: "tableblock", dangerouslySetInnerHTML: { __html: w.text } }) }, C)) }) }, f))
|
|
1519
1515
|
]
|
|
1520
1516
|
}
|
|
1521
1517
|
);
|
|
@@ -1524,7 +1520,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1524
1520
|
let n = r.id || "toc";
|
|
1525
1521
|
const u = r.title ? r.title : s["toc-title"], m = s["toc-placement"], i = s.toc !== void 0, c = r.attributes.levels ? parseInt(`${r.attributes.levels}`) : void 0;
|
|
1526
1522
|
return m === "macro" && o && i ? /* @__PURE__ */ e.jsxs("div", { id: n, className: N("toc", r.role), children: [
|
|
1527
|
-
/* @__PURE__ */ e.jsx("div", { id: `${n}title`, className: "title", children:
|
|
1523
|
+
/* @__PURE__ */ e.jsx("div", { id: `${n}title`, className: "title", children: k(`${u}` || "") }),
|
|
1528
1524
|
a.sections && /* @__PURE__ */ e.jsx(ur, { sections: a.sections, opts: { tocLevels: c } })
|
|
1529
1525
|
] }) : null;
|
|
1530
1526
|
}, Et = () => /* @__PURE__ */ e.jsx("hr", {}), Nt = ({ node: r }) => {
|
|
@@ -1536,7 +1532,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1536
1532
|
className: N("ulist", r.style, r.role, a && "checklist"),
|
|
1537
1533
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1538
1534
|
children: [
|
|
1539
|
-
/* @__PURE__ */ e.jsx(
|
|
1535
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1540
1536
|
/* @__PURE__ */ e.jsx("ul", { className: a ? "checklist" : "", children: r.items.map((s, o) => a ? /* @__PURE__ */ e.jsx("li", { id: s.id, className: r.role, children: /* @__PURE__ */ e.jsxs("p", { children: [
|
|
1541
1537
|
a && s.attributes.checkbox && /* @__PURE__ */ e.jsx(
|
|
1542
1538
|
"i",
|
|
@@ -1548,7 +1544,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1548
1544
|
}
|
|
1549
1545
|
),
|
|
1550
1546
|
" ",
|
|
1551
|
-
|
|
1547
|
+
k(s.text || "")
|
|
1552
1548
|
] }) }, o) : /* @__PURE__ */ e.jsxs("li", { id: s.id, className: r.role, children: [
|
|
1553
1549
|
/* @__PURE__ */ e.jsx("p", { dangerouslySetInnerHTML: { __html: s.text || "" } }),
|
|
1554
1550
|
/* @__PURE__ */ e.jsx(R, { blocks: s.blocks })
|
|
@@ -1565,7 +1561,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1565
1561
|
className: N("verseblock", r.role),
|
|
1566
1562
|
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1567
1563
|
children: [
|
|
1568
|
-
/* @__PURE__ */ e.jsx(
|
|
1564
|
+
/* @__PURE__ */ e.jsx(S, { text: r.title }),
|
|
1569
1565
|
r.content && /* @__PURE__ */ e.jsx("pre", { className: "content", dangerouslySetInnerHTML: { __html: r.content } }),
|
|
1570
1566
|
a && /* @__PURE__ */ e.jsxs("div", { className: "attribution", children: [
|
|
1571
1567
|
"— ",
|
|
@@ -1575,29 +1571,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1575
1571
|
]
|
|
1576
1572
|
}
|
|
1577
1573
|
);
|
|
1578
|
-
},
|
|
1579
|
-
const a = r.attributes.start, s = r.attributes.end, o = (a || s) && `#t=${a || ""}` + s ? `,${s}` : "";
|
|
1580
|
-
return /* @__PURE__ */ e.jsxs(
|
|
1581
|
-
"div",
|
|
1582
|
-
{
|
|
1583
|
-
className: "videoblock",
|
|
1584
|
-
...r.lineNumber ? { "data-lineno": r.lineNumber } : {},
|
|
1585
|
-
children: [
|
|
1586
|
-
/* @__PURE__ */ e.jsx(D, { text: r.title }),
|
|
1587
|
-
/* @__PURE__ */ e.jsx("div", { className: "content", children: /* @__PURE__ */ e.jsx(
|
|
1588
|
-
"video",
|
|
1589
|
-
{
|
|
1590
|
-
src: `${r.mediaUri}${o}`,
|
|
1591
|
-
autoPlay: r.autoplay,
|
|
1592
|
-
controls: !r.noControls,
|
|
1593
|
-
loop: r.loop,
|
|
1594
|
-
children: "Your browser does not support the video tag."
|
|
1595
|
-
}
|
|
1596
|
-
) })
|
|
1597
|
-
]
|
|
1598
|
-
}
|
|
1599
|
-
);
|
|
1600
|
-
}, Ar = Ve({ document: {} }), Lt = ({
|
|
1574
|
+
}, Ar = Ve({ document: {} }), Ct = ({
|
|
1601
1575
|
document: r,
|
|
1602
1576
|
options: a
|
|
1603
1577
|
}) => {
|
|
@@ -1661,8 +1635,6 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1661
1635
|
return /* @__PURE__ */ e.jsx(vt, { node: r });
|
|
1662
1636
|
case "verse":
|
|
1663
1637
|
return /* @__PURE__ */ e.jsx(At, { node: r });
|
|
1664
|
-
case "video":
|
|
1665
|
-
return /* @__PURE__ */ e.jsx(Dt, { node: r });
|
|
1666
1638
|
case "toc":
|
|
1667
1639
|
return /* @__PURE__ */ e.jsx(jt, { node: r });
|
|
1668
1640
|
default:
|
|
@@ -1676,7 +1648,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, or = (r, a, s = void 0, o, n)
|
|
|
1676
1648
|
};
|
|
1677
1649
|
export {
|
|
1678
1650
|
ze as Admonition,
|
|
1679
|
-
|
|
1651
|
+
Ct as Asciidoc,
|
|
1680
1652
|
Ge as Audio,
|
|
1681
1653
|
Me as CoList,
|
|
1682
1654
|
R as Content,
|
|
@@ -1701,12 +1673,11 @@ export {
|
|
|
1701
1673
|
wt as Table,
|
|
1702
1674
|
jt as TableOfContents,
|
|
1703
1675
|
Et as ThematicBreak,
|
|
1704
|
-
|
|
1676
|
+
S as Title,
|
|
1705
1677
|
Nt as UList,
|
|
1706
1678
|
At as Verse,
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
Tt as
|
|
1710
|
-
Ct as processDocument,
|
|
1679
|
+
_t as parse,
|
|
1680
|
+
Rt as prepareDocument,
|
|
1681
|
+
Tt as processDocument,
|
|
1711
1682
|
I as useConverterContext
|
|
1712
1683
|
};
|