@oxide/react-asciidoc 0.2.7--canary.8dc39b3.0 → 0.2.8--canary.a195128.0

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