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