@gnai/message-content-renderer 0.0.8 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import * as iu from "vue";
2
- import { defineComponent as ye, ref as Au, shallowRef as d0, onMounted as h0, watch as p0, onUnmounted as b0, h as Be, nextTick as m0, createBlock as vt, openBlock as P, Teleport as x0, createVNode as su, Transition as g0, withCtx as _0, createElementBlock as z, createCommentVNode as Dt, createElementVNode as lu, withModifiers as Pe, unref as au, computed as xu, Fragment as Me, renderList as je, toDisplayString as ue } from "vue";
3
- const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Gu = (u, e, t, n = "") => {
2
+ import { defineComponent as Ce, ref as Au, shallowRef as d0, onMounted as h0, watch as p0, onUnmounted as b0, h as Pe, nextTick as m0, createBlock as Dt, openBlock as P, Teleport as x0, createVNode as su, Transition as g0, withCtx as _0, createElementBlock as j, createCommentVNode as zu, createElementVNode as fu, withModifiers as Me, unref as au, computed as xu, Fragment as je, renderList as ze, toDisplayString as ee } from "vue";
3
+ const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Wu = (u, e, t, n = "") => {
4
4
  const r = u.split(":");
5
5
  if (u.slice(0, 1) === "@") {
6
6
  if (r.length < 2 || r.length > 3)
@@ -16,7 +16,7 @@ const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Gu = (u, e, t, n = "") => {
16
16
  prefix: a,
17
17
  name: i
18
18
  };
19
- return e && !zu(s) ? null : s;
19
+ return e && !Ru(s) ? null : s;
20
20
  }
21
21
  const o = r[0], c = o.split("-");
22
22
  if (c.length > 1) {
@@ -25,7 +25,7 @@ const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Gu = (u, e, t, n = "") => {
25
25
  prefix: c.shift(),
26
26
  name: c.join("-")
27
27
  };
28
- return e && !zu(i) ? null : i;
28
+ return e && !Ru(i) ? null : i;
29
29
  }
30
30
  if (t && n === "") {
31
31
  const i = {
@@ -33,10 +33,10 @@ const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Gu = (u, e, t, n = "") => {
33
33
  prefix: "",
34
34
  name: o
35
35
  };
36
- return e && !zu(i, t) ? null : i;
36
+ return e && !Ru(i, t) ? null : i;
37
37
  }
38
38
  return null;
39
- }, zu = (u, e) => u ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
39
+ }, Ru = (u, e) => u ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
40
40
  // Check name: cannot be empty
41
41
  ((e && u.prefix === "" || u.prefix) && u.name) : !1, Ft = Object.freeze(
42
42
  {
@@ -45,15 +45,15 @@ const Et = /^[a-z0-9]+(-[a-z0-9]+)*$/, Gu = (u, e, t, n = "") => {
45
45
  width: 16,
46
46
  height: 16
47
47
  }
48
- ), Vu = Object.freeze({
48
+ ), $u = Object.freeze({
49
49
  rotate: 0,
50
50
  vFlip: !1,
51
51
  hFlip: !1
52
- }), Wu = Object.freeze({
52
+ }), Qu = Object.freeze({
53
53
  ...Ft,
54
- ...Vu
55
- }), fe = Object.freeze({
56
- ...Wu,
54
+ ...$u
55
+ }), de = Object.freeze({
56
+ ...Qu,
57
57
  body: "",
58
58
  hidden: !1
59
59
  });
@@ -63,10 +63,10 @@ function k0(u, e) {
63
63
  const n = ((u.rotate || 0) + (e.rotate || 0)) % 4;
64
64
  return n && (t.rotate = n), t;
65
65
  }
66
- function ze(u, e) {
66
+ function Re(u, e) {
67
67
  const t = k0(u, e);
68
- for (const n in fe)
69
- n in Vu ? n in u && !(n in t) && (t[n] = Vu[n]) : n in e ? t[n] = e[n] : n in u && (t[n] = u[n]);
68
+ for (const n in de)
69
+ n in $u ? n in u && !(n in t) && (t[n] = $u[n]) : n in e ? t[n] = e[n] : n in u && (t[n] = u[n]);
70
70
  return t;
71
71
  }
72
72
  function y0(u, e) {
@@ -87,12 +87,12 @@ function C0(u, e, t) {
87
87
  const n = u.icons, r = u.aliases || /* @__PURE__ */ Object.create(null);
88
88
  let o = {};
89
89
  function c(i) {
90
- o = ze(
90
+ o = Re(
91
91
  n[i] || r[i],
92
92
  o
93
93
  );
94
94
  }
95
- return c(e), t.forEach(c), ze(u, o);
95
+ return c(e), t.forEach(c), Re(u, o);
96
96
  }
97
97
  function At(u, e) {
98
98
  const t = [];
@@ -114,7 +114,7 @@ const v0 = {
114
114
  not_found: {},
115
115
  ...Ft
116
116
  };
117
- function ee(u, e) {
117
+ function te(u, e) {
118
118
  for (const t in e)
119
119
  if (t in u && typeof u[t] != typeof e[t])
120
120
  return !1;
@@ -124,7 +124,7 @@ function wt(u) {
124
124
  if (typeof u != "object" || u === null)
125
125
  return null;
126
126
  const e = u;
127
- if (typeof e.prefix != "string" || !u.icons || typeof u.icons != "object" || !ee(u, v0))
127
+ if (typeof e.prefix != "string" || !u.icons || typeof u.icons != "object" || !te(u, v0))
128
128
  return null;
129
129
  const t = e.icons;
130
130
  for (const r in t) {
@@ -133,9 +133,9 @@ function wt(u) {
133
133
  // Name cannot be empty
134
134
  !r || // Must have body
135
135
  typeof o.body != "string" || // Check other props
136
- !ee(
136
+ !te(
137
137
  o,
138
- fe
138
+ de
139
139
  )
140
140
  )
141
141
  return null;
@@ -147,16 +147,16 @@ function wt(u) {
147
147
  // Name cannot be empty
148
148
  !r || // Parent must be set and point to existing icon
149
149
  typeof c != "string" || !t[c] && !n[c] || // Check other props
150
- !ee(
150
+ !te(
151
151
  o,
152
- fe
152
+ de
153
153
  )
154
154
  )
155
155
  return null;
156
156
  }
157
157
  return e;
158
158
  }
159
- const Re = /* @__PURE__ */ Object.create(null);
159
+ const qe = /* @__PURE__ */ Object.create(null);
160
160
  function D0(u, e) {
161
161
  return {
162
162
  provider: u,
@@ -166,7 +166,7 @@ function D0(u, e) {
166
166
  };
167
167
  }
168
168
  function ku(u, e) {
169
- const t = Re[u] || (Re[u] = /* @__PURE__ */ Object.create(null));
169
+ const t = qe[u] || (qe[u] = /* @__PURE__ */ Object.create(null));
170
170
  return t[e] || (t[e] = D0(u, e));
171
171
  }
172
172
  function St(u, e) {
@@ -187,14 +187,14 @@ function Tt(u) {
187
187
  return typeof u == "boolean" && (wu = u), wu;
188
188
  }
189
189
  function F0(u) {
190
- const e = typeof u == "string" ? Gu(u, !0, wu) : u;
190
+ const e = typeof u == "string" ? Wu(u, !0, wu) : u;
191
191
  if (e) {
192
192
  const t = ku(e.provider, e.prefix), n = e.name;
193
193
  return t.icons[n] || (t.missing.has(n) ? null : void 0);
194
194
  }
195
195
  }
196
196
  function A0(u, e) {
197
- const t = Gu(u, !0, wu);
197
+ const t = Wu(u, !0, wu);
198
198
  if (!t)
199
199
  return !1;
200
200
  const n = ku(t.provider, t.prefix);
@@ -210,7 +210,7 @@ function w0(u, e) {
210
210
  })), r;
211
211
  }
212
212
  const t = u.prefix;
213
- if (!zu({
213
+ if (!Ru({
214
214
  prefix: t,
215
215
  name: "a"
216
216
  }))
@@ -225,9 +225,9 @@ const It = Object.freeze({
225
225
  // Dimensions
226
226
  ...It,
227
227
  // Transformations
228
- ...Vu
228
+ ...$u
229
229
  }), S0 = /(-?[0-9.]*[0-9]+[0-9.]*)/g, T0 = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
230
- function qe(u, e, t) {
230
+ function Ve(u, e, t) {
231
231
  if (e === 1)
232
232
  return u;
233
233
  if (t = t || 100, typeof u == "number")
@@ -277,7 +277,7 @@ function L0(u, e, t) {
277
277
  const O0 = (u) => u === "unset" || u === "undefined" || u === "none";
278
278
  function B0(u, e) {
279
279
  const t = {
280
- ...Wu,
280
+ ...Qu,
281
281
  ...u
282
282
  }, n = {
283
283
  ...Nt,
@@ -323,7 +323,7 @@ function B0(u, e) {
323
323
  });
324
324
  const c = n.width, i = n.height, a = r.width, s = r.height;
325
325
  let l, f;
326
- c === null ? (f = i === null ? "1em" : i === "auto" ? s : i, l = qe(f, a / s)) : (l = c === "auto" ? a : c, f = i === null ? qe(l, s / a) : i === "auto" ? s : i);
326
+ c === null ? (f = i === null ? "1em" : i === "auto" ? s : i, l = Ve(f, a / s)) : (l = c === "auto" ? a : c, f = i === null ? Ve(l, s / a) : i === "auto" ? s : i);
327
327
  const m = {}, b = (v, k) => {
328
328
  O0(k) || (m[v] = k.toString());
329
329
  };
@@ -355,14 +355,14 @@ function z0(u, e = M0) {
355
355
  );
356
356
  }), u = u.replace(new RegExp(r, "g"), ""), u;
357
357
  }
358
- const de = /* @__PURE__ */ Object.create(null);
358
+ const he = /* @__PURE__ */ Object.create(null);
359
359
  function R0(u, e) {
360
- de[u] = e;
360
+ he[u] = e;
361
361
  }
362
- function he(u) {
363
- return de[u] || de[""];
362
+ function pe(u) {
363
+ return he[u] || he[""];
364
364
  }
365
- function Ce(u) {
365
+ function ve(u) {
366
366
  let e;
367
367
  if (typeof u.resources == "string")
368
368
  e = [u.resources];
@@ -387,21 +387,21 @@ function Ce(u) {
387
387
  dataAfterTimeout: u.dataAfterTimeout !== !1
388
388
  };
389
389
  }
390
- const ve = /* @__PURE__ */ Object.create(null), Eu = [
390
+ const De = /* @__PURE__ */ Object.create(null), Eu = [
391
391
  "https://api.simplesvg.com",
392
392
  "https://api.unisvg.com"
393
- ], Ru = [];
393
+ ], qu = [];
394
394
  for (; Eu.length > 0; )
395
- Eu.length === 1 || Math.random() > 0.5 ? Ru.push(Eu.shift()) : Ru.push(Eu.pop());
396
- ve[""] = Ce({
397
- resources: ["https://api.iconify.design"].concat(Ru)
395
+ Eu.length === 1 || Math.random() > 0.5 ? qu.push(Eu.shift()) : qu.push(Eu.pop());
396
+ De[""] = ve({
397
+ resources: ["https://api.iconify.design"].concat(qu)
398
398
  });
399
399
  function q0(u, e) {
400
- const t = Ce(e);
401
- return t === null ? !1 : (ve[u] = t, !0);
400
+ const t = ve(e);
401
+ return t === null ? !1 : (De[u] = t, !0);
402
402
  }
403
- function De(u) {
404
- return ve[u];
403
+ function Ee(u) {
404
+ return De[u];
405
405
  }
406
406
  const V0 = () => {
407
407
  let u;
@@ -411,9 +411,9 @@ const V0 = () => {
411
411
  } catch {
412
412
  }
413
413
  };
414
- let Ve = V0();
414
+ let $e = V0();
415
415
  function $0(u, e) {
416
- const t = De(u);
416
+ const t = Ee(u);
417
417
  if (!t)
418
418
  return 0;
419
419
  let n;
@@ -451,14 +451,14 @@ const U0 = (u, e, t) => {
451
451
  };
452
452
  function Z0(u) {
453
453
  if (typeof u == "string") {
454
- const e = De(u);
454
+ const e = Ee(u);
455
455
  if (e)
456
456
  return e.path;
457
457
  }
458
458
  return "/";
459
459
  }
460
460
  const G0 = (u, e, t) => {
461
- if (!Ve) {
461
+ if (!$e) {
462
462
  t("abort", 424);
463
463
  return;
464
464
  }
@@ -481,7 +481,7 @@ const G0 = (u, e, t) => {
481
481
  return;
482
482
  }
483
483
  let r = 503;
484
- Ve(u + n).then((o) => {
484
+ $e(u + n).then((o) => {
485
485
  const c = o.status;
486
486
  if (c !== 200) {
487
487
  setTimeout(() => {
@@ -596,7 +596,7 @@ function Y0(u, e, t) {
596
596
  function X0(u, e = !0, t = !1) {
597
597
  const n = [];
598
598
  return u.forEach((r) => {
599
- const o = typeof r == "string" ? Gu(r, e, t) : r;
599
+ const o = typeof r == "string" ? Wu(r, e, t) : r;
600
600
  o && n.push(o);
601
601
  }), n;
602
602
  }
@@ -742,42 +742,42 @@ function Ot(u) {
742
742
  cleanup: n
743
743
  };
744
744
  }
745
- function $e() {
745
+ function He() {
746
746
  }
747
- const te = /* @__PURE__ */ Object.create(null);
747
+ const ne = /* @__PURE__ */ Object.create(null);
748
748
  function tn(u) {
749
- if (!te[u]) {
750
- const e = De(u);
749
+ if (!ne[u]) {
750
+ const e = Ee(u);
751
751
  if (!e)
752
752
  return;
753
753
  const t = Ot(e), n = {
754
754
  config: e,
755
755
  redundancy: t
756
756
  };
757
- te[u] = n;
757
+ ne[u] = n;
758
758
  }
759
- return te[u];
759
+ return ne[u];
760
760
  }
761
761
  function nn(u, e, t) {
762
762
  let n, r;
763
763
  if (typeof u == "string") {
764
- const o = he(u);
764
+ const o = pe(u);
765
765
  if (!o)
766
- return t(void 0, 424), $e;
766
+ return t(void 0, 424), He;
767
767
  r = o.send;
768
768
  const c = tn(u);
769
769
  c && (n = c.redundancy);
770
770
  } else {
771
- const o = Ce(u);
771
+ const o = ve(u);
772
772
  if (o) {
773
773
  n = Ot(o);
774
- const c = u.resources ? u.resources[0] : "", i = he(c);
774
+ const c = u.resources ? u.resources[0] : "", i = pe(c);
775
775
  i && (r = i.send);
776
776
  }
777
777
  }
778
- return !n || !r ? (t(void 0, 424), $e) : n.query(e, r, t)().abort;
778
+ return !n || !r ? (t(void 0, 424), He) : n.query(e, r, t)().abort;
779
779
  }
780
- function He() {
780
+ function Ue() {
781
781
  }
782
782
  function rn(u) {
783
783
  u.iconsLoaderFlag || (u.iconsLoaderFlag = !0, setTimeout(() => {
@@ -811,7 +811,7 @@ function Fu(u, e, t) {
811
811
  }
812
812
  n(), rn(u);
813
813
  }
814
- function Ue(u, e) {
814
+ function Ze(u, e) {
815
815
  u instanceof Promise ? u.then((t) => {
816
816
  e(t);
817
817
  }).catch(() => {
@@ -826,7 +826,7 @@ function cn(u, e) {
826
826
  return;
827
827
  const o = u.loadIcon;
828
828
  if (u.loadIcons && (r.length > 1 || !o)) {
829
- Ue(
829
+ Ze(
830
830
  u.loadIcons(r, n, t),
831
831
  (l) => {
832
832
  Fu(u, r, l);
@@ -837,7 +837,7 @@ function cn(u, e) {
837
837
  if (o) {
838
838
  r.forEach((l) => {
839
839
  const f = o(l, n, t);
840
- Ue(f, (m) => {
840
+ Ze(f, (m) => {
841
841
  const b = m ? {
842
842
  prefix: n,
843
843
  icons: {
@@ -852,7 +852,7 @@ function cn(u, e) {
852
852
  const { valid: c, invalid: i } = on(r);
853
853
  if (i.length && Fu(u, i, null), !c.length)
854
854
  return;
855
- const a = n.match(Et) ? he(t) : null;
855
+ const a = n.match(Et) ? pe(t) : null;
856
856
  if (!a) {
857
857
  Fu(u, c, null);
858
858
  return;
@@ -873,7 +873,7 @@ const an = (u, e) => {
873
873
  n.loaded,
874
874
  n.missing,
875
875
  n.pending,
876
- He
876
+ Ue
877
877
  );
878
878
  }), () => {
879
879
  a = !1;
@@ -894,7 +894,7 @@ const an = (u, e) => {
894
894
  }), o.forEach((a) => {
895
895
  const s = r[a.provider][a.prefix];
896
896
  s.length && cn(a, s);
897
- }), e ? Y0(e, n, o) : He;
897
+ }), e ? Y0(e, n, o) : Ue;
898
898
  };
899
899
  function sn(u, e) {
900
900
  const t = {
@@ -960,7 +960,7 @@ function bn(u) {
960
960
  function mn(u) {
961
961
  return 'url("' + bn(u) + '")';
962
962
  }
963
- const Ze = {
963
+ const Ge = {
964
964
  ...Nt,
965
965
  inline: !1
966
966
  }, xn = {
@@ -970,34 +970,34 @@ const Ze = {
970
970
  role: "img"
971
971
  }, gn = {
972
972
  display: "inline-block"
973
- }, pe = {
973
+ }, be = {
974
974
  backgroundColor: "currentColor"
975
975
  }, Bt = {
976
976
  backgroundColor: "transparent"
977
- }, Ge = {
977
+ }, We = {
978
978
  Image: "var(--svg)",
979
979
  Repeat: "no-repeat",
980
980
  Size: "100% 100%"
981
- }, We = {
982
- webkitMask: pe,
983
- mask: pe,
981
+ }, Qe = {
982
+ webkitMask: be,
983
+ mask: be,
984
984
  background: Bt
985
985
  };
986
- for (const u in We) {
987
- const e = We[u];
988
- for (const t in Ge)
989
- e[u + t] = Ge[t];
986
+ for (const u in Qe) {
987
+ const e = Qe[u];
988
+ for (const t in We)
989
+ e[u + t] = We[t];
990
990
  }
991
- const qu = {};
991
+ const Vu = {};
992
992
  ["horizontal", "vertical"].forEach((u) => {
993
993
  const e = u.slice(0, 1) + "Flip";
994
- qu[u + "-flip"] = e, qu[u.slice(0, 1) + "-flip"] = e, qu[u + "Flip"] = e;
994
+ Vu[u + "-flip"] = e, Vu[u.slice(0, 1) + "-flip"] = e, Vu[u + "Flip"] = e;
995
995
  });
996
- function Qe(u) {
996
+ function Je(u) {
997
997
  return u + (u.match(/^[-0-9.]+$/) ? "px" : "");
998
998
  }
999
- const Je = (u, e) => {
1000
- const t = sn(Ze, e), n = { ...xn }, r = e.mode || "svg", o = {}, c = e.style, i = typeof c == "object" && !(c instanceof Array) ? c : {};
999
+ const Ke = (u, e) => {
1000
+ const t = sn(Ge, e), n = { ...xn }, r = e.mode || "svg", o = {}, c = e.style, i = typeof c == "object" && !(c instanceof Array) ? c : {};
1001
1001
  for (let v in e) {
1002
1002
  const k = e[v];
1003
1003
  if (k !== void 0)
@@ -1033,8 +1033,8 @@ const Je = (u, e) => {
1033
1033
  k !== !0 && k !== "true" && delete n["aria-hidden"];
1034
1034
  break;
1035
1035
  default: {
1036
- const F = qu[v];
1037
- F ? (k === !0 || k === "true" || k === 1) && (t[F] = !0) : Ze[v] === void 0 && (n[v] = k);
1036
+ const F = Vu[v];
1037
+ F ? (k === !0 || k === "true" || k === 1) && (t[F] = !0) : Ge[v] === void 0 && (n[v] = k);
1038
1038
  }
1039
1039
  }
1040
1040
  }
@@ -1045,7 +1045,7 @@ const Je = (u, e) => {
1045
1045
  ...i
1046
1046
  }, Object.assign(n, s);
1047
1047
  let v = 0, k = e.id;
1048
- return typeof k == "string" && (k = k.replace(/-/g, "_")), n.innerHTML = z0(a.body, k ? () => k + "ID" + v++ : "iconifyVue"), Be("svg", n);
1048
+ return typeof k == "string" && (k = k.replace(/-/g, "_")), n.innerHTML = z0(a.body, k ? () => k + "ID" + v++ : "iconifyVue"), Pe("svg", n);
1049
1049
  }
1050
1050
  const { body: l, width: f, height: m } = u, b = r === "mask" || (r === "bg" ? !1 : l.indexOf("currentColor") !== -1), d = hn(l, {
1051
1051
  ...s,
@@ -1055,12 +1055,12 @@ const Je = (u, e) => {
1055
1055
  return n.style = {
1056
1056
  ...o,
1057
1057
  "--svg": mn(d),
1058
- width: Qe(s.width),
1059
- height: Qe(s.height),
1058
+ width: Je(s.width),
1059
+ height: Je(s.height),
1060
1060
  ...gn,
1061
- ...b ? pe : Bt,
1061
+ ...b ? be : Bt,
1062
1062
  ...i
1063
- }, Be("span", n);
1063
+ }, Pe("span", n);
1064
1064
  };
1065
1065
  Tt(!0);
1066
1066
  R0("", W0);
@@ -1096,9 +1096,9 @@ if (typeof document < "u" && typeof window < "u") {
1096
1096
  }
1097
1097
  }
1098
1098
  const _n = {
1099
- ...Wu,
1099
+ ...Qu,
1100
1100
  body: ""
1101
- }, bu = ye((u, { emit: e }) => {
1101
+ }, bu = Ce((u, { emit: e }) => {
1102
1102
  const t = Au(null);
1103
1103
  function n() {
1104
1104
  t.value && (t.value.abort?.(), t.value = null);
@@ -1111,7 +1111,7 @@ const _n = {
1111
1111
  data: s
1112
1112
  };
1113
1113
  let l;
1114
- if (typeof s != "string" || (l = Gu(s, !1, !0)) === null)
1114
+ if (typeof s != "string" || (l = Wu(s, !1, !0)) === null)
1115
1115
  return null;
1116
1116
  let f = F0(l);
1117
1117
  if (!f) {
@@ -1144,13 +1144,13 @@ const _n = {
1144
1144
  }), p0(() => u.icon, a), b0(n), () => {
1145
1145
  const s = c.value;
1146
1146
  if (!s)
1147
- return Je(_n, u);
1147
+ return Ke(_n, u);
1148
1148
  let l = u;
1149
1149
  return s.classes && (l = {
1150
1150
  ...u,
1151
1151
  class: s.classes.join(" ")
1152
- }), Je({
1153
- ...Wu,
1152
+ }), Ke({
1153
+ ...Qu,
1154
1154
  ...s.data
1155
1155
  }, l);
1156
1156
  };
@@ -1180,12 +1180,12 @@ const _n = {
1180
1180
  "title"
1181
1181
  ],
1182
1182
  emits: ["load"]
1183
- }), Ke = {};
1183
+ }), Ye = {};
1184
1184
  function kn(u) {
1185
- let e = Ke[u];
1185
+ let e = Ye[u];
1186
1186
  if (e)
1187
1187
  return e;
1188
- e = Ke[u] = [];
1188
+ e = Ye[u] = [];
1189
1189
  for (let t = 0; t < 128; t++) {
1190
1190
  const n = String.fromCharCode(t);
1191
1191
  e.push(n);
@@ -1238,12 +1238,12 @@ function yu(u, e) {
1238
1238
  }
1239
1239
  yu.defaultChars = ";/?:@&=+$,#";
1240
1240
  yu.componentChars = "";
1241
- const Ye = {};
1241
+ const Xe = {};
1242
1242
  function yn(u) {
1243
- let e = Ye[u];
1243
+ let e = Xe[u];
1244
1244
  if (e)
1245
1245
  return e;
1246
- e = Ye[u] = [];
1246
+ e = Xe[u] = [];
1247
1247
  for (let t = 0; t < 128; t++) {
1248
1248
  const n = String.fromCharCode(t);
1249
1249
  /^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
@@ -1283,18 +1283,18 @@ function Ou(u, e, t) {
1283
1283
  }
1284
1284
  Ou.defaultChars = ";/?:@&=+$,-_.!~*'()#";
1285
1285
  Ou.componentChars = "-_.!~*'()";
1286
- function Ee(u) {
1286
+ function Fe(u) {
1287
1287
  let e = "";
1288
1288
  return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
1289
1289
  }
1290
- function $u() {
1290
+ function Hu() {
1291
1291
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
1292
1292
  }
1293
1293
  const Cn = /^([a-z0-9.+-]+:)/i, vn = /:[0-9]*$/, Dn = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, En = ["<", ">", '"', "`", " ", "\r", `
1294
- `, " "], Fn = ["{", "}", "|", "\\", "^", "`"].concat(En), An = ["'"].concat(Fn), Xe = ["%", "/", "?", ";", "#"].concat(An), ut = ["/", "?", "#"], wn = 255, et = /^[+a-z0-9A-Z_-]{0,63}$/, Sn = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, tt = {
1294
+ `, " "], Fn = ["{", "}", "|", "\\", "^", "`"].concat(En), An = ["'"].concat(Fn), ut = ["%", "/", "?", ";", "#"].concat(An), et = ["/", "?", "#"], wn = 255, tt = /^[+a-z0-9A-Z_-]{0,63}$/, Sn = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, nt = {
1295
1295
  javascript: !0,
1296
1296
  "javascript:": !0
1297
- }, nt = {
1297
+ }, rt = {
1298
1298
  http: !0,
1299
1299
  https: !0,
1300
1300
  ftp: !0,
@@ -1306,12 +1306,12 @@ const Cn = /^([a-z0-9.+-]+:)/i, vn = /:[0-9]*$/, Dn = /^(\/\/?(?!\/)[^\?\s]*)(\?
1306
1306
  "gopher:": !0,
1307
1307
  "file:": !0
1308
1308
  };
1309
- function Fe(u, e) {
1310
- if (u && u instanceof $u) return u;
1311
- const t = new $u();
1309
+ function Ae(u, e) {
1310
+ if (u && u instanceof Hu) return u;
1311
+ const t = new Hu();
1312
1312
  return t.parse(u, e), t;
1313
1313
  }
1314
- $u.prototype.parse = function(u, e) {
1314
+ Hu.prototype.parse = function(u, e) {
1315
1315
  let t, n, r, o = u;
1316
1316
  if (o = o.trim(), !e && u.split("#").length === 1) {
1317
1317
  const s = Dn.exec(o);
@@ -1319,14 +1319,14 @@ $u.prototype.parse = function(u, e) {
1319
1319
  return this.pathname = s[1], s[2] && (this.search = s[2]), this;
1320
1320
  }
1321
1321
  let c = Cn.exec(o);
1322
- if (c && (c = c[0], t = c.toLowerCase(), this.protocol = c, o = o.substr(c.length)), (e || c || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(c && tt[c]) && (o = o.substr(2), this.slashes = !0)), !tt[c] && (r || c && !nt[c])) {
1322
+ if (c && (c = c[0], t = c.toLowerCase(), this.protocol = c, o = o.substr(c.length)), (e || c || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(c && nt[c]) && (o = o.substr(2), this.slashes = !0)), !nt[c] && (r || c && !rt[c])) {
1323
1323
  let s = -1;
1324
- for (let d = 0; d < ut.length; d++)
1325
- n = o.indexOf(ut[d]), n !== -1 && (s === -1 || n < s) && (s = n);
1324
+ for (let d = 0; d < et.length; d++)
1325
+ n = o.indexOf(et[d]), n !== -1 && (s === -1 || n < s) && (s = n);
1326
1326
  let l, f;
1327
1327
  s === -1 ? f = o.lastIndexOf("@") : f = o.lastIndexOf("@", s), f !== -1 && (l = o.slice(0, f), o = o.slice(f + 1), this.auth = l), s = -1;
1328
- for (let d = 0; d < Xe.length; d++)
1329
- n = o.indexOf(Xe[d]), n !== -1 && (s === -1 || n < s) && (s = n);
1328
+ for (let d = 0; d < ut.length; d++)
1329
+ n = o.indexOf(ut[d]), n !== -1 && (s === -1 || n < s) && (s = n);
1330
1330
  s === -1 && (s = o.length), o[s - 1] === ":" && s--;
1331
1331
  const m = o.slice(0, s);
1332
1332
  o = o.slice(s), this.parseHost(m), this.hostname = this.hostname || "";
@@ -1335,11 +1335,11 @@ $u.prototype.parse = function(u, e) {
1335
1335
  const d = this.hostname.split(/\./);
1336
1336
  for (let v = 0, k = d.length; v < k; v++) {
1337
1337
  const F = d[v];
1338
- if (F && !F.match(et)) {
1338
+ if (F && !F.match(tt)) {
1339
1339
  let E = "";
1340
1340
  for (let y = 0, p = F.length; y < p; y++)
1341
1341
  F.charCodeAt(y) > 127 ? E += "x" : E += F[y];
1342
- if (!E.match(et)) {
1342
+ if (!E.match(tt)) {
1343
1343
  const y = d.slice(0, v), p = d.slice(v + 1), g = F.match(Sn);
1344
1344
  g && (y.push(g[1]), p.unshift(g[2])), p.length && (o = p.join(".") + o), this.hostname = y.join(".");
1345
1345
  break;
@@ -1352,9 +1352,9 @@ $u.prototype.parse = function(u, e) {
1352
1352
  const i = o.indexOf("#");
1353
1353
  i !== -1 && (this.hash = o.substr(i), o = o.slice(0, i));
1354
1354
  const a = o.indexOf("?");
1355
- return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o), nt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1355
+ return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o), rt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1356
1356
  };
1357
- $u.prototype.parseHost = function(u) {
1357
+ Hu.prototype.parseHost = function(u) {
1358
1358
  let e = vn.exec(u);
1359
1359
  e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
1360
1360
  };
@@ -1362,14 +1362,14 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1362
1362
  __proto__: null,
1363
1363
  decode: yu,
1364
1364
  encode: Ou,
1365
- format: Ee,
1366
- parse: Fe
1367
- }, Symbol.toStringTag, { value: "Module" })), Pt = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Mt = /[\0-\x1F\x7F-\x9F]/, In = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, Ae = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, jt = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, zt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1365
+ format: Fe,
1366
+ parse: Ae
1367
+ }, Symbol.toStringTag, { value: "Module" })), Pt = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Mt = /[\0-\x1F\x7F-\x9F]/, In = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, we = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, jt = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, zt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1368
1368
  __proto__: null,
1369
1369
  Any: Pt,
1370
1370
  Cc: Mt,
1371
1371
  Cf: In,
1372
- P: Ae,
1372
+ P: we,
1373
1373
  S: jt,
1374
1374
  Z: zt
1375
1375
  }, Symbol.toStringTag, { value: "Module" })), Ln = new Uint16Array(
@@ -1379,7 +1379,7 @@ const Tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1379
1379
  // prettier-ignore
1380
1380
  "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
1381
1381
  );
1382
- var ne;
1382
+ var re;
1383
1383
  const Bn = /* @__PURE__ */ new Map([
1384
1384
  [0, 65533],
1385
1385
  // C1 Unicode control character reference replacements
@@ -1412,7 +1412,7 @@ const Bn = /* @__PURE__ */ new Map([
1412
1412
  [159, 376]
1413
1413
  ]), Pn = (
1414
1414
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
1415
- (ne = String.fromCodePoint) !== null && ne !== void 0 ? ne : function(u) {
1415
+ (re = String.fromCodePoint) !== null && re !== void 0 ? re : function(u) {
1416
1416
  let e = "";
1417
1417
  return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
1418
1418
  }
@@ -1430,14 +1430,14 @@ var hu;
1430
1430
  (function(u) {
1431
1431
  u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
1432
1432
  })(hu || (hu = {}));
1433
- function be(u) {
1433
+ function me(u) {
1434
1434
  return u >= V.ZERO && u <= V.NINE;
1435
1435
  }
1436
1436
  function zn(u) {
1437
1437
  return u >= V.UPPER_A && u <= V.UPPER_F || u >= V.LOWER_A && u <= V.LOWER_F;
1438
1438
  }
1439
1439
  function Rn(u) {
1440
- return u >= V.UPPER_A && u <= V.UPPER_Z || u >= V.LOWER_A && u <= V.LOWER_Z || be(u);
1440
+ return u >= V.UPPER_A && u <= V.UPPER_Z || u >= V.LOWER_A && u <= V.LOWER_Z || me(u);
1441
1441
  }
1442
1442
  function qn(u) {
1443
1443
  return u === V.EQUALS || Rn(u);
@@ -1514,7 +1514,7 @@ class Vn {
1514
1514
  const n = t;
1515
1515
  for (; t < e.length; ) {
1516
1516
  const r = e.charCodeAt(t);
1517
- if (be(r) || zn(r))
1517
+ if (me(r) || zn(r))
1518
1518
  t += 1;
1519
1519
  else
1520
1520
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -1534,7 +1534,7 @@ class Vn {
1534
1534
  const n = t;
1535
1535
  for (; t < e.length; ) {
1536
1536
  const r = e.charCodeAt(t);
1537
- if (be(r))
1537
+ if (me(r))
1538
1538
  t += 1;
1539
1539
  else
1540
1540
  return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
@@ -1688,14 +1688,14 @@ function qt(u, e = du.Legacy) {
1688
1688
  function Un(u) {
1689
1689
  return Object.prototype.toString.call(u);
1690
1690
  }
1691
- function we(u) {
1691
+ function Se(u) {
1692
1692
  return Un(u) === "[object String]";
1693
1693
  }
1694
1694
  const Zn = Object.prototype.hasOwnProperty;
1695
1695
  function Gn(u, e) {
1696
1696
  return Zn.call(u, e);
1697
1697
  }
1698
- function Qu(u) {
1698
+ function Ju(u) {
1699
1699
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
1700
1700
  if (t) {
1701
1701
  if (typeof t != "object")
@@ -1709,10 +1709,10 @@ function Qu(u) {
1709
1709
  function Vt(u, e, t) {
1710
1710
  return [].concat(u.slice(0, e), t, u.slice(e + 1));
1711
1711
  }
1712
- function Se(u) {
1712
+ function Te(u) {
1713
1713
  return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
1714
1714
  }
1715
- function Hu(u) {
1715
+ function Uu(u) {
1716
1716
  if (u > 65535) {
1717
1717
  u -= 65536;
1718
1718
  const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
@@ -1724,7 +1724,7 @@ const $t = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Wn = /&([a-z#][a-z0-9]{
1724
1724
  function Kn(u, e) {
1725
1725
  if (e.charCodeAt(0) === 35 && Jn.test(e)) {
1726
1726
  const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
1727
- return Se(n) ? Hu(n) : u;
1727
+ return Te(n) ? Uu(n) : u;
1728
1728
  }
1729
1729
  const t = qt(u);
1730
1730
  return t !== u ? t : u;
@@ -1786,7 +1786,7 @@ function Su(u) {
1786
1786
  return !1;
1787
1787
  }
1788
1788
  function Tu(u) {
1789
- return Ae.test(u) || jt.test(u);
1789
+ return we.test(u) || jt.test(u);
1790
1790
  }
1791
1791
  function Iu(u) {
1792
1792
  switch (u) {
@@ -1827,25 +1827,25 @@ function Iu(u) {
1827
1827
  return !1;
1828
1828
  }
1829
1829
  }
1830
- function Ju(u) {
1830
+ function Ku(u) {
1831
1831
  return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
1832
1832
  }
1833
1833
  const or = { mdurl: Tn, ucmicro: Nn }, cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1834
1834
  __proto__: null,
1835
1835
  arrayReplaceAt: Vt,
1836
- assign: Qu,
1836
+ assign: Ju,
1837
1837
  escapeHtml: pu,
1838
1838
  escapeRE: rr,
1839
- fromCodePoint: Hu,
1839
+ fromCodePoint: Uu,
1840
1840
  has: Gn,
1841
1841
  isMdAsciiPunct: Iu,
1842
1842
  isPunctChar: Tu,
1843
1843
  isSpace: B,
1844
- isString: we,
1845
- isValidEntityCode: Se,
1844
+ isString: Se,
1845
+ isValidEntityCode: Te,
1846
1846
  isWhiteSpace: Su,
1847
1847
  lib: or,
1848
- normalizeReference: Ju,
1848
+ normalizeReference: Ku,
1849
1849
  unescapeAll: Cu,
1850
1850
  unescapeMd: Yn
1851
1851
  }, Symbol.toStringTag, { value: "Module" }));
@@ -2003,7 +2003,7 @@ ru.html_inline = function(u, e) {
2003
2003
  return u[e].content;
2004
2004
  };
2005
2005
  function vu() {
2006
- this.rules = Qu({}, ru);
2006
+ this.rules = Ju({}, ru);
2007
2007
  }
2008
2008
  vu.prototype.renderAttrs = function(e) {
2009
2009
  let t, n, r;
@@ -2290,7 +2290,7 @@ function Er(u) {
2290
2290
  for (e = u.tokens.length - 1; e >= 0; e--)
2291
2291
  u.tokens[e].type === "inline" && (_r.test(u.tokens[e].content) && vr(u.tokens[e].children), Ut.test(u.tokens[e].content) && Dr(u.tokens[e].children));
2292
2292
  }
2293
- const Fr = /['"]/, rt = /['"]/g, ot = "’";
2293
+ const Fr = /['"]/, ot = /['"]/g, ct = "’";
2294
2294
  function Mu(u, e, t) {
2295
2295
  return u.slice(0, e) + t + u.slice(e + 1);
2296
2296
  }
@@ -2306,8 +2306,8 @@ function Ar(u, e) {
2306
2306
  let i = o.content, a = 0, s = i.length;
2307
2307
  u:
2308
2308
  for (; a < s; ) {
2309
- rt.lastIndex = a;
2310
- const l = rt.exec(i);
2309
+ ot.lastIndex = a;
2310
+ const l = ot.exec(i);
2311
2311
  if (!l)
2312
2312
  break;
2313
2313
  let f = !0, m = !0;
@@ -2333,7 +2333,7 @@ function Ar(u, e) {
2333
2333
  }
2334
2334
  const k = Iu(d) || Tu(String.fromCharCode(d)), F = Iu(v) || Tu(String.fromCharCode(v)), E = Su(d), y = Su(v);
2335
2335
  if (y ? f = !1 : F && (E || k || (f = !1)), E ? m = !1 : k && (y || F || (m = !1)), v === 34 && l[0] === '"' && d >= 48 && d <= 57 && (m = f = !1), f && m && (f = k, m = F), !f && !m) {
2336
- b && (o.content = Mu(o.content, l.index, ot));
2336
+ b && (o.content = Mu(o.content, l.index, ct));
2337
2337
  continue;
2338
2338
  }
2339
2339
  if (m)
@@ -2357,7 +2357,7 @@ function Ar(u, e) {
2357
2357
  pos: l.index,
2358
2358
  single: b,
2359
2359
  level: c
2360
- }) : m && b && (o.content = Mu(o.content, l.index, ot));
2360
+ }) : m && b && (o.content = Mu(o.content, l.index, ct));
2361
2361
  }
2362
2362
  }
2363
2363
  }
@@ -2379,7 +2379,7 @@ function Sr(u) {
2379
2379
  e !== t && (c.length = t);
2380
2380
  }
2381
2381
  }
2382
- const re = [
2382
+ const oe = [
2383
2383
  ["normalize", hr],
2384
2384
  ["block", pr],
2385
2385
  ["inline", br],
@@ -2390,17 +2390,17 @@ const re = [
2390
2390
  // and joins them with the rest of the text
2391
2391
  ["text_join", Sr]
2392
2392
  ];
2393
- function Te() {
2393
+ function Ie() {
2394
2394
  this.ruler = new U();
2395
- for (let u = 0; u < re.length; u++)
2396
- this.ruler.push(re[u][0], re[u][1]);
2395
+ for (let u = 0; u < oe.length; u++)
2396
+ this.ruler.push(oe[u][0], oe[u][1]);
2397
2397
  }
2398
- Te.prototype.process = function(u) {
2398
+ Ie.prototype.process = function(u) {
2399
2399
  const e = this.ruler.getRules("");
2400
2400
  for (let t = 0, n = e.length; t < n; t++)
2401
2401
  e[t](u);
2402
2402
  };
2403
- Te.prototype.State = Ht;
2403
+ Ie.prototype.State = Ht;
2404
2404
  function ou(u, e, t, n) {
2405
2405
  this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
2406
2406
  const r = this.src;
@@ -2481,11 +2481,11 @@ ou.prototype.getLines = function(e, t, n, r) {
2481
2481
  };
2482
2482
  ou.prototype.Token = X;
2483
2483
  const Tr = 65536;
2484
- function oe(u, e) {
2484
+ function ce(u, e) {
2485
2485
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
2486
2486
  return u.src.slice(t, n);
2487
2487
  }
2488
- function ct(u) {
2488
+ function it(u) {
2489
2489
  const e = [], t = u.length;
2490
2490
  let n = 0, r = u.charCodeAt(n), o = !1, c = 0, i = "";
2491
2491
  for (; n < t; )
@@ -2513,7 +2513,7 @@ function Ir(u, e, t, n) {
2513
2513
  return !1;
2514
2514
  o++;
2515
2515
  }
2516
- let a = oe(u, e + 1), s = a.split("|");
2516
+ let a = ce(u, e + 1), s = a.split("|");
2517
2517
  const l = [];
2518
2518
  for (let p = 0; p < s.length; p++) {
2519
2519
  const g = s[p].trim();
@@ -2526,9 +2526,9 @@ function Ir(u, e, t, n) {
2526
2526
  return !1;
2527
2527
  g.charCodeAt(g.length - 1) === 58 ? l.push(g.charCodeAt(0) === 58 ? "center" : "right") : g.charCodeAt(0) === 58 ? l.push("left") : l.push("");
2528
2528
  }
2529
- if (a = oe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
2529
+ if (a = ce(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
2530
2530
  return !1;
2531
- s = ct(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
2531
+ s = it(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
2532
2532
  const f = s.length;
2533
2533
  if (f === 0 || f !== l.length)
2534
2534
  return !1;
@@ -2557,7 +2557,7 @@ function Ir(u, e, t, n) {
2557
2557
  p = !0;
2558
2558
  break;
2559
2559
  }
2560
- if (p || (a = oe(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = ct(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), y += f - s.length, y > Tr))
2560
+ if (p || (a = ce(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = it(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), y += f - s.length, y > Tr))
2561
2561
  break;
2562
2562
  if (r === e + 2) {
2563
2563
  const h = u.push("tbody_open", "tbody", 1);
@@ -2700,7 +2700,7 @@ function Br(u, e, t, n) {
2700
2700
  const a = u.push("hr", "hr", 0);
2701
2701
  return a.map = [e, u.line], a.markup = Array(i + 1).join(String.fromCharCode(c)), !0;
2702
2702
  }
2703
- function it(u, e) {
2703
+ function at(u, e) {
2704
2704
  const t = u.eMarks[e];
2705
2705
  let n = u.bMarks[e] + u.tShift[e];
2706
2706
  const r = u.src.charCodeAt(n++);
@@ -2713,7 +2713,7 @@ function it(u, e) {
2713
2713
  }
2714
2714
  return n;
2715
2715
  }
2716
- function at(u, e) {
2716
+ function st(u, e) {
2717
2717
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
2718
2718
  let r = t;
2719
2719
  if (r + 1 >= n)
@@ -2747,9 +2747,9 @@ function Mr(u, e, t, n) {
2747
2747
  let l = !1;
2748
2748
  n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (l = !0);
2749
2749
  let f, m, b;
2750
- if ((b = at(u, a)) >= 0) {
2750
+ if ((b = st(u, a)) >= 0) {
2751
2751
  if (f = !0, c = u.bMarks[a] + u.tShift[a], m = Number(u.src.slice(c, b - 1)), l && m !== 1) return !1;
2752
- } else if ((b = it(u, a)) >= 0)
2752
+ } else if ((b = at(u, a)) >= 0)
2753
2753
  f = !1;
2754
2754
  else
2755
2755
  return !1;
@@ -2784,8 +2784,8 @@ function Mr(u, e, t, n) {
2784
2784
  i = u.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
2785
2785
  const T = [a, 0];
2786
2786
  i.map = T, f && (i.info = u.src.slice(c, b - 1));
2787
- const I = u.tight, j = u.tShift[a], L = u.sCount[a], R = u.listIndent;
2788
- if (u.listIndent = u.blkIndent, u.blkIndent = D, u.tight = !0, u.tShift[a] = h - u.bMarks[a], u.sCount[a] = g, h >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || F) && (s = !1), F = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = R, u.tShift[a] = j, u.sCount[a] = L, u.tight = I, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), a = u.line, T[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2787
+ const I = u.tight, z = u.tShift[a], L = u.sCount[a], R = u.listIndent;
2788
+ if (u.listIndent = u.blkIndent, u.blkIndent = D, u.tight = !0, u.tShift[a] = h - u.bMarks[a], u.sCount[a] = g, h >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || F) && (s = !1), F = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = R, u.tShift[a] = z, u.sCount[a] = L, u.tight = I, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), a = u.line, T[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2789
2789
  break;
2790
2790
  let Q = !1;
2791
2791
  for (let M = 0, uu = E.length; M < uu; M++)
@@ -2796,10 +2796,10 @@ function Mr(u, e, t, n) {
2796
2796
  if (Q)
2797
2797
  break;
2798
2798
  if (f) {
2799
- if (b = at(u, a), b < 0)
2799
+ if (b = st(u, a), b < 0)
2800
2800
  break;
2801
2801
  c = u.bMarks[a] + u.tShift[a];
2802
- } else if (b = it(u, a), b < 0)
2802
+ } else if (b = at(u, a), b < 0)
2803
2803
  break;
2804
2804
  if (d !== u.src.charCodeAt(b - 1))
2805
2805
  break;
@@ -2819,7 +2819,7 @@ function jr(u, e, t, n) {
2819
2819
  const x = u.md.block.ruler.getRules("reference"), D = u.parentType;
2820
2820
  u.parentType = "reference";
2821
2821
  let T = !1;
2822
- for (let I = 0, j = x.length; I < j; I++)
2822
+ for (let I = 0, z = x.length; I < z; I++)
2823
2823
  if (x[I](u, E, y, !0)) {
2824
2824
  T = !0;
2825
2825
  break;
@@ -2894,7 +2894,7 @@ function jr(u, e, t, n) {
2894
2894
  }
2895
2895
  if (r < o && a.charCodeAt(r) !== 10)
2896
2896
  return !1;
2897
- const F = Ju(a.slice(1, s));
2897
+ const F = Ku(a.slice(1, s));
2898
2898
  return F ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[F] > "u" && (u.env.references[F] = { title: k, href: f }), u.line = c), !0) : !1;
2899
2899
  }
2900
2900
  const zr = [
@@ -3093,12 +3093,12 @@ const ju = [
3093
3093
  ["lheading", uo],
3094
3094
  ["paragraph", eo]
3095
3095
  ];
3096
- function Ku() {
3096
+ function Yu() {
3097
3097
  this.ruler = new U();
3098
3098
  for (let u = 0; u < ju.length; u++)
3099
3099
  this.ruler.push(ju[u][0], ju[u][1], { alt: (ju[u][2] || []).slice() });
3100
3100
  }
3101
- Ku.prototype.tokenize = function(u, e, t) {
3101
+ Yu.prototype.tokenize = function(u, e, t) {
3102
3102
  const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
3103
3103
  let c = e, i = !1;
3104
3104
  for (; c < t && (u.line = c = u.skipEmptyLines(c), !(c >= t || u.sCount[c] < u.blkIndent)); ) {
@@ -3118,13 +3118,13 @@ Ku.prototype.tokenize = function(u, e, t) {
3118
3118
  u.tight = !i, u.isEmpty(u.line - 1) && (i = !0), c = u.line, c < t && u.isEmpty(c) && (i = !0, c++, u.line = c);
3119
3119
  }
3120
3120
  };
3121
- Ku.prototype.parse = function(u, e, t, n) {
3121
+ Yu.prototype.parse = function(u, e, t, n) {
3122
3122
  if (!u)
3123
3123
  return;
3124
3124
  const r = new this.State(u, e, t, n);
3125
3125
  this.tokenize(r, r.line, r.lineMax);
3126
3126
  };
3127
- Ku.prototype.State = ou;
3127
+ Yu.prototype.State = ou;
3128
3128
  function Bu(u, e, t, n) {
3129
3129
  this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
3130
3130
  }
@@ -3227,11 +3227,11 @@ function co(u, e) {
3227
3227
  t++;
3228
3228
  return u.pos = t, !0;
3229
3229
  }
3230
- const Ie = [];
3230
+ const Ne = [];
3231
3231
  for (let u = 0; u < 256; u++)
3232
- Ie.push(0);
3232
+ Ne.push(0);
3233
3233
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
3234
- Ie[u.charCodeAt(0)] = 1;
3234
+ Ne[u.charCodeAt(0)] = 1;
3235
3235
  });
3236
3236
  function io(u, e) {
3237
3237
  let t = u.pos;
@@ -3251,7 +3251,7 @@ function io(u, e) {
3251
3251
  const c = "\\" + o;
3252
3252
  if (!e) {
3253
3253
  const i = u.push("text_special", "", 0);
3254
- r < 256 && Ie[r] !== 0 ? i.content = o : i.content = c, i.markup = c, i.info = "escape";
3254
+ r < 256 && Ne[r] !== 0 ? i.content = o : i.content = c, i.markup = c, i.info = "escape";
3255
3255
  }
3256
3256
  return u.pos = t + 1, !0;
3257
3257
  }
@@ -3306,7 +3306,7 @@ function so(u, e) {
3306
3306
  });
3307
3307
  return u.pos += r.length, !0;
3308
3308
  }
3309
- function st(u, e) {
3309
+ function lt(u, e) {
3310
3310
  let t;
3311
3311
  const n = [], r = e.length;
3312
3312
  for (let o = 0; o < r; o++) {
@@ -3326,9 +3326,9 @@ function st(u, e) {
3326
3326
  }
3327
3327
  function lo(u) {
3328
3328
  const e = u.tokens_meta, t = u.tokens_meta.length;
3329
- st(u, u.delimiters);
3329
+ lt(u, u.delimiters);
3330
3330
  for (let n = 0; n < t; n++)
3331
- e[n] && e[n].delimiters && st(u, e[n].delimiters);
3331
+ e[n] && e[n].delimiters && lt(u, e[n].delimiters);
3332
3332
  }
3333
3333
  const Wt = {
3334
3334
  tokenize: so,
@@ -3364,7 +3364,7 @@ function fo(u, e) {
3364
3364
  }
3365
3365
  return u.pos += r.length, !0;
3366
3366
  }
3367
- function lt(u, e) {
3367
+ function ft(u, e) {
3368
3368
  const t = e.length;
3369
3369
  for (let n = t - 1; n >= 0; n--) {
3370
3370
  const r = e[n];
@@ -3380,9 +3380,9 @@ function lt(u, e) {
3380
3380
  }
3381
3381
  function ho(u) {
3382
3382
  const e = u.tokens_meta, t = u.tokens_meta.length;
3383
- lt(u, u.delimiters);
3383
+ ft(u, u.delimiters);
3384
3384
  for (let n = 0; n < t; n++)
3385
- e[n] && e[n].delimiters && lt(u, e[n].delimiters);
3385
+ e[n] && e[n].delimiters && ft(u, e[n].delimiters);
3386
3386
  }
3387
3387
  const Qt = {
3388
3388
  tokenize: fo,
@@ -3413,7 +3413,7 @@ function po(u, e) {
3413
3413
  if (s) {
3414
3414
  if (typeof u.env.references > "u")
3415
3415
  return !1;
3416
- if (d < f && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(a, d++) : d = b + 1) : d = b + 1, n || (n = u.src.slice(m, b)), o = u.env.references[Ju(n)], !o)
3416
+ if (d < f && u.src.charCodeAt(d) === 91 ? (a = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(a, d++) : d = b + 1) : d = b + 1, n || (n = u.src.slice(m, b)), o = u.env.references[Ku(n)], !o)
3417
3417
  return u.pos = l, !1;
3418
3418
  c = o.href, i = o.title;
3419
3419
  }
@@ -3450,7 +3450,7 @@ function bo(u, e) {
3450
3450
  } else {
3451
3451
  if (typeof u.env.references > "u")
3452
3452
  return !1;
3453
- if (o < m && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(b, d)), c = u.env.references[Ju(r)], !c)
3453
+ if (o < m && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = d + 1) : o = d + 1, r || (r = u.src.slice(b, d)), c = u.env.references[Ku(r)], !c)
3454
3454
  return u.pos = f, !1;
3455
3455
  l = c.href, a = c.title;
3456
3456
  }
@@ -3548,7 +3548,7 @@ function Eo(u, e) {
3548
3548
  if (o) {
3549
3549
  if (!e) {
3550
3550
  const c = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), i = u.push("text_special", "", 0);
3551
- i.content = Se(c) ? Hu(c) : Hu(65533), i.markup = o[0], i.info = "entity";
3551
+ i.content = Te(c) ? Uu(c) : Uu(65533), i.markup = o[0], i.info = "entity";
3552
3552
  }
3553
3553
  return u.pos += o[0].length, !0;
3554
3554
  }
@@ -3567,7 +3567,7 @@ function Eo(u, e) {
3567
3567
  }
3568
3568
  return !1;
3569
3569
  }
3570
- function ft(u) {
3570
+ function dt(u) {
3571
3571
  const e = {}, t = u.length;
3572
3572
  if (!t) return;
3573
3573
  let n = 0, r = -2;
@@ -3594,9 +3594,9 @@ function ft(u) {
3594
3594
  }
3595
3595
  function Fo(u) {
3596
3596
  const e = u.tokens_meta, t = u.tokens_meta.length;
3597
- ft(u.delimiters);
3597
+ dt(u.delimiters);
3598
3598
  for (let n = 0; n < t; n++)
3599
- e[n] && e[n].delimiters && ft(e[n].delimiters);
3599
+ e[n] && e[n].delimiters && dt(e[n].delimiters);
3600
3600
  }
3601
3601
  function Ao(u) {
3602
3602
  let e, t, n = 0;
@@ -3605,7 +3605,7 @@ function Ao(u) {
3605
3605
  r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3606
3606
  e !== t && (r.length = t);
3607
3607
  }
3608
- const ce = [
3608
+ const ie = [
3609
3609
  ["text", no],
3610
3610
  ["linkify", oo],
3611
3611
  ["newline", co],
@@ -3618,7 +3618,7 @@ const ce = [
3618
3618
  ["autolink", go],
3619
3619
  ["html_inline", Co],
3620
3620
  ["entity", Eo]
3621
- ], ie = [
3621
+ ], ae = [
3622
3622
  ["balance_pairs", Fo],
3623
3623
  ["strikethrough", Wt.postProcess],
3624
3624
  ["emphasis", Qt.postProcess],
@@ -3628,11 +3628,11 @@ const ce = [
3628
3628
  ];
3629
3629
  function Pu() {
3630
3630
  this.ruler = new U();
3631
- for (let u = 0; u < ce.length; u++)
3632
- this.ruler.push(ce[u][0], ce[u][1]);
3633
- this.ruler2 = new U();
3634
3631
  for (let u = 0; u < ie.length; u++)
3635
- this.ruler2.push(ie[u][0], ie[u][1]);
3632
+ this.ruler.push(ie[u][0], ie[u][1]);
3633
+ this.ruler2 = new U();
3634
+ for (let u = 0; u < ae.length; u++)
3635
+ this.ruler2.push(ae[u][0], ae[u][1]);
3636
3636
  }
3637
3637
  Pu.prototype.skipToken = function(u) {
3638
3638
  const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
@@ -3684,7 +3684,7 @@ Pu.prototype.parse = function(u, e, t, n) {
3684
3684
  Pu.prototype.State = Bu;
3685
3685
  function wo(u) {
3686
3686
  const e = {};
3687
- u = u || {}, e.src_Any = Pt.source, e.src_Cc = Mt.source, e.src_Z = zt.source, e.src_P = Ae.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3687
+ u = u || {}, e.src_Any = Pt.source, e.src_Cc = Mt.source, e.src_Z = zt.source, e.src_P = we.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3688
3688
  const t = "[><|]";
3689
3689
  return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
3690
3690
  ",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
@@ -3694,27 +3694,27 @@ function wo(u) {
3694
3694
  // but can start with > (markdown blockquote)
3695
3695
  "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
3696
3696
  }
3697
- function me(u) {
3697
+ function xe(u) {
3698
3698
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
3699
3699
  t && Object.keys(t).forEach(function(n) {
3700
3700
  u[n] = t[n];
3701
3701
  });
3702
3702
  }), u;
3703
3703
  }
3704
- function Yu(u) {
3704
+ function Xu(u) {
3705
3705
  return Object.prototype.toString.call(u);
3706
3706
  }
3707
3707
  function So(u) {
3708
- return Yu(u) === "[object String]";
3708
+ return Xu(u) === "[object String]";
3709
3709
  }
3710
3710
  function To(u) {
3711
- return Yu(u) === "[object Object]";
3711
+ return Xu(u) === "[object Object]";
3712
3712
  }
3713
3713
  function Io(u) {
3714
- return Yu(u) === "[object RegExp]";
3714
+ return Xu(u) === "[object RegExp]";
3715
3715
  }
3716
- function dt(u) {
3717
- return Yu(u) === "[object Function]";
3716
+ function ht(u) {
3717
+ return Xu(u) === "[object Function]";
3718
3718
  }
3719
3719
  function No(u) {
3720
3720
  return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
@@ -3771,12 +3771,12 @@ function jo(u) {
3771
3771
  return u.test(n) ? n.match(u)[0].length : 0;
3772
3772
  };
3773
3773
  }
3774
- function ht() {
3774
+ function pt() {
3775
3775
  return function(u, e) {
3776
3776
  e.normalize(u);
3777
3777
  };
3778
3778
  }
3779
- function Uu(u) {
3779
+ function Zu(u) {
3780
3780
  const e = u.re = wo(u.__opts__), t = u.__tlds__.slice();
3781
3781
  u.onCompile(), u.__tlds_replaced__ || t.push(Bo), t.push(e.src_xn), e.src_tlds = t.join("|");
3782
3782
  function n(i) {
@@ -3794,7 +3794,7 @@ function Uu(u) {
3794
3794
  return;
3795
3795
  const s = { validate: null, link: null };
3796
3796
  if (u.__compiled__[i] = s, To(a)) {
3797
- Io(a.validate) ? s.validate = jo(a.validate) : dt(a.validate) ? s.validate = a.validate : o(i, a), dt(a.normalize) ? s.normalize = a.normalize : a.normalize ? o(i, a) : s.normalize = ht();
3797
+ Io(a.validate) ? s.validate = jo(a.validate) : ht(a.validate) ? s.validate = a.validate : o(i, a), ht(a.normalize) ? s.normalize = a.normalize : a.normalize ? o(i, a) : s.normalize = pt();
3798
3798
  return;
3799
3799
  }
3800
3800
  if (So(a)) {
@@ -3804,7 +3804,7 @@ function Uu(u) {
3804
3804
  o(i, a);
3805
3805
  }), r.forEach(function(i) {
3806
3806
  u.__compiled__[u.__schemas__[i]] && (u.__compiled__[i].validate = u.__compiled__[u.__schemas__[i]].validate, u.__compiled__[i].normalize = u.__compiled__[u.__schemas__[i]].normalize);
3807
- }), u.__compiled__[""] = { validate: null, normalize: ht() };
3807
+ }), u.__compiled__[""] = { validate: null, normalize: pt() };
3808
3808
  const c = Object.keys(u.__compiled__).filter(function(i) {
3809
3809
  return i.length > 0 && u.__compiled__[i];
3810
3810
  }).map(No).join("|");
@@ -3817,20 +3817,20 @@ function zo(u, e) {
3817
3817
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
3818
3818
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
3819
3819
  }
3820
- function xe(u, e) {
3820
+ function ge(u, e) {
3821
3821
  const t = new zo(u, e);
3822
3822
  return u.__compiled__[t.schema].normalize(t, u), t;
3823
3823
  }
3824
3824
  function W(u, e) {
3825
3825
  if (!(this instanceof W))
3826
3826
  return new W(u, e);
3827
- e || Lo(u) && (e = u, u = {}), this.__opts__ = me({}, Jt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = me({}, Oo, u), this.__compiled__ = {}, this.__tlds__ = Po, this.__tlds_replaced__ = !1, this.re = {}, Uu(this);
3827
+ e || Lo(u) && (e = u, u = {}), this.__opts__ = xe({}, Jt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = xe({}, Oo, u), this.__compiled__ = {}, this.__tlds__ = Po, this.__tlds_replaced__ = !1, this.re = {}, Zu(this);
3828
3828
  }
3829
3829
  W.prototype.add = function(e, t) {
3830
- return this.__schemas__[e] = t, Uu(this), this;
3830
+ return this.__schemas__[e] = t, Zu(this), this;
3831
3831
  };
3832
3832
  W.prototype.set = function(e) {
3833
- return this.__opts__ = me(this.__opts__, e), this;
3833
+ return this.__opts__ = xe(this.__opts__, e), this;
3834
3834
  };
3835
3835
  W.prototype.test = function(e) {
3836
3836
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
@@ -3854,10 +3854,10 @@ W.prototype.testSchemaAt = function(e, t, n) {
3854
3854
  W.prototype.match = function(e) {
3855
3855
  const t = [];
3856
3856
  let n = 0;
3857
- this.__index__ >= 0 && this.__text_cache__ === e && (t.push(xe(this, n)), n = this.__last_index__);
3857
+ this.__index__ >= 0 && this.__text_cache__ === e && (t.push(ge(this, n)), n = this.__last_index__);
3858
3858
  let r = n ? e.slice(n) : e;
3859
3859
  for (; this.test(r); )
3860
- t.push(xe(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3860
+ t.push(ge(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3861
3861
  return t.length ? t : null;
3862
3862
  };
3863
3863
  W.prototype.matchAtStart = function(e) {
@@ -3865,24 +3865,24 @@ W.prototype.matchAtStart = function(e) {
3865
3865
  const t = this.re.schema_at_start.exec(e);
3866
3866
  if (!t) return null;
3867
3867
  const n = this.testSchemaAt(e, t[2], t[0].length);
3868
- return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, xe(this, 0)) : null;
3868
+ return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ge(this, 0)) : null;
3869
3869
  };
3870
3870
  W.prototype.tlds = function(e, t) {
3871
3871
  return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
3872
3872
  return n !== o[r - 1];
3873
- }).reverse(), Uu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Uu(this), this);
3873
+ }).reverse(), Zu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Zu(this), this);
3874
3874
  };
3875
3875
  W.prototype.normalize = function(e) {
3876
3876
  e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
3877
3877
  };
3878
3878
  W.prototype.onCompile = function() {
3879
3879
  };
3880
- const _u = 2147483647, tu = 36, Ne = 1, Nu = 26, Ro = 38, qo = 700, Kt = 72, Yt = 128, Xt = "-", Vo = /^xn--/, $o = /[^\0-\x7F]/, Ho = /[\x2E\u3002\uFF0E\uFF61]/g, Uo = {
3880
+ const _u = 2147483647, tu = 36, Le = 1, Nu = 26, Ro = 38, qo = 700, Kt = 72, Yt = 128, Xt = "-", Vo = /^xn--/, $o = /[^\0-\x7F]/, Ho = /[\x2E\u3002\uFF0E\uFF61]/g, Uo = {
3881
3881
  overflow: "Overflow: input needs wider integers to process",
3882
3882
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3883
3883
  "invalid-input": "Invalid input"
3884
- }, ae = tu - Ne, nu = Math.floor, se = String.fromCharCode;
3885
- function fu(u) {
3884
+ }, se = tu - Le, nu = Math.floor, le = String.fromCharCode;
3885
+ function lu(u) {
3886
3886
  throw new RangeError(Uo[u]);
3887
3887
  }
3888
3888
  function Zo(u, e) {
@@ -3915,33 +3915,33 @@ function e0(u) {
3915
3915
  }
3916
3916
  const Go = (u) => String.fromCodePoint(...u), Wo = function(u) {
3917
3917
  return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : tu;
3918
- }, pt = function(u, e) {
3918
+ }, bt = function(u, e) {
3919
3919
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
3920
3920
  }, t0 = function(u, e, t) {
3921
3921
  let n = 0;
3922
- for (u = t ? nu(u / qo) : u >> 1, u += nu(u / e); u > ae * Nu >> 1; n += tu)
3923
- u = nu(u / ae);
3924
- return nu(n + (ae + 1) * u / (u + Ro));
3922
+ for (u = t ? nu(u / qo) : u >> 1, u += nu(u / e); u > se * Nu >> 1; n += tu)
3923
+ u = nu(u / se);
3924
+ return nu(n + (se + 1) * u / (u + Ro));
3925
3925
  }, n0 = function(u) {
3926
3926
  const e = [], t = u.length;
3927
3927
  let n = 0, r = Yt, o = Kt, c = u.lastIndexOf(Xt);
3928
3928
  c < 0 && (c = 0);
3929
3929
  for (let i = 0; i < c; ++i)
3930
- u.charCodeAt(i) >= 128 && fu("not-basic"), e.push(u.charCodeAt(i));
3930
+ u.charCodeAt(i) >= 128 && lu("not-basic"), e.push(u.charCodeAt(i));
3931
3931
  for (let i = c > 0 ? c + 1 : 0; i < t; ) {
3932
3932
  const a = n;
3933
3933
  for (let l = 1, f = tu; ; f += tu) {
3934
- i >= t && fu("invalid-input");
3934
+ i >= t && lu("invalid-input");
3935
3935
  const m = Wo(u.charCodeAt(i++));
3936
- m >= tu && fu("invalid-input"), m > nu((_u - n) / l) && fu("overflow"), n += m * l;
3937
- const b = f <= o ? Ne : f >= o + Nu ? Nu : f - o;
3936
+ m >= tu && lu("invalid-input"), m > nu((_u - n) / l) && lu("overflow"), n += m * l;
3937
+ const b = f <= o ? Le : f >= o + Nu ? Nu : f - o;
3938
3938
  if (m < b)
3939
3939
  break;
3940
3940
  const d = tu - b;
3941
- l > nu(_u / d) && fu("overflow"), l *= d;
3941
+ l > nu(_u / d) && lu("overflow"), l *= d;
3942
3942
  }
3943
3943
  const s = e.length + 1;
3944
- o = t0(n - a, s, a == 0), nu(n / s) > _u - r && fu("overflow"), r += nu(n / s), n %= s, e.splice(n++, 0, r);
3944
+ o = t0(n - a, s, a == 0), nu(n / s) > _u - r && lu("overflow"), r += nu(n / s), n %= s, e.splice(n++, 0, r);
3945
3945
  }
3946
3946
  return String.fromCodePoint(...e);
3947
3947
  }, r0 = function(u) {
@@ -3950,7 +3950,7 @@ const Go = (u) => String.fromCodePoint(...u), Wo = function(u) {
3950
3950
  const t = u.length;
3951
3951
  let n = Yt, r = 0, o = Kt;
3952
3952
  for (const a of u)
3953
- a < 128 && e.push(se(a));
3953
+ a < 128 && e.push(le(a));
3954
3954
  const c = e.length;
3955
3955
  let i = c;
3956
3956
  for (c && e.push(Xt); i < t; ) {
@@ -3958,20 +3958,20 @@ const Go = (u) => String.fromCodePoint(...u), Wo = function(u) {
3958
3958
  for (const l of u)
3959
3959
  l >= n && l < a && (a = l);
3960
3960
  const s = i + 1;
3961
- a - n > nu((_u - r) / s) && fu("overflow"), r += (a - n) * s, n = a;
3961
+ a - n > nu((_u - r) / s) && lu("overflow"), r += (a - n) * s, n = a;
3962
3962
  for (const l of u)
3963
- if (l < n && ++r > _u && fu("overflow"), l === n) {
3963
+ if (l < n && ++r > _u && lu("overflow"), l === n) {
3964
3964
  let f = r;
3965
3965
  for (let m = tu; ; m += tu) {
3966
- const b = m <= o ? Ne : m >= o + Nu ? Nu : m - o;
3966
+ const b = m <= o ? Le : m >= o + Nu ? Nu : m - o;
3967
3967
  if (f < b)
3968
3968
  break;
3969
3969
  const d = f - b, v = tu - b;
3970
3970
  e.push(
3971
- se(pt(b + d % v, 0))
3971
+ le(bt(b + d % v, 0))
3972
3972
  ), f = nu(d / v);
3973
3973
  }
3974
- e.push(se(pt(f, 0))), o = t0(r, s, i === c), r = 0, ++i;
3974
+ e.push(le(bt(f, 0))), o = t0(r, s, i === c), r = 0, ++i;
3975
3975
  }
3976
3976
  ++r, ++n;
3977
3977
  }
@@ -4182,34 +4182,34 @@ function nc(u) {
4182
4182
  }
4183
4183
  const c0 = ["http:", "https:", "mailto:"];
4184
4184
  function rc(u) {
4185
- const e = Fe(u, !0);
4185
+ const e = Ae(u, !0);
4186
4186
  if (e.hostname && (!e.protocol || c0.indexOf(e.protocol) >= 0))
4187
4187
  try {
4188
4188
  e.hostname = o0.toASCII(e.hostname);
4189
4189
  } catch {
4190
4190
  }
4191
- return Ou(Ee(e));
4191
+ return Ou(Fe(e));
4192
4192
  }
4193
4193
  function oc(u) {
4194
- const e = Fe(u, !0);
4194
+ const e = Ae(u, !0);
4195
4195
  if (e.hostname && (!e.protocol || c0.indexOf(e.protocol) >= 0))
4196
4196
  try {
4197
4197
  e.hostname = o0.toUnicode(e.hostname);
4198
4198
  } catch {
4199
4199
  }
4200
- return yu(Ee(e), yu.defaultChars + "%");
4200
+ return yu(Fe(e), yu.defaultChars + "%");
4201
4201
  }
4202
4202
  function J(u, e) {
4203
4203
  if (!(this instanceof J))
4204
4204
  return new J(u, e);
4205
- e || we(u) || (e = u || {}, u = "default"), this.inline = new Pu(), this.block = new Ku(), this.core = new Te(), this.renderer = new vu(), this.linkify = new W(), this.validateLink = nc, this.normalizeLink = rc, this.normalizeLinkText = oc, this.utils = cr, this.helpers = Qu({}, lr), this.options = {}, this.configure(u), e && this.set(e);
4205
+ e || Se(u) || (e = u || {}, u = "default"), this.inline = new Pu(), this.block = new Yu(), this.core = new Ie(), this.renderer = new vu(), this.linkify = new W(), this.validateLink = nc, this.normalizeLink = rc, this.normalizeLinkText = oc, this.utils = cr, this.helpers = Ju({}, lr), this.options = {}, this.configure(u), e && this.set(e);
4206
4206
  }
4207
4207
  J.prototype.set = function(u) {
4208
- return Qu(this.options, u), this;
4208
+ return Ju(this.options, u), this;
4209
4209
  };
4210
4210
  J.prototype.configure = function(u) {
4211
4211
  const e = this;
4212
- if (we(u)) {
4212
+ if (Se(u)) {
4213
4213
  const t = u;
4214
4214
  if (u = uc[t], !u)
4215
4215
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
@@ -4283,19 +4283,19 @@ var cc = { 207: (u, e, t) => {
4283
4283
  var w = _ && _.prototype instanceof E ? _ : E, $ = Object.create(w.prototype), H = new Q(N || []);
4284
4284
  return $._invoke = /* @__PURE__ */ (function(K, cu, O) {
4285
4285
  var Z = b;
4286
- return function(eu, Le) {
4286
+ return function(eu, Oe) {
4287
4287
  if (Z === v) throw new Error("Generator is already running");
4288
4288
  if (Z === k) {
4289
- if (eu === "throw") throw Le;
4289
+ if (eu === "throw") throw Oe;
4290
4290
  return uu();
4291
4291
  }
4292
- for (O.method = eu, O.arg = Le; ; ) {
4293
- var Oe = O.delegate;
4294
- if (Oe) {
4295
- var Xu = j(Oe, O);
4296
- if (Xu) {
4297
- if (Xu === F) continue;
4298
- return Xu;
4292
+ for (O.method = eu, O.arg = Oe; ; ) {
4293
+ var Be = O.delegate;
4294
+ if (Be) {
4295
+ var ue = z(Be, O);
4296
+ if (ue) {
4297
+ if (ue === F) continue;
4298
+ return ue;
4299
4299
  }
4300
4300
  }
4301
4301
  if (O.method === "next") O.sent = O._sent = O.arg;
@@ -4370,11 +4370,11 @@ var cc = { 207: (u, e, t) => {
4370
4370
  return N = N ? N.then(H, H) : H();
4371
4371
  };
4372
4372
  }
4373
- function j(C, _) {
4373
+ function z(C, _) {
4374
4374
  var S = C.iterator[_.method];
4375
4375
  if (S === n) {
4376
4376
  if (_.delegate = null, _.method === "throw") {
4377
- if (C.iterator.return && (_.method = "return", _.arg = n, j(C, _), _.method === "throw")) return F;
4377
+ if (C.iterator.return && (_.method = "return", _.arg = n, z(C, _), _.method === "throw")) return F;
4378
4378
  _.method = "throw", _.arg = new TypeError("The iterator does not provide a 'throw' method");
4379
4379
  }
4380
4380
  return F;
@@ -4512,11 +4512,11 @@ var cc = { 207: (u, e, t) => {
4512
4512
  } catch {
4513
4513
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = e : Function("r", "regeneratorRuntime = r")(e);
4514
4514
  }
4515
- } }, bt = {};
4515
+ } }, mt = {};
4516
4516
  function Y(u) {
4517
- var e = bt[u];
4517
+ var e = mt[u];
4518
4518
  if (e !== void 0) return e.exports;
4519
- var t = bt[u] = { exports: {} };
4519
+ var t = mt[u] = { exports: {} };
4520
4520
  return cc[u](t, t.exports, Y), t.exports;
4521
4521
  }
4522
4522
  Y.n = (u) => {
@@ -4526,21 +4526,21 @@ Y.n = (u) => {
4526
4526
  for (var t in e) Y.o(e, t) && !Y.o(u, t) && Object.defineProperty(u, t, { enumerable: !0, get: e[t] });
4527
4527
  }, Y.o = (u, e) => Object.prototype.hasOwnProperty.call(u, e);
4528
4528
  var i0 = {};
4529
- function ge(u, e) {
4529
+ function _e(u, e) {
4530
4530
  (e == null || e > u.length) && (e = u.length);
4531
4531
  for (var t = 0, n = new Array(e); t < e; t++) n[t] = u[t];
4532
4532
  return n;
4533
4533
  }
4534
4534
  function a0(u, e) {
4535
4535
  if (u) {
4536
- if (typeof u == "string") return ge(u, e);
4536
+ if (typeof u == "string") return _e(u, e);
4537
4537
  var t = Object.prototype.toString.call(u).slice(8, -1);
4538
- return t === "Object" && u.constructor && (t = u.constructor.name), t === "Map" || t === "Set" ? Array.from(u) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ge(u, e) : void 0;
4538
+ return t === "Object" && u.constructor && (t = u.constructor.name), t === "Map" || t === "Set" ? Array.from(u) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _e(u, e) : void 0;
4539
4539
  }
4540
4540
  }
4541
- function Zu(u) {
4541
+ function Gu(u) {
4542
4542
  return (function(e) {
4543
- if (Array.isArray(e)) return ge(e);
4543
+ if (Array.isArray(e)) return _e(e);
4544
4544
  })(u) || (function(e) {
4545
4545
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
4546
4546
  })(u) || a0(u) || (function() {
@@ -4552,7 +4552,7 @@ function Lu(u, e, t) {
4552
4552
  return e in u ? Object.defineProperty(u, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : u[e] = t, u;
4553
4553
  }
4554
4554
  Y.d(i0, { A: () => dc });
4555
- const A = (mt = { Fragment: () => iu.Fragment, computed: () => iu.computed, createTextVNode: () => iu.createTextVNode, createVNode: () => iu.createVNode, defineComponent: () => iu.defineComponent, reactive: () => iu.reactive, ref: () => iu.ref, watch: () => iu.watch, watchEffect: () => iu.watchEffect }, le = {}, Y.d(le, mt), le), ic = (0, A.defineComponent)({ props: { data: { required: !0, type: String }, onClick: Function }, render: function() {
4555
+ const A = (xt = { Fragment: () => iu.Fragment, computed: () => iu.computed, createTextVNode: () => iu.createTextVNode, createVNode: () => iu.createVNode, defineComponent: () => iu.defineComponent, reactive: () => iu.reactive, ref: () => iu.ref, watch: () => iu.watch, watchEffect: () => iu.watchEffect }, fe = {}, Y.d(fe, xt), fe), ic = (0, A.defineComponent)({ props: { data: { required: !0, type: String }, onClick: Function }, render: function() {
4556
4556
  var u = this.data, e = this.onClick;
4557
4557
  return (0, A.createVNode)("span", { class: "vjs-tree-brackets", onClick: e }, [u]);
4558
4558
  } }), ac = (0, A.defineComponent)({ emits: ["change", "update:modelValue"], props: { checked: { type: Boolean, default: !1 }, isMultiple: Boolean, onChange: Function }, setup: function(u, e) {
@@ -4575,13 +4575,13 @@ const A = (mt = { Fragment: () => iu.Fragment, computed: () => iu.computed, crea
4575
4575
  var u = this.nodeType, e = this.onClick, t = u === "objectStart" || u === "arrayStart";
4576
4576
  return t || u === "objectCollapsed" || u === "arrayCollapsed" ? (0, A.createVNode)("span", { class: "vjs-carets vjs-carets-".concat(t ? "open" : "close"), onClick: e }, [(0, A.createVNode)("svg", { viewBox: "0 0 1024 1024", focusable: "false", "data-icon": "caret-down", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true" }, [(0, A.createVNode)("path", { d: "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" }, null)])]) : null;
4577
4577
  } });
4578
- var mt, le;
4579
- function _e(u) {
4580
- return _e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4578
+ var xt, fe;
4579
+ function ke(u) {
4580
+ return ke = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
4581
4581
  return typeof e;
4582
4582
  } : function(e) {
4583
4583
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
4584
- }, _e(u);
4584
+ }, ke(u);
4585
4585
  }
4586
4586
  function s0(u) {
4587
4587
  return Object.prototype.toString.call(u).slice(8, -1).toLowerCase();
@@ -4589,45 +4589,45 @@ function s0(u) {
4589
4589
  function mu(u) {
4590
4590
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "root", t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, n = (arguments.length > 3 ? arguments[3] : void 0) || {}, r = n.key, o = n.index, c = n.type, i = c === void 0 ? "content" : c, a = n.showComma, s = a !== void 0 && a, l = n.length, f = l === void 0 ? 1 : l, m = s0(u);
4591
4591
  if (m === "array") {
4592
- var b = xt(u.map((function(k, F, E) {
4592
+ var b = gt(u.map((function(k, F, E) {
4593
4593
  return mu(k, "".concat(e, "[").concat(F, "]"), t + 1, { index: F, showComma: F !== E.length - 1, length: f, type: i });
4594
4594
  })));
4595
4595
  return [mu("[", e, t, { showComma: !1, key: r, length: u.length, type: "arrayStart" })[0]].concat(b, mu("]", e, t, { showComma: s, length: u.length, type: "arrayEnd" })[0]);
4596
4596
  }
4597
4597
  if (m === "object") {
4598
- var d = Object.keys(u), v = xt(d.map((function(k, F, E) {
4598
+ var d = Object.keys(u), v = gt(d.map((function(k, F, E) {
4599
4599
  return mu(u[k], /^[a-zA-Z_]\w*$/.test(k) ? "".concat(e, ".").concat(k) : "".concat(e, '["').concat(k, '"]'), t + 1, { key: k, showComma: F !== E.length - 1, length: f, type: i });
4600
4600
  })));
4601
4601
  return [mu("{", e, t, { showComma: !1, key: r, index: o, length: d.length, type: "objectStart" })[0]].concat(v, mu("}", e, t, { showComma: s, length: d.length, type: "objectEnd" })[0]);
4602
4602
  }
4603
4603
  return [{ content: u, level: t, key: r, index: o, path: e, showComma: s, length: f, type: i }];
4604
4604
  }
4605
- function xt(u) {
4605
+ function gt(u) {
4606
4606
  if (typeof Array.prototype.flat == "function") return u.flat();
4607
- for (var e = Zu(u), t = []; e.length; ) {
4607
+ for (var e = Gu(u), t = []; e.length; ) {
4608
4608
  var n = e.shift();
4609
- Array.isArray(n) ? e.unshift.apply(e, Zu(n)) : t.push(n);
4609
+ Array.isArray(n) ? e.unshift.apply(e, Gu(n)) : t.push(n);
4610
4610
  }
4611
4611
  return t;
4612
4612
  }
4613
- function ke(u) {
4613
+ function ye(u) {
4614
4614
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : /* @__PURE__ */ new WeakMap();
4615
4615
  if (u == null) return u;
4616
4616
  if (u instanceof Date) return new Date(u);
4617
4617
  if (u instanceof RegExp) return new RegExp(u);
4618
- if (_e(u) !== "object") return u;
4618
+ if (ke(u) !== "object") return u;
4619
4619
  if (e.get(u)) return e.get(u);
4620
4620
  if (Array.isArray(u)) {
4621
4621
  var t = u.map((function(o) {
4622
- return ke(o, e);
4622
+ return ye(o, e);
4623
4623
  }));
4624
4624
  return e.set(u, t), t;
4625
4625
  }
4626
4626
  var n = {};
4627
- for (var r in u) n[r] = ke(u[r], e);
4627
+ for (var r in u) n[r] = ye(u[r], e);
4628
4628
  return e.set(u, n), n;
4629
4629
  }
4630
- function gt(u, e, t, n, r, o, c) {
4630
+ function _t(u, e, t, n, r, o, c) {
4631
4631
  try {
4632
4632
  var i = u[o](c), a = i.value;
4633
4633
  } catch (s) {
@@ -4635,8 +4635,8 @@ function gt(u, e, t, n, r, o, c) {
4635
4635
  }
4636
4636
  i.done ? e(a) : Promise.resolve(a).then(n, r);
4637
4637
  }
4638
- var lc = Y(207), _t = Y.n(lc);
4639
- function kt(u, e) {
4638
+ var lc = Y(207), kt = Y.n(lc);
4639
+ function yt(u, e) {
4640
4640
  var t = Object.keys(u);
4641
4641
  if (Object.getOwnPropertySymbols) {
4642
4642
  var n = Object.getOwnPropertySymbols(u);
@@ -4646,12 +4646,12 @@ function kt(u, e) {
4646
4646
  }
4647
4647
  return t;
4648
4648
  }
4649
- function yt(u) {
4649
+ function Ct(u) {
4650
4650
  for (var e = 1; e < arguments.length; e++) {
4651
4651
  var t = arguments[e] != null ? arguments[e] : {};
4652
- e % 2 ? kt(Object(t), !0).forEach((function(n) {
4652
+ e % 2 ? yt(Object(t), !0).forEach((function(n) {
4653
4653
  Lu(u, n, t[n]);
4654
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(t)) : kt(Object(t)).forEach((function(n) {
4654
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(t)) : yt(Object(t)).forEach((function(n) {
4655
4655
  Object.defineProperty(u, n, Object.getOwnPropertyDescriptor(t, n));
4656
4656
  }));
4657
4657
  }
@@ -4660,7 +4660,7 @@ function yt(u) {
4660
4660
  var l0 = { data: { type: [String, Number, Boolean, Array, Object], default: null }, rootPath: { type: String, default: "root" }, indent: { type: Number, default: 2 }, showLength: { type: Boolean, default: !1 }, showDoubleQuotes: { type: Boolean, default: !0 }, renderNodeKey: Function, renderNodeValue: Function, renderNodeActions: { type: [Boolean, Function], default: void 0 }, selectableType: String, showSelectController: { type: Boolean, default: !1 }, showLine: { type: Boolean, default: !0 }, showLineNumber: { type: Boolean, default: !1 }, selectOnClickNode: { type: Boolean, default: !0 }, nodeSelectable: { type: Function, default: function() {
4661
4661
  return !0;
4662
4662
  } }, highlightSelectedNode: { type: Boolean, default: !0 }, showIcon: { type: Boolean, default: !1 }, theme: { type: String, default: "light" }, showKeyValueSpace: { type: Boolean, default: !0 }, editable: { type: Boolean, default: !1 }, editableTrigger: { type: String, default: "click" }, onNodeClick: { type: Function }, onNodeMouseover: { type: Function }, onBracketsClick: { type: Function }, onIconClick: { type: Function }, onValueChange: { type: Function } };
4663
- const fc = (0, A.defineComponent)({ name: "TreeNode", props: yt(yt({}, l0), {}, { node: { type: Object, required: !0 }, collapsed: Boolean, checked: Boolean, style: Object, onSelectedChange: { type: Function } }), emits: ["nodeClick", "nodeMouseover", "bracketsClick", "iconClick", "selectedChange", "valueChange"], setup: function(u, e) {
4663
+ const fc = (0, A.defineComponent)({ name: "TreeNode", props: Ct(Ct({}, l0), {}, { node: { type: Object, required: !0 }, collapsed: Boolean, checked: Boolean, style: Object, onSelectedChange: { type: Function } }), emits: ["nodeClick", "nodeMouseover", "bracketsClick", "iconClick", "selectedChange", "valueChange"], setup: function(u, e) {
4664
4664
  var t = e.emit, n = (0, A.computed)((function() {
4665
4665
  return s0(u.node.content);
4666
4666
  })), r = (0, A.computed)((function() {
@@ -4703,11 +4703,11 @@ const fc = (0, A.defineComponent)({ name: "TreeNode", props: yt(yt({}, l0), {},
4703
4703
  }
4704
4704
  }, y = (function() {
4705
4705
  var h = (0, A.ref)(!1), x = (function() {
4706
- var D, T = (D = _t().mark((function I(j) {
4707
- return _t().wrap((function(L) {
4706
+ var D, T = (D = kt().mark((function I(z) {
4707
+ return kt().wrap((function(L) {
4708
4708
  for (; ; ) switch (L.prev = L.next) {
4709
4709
  case 0:
4710
- return L.prev = 0, L.next = 3, navigator.clipboard.writeText(j);
4710
+ return L.prev = 0, L.next = 3, navigator.clipboard.writeText(z);
4711
4711
  case 3:
4712
4712
  h.value = !0, setTimeout((function() {
4713
4713
  h.value = !1;
@@ -4721,14 +4721,14 @@ const fc = (0, A.defineComponent)({ name: "TreeNode", props: yt(yt({}, l0), {},
4721
4721
  }
4722
4722
  }), I, null, [[0, 7]]);
4723
4723
  })), function() {
4724
- var I = this, j = arguments;
4724
+ var I = this, z = arguments;
4725
4725
  return new Promise((function(L, R) {
4726
- var Q = D.apply(I, j);
4726
+ var Q = D.apply(I, z);
4727
4727
  function M(C) {
4728
- gt(Q, L, R, M, uu, "next", C);
4728
+ _t(Q, L, R, M, uu, "next", C);
4729
4729
  }
4730
4730
  function uu(C) {
4731
- gt(Q, L, R, M, uu, "throw", C);
4731
+ _t(Q, L, R, M, uu, "throw", C);
4732
4732
  }
4733
4733
  M(void 0);
4734
4734
  }));
@@ -4739,8 +4739,8 @@ const fc = (0, A.defineComponent)({ name: "TreeNode", props: yt(yt({}, l0), {},
4739
4739
  })();
4740
4740
  return { copy: x };
4741
4741
  })().copy, p = function() {
4742
- var h = u.node, x = h.key, D = h.path, T = u.rootPath, I = new Function("data", "return data".concat(D.slice(T.length)))(u.data), j = JSON.stringify(x ? Lu({}, x, I) : I, null, 2);
4743
- y(j);
4742
+ var h = u.node, x = h.key, D = h.path, T = u.rootPath, I = new Function("data", "return data".concat(D.slice(T.length)))(u.data), z = JSON.stringify(x ? Lu({}, x, I) : I, null, 2);
4743
+ y(z);
4744
4744
  }, g = function() {
4745
4745
  var h = u.renderNodeActions;
4746
4746
  if (!h) return null;
@@ -4756,7 +4756,7 @@ const fc = (0, A.defineComponent)({ name: "TreeNode", props: yt(yt({}, l0), {},
4756
4756
  })), u.showIcon && (0, A.createVNode)(sc, { nodeType: x.type, onClick: d }, null)]), x.key && (0, A.createVNode)("span", { class: "vjs-key" }, [(h = u.renderNodeKey, h ? h({ node: u.node, defaultKey: o.value || "" }) : o.value), (0, A.createVNode)("span", { class: "vjs-colon" }, [":".concat(u.showKeyValueSpace ? " " : "")])]), (0, A.createVNode)("span", null, [x.type !== "content" && x.content ? (0, A.createVNode)(ic, { data: x.content.toString(), onClick: b }, null) : (0, A.createVNode)("span", { class: r.value, onClick: !u.editable || u.editableTrigger && u.editableTrigger !== "click" ? void 0 : E, onDblclick: u.editable && u.editableTrigger === "dblclick" ? E : void 0 }, [u.editable && s.editing ? (0, A.createVNode)("input", { value: f.value, onChange: l, style: { padding: "3px 8px", border: "1px solid #eee", boxShadow: "none", boxSizing: "border-box", borderRadius: 5, fontFamily: "inherit" } }, null) : m()]), x.showComma && (0, A.createVNode)("span", null, [","]), u.showLength && u.collapsed && (0, A.createVNode)("span", { class: "vjs-comment" }, [(0, A.createTextVNode)(" // "), x.length, (0, A.createTextVNode)(" items ")])]), u.renderNodeActions && (0, A.createVNode)("span", { class: "vjs-tree-node-actions" }, [g()])]);
4757
4757
  };
4758
4758
  } });
4759
- function Ct(u, e) {
4759
+ function vt(u, e) {
4760
4760
  var t = Object.keys(u);
4761
4761
  if (Object.getOwnPropertySymbols) {
4762
4762
  var n = Object.getOwnPropertySymbols(u);
@@ -4769,9 +4769,9 @@ function Ct(u, e) {
4769
4769
  function G(u) {
4770
4770
  for (var e = 1; e < arguments.length; e++) {
4771
4771
  var t = arguments[e] != null ? arguments[e] : {};
4772
- e % 2 ? Ct(Object(t), !0).forEach((function(n) {
4772
+ e % 2 ? vt(Object(t), !0).forEach((function(n) {
4773
4773
  Lu(u, n, t[n]);
4774
- })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(t)) : Ct(Object(t)).forEach((function(n) {
4774
+ })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(t)) : vt(Object(t)).forEach((function(n) {
4775
4775
  Object.defineProperty(u, n, Object.getOwnPropertyDescriptor(t, n));
4776
4776
  }));
4777
4777
  }
@@ -4793,8 +4793,8 @@ const dc = (0, A.defineComponent)({ name: "Tree", props: G(G({}, l0), {}, { coll
4793
4793
  for (var p = null, g = [], h = o.value.length, x = 0; x < h; x++) {
4794
4794
  var D = G(G({}, o.value[x]), {}, { id: x }), T = i.hiddenPaths[D.path];
4795
4795
  if (p && p.path === D.path) {
4796
- var I = p.type === "objectStart", j = G(G(G({}, D), p), {}, { showComma: D.showComma, content: I ? "{...}" : "[...]", type: I ? "objectCollapsed" : "arrayCollapsed" });
4797
- p = null, g.push(j);
4796
+ var I = p.type === "objectStart", z = G(G(G({}, D), p), {}, { showComma: D.showComma, content: I ? "{...}" : "[...]", type: I ? "objectCollapsed" : "arrayCollapsed" });
4797
+ p = null, g.push(z);
4798
4798
  } else {
4799
4799
  if (T && !p) {
4800
4800
  p = D;
@@ -4816,7 +4816,7 @@ const dc = (0, A.defineComponent)({ name: "Tree", props: G(G({}, l0), {}, { coll
4816
4816
  var g, h = u.height / u.itemHeight, x = ((g = r.value) === null || g === void 0 ? void 0 : g.scrollTop) || 0, D = Math.floor(x / u.itemHeight), T = D < 0 ? 0 : D + h > p.length ? p.length - h : D;
4817
4817
  T < 0 && (T = 0);
4818
4818
  var I = T + h;
4819
- i.translateY = T * u.itemHeight, i.visibleData = p.filter((function(j, L) {
4819
+ i.translateY = T * u.itemHeight, i.visibleData = p.filter((function(z, L) {
4820
4820
  return L >= T && L < I;
4821
4821
  }));
4822
4822
  } else i.visibleData = p;
@@ -4827,10 +4827,10 @@ const dc = (0, A.defineComponent)({ name: "Tree", props: G(G({}, l0), {}, { coll
4827
4827
  if (D === "multiple") {
4828
4828
  var T = s.value.findIndex((function(R) {
4829
4829
  return R === x;
4830
- })), I = Zu(s.value);
4831
- T !== -1 ? I.splice(T, 1) : I.push(x), t("update:selectedValue", I), t("selectedChange", I, Zu(s.value));
4830
+ })), I = Gu(s.value);
4831
+ T !== -1 ? I.splice(T, 1) : I.push(x), t("update:selectedValue", I), t("selectedChange", I, Gu(s.value));
4832
4832
  } else if (D === "single" && s.value[0] !== x) {
4833
- var j = (g = s.value, h = 1, (function(R) {
4833
+ var z = (g = s.value, h = 1, (function(R) {
4834
4834
  if (Array.isArray(R)) return R;
4835
4835
  })(g) || (function(R, Q) {
4836
4836
  var M = R == null ? null : typeof Symbol < "u" && R[Symbol.iterator] || R["@@iterator"];
@@ -4853,7 +4853,7 @@ const dc = (0, A.defineComponent)({ name: "Tree", props: G(G({}, l0), {}, { coll
4853
4853
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4854
4854
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4855
4855
  })())[0], L = x;
4856
- t("update:selectedValue", L), t("selectedChange", L, j);
4856
+ t("update:selectedValue", L), t("selectedChange", L, z);
4857
4857
  }
4858
4858
  }, d = function(p) {
4859
4859
  t("nodeClick", p);
@@ -4870,7 +4870,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4870
4870
  }, E = function(p, g) {
4871
4871
  k(p, g.path), t("iconClick", p, g);
4872
4872
  }, y = function(p, g) {
4873
- var h = ke(u.data), x = u.rootPath;
4873
+ var h = ye(u.data), x = u.rootPath;
4874
4874
  new Function("data", "val", "data".concat(g.slice(x.length), "=val"))(h, p), t("update:data", h);
4875
4875
  };
4876
4876
  return (0, A.watchEffect)((function() {
@@ -4888,14 +4888,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4888
4888
  }), (function(p) {
4889
4889
  p && (i.hiddenPaths = c(u.deep, p));
4890
4890
  })), function() {
4891
- var p, g, h, x, D = (p = u.renderNodeKey) !== null && p !== void 0 ? p : n.renderNodeKey, T = (g = u.renderNodeValue) !== null && g !== void 0 ? g : n.renderNodeValue, I = (h = (x = u.renderNodeActions) !== null && x !== void 0 ? x : n.renderNodeActions) !== null && h !== void 0 && h, j = i.visibleData && i.visibleData.map((function(L) {
4891
+ var p, g, h, x, D = (p = u.renderNodeKey) !== null && p !== void 0 ? p : n.renderNodeKey, T = (g = u.renderNodeValue) !== null && g !== void 0 ? g : n.renderNodeValue, I = (h = (x = u.renderNodeActions) !== null && x !== void 0 ? x : n.renderNodeActions) !== null && h !== void 0 && h, z = i.visibleData && i.visibleData.map((function(L) {
4892
4892
  return (0, A.createVNode)(fc, { key: L.id, data: u.data, rootPath: u.rootPath, indent: u.indent, node: L, collapsed: !!i.hiddenPaths[L.path], theme: u.theme, showDoubleQuotes: u.showDoubleQuotes, showLength: u.showLength, checked: s.value.includes(L.path), selectableType: u.selectableType, showLine: u.showLine, showLineNumber: u.showLineNumber, showSelectController: u.showSelectController, selectOnClickNode: u.selectOnClickNode, nodeSelectable: u.nodeSelectable, highlightSelectedNode: u.highlightSelectedNode, editable: u.editable, editableTrigger: u.editableTrigger, showIcon: u.showIcon, showKeyValueSpace: u.showKeyValueSpace, renderNodeKey: D, renderNodeValue: T, renderNodeActions: I, onNodeClick: d, onNodeMouseover: v, onBracketsClick: F, onIconClick: E, onSelectedChange: b, onValueChange: y, style: u.itemHeight && u.itemHeight !== 20 ? { lineHeight: "".concat(u.itemHeight, "px") } : {} }, null);
4893
4893
  }));
4894
- return (0, A.createVNode)("div", { ref: r, class: { "vjs-tree": !0, "is-virtual": u.virtual, dark: u.theme === "dark" }, onScroll: u.virtual ? m : void 0, style: u.showLineNumber ? G({ paddingLeft: "".concat(12 * Number(o.value.length.toString().length), "px") }, u.style) : u.style }, [u.virtual ? (0, A.createVNode)("div", { class: "vjs-tree-list", style: { height: "".concat(u.height, "px") } }, [(0, A.createVNode)("div", { class: "vjs-tree-list-holder", style: { height: "".concat(a.value.length * u.itemHeight, "px") } }, [(0, A.createVNode)("div", { class: "vjs-tree-list-holder-inner", style: { transform: "translateY(".concat(i.translateY, "px)") } }, [j])])]) : j]);
4894
+ return (0, A.createVNode)("div", { ref: r, class: { "vjs-tree": !0, "is-virtual": u.virtual, dark: u.theme === "dark" }, onScroll: u.virtual ? m : void 0, style: u.showLineNumber ? G({ paddingLeft: "".concat(12 * Number(o.value.length.toString().length), "px") }, u.style) : u.style }, [u.virtual ? (0, A.createVNode)("div", { class: "vjs-tree-list", style: { height: "".concat(u.height, "px") } }, [(0, A.createVNode)("div", { class: "vjs-tree-list-holder", style: { height: "".concat(a.value.length * u.itemHeight, "px") } }, [(0, A.createVNode)("div", { class: "vjs-tree-list-holder-inner", style: { transform: "translateY(".concat(i.translateY, "px)") } }, [z])])]) : z]);
4895
4895
  };
4896
4896
  } });
4897
4897
  var hc = i0.A;
4898
- const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
4898
+ const pc = ["src", "alt"], bc = /* @__PURE__ */ Ce({
4899
4899
  __name: "ImageViewer",
4900
4900
  props: {
4901
4901
  show: { type: Boolean },
@@ -4904,31 +4904,31 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
4904
4904
  },
4905
4905
  emits: ["close"],
4906
4906
  setup(u) {
4907
- return (e, t) => (P(), vt(x0, { to: "body" }, [
4907
+ return (e, t) => (P(), Dt(x0, { to: "body" }, [
4908
4908
  su(g0, { name: "viewer" }, {
4909
4909
  default: _0(() => [
4910
- u.show ? (P(), z("div", {
4910
+ u.show ? (P(), j("div", {
4911
4911
  key: 0,
4912
4912
  class: "image-viewer",
4913
4913
  onClick: t[2] || (t[2] = (n) => e.$emit("close"))
4914
4914
  }, [
4915
- lu("button", {
4915
+ fu("div", {
4916
4916
  class: "close-button",
4917
- onClick: t[0] || (t[0] = Pe((n) => e.$emit("close"), ["stop"]))
4917
+ onClick: t[0] || (t[0] = Me((n) => e.$emit("close"), ["stop"]))
4918
4918
  }, [
4919
4919
  su(au(bu), { icon: "mdi:close" })
4920
4920
  ]),
4921
- lu("div", {
4921
+ fu("div", {
4922
4922
  class: "viewer-content",
4923
- onClick: t[1] || (t[1] = Pe(() => {
4923
+ onClick: t[1] || (t[1] = Me(() => {
4924
4924
  }, ["stop"]))
4925
4925
  }, [
4926
- lu("img", {
4926
+ fu("img", {
4927
4927
  src: u.imageUrl,
4928
4928
  alt: u.alt
4929
4929
  }, null, 8, pc)
4930
4930
  ])
4931
- ])) : Dt("", !0)
4931
+ ])) : zu("", !0)
4932
4932
  ]),
4933
4933
  _: 1
4934
4934
  })
@@ -4939,10 +4939,13 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
4939
4939
  for (const [n, r] of e)
4940
4940
  t[n] = r;
4941
4941
  return t;
4942
- }, mc = /* @__PURE__ */ f0(bc, [["__scopeId", "data-v-89ef4163"]]), xc = { class: "message-content-renderer" }, gc = ["innerHTML"], _c = {
4942
+ }, mc = /* @__PURE__ */ f0(bc, [["__scopeId", "data-v-92c159ee"]]), xc = { class: "message-content-renderer" }, gc = ["innerHTML"], _c = {
4943
4943
  key: 1,
4944
4944
  class: "content-user-message"
4945
- }, kc = ["innerHTML"], yc = { class: "files-grid" }, Cc = ["src", "onClick"], vc = ["src"], Dc = ["src"], Ec = ["onClick"], Fc = { class: "file-name" }, Ac = { class: "file-name" }, wc = {
4945
+ }, kc = ["innerHTML"], yc = {
4946
+ key: 1,
4947
+ class: "files-grid"
4948
+ }, Cc = ["src", "onClick"], vc = ["src"], Dc = ["src"], Ec = ["onClick"], Fc = { class: "file-name" }, Ac = { class: "file-name" }, wc = {
4946
4949
  key: 3,
4947
4950
  class: "content-image"
4948
4951
  }, Sc = ["src"], Tc = {
@@ -4951,7 +4954,7 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
4951
4954
  }, Ic = ["src"], Nc = {
4952
4955
  key: 5,
4953
4956
  class: "content-medialib"
4954
- }, Lc = ["src"], Oc = ["src"], Bc = ["src"], Pc = { class: "file-name" }, Mc = /* @__PURE__ */ ye({
4957
+ }, Lc = ["src"], Oc = ["src"], Bc = ["src"], Pc = { class: "file-name" }, Mc = /* @__PURE__ */ Ce({
4955
4958
  __name: "MessageContentRenderer",
4956
4959
  props: {
4957
4960
  content: {}
@@ -5032,39 +5035,39 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
5032
5035
  function E() {
5033
5036
  v.value && window.open(v.value, "_blank");
5034
5037
  }
5035
- return (y, p) => (P(), z("div", xc, [
5036
- !n(t.value) && t.value.type === "text" ? (P(), z("div", {
5038
+ return (y, p) => (P(), j("div", xc, [
5039
+ !n(t.value) && t.value.type === "text" ? (P(), j("div", {
5037
5040
  key: 0,
5038
5041
  class: "content-text",
5039
5042
  innerHTML: o.value
5040
- }, null, 8, gc)) : n(t.value) ? (P(), z("div", _c, [
5041
- (P(!0), z(Me, null, je(t.value.texts, (g, h) => (P(), z("div", {
5043
+ }, null, 8, gc)) : n(t.value) ? (P(), j("div", _c, [
5044
+ t.value.texts && t.value.texts.length > 0 ? (P(!0), j(je, { key: 0 }, ze(t.value.texts, (g, h) => (P(), j("div", {
5042
5045
  key: `text-${h}`,
5043
5046
  class: "content-text",
5044
5047
  innerHTML: au(r).render(g)
5045
- }, null, 8, kc))), 128)),
5046
- lu("div", yc, [
5047
- (P(!0), z(Me, null, je(t.value.files, (g, h) => (P(), z("div", {
5048
+ }, null, 8, kc))), 128)) : zu("", !0),
5049
+ t.value.files && t.value.files.length > 0 ? (P(), j("div", yc, [
5050
+ (P(!0), j(je, null, ze(t.value.files, (g, h) => (P(), j("div", {
5048
5051
  key: `file-${h}`,
5049
5052
  class: "file-item"
5050
5053
  }, [
5051
- b(g) === "image" ? (P(), z("img", {
5054
+ b(g) === "image" ? (P(), j("img", {
5052
5055
  key: 0,
5053
5056
  src: g,
5054
5057
  alt: "图片",
5055
5058
  class: "file-image",
5056
5059
  onClick: (x) => s(g)
5057
- }, null, 8, Cc)) : b(g) === "video" ? (P(), z("video", {
5060
+ }, null, 8, Cc)) : b(g) === "video" ? (P(), j("video", {
5058
5061
  key: 1,
5059
5062
  controls: "",
5060
5063
  src: g,
5061
5064
  class: "file-video video"
5062
- }, "您的浏览器不支持视频播放", 8, vc)) : b(g) === "audio" ? (P(), z("audio", {
5065
+ }, "您的浏览器不支持视频播放", 8, vc)) : b(g) === "audio" ? (P(), j("audio", {
5063
5066
  key: 2,
5064
5067
  controls: "",
5065
5068
  src: g,
5066
5069
  class: "file-audio audio"
5067
- }, "您的浏览器不支持音频播放", 8, Dc)) : (P(), z("div", {
5070
+ }, "您的浏览器不支持音频播放", 8, Dc)) : (P(), j("div", {
5068
5071
  key: 3,
5069
5072
  class: "content-file",
5070
5073
  onClick: (x) => m(g)
@@ -5073,15 +5076,15 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
5073
5076
  icon: "mdi:file-document-outline",
5074
5077
  class: "file-icon"
5075
5078
  }),
5076
- lu("span", Fc, ue(l(g)), 1),
5079
+ fu("span", Fc, ee(l(g)), 1),
5077
5080
  su(au(bu), {
5078
5081
  icon: "mdi:download",
5079
5082
  class: "download-icon"
5080
5083
  })
5081
5084
  ], 8, Ec))
5082
5085
  ]))), 128))
5083
- ])
5084
- ])) : !n(t.value) && t.value.type === "file" ? (P(), z("div", {
5086
+ ])) : zu("", !0)
5087
+ ])) : !n(t.value) && t.value.type === "file" ? (P(), j("div", {
5085
5088
  key: 2,
5086
5089
  class: "content-file",
5087
5090
  onClick: f
@@ -5090,41 +5093,41 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
5090
5093
  icon: "mdi:file-document-outline",
5091
5094
  class: "file-icon"
5092
5095
  }),
5093
- lu("span", Ac, ue(l(t.value.content)), 1),
5096
+ fu("span", Ac, ee(l(t.value.content)), 1),
5094
5097
  su(au(bu), {
5095
5098
  icon: "mdi:download",
5096
5099
  class: "download-icon"
5097
5100
  })
5098
- ])) : !n(t.value) && t.value.type === "image" ? (P(), z("div", wc, [
5099
- lu("img", {
5101
+ ])) : !n(t.value) && t.value.type === "image" ? (P(), j("div", wc, [
5102
+ fu("img", {
5100
5103
  src: t.value.content,
5101
5104
  alt: "图片",
5102
5105
  onClick: a
5103
5106
  }, null, 8, Sc)
5104
- ])) : !n(t.value) && t.value.type === "voice" ? (P(), z("div", Tc, [
5105
- lu("audio", {
5107
+ ])) : !n(t.value) && t.value.type === "voice" ? (P(), j("div", Tc, [
5108
+ fu("audio", {
5106
5109
  controls: "",
5107
5110
  src: t.value.content,
5108
5111
  class: "audio"
5109
5112
  }, "您的浏览器不支持音频播放", 8, Ic)
5110
- ])) : !n(t.value) && t.value.type === "medialib" ? (P(), z("div", Nc, [
5111
- F.value === "video" ? (P(), z("video", {
5113
+ ])) : !n(t.value) && t.value.type === "medialib" ? (P(), j("div", Nc, [
5114
+ F.value === "video" ? (P(), j("video", {
5112
5115
  key: 0,
5113
5116
  controls: "",
5114
5117
  src: v.value,
5115
5118
  class: "medialib-video video"
5116
- }, " 您的浏览器不支持视频播放 ", 8, Lc)) : F.value === "image" ? (P(), z("img", {
5119
+ }, " 您的浏览器不支持视频播放 ", 8, Lc)) : F.value === "image" ? (P(), j("img", {
5117
5120
  key: 1,
5118
5121
  src: v.value,
5119
5122
  alt: "图片",
5120
5123
  class: "medialib-image",
5121
5124
  onClick: a
5122
- }, null, 8, Oc)) : F.value === "audio" ? (P(), z("audio", {
5125
+ }, null, 8, Oc)) : F.value === "audio" ? (P(), j("audio", {
5123
5126
  key: 2,
5124
5127
  controls: "",
5125
5128
  src: v.value,
5126
5129
  class: "medialib-audio audio"
5127
- }, " 您的浏览器不支持音频播放 ", 8, Bc)) : F.value === "file" ? (P(), z("div", {
5130
+ }, " 您的浏览器不支持音频播放 ", 8, Bc)) : F.value === "file" ? (P(), j("div", {
5128
5131
  key: 3,
5129
5132
  class: "content-file",
5130
5133
  onClick: E
@@ -5133,18 +5136,18 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
5133
5136
  icon: "mdi:file-document-outline",
5134
5137
  class: "file-icon"
5135
5138
  }),
5136
- lu("span", Pc, ue(k.value), 1),
5139
+ fu("span", Pc, ee(k.value), 1),
5137
5140
  su(au(bu), {
5138
5141
  icon: "mdi:download",
5139
5142
  class: "download-icon"
5140
5143
  })
5141
- ])) : (P(), vt(au(hc), {
5144
+ ])) : (P(), Dt(au(hc), {
5142
5145
  key: 4,
5143
5146
  data: d.value,
5144
5147
  deep: 3,
5145
5148
  class: "json-viewer"
5146
5149
  }, null, 8, ["data"]))
5147
- ])) : Dt("", !0),
5150
+ ])) : zu("", !0),
5148
5151
  su(mc, {
5149
5152
  show: c.value,
5150
5153
  "image-url": i.value,
@@ -5152,7 +5155,7 @@ const pc = ["src", "alt"], bc = /* @__PURE__ */ ye({
5152
5155
  }, null, 8, ["show", "image-url"])
5153
5156
  ]));
5154
5157
  }
5155
- }), zc = /* @__PURE__ */ f0(Mc, [["__scopeId", "data-v-07efc606"]]);
5158
+ }), zc = /* @__PURE__ */ f0(Mc, [["__scopeId", "data-v-ccc96b85"]]);
5156
5159
  export {
5157
5160
  mc as ImageViewer,
5158
5161
  zc as MessageContentRenderer