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