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