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