@oxide/react-asciidoc 0.1.3-alpha.6 → 0.1.3-alpha.8

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