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