@oxide/react-asciidoc 0.2.9--canary.f075326.0 → 0.2.9--canary.049be84.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,5 +1,5 @@
1
1
  import R from "html-react-parser";
2
- import { default as Lt } from "html-react-parser";
2
+ import { default as Ct } from "html-react-parser";
3
3
  import ee, { Fragment as Er, createElement as M, createContext as Ie, useContext as te } from "react";
4
4
  var Kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, nr = { exports: {} }, X = {};
5
5
  /**
@@ -17,17 +17,17 @@ function Be() {
17
17
  return X;
18
18
  Xr = 1;
19
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 m(l, n, N) {
20
+ function g(o, n, N) {
21
21
  var q, v = {}, p = null, h = null;
22
22
  N !== void 0 && (p = "" + N), n.key !== void 0 && (p = "" + n.key), n.ref !== void 0 && (h = n.ref);
23
23
  for (q in n)
24
24
  s.call(n, q) && !d.hasOwnProperty(q) && (v[q] = n[q]);
25
- if (l && l.defaultProps)
26
- for (q in n = l.defaultProps, n)
25
+ if (o && o.defaultProps)
26
+ for (q in n = o.defaultProps, n)
27
27
  v[q] === void 0 && (v[q] = n[q]);
28
- return { $$typeof: a, type: l, key: p, ref: h, props: v, _owner: c.current };
28
+ return { $$typeof: a, type: o, key: p, ref: h, props: v, _owner: c.current };
29
29
  }
30
- return X.Fragment = i, X.jsx = m, X.jsxs = m, X;
30
+ return X.Fragment = i, X.jsx = g, X.jsxs = g, X;
31
31
  }
32
32
  var Q = {};
33
33
  /**
@@ -42,41 +42,41 @@ var Q = {};
42
42
  var Qr;
43
43
  function Ve() {
44
44
  return Qr || (Qr = 1, process.env.NODE_ENV !== "production" && function() {
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"), m = Symbol.for("react.provider"), l = 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";
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
46
  function _(e) {
47
47
  if (e === null || typeof e != "object")
48
48
  return null;
49
- var o = x && e[x] || e[O];
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
52
  var P = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
53
  function A(e) {
54
54
  {
55
- for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
55
+ for (var l = arguments.length, u = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
56
56
  u[f - 1] = arguments[f];
57
57
  $("error", e, u);
58
58
  }
59
59
  }
60
- function $(e, o, u) {
60
+ function $(e, l, u) {
61
61
  {
62
62
  var f = P.ReactDebugCurrentFrame, w = f.getStackAddendum();
63
- w !== "" && (o += "%s", u = u.concat([w]));
63
+ w !== "" && (l += "%s", u = u.concat([w]));
64
64
  var E = u.map(function(y) {
65
65
  return String(y);
66
66
  });
67
- E.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, E);
67
+ E.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, E);
68
68
  }
69
69
  }
70
- var J = !1, tr = !1, ce = !1, ne = !1, ue = !1, Dr;
71
- Dr = Symbol.for("react.module.reference");
70
+ var J = !1, tr = !1, ce = !1, ne = !1, ue = !1, kr;
71
+ kr = Symbol.for("react.module.reference");
72
72
  function pe(e) {
73
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === d || ue || e === c || e === N || e === q || ne || e === h || J || tr || ce || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === v || e.$$typeof === m || e.$$typeof === l || e.$$typeof === n || e.$$typeof === Dr || e.getModuleId !== void 0));
73
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === d || ue || e === c || e === N || e === q || ne || e === h || J || tr || ce || typeof e == "object" && e !== null && (e.$$typeof === p || e.$$typeof === v || e.$$typeof === g || e.$$typeof === o || e.$$typeof === n || e.$$typeof === kr || e.getModuleId !== void 0));
74
74
  }
75
- function de(e, o, u) {
75
+ function de(e, l, u) {
76
76
  var f = e.displayName;
77
77
  if (f)
78
78
  return f;
79
- var w = o.displayName || o.name || "";
79
+ var w = l.displayName || l.name || "";
80
80
  return w !== "" ? u + "(" + w + ")" : u;
81
81
  }
82
82
  function Sr(e) {
@@ -105,10 +105,10 @@ function Ve() {
105
105
  }
106
106
  if (typeof e == "object")
107
107
  switch (e.$$typeof) {
108
- case l:
109
- var o = e;
110
- return Sr(o) + ".Consumer";
111
- case m:
108
+ case o:
109
+ var l = e;
110
+ return Sr(l) + ".Consumer";
111
+ case g:
112
112
  var u = e;
113
113
  return Sr(u._context) + ".Provider";
114
114
  case n:
@@ -190,7 +190,7 @@ function Ve() {
190
190
  }
191
191
  }
192
192
  var mr = P.ReactCurrentDispatcher, gr;
193
- function ar(e, o, u) {
193
+ function ar(e, l, u) {
194
194
  {
195
195
  if (gr === void 0)
196
196
  try {
@@ -208,7 +208,7 @@ function Ve() {
208
208
  var fe = typeof WeakMap == "function" ? WeakMap : Map;
209
209
  ir = new fe();
210
210
  }
211
- function Pr(e, o) {
211
+ function Pr(e, l) {
212
212
  if (!e || fr)
213
213
  return "";
214
214
  {
@@ -223,7 +223,7 @@ function Ve() {
223
223
  var E;
224
224
  E = mr.current, mr.current = null, me();
225
225
  try {
226
- if (o) {
226
+ if (l) {
227
227
  var y = function() {
228
228
  throw Error();
229
229
  };
@@ -258,18 +258,18 @@ function Ve() {
258
258
  if (B && f && typeof B.stack == "string") {
259
259
  for (var b = B.stack.split(`
260
260
  `), L = f.stack.split(`
261
- `), k = b.length - 1, S = L.length - 1; k >= 1 && S >= 0 && b[k] !== L[S]; )
261
+ `), D = b.length - 1, S = L.length - 1; D >= 1 && S >= 0 && b[D] !== L[S]; )
262
262
  S--;
263
- for (; k >= 1 && S >= 0; k--, S--)
264
- if (b[k] !== L[S]) {
265
- if (k !== 1 || S !== 1)
263
+ for (; D >= 1 && S >= 0; D--, S--)
264
+ if (b[D] !== L[S]) {
265
+ if (D !== 1 || S !== 1)
266
266
  do
267
- if (k--, S--, S < 0 || b[k] !== L[S]) {
267
+ if (D--, S--, S < 0 || b[D] !== L[S]) {
268
268
  var F = `
269
- ` + b[k].replace(" at new ", " at ");
269
+ ` + b[D].replace(" at new ", " at ");
270
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 (k >= 1 && S >= 0);
272
+ while (D >= 1 && S >= 0);
273
273
  break;
274
274
  }
275
275
  }
@@ -279,14 +279,14 @@ function Ve() {
279
279
  var G = e ? e.displayName || e.name : "", Zr = G ? ar(G) : "";
280
280
  return typeof e == "function" && ir.set(e, Zr), Zr;
281
281
  }
282
- function he(e, o, u) {
282
+ function he(e, l, u) {
283
283
  return Pr(e, !1);
284
284
  }
285
285
  function be(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, u) {
289
+ function sr(e, l, u) {
290
290
  if (e == null)
291
291
  return "";
292
292
  if (typeof e == "function")
@@ -304,11 +304,11 @@ function Ve() {
304
304
  case n:
305
305
  return he(e.render);
306
306
  case v:
307
- return sr(e.type, o, u);
307
+ return sr(e.type, l, u);
308
308
  case p: {
309
309
  var f = e, w = f._payload, E = f._init;
310
310
  try {
311
- return sr(E(w), o, u);
311
+ return sr(E(w), l, u);
312
312
  } catch {
313
313
  }
314
314
  }
@@ -318,12 +318,12 @@ function Ve() {
318
318
  var lr = Object.prototype.hasOwnProperty, Ir = {}, Br = P.ReactDebugCurrentFrame;
319
319
  function or(e) {
320
320
  if (e) {
321
- var o = e._owner, u = sr(e.type, e._source, o ? o.type : null);
321
+ var l = e._owner, u = sr(e.type, e._source, l ? l.type : null);
322
322
  Br.setExtraStackFrame(u);
323
323
  } else
324
324
  Br.setExtraStackFrame(null);
325
325
  }
326
- function ve(e, o, u, f, w) {
326
+ function ve(e, l, u, f, w) {
327
327
  {
328
328
  var E = Function.call.bind(lr);
329
329
  for (var y in e)
@@ -334,9 +334,9 @@ function Ve() {
334
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
- b = e[y](o, y, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
- } catch (k) {
339
- b = k;
337
+ b = e[y](l, y, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
+ } catch (D) {
339
+ b = D;
340
340
  }
341
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
  }
@@ -348,7 +348,7 @@ function Ve() {
348
348
  }
349
349
  function we(e) {
350
350
  {
351
- var o = typeof Symbol == "function" && Symbol.toStringTag, u = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
+ var l = typeof Symbol == "function" && Symbol.toStringTag, u = l && e[Symbol.toStringTag] || e.constructor.name || "Object";
352
352
  return u;
353
353
  }
354
354
  }
@@ -375,30 +375,30 @@ function Ve() {
375
375
  br = {};
376
376
  function Ee(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 Ne(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 Ae(e, o) {
393
- if (typeof e.ref == "string" && K.current && o && K.current.stateNode !== o) {
392
+ function Ae(e, l) {
393
+ if (typeof e.ref == "string" && K.current && l && K.current.stateNode !== l) {
394
394
  var u = I(K.current.type);
395
395
  br[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', I(K.current.type), e.ref), br[u] = !0);
396
396
  }
397
397
  }
398
- function ke(e, o) {
398
+ function De(e, l) {
399
399
  {
400
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)", o));
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
403
  u.isReactWarning = !0, Object.defineProperty(e, "key", {
404
404
  get: u,
@@ -406,10 +406,10 @@ function Ve() {
406
406
  });
407
407
  }
408
408
  }
409
- function De(e, o) {
409
+ function ke(e, l) {
410
410
  {
411
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)", o));
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
414
  u.isReactWarning = !0, Object.defineProperty(e, "ref", {
415
415
  get: u,
@@ -417,11 +417,11 @@ function Ve() {
417
417
  });
418
418
  }
419
419
  }
420
- var Se = function(e, o, u, f, w, E, y) {
420
+ var Se = function(e, l, u, f, w, E, y) {
421
421
  var b = {
422
422
  $$typeof: a,
423
423
  type: e,
424
- key: o,
424
+ key: l,
425
425
  ref: u,
426
426
  props: y,
427
427
  _owner: E
@@ -443,20 +443,20 @@ function Ve() {
443
443
  value: w
444
444
  }), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
445
445
  };
446
- function Re(e, o, u, f, w) {
446
+ function Re(e, l, u, f, w) {
447
447
  {
448
448
  var E, y = {}, b = null, L = null;
449
- u !== void 0 && (jr(u), b = "" + u), Ne(o) && (jr(o.key), b = "" + o.key), Ee(o) && (L = o.ref, Ae(o, w));
450
- for (E in o)
451
- lr.call(o, E) && !xe.hasOwnProperty(E) && (y[E] = o[E]);
449
+ u !== void 0 && (jr(u), b = "" + u), Ne(l) && (jr(l.key), b = "" + l.key), Ee(l) && (L = l.ref, Ae(l, w));
450
+ for (E in l)
451
+ lr.call(l, E) && !xe.hasOwnProperty(E) && (y[E] = l[E]);
452
452
  if (e && e.defaultProps) {
453
- var k = e.defaultProps;
454
- for (E in k)
455
- y[E] === void 0 && (y[E] = k[E]);
453
+ var D = e.defaultProps;
454
+ for (E in D)
455
+ y[E] === void 0 && (y[E] = D[E]);
456
456
  }
457
457
  if (b || L) {
458
458
  var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
459
- b && ke(y, S), L && De(y, S);
459
+ b && De(y, S), L && ke(y, S);
460
460
  }
461
461
  return Se(e, b, L, w, f, K.current, y);
462
462
  }
@@ -464,7 +464,7 @@ function Ve() {
464
464
  var vr = P.ReactCurrentOwner, zr = P.ReactDebugCurrentFrame;
465
465
  function z(e) {
466
466
  if (e) {
467
- var o = e._owner, u = sr(e.type, e._source, o ? o.type : null);
467
+ var l = e._owner, u = sr(e.type, e._source, l ? l.type : null);
468
468
  zr.setExtraStackFrame(u);
469
469
  } else
470
470
  zr.setExtraStackFrame(null);
@@ -489,10 +489,10 @@ Check the render method of \`` + e + "`.";
489
489
  function Te(e) {
490
490
  {
491
491
  if (e !== void 0) {
492
- var o = e.fileName.replace(/^.*[\\\/]/, ""), u = e.lineNumber;
492
+ var l = e.fileName.replace(/^.*[\\\/]/, ""), u = e.lineNumber;
493
493
  return `
494
494
 
495
- Check your code at ` + o + ":" + u + ".";
495
+ Check your code at ` + l + ":" + u + ".";
496
496
  }
497
497
  return "";
498
498
  }
@@ -500,22 +500,22 @@ Check your code at ` + o + ":" + u + ".";
500
500
  var Mr = {};
501
501
  function Ce(e) {
502
502
  {
503
- var o = Gr();
504
- if (!o) {
503
+ var l = Gr();
504
+ if (!l) {
505
505
  var u = typeof e == "string" ? e : e.displayName || e.name;
506
- u && (o = `
506
+ u && (l = `
507
507
 
508
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 u = Ce(o);
518
+ var u = Ce(l);
519
519
  if (Mr[u])
520
520
  return;
521
521
  Mr[u] = !0;
@@ -523,14 +523,14 @@ Check the top-level render call using <` + u + ">.");
523
523
  e && e._owner && e._owner !== vr.current && (f = " It was passed a child from " + I(e._owner.type) + "."), z(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), z(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 (hr(e))
531
531
  for (var u = 0; u < e.length; u++) {
532
532
  var f = e[u];
533
- wr(f) && Yr(f, o);
533
+ wr(f) && Yr(f, l);
534
534
  }
535
535
  else if (wr(e))
536
536
  e._store && (e._store.validated = !0);
@@ -538,37 +538,37 @@ Check the top-level render call using <` + u + ">.");
538
538
  var w = _(e);
539
539
  if (typeof w == "function" && w !== e.entries)
540
540
  for (var E = w.call(e), y; !(y = E.next()).done; )
541
- wr(y.value) && Yr(y.value, o);
541
+ wr(y.value) && Yr(y.value, l);
542
542
  }
543
543
  }
544
544
  }
545
545
  function Le(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
550
  var u;
551
- if (typeof o == "function")
552
- u = o.propTypes;
553
- else if (typeof o == "object" && (o.$$typeof === n || o.$$typeof === v))
554
- u = o.propTypes;
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
557
  if (u) {
558
- var f = I(o);
558
+ var f = I(l);
559
559
  ve(u, e.props, "prop", f, e);
560
- } else if (o.PropTypes !== void 0 && !yr) {
560
+ } else if (l.PropTypes !== void 0 && !yr) {
561
561
  yr = !0;
562
- var w = I(o);
562
+ var w = I(l);
563
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 && A("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 Oe(e) {
569
569
  {
570
- for (var o = Object.keys(e.props), u = 0; u < o.length; u++) {
571
- var f = o[u];
570
+ for (var l = Object.keys(e.props), u = 0; u < l.length; u++) {
571
+ var f = l[u];
572
572
  if (f !== "children" && f !== "key") {
573
573
  z(e), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), z(null);
574
574
  break;
@@ -577,7 +577,7 @@ Check the top-level render call using <` + u + ">.");
577
577
  e.ref !== null && (z(e), A("Invalid attribute `ref` supplied to `React.Fragment`."), z(null));
578
578
  }
579
579
  }
580
- function Jr(e, o, u, f, w, E) {
580
+ function Jr(e, l, u, f, w, E) {
581
581
  {
582
582
  var y = pe(e);
583
583
  if (!y) {
@@ -585,14 +585,14 @@ Check the top-level render call using <` + u + ">.");
585
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 = Te(w);
587
587
  L ? b += L : b += Gr();
588
- var k;
589
- e === null ? k = "null" : hr(e) ? k = "array" : e !== void 0 && e.$$typeof === a ? (k = "<" + (I(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);
588
+ var D;
589
+ e === null ? D = "null" : hr(e) ? D = "array" : e !== void 0 && e.$$typeof === a ? (D = "<" + (I(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : D = 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", D, b);
590
590
  }
591
- var S = Re(e, o, u, w, E);
591
+ var S = Re(e, l, u, w, E);
592
592
  if (S == null)
593
593
  return S;
594
594
  if (y) {
595
- var F = o.children;
595
+ var F = l.children;
596
596
  if (F !== void 0)
597
597
  if (f)
598
598
  if (hr(F)) {
@@ -607,11 +607,11 @@ Check the top-level render call using <` + u + ">.");
607
607
  return e === s ? Oe(S) : Le(S), S;
608
608
  }
609
609
  }
610
- function _e(e, o, u) {
611
- return Jr(e, o, u, !0);
610
+ function _e(e, l, u) {
611
+ return Jr(e, l, u, !0);
612
612
  }
613
- function Fe(e, o, u) {
614
- return Jr(e, o, u, !1);
613
+ function Fe(e, l, u) {
614
+ return Jr(e, l, u, !1);
615
615
  }
616
616
  var Ue = Fe, Pe = _e;
617
617
  Q.Fragment = s, Q.jsx = Ue, Q.jsxs = Pe;
@@ -620,7 +620,7 @@ Check the top-level render call using <` + u + ">.");
620
620
  (function(r) {
621
621
  process.env.NODE_ENV === "production" ? r.exports = Be() : r.exports = Ve();
622
622
  })(nr);
623
- const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
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",
@@ -644,14 +644,14 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
644
644
  } : {},
645
645
  children: /* @__PURE__ */ t("table", {
646
646
  children: /* @__PURE__ */ t("tbody", {
647
- children: /* @__PURE__ */ g("tr", {
647
+ children: /* @__PURE__ */ m("tr", {
648
648
  children: [/* @__PURE__ */ t("td", {
649
649
  className: "icon",
650
650
  children: i.icons ? c() : /* @__PURE__ */ t("div", {
651
651
  className: "title",
652
652
  children: s.textlabel
653
653
  })
654
- }), /* @__PURE__ */ g("td", {
654
+ }), /* @__PURE__ */ m("td", {
655
655
  className: "content",
656
656
  children: [/* @__PURE__ */ t(T, {
657
657
  text: r.title
@@ -667,7 +667,7 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
667
667
  node: r
668
668
  }) => {
669
669
  const a = r.attributes.start, i = r.attributes.end, s = (a || i) && `#t=${a || ""}` + i ? `,${i}` : "";
670
- return /* @__PURE__ */ g("div", {
670
+ return /* @__PURE__ */ m("div", {
671
671
  className: "audioblock",
672
672
  ...r.lineNumber ? {
673
673
  "data-lineno": r.lineNumber
@@ -687,7 +687,7 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
687
687
  });
688
688
  }, $e = ({
689
689
  node: r
690
- }) => /* @__PURE__ */ g("div", {
690
+ }) => /* @__PURE__ */ m("div", {
691
691
  className: "colist",
692
692
  ...r.lineNumber ? {
693
693
  "data-lineno": r.lineNumber
@@ -696,15 +696,15 @@ const U = nr.exports.Fragment, t = nr.exports.jsx, g = nr.exports.jsxs, T = ({
696
696
  text: r.title
697
697
  }), /* @__PURE__ */ t("table", {
698
698
  children: /* @__PURE__ */ t("tbody", {
699
- children: r.items.map((a, i) => /* @__PURE__ */ g("tr", {
700
- children: [/* @__PURE__ */ g("td", {
699
+ children: r.items.map((a, i) => /* @__PURE__ */ m("tr", {
700
+ children: [/* @__PURE__ */ m("td", {
701
701
  children: [/* @__PURE__ */ t("i", {
702
702
  className: "conum",
703
703
  "data-value": i + 1
704
704
  }), /* @__PURE__ */ t("b", {
705
705
  children: i + 1
706
706
  })]
707
- }), /* @__PURE__ */ g("td", {
707
+ }), /* @__PURE__ */ m("td", {
708
708
  children: [a.text && R(a.text), /* @__PURE__ */ t(C, {
709
709
  blocks: a.blocks
710
710
  })]
@@ -726,15 +726,15 @@ var ae = { exports: {} };
726
726
  for (var s = [], c = 0; c < arguments.length; c++) {
727
727
  var d = arguments[c];
728
728
  if (!!d) {
729
- var m = typeof d;
730
- if (m === "string" || m === "number")
729
+ var g = typeof d;
730
+ if (g === "string" || g === "number")
731
731
  s.push(d);
732
732
  else if (Array.isArray(d)) {
733
733
  if (d.length) {
734
- var l = i.apply(null, d);
735
- l && s.push(l);
734
+ var o = i.apply(null, d);
735
+ o && s.push(o);
736
736
  }
737
- } else if (m === "object") {
737
+ } else if (g === "object") {
738
738
  if (d.toString !== Object.prototype.toString && !d.toString.toString().includes("[native code]")) {
739
739
  s.push(d.toString());
740
740
  continue;
@@ -749,7 +749,7 @@ var ae = { exports: {} };
749
749
  r.exports ? (i.default = i, r.exports = i) : window.classNames = i;
750
750
  })();
751
751
  })(ae);
752
- const D = ae.exports;
752
+ const k = ae.exports;
753
753
  var ur = {}, pr = {};
754
754
  Object.defineProperty(pr, "__esModule", { value: !0 });
755
755
  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 };
@@ -790,8 +790,8 @@ function se(r, a, i) {
790
790
  var d = 0;
791
791
  do {
792
792
  d !== s.index && (c += r.substring(d, s.index));
793
- var m = s[0];
794
- c += i(m), d = s.index + m.length;
793
+ var g = s[0];
794
+ c += i(g), d = s.index + g.length;
795
795
  } while (s = a.exec(r));
796
796
  d !== r.length && (c += r.substring(d));
797
797
  } else
@@ -800,10 +800,10 @@ function se(r, a, i) {
800
800
  }
801
801
  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" };
802
802
  function Ye(r, a) {
803
- var i = a === void 0 ? Me : a, s = i.mode, c = s === void 0 ? "specialChars" : s, d = i.numeric, m = d === void 0 ? "decimal" : d, l = i.level, n = l === void 0 ? "all" : l;
803
+ var i = a === void 0 ? Me : 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;
804
804
  if (!r)
805
805
  return "";
806
- var N = Ge[c], q = Ar[n].characters, v = m === "hexadecimal";
806
+ var N = Ge[c], q = Ar[n].characters, v = g === "hexadecimal";
807
807
  return se(r, N, function(p) {
808
808
  var h = q[p];
809
809
  if (!h) {
@@ -822,11 +822,11 @@ function oe(r, a, i, s) {
822
822
  else if (s && d !== ";")
823
823
  c = r;
824
824
  else {
825
- var m = a[r];
826
- if (m)
827
- c = m;
825
+ var g = a[r];
826
+ if (g)
827
+ c = g;
828
828
  else if (r[0] === "&" && r[1] === "#") {
829
- var l = r[2], n = l == "x" || l == "X" ? parseInt(r.substr(3), 16) : parseInt(r.substr(2));
829
+ var o = r[2], n = o == "x" || o == "X" ? parseInt(r.substr(3), 16) : parseInt(r.substr(2));
830
830
  c = n >= 1114111 ? Ze : n > 65535 ? ie.fromCodePoint(n) : le(ze.numericUnicodeMap[n] || n);
831
831
  }
832
832
  }
@@ -838,11 +838,11 @@ function Xe(r, a) {
838
838
  }
839
839
  ur.decodeEntity = Xe;
840
840
  function Qe(r, a) {
841
- var i = a === void 0 ? We : a, s = i.level, c = s === void 0 ? "all" : s, d = i.scope, m = d === void 0 ? c === "xml" ? "strict" : "body" : d;
841
+ var i = a === void 0 ? We : a, s = i.level, c = s === void 0 ? "all" : s, d = i.scope, g = d === void 0 ? c === "xml" ? "strict" : "body" : d;
842
842
  if (!r)
843
843
  return "";
844
- var l = Je[c][m], n = Ar[c].entities, N = m === "attribute", q = m === "strict";
845
- return se(r, l, function(v) {
844
+ var o = Je[c][g], n = Ar[c].entities, N = g === "attribute", q = g === "strict";
845
+ return se(r, o, function(v) {
846
846
  return oe(v, n, N, q);
847
847
  });
848
848
  }
@@ -852,47 +852,47 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
852
852
  return r[a];
853
853
  const d = s || a;
854
854
  return d && c && c[d] !== void 0 ? c[d] : i;
855
- }, V = (r, a) => r[a] !== void 0, kt = (r) => {
856
- var m;
855
+ }, V = (r, a) => r[a] !== void 0, Dt = (r) => {
856
+ var g;
857
857
  let a;
858
- function i(l) {
859
- const n = l.getNodeName && l.getNodeName(), N = l.getContentModel && l.getContentModel(), q = n && l.hasBlocks() ? l.getBlocks().map((p) => i(p)) : [];
858
+ function i(o) {
859
+ const n = o.getNodeName && o.getNodeName(), N = o.getContentModel && o.getContentModel(), q = n && o.hasBlocks() ? o.getBlocks().map((p) => i(p)) : [];
860
860
  let v = {
861
- id: l.getId && l.getId(),
861
+ id: o.getId && o.getId(),
862
862
  type: n,
863
863
  blocks: q,
864
- content: q.length > 0 ? void 0 : l.getContent && l.getContent(),
865
- attributes: l.getAttributes && l.getAttributes(),
864
+ content: q.length > 0 ? void 0 : o.getContent && o.getContent(),
865
+ attributes: o.getAttributes && o.getAttributes(),
866
866
  contentModel: N,
867
- lineNumber: l.getLineNumber && l.getLineNumber(),
868
- style: l.getStyle && l.getStyle(),
869
- role: l.getRole && l.getRole(),
870
- title: l.hasTitle && l.hasTitle() ? l.getTitle() : void 0,
871
- level: l.getLevel && l.getLevel()
867
+ lineNumber: o.getLineNumber && o.getLineNumber(),
868
+ style: o.getStyle && o.getStyle(),
869
+ role: o.getRole && o.getRole(),
870
+ title: o.hasTitle && o.hasTitle() ? o.getTitle() : void 0,
871
+ level: o.getLevel && o.getLevel()
872
872
  };
873
873
  if (n === "admonition") {
874
874
  let p = v;
875
- p.iconUri = l.getIconUri(v.attributes.name);
875
+ p.iconUri = o.getIconUri(v.attributes.name);
876
876
  }
877
877
  if (n === "audio") {
878
878
  let p = v;
879
- p.mediaUri = l.getMediaUri(l.getAttribute("target")), p.autoplay = l.isOption("autoplay"), p.noControls = !l.isOption("nocontrols"), p.loop = l.isOption("loop"), v = p;
879
+ p.mediaUri = o.getMediaUri(o.getAttribute("target")), p.autoplay = o.isOption("autoplay"), p.noControls = !o.isOption("nocontrols"), p.loop = o.isOption("loop"), v = p;
880
880
  }
881
881
  if (n === "image") {
882
882
  let p = v;
883
- p.imageUri = l.getImageUri(l.getAttribute("target"));
883
+ p.imageUri = o.getImageUri(o.getAttribute("target"));
884
884
  }
885
- if ((n === "listing" || n === "literal") && "getSource" in l) {
885
+ if ((n === "listing" || n === "literal") && "getSource" in o) {
886
886
  const p = v;
887
- p.source = l.getSource(), p.language = l.getAttribute("language"), p.content = p.content ? rt(p.content) : void 0;
887
+ p.source = o.getSource(), p.language = o.getAttribute("language"), p.content = p.content ? rt(p.content) : void 0;
888
888
  }
889
889
  if (n === "section") {
890
890
  const p = v;
891
- p.title = l.getCaption() ? l.getCaptionedTitle() : l.getTitle() || "", "getSectionNumeral" in l && (p.name = l.getSectionName(), p.numbered = l.isNumbered(), p.num = l.getSectionNumeral());
891
+ p.title = o.getCaption() ? o.getCaptionedTitle() : o.getTitle() || "", "getSectionNumeral" in o && (p.name = o.getSectionName(), p.numbered = o.isNumbered(), p.num = o.getSectionNumeral());
892
892
  }
893
893
  if (n === "dlist") {
894
894
  let p = v;
895
- p.items = l.getItems().map((h) => [
895
+ p.items = o.getItems().map((h) => [
896
896
  h[0].map(
897
897
  (x) => i(x)
898
898
  ),
@@ -901,16 +901,16 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
901
901
  }
902
902
  if (n === "colist" || n === "olist" || n === "ulist") {
903
903
  let p = v;
904
- p.items = l.getItems().map((h) => i(h));
904
+ p.items = o.getItems().map((h) => i(h));
905
905
  }
906
906
  if (n === "list_item") {
907
907
  let p = v;
908
- const h = l;
908
+ const h = o;
909
909
  p.text = h.hasText() ? h.getText() : void 0;
910
910
  }
911
911
  if (n === "table") {
912
912
  let p = v;
913
- const h = l;
913
+ const h = o;
914
914
  p.columns = h.getColumns().map((_) => ({
915
915
  attributes: _.getAttributes(),
916
916
  columnNumber: _.getColumnNumber(),
@@ -938,7 +938,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
938
938
  }, v = p;
939
939
  }
940
940
  if (n === "table_cell") {
941
- const p = l, h = p.getColumn();
941
+ const p = o, h = p.getColumn();
942
942
  v = {
943
943
  ...v,
944
944
  type: "table_cell",
@@ -961,8 +961,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
961
961
  }
962
962
  return v;
963
963
  }
964
- function s(l) {
965
- return l.getSections().map((n) => ({
964
+ function s(o) {
965
+ return o.getSections().map((n) => ({
966
966
  id: n.getId(),
967
967
  title: (n.getCaption() ? n.getCaptionedTitle() : n.getTitle()) || "",
968
968
  level: n.getLevel(),
@@ -972,75 +972,57 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
972
972
  }
973
973
  a = {
974
974
  type: "document",
975
- title: ((m = r.getDocumentTitle()) == null ? void 0 : m.toString()) || "",
975
+ title: ((g = r.getDocumentTitle()) == null ? void 0 : g.toString()) || "",
976
976
  hasHeader: r.hasHeader(),
977
977
  noHeader: r.getNoheader(),
978
978
  contentModel: r.getContentModel(),
979
979
  footnotes: [],
980
980
  attributes: r.getAttributes(),
981
- blocks: r.getBlocks().map((l) => i(l)),
981
+ blocks: r.getBlocks().map((o) => i(o)),
982
982
  sections: s(r),
983
983
  authors: []
984
984
  };
985
985
  const c = r.getFootnotes();
986
- return c && (a.footnotes = c.map((l) => ({
987
- text: l.getText(),
988
- index: l.getIndex()
989
- }))), r.getAuthors() && (a.authors = r.getAuthors().map((l) => {
990
- const n = l.getName(), N = l.getEmail();
986
+ return c && (a.footnotes = c.map((o) => ({
987
+ text: o.getText(),
988
+ index: o.getIndex()
989
+ }))), r.getAuthors() && (a.authors = r.getAuthors().map((o) => {
990
+ const n = o.getName(), N = o.getEmail();
991
991
  return {
992
992
  name: n ? r.applySubstitutions(n).toString() : void 0,
993
993
  email: N ? r.applySubstitutions(N).toString() : void 0
994
994
  };
995
995
  })), a;
996
- }, Dt = async (r, a) => {
996
+ }, kt = async (r, a) => {
997
997
  const i = async (c) => Promise.all(
998
998
  c.map(async (d) => {
999
- let m = await a(d);
1000
- if (m.blocks && m.blocks.length > 0 && (m.blocks = await i(m.blocks)), m.items) {
1001
- const l = m;
1002
- l.items = await i(
1003
- l.items
999
+ let g = await a(d);
1000
+ if (g.blocks && g.blocks.length > 0 && (g.blocks = await i(g.blocks)), g.items) {
1001
+ const o = g;
1002
+ o.items = await i(
1003
+ o.items
1004
1004
  );
1005
1005
  }
1006
- return m;
1006
+ return g;
1007
1007
  })
1008
1008
  ), s = await i(r.blocks);
1009
1009
  return {
1010
1010
  ...r,
1011
1011
  blocks: s
1012
1012
  };
1013
- }, St = (r, a) => {
1014
- function i(c) {
1015
- return c.map((d) => {
1016
- let m = a(d);
1017
- if (m.blocks && m.blocks.length > 0 && (m.blocks = i(m.blocks)), m.items) {
1018
- const l = m;
1019
- l.items = i(
1020
- l.items
1021
- );
1022
- }
1023
- return m;
1024
- });
1025
- }
1026
- const s = i(r.blocks);
1027
- return {
1028
- ...r,
1029
- blocks: s
1030
- };
1031
1013
  }, et = ({
1032
1014
  node: r
1033
1015
  }) => {
1034
1016
  const a = (s) => {
1035
1017
  const c = s, d = c[0];
1036
- let m = c[1];
1037
- return m.type || (m = null), {
1018
+ let g = c[1];
1019
+ return g.type || (g = null), {
1038
1020
  terms: d,
1039
- dd: m
1021
+ dd: g
1040
1022
  };
1041
1023
  }, i = (s) => {
1042
1024
  if (s)
1043
- return /* @__PURE__ */ g("dd", {
1025
+ return /* @__PURE__ */ m("dd", {
1044
1026
  children: [s.text && /* @__PURE__ */ t("p", {
1045
1027
  children: R(s.text)
1046
1028
  }), /* @__PURE__ */ t(C, {
@@ -1049,8 +1031,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1049
1031
  });
1050
1032
  };
1051
1033
  if (r.style === "qanda")
1052
- return /* @__PURE__ */ g("div", {
1053
- className: D("qlist qanda", r.role),
1034
+ return /* @__PURE__ */ m("div", {
1035
+ className: k("qlist qanda", r.role),
1054
1036
  ...r.lineNumber ? {
1055
1037
  "data-lineno": r.lineNumber
1056
1038
  } : {},
@@ -1060,27 +1042,27 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1060
1042
  children: r.items.map((s, c) => {
1061
1043
  const {
1062
1044
  terms: d,
1063
- dd: m
1045
+ dd: g
1064
1046
  } = a(s);
1065
1047
  if (!!d)
1066
- return /* @__PURE__ */ g("li", {
1067
- children: [d.map((l, n) => /* @__PURE__ */ t("p", {
1048
+ return /* @__PURE__ */ m("li", {
1049
+ children: [d.map((o, n) => /* @__PURE__ */ t("p", {
1068
1050
  children: /* @__PURE__ */ t("em", {
1069
- children: R(l.text)
1051
+ children: R(o.text)
1070
1052
  })
1071
- }, n)), i(m)]
1053
+ }, n)), i(g)]
1072
1054
  }, c);
1073
1055
  })
1074
1056
  })]
1075
1057
  });
1076
1058
  if (r.style === "horizontal") {
1077
1059
  const s = r.attributes.labelwidth, c = r.attributes.itemwidth;
1078
- return /* @__PURE__ */ g("div", {
1079
- className: D("hdlist", r.role),
1060
+ return /* @__PURE__ */ m("div", {
1061
+ className: k("hdlist", r.role),
1080
1062
  children: [/* @__PURE__ */ t(T, {
1081
1063
  text: r.title
1082
- }), /* @__PURE__ */ g("table", {
1083
- children: [(s || c) && /* @__PURE__ */ g("colgroup", {
1064
+ }), /* @__PURE__ */ m("table", {
1065
+ children: [(s || c) && /* @__PURE__ */ m("colgroup", {
1084
1066
  children: [/* @__PURE__ */ t("col", {
1085
1067
  style: {
1086
1068
  width: s ? `${s.toString().replace("%", "")}%` : ""
@@ -1091,19 +1073,19 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1091
1073
  }
1092
1074
  })]
1093
1075
  }), /* @__PURE__ */ t("tbody", {
1094
- children: r.items.map((d, m) => {
1076
+ children: r.items.map((d, g) => {
1095
1077
  const {
1096
- terms: l,
1078
+ terms: o,
1097
1079
  dd: n
1098
1080
  } = a(d);
1099
- if (!!l)
1100
- return /* @__PURE__ */ g("tr", {
1081
+ if (!!o)
1082
+ return /* @__PURE__ */ m("tr", {
1101
1083
  children: [/* @__PURE__ */ t("td", {
1102
- className: D("hdlist1", er(r.attributes, "strong") ? "strong" : ""),
1103
- children: l.map((N, q) => /* @__PURE__ */ g(Er, {
1084
+ className: k("hdlist1", er(r.attributes, "strong") ? "strong" : ""),
1085
+ children: o.map((N, q) => /* @__PURE__ */ m(Er, {
1104
1086
  children: [q !== 0 && /* @__PURE__ */ t("br", {}), R(N.text)]
1105
1087
  }, q))
1106
- }), n && /* @__PURE__ */ g("td", {
1088
+ }), n && /* @__PURE__ */ m("td", {
1107
1089
  className: "hdlist2",
1108
1090
  children: [n.text && /* @__PURE__ */ t("p", {
1109
1091
  children: R(n.text)
@@ -1111,28 +1093,28 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1111
1093
  blocks: n.blocks
1112
1094
  })]
1113
1095
  })]
1114
- }, m);
1096
+ }, g);
1115
1097
  })
1116
1098
  })]
1117
1099
  })]
1118
1100
  });
1119
1101
  } else
1120
- return /* @__PURE__ */ g("div", {
1121
- className: D("dlist", r.style, r.role),
1102
+ return /* @__PURE__ */ m("div", {
1103
+ className: k("dlist", r.style, r.role),
1122
1104
  children: [/* @__PURE__ */ t(T, {
1123
1105
  text: r.title
1124
1106
  }), /* @__PURE__ */ t("dl", {
1125
1107
  children: r.items.map((s, c) => {
1126
1108
  const {
1127
1109
  terms: d,
1128
- dd: m
1110
+ dd: g
1129
1111
  } = a(s);
1130
1112
  if (!!d)
1131
- return /* @__PURE__ */ g(Er, {
1132
- children: [d.map((l, n) => /* @__PURE__ */ t("dt", {
1113
+ return /* @__PURE__ */ m(Er, {
1114
+ children: [d.map((o, n) => /* @__PURE__ */ t("dt", {
1133
1115
  className: "hdlist1",
1134
- children: R(l.text)
1135
- }, n)), i(m)]
1116
+ children: R(o.text)
1117
+ }, n)), i(g)]
1136
1118
  }, c);
1137
1119
  })
1138
1120
  })]
@@ -1146,7 +1128,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1146
1128
  } = j();
1147
1129
  if (!r || r.length === 0)
1148
1130
  return null;
1149
- const s = i.attributes || {}, c = s.sectnumlevels, d = s.toclevels, m = (a == null ? void 0 : a.sectNumLevels) || (c ? parseInt(`${c}`) : 3), l = (a == null ? void 0 : a.tocLevels) || (d ? parseInt(`${d}`) : 2);
1131
+ 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);
1150
1132
  return /* @__PURE__ */ t("ul", {
1151
1133
  className: `sectlevel${r[0].level}`,
1152
1134
  children: r.map((n) => {
@@ -1154,15 +1136,15 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1154
1136
  N = N === "." || N === ".." ? "" : N;
1155
1137
  const q = n.level;
1156
1138
  let v = n.title;
1157
- return q <= m && (v = `${N} ${n.title}`), /* @__PURE__ */ g("li", {
1139
+ return q <= g && (v = `${N} ${n.title}`), /* @__PURE__ */ m("li", {
1158
1140
  children: [/* @__PURE__ */ t("a", {
1159
1141
  href: `#${n.id}`,
1160
1142
  children: R(v)
1161
- }), q < l && /* @__PURE__ */ t(dr, {
1143
+ }), q < o && /* @__PURE__ */ t(dr, {
1162
1144
  sections: n.sections,
1163
1145
  opts: {
1164
- tocLevels: l,
1165
- sectNumLevels: m
1146
+ tocLevels: o,
1147
+ sectNumLevels: g
1166
1148
  }
1167
1149
  })]
1168
1150
  }, n.id);
@@ -1173,12 +1155,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1173
1155
  }) => {
1174
1156
  const a = () => r.noHeader ? null : /* @__PURE__ */ t("div", {
1175
1157
  id: "header",
1176
- children: r.hasHeader && /* @__PURE__ */ g(U, {
1158
+ children: r.hasHeader && /* @__PURE__ */ m(U, {
1177
1159
  children: [/* @__PURE__ */ t("h1", {
1178
1160
  dangerouslySetInnerHTML: {
1179
1161
  __html: r.title
1180
1162
  }
1181
- }), /* @__PURE__ */ t(s, {}), r.sections && r.sections.length > 0 && r.attributes.toc !== void 0 && r.attributes["toc-placement"] === "auto" && /* @__PURE__ */ g("div", {
1163
+ }), /* @__PURE__ */ t(s, {}), r.sections && r.sections.length > 0 && r.attributes.toc !== void 0 && r.attributes["toc-placement"] === "auto" && /* @__PURE__ */ m("div", {
1182
1164
  id: "toc",
1183
1165
  className: cr(r.attributes, "toc-class", "toc"),
1184
1166
  children: [/* @__PURE__ */ t("div", {
@@ -1189,9 +1171,9 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1189
1171
  })]
1190
1172
  })]
1191
1173
  })
1192
- }), i = () => r.footnotes && r.footnotes.length > 0 && r.blocks && !V(r.attributes, "nofootnotes") ? /* @__PURE__ */ g("div", {
1174
+ }), i = () => r.footnotes && r.footnotes.length > 0 && r.blocks && !V(r.attributes, "nofootnotes") ? /* @__PURE__ */ m("div", {
1193
1175
  id: "footnotes",
1194
- children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((c) => /* @__PURE__ */ g("div", {
1176
+ children: [/* @__PURE__ */ t("hr", {}), r.footnotes.map((c) => /* @__PURE__ */ m("div", {
1195
1177
  className: "footnote",
1196
1178
  id: `_footnotedef_${c.index}`,
1197
1179
  children: [/* @__PURE__ */ t("a", {
@@ -1199,16 +1181,16 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1199
1181
  children: c.index
1200
1182
  }), ".", " ", R(c.text || "")]
1201
1183
  }, c.index))]
1202
- }) : null, s = () => r.authors.length > 0 || V(r.attributes, "revnumber") || V(r.attributes, "revdate") || V(r.attributes, "revremark") ? /* @__PURE__ */ g("div", {
1184
+ }) : null, s = () => r.authors.length > 0 || V(r.attributes, "revnumber") || V(r.attributes, "revdate") || V(r.attributes, "revremark") ? /* @__PURE__ */ m("div", {
1203
1185
  className: "details",
1204
- children: [r.authors.map((c, d) => /* @__PURE__ */ g(Er, {
1205
- children: [c.name && /* @__PURE__ */ g(U, {
1186
+ children: [r.authors.map((c, d) => /* @__PURE__ */ m(Er, {
1187
+ children: [c.name && /* @__PURE__ */ m(U, {
1206
1188
  children: [/* @__PURE__ */ t("span", {
1207
1189
  id: `author${d + 1 > 1 ? d + 1 : ""}`,
1208
1190
  className: "author",
1209
1191
  children: R(c.name)
1210
1192
  }), /* @__PURE__ */ t("br", {})]
1211
- }), c.email && /* @__PURE__ */ g(U, {
1193
+ }), c.email && /* @__PURE__ */ m(U, {
1212
1194
  children: [/* @__PURE__ */ t("span", {
1213
1195
  id: `email${d + 1 > 1 ? d + 1 : ""}`,
1214
1196
  className: "email",
@@ -1221,14 +1203,14 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1221
1203
  }), V(r.attributes, "revdate") && /* @__PURE__ */ t("span", {
1222
1204
  id: "revdate",
1223
1205
  children: r.attributes.revdate
1224
- }), V(r.attributes, "revremark") && /* @__PURE__ */ g(U, {
1206
+ }), V(r.attributes, "revremark") && /* @__PURE__ */ m(U, {
1225
1207
  children: [/* @__PURE__ */ t("br", {}), /* @__PURE__ */ t("span", {
1226
1208
  id: "revremark",
1227
1209
  children: r.attributes.revremark
1228
1210
  })]
1229
1211
  })]
1230
1212
  }) : null;
1231
- return /* @__PURE__ */ g(U, {
1213
+ return /* @__PURE__ */ m(U, {
1232
1214
  children: [/* @__PURE__ */ t(a, {}), /* @__PURE__ */ t("div", {
1233
1215
  id: "content",
1234
1216
  children: /* @__PURE__ */ t(C, {
@@ -1241,7 +1223,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1241
1223
  }) => {
1242
1224
  if (er(r.attributes, "collapsible")) {
1243
1225
  const i = r.title || "Details", s = r.attributes.open ? !0 : void 0;
1244
- return /* @__PURE__ */ g("details", {
1226
+ return /* @__PURE__ */ m("details", {
1245
1227
  className: r.role,
1246
1228
  open: s,
1247
1229
  ...r.lineNumber ? {
@@ -1261,8 +1243,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1261
1243
  })]
1262
1244
  });
1263
1245
  }
1264
- return /* @__PURE__ */ g("div", {
1265
- className: D("exampleblock", r.role),
1246
+ return /* @__PURE__ */ m("div", {
1247
+ className: k("exampleblock", r.role),
1266
1248
  ...r.lineNumber ? {
1267
1249
  "data-lineno": r.lineNumber
1268
1250
  } : {},
@@ -1280,7 +1262,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1280
1262
  });
1281
1263
  }, it = ({
1282
1264
  node: r
1283
- }) => /* @__PURE__ */ g(U, {
1265
+ }) => /* @__PURE__ */ m(U, {
1284
1266
  children: [/* @__PURE__ */ t("a", {
1285
1267
  className: "sectionanchor",
1286
1268
  ...r.id ? {
@@ -1290,7 +1272,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1290
1272
  "data-lineno": r.lineNumber
1291
1273
  } : {}
1292
1274
  }), M(`h${r.level + 1}`, {
1293
- className: D(r.role, r.style)
1275
+ className: k(r.role, r.style)
1294
1276
  }, R(r.title || ""))]
1295
1277
  }), st = ({
1296
1278
  node: r
@@ -1305,7 +1287,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1305
1287
  className: "image",
1306
1288
  href: r.attributes.link.toString(),
1307
1289
  children: a
1308
- })), /* @__PURE__ */ g("div", {
1290
+ })), /* @__PURE__ */ m("div", {
1309
1291
  className: `imageblock ${r.attributes.align ? "text-" + r.attributes.align : ""} ${r.attributes.float ? r.attributes.float : ""} ${r.role ? r.role : ""}`,
1310
1292
  ...r.lineNumber ? {
1311
1293
  "data-lineno": r.lineNumber
@@ -1329,7 +1311,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1329
1311
  } = j(), i = a.attributes || {}, s = r.attributes.nowrap || i.prewrap === void 0;
1330
1312
  if (r.style === "source") {
1331
1313
  const c = r.language;
1332
- return /* @__PURE__ */ g("div", {
1314
+ return /* @__PURE__ */ m("div", {
1333
1315
  className: "listingblock",
1334
1316
  ...r.lineNumber ? {
1335
1317
  "data-lineno": r.lineNumber
@@ -1339,7 +1321,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1339
1321
  }), /* @__PURE__ */ t("div", {
1340
1322
  className: "content",
1341
1323
  children: /* @__PURE__ */ t("pre", {
1342
- className: D("highlight", s ? " nowrap" : ""),
1324
+ className: k("highlight", s ? " nowrap" : ""),
1343
1325
  children: c ? /* @__PURE__ */ t("code", {
1344
1326
  className: c ? `language-${c}` : "",
1345
1327
  "data-lang": c,
@@ -1355,7 +1337,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1355
1337
  })]
1356
1338
  });
1357
1339
  } else
1358
- return /* @__PURE__ */ g("div", {
1340
+ return /* @__PURE__ */ m("div", {
1359
1341
  className: "listingblock",
1360
1342
  ...r.lineNumber ? {
1361
1343
  "data-lineno": r.lineNumber
@@ -1380,7 +1362,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1380
1362
  const {
1381
1363
  document: a
1382
1364
  } = j(), i = a.attributes || {}, s = r.attributes.nowrap || i.prewrap === void 0;
1383
- return /* @__PURE__ */ g("div", {
1365
+ return /* @__PURE__ */ m("div", {
1384
1366
  className: "literalblock",
1385
1367
  ...r.lineNumber ? {
1386
1368
  "data-lineno": r.lineNumber
@@ -1397,8 +1379,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1397
1379
  });
1398
1380
  }, ct = ({
1399
1381
  node: r
1400
- }) => /* @__PURE__ */ g("div", {
1401
- className: D("olist", r.role, r.style),
1382
+ }) => /* @__PURE__ */ m("div", {
1383
+ className: k("olist", r.role, r.style),
1402
1384
  ...r.lineNumber ? {
1403
1385
  "data-lineno": r.lineNumber
1404
1386
  } : {},
@@ -1410,7 +1392,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1410
1392
  ...r.attributes.start ? {
1411
1393
  start: parseInt(`${r.attributes.start}`)
1412
1394
  } : {},
1413
- children: r.items.map((a, i) => /* @__PURE__ */ g("li", {
1395
+ children: r.items.map((a, i) => /* @__PURE__ */ m("li", {
1414
1396
  className: r.role ? r.role : "",
1415
1397
  children: [/* @__PURE__ */ t("p", {
1416
1398
  children: R(a.text || "")
@@ -1423,8 +1405,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1423
1405
  node: r
1424
1406
  }) => {
1425
1407
  const a = r.style;
1426
- return a === "abstract" ? /* @__PURE__ */ g("div", {
1427
- className: D("quoteblock abstract", r.role),
1408
+ return a === "abstract" ? /* @__PURE__ */ m("div", {
1409
+ className: k("quoteblock abstract", r.role),
1428
1410
  ...r.lineNumber ? {
1429
1411
  "data-lineno": r.lineNumber
1430
1412
  } : {},
@@ -1436,8 +1418,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1436
1418
  blocks: r.blocks
1437
1419
  })
1438
1420
  })]
1439
- }) : /* @__PURE__ */ g("div", {
1440
- className: D("openblock", a && a !== "open" ? a : "", r.role),
1421
+ }) : /* @__PURE__ */ m("div", {
1422
+ className: k("openblock", a && a !== "open" ? a : "", r.role),
1441
1423
  ...r.lineNumber ? {
1442
1424
  "data-lineno": r.lineNumber
1443
1425
  } : {},
@@ -1456,11 +1438,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1456
1438
  }
1457
1439
  }), pt = ({
1458
1440
  node: r
1459
- }) => /* @__PURE__ */ g("div", {
1441
+ }) => /* @__PURE__ */ m("div", {
1460
1442
  ...r.id ? {
1461
1443
  id: r.id
1462
1444
  } : {},
1463
- className: D("paragraph", r.role),
1445
+ className: k("paragraph", r.role),
1464
1446
  ...r.lineNumber ? {
1465
1447
  "data-lineno": r.lineNumber
1466
1448
  } : {},
@@ -1486,11 +1468,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1486
1468
  ...r.lineNumber ? {
1487
1469
  "data-lineno": r.lineNumber
1488
1470
  } : {},
1489
- children: /* @__PURE__ */ g("div", {
1471
+ children: /* @__PURE__ */ m("div", {
1490
1472
  className: "sectionbody",
1491
1473
  children: [/* @__PURE__ */ t(C, {
1492
1474
  blocks: r.blocks
1493
- }), s && /* @__PURE__ */ g("div", {
1475
+ }), s && /* @__PURE__ */ m("div", {
1494
1476
  id: "toc",
1495
1477
  className: r.attributes["toc-class"] ? `${r.attributes["toc-class"]}` : "toc",
1496
1478
  children: [/* @__PURE__ */ t("div", {
@@ -1506,11 +1488,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1506
1488
  node: r
1507
1489
  }) => {
1508
1490
  const a = r.attributes.attribution, i = r.attributes.citetitle;
1509
- return /* @__PURE__ */ g("div", {
1491
+ return /* @__PURE__ */ m("div", {
1510
1492
  ...r.id ? {
1511
1493
  id: r.id
1512
1494
  } : {},
1513
- className: D("quoteblock", r.role),
1495
+ className: k("quoteblock", r.role),
1514
1496
  ...r.lineNumber ? {
1515
1497
  "data-lineno": r.lineNumber
1516
1498
  } : {},
@@ -1522,7 +1504,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1522
1504
  }
1523
1505
  }), /* @__PURE__ */ t(C, {
1524
1506
  blocks: r.blocks
1525
- }), a && /* @__PURE__ */ g("div", {
1507
+ }), a && /* @__PURE__ */ m("div", {
1526
1508
  className: "attribution",
1527
1509
  children: ["\u2014 ", a, i && /* @__PURE__ */ t("cite", {
1528
1510
  children: i
@@ -1538,7 +1520,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1538
1520
  let s = r.title, c = r.num;
1539
1521
  c = c === "." ? "" : c;
1540
1522
  const d = i.sectnumlevels ? parseInt(`${i.sectnumlevels}`) : 3;
1541
- return r.numbered && r.level <= d && (s = `${c} ${r.title}`), i.sectlinks && (s = /* @__PURE__ */ g(U, {
1523
+ return r.numbered && r.level <= d && (s = `${c} ${r.title}`), i.sectlinks && (s = /* @__PURE__ */ m(U, {
1542
1524
  children: [/* @__PURE__ */ t("a", {
1543
1525
  className: "anchor",
1544
1526
  id: r.id || "",
@@ -1552,9 +1534,9 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1552
1534
  __html: s
1553
1535
  }
1554
1536
  })]
1555
- })), r.level === 0 ? /* @__PURE__ */ g(U, {
1537
+ })), r.level === 0 ? /* @__PURE__ */ m(U, {
1556
1538
  children: [/* @__PURE__ */ t("h1", {
1557
- className: D("sect0", r.role),
1539
+ className: k("sect0", r.role),
1558
1540
  "data-sectnum": c,
1559
1541
  ...r.lineNumber ? {
1560
1542
  "data-lineno": r.lineNumber
@@ -1563,8 +1545,8 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1563
1545
  }), /* @__PURE__ */ t(C, {
1564
1546
  blocks: r.blocks
1565
1547
  })]
1566
- }) : /* @__PURE__ */ g("div", {
1567
- className: D(`sect${r.level}`, r.role),
1548
+ }) : /* @__PURE__ */ m("div", {
1549
+ className: k(`sect${r.level}`, r.role),
1568
1550
  ...r.lineNumber ? {
1569
1551
  "data-lineno": r.lineNumber
1570
1552
  } : {},
@@ -1580,11 +1562,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1580
1562
  }, ht = ({
1581
1563
  node: r
1582
1564
  }) => /* @__PURE__ */ t("div", {
1583
- className: D("sidebarblock", r.role),
1565
+ className: k("sidebarblock", r.role),
1584
1566
  ...r.lineNumber ? {
1585
1567
  "data-lineno": r.lineNumber
1586
1568
  } : {},
1587
- children: /* @__PURE__ */ g("div", {
1569
+ children: /* @__PURE__ */ m("div", {
1588
1570
  className: "content",
1589
1571
  children: [/* @__PURE__ */ t(T, {
1590
1572
  text: r.title
@@ -1600,18 +1582,18 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1600
1582
  } = j(), i = a.attributes || {};
1601
1583
  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
1584
  c && s.push("stripes-" + c);
1603
- let d = er(r.attributes, "autowidth"), m = parseInt(`${r.attributes.tablepcwidth}`), l = null;
1604
- d && !V(r.attributes, "width") ? s.push("fit-content") : m === 100 ? s.push("stretch") : l = `${m}%`, V(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 || vt(N || "");
1606
- return /* @__PURE__ */ g("table", {
1607
- className: D("tableblock", ...s),
1585
+ let d = er(r.attributes, "autowidth"), g = parseInt(`${r.attributes.tablepcwidth}`), o = null;
1586
+ d && !V(r.attributes, "width") ? s.push("fit-content") : g === 100 ? s.push("stretch") : o = `${g}%`, V(r.attributes, "float") && s.push(`${r.attributes.float}`), r.role && s.push(r.role || "");
1587
+ const n = (p) => k("tableblock", `halign-${p.attributes.halign}`, `valign-${p.attributes.valign}`), N = r.title, q = r.id, v = q || vt(N || "");
1588
+ return /* @__PURE__ */ m("table", {
1589
+ className: k("tableblock", ...s),
1608
1590
  style: {
1609
- width: l || void 0
1591
+ width: o || void 0
1610
1592
  },
1611
1593
  ...r.lineNumber ? {
1612
1594
  "data-lineno": r.lineNumber
1613
1595
  } : {},
1614
- children: [r.title && /* @__PURE__ */ g("caption", {
1596
+ children: [r.title && /* @__PURE__ */ m("caption", {
1615
1597
  className: "title",
1616
1598
  children: [!q && /* @__PURE__ */ t("a", {
1617
1599
  className: "anchor",
@@ -1709,10 +1691,10 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1709
1691
  document: a
1710
1692
  } = j(), i = a.attributes || {}, s = a.sections && a.sections.length > 0;
1711
1693
  let c = r.id || "toc";
1712
- const d = r.title ? r.title : i["toc-title"], m = i["toc-placement"], l = i.toc !== void 0, n = r.attributes.levels ? parseInt(`${r.attributes.levels}`) : void 0;
1713
- return m === "macro" && s && l ? /* @__PURE__ */ g("div", {
1694
+ 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;
1695
+ return g === "macro" && s && o ? /* @__PURE__ */ m("div", {
1714
1696
  id: c,
1715
- className: D("toc", r.role),
1697
+ className: k("toc", r.role),
1716
1698
  children: [/* @__PURE__ */ t("div", {
1717
1699
  id: `${c}title`,
1718
1700
  className: "title",
@@ -1728,11 +1710,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1728
1710
  node: r
1729
1711
  }) => {
1730
1712
  const a = er(r.attributes, "checklist");
1731
- return /* @__PURE__ */ g("div", {
1713
+ return /* @__PURE__ */ m("div", {
1732
1714
  ...r.id ? {
1733
1715
  id: r.id
1734
1716
  } : {},
1735
- className: D("ulist", r.style, r.role, a && "checklist"),
1717
+ className: k("ulist", r.style, r.role, a && "checklist"),
1736
1718
  ...r.lineNumber ? {
1737
1719
  "data-lineno": r.lineNumber
1738
1720
  } : {},
@@ -1743,12 +1725,12 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1743
1725
  children: r.items.map((i, s) => a ? /* @__PURE__ */ t("li", {
1744
1726
  id: i.id,
1745
1727
  className: r.role,
1746
- children: /* @__PURE__ */ g("p", {
1728
+ children: /* @__PURE__ */ m("p", {
1747
1729
  children: [a && i.attributes.checkbox && /* @__PURE__ */ t("i", {
1748
- className: D("fa", i.attributes.checked ? "fa-check-square-o" : "fa-square-o")
1730
+ className: k("fa", i.attributes.checked ? "fa-check-square-o" : "fa-square-o")
1749
1731
  }), " ", R(i.text || "")]
1750
1732
  })
1751
- }, s) : /* @__PURE__ */ g("li", {
1733
+ }, s) : /* @__PURE__ */ m("li", {
1752
1734
  id: i.id,
1753
1735
  className: r.role,
1754
1736
  children: [/* @__PURE__ */ t("p", {
@@ -1765,11 +1747,11 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1765
1747
  node: r
1766
1748
  }) => {
1767
1749
  const a = r.attributes.attribution, i = r.attributes.citetitle;
1768
- return /* @__PURE__ */ g("div", {
1750
+ return /* @__PURE__ */ m("div", {
1769
1751
  ...r.id ? {
1770
1752
  id: r.id
1771
1753
  } : {},
1772
- className: D("verseblock", r.role),
1754
+ className: k("verseblock", r.role),
1773
1755
  ...r.lineNumber ? {
1774
1756
  "data-lineno": r.lineNumber
1775
1757
  } : {},
@@ -1780,21 +1762,21 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1780
1762
  dangerouslySetInnerHTML: {
1781
1763
  __html: r.content
1782
1764
  }
1783
- }), a && /* @__PURE__ */ g("div", {
1765
+ }), a && /* @__PURE__ */ m("div", {
1784
1766
  className: "attribution",
1785
1767
  children: ["\u2014 ", a, i && /* @__PURE__ */ t("cite", {
1786
1768
  children: i
1787
1769
  })]
1788
1770
  })]
1789
1771
  });
1790
- }, kr = Ie({
1772
+ }, Dr = Ie({
1791
1773
  document: {}
1792
- }), Rt = ({
1774
+ }), St = ({
1793
1775
  document: r,
1794
1776
  options: a
1795
1777
  }) => {
1796
1778
  const i = a && a.customDocument;
1797
- return /* @__PURE__ */ t(kr.Provider, {
1779
+ return /* @__PURE__ */ t(Dr.Provider, {
1798
1780
  value: {
1799
1781
  ...a,
1800
1782
  document: {
@@ -1819,7 +1801,7 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1819
1801
  }) => {
1820
1802
  const {
1821
1803
  overrides: a
1822
- } = te(kr), i = r.type, s = a && a[i];
1804
+ } = te(Dr), i = r.type, s = a && a[i];
1823
1805
  if (s)
1824
1806
  return /* @__PURE__ */ t(s, {
1825
1807
  node: r
@@ -1917,18 +1899,18 @@ const er = (r, a) => r[`${a}-option`] !== void 0, cr = (r, a, i = void 0, s, c)
1917
1899
  return /* @__PURE__ */ t(U, {});
1918
1900
  }
1919
1901
  }, j = () => {
1920
- const r = te(kr);
1902
+ const r = te(Dr);
1921
1903
  if (r === void 0)
1922
1904
  throw new Error("useConverterContext must be used within a Provider");
1923
1905
  return r;
1924
1906
  };
1925
1907
  export {
1926
1908
  je as Admonition,
1927
- Rt as Asciidoc,
1909
+ St as Asciidoc,
1928
1910
  He as Audio,
1929
1911
  $e as CoList,
1930
1912
  C as Content,
1931
- kr as Context,
1913
+ Dr as Context,
1932
1914
  et as DList,
1933
1915
  tt as Document,
1934
1916
  at as Example,
@@ -1952,9 +1934,8 @@ export {
1952
1934
  T as Title,
1953
1935
  qt as UList,
1954
1936
  xt as Verse,
1955
- Lt as parse,
1956
- kt as prepareDocument,
1957
- Dt as processDocument,
1958
- St as processDocumentSync,
1937
+ Ct as parse,
1938
+ Dt as prepareDocument,
1939
+ kt as processDocument,
1959
1940
  j as useConverterContext
1960
1941
  };