@oxide/react-asciidoc 0.2.8 → 0.2.9--canary.cf652b0.0

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