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