@oxide/react-asciidoc 0.1.3-alpha.2 → 0.1.3-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react-asciidoc.js
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 kt, useContext as Et } from "react";
|
|
4
|
+
const z = {}, U = (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 He;
|
|
28
|
+
function St() {
|
|
29
|
+
if (He)
|
|
40
30
|
return Q;
|
|
41
|
-
|
|
42
|
-
var
|
|
43
|
-
function
|
|
44
|
-
var
|
|
45
|
-
_ !== void 0 && (y = "" + _),
|
|
46
|
-
for (
|
|
47
|
-
|
|
31
|
+
He = 1;
|
|
32
|
+
var e = Ve, a = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, g = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
33
|
+
function f(b, h, _) {
|
|
34
|
+
var v, S = {}, y = null, O = null;
|
|
35
|
+
_ !== void 0 && (y = "" + _), h.key !== void 0 && (y = "" + h.key), h.ref !== void 0 && (O = h.ref);
|
|
36
|
+
for (v in h)
|
|
37
|
+
o.call(h, v) && !l.hasOwnProperty(v) && (S[v] = h[v]);
|
|
48
38
|
if (b && b.defaultProps)
|
|
49
|
-
for (
|
|
50
|
-
S[
|
|
51
|
-
return { $$typeof: a, type: b, key: y, ref: O, props: S, _owner:
|
|
39
|
+
for (v in h = b.defaultProps, h)
|
|
40
|
+
S[v] === void 0 && (S[v] = h[v]);
|
|
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,87 +52,87 @@ 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"), v = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), $ = Symbol.iterator, F = "@@iterator";
|
|
59
|
+
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
|
|
65
|
+
var W = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
66
|
+
function R(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
|
-
|
|
70
|
+
H("error", t, s);
|
|
81
71
|
}
|
|
82
72
|
}
|
|
83
|
-
function
|
|
73
|
+
function H(t, i, s) {
|
|
84
74
|
{
|
|
85
75
|
var u = W.ReactDebugCurrentFrame, p = u.getStackAddendum();
|
|
86
76
|
p !== "" && (i += "%s", s = s.concat([p]));
|
|
87
|
-
var A = s.map(function(
|
|
88
|
-
return String(
|
|
77
|
+
var A = s.map(function(m) {
|
|
78
|
+
return String(m);
|
|
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 === v || Ke || t === O || G || te || Ge || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === S || t.$$typeof === f || t.$$typeof === b || t.$$typeof === h || t.$$typeof === _e || t.getModuleId !== void 0));
|
|
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" && R("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
|
-
case
|
|
116
|
+
case v:
|
|
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, m = p._init;
|
|
144
134
|
try {
|
|
145
|
-
return M(
|
|
135
|
+
return M(m(A));
|
|
146
136
|
} catch {
|
|
147
137
|
return null;
|
|
148
138
|
}
|
|
@@ -150,124 +140,124 @@ 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, Re, ke, 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, Re = console.warn, ke = 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: Re
|
|
197
187
|
}),
|
|
198
|
-
error: Y({},
|
|
199
|
-
value:
|
|
188
|
+
error: Y({}, t, {
|
|
189
|
+
value: ke
|
|
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
|
-
K < 0 &&
|
|
202
|
+
K < 0 && R("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
|
-
var
|
|
240
|
+
var m = function() {
|
|
251
241
|
throw Error();
|
|
252
242
|
};
|
|
253
|
-
if (Object.defineProperty(
|
|
243
|
+
if (Object.defineProperty(m.prototype, "props", {
|
|
254
244
|
set: function() {
|
|
255
245
|
throw Error();
|
|
256
246
|
}
|
|
257
247
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
258
248
|
try {
|
|
259
|
-
Reflect.construct(
|
|
249
|
+
Reflect.construct(m, []);
|
|
260
250
|
} catch (B) {
|
|
261
251
|
u = B;
|
|
262
252
|
}
|
|
263
|
-
Reflect.construct(
|
|
253
|
+
Reflect.construct(t, [], m);
|
|
264
254
|
} else {
|
|
265
255
|
try {
|
|
266
|
-
|
|
256
|
+
m.call();
|
|
267
257
|
} catch (B) {
|
|
268
258
|
u = B;
|
|
269
259
|
}
|
|
270
|
-
|
|
260
|
+
t.call(m.prototype);
|
|
271
261
|
}
|
|
272
262
|
} else {
|
|
273
263
|
try {
|
|
@@ -275,178 +265,178 @@ 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") {
|
|
282
272
|
for (var d = B.stack.split(`
|
|
283
273
|
`), I = u.stack.split(`
|
|
284
|
-
`), T = d.length - 1,
|
|
285
|
-
|
|
286
|
-
for (; T >= 1 &&
|
|
287
|
-
if (d[T] !== I[
|
|
288
|
-
if (T !== 1 ||
|
|
274
|
+
`), T = d.length - 1, k = I.length - 1; T >= 1 && k >= 0 && d[T] !== I[k]; )
|
|
275
|
+
k--;
|
|
276
|
+
for (; T >= 1 && k >= 0; T--, k--)
|
|
277
|
+
if (d[T] !== I[k]) {
|
|
278
|
+
if (T !== 1 || k !== 1)
|
|
289
279
|
do
|
|
290
|
-
if (T--,
|
|
280
|
+
if (T--, k--, k < 0 || d[T] !== I[k]) {
|
|
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
|
-
while (T >= 1 &&
|
|
285
|
+
while (T >= 1 && k >= 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 : "", Ue = V ? re(V) : "";
|
|
293
|
+
return typeof t == "function" && ae.set(t, Ue), Ue;
|
|
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
|
|
322
|
-
case
|
|
323
|
-
return
|
|
311
|
+
return re("Suspense");
|
|
312
|
+
case v:
|
|
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
|
|
353
|
-
if (A(
|
|
341
|
+
var A = Function.call.bind(ne);
|
|
342
|
+
for (var m in t)
|
|
343
|
+
if (A(t, m)) {
|
|
354
344
|
var d = void 0;
|
|
355
345
|
try {
|
|
356
|
-
if (typeof
|
|
357
|
-
var I = Error((u || "React class") + ": " + s + " type `" +
|
|
346
|
+
if (typeof t[m] != "function") {
|
|
347
|
+
var I = Error((u || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
358
348
|
throw I.name = "Invariant Violation", I;
|
|
359
349
|
}
|
|
360
|
-
d =
|
|
350
|
+
d = t[m](i, m, 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), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", s, m, typeof d), se(null)), d instanceof Error && !(d.message in Oe) && (Oe[d.message] = !0, se(p), R("Failed %s type: %s", s, d.message), se(null));
|
|
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
|
|
378
|
+
function Pe(t) {
|
|
379
|
+
if (ct(t))
|
|
380
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", lt(t)), xe(t);
|
|
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, ve;
|
|
388
|
+
ve = {};
|
|
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
|
+
ve[s] || (R('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(X.current.type), t.ref), ve[s] = !0);
|
|
419
409
|
}
|
|
420
410
|
}
|
|
421
|
-
function
|
|
411
|
+
function gt(t, i) {
|
|
422
412
|
{
|
|
423
413
|
var s = function() {
|
|
424
|
-
|
|
414
|
+
je || (je = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
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, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
|
|
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 vt = function(t, i, s, u, p, A, m) {
|
|
444
434
|
var d = {
|
|
445
435
|
$$typeof: a,
|
|
446
|
-
type:
|
|
436
|
+
type: t,
|
|
447
437
|
key: i,
|
|
448
438
|
ref: s,
|
|
449
|
-
props:
|
|
439
|
+
props: m,
|
|
450
440
|
_owner: A
|
|
451
441
|
};
|
|
452
442
|
return d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
@@ -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 mt(t, i, s, u, p) {
|
|
470
460
|
{
|
|
471
|
-
var A,
|
|
472
|
-
s !== void 0 && (
|
|
461
|
+
var A, m = {}, d = null, I = null;
|
|
462
|
+
s !== void 0 && (Pe(s), d = "" + s), ft(i) && (Pe(i.key), d = "" + i.key), ut(i) && (I = i.ref, ht(i, p));
|
|
473
463
|
for (A in i)
|
|
474
|
-
|
|
475
|
-
if (
|
|
476
|
-
var T =
|
|
464
|
+
ne.call(i, A) && !ot.hasOwnProperty(A) && (m[A] = i[A]);
|
|
465
|
+
if (t && t.defaultProps) {
|
|
466
|
+
var T = t.defaultProps;
|
|
477
467
|
for (A in T)
|
|
478
|
-
|
|
468
|
+
m[A] === void 0 && (m[A] = T[A]);
|
|
479
469
|
}
|
|
480
470
|
if (d || I) {
|
|
481
|
-
var
|
|
482
|
-
d &&
|
|
471
|
+
var k = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
472
|
+
d && gt(m, k), I && dt(m, k);
|
|
483
473
|
}
|
|
484
|
-
return
|
|
474
|
+
return vt(t, d, I, p, u, X.current, m);
|
|
485
475
|
}
|
|
486
476
|
}
|
|
487
|
-
var
|
|
488
|
-
function q(
|
|
489
|
-
if (
|
|
490
|
-
var i =
|
|
491
|
-
|
|
477
|
+
var me = 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 (me.current) {
|
|
493
|
+
var t = M(me.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,201 +523,199 @@ 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 !== me.current && (u = " It was passed a child from " + M(t._owner.type) + "."), q(t), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, u), q(null);
|
|
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), m; !(m = A.next()).done; )
|
|
554
|
+
be(m.value) && Be(m.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
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
587
577
|
}
|
|
588
|
-
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved &&
|
|
578
|
+
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
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), R("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), R("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
|
|
606
|
-
if (!
|
|
595
|
+
var m = Qe(t);
|
|
596
|
+
if (!m) {
|
|
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, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", T, d);
|
|
613
603
|
}
|
|
614
|
-
var
|
|
615
|
-
if (
|
|
616
|
-
return
|
|
617
|
-
if (
|
|
604
|
+
var k = mt(t, i, s, p, A);
|
|
605
|
+
if (k == null)
|
|
606
|
+
return k;
|
|
607
|
+
if (m) {
|
|
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
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
627
617
|
else
|
|
628
|
-
|
|
618
|
+
We(j, t);
|
|
629
619
|
}
|
|
630
|
-
return
|
|
620
|
+
return t === o ? _t(k) : yt(k), k;
|
|
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, Rt = At;
|
|
630
|
+
Z.Fragment = o, Z.jsx = Tt, Z.jsxs = Rt;
|
|
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, x = ({
|
|
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 = U(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
|
-
})
|
|
668
|
-
return /* @__PURE__ */ r("div", {
|
|
657
|
+
});
|
|
658
|
+
return e.content_model, /* @__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
|
-
children: [/* @__PURE__ */ r(
|
|
683
|
-
node:
|
|
684
|
-
}),
|
|
685
|
-
blocks: t.getBlocks()
|
|
686
|
-
})]
|
|
672
|
+
children: [/* @__PURE__ */ r(x, {
|
|
673
|
+
node: e
|
|
674
|
+
}), w(o)]
|
|
687
675
|
})]
|
|
688
676
|
})
|
|
689
677
|
})
|
|
690
678
|
})
|
|
691
679
|
});
|
|
692
|
-
},
|
|
693
|
-
node:
|
|
680
|
+
}, $t = ({
|
|
681
|
+
node: e
|
|
694
682
|
}) => {
|
|
695
|
-
const a =
|
|
696
|
-
return /* @__PURE__ */
|
|
683
|
+
const a = e.getAttribute("start"), n = e.getAttribute("start"), o = (a || n) && `#t=${a || ""}` + n ? `,${n}` : "";
|
|
684
|
+
return /* @__PURE__ */ c("div", {
|
|
697
685
|
className: "audioblock",
|
|
698
|
-
...N(
|
|
699
|
-
children: [/* @__PURE__ */ r(
|
|
700
|
-
node:
|
|
686
|
+
...N(e),
|
|
687
|
+
children: [/* @__PURE__ */ r(x, {
|
|
688
|
+
node: e
|
|
701
689
|
}), /* @__PURE__ */ r("div", {
|
|
702
690
|
className: "content",
|
|
703
691
|
children: /* @__PURE__ */ r("audio", {
|
|
704
|
-
src: `${
|
|
705
|
-
autoPlay:
|
|
706
|
-
controls: !
|
|
707
|
-
loop:
|
|
692
|
+
src: `${e.getMediaUri(e.getAttribute("target"))}${o}`,
|
|
693
|
+
autoPlay: e.isOption("autoplay"),
|
|
694
|
+
controls: !e.isOption("nocontrols"),
|
|
695
|
+
loop: e.isOption("loop"),
|
|
708
696
|
children: "Your browser does not support the audio tag."
|
|
709
697
|
})
|
|
710
698
|
})]
|
|
711
699
|
});
|
|
712
|
-
},
|
|
713
|
-
node:
|
|
714
|
-
}) => /* @__PURE__ */
|
|
700
|
+
}, Ot = ({
|
|
701
|
+
node: e
|
|
702
|
+
}) => /* @__PURE__ */ c("div", {
|
|
715
703
|
className: "colist",
|
|
716
|
-
...N(
|
|
717
|
-
children: [/* @__PURE__ */ r(
|
|
718
|
-
node:
|
|
704
|
+
...N(e),
|
|
705
|
+
children: [/* @__PURE__ */ r(x, {
|
|
706
|
+
node: e
|
|
719
707
|
}), /* @__PURE__ */ r("table", {
|
|
720
708
|
children: /* @__PURE__ */ r("tbody", {
|
|
721
|
-
children:
|
|
722
|
-
children: [/* @__PURE__ */
|
|
709
|
+
children: e.getItems().map((a, n) => /* @__PURE__ */ c("tr", {
|
|
710
|
+
children: [/* @__PURE__ */ c("td", {
|
|
723
711
|
children: [/* @__PURE__ */ r("i", {
|
|
724
712
|
className: "conum",
|
|
725
713
|
"data-value": n + 1
|
|
726
714
|
}), /* @__PURE__ */ r("b", {
|
|
727
715
|
children: n + 1
|
|
728
716
|
})]
|
|
729
|
-
}), /* @__PURE__ */
|
|
730
|
-
children: [w(D(a)), /* @__PURE__ */ r(
|
|
717
|
+
}), /* @__PURE__ */ c("td", {
|
|
718
|
+
children: [w(D(a)), /* @__PURE__ */ r(P, {
|
|
731
719
|
blocks: a.getBlocks()
|
|
732
720
|
})]
|
|
733
721
|
})]
|
|
@@ -735,569 +723,562 @@ const L = ct.exports.Fragment, r = ct.exports.jsx, o = ct.exports.jsxs, P = ({
|
|
|
735
723
|
})
|
|
736
724
|
})]
|
|
737
725
|
});
|
|
738
|
-
var
|
|
726
|
+
var Je = { exports: {} };
|
|
739
727
|
/*!
|
|
740
728
|
Copyright (c) 2018 Jed Watson.
|
|
741
729
|
Licensed under the MIT License (MIT), see
|
|
742
730
|
http://jedwatson.github.io/classnames
|
|
743
731
|
*/
|
|
744
|
-
(function(
|
|
732
|
+
(function(e) {
|
|
745
733
|
(function() {
|
|
746
734
|
var a = {}.hasOwnProperty;
|
|
747
735
|
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 &&
|
|
736
|
+
for (var o = [], g = 0; g < arguments.length; g++) {
|
|
737
|
+
var l = arguments[g];
|
|
738
|
+
if (!!l) {
|
|
739
|
+
var f = typeof l;
|
|
740
|
+
if (f === "string" || f === "number")
|
|
741
|
+
o.push(l);
|
|
742
|
+
else if (Array.isArray(l)) {
|
|
743
|
+
if (l.length) {
|
|
744
|
+
var b = n.apply(null, l);
|
|
745
|
+
b && o.push(b);
|
|
758
746
|
}
|
|
759
|
-
} else if (
|
|
760
|
-
if (
|
|
761
|
-
|
|
747
|
+
} else if (f === "object") {
|
|
748
|
+
if (l.toString !== Object.prototype.toString && !l.toString.toString().includes("[native code]")) {
|
|
749
|
+
o.push(l.toString());
|
|
762
750
|
continue;
|
|
763
751
|
}
|
|
764
|
-
for (var
|
|
765
|
-
a.call(
|
|
752
|
+
for (var h in l)
|
|
753
|
+
a.call(l, h) && l[h] && o.push(h);
|
|
766
754
|
}
|
|
767
755
|
}
|
|
768
756
|
}
|
|
769
|
-
return
|
|
757
|
+
return o.join(" ");
|
|
770
758
|
}
|
|
771
|
-
|
|
759
|
+
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
|
|
772
760
|
})();
|
|
773
|
-
})(
|
|
774
|
-
const E =
|
|
775
|
-
node:
|
|
761
|
+
})(Je);
|
|
762
|
+
const E = Je.exports, It = ({
|
|
763
|
+
node: e
|
|
776
764
|
}) => {
|
|
777
|
-
const a =
|
|
778
|
-
const
|
|
779
|
-
let
|
|
780
|
-
return
|
|
765
|
+
const a = e.getStyle(), n = (l) => {
|
|
766
|
+
const f = l, b = f[0];
|
|
767
|
+
let h = f[1];
|
|
768
|
+
return h.getNodeName || (h = null), {
|
|
781
769
|
terms: b,
|
|
782
|
-
dd:
|
|
770
|
+
dd: h
|
|
783
771
|
};
|
|
784
|
-
},
|
|
785
|
-
if (
|
|
786
|
-
return /* @__PURE__ */
|
|
787
|
-
children: [
|
|
788
|
-
children: w(D(
|
|
789
|
-
}),
|
|
790
|
-
blocks:
|
|
772
|
+
}, o = (l) => {
|
|
773
|
+
if (l)
|
|
774
|
+
return /* @__PURE__ */ c("dd", {
|
|
775
|
+
children: [l.hasText() && /* @__PURE__ */ r("p", {
|
|
776
|
+
children: w(D(l))
|
|
777
|
+
}), l.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
778
|
+
blocks: l.getBlocks()
|
|
791
779
|
})]
|
|
792
780
|
});
|
|
793
|
-
},
|
|
781
|
+
}, g = e.hasTitle() && /* @__PURE__ */ r("div", {
|
|
794
782
|
className: "title",
|
|
795
|
-
children:
|
|
783
|
+
children: e.getCaptionedTitle()
|
|
796
784
|
});
|
|
797
785
|
if (a === "qanda")
|
|
798
|
-
return /* @__PURE__ */
|
|
799
|
-
className: E("qlist qanda", C(
|
|
800
|
-
...N(
|
|
801
|
-
children: [
|
|
802
|
-
children:
|
|
786
|
+
return /* @__PURE__ */ c("div", {
|
|
787
|
+
className: E("qlist qanda", C(e)),
|
|
788
|
+
...N(e),
|
|
789
|
+
children: [g, /* @__PURE__ */ r("ol", {
|
|
790
|
+
children: e.getItems().map((l, f) => {
|
|
803
791
|
const {
|
|
804
792
|
terms: b,
|
|
805
|
-
dd:
|
|
806
|
-
} = n(
|
|
807
|
-
return /* @__PURE__ */
|
|
808
|
-
children: [b.map((_,
|
|
793
|
+
dd: h
|
|
794
|
+
} = n(l);
|
|
795
|
+
return /* @__PURE__ */ c("li", {
|
|
796
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("p", {
|
|
809
797
|
children: /* @__PURE__ */ r("em", {
|
|
810
798
|
children: D(_)
|
|
811
799
|
})
|
|
812
|
-
},
|
|
813
|
-
},
|
|
800
|
+
}, v)), o(h)]
|
|
801
|
+
}, f);
|
|
814
802
|
})
|
|
815
803
|
})]
|
|
816
804
|
});
|
|
817
805
|
if (a === "horizontal") {
|
|
818
|
-
const
|
|
819
|
-
return /* @__PURE__ */
|
|
820
|
-
className: E("hdlist", C(
|
|
821
|
-
children: [
|
|
822
|
-
children: [(
|
|
806
|
+
const l = e.getAttribute("labelwidth"), f = e.getAttribute("itemwidth");
|
|
807
|
+
return /* @__PURE__ */ c("div", {
|
|
808
|
+
className: E("hdlist", C(e)),
|
|
809
|
+
children: [g, /* @__PURE__ */ c("table", {
|
|
810
|
+
children: [(l || f) && /* @__PURE__ */ c("colgroup", {
|
|
823
811
|
children: [/* @__PURE__ */ r("col", {
|
|
824
812
|
style: {
|
|
825
|
-
width:
|
|
813
|
+
width: l ? `${l.replace("%", "")}%` : ""
|
|
826
814
|
}
|
|
827
815
|
}), /* @__PURE__ */ r("col", {
|
|
828
816
|
style: {
|
|
829
|
-
width:
|
|
817
|
+
width: f ? `${f.replace("%", "")}%` : ""
|
|
830
818
|
}
|
|
831
819
|
})]
|
|
832
820
|
}), /* @__PURE__ */ r("tbody", {
|
|
833
|
-
children:
|
|
821
|
+
children: e.getItems().map((b, h) => {
|
|
834
822
|
const {
|
|
835
823
|
terms: _,
|
|
836
|
-
dd:
|
|
824
|
+
dd: v
|
|
837
825
|
} = n(b);
|
|
838
|
-
return /* @__PURE__ */
|
|
826
|
+
return /* @__PURE__ */ c("tr", {
|
|
839
827
|
children: [/* @__PURE__ */ r("td", {
|
|
840
|
-
className: E("hdlist1",
|
|
841
|
-
children: _.map((S, y) => /* @__PURE__ */
|
|
828
|
+
className: E("hdlist1", e.isOption("strong") ? "strong" : ""),
|
|
829
|
+
children: _.map((S, y) => /* @__PURE__ */ c(ye, {
|
|
842
830
|
children: [y !== 0 && /* @__PURE__ */ r("br", {}), w(D(S))]
|
|
843
831
|
}, y))
|
|
844
|
-
}),
|
|
832
|
+
}), v && /* @__PURE__ */ c("td", {
|
|
845
833
|
className: "hdlist2",
|
|
846
|
-
children: [
|
|
847
|
-
children: w(D(
|
|
848
|
-
}),
|
|
849
|
-
blocks:
|
|
834
|
+
children: [v.hasText() && /* @__PURE__ */ r("p", {
|
|
835
|
+
children: w(D(v))
|
|
836
|
+
}), v.hasBlocks() && /* @__PURE__ */ r(P, {
|
|
837
|
+
blocks: v.getBlocks()
|
|
850
838
|
})]
|
|
851
839
|
})]
|
|
852
|
-
},
|
|
840
|
+
}, h);
|
|
853
841
|
})
|
|
854
842
|
})]
|
|
855
843
|
})]
|
|
856
844
|
});
|
|
857
845
|
} else
|
|
858
|
-
return /* @__PURE__ */
|
|
859
|
-
className: E("dlist",
|
|
860
|
-
children: [
|
|
861
|
-
children:
|
|
846
|
+
return /* @__PURE__ */ c("div", {
|
|
847
|
+
className: E("dlist", e.getStyle(), C(e)),
|
|
848
|
+
children: [g, /* @__PURE__ */ r("dl", {
|
|
849
|
+
children: e.getItems().map((l, f) => {
|
|
862
850
|
const {
|
|
863
851
|
terms: b,
|
|
864
|
-
dd:
|
|
865
|
-
} = n(
|
|
866
|
-
return /* @__PURE__ */
|
|
867
|
-
children: [b.map((_,
|
|
852
|
+
dd: h
|
|
853
|
+
} = n(l);
|
|
854
|
+
return /* @__PURE__ */ c(ye, {
|
|
855
|
+
children: [b.map((_, v) => /* @__PURE__ */ r("dt", {
|
|
868
856
|
className: "hdlist1",
|
|
869
857
|
children: w(D(_))
|
|
870
|
-
},
|
|
871
|
-
},
|
|
858
|
+
}, v)), o(h)]
|
|
859
|
+
}, f);
|
|
872
860
|
})
|
|
873
861
|
})]
|
|
874
862
|
});
|
|
875
|
-
},
|
|
876
|
-
node:
|
|
863
|
+
}, oe = ({
|
|
864
|
+
node: e,
|
|
877
865
|
opts: a
|
|
878
866
|
}) => {
|
|
879
|
-
if (!
|
|
867
|
+
if (!e.hasSections())
|
|
880
868
|
return null;
|
|
881
|
-
const n =
|
|
869
|
+
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
870
|
return /* @__PURE__ */ r("ul", {
|
|
883
871
|
className: `sectlevel${n[0].getLevel()}`,
|
|
884
872
|
children: n.map((_) => {
|
|
885
|
-
let
|
|
886
|
-
|
|
873
|
+
let v = _.$sectnum();
|
|
874
|
+
v = v === "." || v === ".." ? "" : v;
|
|
887
875
|
const S = _.getLevel();
|
|
888
876
|
let y = "";
|
|
889
877
|
if (_.getCaption())
|
|
890
878
|
y = _.getCaptionedTitle();
|
|
891
879
|
else if (S <= b)
|
|
892
|
-
if (S < 2 &&
|
|
880
|
+
if (S < 2 && o.getDoctype() == "book") {
|
|
893
881
|
const O = _.getSectionName();
|
|
894
|
-
O === "chapter" ? y = `${
|
|
882
|
+
O === "chapter" ? y = `${g["chapter-signifier"] || ""} ${v} ${_.getTitle()}` : O === "part" ? y = `${g["part-signifier"] || ""} ${v} ${_.getTitle()}` : y = `${v} ${_.getTitle()}`;
|
|
895
883
|
} else
|
|
896
|
-
y = `${
|
|
884
|
+
y = `${v} ${_.getTitle()}`;
|
|
897
885
|
else
|
|
898
886
|
y = _.getTitle() || "";
|
|
899
|
-
return /* @__PURE__ */
|
|
887
|
+
return /* @__PURE__ */ c("li", {
|
|
900
888
|
children: [/* @__PURE__ */ r("a", {
|
|
901
889
|
href: `#${_.getId()}`,
|
|
902
890
|
children: w(y)
|
|
903
|
-
}), S <
|
|
891
|
+
}), S < h && /* @__PURE__ */ r(oe, {
|
|
904
892
|
node: _,
|
|
905
893
|
opts: {
|
|
906
|
-
tocLevels:
|
|
894
|
+
tocLevels: h,
|
|
907
895
|
sectNumLevels: b
|
|
908
896
|
}
|
|
909
897
|
})]
|
|
910
898
|
}, _.getId());
|
|
911
899
|
})
|
|
912
900
|
});
|
|
913
|
-
},
|
|
914
|
-
document:
|
|
901
|
+
}, xt = ({
|
|
902
|
+
document: e
|
|
915
903
|
}) => {
|
|
916
|
-
const a =
|
|
917
|
-
var
|
|
918
|
-
return
|
|
904
|
+
const a = e.getBlocks(), n = e.getFootnotes(), o = () => {
|
|
905
|
+
var f;
|
|
906
|
+
return e.getNoheader() ? null : /* @__PURE__ */ r("div", {
|
|
919
907
|
id: "header",
|
|
920
|
-
children:
|
|
908
|
+
children: e.hasHeader() && /* @__PURE__ */ c(L, {
|
|
921
909
|
children: [/* @__PURE__ */ r("h1", {
|
|
922
910
|
dangerouslySetInnerHTML: {
|
|
923
|
-
__html: ((
|
|
911
|
+
__html: ((f = e.getDocumentTitle()) == null ? void 0 : f.toString()) || ""
|
|
924
912
|
}
|
|
925
|
-
}), /* @__PURE__ */ r(
|
|
913
|
+
}), /* @__PURE__ */ r(l, {}), e.hasSections() && e.hasAttribute("toc") && e.getAttribute("toc-placement") === "auto" && /* @__PURE__ */ c("div", {
|
|
926
914
|
id: "toc",
|
|
927
|
-
className:
|
|
915
|
+
className: e.getAttribute("toc-class", "toc"),
|
|
928
916
|
children: [/* @__PURE__ */ r("div", {
|
|
929
917
|
id: "toctitle",
|
|
930
|
-
children:
|
|
931
|
-
}), /* @__PURE__ */ r(
|
|
932
|
-
node:
|
|
918
|
+
children: e.getAttribute("toc-title")
|
|
919
|
+
}), /* @__PURE__ */ r(oe, {
|
|
920
|
+
node: e
|
|
933
921
|
})]
|
|
934
922
|
})]
|
|
935
923
|
})
|
|
936
924
|
});
|
|
937
|
-
},
|
|
925
|
+
}, g = () => n && n.length > 0 && a && !a[0].getDocument().hasAttribute("nofootnotes") ? /* @__PURE__ */ c("div", {
|
|
938
926
|
id: "footnotes",
|
|
939
|
-
children: [/* @__PURE__ */ r("hr", {}), n.map((
|
|
927
|
+
children: [/* @__PURE__ */ r("hr", {}), n.map((f) => /* @__PURE__ */ c("div", {
|
|
940
928
|
className: "footnote",
|
|
941
|
-
id: `_footnotedef_${
|
|
929
|
+
id: `_footnotedef_${f.getIndex()}`,
|
|
942
930
|
children: [/* @__PURE__ */ r("a", {
|
|
943
|
-
href: `#_footnoteref_${
|
|
944
|
-
children:
|
|
945
|
-
}), ".", " ", w(D(
|
|
946
|
-
},
|
|
947
|
-
}) : null,
|
|
931
|
+
href: `#_footnoteref_${f.getIndex()}`,
|
|
932
|
+
children: f.getIndex()
|
|
933
|
+
}), ".", " ", w(D(f) || "")]
|
|
934
|
+
}, f.getIndex()))]
|
|
935
|
+
}) : null, l = () => e.getAuthors().length > 0 || e.hasAttribute("revnumber") || e.hasAttribute("revdate") || e.hasAttribute("revremark") ? /* @__PURE__ */ c("div", {
|
|
948
936
|
className: "details",
|
|
949
|
-
children: [
|
|
950
|
-
children: [b.getName() && /* @__PURE__ */
|
|
937
|
+
children: [e.getAuthors().map((b, h) => /* @__PURE__ */ c(ye, {
|
|
938
|
+
children: [b.getName() && /* @__PURE__ */ c(L, {
|
|
951
939
|
children: [/* @__PURE__ */ r("span", {
|
|
952
|
-
id: `author${
|
|
940
|
+
id: `author${h + 1 > 1 ? h + 1 : ""}`,
|
|
953
941
|
className: "author",
|
|
954
|
-
children: w(
|
|
942
|
+
children: w(e.applySubstitutions(b.getName() || "").toString())
|
|
955
943
|
}), /* @__PURE__ */ r("br", {})]
|
|
956
|
-
}), b.getEmail() && /* @__PURE__ */
|
|
944
|
+
}), b.getEmail() && /* @__PURE__ */ c(L, {
|
|
957
945
|
children: [/* @__PURE__ */ r("span", {
|
|
958
|
-
id: `email${
|
|
946
|
+
id: `email${h + 1 > 1 ? h + 1 : ""}`,
|
|
959
947
|
className: "email",
|
|
960
|
-
children: w(
|
|
948
|
+
children: w(e.applySubstitutions(b.getEmail() || "").toString())
|
|
961
949
|
}), /* @__PURE__ */ r("br", {})]
|
|
962
950
|
})]
|
|
963
|
-
},
|
|
951
|
+
}, h)), e.hasAttribute("revnumber") && /* @__PURE__ */ r("span", {
|
|
964
952
|
id: "revnumber",
|
|
965
|
-
children: `${
|
|
966
|
-
}),
|
|
953
|
+
children: `${e.getAttribute("version-label").toLowerCase()} ${e.getAttribute("revnumber")}${e.hasAttribute("revdate") ? "," : ""}`
|
|
954
|
+
}), e.hasAttribute("revdate") && /* @__PURE__ */ r("span", {
|
|
967
955
|
id: "revdate",
|
|
968
|
-
children:
|
|
969
|
-
}),
|
|
956
|
+
children: e.getAttribute("revdate")
|
|
957
|
+
}), e.hasAttribute("revremark") && /* @__PURE__ */ c(L, {
|
|
970
958
|
children: [/* @__PURE__ */ r("br", {}), /* @__PURE__ */ r("span", {
|
|
971
959
|
id: "revremark",
|
|
972
|
-
children:
|
|
960
|
+
children: e.getAttribute("revremark")
|
|
973
961
|
})]
|
|
974
962
|
})]
|
|
975
963
|
}) : null;
|
|
976
|
-
return /* @__PURE__ */
|
|
977
|
-
children: [/* @__PURE__ */ r(
|
|
964
|
+
return /* @__PURE__ */ c(L, {
|
|
965
|
+
children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("div", {
|
|
978
966
|
id: "content",
|
|
979
|
-
children: /* @__PURE__ */ r(
|
|
967
|
+
children: /* @__PURE__ */ r(P, {
|
|
980
968
|
blocks: a
|
|
981
969
|
})
|
|
982
|
-
}), /* @__PURE__ */ r(
|
|
970
|
+
}), /* @__PURE__ */ r(g, {})]
|
|
983
971
|
});
|
|
984
|
-
},
|
|
985
|
-
node:
|
|
986
|
-
}) => /* @__PURE__ */
|
|
987
|
-
className: E("exampleblock", C(
|
|
988
|
-
...N(
|
|
989
|
-
children: [/* @__PURE__ */ r(
|
|
990
|
-
node:
|
|
972
|
+
}, Pt = ({
|
|
973
|
+
node: e
|
|
974
|
+
}) => /* @__PURE__ */ c("div", {
|
|
975
|
+
className: E("exampleblock", C(e)),
|
|
976
|
+
...N(e),
|
|
977
|
+
children: [/* @__PURE__ */ r(le, {
|
|
978
|
+
node: e
|
|
991
979
|
}), /* @__PURE__ */ r("div", {
|
|
992
980
|
className: "content",
|
|
993
|
-
children: /* @__PURE__ */ r(
|
|
994
|
-
blocks:
|
|
981
|
+
children: /* @__PURE__ */ r(P, {
|
|
982
|
+
blocks: e.getBlocks()
|
|
995
983
|
})
|
|
996
984
|
})]
|
|
997
|
-
}),
|
|
998
|
-
node:
|
|
985
|
+
}), jt = ({
|
|
986
|
+
node: e
|
|
999
987
|
}) => {
|
|
1000
|
-
const a =
|
|
1001
|
-
return /* @__PURE__ */
|
|
988
|
+
const a = e.getLevel();
|
|
989
|
+
return /* @__PURE__ */ c(L, {
|
|
1002
990
|
children: [/* @__PURE__ */ r("a", {
|
|
1003
991
|
className: "sectionanchor",
|
|
1004
|
-
id: `${
|
|
1005
|
-
...N(
|
|
1006
|
-
}),
|
|
1007
|
-
node:
|
|
992
|
+
id: `${e.getId() || ""}`,
|
|
993
|
+
...N(e)
|
|
994
|
+
}), J(`h${a + 1}`, null, /* @__PURE__ */ r(x, {
|
|
995
|
+
node: e
|
|
1008
996
|
}))]
|
|
1009
997
|
});
|
|
1010
|
-
},
|
|
1011
|
-
node:
|
|
998
|
+
}, Dt = ({
|
|
999
|
+
node: e
|
|
1012
1000
|
}) => {
|
|
1013
|
-
const a =
|
|
1001
|
+
const a = e.getAttribute("target");
|
|
1014
1002
|
let n = /* @__PURE__ */ r("img", {
|
|
1015
|
-
src:
|
|
1016
|
-
alt:
|
|
1017
|
-
width:
|
|
1018
|
-
height:
|
|
1003
|
+
src: e.getImageUri(a),
|
|
1004
|
+
alt: e.getAttribute("alt"),
|
|
1005
|
+
width: e.getAttribute("width"),
|
|
1006
|
+
height: e.getAttribute("height")
|
|
1019
1007
|
});
|
|
1020
|
-
return
|
|
1008
|
+
return e.hasAttribute("link") && (n = /* @__PURE__ */ r("a", {
|
|
1021
1009
|
className: "image",
|
|
1022
|
-
href:
|
|
1010
|
+
href: e.getAttribute("link"),
|
|
1023
1011
|
children: n
|
|
1024
|
-
})), /* @__PURE__ */
|
|
1025
|
-
className: `imageblock ${
|
|
1026
|
-
...N(
|
|
1012
|
+
})), /* @__PURE__ */ c("div", {
|
|
1013
|
+
className: `imageblock ${e.hasAttribute("align") ? "text-" + e.getAttribute("align") : ""} ${e.hasAttribute("float") ? e.getAttribute("float") : ""} ${e.getRole() ? e.getRole() : ""}`,
|
|
1014
|
+
...N(e),
|
|
1027
1015
|
children: [/* @__PURE__ */ r("div", {
|
|
1028
1016
|
className: "content",
|
|
1029
1017
|
children: n
|
|
1030
|
-
}), /* @__PURE__ */ r(
|
|
1031
|
-
node:
|
|
1018
|
+
}), /* @__PURE__ */ r(le, {
|
|
1019
|
+
node: e
|
|
1032
1020
|
})]
|
|
1033
1021
|
});
|
|
1034
|
-
},
|
|
1035
|
-
node:
|
|
1022
|
+
}, Lt = ({
|
|
1023
|
+
node: e
|
|
1036
1024
|
}) => {
|
|
1037
|
-
const a =
|
|
1038
|
-
if (
|
|
1039
|
-
const
|
|
1040
|
-
return /* @__PURE__ */
|
|
1025
|
+
const a = e.getDocument(), n = e.getAttributes(), o = e.isOption("nowrap") || !a.hasAttribute("prewrap"), g = U(e);
|
|
1026
|
+
if (e.getStyle() === "source") {
|
|
1027
|
+
const l = n.language;
|
|
1028
|
+
return /* @__PURE__ */ c("div", {
|
|
1041
1029
|
className: "listingblock",
|
|
1042
|
-
...N(
|
|
1043
|
-
children: [/* @__PURE__ */ r(
|
|
1044
|
-
node:
|
|
1030
|
+
...N(e),
|
|
1031
|
+
children: [/* @__PURE__ */ r(le, {
|
|
1032
|
+
node: e
|
|
1045
1033
|
}), /* @__PURE__ */ r("div", {
|
|
1046
1034
|
className: "content",
|
|
1047
1035
|
children: /* @__PURE__ */ r("pre", {
|
|
1048
|
-
className: E("highlight",
|
|
1049
|
-
children:
|
|
1050
|
-
className:
|
|
1051
|
-
"data-lang":
|
|
1036
|
+
className: E("highlight", o ? " nowrap" : ""),
|
|
1037
|
+
children: l ? /* @__PURE__ */ r("code", {
|
|
1038
|
+
className: l ? `language-${l}` : "",
|
|
1039
|
+
"data-lang": l,
|
|
1052
1040
|
dangerouslySetInnerHTML: {
|
|
1053
|
-
__html:
|
|
1041
|
+
__html: g
|
|
1054
1042
|
}
|
|
1055
1043
|
}) : /* @__PURE__ */ r("code", {
|
|
1056
1044
|
dangerouslySetInnerHTML: {
|
|
1057
|
-
__html:
|
|
1045
|
+
__html: g
|
|
1058
1046
|
}
|
|
1059
1047
|
})
|
|
1060
1048
|
})
|
|
1061
1049
|
})]
|
|
1062
1050
|
});
|
|
1063
1051
|
} else
|
|
1064
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ c("div", {
|
|
1065
1053
|
className: "listingblock",
|
|
1066
|
-
...N(
|
|
1067
|
-
children: [/* @__PURE__ */ r(
|
|
1068
|
-
node:
|
|
1054
|
+
...N(e),
|
|
1055
|
+
children: [/* @__PURE__ */ r(le, {
|
|
1056
|
+
node: e
|
|
1069
1057
|
}), /* @__PURE__ */ r("div", {
|
|
1070
1058
|
className: "content",
|
|
1071
1059
|
children: /* @__PURE__ */ r("pre", {
|
|
1072
|
-
className:
|
|
1060
|
+
className: o ? " nowrap" : "",
|
|
1073
1061
|
children: /* @__PURE__ */ r("code", {
|
|
1074
1062
|
dangerouslySetInnerHTML: {
|
|
1075
|
-
__html:
|
|
1063
|
+
__html: e.getSource()
|
|
1076
1064
|
}
|
|
1077
1065
|
})
|
|
1078
1066
|
})
|
|
1079
1067
|
})]
|
|
1080
1068
|
});
|
|
1081
|
-
},
|
|
1082
|
-
node:
|
|
1069
|
+
}, Ft = ({
|
|
1070
|
+
node: e
|
|
1083
1071
|
}) => {
|
|
1084
|
-
const n =
|
|
1085
|
-
return /* @__PURE__ */
|
|
1072
|
+
const n = e.getDocument().getAttributes().prewrap === void 0 || e.isOption("nowrap");
|
|
1073
|
+
return /* @__PURE__ */ c("div", {
|
|
1086
1074
|
className: "literalblock",
|
|
1087
|
-
...N(
|
|
1088
|
-
children: [/* @__PURE__ */ r(
|
|
1089
|
-
node:
|
|
1075
|
+
...N(e),
|
|
1076
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1077
|
+
node: e
|
|
1090
1078
|
}), /* @__PURE__ */ r("div", {
|
|
1091
1079
|
className: "content",
|
|
1092
1080
|
children: /* @__PURE__ */ r("pre", {
|
|
1093
1081
|
className: n ? "nowrap" : "",
|
|
1094
|
-
children:
|
|
1082
|
+
children: e.getSource()
|
|
1095
1083
|
})
|
|
1096
1084
|
})]
|
|
1097
1085
|
});
|
|
1098
|
-
},
|
|
1099
|
-
node:
|
|
1100
|
-
}) => /* @__PURE__ */
|
|
1101
|
-
className: E("olist", C(
|
|
1102
|
-
...N(
|
|
1103
|
-
children: [/* @__PURE__ */ r(
|
|
1104
|
-
node:
|
|
1086
|
+
}, Mt = ({
|
|
1087
|
+
node: e
|
|
1088
|
+
}) => /* @__PURE__ */ c("div", {
|
|
1089
|
+
className: E("olist", C(e), e.getStyle()),
|
|
1090
|
+
...N(e),
|
|
1091
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1092
|
+
node: e
|
|
1105
1093
|
}), /* @__PURE__ */ r("ol", {
|
|
1106
|
-
className:
|
|
1107
|
-
reversed:
|
|
1108
|
-
start:
|
|
1109
|
-
children:
|
|
1110
|
-
className: C(
|
|
1094
|
+
className: e.getStyle(),
|
|
1095
|
+
reversed: e.isOption("reversed"),
|
|
1096
|
+
start: e.getAttribute("start"),
|
|
1097
|
+
children: e.getItems().map((a, n) => /* @__PURE__ */ c("li", {
|
|
1098
|
+
className: C(e) ? C(e) : "",
|
|
1111
1099
|
children: [/* @__PURE__ */ r("p", {
|
|
1112
1100
|
children: w(D(a))
|
|
1113
|
-
}), /* @__PURE__ */ r(
|
|
1101
|
+
}), /* @__PURE__ */ r(P, {
|
|
1114
1102
|
blocks: a.getBlocks()
|
|
1115
1103
|
})]
|
|
1116
1104
|
}, n))
|
|
1117
1105
|
})]
|
|
1118
|
-
}),
|
|
1119
|
-
node:
|
|
1106
|
+
}), Bt = ({
|
|
1107
|
+
node: e
|
|
1120
1108
|
}) => {
|
|
1121
|
-
const a =
|
|
1122
|
-
return a === "abstract" ? /* @__PURE__ */
|
|
1123
|
-
className: E("quoteblock abstract", C(
|
|
1124
|
-
...N(
|
|
1125
|
-
children: [/* @__PURE__ */ r(
|
|
1126
|
-
node:
|
|
1109
|
+
const a = e.getStyle();
|
|
1110
|
+
return a === "abstract" ? /* @__PURE__ */ c("div", {
|
|
1111
|
+
className: E("quoteblock abstract", C(e)),
|
|
1112
|
+
...N(e),
|
|
1113
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1114
|
+
node: e
|
|
1127
1115
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1128
1116
|
className: "content",
|
|
1129
|
-
children: /* @__PURE__ */ r(
|
|
1130
|
-
blocks:
|
|
1117
|
+
children: /* @__PURE__ */ r(P, {
|
|
1118
|
+
blocks: e.getBlocks()
|
|
1131
1119
|
})
|
|
1132
1120
|
})]
|
|
1133
|
-
}) : /* @__PURE__ */
|
|
1134
|
-
className: E("openblock", a && a !== "open" ? a : "", C(
|
|
1135
|
-
...N(
|
|
1136
|
-
children: [/* @__PURE__ */ r(
|
|
1137
|
-
node:
|
|
1121
|
+
}) : /* @__PURE__ */ c("div", {
|
|
1122
|
+
className: E("openblock", a && a !== "open" ? a : "", C(e)),
|
|
1123
|
+
...N(e),
|
|
1124
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1125
|
+
node: e
|
|
1138
1126
|
}), /* @__PURE__ */ r("div", {
|
|
1139
1127
|
className: "content",
|
|
1140
|
-
children: /* @__PURE__ */ r(
|
|
1141
|
-
blocks:
|
|
1128
|
+
children: /* @__PURE__ */ r(P, {
|
|
1129
|
+
blocks: e.getBlocks()
|
|
1142
1130
|
})
|
|
1143
1131
|
})]
|
|
1144
1132
|
});
|
|
1145
|
-
},
|
|
1133
|
+
}, Wt = () => /* @__PURE__ */ r("div", {
|
|
1146
1134
|
style: {
|
|
1147
1135
|
pageBreakAfter: "always"
|
|
1148
1136
|
}
|
|
1149
|
-
}),
|
|
1150
|
-
node:
|
|
1151
|
-
}) => {
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
dangerouslySetInnerHTML: {
|
|
1161
|
-
__html: a
|
|
1162
|
-
}
|
|
1163
|
-
})]
|
|
1164
|
-
});
|
|
1165
|
-
}, qe = ({
|
|
1166
|
-
node: t
|
|
1137
|
+
}), Yt = ({
|
|
1138
|
+
node: e
|
|
1139
|
+
}) => (U(e), /* @__PURE__ */ r("div", {
|
|
1140
|
+
id: e.getId ? e.getId() : "",
|
|
1141
|
+
className: E("paragraph", C(e)),
|
|
1142
|
+
...N(e),
|
|
1143
|
+
children: /* @__PURE__ */ r(x, {
|
|
1144
|
+
node: e
|
|
1145
|
+
})
|
|
1146
|
+
})), Ut = ({
|
|
1147
|
+
node: e
|
|
1167
1148
|
}) => {
|
|
1168
|
-
const a =
|
|
1149
|
+
const a = U(e);
|
|
1169
1150
|
return /* @__PURE__ */ r(L, {
|
|
1170
1151
|
children: w(a)
|
|
1171
1152
|
});
|
|
1172
|
-
},
|
|
1173
|
-
node:
|
|
1153
|
+
}, Ht = ({
|
|
1154
|
+
node: e
|
|
1174
1155
|
}) => {
|
|
1175
|
-
const a =
|
|
1156
|
+
const a = e.getDocument(), n = a.getAttribute("toc-placement") === "preamble" && a.hasSections() && a.hasAttribute("toc");
|
|
1176
1157
|
return /* @__PURE__ */ r("div", {
|
|
1177
1158
|
id: "preamble",
|
|
1178
|
-
...N(
|
|
1179
|
-
children: /* @__PURE__ */
|
|
1159
|
+
...N(e),
|
|
1160
|
+
children: /* @__PURE__ */ c("div", {
|
|
1180
1161
|
className: "sectionbody",
|
|
1181
|
-
children: [/* @__PURE__ */ r(
|
|
1182
|
-
blocks:
|
|
1183
|
-
}), n && /* @__PURE__ */
|
|
1162
|
+
children: [/* @__PURE__ */ r(P, {
|
|
1163
|
+
blocks: e.getBlocks()
|
|
1164
|
+
}), n && /* @__PURE__ */ c("div", {
|
|
1184
1165
|
id: "toc",
|
|
1185
1166
|
className: a.getAttribute("toc-class", "toc"),
|
|
1186
1167
|
children: [/* @__PURE__ */ r("div", {
|
|
1187
1168
|
id: "toctitle",
|
|
1188
1169
|
children: w(a.getAttribute("toc-title"))
|
|
1189
|
-
}), /* @__PURE__ */ r(
|
|
1170
|
+
}), /* @__PURE__ */ r(oe, {
|
|
1190
1171
|
node: a
|
|
1191
1172
|
})]
|
|
1192
1173
|
})]
|
|
1193
1174
|
})
|
|
1194
1175
|
});
|
|
1195
|
-
},
|
|
1196
|
-
node:
|
|
1176
|
+
}, qt = ({
|
|
1177
|
+
node: e
|
|
1197
1178
|
}) => {
|
|
1198
|
-
const a =
|
|
1199
|
-
return /* @__PURE__ */
|
|
1200
|
-
id:
|
|
1201
|
-
className: E("quoteblock", C(
|
|
1202
|
-
...N(
|
|
1203
|
-
children: [/* @__PURE__ */ r(
|
|
1204
|
-
node:
|
|
1179
|
+
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1180
|
+
return /* @__PURE__ */ c("div", {
|
|
1181
|
+
id: e.getId ? e.getId() : "",
|
|
1182
|
+
className: E("quoteblock", C(e)),
|
|
1183
|
+
...N(e),
|
|
1184
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1185
|
+
node: e
|
|
1205
1186
|
}), /* @__PURE__ */ r("blockquote", {
|
|
1206
1187
|
dangerouslySetInnerHTML: {
|
|
1207
|
-
__html:
|
|
1188
|
+
__html: o
|
|
1208
1189
|
}
|
|
1209
|
-
}), a && /* @__PURE__ */
|
|
1190
|
+
}), a && /* @__PURE__ */ c("div", {
|
|
1210
1191
|
className: "attribution",
|
|
1211
1192
|
children: ["\u2014 ", a, n && /* @__PURE__ */ r("cite", {
|
|
1212
1193
|
children: n
|
|
1213
1194
|
})]
|
|
1214
1195
|
})]
|
|
1215
1196
|
});
|
|
1216
|
-
},
|
|
1217
|
-
node:
|
|
1197
|
+
}, Vt = ({
|
|
1198
|
+
node: e
|
|
1218
1199
|
}) => {
|
|
1219
|
-
const a =
|
|
1220
|
-
let
|
|
1221
|
-
|
|
1222
|
-
const
|
|
1223
|
-
if (
|
|
1224
|
-
|
|
1225
|
-
else if (
|
|
1226
|
-
if (n < 2 &&
|
|
1227
|
-
const
|
|
1228
|
-
|
|
1200
|
+
const a = e.getDocument().getAttributes(), n = e.getLevel();
|
|
1201
|
+
let o = "", g = e.getSectionNumeral();
|
|
1202
|
+
g = g === "." ? "" : g;
|
|
1203
|
+
const l = a.sectnumlevels ? parseInt(a.sectnumlevels) : 3;
|
|
1204
|
+
if (e.getCaption())
|
|
1205
|
+
o = e.getCaptionedTitle();
|
|
1206
|
+
else if (e.isNumbered() && n <= l)
|
|
1207
|
+
if (n < 2 && e.getDocument().getDoctype() == "book") {
|
|
1208
|
+
const f = e.getSectionName();
|
|
1209
|
+
f === "chapter" ? o = `${a["chapter-signifier"] || ""} ${g} ${e.getTitle()}` : f === "part" ? o = `${a["part-signifier"] || ""} ${g} ${e.getTitle()}` : o = `${g} ${e.getTitle()}`;
|
|
1229
1210
|
} else
|
|
1230
|
-
|
|
1211
|
+
o = `${g} ${e.getTitle()}`;
|
|
1231
1212
|
else
|
|
1232
|
-
|
|
1233
|
-
return a.sectlinks && (
|
|
1213
|
+
o = e.getTitle() || "";
|
|
1214
|
+
return a.sectlinks && (o = /* @__PURE__ */ c(L, {
|
|
1234
1215
|
children: [/* @__PURE__ */ r("a", {
|
|
1235
1216
|
className: "anchor",
|
|
1236
|
-
id:
|
|
1237
|
-
...N(
|
|
1217
|
+
id: e.getId() || "",
|
|
1218
|
+
...N(e)
|
|
1238
1219
|
}), /* @__PURE__ */ r("a", {
|
|
1239
1220
|
className: "link",
|
|
1240
|
-
href: `#${
|
|
1221
|
+
href: `#${e.getId()}`,
|
|
1241
1222
|
dangerouslySetInnerHTML: {
|
|
1242
|
-
__html:
|
|
1223
|
+
__html: o
|
|
1243
1224
|
}
|
|
1244
1225
|
})]
|
|
1245
|
-
})), n === 0 ? /* @__PURE__ */
|
|
1226
|
+
})), n === 0 ? /* @__PURE__ */ c(L, {
|
|
1246
1227
|
children: [/* @__PURE__ */ r("h1", {
|
|
1247
|
-
className: E("sect0", C(
|
|
1248
|
-
"data-sectnum":
|
|
1249
|
-
...N(
|
|
1250
|
-
children:
|
|
1251
|
-
}), /* @__PURE__ */ r(
|
|
1252
|
-
blocks:
|
|
1228
|
+
className: E("sect0", C(e)),
|
|
1229
|
+
"data-sectnum": g,
|
|
1230
|
+
...N(e),
|
|
1231
|
+
children: o
|
|
1232
|
+
}), /* @__PURE__ */ r(P, {
|
|
1233
|
+
blocks: e.getBlocks()
|
|
1253
1234
|
})]
|
|
1254
|
-
}) : /* @__PURE__ */
|
|
1255
|
-
className: E(`sect${n}`, C(
|
|
1256
|
-
...N(
|
|
1257
|
-
children: [
|
|
1258
|
-
"data-sectnum":
|
|
1259
|
-
},
|
|
1235
|
+
}) : /* @__PURE__ */ c("div", {
|
|
1236
|
+
className: E(`sect${n}`, C(e)),
|
|
1237
|
+
...N(e),
|
|
1238
|
+
children: [J(`h${n + 1}`, {
|
|
1239
|
+
"data-sectnum": g
|
|
1240
|
+
}, o), /* @__PURE__ */ r("div", {
|
|
1260
1241
|
className: "sectionbody",
|
|
1261
|
-
children: /* @__PURE__ */ r(
|
|
1262
|
-
blocks:
|
|
1242
|
+
children: /* @__PURE__ */ r(P, {
|
|
1243
|
+
blocks: e.getBlocks()
|
|
1263
1244
|
})
|
|
1264
1245
|
})]
|
|
1265
1246
|
});
|
|
1266
|
-
},
|
|
1267
|
-
node:
|
|
1247
|
+
}, Jt = ({
|
|
1248
|
+
node: e
|
|
1268
1249
|
}) => /* @__PURE__ */ r("div", {
|
|
1269
|
-
className: E("sidebarblock", C(
|
|
1270
|
-
...N(
|
|
1271
|
-
children: /* @__PURE__ */
|
|
1250
|
+
className: E("sidebarblock", C(e)),
|
|
1251
|
+
...N(e),
|
|
1252
|
+
children: /* @__PURE__ */ c("div", {
|
|
1272
1253
|
className: "content",
|
|
1273
|
-
children: [/* @__PURE__ */ r(
|
|
1274
|
-
node:
|
|
1275
|
-
}), /* @__PURE__ */ r(
|
|
1276
|
-
blocks:
|
|
1254
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1255
|
+
node: e
|
|
1256
|
+
}), /* @__PURE__ */ r(P, {
|
|
1257
|
+
blocks: e.getBlocks()
|
|
1277
1258
|
})]
|
|
1278
1259
|
})
|
|
1279
|
-
}),
|
|
1280
|
-
node:
|
|
1260
|
+
}), zt = ({
|
|
1261
|
+
node: e
|
|
1281
1262
|
}) => {
|
|
1282
|
-
let a = ["frame-" +
|
|
1263
|
+
let a = ["frame-" + e.getAttribute("frame", "all", "table-frame"), "grid-" + e.getAttribute("grid", "all", "table-grid")], n = e.getAttribute("stripes", null, "table-stripes");
|
|
1283
1264
|
n && a.push("stripes-" + n);
|
|
1284
|
-
let
|
|
1285
|
-
|
|
1286
|
-
const
|
|
1265
|
+
let o = e.hasAutowidthOption(), g = e.getAttribute("tablepcwidth"), l = null;
|
|
1266
|
+
o && !e.hasAttribute("width") ? a.push("fit-content") : g == 100 ? a.push("stretch") : l = `${g}%`, e.hasAttribute("float") && a.push(e.getAttribute("float")), e.getRole() && a.push(e.getRole() || "");
|
|
1267
|
+
const f = e.getRowCount(), b = e.getColumns(), h = e.getHeadRows(), _ = e.getBodyRows(), v = e.getFootRows(), S = (y) => E(
|
|
1287
1268
|
"tableblock",
|
|
1288
1269
|
`halign-${y.getAttribute("halign")}`,
|
|
1289
1270
|
`valign-${y.getAttribute("valign")}`
|
|
1290
1271
|
);
|
|
1291
|
-
return /* @__PURE__ */
|
|
1272
|
+
return /* @__PURE__ */ c("table", {
|
|
1292
1273
|
className: E("tableblock", ...a),
|
|
1293
1274
|
style: {
|
|
1294
|
-
width:
|
|
1275
|
+
width: l || void 0
|
|
1295
1276
|
},
|
|
1296
|
-
...N(
|
|
1297
|
-
children: [
|
|
1277
|
+
...N(e),
|
|
1278
|
+
children: [e.hasTitle() && /* @__PURE__ */ r("caption", {
|
|
1298
1279
|
className: "title",
|
|
1299
|
-
children:
|
|
1300
|
-
}),
|
|
1280
|
+
children: e.getCaptionedTitle()
|
|
1281
|
+
}), f > 0 && /* @__PURE__ */ r("colgroup", {
|
|
1301
1282
|
children: b.map((y, O) => {
|
|
1302
1283
|
const $ = y.getAttribute("colpcwidth");
|
|
1303
1284
|
return /* @__PURE__ */ r("col", {
|
|
@@ -1306,7 +1287,7 @@ const E = zt.exports, Pe = ({
|
|
|
1306
1287
|
}
|
|
1307
1288
|
}, O);
|
|
1308
1289
|
})
|
|
1309
|
-
}),
|
|
1290
|
+
}), h.map((y, O) => /* @__PURE__ */ r("thead", {
|
|
1310
1291
|
children: /* @__PURE__ */ r("tr", {
|
|
1311
1292
|
children: y.map(($, F) => /* @__PURE__ */ r("th", {
|
|
1312
1293
|
className: S($),
|
|
@@ -1318,54 +1299,54 @@ const E = zt.exports, Pe = ({
|
|
|
1318
1299
|
}, O)), /* @__PURE__ */ r("tbody", {
|
|
1319
1300
|
children: _.map((y, O) => /* @__PURE__ */ r("tr", {
|
|
1320
1301
|
children: y.map(($, F) => {
|
|
1321
|
-
const
|
|
1322
|
-
colSpan:
|
|
1302
|
+
const ue = $.getColumnSpan(), W = $.getRowSpan(), R = U($), H = {
|
|
1303
|
+
colSpan: ue,
|
|
1323
1304
|
rowSpan: W,
|
|
1324
1305
|
className: S($)
|
|
1325
|
-
},
|
|
1326
|
-
if (
|
|
1327
|
-
return /* @__PURE__ */
|
|
1328
|
-
...
|
|
1306
|
+
}, G = $.getStyle();
|
|
1307
|
+
if (G === "asciidoc")
|
|
1308
|
+
return /* @__PURE__ */ J("td", {
|
|
1309
|
+
...H,
|
|
1329
1310
|
key: F
|
|
1330
1311
|
}, /* @__PURE__ */ r("div", {
|
|
1331
1312
|
className: "content",
|
|
1332
1313
|
dangerouslySetInnerHTML: {
|
|
1333
|
-
__html:
|
|
1314
|
+
__html: R
|
|
1334
1315
|
}
|
|
1335
1316
|
}));
|
|
1336
|
-
if (
|
|
1337
|
-
return /* @__PURE__ */
|
|
1338
|
-
...
|
|
1317
|
+
if (G === "literal")
|
|
1318
|
+
return /* @__PURE__ */ J("td", {
|
|
1319
|
+
...H,
|
|
1339
1320
|
key: F
|
|
1340
1321
|
}, /* @__PURE__ */ r("div", {
|
|
1341
1322
|
className: "literal",
|
|
1342
1323
|
children: /* @__PURE__ */ r("pre", {
|
|
1343
1324
|
dangerouslySetInnerHTML: {
|
|
1344
|
-
__html:
|
|
1325
|
+
__html: R
|
|
1345
1326
|
}
|
|
1346
1327
|
})
|
|
1347
1328
|
}));
|
|
1348
|
-
if (
|
|
1349
|
-
return /* @__PURE__ */
|
|
1350
|
-
...
|
|
1329
|
+
if (G === "header")
|
|
1330
|
+
return /* @__PURE__ */ J("th", {
|
|
1331
|
+
...H,
|
|
1351
1332
|
key: F
|
|
1352
1333
|
}, /* @__PURE__ */ r("p", {
|
|
1353
1334
|
className: "tableblock",
|
|
1354
1335
|
dangerouslySetInnerHTML: {
|
|
1355
|
-
__html:
|
|
1336
|
+
__html: R
|
|
1356
1337
|
}
|
|
1357
1338
|
}));
|
|
1358
1339
|
{
|
|
1359
|
-
let
|
|
1360
|
-
return /* @__PURE__ */
|
|
1361
|
-
...
|
|
1340
|
+
let te = R;
|
|
1341
|
+
return /* @__PURE__ */ J("td", {
|
|
1342
|
+
...H,
|
|
1362
1343
|
key: F
|
|
1363
|
-
},
|
|
1344
|
+
}, te.length === 0 ? "" : w(`<p class="tableblock">${te.join(`</p>
|
|
1364
1345
|
<p class="tableblock">`)}</p>`));
|
|
1365
1346
|
}
|
|
1366
1347
|
})
|
|
1367
1348
|
}, O))
|
|
1368
|
-
}),
|
|
1349
|
+
}), v.map((y, O) => /* @__PURE__ */ r("tfoot", {
|
|
1369
1350
|
children: /* @__PURE__ */ r("tr", {
|
|
1370
1351
|
children: y.map(($, F) => /* @__PURE__ */ r("td", {
|
|
1371
1352
|
className: S($),
|
|
@@ -1379,236 +1360,237 @@ const E = zt.exports, Pe = ({
|
|
|
1379
1360
|
})
|
|
1380
1361
|
}, O))]
|
|
1381
1362
|
});
|
|
1382
|
-
},
|
|
1383
|
-
node:
|
|
1363
|
+
}, Gt = ({
|
|
1364
|
+
node: e
|
|
1384
1365
|
}) => {
|
|
1385
|
-
let a =
|
|
1386
|
-
const n =
|
|
1387
|
-
return
|
|
1366
|
+
let a = e.getId() || "toc";
|
|
1367
|
+
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;
|
|
1368
|
+
return g === "macro" && n.hasSections() && l ? /* @__PURE__ */ c("div", {
|
|
1388
1369
|
id: a,
|
|
1389
|
-
className: E("toc", C(
|
|
1370
|
+
className: E("toc", C(e)),
|
|
1390
1371
|
children: [/* @__PURE__ */ r("div", {
|
|
1391
1372
|
id: `${a}title`,
|
|
1392
1373
|
className: "title",
|
|
1393
|
-
children: w(
|
|
1394
|
-
}), /* @__PURE__ */ r(
|
|
1395
|
-
node:
|
|
1374
|
+
children: w(o || "")
|
|
1375
|
+
}), /* @__PURE__ */ r(oe, {
|
|
1376
|
+
node: e.getDocument(),
|
|
1396
1377
|
opts: {
|
|
1397
|
-
tocLevels:
|
|
1378
|
+
tocLevels: f
|
|
1398
1379
|
}
|
|
1399
1380
|
})]
|
|
1400
1381
|
}) : null;
|
|
1401
|
-
},
|
|
1402
|
-
node:
|
|
1382
|
+
}, Kt = () => /* @__PURE__ */ r("hr", {}), Xt = ({
|
|
1383
|
+
node: e
|
|
1403
1384
|
}) => {
|
|
1404
|
-
const a =
|
|
1405
|
-
return /* @__PURE__ */
|
|
1406
|
-
id:
|
|
1407
|
-
className: E("ulist",
|
|
1408
|
-
...N(
|
|
1409
|
-
children: [/* @__PURE__ */ r(
|
|
1410
|
-
node:
|
|
1385
|
+
const a = e.isOption("checklist");
|
|
1386
|
+
return /* @__PURE__ */ c("div", {
|
|
1387
|
+
id: e.getId ? e.getId() : "",
|
|
1388
|
+
className: E("ulist", e.getStyle(), C(e), a && "checklist"),
|
|
1389
|
+
...N(e),
|
|
1390
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1391
|
+
node: e
|
|
1411
1392
|
}), /* @__PURE__ */ r("ul", {
|
|
1412
1393
|
className: a ? "checklist" : "",
|
|
1413
|
-
children:
|
|
1394
|
+
children: e.getItems().map((n, o) => a ? /* @__PURE__ */ r("li", {
|
|
1414
1395
|
id: n.getId(),
|
|
1415
|
-
className: C(
|
|
1416
|
-
children: /* @__PURE__ */
|
|
1396
|
+
className: C(e),
|
|
1397
|
+
children: /* @__PURE__ */ c("p", {
|
|
1417
1398
|
children: [a && n.hasAttribute("checkbox") && /* @__PURE__ */ r("i", {
|
|
1418
1399
|
className: E("fa", n.hasAttribute("checked") ? "fa-check-square-o" : "fa-square-o")
|
|
1419
1400
|
}), " ", w(D(n))]
|
|
1420
1401
|
})
|
|
1421
|
-
},
|
|
1402
|
+
}, o) : /* @__PURE__ */ c("li", {
|
|
1422
1403
|
id: n.getId(),
|
|
1423
|
-
className: C(
|
|
1404
|
+
className: C(e),
|
|
1424
1405
|
children: [/* @__PURE__ */ r("p", {
|
|
1425
1406
|
dangerouslySetInnerHTML: {
|
|
1426
1407
|
__html: D(n)
|
|
1427
1408
|
}
|
|
1428
|
-
}), /* @__PURE__ */ r(
|
|
1409
|
+
}), /* @__PURE__ */ r(P, {
|
|
1429
1410
|
blocks: n.getBlocks()
|
|
1430
1411
|
})]
|
|
1431
|
-
},
|
|
1412
|
+
}, o))
|
|
1432
1413
|
})]
|
|
1433
1414
|
});
|
|
1434
|
-
},
|
|
1435
|
-
node:
|
|
1415
|
+
}, Qt = ({
|
|
1416
|
+
node: e
|
|
1436
1417
|
}) => {
|
|
1437
|
-
const a =
|
|
1438
|
-
return /* @__PURE__ */
|
|
1439
|
-
id:
|
|
1440
|
-
className: E("verseblock", C(
|
|
1441
|
-
...N(
|
|
1442
|
-
children: [/* @__PURE__ */ r(
|
|
1443
|
-
node:
|
|
1418
|
+
const a = e.getAttribute("attribution"), n = e.getAttribute("citetitle"), o = U(e);
|
|
1419
|
+
return /* @__PURE__ */ c("div", {
|
|
1420
|
+
id: e.getId ? e.getId() : "",
|
|
1421
|
+
className: E("verseblock", C(e)),
|
|
1422
|
+
...N(e),
|
|
1423
|
+
children: [/* @__PURE__ */ r(x, {
|
|
1424
|
+
node: e
|
|
1444
1425
|
}), /* @__PURE__ */ r("pre", {
|
|
1445
1426
|
className: "content",
|
|
1446
1427
|
dangerouslySetInnerHTML: {
|
|
1447
|
-
__html:
|
|
1428
|
+
__html: o
|
|
1448
1429
|
}
|
|
1449
|
-
}), a && /* @__PURE__ */
|
|
1430
|
+
}), a && /* @__PURE__ */ c("div", {
|
|
1450
1431
|
className: "attribution",
|
|
1451
1432
|
children: ["\u2014 ", a, n && /* @__PURE__ */ r("cite", {
|
|
1452
1433
|
children: n
|
|
1453
1434
|
})]
|
|
1454
1435
|
})]
|
|
1455
1436
|
});
|
|
1456
|
-
},
|
|
1457
|
-
content:
|
|
1437
|
+
}, ze = kt({}), rr = ({
|
|
1438
|
+
content: e,
|
|
1458
1439
|
options: a
|
|
1459
1440
|
}) => {
|
|
1460
1441
|
const n = a && a.customDocument;
|
|
1461
|
-
return /* @__PURE__ */ r(
|
|
1442
|
+
return /* @__PURE__ */ r(ze.Provider, {
|
|
1462
1443
|
value: a || {},
|
|
1463
1444
|
children: n ? /* @__PURE__ */ r(n, {
|
|
1464
|
-
document:
|
|
1465
|
-
}) : /* @__PURE__ */ r(
|
|
1466
|
-
document:
|
|
1445
|
+
document: e
|
|
1446
|
+
}) : /* @__PURE__ */ r(xt, {
|
|
1447
|
+
document: e
|
|
1467
1448
|
})
|
|
1468
1449
|
});
|
|
1469
|
-
},
|
|
1470
|
-
blocks:
|
|
1450
|
+
}, P = ({
|
|
1451
|
+
blocks: e
|
|
1471
1452
|
}) => /* @__PURE__ */ r(L, {
|
|
1472
|
-
children:
|
|
1453
|
+
children: e.map((a, n) => /* @__PURE__ */ r(Zt, {
|
|
1473
1454
|
node: a
|
|
1474
1455
|
}, `${n}-${a.getNodeName()}`))
|
|
1475
|
-
}),
|
|
1476
|
-
node:
|
|
1456
|
+
}), Zt = ({
|
|
1457
|
+
node: e
|
|
1477
1458
|
}) => {
|
|
1478
|
-
const a =
|
|
1479
|
-
|
|
1480
|
-
const
|
|
1481
|
-
if (
|
|
1482
|
-
return /* @__PURE__ */ r(
|
|
1483
|
-
node:
|
|
1459
|
+
const a = Et(ze), n = e.getNodeName(), o = e.getDocument(), g = e.getAttributes();
|
|
1460
|
+
o.playbackAttributes(g);
|
|
1461
|
+
const l = a && a.overrides && a.overrides[n];
|
|
1462
|
+
if (l)
|
|
1463
|
+
return /* @__PURE__ */ r(l, {
|
|
1464
|
+
node: e
|
|
1484
1465
|
});
|
|
1485
1466
|
switch (n) {
|
|
1486
1467
|
case "audio":
|
|
1487
|
-
return /* @__PURE__ */ r(
|
|
1488
|
-
node:
|
|
1468
|
+
return /* @__PURE__ */ r($t, {
|
|
1469
|
+
node: e
|
|
1489
1470
|
});
|
|
1490
1471
|
case "preamble":
|
|
1491
|
-
return /* @__PURE__ */ r(
|
|
1492
|
-
node:
|
|
1472
|
+
return /* @__PURE__ */ r(Ht, {
|
|
1473
|
+
node: e
|
|
1493
1474
|
});
|
|
1494
1475
|
case "section":
|
|
1495
|
-
return /* @__PURE__ */ r(
|
|
1496
|
-
node:
|
|
1476
|
+
return /* @__PURE__ */ r(Vt, {
|
|
1477
|
+
node: e
|
|
1497
1478
|
});
|
|
1498
1479
|
case "paragraph":
|
|
1499
|
-
return /* @__PURE__ */ r(
|
|
1500
|
-
node:
|
|
1480
|
+
return /* @__PURE__ */ r(Yt, {
|
|
1481
|
+
node: e
|
|
1501
1482
|
});
|
|
1502
1483
|
case "dlist":
|
|
1503
|
-
return /* @__PURE__ */ r(
|
|
1504
|
-
node:
|
|
1484
|
+
return /* @__PURE__ */ r(It, {
|
|
1485
|
+
node: e
|
|
1505
1486
|
});
|
|
1506
1487
|
case "ulist":
|
|
1507
|
-
return /* @__PURE__ */ r(
|
|
1508
|
-
node:
|
|
1488
|
+
return /* @__PURE__ */ r(Xt, {
|
|
1489
|
+
node: e
|
|
1509
1490
|
});
|
|
1510
1491
|
case "floating_title":
|
|
1511
|
-
return /* @__PURE__ */ r(
|
|
1512
|
-
node:
|
|
1492
|
+
return /* @__PURE__ */ r(jt, {
|
|
1493
|
+
node: e
|
|
1513
1494
|
});
|
|
1514
1495
|
case "admonition":
|
|
1515
|
-
return /* @__PURE__ */ r(
|
|
1516
|
-
node:
|
|
1496
|
+
return /* @__PURE__ */ r(Ct, {
|
|
1497
|
+
node: e
|
|
1517
1498
|
});
|
|
1518
1499
|
case "listing":
|
|
1519
|
-
return /* @__PURE__ */ r(
|
|
1520
|
-
node:
|
|
1500
|
+
return /* @__PURE__ */ r(Lt, {
|
|
1501
|
+
node: e
|
|
1521
1502
|
});
|
|
1522
1503
|
case "literal":
|
|
1523
|
-
return /* @__PURE__ */ r(
|
|
1524
|
-
node:
|
|
1504
|
+
return /* @__PURE__ */ r(Ft, {
|
|
1505
|
+
node: e
|
|
1525
1506
|
});
|
|
1526
1507
|
case "image":
|
|
1527
|
-
return /* @__PURE__ */ r(
|
|
1528
|
-
node:
|
|
1508
|
+
return /* @__PURE__ */ r(Dt, {
|
|
1509
|
+
node: e
|
|
1529
1510
|
});
|
|
1530
1511
|
case "colist":
|
|
1531
|
-
return /* @__PURE__ */ r(
|
|
1532
|
-
node:
|
|
1512
|
+
return /* @__PURE__ */ r(Ot, {
|
|
1513
|
+
node: e
|
|
1533
1514
|
});
|
|
1534
1515
|
case "olist":
|
|
1535
|
-
return /* @__PURE__ */ r(
|
|
1536
|
-
node:
|
|
1516
|
+
return /* @__PURE__ */ r(Mt, {
|
|
1517
|
+
node: e
|
|
1537
1518
|
});
|
|
1538
1519
|
case "table":
|
|
1539
|
-
return /* @__PURE__ */ r(
|
|
1540
|
-
node:
|
|
1520
|
+
return /* @__PURE__ */ r(zt, {
|
|
1521
|
+
node: e
|
|
1541
1522
|
});
|
|
1542
1523
|
case "thematic_break":
|
|
1543
|
-
return /* @__PURE__ */ r(
|
|
1524
|
+
return /* @__PURE__ */ r(Kt, {});
|
|
1544
1525
|
case "open":
|
|
1545
|
-
return /* @__PURE__ */ r(
|
|
1546
|
-
node:
|
|
1526
|
+
return /* @__PURE__ */ r(Bt, {
|
|
1527
|
+
node: e
|
|
1547
1528
|
});
|
|
1548
1529
|
case "pass":
|
|
1549
|
-
return /* @__PURE__ */ r(
|
|
1550
|
-
node:
|
|
1530
|
+
return /* @__PURE__ */ r(Ut, {
|
|
1531
|
+
node: e
|
|
1551
1532
|
});
|
|
1552
1533
|
case "page_break":
|
|
1553
|
-
return /* @__PURE__ */ r(
|
|
1534
|
+
return /* @__PURE__ */ r(Wt, {});
|
|
1554
1535
|
case "example":
|
|
1555
|
-
return /* @__PURE__ */ r(
|
|
1556
|
-
node:
|
|
1536
|
+
return /* @__PURE__ */ r(Pt, {
|
|
1537
|
+
node: e
|
|
1557
1538
|
});
|
|
1558
1539
|
case "sidebar":
|
|
1559
|
-
return /* @__PURE__ */ r(
|
|
1560
|
-
node:
|
|
1540
|
+
return /* @__PURE__ */ r(Jt, {
|
|
1541
|
+
node: e
|
|
1561
1542
|
});
|
|
1562
1543
|
case "quote":
|
|
1563
|
-
return /* @__PURE__ */ r(
|
|
1564
|
-
node:
|
|
1544
|
+
return /* @__PURE__ */ r(qt, {
|
|
1545
|
+
node: e
|
|
1565
1546
|
});
|
|
1566
1547
|
case "verse":
|
|
1567
|
-
return /* @__PURE__ */ r(
|
|
1568
|
-
node:
|
|
1548
|
+
return /* @__PURE__ */ r(Qt, {
|
|
1549
|
+
node: e
|
|
1569
1550
|
});
|
|
1570
1551
|
case "toc":
|
|
1571
|
-
return /* @__PURE__ */ r(
|
|
1572
|
-
node:
|
|
1552
|
+
return /* @__PURE__ */ r(Gt, {
|
|
1553
|
+
node: e
|
|
1573
1554
|
});
|
|
1574
1555
|
default:
|
|
1575
1556
|
return /* @__PURE__ */ r(L, {
|
|
1576
|
-
children: w(
|
|
1557
|
+
children: w(e.convert())
|
|
1577
1558
|
});
|
|
1578
1559
|
}
|
|
1579
1560
|
};
|
|
1580
1561
|
export {
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1562
|
+
Ct as Admonition,
|
|
1563
|
+
$t as Audio,
|
|
1564
|
+
le as CaptionedTitle,
|
|
1565
|
+
Ot as CoList,
|
|
1566
|
+
P as Content,
|
|
1567
|
+
It as DList,
|
|
1568
|
+
xt as Document,
|
|
1569
|
+
Pt as Example,
|
|
1570
|
+
jt as FloatingTitle,
|
|
1571
|
+
Dt as Image,
|
|
1572
|
+
Lt as Listing,
|
|
1573
|
+
Ft as Literal,
|
|
1574
|
+
Mt as OList,
|
|
1575
|
+
Bt as Open,
|
|
1576
|
+
oe as Outline,
|
|
1577
|
+
Wt as PageBreak,
|
|
1578
|
+
Yt as Paragraph,
|
|
1579
|
+
Ut as Pass,
|
|
1580
|
+
Ht as Preamble,
|
|
1581
|
+
qt as Quote,
|
|
1582
|
+
Vt as Section,
|
|
1583
|
+
Jt as Sidebar,
|
|
1584
|
+
zt as Table,
|
|
1585
|
+
Gt as TableOfContents,
|
|
1586
|
+
Kt as ThematicBreak,
|
|
1587
|
+
x as Title,
|
|
1588
|
+
Xt as UList,
|
|
1589
|
+
Qt as Verse,
|
|
1590
|
+
nr as asciidoctor,
|
|
1591
|
+
rr as default,
|
|
1592
|
+
U as getContent,
|
|
1611
1593
|
N as getLineNumber,
|
|
1612
1594
|
C as getRole,
|
|
1613
|
-
|
|
1595
|
+
D as getText
|
|
1614
1596
|
};
|