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