@wsxjs/wsx-marked-components 0.0.25 → 0.0.27

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.
package/dist/index.js CHANGED
@@ -1,41 +1,41 @@
1
1
  import { autoRegister as W, LightComponent as q, jsx as G } from "@wsxjs/wsx-core";
2
2
  import { marked as le } from "marked";
3
- const ue = "wsx-marked-heading{display:block}wsx-marked-heading h1{font-size:2.5rem;font-weight:700;margin:1.5rem 0 1rem;color:var(--text-primary, #2c3e50);border-bottom:2px solid var(--primary-red, #dc2626);padding-bottom:.5rem}wsx-marked-heading h2{font-size:2rem;font-weight:600;margin:1.25rem 0 .75rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h3{font-size:1.5rem;font-weight:600;margin:1rem 0 .5rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h4,wsx-marked-heading h5,wsx-marked-heading h6{font-size:1.25rem;font-weight:600;margin:.75rem 0 .5rem;color:var(--text-primary, #2c3e50)}";
3
+ const ce = "wsx-marked-heading{display:block}wsx-marked-heading h1{font-size:2.5rem;font-weight:700;margin:1.5rem 0 1rem;color:var(--text-primary, #2c3e50);border-bottom:2px solid var(--primary-red, #dc2626);padding-bottom:.5rem}wsx-marked-heading h2{font-size:2rem;font-weight:600;margin:1.25rem 0 .75rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h3{font-size:1.5rem;font-weight:600;margin:1rem 0 .5rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h4,wsx-marked-heading h5,wsx-marked-heading h6{font-size:1.25rem;font-weight:600;margin:.75rem 0 .5rem;color:var(--text-primary, #2c3e50)}";
4
4
  var Ae;
