@oxide/react-asciidoc 0.2.9--canary.e13e759.0 → 0.2.9--canary.c02d6ca.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 C from "html-react-parser";
2
- import { default as ir } from "html-react-parser";
3
- import Ye, { useContext as H, Fragment as pe, createElement as q, createContext as wt } from "react";
2
+ import { default as ar } from "html-react-parser";
3
+ import Ye, { useContext as D, Fragment as pe, createElement as q, createContext as wt } from "react";
4
4
  var se = { exports: {} }, X = {};
5
5
  /**
6
6
  * @license React
@@ -12,20 +12,20 @@ var se = { exports: {} }, X = {};
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  var Be;
15
- function Rt() {
15
+ function xt() {
16
16
  if (Be)
17
17
  return X;
18
18
  Be = 1;
19
- var e = Ye, i = Symbol.for("react.element"), s = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
20
- function n(m, h, k) {
19
+ var e = Ye, i = Symbol.for("react.element"), s = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
20
+ function n(d, h, k) {
21
21
  var p, u = {}, v = null, w = null;
22
22
  k !== void 0 && (v = "" + k), h.key !== void 0 && (v = "" + h.key), h.ref !== void 0 && (w = h.ref);
23
23
  for (p in h)
24
- l.call(h, p) && !d.hasOwnProperty(p) && (u[p] = h[p]);
25
- if (m && m.defaultProps)
26
- for (p in h = m.defaultProps, h)
24
+ l.call(h, p) && !m.hasOwnProperty(p) && (u[p] = h[p]);
25
+ if (d && d.defaultProps)
26
+ for (p in h = d.defaultProps, h)
27
27
  u[p] === void 0 && (u[p] = h[p]);
28
- return { $$typeof: i, type: m, key: v, ref: w, props: u, _owner: f.current };
28
+ return { $$typeof: i, type: d, key: v, ref: w, props: u, _owner: f.current };
29
29
  }
30
30
  return X.Fragment = s, X.jsx = n, X.jsxs = n, X;
31
31
  }
@@ -40,16 +40,16 @@ var Q = {};
40
40
  * LICENSE file in the root directory of this source tree.
41
41
  */
42
42
  var Ue;
43
- function xt() {
43
+ function Rt() {
44
44
  return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
45
- var e = Ye, i = Symbol.for("react.element"), s = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), n = Symbol.for("react.provider"), m = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), E = Symbol.iterator, O = "@@iterator";
45
+ var e = Ye, i = Symbol.for("react.element"), s = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), n = Symbol.for("react.provider"), d = Symbol.for("react.context"), h = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), E = Symbol.iterator, O = "@@iterator";
46
46
  function z(t) {
47
47
  if (t === null || typeof t != "object")
48
48
  return null;
49
49
  var a = E && t[E] || t[O];
50
50
  return typeof a == "function" ? a : null;
51
51
  }