5
- let Se, Te;
6
- function re(e, t, r) {
7
- return (t = _e(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5
+ let Se, _e;
6
+ function te(e, t, r) {
7
+ return (t = Te(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
8
8
  }
9
- function tt(e, t, r, i, T, P) {
10
- function S(n, c, d) {
9
+ function tt(e, t, r, o, _, P) {
10
+ function S(n, u, d) {
11
11
  return function(l, a) {
12
- return d && d(l), n[c].call(l, a);
12
+ return d && d(l), n[u].call(l, a);
13
13
  };
14
14
  }
15
- function E(n, c) {
16
- for (var d = 0; d < n.length; d++) n[d].call(c);
17
- return c;
15
+ function E(n, u) {
16
+ for (var d = 0; d < n.length; d++) n[d].call(u);
17
+ return u;
18
18
  }
19
- function w(n, c, d, l) {
20
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
19
+ function w(n, u, d, l) {
20
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
21
21
  return n;
22
22
  }
23
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
23
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
24
24
  function A(f) {
25
25
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
26
26
  }
27
- var x, F = c[0], I = c[3], $ = !g;
27
+ var x, I = u[0], F = u[3], $ = !g;
28
28
  if (!$) {
29
- d || Array.isArray(F) || (F = [F]);
30
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
31
- h ? (m || u ? o = { get: ce(function() {
32
- return I(this);
29
+ d || Array.isArray(I) || (I = [I]);
30
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
31
+ h ? (m || c ? s = { get: ue(function() {
32
+ return F(this);
33
33
  }, l, "get"), set: function(f) {
34
- c[4](this, f);
35
- } } : o[v] = I, m || ce(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
34
+ u[4](this, f);
35
+ } } : s[v] = F, m || ue(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
36
36
  }
37
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
38
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
37
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
38
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
39
39
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
40
40
  w(O, "An initializer", "be", !0), p.push(O);
41
41
  }).bind(null, X) };
@@ -44,8 +44,8 @@ function tt(e, t, r, i, T, P) {
44
44
  else {
45
45
  var j, z;
46
46
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
47
- return A(f), o.value;
48
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
47
+ return A(f), s.value;
48
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
49
49
  return f[l];
50
50
  }, (a < 2 || a === 4) && (z = function(f, O) {
51
51
  f[l] = O;
@@ -53,51 +53,51 @@ function tt(e, t, r, i, T, P) {
53
53
  var Y = C.access = { has: h ? b.bind() : function(f) {
54
54
  return l in f;
55
55
  } };
56
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
57
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
56
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
57
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
58
58
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
59
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
59
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
60
60
  }
61
61
  } finally {
62
62
  X.v = !0;
63
63
  }
64
64
  }
65
- return (m || u) && g.push(function(f, O) {
65
+ return (m || c) && g.push(function(f, O) {
66
66
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
67
67
  return O;
68
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
68
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
69
69
  }
70
- function L(n, c) {
71
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
70
+ function L(n, u) {
71
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
72
72
  }
73
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
74
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
75
- var a, s, p = [], g = function(v) {
73
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
74
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
75
+ var a, i, p = [], g = function(v) {
76
76
  return at(v) === n;
77
77
  }, k = /* @__PURE__ */ new Map();
78
78
  function h(v) {
79
79
  v && p.push(E.bind(null, v));
80
80
  }
81
- for (var m = 0; m < c.length; m++) {
82
- var u = c[m];
83
- if (Array.isArray(u)) {
84
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
81
+ for (var m = 0; m < u.length; m++) {
82
+ var c = u[m];
83
+ if (Array.isArray(c)) {
84
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
85
85
  if (!$ && !x) {
86
- var R = k.get(o);
86
+ var R = k.get(s);
87
87
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
88
- k.set(o, !(b > 2) || b);
88
+ k.set(s, !(b > 2) || b);
89
89
  }
90
- D(I ? n : n.prototype, u, F, x ? "#" + A : _e(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
90
+ D(F ? n : n.prototype, c, I, x ? "#" + A : Te(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
91
91
  }
92
92
  }
93
- return h(a), h(s), p;
94
- }(e, t, T, N);
93
+ return h(a), h(i), p;
94
+ }(e, t, _, N);
95
95
  return r.length || L(e, N), { e: U, get c() {
96
96
  var n = [];
97
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
97
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
98
98
  } };
99
99
  }
100
- function _e(e) {
100
+ function Te(e) {
101
101
  var t = rt(e, "string");
102
102
  return typeof t == "symbol" ? t : t + "";
103
103
  }
@@ -105,13 +105,13 @@ function rt(e, t) {
105
105
  if (typeof e != "object" || !e) return e;
106
106
  var r = e[Symbol.toPrimitive];
107
107
  if (r !== void 0) {
108
- var i = r.call(e, t);
109
- if (typeof i != "object") return i;
108
+ var o = r.call(e, t);
109
+ if (typeof o != "object") return o;
110
110
  throw new TypeError("@@toPrimitive must return a primitive value.");
111
111
  }
112
112
  return String(e);
113
113
  }
114
- function ce(e, t, r) {
114
+ function ue(e, t, r) {
115
115
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
116
116
  try {
117
117
  Object.defineProperty(e, "name", { configurable: !0, value: r ? r + " " + t : t });
@@ -123,36 +123,43 @@ function at(e) {
123
123
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
124
124
  return e;
125
125
  }
126
- Te = [W({
126
+ _e = [W({
127
127
  tagName: "wsx-marked-heading"
128
128
  })];
129
129
  let nt;
130
130
  class ot extends q {
131
131
  constructor() {
132
132
  super({
133
- styles: ue,
133
+ styles: ce,
134
134
  styleName: "wsx-marked-heading"
135
- }), re(this, "_autoStyles", ue), re(this, "level", 1), re(this, "text", "");
135
+ }), te(this, "_autoStyles", ce), te(this, "level", 1), te(this, "text", ""), te(this, "anchorId", void 0);
136
+ const [t, r] = this.useState("anchorId", "");
137
+ Object.defineProperty(this, "anchorId", {
138
+ get: t,
139
+ set: r,
140
+ enumerable: !0,
141
+ configurable: !0
142
+ });
136
143
  }
137
144
  static get observedAttributes() {
138
- return ["level", "text"];
145
+ return ["level", "text", "anchor-id"];
139
146
  }
140
- attributeChangedCallback(t, r, i) {
141
- t === "level" ? this.level = parseInt(i, 10) || 1 : t === "text" && (this.text = i), this.rerender();
147
+ attributeChangedCallback(t, r, o) {
148
+ t === "level" ? this.level = parseInt(o, 10) || 1 : t === "text" ? this.text = o : t === "anchor-id" && (this.anchorId = o), this.rerender();
142
149
  }
143
150
  render() {
144
- return this.level === 1 ? /* @__PURE__ */ G("h1", null, this.text) : this.level === 2 ? /* @__PURE__ */ G("h2", null, this.text) : this.level === 3 ? /* @__PURE__ */ G("h3", null, this.text) : this.level === 4 ? /* @__PURE__ */ G("h4", null, this.text) : this.level === 5 ? /* @__PURE__ */ G("h5", null, this.text) : /* @__PURE__ */ G("h6", null, this.text);
151
+ return this.level === 1 ? /* @__PURE__ */ G("h1", { id: this.anchorId }, this.text) : this.level === 2 ? /* @__PURE__ */ G("h2", { id: this.anchorId }, this.text) : this.level === 3 ? /* @__PURE__ */ G("h3", { id: this.anchorId }, this.text) : this.level === 4 ? /* @__PURE__ */ G("h4", { id: this.anchorId }, this.text) : this.level === 5 ? /* @__PURE__ */ G("h5", { id: this.anchorId }, this.text) : /* @__PURE__ */ G("h6", { id: this.anchorId }, this.text);
145
152
  }
146
153
  }
147
154
  Ae = ot;
148
- [nt, Se] = tt(Ae, [], Te, 0, void 0, q).c;
155
+ [nt, Se] = tt(Ae, [], _e, 0, void 0, q).c;
149
156
  Se();
150
157
  const de = "wsx-marked-code{display:block;width:100%;margin:1rem 0;position:relative}.code-container{display:flex;flex-direction:column;width:100%;background:var(--bg-secondary, #fde8d1);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #0000001a;border:1px solid var(--border-color, #fed7aa)}wsx-marked-code .language-label{display:block;padding:.75rem 1.5rem;background:var(--bg-primary, #fef2e5);border-bottom:1px solid var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50);font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}wsx-marked-code pre{padding:1.5rem;margin:0;background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50);font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6;overflow-x:auto;position:relative}wsx-marked-code code{display:block;background:transparent;padding:0;border:none;font-family:inherit;font-size:inherit;white-space:pre;word-wrap:normal;word-break:normal;tab-size:4;-moz-tab-size:4;-o-tab-size:4}@media (prefers-color-scheme: dark){.code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}}.light .code-container,[data-theme=light] .code-container{background:var(--bg-secondary, #fde8d1);border-color:var(--border-color, #fed7aa)}.light wsx-marked-code .language-label,[data-theme=light] wsx-marked-code .language-label{background:var(--bg-primary, #fef2e5);border-color:var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50)}.light wsx-marked-code pre,[data-theme=light] wsx-marked-code pre{background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50)}[data-theme=dark] .code-container,.dark .code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}[data-theme=dark] wsx-marked-code .language-label,.dark wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}[data-theme=dark] wsx-marked-code pre,.dark wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}.light wsx-marked-code code[class*=language-],[data-theme=light] wsx-marked-code code[class*=language-]{background:transparent;color:#1f2937}.light wsx-marked-code .token.comment,.light wsx-marked-code .token.prolog,.light wsx-marked-code .token.doctype,.light wsx-marked-code .token.cdata,[data-theme=light] wsx-marked-code .token.comment,[data-theme=light] wsx-marked-code .token.prolog,[data-theme=light] wsx-marked-code .token.doctype,[data-theme=light] wsx-marked-code .token.cdata{color:#4b5563;font-style:italic}.light wsx-marked-code .token.punctuation,[data-theme=light] wsx-marked-code .token.punctuation{color:#111827}.light wsx-marked-code .token.property,.light wsx-marked-code .token.tag,.light wsx-marked-code .token.boolean,.light wsx-marked-code .token.number,.light wsx-marked-code .token.constant,.light wsx-marked-code .token.symbol,.light wsx-marked-code .token.deleted,[data-theme=light] wsx-marked-code .token.property,[data-theme=light] wsx-marked-code .token.tag,[data-theme=light] wsx-marked-code .token.boolean,[data-theme=light] wsx-marked-code .token.number,[data-theme=light] wsx-marked-code .token.constant,[data-theme=light] wsx-marked-code .token.symbol,[data-theme=light] wsx-marked-code .token.deleted{color:#be185d}.light wsx-marked-code .token.selector,.light wsx-marked-code .token.attr-name,.light wsx-marked-code .token.string,.light wsx-marked-code .token.char,.light wsx-marked-code .token.builtin,.light wsx-marked-code .token.inserted,[data-theme=light] wsx-marked-code .token.selector,[data-theme=light] wsx-marked-code .token.attr-name,[data-theme=light] wsx-marked-code .token.string,[data-theme=light] wsx-marked-code .token.char,[data-theme=light] wsx-marked-code .token.builtin,[data-theme=light] wsx-marked-code .token.inserted{color:#059669}.light wsx-marked-code .token.operator,.light wsx-marked-code .token.entity,.light wsx-marked-code .token.url,.light wsx-marked-code .language-css .token.string,.light wsx-marked-code .style .token.string,[data-theme=light] wsx-marked-code .token.operator,[data-theme=light] wsx-marked-code .token.entity,[data-theme=light] wsx-marked-code .token.url,[data-theme=light] wsx-marked-code .language-css .token.string,[data-theme=light] wsx-marked-code .style .token.string{color:#111827}.light wsx-marked-code .token.atrule,.light wsx-marked-code .token.attr-value,.light wsx-marked-code .token.keyword,[data-theme=light] wsx-marked-code .token.atrule,[data-theme=light] wsx-marked-code .token.attr-value,[data-theme=light] wsx-marked-code .token.keyword{color:#7c3aed;font-weight:600}.light wsx-marked-code .token.function,.light wsx-marked-code .token.class-name,[data-theme=light] wsx-marked-code .token.function,[data-theme=light] wsx-marked-code .token.class-name{color:#0369a1}.light wsx-marked-code .token.regex,.light wsx-marked-code .token.important,.light wsx-marked-code .token.variable,[data-theme=light] wsx-marked-code .token.regex,[data-theme=light] wsx-marked-code .token.important,[data-theme=light] wsx-marked-code .token.variable{color:#c2410c}.light wsx-marked-code .token.decorator,.light wsx-marked-code .token.decorator-name,[data-theme=light] wsx-marked-code .token.decorator,[data-theme=light] wsx-marked-code .token.decorator-name{color:#c2410c}.light wsx-marked-code .token.web-component,.light wsx-marked-code .token.tag-name,[data-theme=light] wsx-marked-code .token.web-component,[data-theme=light] wsx-marked-code .token.tag-name{color:#0369a1}wsx-marked-code code[class*=language-]{background:transparent;color:#24292e}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#5a6268;font-style:italic}wsx-marked-code .token.punctuation{color:#1a1a1a}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#c7254e}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#005cc5}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#1a1a1a}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#d73a49;font-weight:600}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#6f42c1}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#e36209}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#e36209}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#6f42c1}@media (prefers-color-scheme: dark){wsx-marked-code code[class*=language-]{color:#f8f8f2}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#75715e;font-style:italic}wsx-marked-code .token.punctuation{color:#f8f8f2}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#f92672}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#e6db74}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#f8f8f2}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#a6e22e}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#fd971f}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#fd971f}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#a6e22e}}[data-theme=dark] wsx-marked-code code[class*=language-],.dark wsx-marked-code code[class*=language-]{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.comment,[data-theme=dark] wsx-marked-code .token.prolog,[data-theme=dark] wsx-marked-code .token.doctype,[data-theme=dark] wsx-marked-code .token.cdata,.dark wsx-marked-code .token.comment,.dark wsx-marked-code .token.prolog,.dark wsx-marked-code .token.doctype,.dark wsx-marked-code .token.cdata{color:#75715e;font-style:italic}[data-theme=dark] wsx-marked-code .token.punctuation,.dark wsx-marked-code .token.punctuation{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.property,[data-theme=dark] wsx-marked-code .token.tag,[data-theme=dark] wsx-marked-code .token.boolean,[data-theme=dark] wsx-marked-code .token.number,[data-theme=dark] wsx-marked-code .token.constant,[data-theme=dark] wsx-marked-code .token.symbol,[data-theme=dark] wsx-marked-code .token.deleted,.dark wsx-marked-code .token.property,.dark wsx-marked-code .token.tag,.dark wsx-marked-code .token.boolean,.dark wsx-marked-code .token.number,.dark wsx-marked-code .token.constant,.dark wsx-marked-code .token.symbol,.dark wsx-marked-code .token.deleted{color:#f92672}[data-theme=dark] wsx-marked-code .token.selector,[data-theme=dark] wsx-marked-code .token.attr-name,[data-theme=dark] wsx-marked-code .token.string,[data-theme=dark] wsx-marked-code .token.char,[data-theme=dark] wsx-marked-code .token.builtin,[data-theme=dark] wsx-marked-code .token.inserted,.dark wsx-marked-code .token.selector,.dark wsx-marked-code .token.attr-name,.dark wsx-marked-code .token.string,.dark wsx-marked-code .token.char,.dark wsx-marked-code .token.builtin,.dark wsx-marked-code .token.inserted{color:#e6db74}[data-theme=dark] wsx-marked-code .token.operator,[data-theme=dark] wsx-marked-code .token.entity,[data-theme=dark] wsx-marked-code .token.url,[data-theme=dark] wsx-marked-code .language-css .token.string,[data-theme=dark] wsx-marked-code .style .token.string,.dark wsx-marked-code .token.operator,.dark wsx-marked-code .token.entity,.dark wsx-marked-code .token.url,.dark wsx-marked-code .language-css .token.string,.dark wsx-marked-code .style .token.string{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.atrule,[data-theme=dark] wsx-marked-code .token.attr-value,[data-theme=dark] wsx-marked-code .token.keyword,.dark wsx-marked-code .token.atrule,.dark wsx-marked-code .token.attr-value,.dark wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}[data-theme=dark] wsx-marked-code .token.function,[data-theme=dark] wsx-marked-code .token.class-name,.dark wsx-marked-code .token.function,.dark wsx-marked-code .token.class-name{color:#a6e22e}[data-theme=dark] wsx-marked-code .token.regex,[data-theme=dark] wsx-marked-code .token.important,[data-theme=dark] wsx-marked-code .token.variable,.dark wsx-marked-code .token.regex,.dark wsx-marked-code .token.important,.dark wsx-marked-code .token.variable{color:#fd971f}[data-theme=dark] wsx-marked-code .token.decorator,[data-theme=dark] wsx-marked-code .token.decorator-name,.dark wsx-marked-code .token.decorator,.dark wsx-marked-code .token.decorator-name{color:#fd971f}[data-theme=dark] wsx-marked-code .token.web-component,[data-theme=dark] wsx-marked-code .token.tag-name,.dark wsx-marked-code .token.web-component,.dark wsx-marked-code .token.tag-name{color:#a6e22e}wsx-marked-code .token.namespace{opacity:.7}wsx-marked-code .token.important{font-weight:700}wsx-marked-code .token.bold{font-weight:700}wsx-marked-code .token.italic{font-style:italic}wsx-marked-code pre::-webkit-scrollbar{height:8px}wsx-marked-code pre::-webkit-scrollbar-track{background:transparent}wsx-marked-code pre::-webkit-scrollbar-thumb{background:var(--border-color, #e5e7eb);border-radius:4px}wsx-marked-code pre::-webkit-scrollbar-thumb:hover{background:var(--text-secondary, #6b7280)}@media (max-width: 768px){wsx-marked-code .language-label{padding:.5rem 1rem;font-size:.8rem}wsx-marked-code pre{padding:1rem;font-size:.85rem}}";
151
158
  var ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
152
159
  function st(e) {
153
160
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
154
161
  }
155
- var Fe = { exports: {} };
162
+ var Ie = { exports: {} };
156
163
  (function(e) {
157
164
  var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
158
165
  /**
@@ -163,8 +170,8 @@ var Fe = { exports: {} };
163
170
  * @namespace
164
171
  * @public
165
172
  */
166
- var r = function(i) {
167
- var T = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, P = 0, S = {}, E = {
173
+ var r = function(o) {
174
+ var _ = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, P = 0, S = {}, E = {
168
175
  /**
169
176
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
170
177
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -186,7 +193,7 @@ var Fe = { exports: {} };
186
193
  * @memberof Prism
187
194
  * @public
188
195
  */
189
- manual: i.Prism && i.Prism.manual,
196
+ manual: o.Prism && o.Prism.manual,
190
197
  /**
191
198
  * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
192
199
  * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
@@ -208,7 +215,7 @@ var Fe = { exports: {} };
208
215
  * @memberof Prism
209
216
  * @public
210
217
  */
211
- disableWorkerMessageHandler: i.Prism && i.Prism.disableWorkerMessageHandler,
218
+ disableWorkerMessageHandler: o.Prism && o.Prism.disableWorkerMessageHandler,
212
219
  /**
213
220
  * A namespace for utility methods.
214
221
  *
@@ -219,8 +226,8 @@ var Fe = { exports: {} };
219
226
  * @memberof Prism
220
227
  */
221
228
  util: {
222
- encode: function a(s) {
223
- return s instanceof w ? new w(s.type, a(s.content), s.alias) : Array.isArray(s) ? s.map(a) : s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
229
+ encode: function a(i) {
230
+ return i instanceof w ? new w(i.type, a(i.content), i.alias) : Array.isArray(i) ? i.map(a) : i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
224
231
  },
225
232
  /**
226
233
  * Returns the name of the type of the given value.
@@ -260,30 +267,30 @@ var Fe = { exports: {} };
260
267
  * @returns {T}
261
268
  * @template T
262
269
  */
263
- clone: function a(s, p) {
270
+ clone: function a(i, p) {
264
271
  p = p || {};
265
272
  var g, k;
266
- switch (E.util.type(s)) {
273
+ switch (E.util.type(i)) {
267
274
  case "Object":
268
- if (k = E.util.objId(s), p[k])
275
+ if (k = E.util.objId(i), p[k])
269
276
  return p[k];
270
277
  g = /** @type {Record<string, any>} */
271
278
  {}, p[k] = g;
272
- for (var h in s)
273
- s.hasOwnProperty(h) && (g[h] = a(s[h], p));
279
+ for (var h in i)
280
+ i.hasOwnProperty(h) && (g[h] = a(i[h], p));
274
281
  return (
275
282
  /** @type {any} */
276
283
  g
277
284
  );
278
285
  case "Array":
279
- return k = E.util.objId(s), p[k] ? p[k] : (g = [], p[k] = g, /** @type {Array} */
286
+ return k = E.util.objId(i), p[k] ? p[k] : (g = [], p[k] = g, /** @type {Array} */
280
287
  /** @type {any} */
281
- s.forEach(function(m, u) {
282
- g[u] = a(m, p);
288
+ i.forEach(function(m, c) {
289
+ g[c] = a(m, p);
283
290
  }), /** @type {any} */
284
291
  g);
285
292
  default:
286
- return s;
293
+ return i;
287
294
  }
288
295
  },
289
296
  /**
@@ -296,9 +303,9 @@ var Fe = { exports: {} };
296
303
  */
297
304
  getLanguage: function(a) {
298
305
  for (; a; ) {
299
- var s = T.exec(a.className);
300
- if (s)
301
- return s[1].toLowerCase();
306
+ var i = _.exec(a.className);
307
+ if (i)
308
+ return i[1].toLowerCase();
302
309
  a = a.parentElement;
303
310
  }
304
311
  return "none";
@@ -310,8 +317,8 @@ var Fe = { exports: {} };
310
317
  * @param {string} language
311
318
  * @returns {void}
312
319
  */
313
- setLanguage: function(a, s) {
314
- a.className = a.className.replace(RegExp(T, "gi"), ""), a.classList.add("language-" + s);
320
+ setLanguage: function(a, i) {
321
+ a.className = a.className.replace(RegExp(_, "gi"), ""), a.classList.add("language-" + i);
315
322
  },
316
323
  /**
317
324
  * Returns the script element that is currently executing.
@@ -333,10 +340,10 @@ var Fe = { exports: {} };
333
340
  } catch (g) {
334
341
  var a = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(g.stack) || [])[1];
335
342
  if (a) {
336
- var s = document.getElementsByTagName("script");
337
- for (var p in s)
338
- if (s[p].src == a)
339
- return s[p];
343
+ var i = document.getElementsByTagName("script");
344
+ for (var p in i)
345
+ if (i[p].src == a)
346
+ return i[p];
340
347
  }
341
348
  return null;
342
349
  }
@@ -360,10 +367,10 @@ var Fe = { exports: {} };
360
367
  * @param {boolean} [defaultActivation=false]
361
368
  * @returns {boolean}
362
369
  */
363
- isActive: function(a, s, p) {
364
- for (var g = "no-" + s; a; ) {
370
+ isActive: function(a, i, p) {
371
+ for (var g = "no-" + i; a; ) {
365
372
  var k = a.classList;
366
- if (k.contains(s))
373
+ if (k.contains(i))
367
374
  return !0;
368
375
  if (k.contains(g))
369
376
  return !1;
@@ -415,10 +422,10 @@ var Fe = { exports: {} };
415
422
  * 'color': /\b(?:red|green|blue)\b/
416
423
  * });
417
424
  */
418
- extend: function(a, s) {
425
+ extend: function(a, i) {
419
426
  var p = E.util.clone(E.languages[a]);
420
- for (var g in s)
421
- p[g] = s[g];
427
+ for (var g in i)
428
+ p[g] = i[g];
422
429
  return p;
423
430
  },
424
431
  /**
@@ -496,15 +503,15 @@ var Fe = { exports: {} };
496
503
  * @returns {Grammar} The new grammar object.
497
504
  * @public
498
505
  */
499
- insertBefore: function(a, s, p, g) {
506
+ insertBefore: function(a, i, p, g) {
500
507
  g = g || /** @type {any} */
501
508
  E.languages;
502
509
  var k = g[a], h = {};
503
510
  for (var m in k)
504
511
  if (k.hasOwnProperty(m)) {
505
- if (m == s)
506
- for (var u in p)
507
- p.hasOwnProperty(u) && (h[u] = p[u]);
512
+ if (m == i)
513
+ for (var c in p)
514
+ p.hasOwnProperty(c) && (h[c] = p[c]);
508
515
  p.hasOwnProperty(m) || (h[m] = k[m]);
509
516
  }
510
517
  var b = g[a];
@@ -513,14 +520,14 @@ var Fe = { exports: {} };
513
520
  }), h;
514
521
  },
515
522
  // Traverse a language definition with Depth First Search
516
- DFS: function a(s, p, g, k) {
523
+ DFS: function a(i, p, g, k) {
517
524
  k = k || {};
518
525
  var h = E.util.objId;
519
- for (var m in s)
520
- if (s.hasOwnProperty(m)) {
521
- p.call(s, m, s[m], g || m);
522
- var u = s[m], b = E.util.type(u);
523
- b === "Object" && !k[h(u)] ? (k[h(u)] = !0, a(u, p, null, k)) : b === "Array" && !k[h(u)] && (k[h(u)] = !0, a(u, p, m, k));
526
+ for (var m in i)
527
+ if (i.hasOwnProperty(m)) {
528
+ p.call(i, m, i[m], g || m);
529
+ var c = i[m], b = E.util.type(c);
530
+ b === "Object" && !k[h(c)] ? (k[h(c)] = !0, a(c, p, null, k)) : b === "Array" && !k[h(c)] && (k[h(c)] = !0, a(c, p, m, k));
524
531
  }
525
532
  }
526
533
  },
@@ -537,8 +544,8 @@ var Fe = { exports: {} };
537
544
  * @memberof Prism
538
545
  * @public
539
546
  */
540
- highlightAll: function(a, s) {
541
- E.highlightAllUnder(document, a, s);
547
+ highlightAll: function(a, i) {
548
+ E.highlightAllUnder(document, a, i);
542
549
  },
543
550
  /**
544
551
  * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
@@ -555,7 +562,7 @@ var Fe = { exports: {} };
555
562
  * @memberof Prism
556
563
  * @public
557
564
  */
558
- highlightAllUnder: function(a, s, p) {
565
+ highlightAllUnder: function(a, i, p) {
559
566
  var g = {
560
567
  callback: p,
561
568
  container: a,
@@ -563,7 +570,7 @@ var Fe = { exports: {} };
563
570
  };
564
571
  E.hooks.run("before-highlightall", g), g.elements = Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)), E.hooks.run("before-all-elements-highlight", g);
565
572
  for (var k = 0, h; h = g.elements[k++]; )
566
- E.highlightElement(h, s === !0, g.callback);
573
+ E.highlightElement(h, i === !0, g.callback);
567
574
  },
568
575
  /**
569
576
  * Highlights the code inside a single element.
@@ -593,39 +600,39 @@ var Fe = { exports: {} };
593
600
  * @memberof Prism
594
601
  * @public
595
602
  */
596
- highlightElement: function(a, s, p) {
603
+ highlightElement: function(a, i, p) {
597
604
  var g = E.util.getLanguage(a), k = E.languages[g];
598
605
  E.util.setLanguage(a, g);
599
606
  var h = a.parentElement;
600
607
  h && h.nodeName.toLowerCase() === "pre" && E.util.setLanguage(h, g);
601
- var m = a.textContent, u = {
608
+ var m = a.textContent, c = {
602
609
  element: a,
603
610
  language: g,
604
611
  grammar: k,
605
612
  code: m
606
613
  };
607
614
  function b(x) {
608
- u.highlightedCode = x, E.hooks.run("before-insert", u), u.element.innerHTML = u.highlightedCode, E.hooks.run("after-highlight", u), E.hooks.run("complete", u), p && p.call(u.element);
615
+ c.highlightedCode = x, E.hooks.run("before-insert", c), c.element.innerHTML = c.highlightedCode, E.hooks.run("after-highlight", c), E.hooks.run("complete", c), p && p.call(c.element);
609
616
  }
610
- if (E.hooks.run("before-sanity-check", u), h = u.element.parentElement, h && h.nodeName.toLowerCase() === "pre" && !h.hasAttribute("tabindex") && h.setAttribute("tabindex", "0"), !u.code) {
611
- E.hooks.run("complete", u), p && p.call(u.element);
617
+ if (E.hooks.run("before-sanity-check", c), h = c.element.parentElement, h && h.nodeName.toLowerCase() === "pre" && !h.hasAttribute("tabindex") && h.setAttribute("tabindex", "0"), !c.code) {
618
+ E.hooks.run("complete", c), p && p.call(c.element);
612
619
  return;
613
620
  }
614
- if (E.hooks.run("before-highlight", u), !u.grammar) {
615
- b(E.util.encode(u.code));
621
+ if (E.hooks.run("before-highlight", c), !c.grammar) {
622
+ b(E.util.encode(c.code));
616
623
  return;
617
624
  }
618
- if (s && i.Worker) {
625
+ if (i && o.Worker) {
619
626
  var A = new Worker(E.filename);
620
627
  A.onmessage = function(x) {
621
628
  b(x.data);
622
629
  }, A.postMessage(JSON.stringify({
623
- language: u.language,
624
- code: u.code,
630
+ language: c.language,
631
+ code: c.code,
625
632
  immediateClose: !0
626
633
  }));
627
634
  } else
628
- b(E.highlight(u.code, u.grammar, u.language));
635
+ b(E.highlight(c.code, c.grammar, c.language));
629
636
  },
630
637
  /**
631
638
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -647,10 +654,10 @@ var Fe = { exports: {} };
647
654
  * @example
648
655
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
649
656
  */
650
- highlight: function(a, s, p) {
657
+ highlight: function(a, i, p) {
651
658
  var g = {
652
659
  code: a,
653
- grammar: s,
660
+ grammar: i,
654
661
  language: p
655
662
  };
656
663
  if (E.hooks.run("before-tokenize", g), !g.grammar)
@@ -681,15 +688,15 @@ var Fe = { exports: {} };
681
688
  * }
682
689
  * });
683
690
  */
684
- tokenize: function(a, s) {
685
- var p = s.rest;
691
+ tokenize: function(a, i) {
692
+ var p = i.rest;
686
693
  if (p) {
687
694
  for (var g in p)
688
- s[g] = p[g];
689
- delete s.rest;
695
+ i[g] = p[g];
696
+ delete i.rest;
690
697
  }
691
- var k = new _();
692
- return N(k, k.head, a), L(a, k, s, k.head, 0), n(k);
698
+ var k = new T();
699
+ return N(k, k.head, a), L(a, k, i, k.head, 0), n(k);
693
700
  },
694
701
  /**
695
702
  * @namespace
@@ -710,9 +717,9 @@ var Fe = { exports: {} };
710
717
  * @param {HookCallback} callback The callback function which is given environment variables.
711
718
  * @public
712
719
  */
713
- add: function(a, s) {
720
+ add: function(a, i) {
714
721
  var p = E.hooks.all;
715
- p[a] = p[a] || [], p[a].push(s);
722
+ p[a] = p[a] || [], p[a].push(i);
716
723
  },
717
724
  /**
718
725
  * Runs a hook invoking all registered callbacks with the given environment variables.
@@ -723,44 +730,44 @@ var Fe = { exports: {} };
723
730
  * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
724
731
  * @public
725
732
  */
726
- run: function(a, s) {
733
+ run: function(a, i) {
727
734
  var p = E.hooks.all[a];
728
735
  if (!(!p || !p.length))
729
736
  for (var g = 0, k; k = p[g++]; )
730
- k(s);
737
+ k(i);
731
738
  }
732
739
  },
733
740
  Token: w
734
741
  };
735
- i.Prism = E;
736
- function w(a, s, p, g) {
737
- this.type = a, this.content = s, this.alias = p, this.length = (g || "").length | 0;
742
+ o.Prism = E;
743
+ function w(a, i, p, g) {
744
+ this.type = a, this.content = i, this.alias = p, this.length = (g || "").length | 0;
738
745
  }
739
- w.stringify = function a(s, p) {
740
- if (typeof s == "string")
741
- return s;
742
- if (Array.isArray(s)) {
746
+ w.stringify = function a(i, p) {
747
+ if (typeof i == "string")
748
+ return i;
749
+ if (Array.isArray(i)) {
743
750
  var g = "";
744
- return s.forEach(function(b) {
751
+ return i.forEach(function(b) {
745
752
  g += a(b, p);
746
753
  }), g;
747
754
  }
748
755
  var k = {
749
- type: s.type,
750
- content: a(s.content, p),
756
+ type: i.type,
757
+ content: a(i.content, p),
751
758
  tag: "span",
752
- classes: ["token", s.type],
759
+ classes: ["token", i.type],
753
760
  attributes: {},
754
761
  language: p
755
- }, h = s.alias;
762
+ }, h = i.alias;
756
763
  h && (Array.isArray(h) ? Array.prototype.push.apply(k.classes, h) : k.classes.push(h)), E.hooks.run("wrap", k);
757
764
  var m = "";
758
- for (var u in k.attributes)
759
- m += " " + u + '="' + (k.attributes[u] || "").replace(/"/g, "&quot;") + '"';
765
+ for (var c in k.attributes)
766
+ m += " " + c + '="' + (k.attributes[c] || "").replace(/"/g, "&quot;") + '"';
760
767
  return "<" + k.tag + ' class="' + k.classes.join(" ") + '"' + m + ">" + k.content + "</" + k.tag + ">";
761
768
  };
762
- function D(a, s, p, g) {
763
- a.lastIndex = s;
769
+ function D(a, i, p, g) {
770
+ a.lastIndex = i;
764
771
  var k = a.exec(p);
765
772
  if (k && g && k[1]) {
766
773
  var h = k[1].length;
@@ -768,86 +775,86 @@ var Fe = { exports: {} };
768
775
  }
769
776
  return k;
770
777
  }
771
- function L(a, s, p, g, k, h) {
778
+ function L(a, i, p, g, k, h) {
772
779
  for (var m in p)
773
780
  if (!(!p.hasOwnProperty(m) || !p[m])) {
774
- var u = p[m];
775
- u = Array.isArray(u) ? u : [u];
776
- for (var b = 0; b < u.length; ++b) {
781
+ var c = p[m];
782
+ c = Array.isArray(c) ? c : [c];
783
+ for (var b = 0; b < c.length; ++b) {
777
784
  if (h && h.cause == m + "," + b)
778
785
  return;
779
- var A = u[b], x = A.inside, F = !!A.lookbehind, I = !!A.greedy, $ = A.alias;
780
- if (I && !A.pattern.global) {
781
- var o = A.pattern.toString().match(/[imsuy]*$/)[0];
782
- A.pattern = RegExp(A.pattern.source, o + "g");
786
+ var A = c[b], x = A.inside, I = !!A.lookbehind, F = !!A.greedy, $ = A.alias;
787
+ if (F && !A.pattern.global) {
788
+ var s = A.pattern.toString().match(/[imsuy]*$/)[0];
789
+ A.pattern = RegExp(A.pattern.source, s + "g");
783
790
  }
784
- for (var R = A.pattern || A, v = g.next, y = k; v !== s.tail && !(h && y >= h.reach); y += v.value.length, v = v.next) {
791
+ for (var R = A.pattern || A, v = g.next, y = k; v !== i.tail && !(h && y >= h.reach); y += v.value.length, v = v.next) {
785
792
  var M = v.value;
786
- if (s.length > a.length)
793
+ if (i.length > a.length)
787
794
  return;
788
795
  if (!(M instanceof w)) {
789
796
  var Z = 1, B;
790
- if (I) {
791
- if (B = D(R, y, a, F), !B || B.index >= a.length)
797
+ if (F) {
798
+ if (B = D(R, y, a, I), !B || B.index >= a.length)
792
799
  break;
793
800
  var z = B.index, X = B.index + B[0].length, C = y;
794
801
  for (C += v.value.length; z >= C; )
795
802
  v = v.next, C += v.value.length;
796
803
  if (C -= v.value.length, y = C, v.value instanceof w)
797
804
  continue;
798
- for (var j = v; j !== s.tail && (C < X || typeof j.value == "string"); j = j.next)
805
+ for (var j = v; j !== i.tail && (C < X || typeof j.value == "string"); j = j.next)
799
806
  Z++, C += j.value.length;
800
807
  Z--, M = a.slice(y, C), B.index -= y;
801
- } else if (B = D(R, 0, M, F), !B)
808
+ } else if (B = D(R, 0, M, I), !B)
802
809
  continue;
803
810
  var z = B.index, Y = B[0], f = M.slice(0, z), O = M.slice(z + Y.length), H = y + M.length;
804
811
  h && H > h.reach && (h.reach = H);
805
812
  var ee = v.prev;
806
- f && (ee = N(s, ee, f), y += f.length), U(s, ee, Z);
813
+ f && (ee = N(i, ee, f), y += f.length), U(i, ee, Z);
807
814
  var et = new w(m, x ? E.tokenize(Y, x) : Y, $, Y);
808
- if (v = N(s, ee, et), O && N(s, v, O), Z > 1) {
809
- var te = {
815
+ if (v = N(i, ee, et), O && N(i, v, O), Z > 1) {
816
+ var re = {
810
817
  cause: m + "," + b,
811
818
  reach: H
812
819
  };
813
- L(a, s, p, v.prev, y, te), h && te.reach > h.reach && (h.reach = te.reach);
820
+ L(a, i, p, v.prev, y, re), h && re.reach > h.reach && (h.reach = re.reach);
814
821
  }
815
822
  }
816
823
  }
817
824
  }
818
825
  }
819
826
  }
820
- function _() {
821
- var a = { value: null, prev: null, next: null }, s = { value: null, prev: a, next: null };
822
- a.next = s, this.head = a, this.tail = s, this.length = 0;
827
+ function T() {
828
+ var a = { value: null, prev: null, next: null }, i = { value: null, prev: a, next: null };
829
+ a.next = i, this.head = a, this.tail = i, this.length = 0;
823
830
  }
824
- function N(a, s, p) {
825
- var g = s.next, k = { value: p, prev: s, next: g };
826
- return s.next = k, g.prev = k, a.length++, k;
831
+ function N(a, i, p) {
832
+ var g = i.next, k = { value: p, prev: i, next: g };
833
+ return i.next = k, g.prev = k, a.length++, k;
827
834
  }
828
- function U(a, s, p) {
829
- for (var g = s.next, k = 0; k < p && g !== a.tail; k++)
835
+ function U(a, i, p) {
836
+ for (var g = i.next, k = 0; k < p && g !== a.tail; k++)
830
837
  g = g.next;
831
- s.next = g, g.prev = s, a.length -= k;
838
+ i.next = g, g.prev = i, a.length -= k;
832
839
  }
833
840
  function n(a) {
834
- for (var s = [], p = a.head.next; p !== a.tail; )
835
- s.push(p.value), p = p.next;
836
- return s;
841
+ for (var i = [], p = a.head.next; p !== a.tail; )
842
+ i.push(p.value), p = p.next;
843
+ return i;
837
844
  }
838
- if (!i.document)
839
- return i.addEventListener && (E.disableWorkerMessageHandler || i.addEventListener("message", function(a) {
840
- var s = JSON.parse(a.data), p = s.language, g = s.code, k = s.immediateClose;
841
- i.postMessage(E.highlight(g, E.languages[p], p)), k && i.close();
845
+ if (!o.document)
846
+ return o.addEventListener && (E.disableWorkerMessageHandler || o.addEventListener("message", function(a) {
847
+ var i = JSON.parse(a.data), p = i.language, g = i.code, k = i.immediateClose;
848
+ o.postMessage(E.highlight(g, E.languages[p], p)), k && o.close();
842
849
  }, !1)), E;
843
- var c = E.util.currentScript();
844
- c && (E.filename = c.src, c.hasAttribute("data-manual") && (E.manual = !0));
850
+ var u = E.util.currentScript();
851
+ u && (E.filename = u.src, u.hasAttribute("data-manual") && (E.manual = !0));
845
852
  function d() {
846
853
  E.manual || E.highlightAll();
847
854
  }
848
855
  if (!E.manual) {
849
856
  var l = document.readyState;
850
- l === "loading" || l === "interactive" && c && c.defer ? document.addEventListener("DOMContentLoaded", d) : window.requestAnimationFrame ? window.requestAnimationFrame(d) : window.setTimeout(d, 16);
857
+ l === "loading" || l === "interactive" && u && u.defer ? document.addEventListener("DOMContentLoaded", d) : window.requestAnimationFrame ? window.requestAnimationFrame(d) : window.setTimeout(d, 16);
851
858
  }
852
859
  return E;
853
860
  }(t);
@@ -928,8 +935,8 @@ var Fe = { exports: {} };
928
935
  },
929
936
  /&#x?[\da-f]{1,8};/i
930
937
  ]
931
- }, r.languages.markup.tag.inside["attr-value"].inside.entity = r.languages.markup.entity, r.languages.markup.doctype.inside["internal-subset"].inside = r.languages.markup, r.hooks.add("wrap", function(i) {
932
- i.type === "entity" && (i.attributes.title = i.content.replace(/&amp;/, "&"));
938
+ }, r.languages.markup.tag.inside["attr-value"].inside.entity = r.languages.markup.entity, r.languages.markup.doctype.inside["internal-subset"].inside = r.languages.markup, r.hooks.add("wrap", function(o) {
939
+ o.type === "entity" && (o.attributes.title = o.content.replace(/&amp;/, "&"));
933
940
  }), Object.defineProperty(r.languages.markup.tag, "addInlined", {
934
941
  /**
935
942
  * Adds an inlined language to markup.
@@ -942,7 +949,7 @@ var Fe = { exports: {} };
942
949
  * @example
943
950
  * addInlined('style', 'css');
944
951
  */
945
- value: function(T, P) {
952
+ value: function(_, P) {
946
953
  var S = {};
947
954
  S["language-" + P] = {
948
955
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
@@ -960,9 +967,9 @@ var Fe = { exports: {} };
960
967
  inside: r.languages[P]
961
968
  };
962
969
  var w = {};
963
- w[T] = {
970
+ w[_] = {
964
971
  pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
965
- return T;
972
+ return _;
966
973
  }), "i"),
967
974
  lookbehind: !0,
968
975
  greedy: !0,
@@ -981,10 +988,10 @@ var Fe = { exports: {} };
981
988
  * @example
982
989
  * addAttribute('style', 'css');
983
990
  */
984
- value: function(i, T) {
991
+ value: function(o, _) {
985
992
  r.languages.markup.tag.inside["special-attr"].push({
986
993
  pattern: RegExp(
987
- /(^|["'\s])/.source + "(?:" + i + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
994
+ /(^|["'\s])/.source + "(?:" + o + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
988
995
  "i"
989
996
  ),
990
997
  lookbehind: !0,
@@ -996,8 +1003,8 @@ var Fe = { exports: {} };
996
1003
  value: {
997
1004
  pattern: /(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,
998
1005
  lookbehind: !0,
999
- alias: [T, "language-" + T],
1000
- inside: r.languages[T]
1006
+ alias: [_, "language-" + _],
1007
+ inside: r.languages[_]
1001
1008
  },
1002
1009
  punctuation: [
1003
1010
  {
@@ -1011,12 +1018,12 @@ var Fe = { exports: {} };
1011
1018
  }
1012
1019
  });
1013
1020
  }
1014
- }), r.languages.html = r.languages.markup, r.languages.mathml = r.languages.markup, r.languages.svg = r.languages.markup, r.languages.xml = r.languages.extend("markup", {}), r.languages.ssml = r.languages.xml, r.languages.atom = r.languages.xml, r.languages.rss = r.languages.xml, function(i) {
1015
- var T = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
1016
- i.languages.css = {
1021
+ }), r.languages.html = r.languages.markup, r.languages.mathml = r.languages.markup, r.languages.svg = r.languages.markup, r.languages.xml = r.languages.extend("markup", {}), r.languages.ssml = r.languages.xml, r.languages.atom = r.languages.xml, r.languages.rss = r.languages.xml, function(o) {
1022
+ var _ = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
1023
+ o.languages.css = {
1017
1024
  comment: /\/\*[\s\S]*?\*\//,
1018
1025
  atrule: {
1019
- pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + T.source + ")*?" + /(?:;|(?=\s*\{))/.source),
1026
+ pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + _.source + ")*?" + /(?:;|(?=\s*\{))/.source),
1020
1027
  inside: {
1021
1028
  rule: /^@[\w-]+/,
1022
1029
  "selector-function-argument": {
@@ -1033,23 +1040,23 @@ var Fe = { exports: {} };
1033
1040
  },
1034
1041
  url: {
1035
1042
  // https://drafts.csswg.org/css-values-3/#urls
1036
- pattern: RegExp("\\burl\\((?:" + T.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
1043
+ pattern: RegExp("\\burl\\((?:" + _.source + "|" + /(?:[^\\\r\n()"']|\\[\s\S])*/.source + ")\\)", "i"),
1037
1044
  greedy: !0,
1038
1045
  inside: {
1039
1046
  function: /^url/i,
1040
1047
  punctuation: /^\(|\)$/,
1041
1048
  string: {
1042
- pattern: RegExp("^" + T.source + "$"),
1049
+ pattern: RegExp("^" + _.source + "$"),
1043
1050
  alias: "url"
1044
1051
  }
1045
1052
  }
1046
1053
  },
1047
1054
  selector: {
1048
- pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + T.source + ")*(?=\\s*\\{)"),
1055
+ pattern: RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|` + _.source + ")*(?=\\s*\\{)"),
1049
1056
  lookbehind: !0
1050
1057
  },
1051
1058
  string: {
1052
- pattern: T,
1059
+ pattern: _,
1053
1060
  greedy: !0
1054
1061
  },
1055
1062
  property: {
@@ -1062,8 +1069,8 @@ var Fe = { exports: {} };
1062
1069
  lookbehind: !0
1063
1070
  },
1064
1071
  punctuation: /[(){};:,]/
1065
- }, i.languages.css.atrule.inside.rest = i.languages.css;
1066
- var P = i.languages.markup;
1072
+ }, o.languages.css.atrule.inside.rest = o.languages.css;
1073
+ var P = o.languages.markup;
1067
1074
  P && (P.tag.addInlined("style", "css"), P.tag.addAttribute("style", "css"));
1068
1075
  }(r), r.languages.clike = {
1069
1076
  comment: [
@@ -1229,8 +1236,8 @@ var Fe = { exports: {} };
1229
1236
  if (typeof r > "u" || typeof document > "u")
1230
1237
  return;
1231
1238
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
1232
- var i = "Loading…", T = function(c, d) {
1233
- return "✖ Error " + c + " while fetching file: " + d;
1239
+ var o = "Loading…", _ = function(u, d) {
1240
+ return "✖ Error " + u + " while fetching file: " + d;
1234
1241
  }, P = "✖ Error: File does not exist or is empty", S = {
1235
1242
  js: "javascript",
1236
1243
  py: "python",
@@ -1241,47 +1248,47 @@ var Fe = { exports: {} };
1241
1248
  bat: "batch",
1242
1249
  h: "c",
1243
1250
  tex: "latex"
1244
- }, E = "data-src-status", w = "loading", D = "loaded", L = "failed", _ = "pre[data-src]:not([" + E + '="' + D + '"]):not([' + E + '="' + w + '"])';
1245
- function N(c, d, l) {
1251
+ }, E = "data-src-status", w = "loading", D = "loaded", L = "failed", T = "pre[data-src]:not([" + E + '="' + D + '"]):not([' + E + '="' + w + '"])';
1252
+ function N(u, d, l) {
1246
1253
  var a = new XMLHttpRequest();
1247
- a.open("GET", c, !0), a.onreadystatechange = function() {
1248
- a.readyState == 4 && (a.status < 400 && a.responseText ? d(a.responseText) : a.status >= 400 ? l(T(a.status, a.statusText)) : l(P));
1254
+ a.open("GET", u, !0), a.onreadystatechange = function() {
1255
+ a.readyState == 4 && (a.status < 400 && a.responseText ? d(a.responseText) : a.status >= 400 ? l(_(a.status, a.statusText)) : l(P));
1249
1256
  }, a.send(null);
1250
1257
  }
1251
- function U(c) {
1252
- var d = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(c || "");
1258
+ function U(u) {
1259
+ var d = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(u || "");
1253
1260
  if (d) {
1254
- var l = Number(d[1]), a = d[2], s = d[3];
1255
- return a ? s ? [l, Number(s)] : [l, void 0] : [l, l];
1261
+ var l = Number(d[1]), a = d[2], i = d[3];
1262
+ return a ? i ? [l, Number(i)] : [l, void 0] : [l, l];
1256
1263
  }
1257
1264
  }
1258
- r.hooks.add("before-highlightall", function(c) {
1259
- c.selector += ", " + _;
1260
- }), r.hooks.add("before-sanity-check", function(c) {
1265
+ r.hooks.add("before-highlightall", function(u) {
1266
+ u.selector += ", " + T;
1267
+ }), r.hooks.add("before-sanity-check", function(u) {
1261
1268
  var d = (
1262
1269
  /** @type {HTMLPreElement} */
1263
- c.element
1270
+ u.element
1264
1271
  );
1265
- if (d.matches(_)) {
1266
- c.code = "", d.setAttribute(E, w);
1272
+ if (d.matches(T)) {
1273
+ u.code = "", d.setAttribute(E, w);
1267
1274
  var l = d.appendChild(document.createElement("CODE"));
1268
- l.textContent = i;
1269
- var a = d.getAttribute("data-src"), s = c.language;
1270
- if (s === "none") {
1275
+ l.textContent = o;
1276
+ var a = d.getAttribute("data-src"), i = u.language;
1277
+ if (i === "none") {
1271
1278
  var p = (/\.(\w+)$/.exec(a) || [, "none"])[1];
1272
- s = S[p] || p;
1279
+ i = S[p] || p;
1273
1280
  }
1274
- r.util.setLanguage(l, s), r.util.setLanguage(d, s);
1281
+ r.util.setLanguage(l, i), r.util.setLanguage(d, i);
1275
1282
  var g = r.plugins.autoloader;
1276
- g && g.loadLanguages(s), N(
1283
+ g && g.loadLanguages(i), N(
1277
1284
  a,
1278
1285
  function(k) {
1279
1286
  d.setAttribute(E, D);
1280
1287
  var h = U(d.getAttribute("data-range"));
1281
1288
  if (h) {
1282
- var m = k.split(/\r\n?|\n/g), u = h[0], b = h[1] == null ? m.length : h[1];
1283
- u < 0 && (u += m.length), u = Math.max(0, Math.min(u - 1, m.length)), b < 0 && (b += m.length), b = Math.max(0, Math.min(b, m.length)), k = m.slice(u, b).join(`
1284
- `), d.hasAttribute("data-start") || d.setAttribute("data-start", String(u + 1));
1289
+ var m = k.split(/\r\n?|\n/g), c = h[0], b = h[1] == null ? m.length : h[1];
1290
+ c < 0 && (c += m.length), c = Math.max(0, Math.min(c - 1, m.length)), b < 0 && (b += m.length), b = Math.max(0, Math.min(b, m.length)), k = m.slice(c, b).join(`
1291
+ `), d.hasAttribute("data-start") || d.setAttribute("data-start", String(c + 1));
1285
1292
  }
1286
1293
  l.textContent = k, r.highlightElement(l);
1287
1294
  },
@@ -1299,8 +1306,8 @@ var Fe = { exports: {} };
1299
1306
  * @param {ParentNode} [container=document]
1300
1307
  */
1301
1308
  highlight: function(d) {
1302
- for (var l = (d || document).querySelectorAll(_), a = 0, s; s = l[a++]; )
1303
- r.highlightElement(s);
1309
+ for (var l = (d || document).querySelectorAll(T), a = 0, i; i = l[a++]; )
1310
+ r.highlightElement(i);
1304
1311
  }
1305
1312
  };
1306
1313
  var n = !1;
@@ -1308,8 +1315,8 @@ var Fe = { exports: {} };
1308
1315
  n || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), n = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
1309
1316
  };
1310
1317
  }();
1311
- })(Fe);
1312
- var it = Fe.exports;
1318
+ })(Ie);
1319
+ var it = Ie.exports;
1313
1320
  const K = /* @__PURE__ */ st(it);
1314
1321
  Prism.languages.markup = {
1315
1322
  comment: {
@@ -1407,19 +1414,19 @@ Object.defineProperty(Prism.languages.markup.tag, "addInlined", {
1407
1414
  * addInlined('style', 'css');
1408
1415
  */
1409
1416
  value: function(t, r) {
1410
- var i = {};
1411
- i["language-" + r] = {
1417
+ var o = {};
1418
+ o["language-" + r] = {
1412
1419
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
1413
1420
  lookbehind: !0,
1414
1421
  inside: Prism.languages[r]
1415
- }, i.cdata = /^<!\[CDATA\[|\]\]>$/i;
1416
- var T = {
1422
+ }, o.cdata = /^<!\[CDATA\[|\]\]>$/i;
1423
+ var _ = {
1417
1424
  "included-cdata": {
1418
1425
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
1419
- inside: i
1426
+ inside: o
1420
1427
  }
1421
1428
  };
1422
- T["language-" + r] = {
1429
+ _["language-" + r] = {
1423
1430
  pattern: /[\s\S]+/,
1424
1431
  inside: Prism.languages[r]
1425
1432
  };
@@ -1430,7 +1437,7 @@ Object.defineProperty(Prism.languages.markup.tag, "addInlined", {
1430
1437
  }), "i"),
1431
1438
  lookbehind: !0,
1432
1439
  greedy: !0,
1433
- inside: T
1440
+ inside: _
1434
1441
  }, Prism.languages.insertBefore("markup", "cdata", P);
1435
1442
  }
1436
1443
  });
@@ -1709,7 +1716,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1709
1716
  // this looks reasonably well in all themes
1710
1717
  inside: null
1711
1718
  // see below
1712
- }, i = {
1719
+ }, o = {
1713
1720
  bash: r,
1714
1721
  environment: {
1715
1722
  pattern: RegExp("\\$" + t),
@@ -1821,7 +1828,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1821
1828
  pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
1822
1829
  lookbehind: !0,
1823
1830
  greedy: !0,
1824
- inside: i
1831
+ inside: o
1825
1832
  },
1826
1833
  // Here-document with quotes around the tag
1827
1834
  // → No expansion (so no “inside”).
@@ -1839,7 +1846,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1839
1846
  pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
1840
1847
  lookbehind: !0,
1841
1848
  greedy: !0,
1842
- inside: i
1849
+ inside: o
1843
1850
  },
1844
1851
  {
1845
1852
  // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
@@ -1852,7 +1859,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1852
1859
  pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
1853
1860
  greedy: !0,
1854
1861
  inside: {
1855
- entity: i.entity
1862
+ entity: o.entity
1856
1863
  }
1857
1864
  }
1858
1865
  ],
@@ -1860,7 +1867,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1860
1867
  pattern: RegExp("\\$?" + t),
1861
1868
  alias: "constant"
1862
1869
  },
1863
- variable: i.variable,
1870
+ variable: o.variable,
1864
1871
  function: {
1865
1872
  pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
1866
1873
  lookbehind: !0
@@ -1900,7 +1907,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1900
1907
  lookbehind: !0
1901
1908
  }
1902
1909
  }, r.inside = e.languages.bash;
1903
- for (var T = [
1910
+ for (var _ = [
1904
1911
  "comment",
1905
1912
  "function-name",
1906
1913
  "for-or-select",
@@ -1916,8 +1923,8 @@ Prism.languages.webmanifest = Prism.languages.json;
1916
1923
  "operator",
1917
1924
  "punctuation",
1918
1925
  "number"
1919
- ], P = i.variable[1].inside, S = 0; S < T.length; S++)
1920
- P[T[S]] = e.languages.bash[T[S]];
1926
+ ], P = o.variable[1].inside, S = 0; S < _.length; S++)
1927
+ P[_[S]] = e.languages.bash[_[S]];
1921
1928
  e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
1922
1929
  })(Prism);
1923
1930
  Prism.languages.sql = {
@@ -1954,13 +1961,13 @@ Prism.languages.sql = {
1954
1961
  punctuation: /[;[\]()`,.]/
1955
1962
  };
1956
1963
  (function(e) {
1957
- var t = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, i = "(?:" + r.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + r.source + ")?)", T = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
1964
+ var t = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, o = "(?:" + r.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + r.source + ")?)", _ = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
1958
1965
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
1959
1966
  }), P = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
1960
1967
  function S(E, w) {
1961
1968
  w = (w || "").replace(/m/g, "") + "m";
1962
1969
  var D = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
1963
- return i;
1970
+ return o;
1964
1971
  }).replace(/<<value>>/g, function() {
1965
1972
  return E;
1966
1973
  });
@@ -1969,7 +1976,7 @@ Prism.languages.sql = {
1969
1976
  e.languages.yaml = {
1970
1977
  scalar: {
1971
1978
  pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
1972
- return i;
1979
+ return o;
1973
1980
  })),
1974
1981
  lookbehind: !0,
1975
1982
  alias: "string"
@@ -1977,9 +1984,9 @@ Prism.languages.sql = {
1977
1984
  comment: /#.*/,
1978
1985
  key: {
1979
1986
  pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
1980
- return i;
1987
+ return o;
1981
1988
  }).replace(/<<key>>/g, function() {
1982
- return "(?:" + T + "|" + P + ")";
1989
+ return "(?:" + _ + "|" + P + ")";
1983
1990
  })),
1984
1991
  lookbehind: !0,
1985
1992
  greedy: !0,
@@ -2102,8 +2109,8 @@ delete Prism.languages.c.boolean;
2102
2109
  return t;
2103
2110
  }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + L + ")");
2104
2111
  }
2105
- var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, T = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
2106
- return i;
2112
+ var o = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, _ = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
2113
+ return o;
2107
2114
  }), P = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
2108
2115
  e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", {
2109
2116
  "front-matter-block": {
@@ -2125,31 +2132,31 @@ delete Prism.languages.c.boolean;
2125
2132
  alias: "punctuation"
2126
2133
  },
2127
2134
  table: {
2128
- pattern: RegExp("^" + T + P + "(?:" + T + ")*", "m"),
2135
+ pattern: RegExp("^" + _ + P + "(?:" + _ + ")*", "m"),
2129
2136
  inside: {
2130
2137
  "table-data-rows": {
2131
- pattern: RegExp("^(" + T + P + ")(?:" + T + ")*$"),
2138
+ pattern: RegExp("^(" + _ + P + ")(?:" + _ + ")*$"),
2132
2139
  lookbehind: !0,
2133
2140
  inside: {
2134
2141
  "table-data": {
2135
- pattern: RegExp(i),
2142
+ pattern: RegExp(o),
2136
2143
  inside: e.languages.markdown
2137
2144
  },
2138
2145
  punctuation: /\|/
2139
2146
  }
2140
2147
  },
2141
2148
  "table-line": {
2142
- pattern: RegExp("^(" + T + ")" + P + "$"),
2149
+ pattern: RegExp("^(" + _ + ")" + P + "$"),
2143
2150
  lookbehind: !0,
2144
2151
  inside: {
2145
2152
  punctuation: /\||:?-{3,}:?/
2146
2153
  }
2147
2154
  },
2148
2155
  "table-header-row": {
2149
- pattern: RegExp("^" + T + "$"),
2156
+ pattern: RegExp("^" + _ + "$"),
2150
2157
  inside: {
2151
2158
  "table-header": {
2152
- pattern: RegExp(i),
2159
+ pattern: RegExp(o),
2153
2160
  alias: "important",
2154
2161
  inside: e.languages.markdown
2155
2162
  },
@@ -2330,47 +2337,47 @@ delete Prism.languages.c.boolean;
2330
2337
  }
2331
2338
  }
2332
2339
  }), ["url", "bold", "italic", "strike"].forEach(function(L) {
2333
- ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(_) {
2334
- L !== _ && (e.languages.markdown[L].inside.content.inside[_] = e.languages.markdown[_]);
2340
+ ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(T) {
2341
+ L !== T && (e.languages.markdown[L].inside.content.inside[T] = e.languages.markdown[T]);
2335
2342
  });
2336
2343
  }), e.hooks.add("after-tokenize", function(L) {
2337
2344
  if (L.language !== "markdown" && L.language !== "md")
2338
2345
  return;
2339
- function _(N) {
2346
+ function T(N) {
2340
2347
  if (!(!N || typeof N == "string"))
2341
2348
  for (var U = 0, n = N.length; U < n; U++) {
2342
- var c = N[U];
2343
- if (c.type !== "code") {
2344
- _(c.content);
2349
+ var u = N[U];
2350
+ if (u.type !== "code") {
2351
+ T(u.content);
2345
2352
  continue;
2346
2353
  }
2347
- var d = c.content[1], l = c.content[3];
2354
+ var d = u.content[1], l = u.content[3];
2348
2355
  if (d && l && d.type === "code-language" && l.type === "code-block" && typeof d.content == "string") {
2349
2356
  var a = d.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
2350
2357
  a = (/[a-z][\w-]*/i.exec(a) || [""])[0].toLowerCase();
2351
- var s = "language-" + a;
2352
- l.alias ? typeof l.alias == "string" ? l.alias = [l.alias, s] : l.alias.push(s) : l.alias = [s];
2358
+ var i = "language-" + a;
2359
+ l.alias ? typeof l.alias == "string" ? l.alias = [l.alias, i] : l.alias.push(i) : l.alias = [i];
2353
2360
  }
2354
2361
  }
2355
2362
  }
2356
- _(L.tokens);
2363
+ T(L.tokens);
2357
2364
  }), e.hooks.add("wrap", function(L) {
2358
2365
  if (L.type === "code-block") {
2359
- for (var _ = "", N = 0, U = L.classes.length; N < U; N++) {
2360
- var n = L.classes[N], c = /language-(.+)/.exec(n);
2361
- if (c) {
2362
- _ = c[1];
2366
+ for (var T = "", N = 0, U = L.classes.length; N < U; N++) {
2367
+ var n = L.classes[N], u = /language-(.+)/.exec(n);
2368
+ if (u) {
2369
+ T = u[1];
2363
2370
  break;
2364
2371
  }
2365
2372
  }
2366
- var d = e.languages[_];
2373
+ var d = e.languages[T];
2367
2374
  if (d)
2368
- L.content = e.highlight(D(L.content), d, _);
2369
- else if (_ && _ !== "none" && e.plugins.autoloader) {
2375
+ L.content = e.highlight(D(L.content), d, T);
2376
+ else if (T && T !== "none" && e.plugins.autoloader) {
2370
2377
  var l = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
2371
- L.attributes.id = l, e.plugins.autoloader.loadLanguages(_, function() {
2378
+ L.attributes.id = l, e.plugins.autoloader.loadLanguages(T, function() {
2372
2379
  var a = document.getElementById(l);
2373
- a && (a.innerHTML = e.highlight(a.textContent, e.languages[_], _));
2380
+ a && (a.innerHTML = e.highlight(a.textContent, e.languages[T], T));
2374
2381
  });
2375
2382
  }
2376
2383
  }
@@ -2382,16 +2389,16 @@ delete Prism.languages.c.boolean;
2382
2389
  quot: '"'
2383
2390
  }, w = String.fromCodePoint || String.fromCharCode;
2384
2391
  function D(L) {
2385
- var _ = L.replace(S, "");
2386
- return _ = _.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, U) {
2392
+ var T = L.replace(S, "");
2393
+ return T = T.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, U) {
2387
2394
  if (U = U.toLowerCase(), U[0] === "#") {
2388
2395
  var n;
2389
2396
  return U[1] === "x" ? n = parseInt(U.slice(2), 16) : n = Number(U.slice(1)), w(n);
2390
2397
  } else {
2391
- var c = E[U];
2392
- return c || N;
2398
+ var u = E[U];
2399
+ return u || N;
2393
2400
  }
2394
- }), _;
2401
+ }), T;
2395
2402
  }
2396
2403
  e.languages.md = e.languages.markdown;
2397
2404
  })(Prism);
@@ -2459,7 +2466,7 @@ Prism.languages.python = {
2459
2466
  Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest = Prism.languages.python;
2460
2467
  Prism.languages.py = Prism.languages.python;
2461
2468
  (function(e) {
2462
- var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, i = {
2469
+ var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, o = {
2463
2470
  pattern: RegExp(/(^|[^\w.])/.source + r + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
2464
2471
  lookbehind: !0,
2465
2472
  inside: {
@@ -2479,20 +2486,20 @@ Prism.languages.py = Prism.languages.python;
2479
2486
  greedy: !0
2480
2487
  },
2481
2488
  "class-name": [
2482
- i,
2489
+ o,
2483
2490
  {
2484
2491
  // variables, parameters, and constructor references
2485
2492
  // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
2486
2493
  pattern: RegExp(/(^|[^\w.])/.source + r + /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),
2487
2494
  lookbehind: !0,
2488
- inside: i.inside
2495
+ inside: o.inside
2489
2496
  },
2490
2497
  {
2491
2498
  // class names based on keyword
2492
2499
  // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
2493
2500
  pattern: RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source + r + /[A-Z]\w*\b/.source),
2494
2501
  lookbehind: !0,
2495
- inside: i.inside
2502
+ inside: o.inside
2496
2503
  }
2497
2504
  ],
2498
2505
  keyword: t,
@@ -2529,7 +2536,7 @@ Prism.languages.py = Prism.languages.python;
2529
2536
  generics: {
2530
2537
  pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
2531
2538
  inside: {
2532
- "class-name": i,
2539
+ "class-name": o,
2533
2540
  keyword: t,
2534
2541
  punctuation: /[<>(),.:]/,
2535
2542
  operator: /[?&|]/
@@ -2540,7 +2547,7 @@ Prism.languages.py = Prism.languages.python;
2540
2547
  pattern: RegExp(/(\bimport\s+)/.source + r + /(?:[A-Z]\w*|\*)(?=\s*;)/.source),
2541
2548
  lookbehind: !0,
2542
2549
  inside: {
2543
- namespace: i.inside.namespace,
2550
+ namespace: o.inside.namespace,
2544
2551
  punctuation: /\./,
2545
2552
  operator: /\*/,
2546
2553
  "class-name": /\w+/
@@ -2551,7 +2558,7 @@ Prism.languages.py = Prism.languages.python;
2551
2558
  lookbehind: !0,
2552
2559
  alias: "static",
2553
2560
  inside: {
2554
- namespace: i.inside.namespace,
2561
+ namespace: o.inside.namespace,
2555
2562
  static: /\b\w+$/,
2556
2563
  punctuation: /\./,
2557
2564
  operator: /\*/,
@@ -2760,17 +2767,17 @@ delete Prism.languages.go["class-name"];
2760
2767
  }), e.languages.ts = e.languages.typescript;
2761
2768
  })(Prism);
2762
2769
  (function(e) {
2763
- var t = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, T = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
2770
+ var t = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, o = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, _ = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
2764
2771
  function P(w, D) {
2765
2772
  return w = w.replace(/<S>/g, function() {
2766
2773
  return r;
2767
2774
  }).replace(/<BRACES>/g, function() {
2768
- return i;
2775
+ return o;
2769
2776
  }).replace(/<SPREAD>/g, function() {
2770
- return T;
2777
+ return _;
2771
2778
  }), RegExp(w, D);
2772
2779
  }
2773
- T = P(T).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = P(
2780
+ _ = P(_).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = P(
2774
2781
  /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source
2775
2782
  ), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", {
2776
2783
  spread: {
@@ -2795,15 +2802,15 @@ delete Prism.languages.go["class-name"];
2795
2802
  return w ? typeof w == "string" ? w : typeof w.content == "string" ? w.content : w.content.map(S).join("") : "";
2796
2803
  }, E = function(w) {
2797
2804
  for (var D = [], L = 0; L < w.length; L++) {
2798
- var _ = w[L], N = !1;
2799
- if (typeof _ != "string" && (_.type === "tag" && _.content[0] && _.content[0].type === "tag" ? _.content[0].content[0].content === "</" ? D.length > 0 && D[D.length - 1].tagName === S(_.content[0].content[1]) && D.pop() : _.content[_.content.length - 1].content === "/>" || D.push({
2800
- tagName: S(_.content[0].content[1]),
2805
+ var T = w[L], N = !1;
2806
+ if (typeof T != "string" && (T.type === "tag" && T.content[0] && T.content[0].type === "tag" ? T.content[0].content[0].content === "</" ? D.length > 0 && D[D.length - 1].tagName === S(T.content[0].content[1]) && D.pop() : T.content[T.content.length - 1].content === "/>" || D.push({
2807
+ tagName: S(T.content[0].content[1]),
2801
2808
  openedBraces: 0
2802
- }) : D.length > 0 && _.type === "punctuation" && _.content === "{" ? D[D.length - 1].openedBraces++ : D.length > 0 && D[D.length - 1].openedBraces > 0 && _.type === "punctuation" && _.content === "}" ? D[D.length - 1].openedBraces-- : N = !0), (N || typeof _ == "string") && D.length > 0 && D[D.length - 1].openedBraces === 0) {
2803
- var U = S(_);
2809
+ }) : D.length > 0 && T.type === "punctuation" && T.content === "{" ? D[D.length - 1].openedBraces++ : D.length > 0 && D[D.length - 1].openedBraces > 0 && T.type === "punctuation" && T.content === "}" ? D[D.length - 1].openedBraces-- : N = !0), (N || typeof T == "string") && D.length > 0 && D[D.length - 1].openedBraces === 0) {
2810
+ var U = S(T);
2804
2811
  L < w.length - 1 && (typeof w[L + 1] == "string" || w[L + 1].type === "plain-text") && (U += S(w[L + 1]), w.splice(L + 1, 1)), L > 0 && (typeof w[L - 1] == "string" || w[L - 1].type === "plain-text") && (U = S(w[L - 1]) + U, w.splice(L - 1, 1), L--), w[L] = new e.Token("plain-text", U, null, U);
2805
2812
  }
2806
- _.content && typeof _.content != "string" && E(_.content);
2813
+ T.content && typeof T.content != "string" && E(T.content);
2807
2814
  }
2808
2815
  };
2809
2816
  e.hooks.add("after-tokenize", function(w) {
@@ -2935,41 +2942,41 @@ function lt() {
2935
2942
  }), K.languages.WSX = K.languages.wsx);
2936
2943
  }
2937
2944
  lt();
2938
- var Ie;
2945
+ var Fe;
2939
2946
  let Re, Oe;
2940
2947
  function Q(e, t, r) {
2941
2948
  return (t = Le(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
2942
2949
  }
2943
- function ut(e, t, r, i, T, P) {
2944
- function S(n, c, d) {
2950
+ function ct(e, t, r, o, _, P) {
2951
+ function S(n, u, d) {
2945
2952
  return function(l, a) {
2946
- return d && d(l), n[c].call(l, a);
2953
+ return d && d(l), n[u].call(l, a);
2947
2954
  };
2948
2955
  }
2949
- function E(n, c) {
2950
- for (var d = 0; d < n.length; d++) n[d].call(c);
2951
- return c;
2956
+ function E(n, u) {
2957
+ for (var d = 0; d < n.length; d++) n[d].call(u);
2958
+ return u;
2952
2959
  }
2953
- function w(n, c, d, l) {
2954
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
2960
+ function w(n, u, d, l) {
2961
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
2955
2962
  return n;
2956
2963
  }
2957
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
2964
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
2958
2965
  function A(f) {
2959
2966
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
2960
2967
  }
2961
- var x, F = c[0], I = c[3], $ = !g;
2968
+ var x, I = u[0], F = u[3], $ = !g;
2962
2969
  if (!$) {
2963
- d || Array.isArray(F) || (F = [F]);
2964
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
2965
- h ? (m || u ? o = { get: pe(function() {
2966
- return I(this);
2970
+ d || Array.isArray(I) || (I = [I]);
2971
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
2972
+ h ? (m || c ? s = { get: pe(function() {
2973
+ return F(this);
2967
2974
  }, l, "get"), set: function(f) {
2968
- c[4](this, f);
2969
- } } : o[v] = I, m || pe(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
2975
+ u[4](this, f);
2976
+ } } : s[v] = F, m || pe(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
2970
2977
  }
2971
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
2972
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
2978
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
2979
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
2973
2980
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
2974
2981
  w(O, "An initializer", "be", !0), p.push(O);
2975
2982
  }).bind(null, X) };
@@ -2978,8 +2985,8 @@ function ut(e, t, r, i, T, P) {
2978
2985
  else {
2979
2986
  var j, z;
2980
2987
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
2981
- return A(f), o.value;
2982
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
2988
+ return A(f), s.value;
2989
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
2983
2990
  return f[l];
2984
2991
  }, (a < 2 || a === 4) && (z = function(f, O) {
2985
2992
  f[l] = O;
@@ -2987,60 +2994,60 @@ function ut(e, t, r, i, T, P) {
2987
2994
  var Y = C.access = { has: h ? b.bind() : function(f) {
2988
2995
  return l in f;
2989
2996
  } };
2990
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
2991
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
2997
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
2998
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
2992
2999
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
2993
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3000
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
2994
3001
  }
2995
3002
  } finally {
2996
3003
  X.v = !0;
2997
3004
  }
2998
3005
  }
2999
- return (m || u) && g.push(function(f, O) {
3006
+ return (m || c) && g.push(function(f, O) {
3000
3007
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3001
3008
  return O;
3002
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3009
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
3003
3010
  }
3004
- function L(n, c) {
3005
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3011
+ function L(n, u) {
3012
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
3006
3013
  }
3007
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3008
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3009
- var a, s, p = [], g = function(v) {
3014
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3015
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
3016
+ var a, i, p = [], g = function(v) {
3010
3017
  return dt(v) === n;
3011
3018
  }, k = /* @__PURE__ */ new Map();
3012
3019
  function h(v) {
3013
3020
  v && p.push(E.bind(null, v));
3014
3021
  }
3015
- for (var m = 0; m < c.length; m++) {
3016
- var u = c[m];
3017
- if (Array.isArray(u)) {
3018
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3022
+ for (var m = 0; m < u.length; m++) {
3023
+ var c = u[m];
3024
+ if (Array.isArray(c)) {
3025
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
3019
3026
  if (!$ && !x) {
3020
- var R = k.get(o);
3027
+ var R = k.get(s);
3021
3028
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3022
- k.set(o, !(b > 2) || b);
3029
+ k.set(s, !(b > 2) || b);
3023
3030
  }
3024
- D(I ? n : n.prototype, u, F, x ? "#" + A : Le(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3031
+ D(F ? n : n.prototype, c, I, x ? "#" + A : Le(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
3025
3032
  }
3026
3033
  }
3027
- return h(a), h(s), p;
3028
- }(e, t, T, N);
3034
+ return h(a), h(i), p;
3035
+ }(e, t, _, N);
3029
3036
  return r.length || L(e, N), { e: U, get c() {
3030
3037
  var n = [];
3031
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3038
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
3032
3039
  } };
3033
3040
  }
3034
3041
  function Le(e) {
3035
- var t = ct(e, "string");
3042
+ var t = ut(e, "string");
3036
3043
  return typeof t == "symbol" ? t : t + "";
3037
3044
  }
3038
- function ct(e, t) {
3045
+ function ut(e, t) {
3039
3046
  if (typeof e != "object" || !e) return e;
3040
3047
  var r = e[Symbol.toPrimitive];
3041
3048
  if (r !== void 0) {
3042
- var i = r.call(e, t);
3043
- if (typeof i != "object") return i;
3049
+ var o = r.call(e, t);
3050
+ if (typeof o != "object") return o;
3044
3051
  throw new TypeError("@@toPrimitive must return a primitive value.");
3045
3052
  }
3046
3053
  return String(e);
@@ -3092,8 +3099,8 @@ class mt extends q {
3092
3099
  static get observedAttributes() {
3093
3100
  return ["code", "language"];
3094
3101
  }
3095
- attributeChangedCallback(t, r, i) {
3096
- t === "code" ? this.code = i || "" : t === "language" && (this.language = i || ""), this.rerender();
3102
+ attributeChangedCallback(t, r, o) {
3103
+ t === "code" ? this.code = o || "" : t === "language" && (this.language = o || ""), this.rerender();
3097
3104
  }
3098
3105
  onRendered() {
3099
3106
  var t;
@@ -3173,15 +3180,15 @@ class mt extends q {
3173
3180
  */
3174
3181
  hashCode(t) {
3175
3182
  let r = 0;
3176
- for (let i = 0; i < t.length; i++) {
3177
- const T = t.charCodeAt(i);
3178
- r = (r << 5) - r + T, r = r & r;
3183
+ for (let o = 0; o < t.length; o++) {
3184
+ const _ = t.charCodeAt(o);
3185
+ r = (r << 5) - r + _, r = r & r;
3179
3186
  }
3180
3187
  return r.toString(36);
3181
3188
  }
3182
3189
  }
3183
- Ie = mt;
3184
- [pt, Re] = ut(Ie, [], Oe, 0, void 0, q).c;
3190
+ Fe = mt;
3191
+ [pt, Re] = ct(Fe, [], Oe, 0, void 0, q).c;
3185
3192
  Re();
3186
3193
  const fe = "wsx-marked-blockquote{display:block;margin:1rem 0;padding:1rem 1.5rem;border-left:4px solid var(--primary-red, #dc2626);background:var(--bg-secondary, #f9f9f9);border-radius:4px;font-style:italic;color:var(--text-secondary, #666)}";
3187
3194
  var Ne;
@@ -3189,36 +3196,36 @@ let $e, Ce;
3189
3196
  function ft(e, t, r) {
3190
3197
  return (t = De(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3191
3198
  }
3192
- function ht(e, t, r, i, T, P) {
3193
- function S(n, c, d) {
3199
+ function ht(e, t, r, o, _, P) {
3200
+ function S(n, u, d) {
3194
3201
  return function(l, a) {
3195
- return d && d(l), n[c].call(l, a);
3202
+ return d && d(l), n[u].call(l, a);
3196
3203
  };
3197
3204
  }
3198
- function E(n, c) {
3199
- for (var d = 0; d < n.length; d++) n[d].call(c);
3200
- return c;
3205
+ function E(n, u) {
3206
+ for (var d = 0; d < n.length; d++) n[d].call(u);
3207
+ return u;
3201
3208
  }
3202
- function w(n, c, d, l) {
3203
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3209
+ function w(n, u, d, l) {
3210
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3204
3211
  return n;
3205
3212
  }
3206
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3213
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
3207
3214
  function A(f) {
3208
3215
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3209
3216
  }
3210
- var x, F = c[0], I = c[3], $ = !g;
3217
+ var x, I = u[0], F = u[3], $ = !g;
3211
3218
  if (!$) {
3212
- d || Array.isArray(F) || (F = [F]);
3213
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3214
- h ? (m || u ? o = { get: he(function() {
3215
- return I(this);
3219
+ d || Array.isArray(I) || (I = [I]);
3220
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
3221
+ h ? (m || c ? s = { get: he(function() {
3222
+ return F(this);
3216
3223
  }, l, "get"), set: function(f) {
3217
- c[4](this, f);
3218
- } } : o[v] = I, m || he(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3224
+ u[4](this, f);
3225
+ } } : s[v] = F, m || he(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
3219
3226
  }
3220
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3221
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3227
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
3228
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
3222
3229
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3223
3230
  w(O, "An initializer", "be", !0), p.push(O);
3224
3231
  }).bind(null, X) };
@@ -3227,8 +3234,8 @@ function ht(e, t, r, i, T, P) {
3227
3234
  else {
3228
3235
  var j, z;
3229
3236
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3230
- return A(f), o.value;
3231
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3237
+ return A(f), s.value;
3238
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
3232
3239
  return f[l];
3233
3240
  }, (a < 2 || a === 4) && (z = function(f, O) {
3234
3241
  f[l] = O;
@@ -3236,48 +3243,48 @@ function ht(e, t, r, i, T, P) {
3236
3243
  var Y = C.access = { has: h ? b.bind() : function(f) {
3237
3244
  return l in f;
3238
3245
  } };
3239
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3240
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3246
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
3247
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3241
3248
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3242
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3249
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
3243
3250
  }
3244
3251
  } finally {
3245
3252
  X.v = !0;
3246
3253
  }
3247
3254
  }
3248
- return (m || u) && g.push(function(f, O) {
3255
+ return (m || c) && g.push(function(f, O) {
3249
3256
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3250
3257
  return O;
3251
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3258
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
3252
3259
  }
3253
- function L(n, c) {
3254
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3260
+ function L(n, u) {
3261
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
3255
3262
  }
3256
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3257
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3258
- var a, s, p = [], g = function(v) {
3263
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3264
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
3265
+ var a, i, p = [], g = function(v) {
3259
3266
  return kt(v) === n;
3260
3267
  }, k = /* @__PURE__ */ new Map();
3261
3268
  function h(v) {
3262
3269
  v && p.push(E.bind(null, v));
3263
3270
  }
3264
- for (var m = 0; m < c.length; m++) {
3265
- var u = c[m];
3266
- if (Array.isArray(u)) {
3267
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3271
+ for (var m = 0; m < u.length; m++) {
3272
+ var c = u[m];
3273
+ if (Array.isArray(c)) {
3274
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
3268
3275
  if (!$ && !x) {
3269
- var R = k.get(o);
3276
+ var R = k.get(s);
3270
3277
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3271
- k.set(o, !(b > 2) || b);
3278
+ k.set(s, !(b > 2) || b);
3272
3279
  }
3273
- D(I ? n : n.prototype, u, F, x ? "#" + A : De(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3280
+ D(F ? n : n.prototype, c, I, x ? "#" + A : De(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
3274
3281
  }
3275
3282
  }
3276
- return h(a), h(s), p;
3277
- }(e, t, T, N);
3283
+ return h(a), h(i), p;
3284
+ }(e, t, _, N);
3278
3285
  return r.length || L(e, N), { e: U, get c() {
3279
3286
  var n = [];
3280
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3287
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
3281
3288
  } };
3282
3289
  }
3283
3290
  function De(e) {
@@ -3288,8 +3295,8 @@ function bt(e, t) {
3288
3295
  if (typeof e != "object" || !e) return e;
3289
3296
  var r = e[Symbol.toPrimitive];
3290
3297
  if (r !== void 0) {
3291
- var i = r.call(e, t);
3292
- if (typeof i != "object") return i;
3298
+ var o = r.call(e, t);
3299
+ if (typeof o != "object") return o;
3293
3300
  throw new TypeError("@@toPrimitive must return a primitive value.");
3294
3301
  }
3295
3302
  return String(e);
@@ -3329,36 +3336,36 @@ let je, Me;
3329
3336
  function xt(e, t, r) {
3330
3337
  return (t = ze(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3331
3338
  }
3332
- function wt(e, t, r, i, T, P) {
3333
- function S(n, c, d) {
3339
+ function wt(e, t, r, o, _, P) {
3340
+ function S(n, u, d) {
3334
3341
  return function(l, a) {
3335
- return d && d(l), n[c].call(l, a);
3342
+ return d && d(l), n[u].call(l, a);
3336
3343
  };
3337
3344
  }
3338
- function E(n, c) {
3339
- for (var d = 0; d < n.length; d++) n[d].call(c);
3340
- return c;
3345
+ function E(n, u) {
3346
+ for (var d = 0; d < n.length; d++) n[d].call(u);
3347
+ return u;
3341
3348
  }
3342
- function w(n, c, d, l) {
3343
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3349
+ function w(n, u, d, l) {
3350
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3344
3351
  return n;
3345
3352
  }
3346
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3353
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
3347
3354
  function A(f) {
3348
3355
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3349
3356
  }
3350
- var x, F = c[0], I = c[3], $ = !g;
3357
+ var x, I = u[0], F = u[3], $ = !g;
3351
3358
  if (!$) {
3352
- d || Array.isArray(F) || (F = [F]);
3353
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3354
- h ? (m || u ? o = { get: be(function() {
3355
- return I(this);
3359
+ d || Array.isArray(I) || (I = [I]);
3360
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
3361
+ h ? (m || c ? s = { get: be(function() {
3362
+ return F(this);
3356
3363
  }, l, "get"), set: function(f) {
3357
- c[4](this, f);
3358
- } } : o[v] = I, m || be(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3364
+ u[4](this, f);
3365
+ } } : s[v] = F, m || be(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
3359
3366
  }
3360
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3361
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3367
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
3368
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
3362
3369
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3363
3370
  w(O, "An initializer", "be", !0), p.push(O);
3364
3371
  }).bind(null, X) };
@@ -3367,8 +3374,8 @@ function wt(e, t, r, i, T, P) {
3367
3374
  else {
3368
3375
  var j, z;
3369
3376
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3370
- return A(f), o.value;
3371
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3377
+ return A(f), s.value;
3378
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
3372
3379
  return f[l];
3373
3380
  }, (a < 2 || a === 4) && (z = function(f, O) {
3374
3381
  f[l] = O;
@@ -3376,48 +3383,48 @@ function wt(e, t, r, i, T, P) {
3376
3383
  var Y = C.access = { has: h ? b.bind() : function(f) {
3377
3384
  return l in f;
3378
3385
  } };
3379
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3380
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3386
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
3387
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3381
3388
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3382
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3389
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
3383
3390
  }
3384
3391
  } finally {
3385
3392
  X.v = !0;
3386
3393
  }
3387
3394
  }
3388
- return (m || u) && g.push(function(f, O) {
3395
+ return (m || c) && g.push(function(f, O) {
3389
3396
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3390
3397
  return O;
3391
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3398
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
3392
3399
  }
3393
- function L(n, c) {
3394
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3400
+ function L(n, u) {
3401
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
3395
3402
  }
3396
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3397
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3398
- var a, s, p = [], g = function(v) {
3403
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3404
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
3405
+ var a, i, p = [], g = function(v) {
3399
3406
  return At(v) === n;
3400
3407
  }, k = /* @__PURE__ */ new Map();
3401
3408
  function h(v) {
3402
3409
  v && p.push(E.bind(null, v));
3403
3410
  }
3404
- for (var m = 0; m < c.length; m++) {
3405
- var u = c[m];
3406
- if (Array.isArray(u)) {
3407
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3411
+ for (var m = 0; m < u.length; m++) {
3412
+ var c = u[m];
3413
+ if (Array.isArray(c)) {
3414
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
3408
3415
  if (!$ && !x) {
3409
- var R = k.get(o);
3416
+ var R = k.get(s);
3410
3417
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3411
- k.set(o, !(b > 2) || b);
3418
+ k.set(s, !(b > 2) || b);
3412
3419
  }
3413
- D(I ? n : n.prototype, u, F, x ? "#" + A : ze(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3420
+ D(F ? n : n.prototype, c, I, x ? "#" + A : ze(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
3414
3421
  }
3415
3422
  }
3416
- return h(a), h(s), p;
3417
- }(e, t, T, N);
3423
+ return h(a), h(i), p;
3424
+ }(e, t, _, N);
3418
3425
  return r.length || L(e, N), { e: U, get c() {
3419
3426
  var n = [];
3420
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3427
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
3421
3428
  } };
3422
3429
  }
3423
3430
  function ze(e) {
@@ -3428,8 +3435,8 @@ function Et(e, t) {
3428
3435
  if (typeof e != "object" || !e) return e;
3429
3436
  var r = e[Symbol.toPrimitive];
3430
3437
  if (r !== void 0) {
3431
- var i = r.call(e, t);
3432
- if (typeof i != "object") return i;
3438
+ var o = r.call(e, t);
3439
+ if (typeof o != "object") return o;
3433
3440
  throw new TypeError("@@toPrimitive must return a primitive value.");
3434
3441
  }
3435
3442
  return String(e);
@@ -3450,7 +3457,7 @@ Me = [W({
3450
3457
  tagName: "wsx-marked-paragraph"
3451
3458
  })];
3452
3459
  let St;
3453
- class Tt extends q {
3460
+ class _t extends q {
3454
3461
  constructor() {
3455
3462
  super({
3456
3463
  styleName: "wsx-marked-paragraph"
@@ -3466,14 +3473,14 @@ class Tt extends q {
3466
3473
  static get observedAttributes() {
3467
3474
  return ["content"];
3468
3475
  }
3469
- attributeChangedCallback(t, r, i) {
3470
- t === "content" && (this.content = i || "");
3476
+ attributeChangedCallback(t, r, o) {
3477
+ t === "content" && (this.content = o || "");
3471
3478
  }
3472
3479
  render() {
3473
3480
  return /* @__PURE__ */ G("p", { class: "marked-paragraph" }, this.content);
3474
3481
  }
3475
3482
  }
3476
- Pe = Tt;
3483
+ Pe = _t;
3477
3484
  [St, je] = wt(Pe, [], Me, 0, void 0, q).c;
3478
3485
  je();
3479
3486
  var Ue;
@@ -3481,36 +3488,36 @@ let Be, He;
3481
3488
  function ke(e, t, r) {
3482
3489
  return (t = Ge(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3483
3490
  }
3484
- function _t(e, t, r, i, T, P) {
3485
- function S(n, c, d) {
3491
+ function Tt(e, t, r, o, _, P) {
3492
+ function S(n, u, d) {
3486
3493
  return function(l, a) {
3487
- return d && d(l), n[c].call(l, a);
3494
+ return d && d(l), n[u].call(l, a);
3488
3495
  };
3489
3496
  }
3490
- function E(n, c) {
3491
- for (var d = 0; d < n.length; d++) n[d].call(c);
3492
- return c;
3497
+ function E(n, u) {
3498
+ for (var d = 0; d < n.length; d++) n[d].call(u);
3499
+ return u;
3493
3500
  }
3494
- function w(n, c, d, l) {
3495
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3501
+ function w(n, u, d, l) {
3502
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3496
3503
  return n;
3497
3504
  }
3498
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3505
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
3499
3506
  function A(f) {
3500
3507
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3501
3508
  }
3502
- var x, F = c[0], I = c[3], $ = !g;
3509
+ var x, I = u[0], F = u[3], $ = !g;
3503
3510
  if (!$) {
3504
- d || Array.isArray(F) || (F = [F]);
3505
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3506
- h ? (m || u ? o = { get: ye(function() {
3507
- return I(this);
3511
+ d || Array.isArray(I) || (I = [I]);
3512
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
3513
+ h ? (m || c ? s = { get: ye(function() {
3514
+ return F(this);
3508
3515
  }, l, "get"), set: function(f) {
3509
- c[4](this, f);
3510
- } } : o[v] = I, m || ye(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3516
+ u[4](this, f);
3517
+ } } : s[v] = F, m || ye(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
3511
3518
  }
3512
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3513
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3519
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
3520
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
3514
3521
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3515
3522
  w(O, "An initializer", "be", !0), p.push(O);
3516
3523
  }).bind(null, X) };
@@ -3519,8 +3526,8 @@ function _t(e, t, r, i, T, P) {
3519
3526
  else {
3520
3527
  var j, z;
3521
3528
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3522
- return A(f), o.value;
3523
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3529
+ return A(f), s.value;
3530
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
3524
3531
  return f[l];
3525
3532
  }, (a < 2 || a === 4) && (z = function(f, O) {
3526
3533
  f[l] = O;
@@ -3528,60 +3535,60 @@ function _t(e, t, r, i, T, P) {
3528
3535
  var Y = C.access = { has: h ? b.bind() : function(f) {
3529
3536
  return l in f;
3530
3537
  } };
3531
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3532
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3538
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
3539
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3533
3540
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3534
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3541
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
3535
3542
  }
3536
3543
  } finally {
3537
3544
  X.v = !0;
3538
3545
  }
3539
3546
  }
3540
- return (m || u) && g.push(function(f, O) {
3547
+ return (m || c) && g.push(function(f, O) {
3541
3548
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3542
3549
  return O;
3543
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3550
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
3544
3551
  }
3545
- function L(n, c) {
3546
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3552
+ function L(n, u) {
3553
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
3547
3554
  }
3548
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3549
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3550
- var a, s, p = [], g = function(v) {
3551
- return It(v) === n;
3555
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3556
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
3557
+ var a, i, p = [], g = function(v) {
3558
+ return Ft(v) === n;
3552
3559
  }, k = /* @__PURE__ */ new Map();
3553
3560
  function h(v) {
3554
3561
  v && p.push(E.bind(null, v));
3555
3562
  }
3556
- for (var m = 0; m < c.length; m++) {
3557
- var u = c[m];
3558
- if (Array.isArray(u)) {
3559
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3563
+ for (var m = 0; m < u.length; m++) {
3564
+ var c = u[m];
3565
+ if (Array.isArray(c)) {
3566
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
3560
3567
  if (!$ && !x) {
3561
- var R = k.get(o);
3568
+ var R = k.get(s);
3562
3569
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3563
- k.set(o, !(b > 2) || b);
3570
+ k.set(s, !(b > 2) || b);
3564
3571
  }
3565
- D(I ? n : n.prototype, u, F, x ? "#" + A : Ge(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3572
+ D(F ? n : n.prototype, c, I, x ? "#" + A : Ge(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
3566
3573
  }
3567
3574
  }
3568
- return h(a), h(s), p;
3569
- }(e, t, T, N);
3575
+ return h(a), h(i), p;
3576
+ }(e, t, _, N);
3570
3577
  return r.length || L(e, N), { e: U, get c() {
3571
3578
  var n = [];
3572
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3579
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
3573
3580
  } };
3574
3581
  }
3575
3582
  function Ge(e) {
3576
- var t = Ft(e, "string");
3583
+ var t = It(e, "string");
3577
3584
  return typeof t == "symbol" ? t : t + "";
3578
3585
  }
3579
- function Ft(e, t) {
3586
+ function It(e, t) {
3580
3587
  if (typeof e != "object" || !e) return e;
3581
3588
  var r = e[Symbol.toPrimitive];
3582
3589
  if (r !== void 0) {
3583
- var i = r.call(e, t);
3584
- if (typeof i != "object") return i;
3590
+ var o = r.call(e, t);
3591
+ if (typeof o != "object") return o;
3585
3592
  throw new TypeError("@@toPrimitive must return a primitive value.");
3586
3593
  }
3587
3594
  return String(e);
@@ -3594,7 +3601,7 @@ function ye(e, t, r) {
3594
3601
  }
3595
3602
  return e;
3596
3603
  }
3597
- function It(e) {
3604
+ function Ft(e) {
3598
3605
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3599
3606
  return e;
3600
3607
  }
@@ -3612,11 +3619,11 @@ class Ot extends q {
3612
3619
  enumerable: !0,
3613
3620
  configurable: !0
3614
3621
  });
3615
- let i = this.reactive([]);
3622
+ let o = this.reactive([]);
3616
3623
  Object.defineProperty(this, "items", {
3617
- get: () => i,
3618
- set: (T) => {
3619
- i = T !== null && typeof T < "u" && (Array.isArray(T) || typeof T == "object") ? this.reactive(T) : T, this.scheduleRerender();
3624
+ get: () => o,
3625
+ set: (_) => {
3626
+ o = _ !== null && typeof _ < "u" && (Array.isArray(_) || typeof _ == "object") ? this.reactive(_) : _, this.scheduleRerender();
3620
3627
  },
3621
3628
  enumerable: !0,
3622
3629
  configurable: !0
@@ -3627,43 +3634,43 @@ class Ot extends q {
3627
3634
  }
3628
3635
  }
3629
3636
  Ue = Ot;
3630
- [Rt, Be] = _t(Ue, [], He, 0, void 0, q).c;
3637
+ [Rt, Be] = Tt(Ue, [], He, 0, void 0, q).c;
3631
3638
  Be();
3632
3639
  var Ze;
3633
3640
  let Ye, Xe;
3634
3641
  function Lt(e, t, r) {
3635
3642
  return (t = qe(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3636
3643
  }
3637
- function Nt(e, t, r, i, T, P) {
3638
- function S(n, c, d) {
3644
+ function Nt(e, t, r, o, _, P) {
3645
+ function S(n, u, d) {
3639
3646
  return function(l, a) {
3640
- return d && d(l), n[c].call(l, a);
3647
+ return d && d(l), n[u].call(l, a);
3641
3648
  };
3642
3649
  }
3643
- function E(n, c) {
3644
- for (var d = 0; d < n.length; d++) n[d].call(c);
3645
- return c;
3650
+ function E(n, u) {
3651
+ for (var d = 0; d < n.length; d++) n[d].call(u);
3652
+ return u;
3646
3653
  }
3647
- function w(n, c, d, l) {
3648
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3654
+ function w(n, u, d, l) {
3655
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3649
3656
  return n;
3650
3657
  }
3651
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3658
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
3652
3659
  function A(f) {
3653
3660
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3654
3661
  }
3655
- var x, F = c[0], I = c[3], $ = !g;
3662
+ var x, I = u[0], F = u[3], $ = !g;
3656
3663
  if (!$) {
3657
- d || Array.isArray(F) || (F = [F]);
3658
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3659
- h ? (m || u ? o = { get: ve(function() {
3660
- return I(this);
3664
+ d || Array.isArray(I) || (I = [I]);
3665
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
3666
+ h ? (m || c ? s = { get: ve(function() {
3667
+ return F(this);
3661
3668
  }, l, "get"), set: function(f) {
3662
- c[4](this, f);
3663
- } } : o[v] = I, m || ve(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3669
+ u[4](this, f);
3670
+ } } : s[v] = F, m || ve(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
3664
3671
  }
3665
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3666
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3672
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
3673
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
3667
3674
  if (f.v) throw se("attempted to call addInitializer after decoration was finished");
3668
3675
  w(O, "An initializer", "be", !0), p.push(O);
3669
3676
  }).bind(null, X) };
@@ -3672,8 +3679,8 @@ function Nt(e, t, r, i, T, P) {
3672
3679
  else {
3673
3680
  var j, z;
3674
3681
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3675
- return A(f), o.value;
3676
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3682
+ return A(f), s.value;
3683
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
3677
3684
  return f[l];
3678
3685
  }, (a < 2 || a === 4) && (z = function(f, O) {
3679
3686
  f[l] = O;
@@ -3681,48 +3688,48 @@ function Nt(e, t, r, i, T, P) {
3681
3688
  var Y = C.access = { has: h ? b.bind() : function(f) {
3682
3689
  return l in f;
3683
3690
  } };
3684
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3685
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3691
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
3692
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3686
3693
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3687
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3694
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
3688
3695
  }
3689
3696
  } finally {
3690
3697
  X.v = !0;
3691
3698
  }
3692
3699
  }
3693
- return (m || u) && g.push(function(f, O) {
3700
+ return (m || c) && g.push(function(f, O) {
3694
3701
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3695
3702
  return O;
3696
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3703
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
3697
3704
  }
3698
- function L(n, c) {
3699
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3705
+ function L(n, u) {
3706
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
3700
3707
  }
3701
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3702
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3703
- var a, s, p = [], g = function(v) {
3708
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3709
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
3710
+ var a, i, p = [], g = function(v) {
3704
3711
  return Ct(v) === n;
3705
3712
  }, k = /* @__PURE__ */ new Map();
3706
3713
  function h(v) {
3707
3714
  v && p.push(E.bind(null, v));
3708
3715
  }
3709
- for (var m = 0; m < c.length; m++) {
3710
- var u = c[m];
3711
- if (Array.isArray(u)) {
3712
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3716
+ for (var m = 0; m < u.length; m++) {
3717
+ var c = u[m];
3718
+ if (Array.isArray(c)) {
3719
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
3713
3720
  if (!$ && !x) {
3714
- var R = k.get(o);
3721
+ var R = k.get(s);
3715
3722
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw se("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3716
- k.set(o, !(b > 2) || b);
3723
+ k.set(s, !(b > 2) || b);
3717
3724
  }
3718
- D(I ? n : n.prototype, u, F, x ? "#" + A : qe(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3725
+ D(F ? n : n.prototype, c, I, x ? "#" + A : qe(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
3719
3726
  }
3720
3727
  }
3721
- return h(a), h(s), p;
3722
- }(e, t, T, N);
3728
+ return h(a), h(i), p;
3729
+ }(e, t, _, N);
3723
3730
  return r.length || L(e, N), { e: U, get c() {
3724
3731
  var n = [];
3725
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3732
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
3726
3733
  } };
3727
3734
  }
3728
3735
  function qe(e) {
@@ -3733,8 +3740,8 @@ function $t(e, t) {
3733
3740
  if (typeof e != "object" || !e) return e;
3734
3741
  var r = e[Symbol.toPrimitive];
3735
3742
  if (r !== void 0) {
3736
- var i = r.call(e, t);
3737
- if (typeof i != "object") return i;
3743
+ var o = r.call(e, t);
3744
+ if (typeof o != "object") return o;
3738
3745
  throw new TypeError("@@toPrimitive must return a primitive value.");
3739
3746
  }
3740
3747
  return String(e);
@@ -3763,8 +3770,8 @@ let Dt, se = class extends q {
3763
3770
  static get observedAttributes() {
3764
3771
  return ["message"];
3765
3772
  }
3766
- attributeChangedCallback(t, r, i) {
3767
- t === "message" && (this.message = i || "", this.rerender());
3773
+ attributeChangedCallback(t, r, o) {
3774
+ t === "message" && (this.message = o || "", this.rerender());
3768
3775
  }
3769
3776
  render() {
3770
3777
  return /* @__PURE__ */ G("div", { class: "error" }, this.message);
@@ -3788,8 +3795,8 @@ function ie() {
3788
3795
  try {
3789
3796
  const r = globalThis;
3790
3797
  if ((t = (e = r.import) == null ? void 0 : e.meta) != null && t.env) {
3791
- const i = r.import.meta.env;
3792
- return i.MODE === "production" || i.PROD === !0;
3798
+ const o = r.import.meta.env;
3799
+ return o.MODE === "production" || o.PROD === !0;
3793
3800
  }
3794
3801
  } catch {
3795
3802
  }
@@ -3815,32 +3822,32 @@ class Pt {
3815
3822
  }
3816
3823
  trace(t, ...r) {
3817
3824
  if (!this.isProd || this.shouldLog("trace")) {
3818
- const i = V(this.name, t);
3819
- r.length > 0 ? console.debug(i, ...r) : console.debug(i);
3825
+ const o = V(this.name, t);
3826
+ r.length > 0 ? console.debug(o, ...r) : console.debug(o);
3820
3827
  }
3821
3828
  }
3822
3829
  debug(t, ...r) {
3823
3830
  if (!this.isProd || this.shouldLog("debug")) {
3824
- const i = V(this.name, t);
3825
- r.length > 0 ? console.debug(i, ...r) : console.debug(i);
3831
+ const o = V(this.name, t);
3832
+ r.length > 0 ? console.debug(o, ...r) : console.debug(o);
3826
3833
  }
3827
3834
  }
3828
3835
  info(t, ...r) {
3829
3836
  if (this.shouldLog("info")) {
3830
- const i = V(this.name, t);
3831
- r.length > 0 ? console.info(i, ...r) : console.info(i);
3837
+ const o = V(this.name, t);
3838
+ r.length > 0 ? console.info(o, ...r) : console.info(o);
3832
3839
  }
3833
3840
  }
3834
3841
  warn(t, ...r) {
3835
3842
  if (this.shouldLog("warn")) {
3836
- const i = V(this.name, t);
3837
- r.length > 0 ? console.warn(i, ...r) : console.warn(i);
3843
+ const o = V(this.name, t);
3844
+ r.length > 0 ? console.warn(o, ...r) : console.warn(o);
3838
3845
  }
3839
3846
  }
3840
3847
  error(t, ...r) {
3841
3848
  if (this.shouldLog("error")) {
3842
- const i = V(this.name, t);
3843
- r.length > 0 ? console.error(i, ...r) : console.error(i);
3849
+ const o = V(this.name, t);
3850
+ r.length > 0 ? console.error(o, ...r) : console.error(o);
3844
3851
  }
3845
3852
  }
3846
3853
  /**
@@ -3873,8 +3880,8 @@ class Ke {
3873
3880
  this.nativeLogger.error(t, ...r);
3874
3881
  }
3875
3882
  fatal(t, ...r) {
3876
- const i = V(this.name, `[FATAL] ${t}`);
3877
- r.length > 0 ? console.error(i, ...r) : console.error(i);
3883
+ const o = V(this.name, `[FATAL] ${t}`);
3884
+ r.length > 0 ? console.error(o, ...r) : console.error(o);
3878
3885
  }
3879
3886
  trace(t, ...r) {
3880
3887
  this.nativeLogger.trace(t, ...r);
@@ -3903,14 +3910,14 @@ function we(e) {
3903
3910
  const t = document.createElement("div");
3904
3911
  return t.textContent = e, t.innerHTML;
3905
3912
  }
3906
- function qt(e) {
3913
+ function Kt(e) {
3907
3914
  if (!e || !Array.isArray(e))
3908
3915
  return [];
3909
3916
  const t = [];
3910
3917
  return e.forEach((r) => {
3911
3918
  if (r.type === "paragraph") {
3912
- const i = r;
3913
- i.tokens && Array.isArray(i.tokens) && t.push(...i.tokens);
3919
+ const o = r;
3920
+ o.tokens && Array.isArray(o.tokens) && t.push(...o.tokens);
3914
3921
  } else (r.type === "text" || r.type === "strong" || r.type === "em" || r.type === "link" || r.type === "code" || r.type === "br") && t.push(r);
3915
3922
  }), t;
3916
3923
  }
@@ -3920,16 +3927,16 @@ function J(e) {
3920
3927
  case "text":
3921
3928
  return t.text || "";
3922
3929
  case "strong": {
3923
- const r = t, i = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3924
- return `<strong>${J(i)}</strong>`;
3930
+ const r = t, o = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3931
+ return `<strong>${J(o)}</strong>`;
3925
3932
  }
3926
3933
  case "em": {
3927
- const r = t, i = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3928
- return `<em>${J(i)}</em>`;
3934
+ const r = t, o = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3935
+ return `<em>${J(o)}</em>`;
3929
3936
  }
3930
3937
  case "link": {
3931
- const r = t, i = r.title ? ` title="${we(r.title)}"` : "", T = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3932
- return `<a href="${r.href || "#"}"${i}>${J(T)}</a>`;
3938
+ const r = t, o = r.title ? ` title="${we(r.title)}"` : "", _ = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3939
+ return `<a href="${r.href || "#"}"${o}>${J(_)}</a>`;
3933
3940
  }
3934
3941
  case "code":
3935
3942
  return `<code>${we(t.text || "")}</code>`;
@@ -3940,42 +3947,45 @@ function J(e) {
3940
3947
  }
3941
3948
  }).join("");
3942
3949
  }
3943
- const Mt = "wsx-markdown{display:block}.marked-content{line-height:1.7;color:var(--text-primary, #2c3e50)}.marked-content .marked-paragraph{margin:1rem 0;line-height:1.7}.marked-content .marked-list{margin:1rem 0;padding-left:2rem}.marked-content .marked-list-item{margin:.5rem 0;line-height:1.6}.marked-content a{color:var(--primary-red, #dc2626);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease}.marked-content a:hover{border-bottom-color:var(--primary-red, #dc2626)}.marked-content strong{font-weight:600;color:var(--text-primary, #2c3e50)}.marked-content em{font-style:italic}.marked-content hr{border:none;border-top:2px solid var(--border-color, #e0e0e0);margin:2rem 0}.marked-content img{max-width:100%;height:auto;border-radius:8px;margin:1rem 0}.error{color:#dc2626;padding:1rem;background:#fee2e2;border-radius:6px;border:1px solid #fecaca}";
3950
+ function Mt(e) {
3951
+ return e.toLowerCase().replace(/\s+/g, "-").replace(/[^\p{L}\p{N}-]/gu, "").replace(/-+/g, "-").replace(/^-+|-+$/g, "");
3952
+ }
3953
+ const zt = "wsx-markdown{display:block}.marked-content{line-height:1.7;color:var(--text-primary, #2c3e50)}.marked-content .marked-paragraph{margin:1rem 0;line-height:1.7}.marked-content .marked-list{margin:1rem 0;padding-left:2rem}.marked-content .marked-list-item{margin:.5rem 0;line-height:1.6}.marked-content a{color:var(--primary-red, #dc2626);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease}.marked-content a:hover{border-bottom-color:var(--primary-red, #dc2626)}.marked-content strong{font-weight:600;color:var(--text-primary, #2c3e50)}.marked-content em{font-style:italic}.marked-content hr{border:none;border-top:2px solid var(--border-color, #e0e0e0);margin:2rem 0}.marked-content img{max-width:100%;height:auto;border-radius:8px;margin:1rem 0}.error{color:#dc2626;padding:1rem;background:#fee2e2;border-radius:6px;border:1px solid #fecaca}";
3944
3954
  var We;
3945
3955
  let Ve, Qe;
3946
3956
  function ne(e, t, r) {
3947
3957
  return (t = Je(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3948
3958
  }
3949
- function zt(e, t, r, i, T, P) {
3950
- function S(n, c, d) {
3959
+ function Ut(e, t, r, o, _, P) {
3960
+ function S(n, u, d) {
3951
3961
  return function(l, a) {
3952
- return d && d(l), n[c].call(l, a);
3962
+ return d && d(l), n[u].call(l, a);
3953
3963
  };
3954
3964
  }
3955
- function E(n, c) {
3956
- for (var d = 0; d < n.length; d++) n[d].call(c);
3957
- return c;
3965
+ function E(n, u) {
3966
+ for (var d = 0; d < n.length; d++) n[d].call(u);
3967
+ return u;
3958
3968
  }
3959
- function w(n, c, d, l) {
3960
- if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3969
+ function w(n, u, d, l) {
3970
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(u + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3961
3971
  return n;
3962
3972
  }
3963
- function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3973
+ function D(n, u, d, l, a, i, p, g, k, h, m, c, b) {
3964
3974
  function A(f) {
3965
3975
  if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3966
3976
  }
3967
- var x, F = c[0], I = c[3], $ = !g;
3977
+ var x, I = u[0], F = u[3], $ = !g;
3968
3978
  if (!$) {
3969
- d || Array.isArray(F) || (F = [F]);
3970
- var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3971
- h ? (m || u ? o = { get: Ee(function() {
3972
- return I(this);
3979
+ d || Array.isArray(I) || (I = [I]);
3980
+ var s = {}, R = [], v = a === 3 ? "get" : a === 4 || c ? "set" : "value";
3981
+ h ? (m || c ? s = { get: Ee(function() {
3982
+ return F(this);
3973
3983
  }, l, "get"), set: function(f) {
3974
- c[4](this, f);
3975
- } } : o[v] = I, m || Ee(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3984
+ u[4](this, f);
3985
+ } } : s[v] = F, m || Ee(s[v], l, a === 2 ? "" : v)) : m || (s = Object.getOwnPropertyDescriptor(n, l));
3976
3986
  }
3977
- for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3978
- var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3987
+ for (var y = n, M = I.length - 1; M >= 0; M -= d ? 2 : 1) {
3988
+ var Z = I[M], B = d ? I[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: i, addInitializer: (function(f, O) {
3979
3989
  if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3980
3990
  w(O, "An initializer", "be", !0), p.push(O);
3981
3991
  }).bind(null, X) };
@@ -3984,8 +3994,8 @@ function zt(e, t, r, i, T, P) {
3984
3994
  else {
3985
3995
  var j, z;
3986
3996
  C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3987
- return A(f), o.value;
3988
- } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3997
+ return A(f), s.value;
3998
+ } : (a < 4 && (j = S(s, "get", A)), a !== 3 && (z = S(s, "set", A))) : (j = function(f) {
3989
3999
  return f[l];
3990
4000
  }, (a < 2 || a === 4) && (z = function(f, O) {
3991
4001
  f[l] = O;
@@ -3993,60 +4003,60 @@ function zt(e, t, r, i, T, P) {
3993
4003
  var Y = C.access = { has: h ? b.bind() : function(f) {
3994
4004
  return l in f;
3995
4005
  } };
3996
- if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3997
- if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
4006
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, c ? { get: s.get, set: s.set } : s[v], C), c) {
4007
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (s.get = x), (x = w(y.set, "accessor.set")) && (s.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3998
4008
  else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3999
- } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
4009
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : s[v] = y);
4000
4010
  }
4001
4011
  } finally {
4002
4012
  X.v = !0;
4003
4013
  }
4004
4014
  }
4005
- return (m || u) && g.push(function(f, O) {
4015
+ return (m || c) && g.push(function(f, O) {
4006
4016
  for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
4007
4017
  return O;
4008
- }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
4018
+ }), m || $ || (h ? c ? g.push(S(s, "get"), S(s, "set")) : g.push(a === 2 ? s[v] : S.call.bind(s[v])) : Object.defineProperty(n, l, s)), y;
4009
4019
  }
4010
- function L(n, c) {
4011
- return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
4020
+ function L(n, u) {
4021
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: u });
4012
4022
  }
4013
- if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
4014
- var N = Object.create(_ ?? null), U = function(n, c, d, l) {
4015
- var a, s, p = [], g = function(v) {
4016
- return Bt(v) === n;
4023
+ if (arguments.length >= 6) var T = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
4024
+ var N = Object.create(T ?? null), U = function(n, u, d, l) {
4025
+ var a, i, p = [], g = function(v) {
4026
+ return Ht(v) === n;
4017
4027
  }, k = /* @__PURE__ */ new Map();
4018
4028
  function h(v) {
4019
4029
  v && p.push(E.bind(null, v));
4020
4030
  }
4021
- for (var m = 0; m < c.length; m++) {
4022
- var u = c[m];
4023
- if (Array.isArray(u)) {
4024
- var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
4031
+ for (var m = 0; m < u.length; m++) {
4032
+ var c = u[m];
4033
+ if (Array.isArray(c)) {
4034
+ var b = c[1], A = c[2], x = c.length > 3, I = 16 & b, F = !!(8 & b), $ = (b &= 7) == 0, s = A + "/" + F;
4025
4035
  if (!$ && !x) {
4026
- var R = k.get(o);
4036
+ var R = k.get(s);
4027
4037
  if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
4028
- k.set(o, !(b > 2) || b);
4038
+ k.set(s, !(b > 2) || b);
4029
4039
  }
4030
- D(I ? n : n.prototype, u, F, x ? "#" + A : Je(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
4040
+ D(F ? n : n.prototype, c, I, x ? "#" + A : Je(A), b, l, F ? i = i || [] : a = a || [], p, F, x, $, b === 1, F && x ? g : d);
4031
4041
  }
4032
4042
  }
4033
- return h(a), h(s), p;
4034
- }(e, t, T, N);
4043
+ return h(a), h(i), p;
4044
+ }(e, t, _, N);
4035
4045
  return r.length || L(e, N), { e: U, get c() {
4036
4046
  var n = [];
4037
- return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
4047
+ return r.length && [L(D(e, [r], o, e.name, 5, N, n), N), E.bind(null, n, e)];
4038
4048
  } };
4039
4049
  }
4040
4050
  function Je(e) {
4041
- var t = Ut(e, "string");
4051
+ var t = Bt(e, "string");
4042
4052
  return typeof t == "symbol" ? t : t + "";
4043
4053
  }
4044
- function Ut(e, t) {
4054
+ function Bt(e, t) {
4045
4055
  if (typeof e != "object" || !e) return e;
4046
4056
  var r = e[Symbol.toPrimitive];
4047
4057
  if (r !== void 0) {
4048
- var i = r.call(e, t);
4049
- if (typeof i != "object") return i;
4058
+ var o = r.call(e, t);
4059
+ if (typeof o != "object") return o;
4050
4060
  throw new TypeError("@@toPrimitive must return a primitive value.");
4051
4061
  }
4052
4062
  return String(e);
@@ -4059,7 +4069,7 @@ function Ee(e, t, r) {
4059
4069
  }
4060
4070
  return e;
4061
4071
  }
4062
- function Bt(e) {
4072
+ function Ht(e) {
4063
4073
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
4064
4074
  return e;
4065
4075
  }
@@ -4067,10 +4077,10 @@ const oe = jt("Markdown");
4067
4077
  Qe = [W({
4068
4078
  tagName: "wsx-markdown"
4069
4079
  })];
4070
- let Ht;
4071
- class Gt extends q {
4080
+ let Gt;
4081
+ class Zt extends q {
4072
4082
  constructor() {
4073
- super(), ne(this, "_autoStyles", Mt), ne(this, "markdown", void 0), ne(this, "customRenderers", {});
4083
+ super(), ne(this, "_autoStyles", zt), ne(this, "markdown", void 0), ne(this, "customRenderers", {});
4074
4084
  const [t, r] = this.useState("markdown", "");
4075
4085
  Object.defineProperty(this, "markdown", {
4076
4086
  get: t,
@@ -4136,9 +4146,9 @@ class Gt extends q {
4136
4146
  renderToken(t) {
4137
4147
  const r = this.customRenderers[t.type];
4138
4148
  if (r) {
4139
- const i = r(t, () => this.defaultRenderToken(t));
4140
- if (i !== null)
4141
- return i;
4149
+ const o = r(t, () => this.defaultRenderToken(t));
4150
+ if (o !== null)
4151
+ return o;
4142
4152
  }
4143
4153
  return this.defaultRenderToken(t);
4144
4154
  }
@@ -4149,8 +4159,8 @@ class Gt extends q {
4149
4159
  defaultRenderToken(t) {
4150
4160
  switch (t.type) {
4151
4161
  case "heading": {
4152
- const r = t;
4153
- return /* @__PURE__ */ G("wsx-marked-heading", { level: r.depth.toString(), text: J(r.tokens) });
4162
+ const r = t, o = J(r.tokens), _ = Mt(o);
4163
+ return /* @__PURE__ */ G("wsx-marked-heading", { level: r.depth.toString(), text: o, "anchor-id": _ });
4154
4164
  }
4155
4165
  case "code": {
4156
4166
  const r = t;
@@ -4163,12 +4173,12 @@ class Gt extends q {
4163
4173
  case "paragraph":
4164
4174
  return /* @__PURE__ */ G("wsx-marked-paragraph", { content: J(t.tokens) });
4165
4175
  case "list": {
4166
- const r = t, i = r.items.map((T) => {
4167
- if (!T.tokens || !Array.isArray(T.tokens))
4176
+ const r = t, o = r.items.map((_) => {
4177
+ if (!_.tokens || !Array.isArray(_.tokens))
4168
4178
  return oe.warn("List item has no tokens or tokens is not an array", {
4169
- item: T
4179
+ item: _
4170
4180
  }), "";
4171
- const P = this.renderTokens(T.tokens);
4181
+ const P = this.renderTokens(_.tokens);
4172
4182
  if (P.length === 0)
4173
4183
  return "";
4174
4184
  const S = document.createElement("div");
@@ -4178,10 +4188,10 @@ class Gt extends q {
4178
4188
  const E = S.innerHTML;
4179
4189
  return E || oe.warn("tempContainer.innerHTML is empty after appending elements", {
4180
4190
  renderedElementsCount: P.length,
4181
- itemTokens: T.tokens
4191
+ itemTokens: _.tokens
4182
4192
  }), E;
4183
4193
  });
4184
- return /* @__PURE__ */ G("wsx-marked-list", { ordered: r.ordered ? "true" : "false", items: i });
4194
+ return /* @__PURE__ */ G("wsx-marked-list", { ordered: r.ordered ? "true" : "false", items: o });
4185
4195
  }
4186
4196
  case "html":
4187
4197
  return /* @__PURE__ */ G("div", null, t.text);
@@ -4192,14 +4202,14 @@ class Gt extends q {
4192
4202
  case "text":
4193
4203
  return /* @__PURE__ */ G("span", null, t.text || "");
4194
4204
  default: {
4195
- const i = new le.Renderer()[t.type], T = (i == null ? void 0 : i(t)) || "";
4196
- return T ? /* @__PURE__ */ G("div", null, T) : null;
4205
+ const o = new le.Renderer()[t.type], _ = (o == null ? void 0 : o(t)) || "";
4206
+ return _ ? /* @__PURE__ */ G("div", null, _) : null;
4197
4207
  }
4198
4208
  }
4199
4209
  }
4200
4210
  }
4201
- We = Gt;
4202
- [Ht, Ve] = zt(We, [], Qe, 0, void 0, q).c;
4211
+ We = Zt;
4212
+ [Gt, Ve] = Ut(We, [], Qe, 0, void 0, q).c;
4203
4213
  Ve();
4204
4214
  export {
4205
4215
  yt as Blockquote,
@@ -4207,10 +4217,11 @@ export {
4207
4217
  Dt as Error,
4208
4218
  nt as Heading,
4209
4219
  Rt as List,
4210
- Ht as Markdown,
4220
+ Gt as Markdown,
4211
4221
  St as Paragraph,
4212
4222
  we as escapeHtml,
4213
- qt as extractInlineTokens,
4223
+ Kt as extractInlineTokens,
4224
+ Mt as generateId,
4214
4225
  lt as registerWsxLanguage,
4215
4226
  J as renderInlineTokens
4216
4227
  };