52
- var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
+ var F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
53
  function S(t) {
54
54
  {
55
55
  for (var a = arguments.length, c = new Array(a > 1 ? a - 1 : 0), b = 1; b < a; b++)
@@ -59,7 +59,7 @@ function xt() {
59
59
  }
60
60
  function U(t, a, c) {
61
61
  {
62
- var b = L.ReactDebugCurrentFrame, y = b.getStackAddendum();
62
+ var b = F.ReactDebugCurrentFrame, y = b.getStackAddendum();
63
63
  y !== "" && (a += "%s", c = c.concat([y]));
64
64
  var _ = c.map(function(N) {
65
65
  return String(N);
@@ -70,7 +70,7 @@ function xt() {
70
70
  var J = !1, Z = !1, qe = !1, ze = !1, Je = !1, ge;
71
71
  ge = Symbol.for("react.module.reference");
72
72
  function Ge(t) {
73
- return !!(typeof t == "string" || typeof t == "function" || t === l || t === d || Je || t === f || t === k || t === p || ze || t === w || J || Z || qe || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === u || t.$$typeof === n || t.$$typeof === m || t.$$typeof === h || t.$$typeof === ge || t.getModuleId !== void 0));
73
+ return !!(typeof t == "string" || typeof t == "function" || t === l || t === m || Je || t === f || t === k || t === p || ze || t === w || J || Z || qe || typeof t == "object" && t !== null && (t.$$typeof === v || t.$$typeof === u || t.$$typeof === n || t.$$typeof === d || t.$$typeof === h || t.$$typeof === ge || t.getModuleId !== void 0));
74
74
  }
75
75
  function Ke(t, a, c) {
76
76
  var b = t.displayName;
@@ -82,7 +82,7 @@ function xt() {
82
82
  function Ne(t) {
83
83
  return t.displayName || "Context";
84
84
  }
85
- function D(t) {
85
+ function M(t) {
86
86
  if (t == null)
87
87
  return null;
88
88
  if (typeof t.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
@@ -94,7 +94,7 @@ function xt() {
94
94
  return "Fragment";
95
95
  case s:
96
96
  return "Portal";
97
- case d:
97
+ case m:
98
98
  return "Profiler";
99
99
  case f:
100
100
  return "StrictMode";
@@ -105,7 +105,7 @@ function xt() {
105
105
  }
106
106
  if (typeof t == "object")
107
107
  switch (t.$$typeof) {
108
- case m:
108
+ case d:
109
109
  var a = t;
110
110
  return Ne(a) + ".Consumer";
111
111
  case n:
@@ -115,11 +115,11 @@ function xt() {
115
115
  return Ke(t, t.render, "ForwardRef");
116
116
  case u:
117
117
  var b = t.displayName || null;
118
- return b !== null ? b : D(t.type) || "Memo";
118
+ return b !== null ? b : M(t.type) || "Memo";
119
119
  case v: {
120
120
  var y = t, _ = y._payload, N = y._init;
121
121
  try {
122
- return D(N(_));
122
+ return M(N(_));
123
123
  } catch {
124
124
  return null;
125
125
  }
@@ -127,14 +127,14 @@ function xt() {
127
127
  }
128
128
  return null;
129
129
  }
130
- var B = Object.assign, G = 0, ye, _e, we, Re, xe, Ee, Se;
130
+ var B = Object.assign, G = 0, ye, _e, we, xe, Re, Ee, Se;
131
131
  function Te() {
132
132
  }
133
133
  Te.__reactDisabledLog = !0;
134
134
  function Xe() {
135
135
  {
136
136
  if (G === 0) {
137
- ye = console.log, _e = console.info, we = console.warn, Re = console.error, xe = console.group, Ee = console.groupCollapsed, Se = console.groupEnd;
137
+ ye = console.log, _e = console.info, we = console.warn, xe = console.error, Re = console.group, Ee = console.groupCollapsed, Se = console.groupEnd;
138
138
  var t = {
139
139
  configurable: !0,
140
140
  enumerable: !0,
@@ -173,10 +173,10 @@ function xt() {
173
173
  value: we
174
174
  }),
175
175
  error: B({}, t, {
176
- value: Re
176
+ value: xe
177
177
  }),
178
178
  group: B({}, t, {
179
- value: xe
179
+ value: Re
180
180
  }),
181
181
  groupCollapsed: B({}, t, {
182
182
  value: Ee
@@ -189,7 +189,7 @@ function xt() {
189
189
  G < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
190
190
  }
191
191
  }
192
- var oe = L.ReactCurrentDispatcher, ue;
192
+ var oe = F.ReactCurrentDispatcher, ue;
193
193
  function ee(t, a, c) {
194
194
  {
195
195
  if (ue === void 0)
@@ -234,42 +234,42 @@ function xt() {
234
234
  }), typeof Reflect == "object" && Reflect.construct) {
235
235
  try {
236
236
  Reflect.construct(N, []);
237
- } catch (M) {
238
- b = M;
237
+ } catch (W) {
238
+ b = W;
239
239
  }
240
240
  Reflect.construct(t, [], N);
241
241
  } else {
242
242
  try {
243
243
  N.call();
244
- } catch (M) {
245
- b = M;
244
+ } catch (W) {
245
+ b = W;
246
246
  }
247
247
  t.call(N.prototype);
248
248
  }
249
249
  } else {
250
250
  try {
251
251
  throw Error();
252
- } catch (M) {
253
- b = M;
252
+ } catch (W) {
253
+ b = W;
254
254
  }
255
255
  t();
256
256
  }
257
- } catch (M) {
258
- if (M && b && typeof M.stack == "string") {
259
- for (var g = M.stack.split(`
260
- `), P = b.stack.split(`
261
- `), R = g.length - 1, T = P.length - 1; R >= 1 && T >= 0 && g[R] !== P[T]; )
257
+ } catch (W) {
258
+ if (W && b && typeof W.stack == "string") {
259
+ for (var g = W.stack.split(`
260
+ `), A = b.stack.split(`
261
+ `), x = g.length - 1, T = A.length - 1; x >= 1 && T >= 0 && g[x] !== A[T]; )
262
262
  T--;
263
- for (; R >= 1 && T >= 0; R--, T--)
264
- if (g[R] !== P[T]) {
265
- if (R !== 1 || T !== 1)
263
+ for (; x >= 1 && T >= 0; x--, T--)
264
+ if (g[x] !== A[T]) {
265
+ if (x !== 1 || T !== 1)
266
266
  do
267
- if (R--, T--, T < 0 || g[R] !== P[T]) {
267
+ if (x--, T--, T < 0 || g[x] !== A[T]) {
268
268
  var I = `
269
- ` + g[R].replace(" at new ", " at ");
269
+ ` + g[x].replace(" at new ", " at ");
270
270
  return t.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", t.displayName)), typeof t == "function" && te.set(t, I), I;
271
271
  }
272
- while (R >= 1 && T >= 0);
272
+ while (x >= 1 && T >= 0);
273
273
  break;
274
274
  }
275
275
  }
@@ -315,7 +315,7 @@ function xt() {
315
315
  }
316
316
  return "";
317
317
  }
318
- var ie = Object.prototype.hasOwnProperty, ke = {}, Oe = L.ReactDebugCurrentFrame;
318
+ var ie = Object.prototype.hasOwnProperty, ke = {}, Oe = F.ReactDebugCurrentFrame;
319
319
  function ae(t) {
320
320
  if (t) {
321
321
  var a = t._owner, c = re(t.type, t._source, a ? a.type : null);
@@ -331,19 +331,19 @@ function xt() {
331
331
  var g = void 0;
332
332
  try {
333
333
  if (typeof t[N] != "function") {
334
- var P = Error((b || "React class") + ": " + c + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
- throw P.name = "Invariant Violation", P;
334
+ var A = Error((b || "React class") + ": " + c + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ throw A.name = "Invariant Violation", A;
336
336
  }
337
337
  g = t[N](a, N, b, c, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
338
- } catch (R) {
339
- g = R;
338
+ } catch (x) {
339
+ g = x;
340
340
  }
341
341
  g && !(g instanceof Error) && (ae(y), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", b || "React class", c, N, typeof g), ae(null)), g instanceof Error && !(g.message in ke) && (ke[g.message] = !0, ae(y), S("Failed %s type: %s", c, g.message), ae(null));
342
342
  }
343
343
  }
344
344
  }
345
345
  var it = Array.isArray;
346
- function me(t) {
346
+ function de(t) {
347
347
  return it(t);
348
348
  }
349
349
  function at(t) {
@@ -354,25 +354,25 @@ function xt() {
354
354
  }
355
355
  function nt(t) {
356
356
  try {
357
- return Ae(t), !1;
357
+ return Pe(t), !1;
358
358
  } catch {
359
359
  return !0;
360
360
  }
361
361
  }
362
- function Ae(t) {
362
+ function Pe(t) {
363
363
  return "" + t;
364
364
  }
365
- function Pe(t) {
365
+ function Ae(t) {
366
366
  if (nt(t))
367
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(t)), Ae(t);
367
+ return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", at(t)), Pe(t);
368
368
  }
369
- var K = L.ReactCurrentOwner, st = {
369
+ var K = F.ReactCurrentOwner, st = {
370
370
  key: !0,
371
371
  ref: !0,
372
372
  __self: !0,
373
373
  __source: !0
374
- }, $e, Ie, de;
375
- de = {};
374
+ }, $e, Ie, me;
375
+ me = {};
376
376
  function lt(t) {
377
377
  if (ie.call(t, "ref")) {
378
378
  var a = Object.getOwnPropertyDescriptor(t, "ref").get;
@@ -391,8 +391,8 @@ function xt() {
391
391
  }
392
392
  function ot(t, a) {
393
393
  if (typeof t.ref == "string" && K.current && a && K.current.stateNode !== a) {
394
- var c = D(K.current.type);
395
- de[c] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', D(K.current.type), t.ref), de[c] = !0);
394
+ var c = M(K.current.type);
395
+ me[c] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(K.current.type), t.ref), me[c] = !0);
396
396
  }
397
397
  }
398
398
  function ut(t, a) {
@@ -417,7 +417,7 @@ function xt() {
417
417
  });
418
418
  }
419
419
  }
420
- var mt = function(t, a, c, b, y, _, N) {
420
+ var dt = function(t, a, c, b, y, _, N) {
421
421
  var g = {
422
422
  $$typeof: i,
423
423
  type: t,
@@ -443,25 +443,25 @@ function xt() {
443
443
  value: y
444
444
  }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
445
445
  };
446
- function dt(t, a, c, b, y) {
446
+ function mt(t, a, c, b, y) {
447
447
  {
448
- var _, N = {}, g = null, P = null;
449
- c !== void 0 && (Pe(c), g = "" + c), ct(a) && (Pe(a.key), g = "" + a.key), lt(a) && (P = a.ref, ot(a, y));
448
+ var _, N = {}, g = null, A = null;
449
+ c !== void 0 && (Ae(c), g = "" + c), ct(a) && (Ae(a.key), g = "" + a.key), lt(a) && (A = a.ref, ot(a, y));
450
450
  for (_ in a)
451
451
  ie.call(a, _) && !st.hasOwnProperty(_) && (N[_] = a[_]);
452
452
  if (t && t.defaultProps) {
453
- var R = t.defaultProps;
454
- for (_ in R)
455
- N[_] === void 0 && (N[_] = R[_]);
453
+ var x = t.defaultProps;
454
+ for (_ in x)
455
+ N[_] === void 0 && (N[_] = x[_]);
456
456
  }
457
- if (g || P) {
457
+ if (g || A) {
458
458
  var T = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
459
- g && ut(N, T), P && ft(N, T);
459
+ g && ut(N, T), A && ft(N, T);
460
460
  }
461
- return mt(t, g, P, y, b, K.current, N);
461
+ return dt(t, g, A, y, b, K.current, N);
462
462
  }
463
463
  }
464
- var he = L.ReactCurrentOwner, je = L.ReactDebugCurrentFrame;
464
+ var he = F.ReactCurrentOwner, je = F.ReactDebugCurrentFrame;
465
465
  function Y(t) {
466
466
  if (t) {
467
467
  var a = t._owner, c = re(t.type, t._source, a ? a.type : null);
@@ -477,7 +477,7 @@ function xt() {
477
477
  function Le() {
478
478
  {
479
479
  if (he.current) {
480
- var t = D(he.current.type);
480
+ var t = M(he.current.type);
481
481
  if (t)
482
482
  return `
483
483
 
@@ -520,14 +520,14 @@ Check the top-level render call using <` + c + ">.");
520
520
  return;
521
521
  Fe[c] = !0;
522
522
  var b = "";
523
- t && t._owner && t._owner !== he.current && (b = " It was passed a child from " + D(t._owner.type) + "."), Y(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, b), Y(null);
523
+ t && t._owner && t._owner !== he.current && (b = " It was passed a child from " + M(t._owner.type) + "."), Y(t), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', c, b), Y(null);
524
524
  }
525
525
  }
526
526
  function Me(t, a) {
527
527
  {
528
528
  if (typeof t != "object")
529
529
  return;
530
- if (me(t))
530
+ if (de(t))
531
531
  for (var c = 0; c < t.length; c++) {
532
532
  var b = t[c];
533
533
  ve(b) && De(b, a);
@@ -555,11 +555,11 @@ Check the top-level render call using <` + c + ">.");
555
555
  else
556
556
  return;
557
557
  if (c) {
558
- var b = D(a);
558
+ var b = M(a);
559
559
  rt(c, t.props, "prop", b, t);
560
560
  } else if (a.PropTypes !== void 0 && !be) {
561
561
  be = !0;
562
- var y = D(a);
562
+ var y = M(a);
563
563
  S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
564
564
  }
565
565
  typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -583,19 +583,19 @@ Check the top-level render call using <` + c + ">.");
583
583
  if (!N) {
584
584
  var g = "";
585
585
  (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
- var P = ht(y);
587
- P ? g += P : g += Le();
588
- var R;
589
- t === null ? R = "null" : me(t) ? R = "array" : t !== void 0 && t.$$typeof === i ? (R = "<" + (D(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : R = typeof t, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, g);
586
+ var A = ht(y);
587
+ A ? g += A : g += Le();
588
+ var x;
589
+ t === null ? x = "null" : de(t) ? x = "array" : t !== void 0 && t.$$typeof === i ? (x = "<" + (M(t.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : x = typeof t, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, g);
590
590
  }
591
- var T = dt(t, a, c, y, _);
591
+ var T = mt(t, a, c, y, _);
592
592
  if (T == null)
593
593
  return T;
594
594
  if (N) {
595
595
  var I = a.children;
596
596
  if (I !== void 0)
597
597
  if (b)
598
- if (me(I)) {
598
+ if (de(I)) {
599
599
  for (var V = 0; V < I.length; V++)
600
600
  Me(I[V], t);
601
601
  Object.freeze && Object.freeze(I);
@@ -618,9 +618,9 @@ Check the top-level render call using <` + c + ">.");
618
618
  }()), Q;
619
619
  }
620
620
  (function(e) {
621
- process.env.NODE_ENV === "production" ? e.exports = Rt() : e.exports = xt();
621
+ process.env.NODE_ENV === "production" ? e.exports = xt() : e.exports = Rt();
622
622
  })(se);
623
- const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
623
+ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, P = ({
624
624
  text: e
625
625
  }) => e ? /* @__PURE__ */ r("div", {
626
626
  className: "title",
@@ -630,7 +630,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
630
630
  }) => {
631
631
  const {
632
632
  document: i
633
- } = H(F), s = i.attributes || {}, l = e.attributes, f = () => s.icons === "font" && !l.icon ? /* @__PURE__ */ r("i", {
633
+ } = D(L), s = i.attributes || {}, l = e.attributes, f = () => s.icons === "font" && !l.icon ? /* @__PURE__ */ r("i", {
634
634
  className: `fa icon-${l.name}`,
635
635
  title: l.textlabel
636
636
  }) : /* @__PURE__ */ r("img", {
@@ -653,7 +653,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
653
653
  })
654
654
  }), /* @__PURE__ */ o("td", {
655
655
  className: "content",
656
- children: [/* @__PURE__ */ r(A, {
656
+ children: [/* @__PURE__ */ r(P, {
657
657
  text: e.title
658
658
  }), e.content && C(e.content)]
659
659
  })]
@@ -670,7 +670,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
670
670
  ...e.lineNumber ? {
671
671
  "data-lineno": e.lineNumber
672
672
  } : {},
673
- children: [/* @__PURE__ */ r(A, {
673
+ children: [/* @__PURE__ */ r(P, {
674
674
  text: e.title
675
675
  }), /* @__PURE__ */ r("div", {
676
676
  className: "content",
@@ -690,7 +690,7 @@ const j = se.exports.Fragment, r = se.exports.jsx, o = se.exports.jsxs, A = ({
690
690
  ...e.lineNumber ? {
691
691
  "data-lineno": e.lineNumber
692
692
  } : {},
693
- children: [/* @__PURE__ */ r(A, {
693
+ children: [/* @__PURE__ */ r(P, {
694
694
  text: e.title
695
695
  }), /* @__PURE__ */ r("table", {
696
696
  children: /* @__PURE__ */ r("tbody", {
@@ -722,23 +722,23 @@ var Ve = { exports: {} };
722
722
  var i = {}.hasOwnProperty;
723
723
  function s() {
724
724
  for (var l = [], f = 0; f < arguments.length; f++) {
725
- var d = arguments[f];
726
- if (!!d) {
727
- var n = typeof d;
725
+ var m = arguments[f];
726
+ if (!!m) {
727
+ var n = typeof m;
728
728
  if (n === "string" || n === "number")
729
- l.push(d);
730
- else if (Array.isArray(d)) {
731
- if (d.length) {
732
- var m = s.apply(null, d);
733
- m && l.push(m);
729
+ l.push(m);
730
+ else if (Array.isArray(m)) {
731
+ if (m.length) {
732
+ var d = s.apply(null, m);
733
+ d && l.push(d);
734
734
  }
735
735
  } else if (n === "object") {
736
- if (d.toString !== Object.prototype.toString && !d.toString.toString().includes("[native code]")) {
737
- l.push(d.toString());
736
+ if (m.toString !== Object.prototype.toString && !m.toString.toString().includes("[native code]")) {
737
+ l.push(m.toString());
738
738
  continue;
739
739
  }
740
- for (var h in d)
741
- i.call(d, h) && d[h] && l.push(h);
740
+ for (var h in m)
741
+ i.call(m, h) && m[h] && l.push(h);
742
742
  }
743
743
  }
744
744
  }
@@ -747,19 +747,19 @@ var Ve = { exports: {} };
747
747
  e.exports ? (s.default = s, e.exports = s) : window.classNames = s;
748
748
  })();
749
749
  })(Ve);
750
- const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s = void 0, l, f) => {
750
+ const R = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s = void 0, l, f) => {
751
751
  if (e[i] !== void 0)
752
752
  return e[i];
753
- const d = l || i;
754
- return d && f && f[d] !== void 0 ? f[d] : s;
755
- }, W = (e, i) => e[i] !== void 0, Zt = (e) => {
756
- var d;
753
+ const m = l || i;
754
+ return m && f && f[m] !== void 0 ? f[m] : s;
755
+ }, H = (e, i) => e[i] !== void 0, Zt = (e) => {
756
+ var m;
757
757
  let i;
758
758
  function s(n) {
759
- const m = n.getNodeName && n.getNodeName(), h = n.getContentModel && n.getContentModel(), k = m && n.hasBlocks() ? n.getBlocks().map((u) => s(u)) : [];
759
+ const d = n.getNodeName && n.getNodeName(), h = n.getContentModel && n.getContentModel(), k = d && n.hasBlocks() ? n.getBlocks().map((u) => s(u)) : [];
760
760
  let p = {
761
761
  id: n.getId && n.getId(),
762
- type: m,
762
+ type: d,
763
763
  blocks: k,
764
764
  content: k.length > 0 ? void 0 : n.getContent && n.getContent(),
765
765
  attributes: n.getAttributes && n.getAttributes(),
@@ -770,27 +770,27 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
770
770
  title: n.hasTitle && n.hasTitle() ? n.getTitle() : void 0,
771
771
  level: n.getLevel && n.getLevel()
772
772
  };
773
- if (m === "admonition") {
773
+ if (d === "admonition") {
774
774
  let u = p;
775
775
  u.iconUri = n.getIconUri(p.attributes.name);
776
776
  }
777
- if (m === "audio") {
777
+ if (d === "audio") {
778
778
  let u = p;
779
779
  u.mediaUri = n.getMediaUri(n.getAttribute("target")), u.autoplay = n.isOption("autoplay"), u.noControls = !n.isOption("nocontrols"), u.loop = n.isOption("loop"), p = u;
780
780
  }
781
- if (m === "image") {
781
+ if (d === "image") {
782
782
  let u = p;
783
783
  u.imageUri = n.getImageUri(n.getAttribute("target"));
784
784
  }
785
- if ((m === "listing" || m === "literal") && "getSource" in n) {
785
+ if ((d === "listing" || d === "literal") && "getSource" in n) {
786
786
  const u = p;
787
787
  u.source = n.getSource(), u.language = n.getAttribute("language");
788
788
  }
789
- if (m === "section") {
789
+ if (d === "section") {
790
790
  const u = p;
791
791
  u.title = n.getCaption() ? n.getCaptionedTitle() : n.getTitle() || "", "getSectionNumeral" in n && (u.name = n.getSectionName(), u.numbered = n.isNumbered(), u.num = n.getSectionNumeral());
792
792
  }
793
- if (m === "dlist") {
793
+ if (d === "dlist") {
794
794
  let u = p;
795
795
  u.items = n.getItems().map((v) => [
796
796
  v[0].map(
@@ -799,16 +799,16 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
799
799
  s(v[1])
800
800
  ]);
801
801
  }
802
- if (m === "colist" || m === "olist" || m === "ulist") {
802
+ if (d === "colist" || d === "olist" || d === "ulist") {
803
803
  let u = p;
804
804
  u.items = n.getItems().map((v) => s(v));
805
805
  }
806
- if (m === "list_item") {
806
+ if (d === "list_item") {
807
807
  let u = p;
808
808
  const v = n;
809
809
  u.text = v.hasText() ? v.getText() : void 0;
810
810
  }
811
- if (m === "table") {
811
+ if (d === "table") {
812
812
  let u = p;
813
813
  const v = n;
814
814
  u.columns = v.getColumns().map((O) => ({
@@ -820,7 +820,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
820
820
  style: O.getStyle()
821
821
  }));
822
822
  const w = (O) => O.map(
823
- (z) => z.map((L) => s(L))
823
+ (z) => z.map((F) => s(F))
824
824
  ), E = v.getRows();
825
825
  u.rows = {
826
826
  head: w(E.head),
@@ -837,7 +837,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
837
837
  footRows: w(v.getFootRows())
838
838
  }, p = u;
839
839
  }
840
- if (m === "table_cell") {
840
+ if (d === "table_cell") {
841
841
  const u = n, v = u.getColumn();
842
842
  p = {
843
843
  text: u.getText(),
@@ -861,24 +861,24 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
861
861
  return p;
862
862
  }
863
863
  function l(n) {
864
- return n.getSections().map((m) => ({
865
- id: m.getId(),
866
- title: (m.getCaption() ? m.getCaptionedTitle() : m.getTitle()) || "",
867
- level: m.getLevel(),
868
- num: m.getSectionNumber(),
869
- sections: l(m)
864
+ return n.getSections().map((d) => ({
865
+ id: d.getId(),
866
+ title: (d.getCaption() ? d.getCaptionedTitle() : d.getTitle()) || "",
867
+ level: d.getLevel(),
868
+ num: d.getSectionNumber(),
869
+ sections: l(d)
870
870
  }));
871
871
  }
872
872
  const f = e.getAuthors().map((n) => {
873
- const m = n.getName(), h = n.getEmail();
873
+ const d = n.getName(), h = n.getEmail();
874
874
  return {
875
- name: m ? e.applySubstitutions(m).toString() : void 0,
875
+ name: d ? e.applySubstitutions(d).toString() : void 0,
876
876
  email: h ? e.applySubstitutions(h).toString() : void 0
877
877
  };
878
878
  });
879
879
  return i = {
880
880
  type: "document",
881
- title: ((d = e.getDocumentTitle()) == null ? void 0 : d.toString()) || "",
881
+ title: ((m = e.getDocumentTitle()) == null ? void 0 : m.toString()) || "",
882
882
  hasHeader: e.hasHeader(),
883
883
  noHeader: e.getNoheader(),
884
884
  contentModel: e.getContentModel(),
@@ -898,10 +898,10 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
898
898
  node: e
899
899
  }) => {
900
900
  const i = (l) => {
901
- const f = l, d = f[0];
901
+ const f = l, m = f[0];
902
902
  let n = f[1];
903
903
  return n.type || (n = null), {
904
- terms: d,
904
+ terms: m,
905
905
  dd: n
906
906
  };
907
907
  }, s = (l) => {
@@ -916,23 +916,23 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
916
916
  };
917
917
  if (e.style === "qanda")
918
918
  return /* @__PURE__ */ o("div", {
919
- className: x("qlist qanda", e.role),
919
+ className: R("qlist qanda", e.role),
920
920
  ...e.lineNumber ? {
921
921
  "data-lineno": e.lineNumber
922
922
  } : {},
923
- children: [/* @__PURE__ */ r(A, {
923
+ children: [/* @__PURE__ */ r(P, {
924
924
  text: e.title
925
925
  }), /* @__PURE__ */ r("ol", {
926
926
  children: e.items.map((l, f) => {
927
927
  const {
928
- terms: d,
928
+ terms: m,
929
929
  dd: n
930
930
  } = i(l);
931
- if (!!d)
931
+ if (!!m)
932
932
  return /* @__PURE__ */ o("li", {
933
- children: [d.map((m, h) => /* @__PURE__ */ r("p", {
933
+ children: [m.map((d, h) => /* @__PURE__ */ r("p", {
934
934
  children: /* @__PURE__ */ r("em", {
935
- children: C(m.text)
935
+ children: C(d.text)
936
936
  })
937
937
  }, h)), s(n)]
938
938
  }, f);
@@ -942,8 +942,8 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
942
942
  if (e.style === "horizontal") {
943
943
  const l = e.attributes.labelwidth, f = e.attributes.itemwidth;
944
944
  return /* @__PURE__ */ o("div", {
945
- className: x("hdlist", e.role),
946
- children: [/* @__PURE__ */ r(A, {
945
+ className: R("hdlist", e.role),
946
+ children: [/* @__PURE__ */ r(P, {
947
947
  text: e.title
948
948
  }), /* @__PURE__ */ o("table", {
949
949
  children: [(l || f) && /* @__PURE__ */ o("colgroup", {
@@ -957,16 +957,16 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
957
957
  }
958
958
  })]
959
959
  }), /* @__PURE__ */ r("tbody", {
960
- children: e.items.map((d, n) => {
960
+ children: e.items.map((m, n) => {
961
961
  const {
962
- terms: m,
962
+ terms: d,
963
963
  dd: h
964
- } = i(d);
965
- if (!!m)
964
+ } = i(m);
965
+ if (!!d)
966
966
  return /* @__PURE__ */ o("tr", {
967
967
  children: [/* @__PURE__ */ r("td", {
968
- className: x("hdlist1", le(e.attributes, "strong") ? "strong" : ""),
969
- children: m.map((k, p) => /* @__PURE__ */ o(pe, {
968
+ className: R("hdlist1", le(e.attributes, "strong") ? "strong" : ""),
969
+ children: d.map((k, p) => /* @__PURE__ */ o(pe, {
970
970
  children: [p !== 0 && /* @__PURE__ */ r("br", {}), C(k.text)]
971
971
  }, p))
972
972
  }), h && /* @__PURE__ */ o("td", {
@@ -984,20 +984,20 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
984
984
  });
985
985
  } else
986
986
  return /* @__PURE__ */ o("div", {
987
- className: x("dlist", e.style, e.role),
988
- children: [/* @__PURE__ */ r(A, {
987
+ className: R("dlist", e.style, e.role),
988
+ children: [/* @__PURE__ */ r(P, {
989
989
  text: e.title
990
990
  }), /* @__PURE__ */ r("dl", {
991
991
  children: e.items.map((l, f) => {
992
992
  const {
993
- terms: d,
993
+ terms: m,
994
994
  dd: n
995
995
  } = i(l);
996
- if (!!d)
996
+ if (!!m)
997
997
  return /* @__PURE__ */ o(pe, {
998
- children: [d.map((m, h) => /* @__PURE__ */ r("dt", {
998
+ children: [m.map((d, h) => /* @__PURE__ */ r("dt", {
999
999
  className: "hdlist1",
1000
- children: C(m.text)
1000
+ children: C(d.text)
1001
1001
  }, h)), s(n)]
1002
1002
  }, f);
1003
1003
  })
@@ -1009,10 +1009,10 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1009
1009
  }) => {
1010
1010
  const {
1011
1011
  document: s
1012
- } = H(F);
1012
+ } = D(L);
1013
1013
  if (!e || e.length === 0)
1014
1014
  return null;
1015
- const l = s.attributes || {}, f = l.sectnumlevels, d = l.toclevels, n = (i == null ? void 0 : i.sectNumLevels) || (f ? parseInt(f) : 3), m = (i == null ? void 0 : i.tocLevels) || (d ? parseInt(d) : 2);
1015
+ const l = s.attributes || {}, f = l.sectnumlevels, m = l.toclevels, n = (i == null ? void 0 : i.sectNumLevels) || (f ? parseInt(f) : 3), d = (i == null ? void 0 : i.tocLevels) || (m ? parseInt(m) : 2);
1016
1016
  return /* @__PURE__ */ r("ul", {
1017
1017
  className: `sectlevel${e[0].level}`,
1018
1018
  children: e.map((h) => {
@@ -1024,10 +1024,10 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1024
1024
  children: [/* @__PURE__ */ r("a", {
1025
1025
  href: `#${h.id}`,
1026
1026
  children: C(u)
1027
- }), p < m && /* @__PURE__ */ r(ce, {
1027
+ }), p < d && /* @__PURE__ */ r(ce, {
1028
1028
  sections: h.sections,
1029
1029
  opts: {
1030
- tocLevels: m,
1030
+ tocLevels: d,
1031
1031
  sectNumLevels: n
1032
1032
  }
1033
1033
  })]
@@ -1055,7 +1055,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1055
1055
  })]
1056
1056
  })]
1057
1057
  })
1058
- }), s = () => e.footnotes && e.footnotes.length > 0 && e.blocks && !W(e.attributes, "nofootnotes") ? /* @__PURE__ */ o("div", {
1058
+ }), s = () => e.footnotes && e.footnotes.length > 0 && e.blocks && !H(e.attributes, "nofootnotes") ? /* @__PURE__ */ o("div", {
1059
1059
  id: "footnotes",
1060
1060
  children: [/* @__PURE__ */ r("hr", {}), e.footnotes.map((f) => /* @__PURE__ */ o("div", {
1061
1061
  className: "footnote",
@@ -1065,29 +1065,29 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1065
1065
  children: f.index
1066
1066
  }), ".", " ", C(f.text || "")]
1067
1067
  }, f.index))]
1068
- }) : null, l = () => e.authors.length > 0 || W(e.attributes, "revnumber") || W(e.attributes, "revdate") || W(e.attributes, "revremark") ? /* @__PURE__ */ o("div", {
1068
+ }) : null, l = () => e.authors.length > 0 || H(e.attributes, "revnumber") || H(e.attributes, "revdate") || H(e.attributes, "revremark") ? /* @__PURE__ */ o("div", {
1069
1069
  className: "details",
1070
- children: [e.authors.map((f, d) => /* @__PURE__ */ o(pe, {
1070
+ children: [e.authors.map((f, m) => /* @__PURE__ */ o(pe, {
1071
1071
  children: [f.name && /* @__PURE__ */ o(j, {
1072
1072
  children: [/* @__PURE__ */ r("span", {
1073
- id: `author${d + 1 > 1 ? d + 1 : ""}`,
1073
+ id: `author${m + 1 > 1 ? m + 1 : ""}`,
1074
1074
  className: "author",
1075
1075
  children: C(f.name)
1076
1076
  }), /* @__PURE__ */ r("br", {})]
1077
1077
  }), f.email && /* @__PURE__ */ o(j, {
1078
1078
  children: [/* @__PURE__ */ r("span", {
1079
- id: `email${d + 1 > 1 ? d + 1 : ""}`,
1079
+ id: `email${m + 1 > 1 ? m + 1 : ""}`,
1080
1080
  className: "email",
1081
1081
  children: C(f.email)
1082
1082
  }), /* @__PURE__ */ r("br", {})]
1083
1083
  })]
1084
- }, d)), W(e.attributes, "revnumber") && /* @__PURE__ */ r("span", {
1084
+ }, m)), H(e.attributes, "revnumber") && /* @__PURE__ */ r("span", {
1085
1085
  id: "revnumber",
1086
1086
  children: `${e.attributes["version-label"].toLowerCase()} ${e.attributes.revnumber}${e.attributes.revdate ? "," : ""}`
1087
- }), W(e.attributes, "revdate") && /* @__PURE__ */ r("span", {
1087
+ }), H(e.attributes, "revdate") && /* @__PURE__ */ r("span", {
1088
1088
  id: "revdate",
1089
1089
  children: e.attributes.revdate
1090
- }), W(e.attributes, "revremark") && /* @__PURE__ */ o(j, {
1090
+ }), H(e.attributes, "revremark") && /* @__PURE__ */ o(j, {
1091
1091
  children: [/* @__PURE__ */ r("br", {}), /* @__PURE__ */ r("span", {
1092
1092
  id: "revremark",
1093
1093
  children: e.attributes.revremark
@@ -1129,14 +1129,14 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1129
1129
  });
1130
1130
  }
1131
1131
  return /* @__PURE__ */ o("div", {
1132
- className: x("exampleblock", e.role),
1132
+ className: R("exampleblock", e.role),
1133
1133
  ...e.lineNumber ? {
1134
1134
  "data-lineno": e.lineNumber
1135
1135
  } : {},
1136
1136
  ...e.id ? {
1137
1137
  id: e.id
1138
1138
  } : {},
1139
- children: [/* @__PURE__ */ r(A, {
1139
+ children: [/* @__PURE__ */ r(P, {
1140
1140
  text: e.title
1141
1141
  }), /* @__PURE__ */ r("div", {
1142
1142
  className: "content",
@@ -1145,7 +1145,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1145
1145
  })
1146
1146
  })]
1147
1147
  });
1148
- }, At = ({
1148
+ }, Pt = ({
1149
1149
  node: e
1150
1150
  }) => /* @__PURE__ */ o(j, {
1151
1151
  children: [/* @__PURE__ */ r("a", {
@@ -1157,9 +1157,9 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1157
1157
  "data-lineno": e.lineNumber
1158
1158
  } : {}
1159
1159
  }), q(`h${e.level + 1}`, {
1160
- className: x(e.role, e.style)
1160
+ className: R(e.role, e.style)
1161
1161
  }, C(e.title || ""))]
1162
- }), Pt = ({
1162
+ }), At = ({
1163
1163
  node: e
1164
1164
  }) => {
1165
1165
  let i = /* @__PURE__ */ r("img", {
@@ -1184,7 +1184,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1184
1184
  children: [/* @__PURE__ */ r("div", {
1185
1185
  className: "content",
1186
1186
  children: i
1187
- }), /* @__PURE__ */ r(A, {
1187
+ }), /* @__PURE__ */ r(P, {
1188
1188
  text: e.title
1189
1189
  })]
1190
1190
  });
@@ -1193,7 +1193,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1193
1193
  }) => {
1194
1194
  const {
1195
1195
  document: i
1196
- } = H(F), s = e.attributes.nowrap || i.attributes.prewrap;
1196
+ } = D(L), s = e.attributes.nowrap || i.attributes.prewrap;
1197
1197
  if (e.style === "source") {
1198
1198
  const l = e.language;
1199
1199
  return /* @__PURE__ */ o("div", {
@@ -1201,12 +1201,12 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1201
1201
  ...e.lineNumber ? {
1202
1202
  "data-lineno": e.lineNumber
1203
1203
  } : {},
1204
- children: [/* @__PURE__ */ r(A, {
1204
+ children: [/* @__PURE__ */ r(P, {
1205
1205
  text: e.title
1206
1206
  }), /* @__PURE__ */ r("div", {
1207
1207
  className: "content",
1208
1208
  children: /* @__PURE__ */ r("pre", {
1209
- className: x("highlight", s ? " nowrap" : ""),
1209
+ className: R("highlight", s ? " nowrap" : ""),
1210
1210
  children: l ? /* @__PURE__ */ r("code", {
1211
1211
  className: l ? `language-${l}` : "",
1212
1212
  "data-lang": l,
@@ -1227,7 +1227,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1227
1227
  ...e.lineNumber ? {
1228
1228
  "data-lineno": e.lineNumber
1229
1229
  } : {},
1230
- children: [/* @__PURE__ */ r(A, {
1230
+ children: [/* @__PURE__ */ r(P, {
1231
1231
  text: e.title
1232
1232
  }), /* @__PURE__ */ r("div", {
1233
1233
  className: "content",
@@ -1246,13 +1246,13 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1246
1246
  }) => {
1247
1247
  const {
1248
1248
  document: i
1249
- } = H(F), s = i.attributes || {}, l = e.attributes.nowrap || s.prewrap === void 0;
1249
+ } = D(L), s = i.attributes || {}, l = e.attributes.nowrap || s.prewrap === void 0;
1250
1250
  return /* @__PURE__ */ o("div", {
1251
1251
  className: "literalblock",
1252
1252
  ...e.lineNumber ? {
1253
1253
  "data-lineno": e.lineNumber
1254
1254
  } : {},
1255
- children: [/* @__PURE__ */ r(A, {
1255
+ children: [/* @__PURE__ */ r(P, {
1256
1256
  text: e.title
1257
1257
  }), /* @__PURE__ */ r("div", {
1258
1258
  className: "content",
@@ -1265,11 +1265,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1265
1265
  }, jt = ({
1266
1266
  node: e
1267
1267
  }) => /* @__PURE__ */ o("div", {
1268
- className: x("olist", e.role, e.style),
1268
+ className: R("olist", e.role, e.style),
1269
1269
  ...e.lineNumber ? {
1270
1270
  "data-lineno": e.lineNumber
1271
1271
  } : {},
1272
- children: [/* @__PURE__ */ r(A, {
1272
+ children: [/* @__PURE__ */ r(P, {
1273
1273
  text: e.title
1274
1274
  }), /* @__PURE__ */ r("ol", {
1275
1275
  className: e.style,
@@ -1291,11 +1291,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1291
1291
  }) => {
1292
1292
  const i = e.style;
1293
1293
  return i === "abstract" ? /* @__PURE__ */ o("div", {
1294
- className: x("quoteblock abstract", e.role),
1294
+ className: R("quoteblock abstract", e.role),
1295
1295
  ...e.lineNumber ? {
1296
1296
  "data-lineno": e.lineNumber
1297
1297
  } : {},
1298
- children: [/* @__PURE__ */ r(A, {
1298
+ children: [/* @__PURE__ */ r(P, {
1299
1299
  text: e.title
1300
1300
  }), /* @__PURE__ */ r("blockquote", {
1301
1301
  className: "content",
@@ -1304,11 +1304,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1304
1304
  })
1305
1305
  })]
1306
1306
  }) : /* @__PURE__ */ o("div", {
1307
- className: x("openblock", i && i !== "open" ? i : "", e.role),
1307
+ className: R("openblock", i && i !== "open" ? i : "", e.role),
1308
1308
  ...e.lineNumber ? {
1309
1309
  "data-lineno": e.lineNumber
1310
1310
  } : {},
1311
- children: [/* @__PURE__ */ r(A, {
1311
+ children: [/* @__PURE__ */ r(P, {
1312
1312
  text: e.title
1313
1313
  }), /* @__PURE__ */ r("div", {
1314
1314
  className: "content",
@@ -1327,11 +1327,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1327
1327
  ...e.id ? {
1328
1328
  id: e.id
1329
1329
  } : {},
1330
- className: x("paragraph", e.role),
1330
+ className: R("paragraph", e.role),
1331
1331
  ...e.lineNumber ? {
1332
1332
  "data-lineno": e.lineNumber
1333
1333
  } : {},
1334
- children: [/* @__PURE__ */ r(A, {
1334
+ children: [/* @__PURE__ */ r(P, {
1335
1335
  text: e.title
1336
1336
  }), e.content && /* @__PURE__ */ r("p", {
1337
1337
  dangerouslySetInnerHTML: {
@@ -1347,7 +1347,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1347
1347
  }) => {
1348
1348
  const {
1349
1349
  document: i
1350
- } = H(F), s = i.attributes || {}, l = s["toc-placement"] === "preamble" && i.sections && i.sections.length > 0 && s.toc !== void 0;
1350
+ } = D(L), s = i.attributes || {}, l = s["toc-placement"] === "preamble" && i.sections && i.sections.length > 0 && s.toc !== void 0;
1351
1351
  return /* @__PURE__ */ r("div", {
1352
1352
  id: "preamble",
1353
1353
  ...e.lineNumber ? {
@@ -1377,11 +1377,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1377
1377
  ...e.id ? {
1378
1378
  id: e.id
1379
1379
  } : {},
1380
- className: x("quoteblock", e.role),
1380
+ className: R("quoteblock", e.role),
1381
1381
  ...e.lineNumber ? {
1382
1382
  "data-lineno": e.lineNumber
1383
1383
  } : {},
1384
- children: [/* @__PURE__ */ r(A, {
1384
+ children: [/* @__PURE__ */ r(P, {
1385
1385
  text: e.title
1386
1386
  }), e.content && /* @__PURE__ */ r("blockquote", {
1387
1387
  dangerouslySetInnerHTML: {
@@ -1401,11 +1401,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1401
1401
  }) => {
1402
1402
  const {
1403
1403
  document: i
1404
- } = H(F), s = i.attributes || {};
1404
+ } = D(L), s = i.attributes || {};
1405
1405
  let l = e.title, f = e.num;
1406
1406
  f = f === "." ? "" : f;
1407
- const d = s.sectnumlevels ? parseInt(s.sectnumlevels) : 3;
1408
- return e.numbered && e.level <= d && (l = `${f} ${e.title}`), s.sectlinks && (l = /* @__PURE__ */ o(j, {
1407
+ const m = s.sectnumlevels ? parseInt(s.sectnumlevels) : 3;
1408
+ return e.numbered && e.level <= m && (l = `${f} ${e.title}`), s.sectlinks && (l = /* @__PURE__ */ o(j, {
1409
1409
  children: [/* @__PURE__ */ r("a", {
1410
1410
  className: "anchor",
1411
1411
  id: e.id || "",
@@ -1421,7 +1421,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1421
1421
  })]
1422
1422
  })), e.level === 0 ? /* @__PURE__ */ o(j, {
1423
1423
  children: [/* @__PURE__ */ r("h1", {
1424
- className: x("sect0", e.role),
1424
+ className: R("sect0", e.role),
1425
1425
  "data-sectnum": f,
1426
1426
  ...e.lineNumber ? {
1427
1427
  "data-lineno": e.lineNumber
@@ -1431,7 +1431,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1431
1431
  blocks: e.blocks
1432
1432
  })]
1433
1433
  }) : /* @__PURE__ */ o("div", {
1434
- className: x(`sect${e.level}`, e.role),
1434
+ className: R(`sect${e.level}`, e.role),
1435
1435
  ...e.lineNumber ? {
1436
1436
  "data-lineno": e.lineNumber
1437
1437
  } : {},
@@ -1447,13 +1447,13 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1447
1447
  }, Ut = ({
1448
1448
  node: e
1449
1449
  }) => /* @__PURE__ */ r("div", {
1450
- className: x("sidebarblock", e.role),
1450
+ className: R("sidebarblock", e.role),
1451
1451
  ...e.lineNumber ? {
1452
1452
  "data-lineno": e.lineNumber
1453
1453
  } : {},
1454
1454
  children: /* @__PURE__ */ o("div", {
1455
1455
  className: "content",
1456
- children: [/* @__PURE__ */ r(A, {
1456
+ children: [/* @__PURE__ */ r(P, {
1457
1457
  text: e.title
1458
1458
  }), /* @__PURE__ */ r($, {
1459
1459
  blocks: e.blocks
@@ -1464,16 +1464,16 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1464
1464
  }) => {
1465
1465
  const {
1466
1466
  document: i
1467
- } = H(F), s = i.attributes || {};
1467
+ } = D(L), s = i.attributes || {};
1468
1468
  let l = ["frame-" + ne(e.attributes, "frame", "all", "table-frame", s), "grid-" + ne(e.attributes, "grid", "all", "table-grid", s)], f = ne(e.attributes, "stripes", null, "table-stripes", s);
1469
1469
  f && l.push("stripes-" + f);
1470
- let d = le(e.attributes, "autowidth"), n = parseInt(e.attributes.tablepcwidth), m = null;
1471
- d && !W(e.attributes, "width") ? l.push("fit-content") : n === 100 ? l.push("stretch") : m = `${n}%`, W(e.attributes, "float") && l.push(e.attributes.float), e.role && l.push(e.role || "");
1472
- const h = (v) => x("tableblock", `halign-${v.attributes.halign}`, `valign-${v.attributes.valign}`), k = e.title, p = e.id, u = p || Vt(k || "");
1470
+ let m = le(e.attributes, "autowidth"), n = parseInt(e.attributes.tablepcwidth), d = null;
1471
+ m && !H(e.attributes, "width") ? l.push("fit-content") : n === 100 ? l.push("stretch") : d = `${n}%`, H(e.attributes, "float") && l.push(e.attributes.float), e.role && l.push(e.role || "");
1472
+ const h = (v) => R("tableblock", `halign-${v.attributes.halign}`, `valign-${v.attributes.valign}`), k = e.title, p = e.id, u = p || Vt(k || "");
1473
1473
  return /* @__PURE__ */ o("table", {
1474
- className: x("tableblock", ...l),
1474
+ className: R("tableblock", ...l),
1475
1475
  style: {
1476
- width: m || void 0
1476
+ width: d || void 0
1477
1477
  },
1478
1478
  ...e.lineNumber ? {
1479
1479
  "data-lineno": e.lineNumber
@@ -1508,9 +1508,9 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1508
1508
  }, w)), /* @__PURE__ */ r("tbody", {
1509
1509
  children: e.bodyRows.map((v, w) => /* @__PURE__ */ r("tr", {
1510
1510
  children: v.map((E, O) => {
1511
- const z = E.columnSpan, L = E.rowSpan, S = E.content, U = {
1511
+ const z = E.columnSpan, F = E.rowSpan, S = E.content, U = {
1512
1512
  colSpan: z,
1513
- rowSpan: L,
1513
+ rowSpan: F,
1514
1514
  className: h(E)
1515
1515
  }, J = E.style;
1516
1516
  if (J === "asciidoc")
@@ -1574,16 +1574,16 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1574
1574
  }) => {
1575
1575
  const {
1576
1576
  document: i
1577
- } = H(F), s = i.attributes || {}, l = i.sections && i.sections.length > 0;
1577
+ } = D(L), s = i.attributes || {}, l = i.sections && i.sections.length > 0;
1578
1578
  let f = e.id || "toc";
1579
- const d = e.title ? e.title : s["toc-title"], n = s["toc-placement"], m = s.toc !== void 0, h = e.attributes.levels ? parseInt(e.attributes.levels) : void 0;
1580
- return n === "macro" && l && m ? /* @__PURE__ */ o("div", {
1579
+ const m = e.title ? e.title : s["toc-title"], n = s["toc-placement"], d = s.toc !== void 0, h = e.attributes.levels ? parseInt(e.attributes.levels) : void 0;
1580
+ return n === "macro" && l && d ? /* @__PURE__ */ o("div", {
1581
1581
  id: f,
1582
- className: x("toc", e.role),
1582
+ className: R("toc", e.role),
1583
1583
  children: [/* @__PURE__ */ r("div", {
1584
1584
  id: `${f}title`,
1585
1585
  className: "title",
1586
- children: C(d || "")
1586
+ children: C(m || "")
1587
1587
  }), i.sections && /* @__PURE__ */ r(ce, {
1588
1588
  sections: i.sections,
1589
1589
  opts: {
@@ -1599,11 +1599,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1599
1599
  ...e.id ? {
1600
1600
  id: e.id
1601
1601
  } : {},
1602
- className: x("ulist", e.style, e.role, i && "checklist"),
1602
+ className: R("ulist", e.style, e.role, i && "checklist"),
1603
1603
  ...e.lineNumber ? {
1604
1604
  "data-lineno": e.lineNumber
1605
1605
  } : {},
1606
- children: [/* @__PURE__ */ r(A, {
1606
+ children: [/* @__PURE__ */ r(P, {
1607
1607
  text: e.title
1608
1608
  }), /* @__PURE__ */ r("ul", {
1609
1609
  className: i ? "checklist" : "",
@@ -1612,7 +1612,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1612
1612
  className: e.role,
1613
1613
  children: /* @__PURE__ */ o("p", {
1614
1614
  children: [i && s.attributes.checkbox && /* @__PURE__ */ r("i", {
1615
- className: x("fa", s.attributes.checked ? "fa-check-square-o" : "fa-square-o")
1615
+ className: R("fa", s.attributes.checked ? "fa-check-square-o" : "fa-square-o")
1616
1616
  }), " ", C(s.text || "")]
1617
1617
  })
1618
1618
  }, l) : /* @__PURE__ */ o("li", {
@@ -1636,11 +1636,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1636
1636
  ...e.id ? {
1637
1637
  id: e.id
1638
1638
  } : {},
1639
- className: x("verseblock", e.role),
1639
+ className: R("verseblock", e.role),
1640
1640
  ...e.lineNumber ? {
1641
1641
  "data-lineno": e.lineNumber
1642
1642
  } : {},
1643
- children: [/* @__PURE__ */ r(A, {
1643
+ children: [/* @__PURE__ */ r(P, {
1644
1644
  text: e.title
1645
1645
  }), e.content && /* @__PURE__ */ r("pre", {
1646
1646
  className: "content",
@@ -1654,14 +1654,14 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1654
1654
  })]
1655
1655
  })]
1656
1656
  });
1657
- }, F = wt({
1657
+ }, L = wt({
1658
1658
  document: {}
1659
1659
  }), er = ({
1660
1660
  document: e,
1661
1661
  options: i
1662
1662
  }) => {
1663
1663
  const s = i && i.customDocument;
1664
- return /* @__PURE__ */ r(F.Provider, {
1664
+ return /* @__PURE__ */ r(L.Provider, {
1665
1665
  value: {
1666
1666
  ...i,
1667
1667
  document: {
@@ -1686,7 +1686,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1686
1686
  }) => {
1687
1687
  const {
1688
1688
  overrides: i
1689
- } = H(F), s = e.type, l = i && i[s];
1689
+ } = D(L), s = e.type, l = i && i[s];
1690
1690
  if (l)
1691
1691
  return /* @__PURE__ */ r(l, {
1692
1692
  node: e
@@ -1717,7 +1717,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1717
1717
  node: e
1718
1718
  });
1719
1719
  case "floating_title":
1720
- return /* @__PURE__ */ r(At, {
1720
+ return /* @__PURE__ */ r(Pt, {
1721
1721
  node: e
1722
1722
  });
1723
1723
  case "admonition":
@@ -1733,7 +1733,7 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1733
1733
  node: e
1734
1734
  });
1735
1735
  case "image":
1736
- return /* @__PURE__ */ r(Pt, {
1736
+ return /* @__PURE__ */ r(At, {
1737
1737
  node: e
1738
1738
  });
1739
1739
  case "colist":
@@ -1783,6 +1783,11 @@ const x = Ve.exports, le = (e, i) => e[`${i}-option`] !== void 0, ne = (e, i, s
1783
1783
  default:
1784
1784
  return /* @__PURE__ */ r(j, {});
1785
1785
  }
1786
+ }, tr = () => {
1787
+ const e = D(L);
1788
+ if (e === void 0)
1789
+ throw new Error("useConverterContext must be used within a Provider");
1790
+ return e;
1786
1791
  };
1787
1792
  export {
1788
1793
  Et as Admonition,
@@ -1790,12 +1795,12 @@ export {
1790
1795
  St as Audio,
1791
1796
  Tt as CoList,
1792
1797
  $ as Content,
1793
- F as Context,
1798
+ L as Context,
1794
1799
  Ct as DList,
1795
1800
  kt as Document,
1796
1801
  Ot as Example,
1797
- At as FloatingTitle,
1798
- Pt as Image,
1802
+ Pt as FloatingTitle,
1803
+ At as Image,
1799
1804
  $t as Listing,
1800
1805
  It as Literal,
1801
1806
  jt as OList,
@@ -1811,9 +1816,10 @@ export {
1811
1816
  Yt as Table,
1812
1817
  qt as TableOfContents,
1813
1818
  zt as ThematicBreak,
1814
- A as Title,
1819
+ P as Title,
1815
1820
  Jt as UList,
1816
1821
  Gt as Verse,
1817
- ir as parse,
1818
- Zt as prepareDocument
1822
+ ar as parse,
1823
+ Zt as prepareDocument,
1824
+ tr as useConverterContext
1819
1825
  };